[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 28/33] hw/isa/piix3: Merge hw/isa/piix4.c
From: |
Bernhard Beschow |
Subject: |
Re: [PATCH v6 28/33] hw/isa/piix3: Merge hw/isa/piix4.c |
Date: |
Thu, 12 Jan 2023 18:24:31 +0000 |
Am 12. Januar 2023 13:32:02 UTC schrieb "Philippe Mathieu-Daudé"
<philmd@linaro.org>:
>On 12/1/23 13:50, Philippe Mathieu-Daudé wrote:
>> On 9/1/23 18:23, Bernhard Beschow wrote:
>>> Now that the PIIX3 and PIIX4 device models are sufficiently consolidated,
>>> their implementations can be merged into one file for further
>>> consolidation.
>>>
>>> Signed-off-by: Bernhard Beschow <shentey@gmail.com>
>>> Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
>>> Message-Id: <20221022150508.26830-37-shentey@gmail.com>
>>> ---
>>> hw/isa/{piix3.c => piix.c} | 158 ++++++++++++++++++++
>>> hw/isa/piix4.c | 285 -------------------------------------
>>> MAINTAINERS | 6 +-
>>> hw/i386/Kconfig | 2 +-
>>> hw/isa/Kconfig | 12 +-
>>> hw/isa/meson.build | 3 +-
>>> hw/mips/Kconfig | 2 +-
>>> 7 files changed, 165 insertions(+), 303 deletions(-)
>>> rename hw/isa/{piix3.c => piix.c} (75%)
>>> delete mode 100644 hw/isa/piix4.c
>>
>> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>
>BTW I wonder why PIIX4 isn't calling pci_bus_set_route_irq_fn()...
>Any clue?
Looks like it gets used for proxying:
https://elixir.bootlin.com/qemu/v7.2.0/C/ident/pci_device_route_intx_to_irq
- Re: [PATCH v6 25/33] hw/isa/piix4: Use TYPE_ISA_PIC device, (continued)
- [PATCH v6 22/33] hw/isa/piix3: Drop the "3" from PIIX base class, Bernhard Beschow, 2023/01/09
- [PATCH v6 27/33] hw/isa/piix4: Rename reset control operations to match PIIX3, Bernhard Beschow, 2023/01/09
- [PATCH v6 32/33] hw/isa/piix: Consolidate IRQ triggering, Bernhard Beschow, 2023/01/09
- [PATCH v6 33/33] hw/isa/piix: Share PIIX3's base class with PIIX4, Bernhard Beschow, 2023/01/09
- [PATCH v6 28/33] hw/isa/piix3: Merge hw/isa/piix4.c, Bernhard Beschow, 2023/01/09
- Re: [PATCH v6 28/33] hw/isa/piix3: Merge hw/isa/piix4.c, Philippe Mathieu-Daudé, 2023/01/12
- Re: [PATCH v6 28/33] hw/isa/piix3: Merge hw/isa/piix4.c, Philippe Mathieu-Daudé, 2023/01/12
[PATCH v6 26/33] hw/isa/piix4: Reuse struct PIIXState from PIIX3, Bernhard Beschow, 2023/01/09
[PATCH v6 29/33] hw/isa/piix: Harmonize names of reset control memory regions, Bernhard Beschow, 2023/01/09
[PATCH v6 31/33] hw/isa/piix: Rename functions to be shared for interrupt triggering, Bernhard Beschow, 2023/01/09
[PATCH v6 30/33] hw/isa/piix: Reuse PIIX3 base class' realize method in PIIX4, Bernhard Beschow, 2023/01/09