From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 193B321D596 for ; Tue, 25 Nov 2025 21:50:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764107448; cv=none; b=Q8RMnpXbgZqGAXuqRa5eALm9l2AScMY6C14SP7EVutfKkW5yIgWd88gYQSHU1iRSfiOR+VI+gGlH4BPrkhKsTGZ8xASX3r5jWRmpiDB97aoPh8bFBEnbyToeRSG6rmbstQOlF6Yp5kmUNHsWE24LvsfptNd4ScBdhMpPQo7KG9o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764107448; c=relaxed/simple; bh=RChsjtloyPQsUV7e8EegjyNXPiijTKQVxlK2ylYFF+A=; h=Message-ID:From:To:Cc:Subject:Date; b=aaOeg+5O/G8YPcEJq4j474ccYOWuip8868QDXfcIEVPlGnOUlEaLRF73BHFnjLr8x3yp0zK7faxfMgmsTPHtQqWe3GXIIL2on8QDovjPlaAiLAt6DisQ0AtcICWoJ2LEgOtVKcm3HeVh2+fmNOWhtp3XAnopwtVp5MSlmIuDeo4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=mg4yqH33; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=FwiYWcPH; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="mg4yqH33"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="FwiYWcPH" Message-ID: <20251125214446.766096680@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1764107444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=RNqLKSGGk37Qv4cQ+Z0ysw+iyamGZrddxXNR8k2GuEo=; b=mg4yqH33nlx1Ku/ycIvJ/avJ4NGU/L3gFlamoLA/fIZFr0GEfvobr/OnQSnEhauLd+d83d Lkd8miQg8oFmCLm31O9XDq6pz1pjJnnXNKAjwH+s+1GTGpSXSXkajYDzXE/JMwI5RAxc6m 5LxjHH1Me9sM4FBooFxLxZ8VW1uidTl19zM52W23879tjfXMJXCnOH34/yErMf9yWLMEiW 1MetuxGWsjuL4wBSYZHh+7e0mkTAjPeotTynq9Fv7jirDQ6bSrh6fd5Jbu2r3feMA5By6D ocVVILrm83BlIlH4TcLjwjpWBTOjzMXnI/aSTZ1A+6brT8DeiVGNbMJs+1Ydiw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1764107444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=RNqLKSGGk37Qv4cQ+Z0ysw+iyamGZrddxXNR8k2GuEo=; b=FwiYWcPHfNb963bl8jAdxpXIeBU3xHPzoVtfuWmHG7NzdOlarEgy7LSZbRYnwwxzuv6dxn ufV1TJpHH/PUCmCQ== From: Thomas Gleixner To: LKML Cc: x86@kernel.org, Luigi Rizzo Subject: [patch V2 0/3] x86/irq: Bugfix and cleanup for posted MSI interrupts Date: Tue, 25 Nov 2025 22:50:43 +0100 (CET) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: A small update to V1 which can be found here: https://lore.kernel.org/lkml/20251125101912.564125647@linutronix.de Luigi reported that the retrigger mechanism for posted MSI interrupts is broken. That happens because retrigger sends an IPI to the actual allocated vector, which is handled correctly, but lacks an EOI. That leaves a stale APIC ISR bit around. The following series addresses this and does some related cleanups in that area on top. Changes vs. V1: Use __this_cpu_*() - Luigi Thanks, tglx --- arch/x86/include/asm/irq_remapping.h | 12 ++++++- arch/x86/kernel/irq.c | 54 +++++++++++++++++++++++------------ drivers/iommu/intel/irq_remapping.c | 12 +++---- 3 files changed, 52 insertions(+), 26 deletions(-)