mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-08 04:49:45 +00:00
dm: fix assertion in pci_irq_reserve
atkbdc_init will call pci_irq_reserve to reserve irq 1 & 12, which need pci_irq_init be called first. Tracked-On: #1402 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
parent
e0728f4b60
commit
6793eb0604
@ -499,12 +499,12 @@ vm_reset_vdevs(struct vmctx *ctx)
|
|||||||
pci_irq_deinit(ctx);
|
pci_irq_deinit(ctx);
|
||||||
ioapic_deinit();
|
ioapic_deinit();
|
||||||
|
|
||||||
|
pci_irq_init(ctx);
|
||||||
atkbdc_init(ctx);
|
atkbdc_init(ctx);
|
||||||
vrtc_init(ctx);
|
vrtc_init(ctx);
|
||||||
vpit_init(ctx);
|
vpit_init(ctx);
|
||||||
|
|
||||||
ioapic_init(ctx);
|
ioapic_init(ctx);
|
||||||
pci_irq_init(ctx);
|
|
||||||
init_pci(ctx);
|
init_pci(ctx);
|
||||||
|
|
||||||
if (acpi) {
|
if (acpi) {
|
||||||
|
Loading…
Reference in New Issue
Block a user