]>
Commit | Line | Data |
---|---|---|
3dcc8d3b | 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
90a6d957 | 2 | From: Wolfgang Bumiller <w.bumiller@proxmox.com> |
6402d961 TL |
3 | Date: Tue, 10 Mar 2020 12:55:18 +0100 |
4 | Subject: [PATCH 21/32] PVE: [Config] Revert "target-i386: disable LINT0 after | |
5 | reset" | |
90a6d957 WB |
6 | |
7 | This reverts commit b8eb5512fd8a115f164edbbe897cdf8884920ccb. | |
b855dce7 TL |
8 | |
9 | Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> | |
90a6d957 WB |
10 | --- |
11 | hw/intc/apic_common.c | 9 +++++++++ | |
12 | 1 file changed, 9 insertions(+) | |
13 | ||
14 | diff --git a/hw/intc/apic_common.c b/hw/intc/apic_common.c | |
6402d961 | 15 | index 375cb6abe9..e7d479c7e9 100644 |
90a6d957 WB |
16 | --- a/hw/intc/apic_common.c |
17 | +++ b/hw/intc/apic_common.c | |
6402d961 | 18 | @@ -259,6 +259,15 @@ static void apic_reset_common(DeviceState *dev) |
90a6d957 WB |
19 | info->vapic_base_update(s); |
20 | ||
21 | apic_init_reset(dev); | |
22 | + | |
23 | + if (bsp) { | |
24 | + /* | |
25 | + * LINT0 delivery mode on CPU #0 is set to ExtInt at initialization | |
26 | + * time typically by BIOS, so PIC interrupt can be delivered to the | |
27 | + * processor when local APIC is enabled. | |
28 | + */ | |
29 | + s->lvt[APIC_LVT_LINT0] = 0x700; | |
30 | + } | |
31 | } | |
32 | ||
6402d961 | 33 | static const VMStateDescription vmstate_apic_common; |