qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 01/13] hw/mips/gt64xxx_pci: Fix PCI IRQ levels to be preserve


From: Richard Henderson
Subject: Re: [PATCH 01/13] hw/mips/gt64xxx_pci: Fix PCI IRQ levels to be preserved during migration
Date: Tue, 8 Mar 2022 08:09:17 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 3/7/22 03:43, Philippe Mathieu-Daudé wrote:
From: Bernhard Beschow<shentey@gmail.com>

Based on commit e735b55a8c11dd455e31ccd4420e6c9485191d0c:

   piix_pci: eliminate PIIX3State::pci_irq_levels

   PIIX3State::pci_irq_levels are redundant which is already tracked by
   PCIBus layer. So eliminate them.

The IRQ levels in the PCIBus layer are already preserved during
migration. By reusing them and rather than having a redundant implementation
the bug is avoided in the first place.

Suggested-by: Peter Maydell<peter.maydell@linaro.org>
Signed-off-by: Bernhard Beschow<shentey@gmail.com>
Reviewed-by: Peter Maydell<peter.maydell@linaro.org>
Message-Id:<20220217101924.15347-2-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
  hw/mips/gt64xxx_pci.c | 7 ++-----
  1 file changed, 2 insertions(+), 5 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]