cloud-hypervisor/vmm/src
Rob Bradford 93237f0106 vmm: Set MADT "Online Capable" flag
The Linux kernel now checks for this before marking CPUs as
hotpluggable:

commit aa06e20f1be628186f0c2dcec09ea0009eb69778
Author: Mario Limonciello <mario.limonciello@amd.com>
Date:   Wed Sep 8 16:41:46 2021 -0500

    x86/ACPI: Don't add CPUs that are not online capable

    A number of systems are showing "hotplug capable" CPUs when they
    are not really hotpluggable.  This is because the MADT has extra
    CPU entries to support different CPUs that may be inserted into
    the socket with different numbers of cores.

    Starting with ACPI 6.3 the spec has an Online Capable bit in the
    MADT used to determine whether or not a CPU is hotplug capable
    when the enabled bit is not set.

    Link: https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/05_ACPI_Software_Programming_Model/ACPI_Software_Programming_Model.html?#local-apic-flags
    Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2022-07-01 18:45:05 +01:00
..
api vmm: drop Sync+Send bounds for EndpointHandler 2022-06-20 23:28:57 +01:00
acpi.rs aarch64: Align the data types in layout 2022-04-08 11:08:43 -07:00
clone3.rs vmm: notify virtio-console of pty resizes 2021-09-14 15:43:25 +01:00
config.rs build: Fix beta clippy issue (derive_partial_eq_without_eq) 2022-06-30 20:50:45 +01:00
coredump.rs vmm: Fix clippy issues under "guest_debug" feature 2022-06-08 11:40:56 +01:00
cpu.rs vmm: Set MADT "Online Capable" flag 2022-07-01 18:45:05 +01:00
device_manager.rs pci, vmm: Defer mapping VFIO MMIO regions on restore 2022-06-09 09:19:58 +02:00
device_tree.rs cargo: Clean up serde dependencies 2022-05-18 08:21:19 +02:00
gdb.rs build: Fix beta clippy issue (needless_return) 2022-06-30 20:50:45 +01:00
interrupt.rs vmm: Move GIC unit test to hypervisor crate 2022-06-06 10:17:26 +08:00
lib.rs build: #[allow(clippy::significant_drop_in_scrutinee) in some crates 2022-06-30 20:50:45 +01:00
memory_manager.rs vmm: save guest memory for coredump 2022-05-30 13:41:40 +02:00
migration.rs vmm: add GuestDebuggable trait 2022-05-30 13:41:40 +02:00
pci_segment.rs arch, devices, vmm: Remove "acpi" feature gate 2022-03-28 09:18:29 -07:00
seccomp_filters.rs virtio-devices, vmm: Remove unused macro rules 2022-05-20 09:59:43 +01:00
serial_buffer.rs vmm: Refactor serial buffer to allow flush on PTY when writable 2021-09-27 14:18:21 +01:00
serial_manager.rs build: Fix beta clippy issue (derive_partial_eq_without_eq) 2022-06-30 20:50:45 +01:00
sigwinch_listener.rs vmm: Fix panic in SIGWINCH listener thread when no seccomp filter set 2021-11-16 14:28:02 +00:00
vm.rs build: Fix beta clippy issue (derive_partial_eq_without_eq) 2022-06-30 20:50:45 +01:00