mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shashank Balaji <shashank.mahadasyam@sony.com>
To: Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
	 Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	 x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
	 Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>,
	linux-kernel@vger.kernel.org,
	 Jan Kiszka <jan.kiszka@siemens.com>,
	Sohil Mehta <sohil.mehta@intel.com>,
	 Andrew Cooper <andrew.cooper3@citrix.com>,
	 Shashank Balaji <shashank.mahadasyam@sony.com>,
	 Rahul Bukte <rahul.bukte@sony.com>,
	Daniel Palmer <daniel.palmer@sony.com>,
	 Tim Bird <tim.bird@sony.com>
Subject: [PATCH v2 2/2] x86/defconfig: Add CONFIG_IRQ_REMAP
Date: Fri, 06 Mar 2026 14:46:29 +0900	[thread overview]
Message-ID: <20260306-x2apic-fix-v2-2-bee99c12efa3@sony.com> (raw)
In-Reply-To: <20260306-x2apic-fix-v2-0-bee99c12efa3@sony.com>

x2apic is enabled in the defconfig, and interrupt remapping is an architectural
dependency of x2apic as per the Intel SDM:

	Routing of device interrupts to local APIC units operating in x2APIC
	mode requires use of the interrupt-remapping architecture specified in
	the Intel® Virtualization Technology for Directed I/O (Revision 1.3
	and/or later versions).

Enable CONFIG_IRQ_REMAP in defconfig so that a defconfig kernel on bare metal
actually uses x2apic.

Co-developed-by: Rahul Bukte <rahul.bukte@sony.com>
Signed-off-by: Rahul Bukte <rahul.bukte@sony.com>
Signed-off-by: Shashank Balaji <shashank.mahadasyam@sony.com>

---

Changes in v2:
- Mention the SDM (based on Andrew and Jan's discussion)
---
 arch/x86/configs/x86_64_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig
index 7d7310cdf8b0..269f7d808be4 100644
--- a/arch/x86/configs/x86_64_defconfig
+++ b/arch/x86/configs/x86_64_defconfig
@@ -230,6 +230,7 @@ CONFIG_EEEPC_LAPTOP=y
 CONFIG_AMD_IOMMU=y
 CONFIG_INTEL_IOMMU=y
 # CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
+CONFIG_IRQ_REMAP=y
 CONFIG_EXT4_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
 CONFIG_EXT4_FS_SECURITY=y

-- 
2.43.0


  parent reply	other threads:[~2026-03-06  5:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-06  5:46 [PATCH v2 0/2] x86/x2apic: Fix hangup of defconfig kernel on resume from s2ram Shashank Balaji
2026-03-06  5:46 ` [PATCH v2 1/2] x86/x2apic: Disable x2apic on resume if the kernel expects so Shashank Balaji
2026-03-08  9:21   ` Thomas Gleixner
2026-03-09  0:59   ` Sohil Mehta
2026-03-10 11:30   ` [tip: x86/urgent] x86/apic: " tip-bot2 for Shashank Balaji
2026-03-06  5:46 ` Shashank Balaji [this message]
2026-03-08  9:22   ` [PATCH v2 2/2] x86/defconfig: Add CONFIG_IRQ_REMAP Thomas Gleixner
2026-03-09  1:01   ` Sohil Mehta
2026-03-10 18:10   ` [tip: x86/misc] x86/64/defconfig: " tip-bot2 for Shashank Balaji

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260306-x2apic-fix-v2-2-bee99c12efa3@sony.com \
    --to=shashank.mahadasyam@sony.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=bp@alien8.de \
    --cc=daniel.palmer@sony.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=jan.kiszka@siemens.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mingo@redhat.com \
    --cc=rahul.bukte@sony.com \
    --cc=sohil.mehta@intel.com \
    --cc=suresh.b.siddha@intel.com \
    --cc=tglx@kernel.org \
    --cc=tim.bird@sony.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®