Skip to content

hw/mips: Make gt64xxx_pci.c endian-agnostic

Philippe Mathieu-Daudé qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 3 repliesIn review
  2. v17 patches 16 repliesSuperseded

Changes in v2 from the cover letter

- use DEFINE_PROP_BOOL (Richard)
- use R_GT_CPU_Endianness_MASK instead of deposit32 (Richard)
- keep qdev_prop_set_bit() for QOM boolean
(there is no qdev_prop_set_bool, object_property_set_bool seems overkill here).

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7hw/mips/Kconfig: Introduce CONFIG_GT64120 to select gt64xxx_pci.chw/mips/Kconfig hw/mips/meson.build+8 -10 replies
2/7hw/mips/gt64xxx_pci: Let the GT64120 manage the lower 512MiB holeconfigs/devices/mips-softmmu/common.mak hw/mips/Kconfig hw/mips/gt64xxx_pci.c +1 more+9 -80 replies
3/7hw/mips/gt64xxx_pci: Manage endian bits with the RegisterFields APIhw/mips/gt64xxx_pci.c+23 -151 reply
4/7hw/mips/gt64xxx_pci: Add a 'cpu-little-endian' qdev propertyhw/mips/gt64xxx_pci.c+14 -81 reply
5/7hw/mips/malta: Explicit GT64120 endianness upon device creationhw/mips/malta.c+3 -10 replies
6/7hw/mips/meson: Make gt64xxx_pci.c endian-agnostichw/mips/gt64xxx_pci.c hw/mips/meson.build+2 -20 replies
7/7hw/mips/gt64xxx_pci: Move it to hw/pci-host/MAINTAINERS hw/mips/Kconfig hw/mips/meson.build +6 more+15 -150 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchBernhard BeschowRichard Henderson
1/7R-b R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] hw/mips: Make gt64xxx_pci.c endian-agnostic

Patches missing review: 3 & 4

Respining an old/unfinished series... Add the 'cpu-little-endian' qdev property to the GT64120 north bridge so [target-specific] machines can set its endianness, allowing it to be endian agnostic.

Since v1:
- use DEFINE_PROP_BOOL (Richard)
- use R_GT_CPU_Endianness_MASK instead of deposit32 (Richard)
- keep qdev_prop_set_bit() for QOM boolean
(there is no qdev_prop_set_bool, object_property_set_bool seems overkill here).

Philippe Mathieu-Daudé (7):
hw/mips/Kconfig: Introduce CONFIG_GT64120 to select gt64xxx_pci.c hw/mips/gt64xxx_pci: Let the GT64120 manage the lower 512MiB hole hw/mips/gt64xxx_pci: Manage endian bits with the RegisterFields API hw/mips/gt64xxx_pci: Add a 'cpu-little-endian' qdev property hw/mips/malta: Explicit GT64120 endianness upon device creation hw/mips/meson: Make gt64xxx_pci.c endian-agnostic hw/mips/gt64xxx_pci: Move it to hw/pci-host/

 MAINTAINERS                                   |  2 +-
 configs/devices/mips-softmmu/common.mak       |  1 -
 hw/mips/Kconfig                               |  1 +
 hw/mips/malta.c                               | 11 ++--
 hw/mips/meson.build                           |  2 +-
 hw/mips/trace-events                          |  6 ---
 hw/pci-host/Kconfig                           |  6 +++
 hw/{mips/gt64xxx_pci.c => pci-host/gt64120.c} | 52 +++++++++++++------
 hw/pci-host/meson.build                       |  1 +
 hw/pci-host/trace-events                      |  7 +++
 meson.build                                   |  1 -
 11 files changed, 57 insertions(+), 33 deletions(-)
 delete mode 100644 hw/mips/trace-events
 rename hw/{mips/gt64xxx_pci.c => pci-host/gt64120.c} (96%)
Signature · 1 line
2.38.1