mbox

[PULL,00/26] aspeed queue

Message ID 20230901094214.296918-1-clg@kaod.org (mailing list archive)
State New, archived
Headers show

Pull-request

https://github.com/legoater/qemu/ tags/pull-aspeed-20230901

Message

Cédric Le Goater Sept. 1, 2023, 9:41 a.m. UTC
The following changes since commit 17780edd81d27fcfdb7a802efc870a99788bd2fc:

  Merge tag 'quick-fix-pull-request' of https://gitlab.com/bsdimp/qemu into staging (2023-08-31 10:06:29 -0400)

are available in the Git repository at:

  https://github.com/legoater/qemu/ tags/pull-aspeed-20230901

for you to fetch changes up to c3287c0f70dae07dd12322c5c8663f7b878826e7:

  hw/sd: Introduce a "sd-card" SPI variant model (2023-09-01 11:40:04 +0200)

----------------------------------------------------------------
aspeed queue:

* Fixes for the Aspeed I2C model
* New SDK image for avocado tests
* blockdev support for flash device definition
* SD refactoring preparing ground for eMMC support

----------------------------------------------------------------
Cédric Le Goater (10):
      aspeed: Introduce helper for 32-bit hosts limitation
      tests/avocado/machine_aspeed.py: Update SDK images
      hw/ssi: Add a "cs" property to SSIPeripheral
      hw/ssi: Introduce a ssi_get_cs() helper
      aspeed/smc: Wire CS lines at reset
      hw/ssi: Check for duplicate CS indexes
      aspeed: Create flash devices only when defaults are enabled
      m25p80: Introduce an helper to retrieve the BlockBackend of a device
      aspeed: Get the BlockBackend of FMC0 from the flash device
      hw/sd: Introduce a "sd-card" SPI variant model

Hang Yu (3):
      hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode
      hw/i2c/aspeed: Fix TXBUF transmission start position error
      hw/i2c/aspeed: Add support for buffer organization

Joel Stanley (1):
      hw/sd: Add sd_cmd_SEND_TUNING_BLOCK() handler

Philippe Mathieu-Daudé (12):
      hw/sd/sdcard: Return ILLEGAL for CMD19/CMD23 prior SD spec v3.01
      hw/sd: When card is in wrong state, log which state it is
      hw/sd: When card is in wrong state, log which spec version is used
      hw/sd: Move proto_name to SDProto structure
      hw/sd: Introduce sd_cmd_handler type
      hw/sd: Add sd_cmd_illegal() handler
      hw/sd: Add sd_cmd_unimplemented() handler
      hw/sd: Add sd_cmd_GO_IDLE_STATE() handler
      hw/sd: Add sd_cmd_SEND_OP_CMD() handler
      hw/sd: Add sd_cmd_ALL_SEND_CID() handler
      hw/sd: Add sd_cmd_SEND_RELATIVE_ADDR() handler
      hw/sd: Add sd_cmd_SET_BLOCK_COUNT() handler

 docs/system/arm/aspeed.rst          |  35 +++-
 include/hw/block/flash.h            |   4 +
 include/hw/i2c/aspeed_i2c.h         |   5 +-
 include/hw/sd/sd.h                  |   5 +
 include/hw/ssi/ssi.h                |   5 +
 hw/arm/aspeed.c                     |  40 ++---
 hw/arm/stellaris.c                  |   7 +-
 hw/arm/xilinx_zynq.c                |   1 +
 hw/arm/xlnx-versal-virt.c           |   1 +
 hw/arm/xlnx-zcu102.c                |   2 +
 hw/block/m25p80.c                   |   6 +
 hw/i2c/aspeed_i2c.c                 |  40 ++---
 hw/microblaze/petalogix_ml605_mmu.c |   1 +
 hw/riscv/sifive_u.c                 |   3 +-
 hw/sd/sd.c                          | 348 ++++++++++++++++++++++--------------
 hw/sd/sdmmc-internal.c              |   2 +-
 hw/ssi/aspeed_smc.c                 |   8 +
 hw/ssi/ssi.c                        |  43 +++++
 tests/avocado/machine_aspeed.py     |  12 +-
 19 files changed, 367 insertions(+), 201 deletions(-)

Comments

