From 12f0763e9384b52f8618fba5b7a70748d4a2da05 Mon Sep 17 00:00:00 2001 From: Adrian Calianu Date: Mon, 13 May 2019 09:29:49 +0200 Subject: Add x2APIC support It provides interrupt re-mapping support. In case x2APIC is not available xAPIC will be enabled which also support interrupt re-mapping. Change-Id: I7c61194d9b9d8cb6d82d5f978000c363824c58a3 Signed-off-by: Adrian Calianu --- features/apic/x2apic_y.cfg | 2 ++ features/apic/x2apic_y.scc | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 features/apic/x2apic_y.cfg create mode 100644 features/apic/x2apic_y.scc diff --git a/features/apic/x2apic_y.cfg b/features/apic/x2apic_y.cfg new file mode 100644 index 0000000..6bcbb81 --- /dev/null +++ b/features/apic/x2apic_y.cfg @@ -0,0 +1,2 @@ +CONFIG_IRQ_REMAP=y +CONFIG_X86_X2APIC=y diff --git a/features/apic/x2apic_y.scc b/features/apic/x2apic_y.scc new file mode 100644 index 0000000..f81ed9a --- /dev/null +++ b/features/apic/x2apic_y.scc @@ -0,0 +1,4 @@ +define KFEATURE_DESCRIPTION "Enable x2APIC which increase the number of supported CPUs(2^32-1) and performance of the interface." +define KFEATURE_COMPATIBILITY board + +kconf hardware x2apic_y.cfg -- cgit v1.2.3-54-g00ecf