[Qemu-devel] [PULL 00/27] Pflash and firmware configuration patches for 2019-03-11

Markus Armbruster posted 27 patches 5 years, 1 month ago
Test checkpatch passed
Test asan failed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Failed in applying to current master (apply log)
accel/accel.c                            |   1 +
docs/interop/firmware.json               |  20 ++-
hw/arm/collie.c                          |   9 +-
hw/arm/digic_boards.c                    |   3 +-
hw/arm/gumstix.c                         |  10 +-
hw/arm/mainstone.c                       |   5 +-
hw/arm/musicpal.c                        |   8 +-
hw/arm/omap_sx1.c                        |  10 +-
hw/arm/versatilepb.c                     |   3 +-
hw/arm/vexpress.c                        |  10 +-
hw/arm/virt.c                            |   3 +-
hw/arm/xilinx_zynq.c                     |   7 +-
hw/arm/z2.c                              |   6 +-
hw/block/pflash_cfi01.c                  | 128 +++++++++-------
hw/block/pflash_cfi02.c                  |  81 ++++++-----
hw/core/qdev.c                           |  21 +--
hw/core/sysbus.c                         |   3 -
hw/i386/pc.c                             |   4 +-
hw/i386/pc_sysfw.c                       | 243 +++++++++++++++++++------------
hw/lm32/lm32_boards.c                    |   8 +-
hw/lm32/milkymist.c                      |   5 +-
hw/microblaze/petalogix_ml605_mmu.c      |   6 +-
hw/microblaze/petalogix_s3adsp1800_mmu.c |   5 +-
hw/mips/mips_malta.c                     |  21 +--
hw/mips/mips_r4k.c                       |   5 +-
hw/ppc/ppc405_boards.c                   | 102 ++-----------
hw/ppc/sam460ex.c                        |  42 ++++--
hw/ppc/virtex_ml507.c                    |   5 +-
hw/sh4/r2d.c                             |  17 ++-
hw/xtensa/xtfpga.c                       |  12 +-
include/hw/block/flash.h                 |  58 +++++---
include/hw/i386/pc.h                     |   6 +-
include/hw/qdev-core.h                   |   2 -
include/qom/object.h                     |   3 +
qom/object.c                             |  39 +++++
vl.c                                     | 125 ++++++++--------
36 files changed, 547 insertions(+), 489 deletions(-)
[Qemu-devel] [PULL 00/27] Pflash and firmware configuration patches for 2019-03-11
Posted by Markus Armbruster 5 years, 1 month ago
The following changes since commit 377b155bde451d5ac545fbdcdfbf6ca17a4228f5:

  Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2019-03-11 18:26:37 +0000)

are available in the Git repository at:

  git://repo.or.cz/qemu/armbru.git tags/pull-pflash-2019-03-11

for you to fetch changes up to e33763be7cd3769c9ae48e67d775348863fdabdb:

  docs/interop/firmware.json: Prefer -machine to if=pflash (2019-03-11 22:54:25 +0100)

----------------------------------------------------------------
Pflash and firmware configuration patches for 2019-03-11

* Fix guest-triggerable exit() in cfi.pflash01 device
* Correct flash memory size with odd image files for machine types
  sam460ex, ref405ep, taihu.
* Correct flash memory size, sector siz, width and device ID for
  machine type r2d.
* Support firmware configuration with -blockdev for machine types
  pc-*.

----------------------------------------------------------------
Markus Armbruster (22):
      pflash: Rename pflash_t to PFlashCFI01, PFlashCFI02
      pflash_cfi01: Do not exit() on guest aborting "write to buffer"
      pflash_cfi01: Log use of flawed "write to buffer"
      pflash: Rename *CFI_PFLASH* to *PFLASH_CFI*
      hw: Use PFLASH_CFI0{1,2} and TYPE_PFLASH_CFI0{1,2}
      sam460ex: Don't size flash memory to match backing image
      ppc405_boards: Delete stale, disabled DEBUG_BOARD_INIT code
      ppc405_boards: Don't size flash memory to match backing image
      r2d: Fix flash memory size, sector size, width, device ID
      mips_malta: Delete disabled, broken DEBUG_BOARD_INIT code
      mips_malta: Clean up definition of flash memory size somewhat
      pflash: Clean up after commit 368a354f02b, part 1
      pflash: Clean up after commit 368a354f02b, part 2
      qdev: Fix latent bug with compat_props and onboard devices
      qom: Move compat_props machinery from qdev to QOM
      vl: Fix latent bug with -global and onboard devices
      sysbus: Fix latent bug with onboard devices
      vl: Improve legibility of BlockdevOptions queue
      vl: Factor configure_blockdev() out of main()
      vl: Create block backends before setting machine properties
      pc: Support firmware configuration with -blockdev
      docs/interop/firmware.json: Prefer -machine to if=pflash