Stefan Hajnoczi Sept. 6, 2023, 6:24 p.m. UTC | #1
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.2 for any user-visible changes.
Cédric Le Goater Sept. 8, 2023, 7:09 a.m. UTC | #2
On 9/1/23 11:41, Cédric Le Goater wrote:
> The following changes since commit 17780edd81d27fcfdb7a802efc870a99788bd2fc:
> 
>    Merge tag 'quick-fix-pull-request' of https://gitlab.com/bsdimp/qemu into staging (2023-08-31 10:06:29 -0400)
> 
> are available in the Git repository at:
> 
>    https://github.com/legoater/qemu/ tags/pull-aspeed-20230901
> 
> for you to fetch changes up to c3287c0f70dae07dd12322c5c8663f7b878826e7:
> 
>    hw/sd: Introduce a "sd-card" SPI variant model (2023-09-01 11:40:04 +0200)
> 
> ----------------------------------------------------------------
> aspeed queue:
> 
> * Fixes for the Aspeed I2C model
> * New SDK image for avocado tests
> * blockdev support for flash device definition
> * SD refactoring preparing ground for eMMC support
> 
> ----------------------------------------------------------------
> Cédric Le Goater (10):
>        aspeed: Introduce helper for 32-bit hosts limitation
>        tests/avocado/machine_aspeed.py: Update SDK images
>        hw/ssi: Add a "cs" property to SSIPeripheral
>        hw/ssi: Introduce a ssi_get_cs() helper
>        aspeed/smc: Wire CS lines at reset
>        hw/ssi: Check for duplicate CS indexes
>        aspeed: Create flash devices only when defaults are enabled
>        m25p80: Introduce an helper to retrieve the BlockBackend of a device
>        aspeed: Get the BlockBackend of FMC0 from the flash device
>        hw/sd: Introduce a "sd-card" SPI variant model
> 
> Hang Yu (3):
>        hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode
>        hw/i2c/aspeed: Fix TXBUF transmission start position error

Michael,

I think the two above are candidates for stable.

Thanks,

C.


>        hw/i2c/aspeed: Add support for buffer organization
> 
> Joel Stanley (1):
>        hw/sd: Add sd_cmd_SEND_TUNING_BLOCK() handler
> 
> Philippe Mathieu-Daudé (12):
>        hw/sd/sdcard: Return ILLEGAL for CMD19/CMD23 prior SD spec v3.01
>        hw/sd: When card is in wrong state, log which state it is
>        hw/sd: When card is in wrong state, log which spec version is used
>        hw/sd: Move proto_name to SDProto structure
>        hw/sd: Introduce sd_cmd_handler type
>        hw/sd: Add sd_cmd_illegal() handler
>        hw/sd: Add sd_cmd_unimplemented() handler
>        hw/sd: Add sd_cmd_GO_IDLE_STATE() handler
>        hw/sd: Add sd_cmd_SEND_OP_CMD() handler
>        hw/sd: Add sd_cmd_ALL_SEND_CID() handler
>        hw/sd: Add sd_cmd_SEND_RELATIVE_ADDR() handler
>        hw/sd: Add sd_cmd_SET_BLOCK_COUNT() handler
> 
>   docs/system/arm/aspeed.rst          |  35 +++-
>   include/hw/block/flash.h            |   4 +
>   include/hw/i2c/aspeed_i2c.h         |   5 +-
>   include/hw/sd/sd.h                  |   5 +
>   include/hw/ssi/ssi.h                |   5 +
>   hw/arm/aspeed.c                     |  40 ++---
>   hw/arm/stellaris.c                  |   7 +-
>   hw/arm/xilinx_zynq.c                |   1 +
>   hw/arm/xlnx-versal-virt.c           |   1 +
>   hw/arm/xlnx-zcu102.c                |   2 +
>   hw/block/m25p80.c                   |   6 +
>   hw/i2c/aspeed_i2c.c                 |  40 ++---
>   hw/microblaze/petalogix_ml605_mmu.c |   1 +
>   hw/riscv/sifive_u.c                 |   3 +-
>   hw/sd/sd.c                          | 348 ++++++++++++++++++++++--------------
>   hw/sd/sdmmc-internal.c              |   2 +-
>   hw/ssi/aspeed_smc.c                 |   8 +
>   hw/ssi/ssi.c                        |  43 +++++
>   tests/avocado/machine_aspeed.py     |  12 +-
>   19 files changed, 367 insertions(+), 201 deletions(-)
Michael Tokarev Sept. 8, 2023, 7:52 a.m. UTC | #3
08.09.2023 10:09, Cédric Le Goater wrote:
..
>> Hang Yu (3):
>>        hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode
>>        hw/i2c/aspeed: Fix TXBUF transmission start position error
> 
> Michael,
> 
> I think the two above are candidates for stable.

Got it.  I've noticed these two in master yesterday, but thought
i2c/aspeed priority is a bit lower than other stuff, - maybe
wrongly.

Picked these two up now.

Thank you for making me know!

/mjt
Cédric Le Goater Sept. 8, 2023, 8:25 a.m. UTC | #4
On 9/8/23 09:52, Michael Tokarev wrote:
> 08.09.2023 10:09, Cédric Le Goater wrote:
> ..
>>> Hang Yu (3):
>>>        hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode
>>>        hw/i2c/aspeed: Fix TXBUF transmission start position error
>>
>> Michael,
>>
>> I think the two above are candidates for stable.
> 
> Got it.  I've noticed these two in master yesterday, but thought
> i2c/aspeed priority is a bit lower than other stuff, - maybe
> wrongly.

It is not hot material indeed but it does fix support for the
latest Aspeed SDK and a lot people simply use the disto QEMU.

> Picked these two up now.

Thanks, !

C.