Skip to content
Snippets Groups Projects
  1. Feb 21, 2021
    • Philippe Mathieu-Daudé's avatar
      target/mips: Remove access_type argument from get_physical_address() · 935c1034
      Philippe Mathieu-Daudé authored
      
      get_physical_address() doesn't use the 'access_type' argument,
      remove it to simplify.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Message-Id: <20210128144125.3696119-5-f4bug@amsat.org>
      935c1034
    • Philippe Mathieu-Daudé's avatar
      target/mips: Remove access_type arg from get_segctl_physical_address() · 0230a137
      Philippe Mathieu-Daudé authored
      
      get_segctl_physical_address() doesn't use the 'access_type' argument,
      remove it to simplify.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Message-Id: <20210128144125.3696119-4-f4bug@amsat.org>
      0230a137
    • Philippe Mathieu-Daudé's avatar
      target/mips: Remove access_type argument from get_seg_physical_address · 49689228
      Philippe Mathieu-Daudé authored
      
      get_seg_physical_address() doesn't use the 'access_type' argument,
      remove it to simplify.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Message-Id: <20210128144125.3696119-3-f4bug@amsat.org>
      49689228
    • Philippe Mathieu-Daudé's avatar
      target/mips: Remove access_type argument from map_address() handler · afe2fe4d
      Philippe Mathieu-Daudé authored
      
      TLB map_address() handlers don't use the 'access_type' argument,
      remove it to simplify.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Message-Id: <20210128144125.3696119-2-f4bug@amsat.org>
      afe2fe4d
    • Philippe Mathieu-Daudé's avatar
      target/mips: fetch code with translator_ld · 0ab8e33a
      Philippe Mathieu-Daudé authored
      
      Similarly to commits ae82adc8..7f93879e, use the
      translator_ld*() API introduced in commit 409c1a0b
      to fetch the code on the MIPS target.
      
      Reviewed-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20210125105818.2707067-1-f4bug@amsat.org>
      0ab8e33a
    • Jiaxun Yang's avatar
      tests/acceptance: Test PMON with Loongson-3A1000 CPU · c0928e6d
      Jiaxun Yang authored
      
      Test booting of PMON bootloader on loongson3-virt platform.
      
      $ (venv) AVOCADO_ALLOW_UNTRUSTED_CODE=1 \
          avocado --show=app,console \
            run -t machine:loongson3-virt tests/acceptance
      Fetching asset from tests/acceptance/machine_mips_loongson3v.py:MipsLoongson3v.test_pmon_serial_console
      JOB ID     : 8e202b3727847c9104d0d3d6546ed225d35f6706
      JOB LOG    : /home/flygoat/avocado/job-results/job-2021-01-12T10.02-8e202b3/job.log
       (1/1) tests/acceptance/machine_mips_loongson3v.py:MipsLoongson3v.test_pmon_serial_console:
      console: PMON2000 MIPS Initializing. Standby...
      console: 00000000Jump to 9fc
      console: Init Memory done.
      console: The uncache data is:
      console: 00000000:  5555555555555555
      console: 00000008:  aaaaaaaaaaaaaaaa
      console: 00000010:  3333333333333333
      console: 00000018:  cccccccccccccccc
      console: 00000020:  7777777777777777
      console: 00000028:  8888888888888888
      console: 00000030:  1111111111111111
      console: 00000038:  eeeeeeeeeeeeeeee
      console: The cached  data is:
      console: 00000000:  5555555555555555
      console: 00000008:  aaaaaaaaaaaaaaaa
      console: 00000010:  3333333333333333
      console: 00000018:  cccccccccccccccc
      console: 00000020:  7777777777777777
      console: 00000028:  8888888888888888
      console: 00000030:  1111111111111111
      console: 00000038:  eeeeeeeeeeeeeeee
      console: Copy PMON to execute location...
      console: start = 0x8f900000
      console: s0 = 0x30300000
      console: _edata = 0x8f989010
      console: _end = 0x8f98a028copy text section done.
      console: Copy PMON to execute location done.
      console: sp=8f8fc000
      console: Uncompressing Bios............................................................................OK,Booting Bios
      console: FREQ
      console: DONE
      console: DEVI
      console: ENVI
      console: MAPV
      console: NVRAM@8f7ff898
      console: STDV
      console: 80100000:  memory between 8f7ff400-8f800000  is already been allocated,heap is already above this point
      console: SBDD
      console: P12PCIH
      console: PCIH
      console: PCID
      console: setting up 1 bus
      console: PCI bus 0 slot 1: probe...completed
      console: PCI bus 0 slot 1/0: vendor/product: 0x106b/0x003f (serialbus, USB, interface: 0x10, revision: 0x00)
      console: PCI bus 0 slot 1/0: reg 0x10 = 0xffffff00
      console: PCI bus 0 slot 2: probe...completed
      console: PCI bus 0 slot 2/0: vendor/product: 0x1af4/0x1000 (network, ethernet, interface: 0x00, revision: 0x00)
      console: PCI bus 0 slot 2/0: reg 0x10 = 0xffffffe1
      console: PCI bus 0 slot 2/0: reg 0x14 = 0xfffff000
      console: PCI bus 0 slot 2/0: reg 0x20 = 0xffffc00c
      console: PCI bus 0 slot 2/0: reg 0x30 = 0xfffc0000
      console: PCI bus 0 slot 3: probe...completed
      console: PCI bus 0 slot 4: probe...completed
      console: PCI bus 0 slot 5: probe...completed
      console: PCI bus 0 slot 6: probe...completed
      console: PCI bus 0 slot 7: probe...completed
      console: PCI bus 0 slot 8: probe...completed
      console: PCI bus 0 slot 9: probe...completed
      console: PCI bus 0 slot 10: probe...completed
      console: PCI bus 0 slot 11: probe...completed
      console: PCI bus 0 slot 12: probe...completed
      console: PCI bus 0 slot 13: probe...completed
      console: PCI bus 0 slot 14: probe...completed
      console: PCI bus 0 slot 15: probe...completed
      console: PCI bus 0 slot 16: probe...completed
      console: PCI bus 0 slot 17: probe...completed
      console: PCI bus 0 slot 18: probe...completed
      console: PCI bus 0 slot 19: probe...completed
      console: PCI bus 0 slot 20: probe...completed
      console: PCI bus 0 slot 21: probe...completed
      console: PCI bus 0 slot 22: probe...completed
      console: PCI bus 0 slot 23: probe...completed
      console: PCI bus 0 slot 24: probe...completed
      console: PCI bus 0 slot 25: probe...completed
      console: PCI bus 0 slot 26: probe...completed
      console: PCI bus 0 slot 27: probe...completed
      console: PCI bus 0 slot 28: probe...completed
      console: PCI bus 0 slot 29: probe...completed
      console: PCI bus 0 slot 30: probe...completed
      console: PCI bus 0 slot 31: probe...completed
      console: PCIS
      console: PCIR
      console: PCIW
      console: PCI bus 0 slot 2/0: mem @0x40000000, reg 0x30 262144 bytes
      console: PCI bus 0 slot 2/0: mem @0x40040000, reg 0x20 16384 bytes
      console: PCI bus 0 slot 2/0: mem @0x40044000, reg 0x14 4096 bytes
      console: PCI bus 0 slot 1/0: mem @0x40045000, reg 0x10 256 bytes
      console: PCI bus 0 slot 2/0: exp @0x40000000, 262144 bytes
      console: PCI bus 0 slot 2/0: i/o @0x00004000, reg 0x10 32 bytes
      console: NETI
      console: RTCL
      console: PCID
      console: VGAI
      console: memorysize=c000000,base=8f6ff508,sysMem=8f6ef500
      console: in setup_int_vect!done!VESA
      console: vga bios init failed, rc=-1
      console: in configure
      console: mainbus0 (root)
      console: localbus0 at mainbus0
      console: loopdev0 at mainbus0pcibr0 at mainbus0
      console: pci0 at pcibr0 bus 0
      console: ohci0 at pci0 dev 1 function 0 vendor/product: 0x106b/0x003f (serialbus, USB, interface: 0x10, revision: 0x00)usb base addr : 0xc0045000, bus_base is : 0xc0000000
      console: OHCI revision: 0x00000010
      console: RH: a: 0x00000203 b: 0x00000000
      console: early period(0x0)
      console: OHCI 8c01ec00 initialized ok
      console: New Device 0
      console: usb_get_descriptor
      console: bLength = 12
      console: bDescriptorType =1
      console: bcdUSB =  110
      console: bDeviceClass =9
      console: bDeviceSubClass =0
      console: bDeviceProtocol =0
      console: bMaxPacketSize0 =8
      console: set address 1
      console: usb_get_descriptor
      console: bLength = 12
      console: bDescriptorType =1
      console: bcdUSB =  110
      console: bDeviceClass =9
      console: bDeviceSubClass =0
      console: bDeviceProtocol =0
      console: bMaxPacketSize0 =8
      console: idVendor =0
      console: idProduct =0
      console: bcdDevice =0
      console: iManufacturer=0
      console: iProduct =1
      console: iSerialNumber=0
      console: bNumConfigurations=1
      console: usb_get_descriptor
      console: usb_get_descriptor
      console: get_conf_no 0 Result 25, wLength 25
      console: if 0, ep 0
      console: bLength=9
      console: bDescriptorType=2
      console: wTotalLength=19
      console: bNumInterfaces=1
      console: bConfigurationValue=1
      console: iConfiguration=0
      console: bmAttributes=40
      console: MaxPower=0
      console: 09 04 00 00 01 09 00 00 00 07 05 81 03 02 00 ff
      console: ##EP epmaxpacketin[1] = 2
      console: set configuration 1
      console: new device strings: Mfr=0, Product=1, SerialNumber=0
      console: USB device number 1 default language ID 0x409
      console: Manufacturer
      console: Product      OHCI Root Hub
      console: SerialNumber
      console: New Device 1
      console: usb_get_descriptor
      console: bLength = 12
      console: bDescriptorType =1
      console: bcdUSB =  200
      console: bDeviceClass =0
      console: bDeviceSubClass =0
      console: bDeviceProtocol =0
      console: bMaxPacketSize0 =8
      console: set address 2
      console: usb_get_descriptor
      console: bLength = 12
      console: bDescriptorType =1
      console: bcdUSB =  200
      console: bDeviceClass =0
      console: bDeviceSubClass =0
      console: bDeviceProtocol =0
      console: bMaxPacketSize0 =8
      console: idVendor =627
      console: idProduct =1
      console: bcdDevice =0
      console: iManufacturer=1
      console: iProduct =4
      console: iSerialNumber=b
      console: bNumConfigurations=1
      console: usb_get_descriptor
      console: usb_get_descriptor
      console: get_conf_no 0 Result 34, wLength 34
      console: unknown Description Type : 21
      console: 09 21 11 01 00 01 22 3F 00
      console: if 0, ep 0
      console: bLength=9
      console: bDescriptorType=2
      console: wTotalLength=22
      console: bNumInterfaces=1
      console: bConfigurationValue=1
      console: iConfiguration=8
      console: bmAttributes=a0
      console: MaxPower=32
      console: 09 04 00 00 01 03 01 01 00 09 21 11 01 00 01 22 3f 00 07 05 81 03 08 00 0a
      console: ##EP epmaxpacketin[1] = 8
      console: set configuration 1
      console: new device strings: Mfr=1, Product=4, SerialNumber=11
      console: USB device number 2 default language ID 0x409
      console: Manufacturer QEMU
      console: Product      QEMU USB Keyboard
      console: SerialNumber 68284-0000:00:01.0-1
      console: drive at ohci0 devnum 2, Product QEMU USB Keyboard
      console: not configured
      console: New Device 2
      console: usb_get_descriptor
      console: bLength = 12
      console: bDescriptorType =1
      console: bcdUSB =  200
      console: bDeviceClass =0
      console: bDeviceSubClass =0
      console: bDeviceProtocol =0
      console: bMaxPacketSize0 =8
      console: set address 3
      console: usb_get_descriptor
      console: bLength = 12
      console: bDescriptorType =1
      console: bcdUSB =  200
      console: bDeviceClass =0
      console: bDeviceSubClass =0
      console: bDeviceProtocol =0
      console: bMaxPacketSize0 =8
      console: idVendor =627
      console: idProduct =1
      console: bcdDevice =0
      console: iManufacturer=1
      console: iProduct =3
      console: iSerialNumber=a
      console: bNumConfigurations=1
      console: usb_get_descriptor
      console: usb_get_descriptor
      console: get_conf_no 0 Result 34, wLength 34
      console: unknown Description Type : 21
      console: 09 21 01 00 00 01 22 4A 00
      console: if 0, ep 0
      console: bLength=9
      console: bDescriptorType=2
      console: wTotalLength=22
      console: bNumInterfaces=1
      console: bConfigurationValue=1
      console: iConfiguration=7
      console: bmAttributes=a0
      console: MaxPower=32
      console: 09 04 00 00 01 03 00 00 00 09 21 01 00 00 01 22 4a 00 07 05 81 03 08 00 0a
      console: ##EP epmaxpacketin[1] = 8
      console: set configuration 1
      console: new device strings: Mfr=1, Product=3, SerialNumber=10
      console: USB device number 3 default language ID 0x409
      console: Manufacturer QEMU
      console: Product      QEMU USB Tablet
      console: SerialNumber 28754-0000:00:01.0-2
      console: drive at ohci0 devnum 3, Product QEMU USB Tablet
      console: not configured
      console: drive at ohci0 devnum 1, Product OHCI Root Hub
      console: not configured
      console: vendor/product: 0x1af4/0x1000 (network, ethernet, interface: 0x00, revision: 0x00) at pci0 dev 2 function 0 not configured
      console: out configure
      console: Press <Del> to set BIOS,waiting for 3 seconds here.....
      console: devconfig done.
      console: ifinit done.
      console: domaininit done.
      console: init_proc....
      console: HSTI
      console: SYMI
      console: SBDE
      console: [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
      console: [[  [[[[[[[[[       [[[[[       [[[[   [[[[[  [[[[[      [[[[[       [[[[[       [[[[   [[[[[  [[
      console: [[  [[[[[[[[   [[[[  [[[   [[[[  [[[    [[[[  [[[[  [[[[  [[[   [[[[  [[[   [[[[  [[[    [[[[  [[
      console: [[  [[[[[[[[  [[[[[[ [[[  [[[[[[ [[[  [  [[[  [[[  [[[[[[[[[[[[   [[[[[[[  [[[[[[ [[[  [  [[[  [[
      console: [[  [[[[[[[[  [[[[[[ [[[  [[[[[[ [[[  [[  [[  [[[  [[[    [[[[[[[    [[[[  [[[[[[ [[[  [[  [[  [[
      console: [[  [[[[[[[[  [[[[[[ [[[  [[[[[[ [[[  [[[  [  [[[  [[[[[  [[[[[[[[[[  [[[  [[[[[[ [[[  [[[  [  [[
      console: [[  [[[[[[[[   [[[[  [[[   [[[[  [[[  [[[[    [[[   [[[[  [[[   [[[  [[[[   [[[[  [[[  [[[[    [[
      console: [[       [[[[       [[[[[       [[[[  [[[[[   [[[[       [[[[[      [[[[[[       [[[[  [[[[[   [[
      console: [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[2011 Loongson][[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
      console: Configuration [Bonito,EL,NET,SCSI,IDE]
      console: Version: PMON2000 3.3 (Bonito) #0: Tue Dec 22 01:58:09 UTC 2020 commit b3ece66234adbf7d4e453f0ba4f326c099ac2a76 Author: Jiaxun Yang <jiaxun.yang@flygoat.com> Date:   Tue Dec 22 09:51:10 2020 +0800 .
      console: Supported loaders [txt, srec, elf, bin]
      console: Supported filesystems [net, fat, fs, disk, iso9660, socket, tty, ram]
      console: This software may be redistributed under the BSD copyright.
      console: Copyright 2000-2002, Opsycon AB, Sweden.
      console: Copyright 2005, ICT CAS.
      console: CPU GODSON3 BogoMIPS: 1327
      PASS (3.89 s)
      RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
      JOB TIME   : 4.38 s
      
      Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Tested-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20210112020708.62922-1-jiaxun.yang@flygoat.com>
      [PMD: Set timeout to 60sec, simply test for ''CPU GODSON3 BogoMIPS']
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      c0928e6d
    • Jiaxun Yang's avatar
      hw/intc/loongson_liointc: Fix per core ISR handling · 69027599
      Jiaxun Yang authored
      
      Per core ISR is a set of 32-bit registers spaced by 8 bytes.
      This patch fixed calculation of it's size and also added check
      of alignment at reading & writing.
      
      Fixes: Coverity CID 1438965 and CID 1438967
      Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Reviewed-by: default avatarHuacai Chen <chenhuacai@kernel.org>
      Message-Id: <20210112012527.28927-1-jiaxun.yang@flygoat.com>
      [PMD: Added Coverity CID]
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      69027599
    • Jiaxun Yang's avatar
      hw/mips/boston: Use bootloader helper to set GCRs · 283eae17
      Jiaxun Yang authored
      
      Translate embedded assembly into IO writes which is more
      readable.
      
      Also hardcode cm_base at boot time instead of reading from CP0.
      
      Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20210127065424.114125-5-jiaxun.yang@flygoat.com>
      [PMD: Kept code comments]
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      283eae17
    • Jiaxun Yang's avatar
      hw/mips/boston: Use bl_gen_kernel_jump to generate bootloaders · 112658eb
      Jiaxun Yang authored
      
      Replace embedded binary with generated code.
      
      Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Tested-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20201215064507.30148-2-jiaxun.yang@flygoat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      [PMD: Split original patch as one for each machine (here boston)]
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      112658eb
    • Jiaxun Yang's avatar
      hw/mips/fuloong2e: Use bl_gen_kernel_jump to generate bootloaders · 4d0c59fa
      Jiaxun Yang authored
      
      Replace embedded binary with generated code.
      
      Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Tested-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20201215064507.30148-2-jiaxun.yang@flygoat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      [PMD: Split original patch as one for each machine (here fuloong2e)]
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      4d0c59fa
    • Jiaxun Yang's avatar
      hw/mips: Add a bootloader helper · 3ebbf861
      Jiaxun Yang authored
      
      Add a bootloader helper to generate simple bootloaders for kernel.
      It can help us reduce inline hex hack and also keep MIPS release 6
      compatibility easier.
      
      Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20210127065424.114125-2-jiaxun.yang@flygoat.com>
      [PMD: Restricted bl_reg enum to C source,
            inverted bl_gen_write() args,
            added license in hw/mips/bootloader.h]
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      3ebbf861
    • Bin Meng's avatar
      hw/mips: loongson3: Drop 'struct MemmapEntry' · ac9b0117
      Bin Meng authored
      
      There is already a MemMapEntry type defined in hwaddr.h. Let's drop
      the loongson3 defined `struct MemmapEntry` and use the existing one.
      
      Signed-off-by: default avatarBin Meng <bin.meng@windriver.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Tested-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20210122122404.11970-1-bmeng.cn@gmail.com>
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      ac9b0117
  2. Feb 20, 2021
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/philmd-gitlab/tags/sdmmc-20210220' into staging · a528b8c4
      Peter Maydell authored
      
      SD/MMC patches
      
      - Various improvements for SD cards in SPI mode (Bin Meng)
      - Add Bin Meng as SD/MMC cards co-maintainer
      
      # gpg: Signature made Sat 20 Feb 2021 00:09:44 GMT
      # gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
      # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [full]
      # Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE
      
      * remotes/philmd-gitlab/tags/sdmmc-20210220:
        MAINTAINERS: Add Bin Meng as co-maintainer for SD/MMC cards
        hw/sd: sdhci: Simplify updating s->prnsts in sdhci_sdma_transfer_multi_blocks()
        hw/sd: sd: Bypass the RCA check for CMD13 in SPI mode
        hw/sd: sd: Skip write protect groups check in CMD24/25 for high capacity cards
        hw/sd: sd: Skip write protect groups check in sd_erase() for high capacity cards
        hw/sd: sd: Move the sd_block_{read, write} and macros ahead
        hw/sd: sd: Fix CMD30 response type
        hw/sd: sd: Only SDSC cards support CMD28/29/30
        hw/sd: sd: Fix address check in sd_erase()
        hw/sd: ssi-sd: Handle the rest commands with R1b response type
        hw/sd: ssi-sd: Fix STOP_TRANSMISSION (CMD12) response
        hw/sd: ssi-sd: Fix SEND_IF_COND (CMD8) response
        hw/sd: ssi-sd: Support multiple block write
        hw/sd: ssi-sd: Support single block write
        hw/sd: Introduce receive_ready() callback
        hw/sd: sd: Allow single/multiple block write for SPI mode
        hw/sd: sd: Remove duplicated codes in single/multiple block read/write
        hw/sd: ssi-sd: Support multiple block read
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      a528b8c4
    • Philippe Mathieu-Daudé's avatar
      MAINTAINERS: Add Bin Meng as co-maintainer for SD/MMC cards · 3e0a7693
      Philippe Mathieu-Daudé authored
      
      There is new interest in the SD/MMC device emulation, so it
      would be good to have more than only one maintainer / reviewer
      for it.
      
      Bin Meng proved by his contributions a deep understanding of the
      SD cards internals, so let's add him to the corresponding section
      in the MAINTAINERS file.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Acked-by: default avatarBin Meng <bin.meng@windriver.com>
      Message-Id: <20210216132841.1121653-1-f4bug@amsat.org>
      3e0a7693
  3. Feb 19, 2021
Loading