Philippe Mathieu-Daudé (5):
      hw/mips/malta: Remove fl_sectors variable
      hw/mips/malta: Restrict 'bios_size' variable scope
      pflash_cfi01: Add pflash_cfi01_get_blk() helper
      pc_sysfw: Remove unused PcSysFwDevice
      pc_sysfw: Pass PCMachineState to pc_system_firmware_init()

 accel/accel.c                            |   1 +
 docs/interop/firmware.json               |  20 ++-
 hw/arm/collie.c                          |   9 +-
 hw/arm/digic_boards.c                    |   3 +-
 hw/arm/gumstix.c                         |  10 +-
 hw/arm/mainstone.c                       |   5 +-
 hw/arm/musicpal.c                        |   8 +-
 hw/arm/omap_sx1.c                        |  10 +-
 hw/arm/versatilepb.c                     |   3 +-
 hw/arm/vexpress.c                        |  10 +-
 hw/arm/virt.c                            |   3 +-
 hw/arm/xilinx_zynq.c                     |   7 +-
 hw/arm/z2.c                              |   6 +-
 hw/block/pflash_cfi01.c                  | 128 +++++++++-------
 hw/block/pflash_cfi02.c                  |  81 ++++++-----
 hw/core/qdev.c                           |  21 +--
 hw/core/sysbus.c                         |   3 -
 hw/i386/pc.c                             |   4 +-
 hw/i386/pc_sysfw.c                       | 243 +++++++++++++++++++------------
 hw/lm32/lm32_boards.c                    |   8 +-
 hw/lm32/milkymist.c                      |   5 +-
 hw/microblaze/petalogix_ml605_mmu.c      |   6 +-
 hw/microblaze/petalogix_s3adsp1800_mmu.c |   5 +-
 hw/mips/mips_malta.c                     |  21 +--
 hw/mips/mips_r4k.c                       |   5 +-
 hw/ppc/ppc405_boards.c                   | 102 ++-----------
 hw/ppc/sam460ex.c                        |  42 ++++--
 hw/ppc/virtex_ml507.c                    |   5 +-
 hw/sh4/r2d.c                             |  17 ++-
 hw/xtensa/xtfpga.c                       |  12 +-
 include/hw/block/flash.h                 |  58 +++++---
 include/hw/i386/pc.h                     |   6 +-
 include/hw/qdev-core.h                   |   2 -
 include/qom/object.h                     |   3 +
 qom/object.c                             |  39 +++++
 vl.c                                     | 125 ++++++++--------
 36 files changed, 547 insertions(+), 489 deletions(-)

-- 
2.17.2


Re: [Qemu-devel] [PULL 00/27] Pflash and firmware configuration patches for 2019-03-11
Posted by Peter Maydell 5 years, 1 month ago
On Mon, 11 Mar 2019 at 22:13, Markus Armbruster <armbru@redhat.com> wrote:
>
> The following changes since commit 377b155bde451d5ac545fbdcdfbf6ca17a4228f5:
>
>   Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2019-03-11 18:26:37 +0000)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/armbru.git tags/pull-pflash-2019-03-11
>
> for you to fetch changes up to e33763be7cd3769c9ae48e67d775348863fdabdb:
>
>   docs/interop/firmware.json: Prefer -machine to if=pflash (2019-03-11 22:54:25 +0100)
>
> ----------------------------------------------------------------
> Pflash and firmware configuration patches for 2019-03-11
>
> * Fix guest-triggerable exit() in cfi.pflash01 device
> * Correct flash memory size with odd image files for machine types
>   sam460ex, ref405ep, taihu.
> * Correct flash memory size, sector siz, width and device ID for
>   machine type r2d.
> * Support firmware configuration with -blockdev for machine types
>   pc-*.
>
> ----------------------------------------------------------------

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.0
for any user-visible changes.

-- PMM