diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-11-14 12:43:16 +0100 |
---|---|---|
committer | Ard Biesheuvel <workofard@gmail.com> | 2024-11-23 16:39:46 +0100 |
commit | a6f1433e9598bfb7948d9af6b817e521d299a57d (patch) | |
tree | bd188a3cee55ead74683132e5c587bf912e00190 /OvmfPkg/Bhyve/BhyveRfbDxe/Gop.h | |
parent | 0d129450c2c436e047f8ee929db63224e643cc30 (diff) | |
download | edk2-master.tar.gz edk2-master.tar.bz2 edk2-master.zip |
There are two issues in the GIC FDT parsing code:
- the GICC Flags 'Enabled' bit is overwritten when parsing the VGIC
Maintenance Interrupt, whose trigger type occupies another bit in the
same field;
- only the first CPU's Flags field is updated.
This breaks both SMP boot and KVM support on Linux, given that the boot
CPU is disabled in the MADT, and the VGIC maintenance interrupt is set
to 0x0 on all others.
Fix this, by OR'ing the trigger type into the field, and by iterating
over all discovered CPUs.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'OvmfPkg/Bhyve/BhyveRfbDxe/Gop.h')
0 files changed, 0 insertions, 0 deletions