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 B6B254AEC1 for ; Thu, 11 Apr 2024 16:54:31 +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=1712854473; cv=none; b=T4OJA+stER7tM+Dlrge+yqLYShfOppjDbE1GZ45p5UrW1WmOrmZIhXPK8ibdqO9nZAw+ZFUYunPDnylWuOT8erJJxo/M+eqvr/LBNYhoD85K0PKO/TiEr65sHJgP+Nv7dLQFgkllsXDrAIp2YDvevrv0TfcnYFqpkPcKSUsvpZo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712854473; c=relaxed/simple; bh=o/tmf2oibS7VzJrQxRvlbljTniqkXceSKBc/IFbdGOY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=QmrvFM4iQMtBbYH/3K2APqFyn0jpWrzvpbx6AXdiFD3bD9vccEsx6lDcPLH618BlLrbyKlFWi68YlxK+aN2GDGA7i1N/O3fFnQFJodFe/3Sa7gH1bA+Gexa4NJbladMNGYkeyYr4GQ1SJ+IKe+o1mc4U7dSlCHD3w3lY4QjoSRk= 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=kslvmO+F; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=pM6Es389; 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="kslvmO+F"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="pM6Es389" From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1712854470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2wTUqTQtgvQyM18Dhq/k4fpzYZdQqJPvUTC2E4JdRxA=; b=kslvmO+FslCXd5W2BFBZX8HpBEnlhhIADzj8HE+DbTVQalyvywrsscrz/UROsFQzCD+xhe 8I1w8dA2sMA1stfODUUz2OCyV5clkE+t2Ppd+XcF9CQasqBScwNqC41NTtQy92bKWczRsT HJkSR5rfnNBbfELVnTTxTiL7DJlUNOyxT5npARyAW0swQuf/S1gPm6mN068M5iCF+Qo71H hapoeEn5y04mUxGTb+mn3zoF7yH6aVaEPyMuLxAYbePnpiFCsPy90UtqgscLuXSVOba1Ai 8rzG3H/5Rb6c3FMwX/w2OnjY1kTKWho9R2X2TL6LYWlXz/JukLXnzDzaIO4jng== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712854470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2wTUqTQtgvQyM18Dhq/k4fpzYZdQqJPvUTC2E4JdRxA=; b=pM6Es389nCt1cbDZ319st+cDLEYe7fzoejBOJa3LwYHngJ3SbIKpi4EBig8SxCrS26yQb9 bzzy/xUomegvtyCg== To: Jacob Pan , LKML , X86 Kernel , Peter Zijlstra , iommu@lists.linux.dev, Lu Baolu , kvm@vger.kernel.org, Dave Hansen , Joerg Roedel , "H. Peter Anvin" , Borislav Petkov , Ingo Molnar Cc: Paul Luse , Dan Williams , Jens Axboe , Raj Ashok , "Tian, Kevin" , maz@kernel.org, seanjc@google.com, Robin Murphy , jim.harris@samsung.com, a.manzanares@samsung.com, Bjorn Helgaas , guang.zeng@intel.com, robert.hoo.linux@gmail.com, Jacob Pan Subject: Re: [PATCH v2 08/13] x86/irq: Install posted MSI notification handler In-Reply-To: <20240405223110.1609888-9-jacob.jun.pan@linux.intel.com> References: <20240405223110.1609888-1-jacob.jun.pan@linux.intel.com> <20240405223110.1609888-9-jacob.jun.pan@linux.intel.com> Date: Thu, 11 Apr 2024 18:54:29 +0200 Message-ID: <87bk6f262i.ffs@tglx> Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Fri, Apr 05 2024 at 15:31, Jacob Pan wrote: > > #ifdef CONFIG_SMP > diff --git a/arch/x86/kernel/idt.c b/arch/x86/kernel/idt.c > index fc37c8d83daf..f445bec516a0 100644 > --- a/arch/x86/kernel/idt.c > +++ b/arch/x86/kernel/idt.c > @@ -163,6 +163,9 @@ static const __initconst struct idt_data apic_idts[] = { > # endif > INTG(SPURIOUS_APIC_VECTOR, asm_sysvec_spurious_apic_interrupt), > INTG(ERROR_APIC_VECTOR, asm_sysvec_error_interrupt), > +# ifdef CONFIG_X86_POSTED_MSI > + INTG(POSTED_MSI_NOTIFICATION_VECTOR, asm_sysvec_posted_msi_notification), > +# endif > #endif > }; Obviously lacks FRED support...