From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Gg55S386" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D22E710D; Sat, 9 Dec 2023 13:19:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702156794; x=1733692794; h=date:from:to:cc:subject:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6IJ+P3FQWdDDt3IqhiNR/nma3yK9Ko8IttBCqvVavD4=; b=Gg55S386CmQgl2W3w8UdVzKvAuMVTdeYBmeUDcqNULvDww96mw6rLovE YBVPT1OChyQKhdMEaLxa6hSw9sC12A96dnhnPW01gGykDg3XwgiApUZJN uu0cJMRAqv7WRq4YrdXtYVA8xLBFY8WSxpyfk5ENwqlId/pco1xr/MN+L v8xPUx8yn6asnKvf+nLYF2GM0ff/xoHELMI/Kz3Av6b+i1UCUqj3lFGLJ a21TRjFpVB8xgIPnaIt1zrILV5ZNNNS5qg7wtvoJFg+bvb1mLpMfbpkw7 ujzdFfYrsGc6Hu1HZDNq8AS1S43fmQzZxGuPsYqM1JTyQWEDSGPEe8boh Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10919"; a="1399847" X-IronPort-AV: E=Sophos;i="6.04,264,1695711600"; d="scan'208";a="1399847" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2023 13:19:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10919"; a="863269212" X-IronPort-AV: E=Sophos;i="6.04,264,1695711600"; d="scan'208";a="863269212" Received: from jacob-builder.jf.intel.com (HELO jacob-builder) ([10.24.100.114]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2023 13:19:52 -0800 Date: Sat, 9 Dec 2023 13:24:46 -0800 From: Jacob Pan To: Thomas Gleixner Cc: LKML , X86 Kernel , iommu@lists.linux.dev, Lu Baolu , kvm@vger.kernel.org, Dave Hansen , Joerg Roedel , "H. Peter Anvin" , Borislav Petkov , Ingo Molnar , Raj Ashok , "Tian, Kevin" , maz@kernel.org, peterz@infradead.org, seanjc@google.com, Robin Murphy , jacob.jun.pan@linux.intel.com Subject: Re: [PATCH RFC 02/13] x86: Add a Kconfig option for posted MSI Message-ID: <20231209132446.62b07ca6@jacob-builder> In-Reply-To: <87ttovuw4u.ffs@tglx> References: <20231112041643.2868316-1-jacob.jun.pan@linux.intel.com> <20231112041643.2868316-3-jacob.jun.pan@linux.intel.com> <87ttovuw4u.ffs@tglx> Organization: OTC X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Thomas, On Wed, 06 Dec 2023 17:35:29 +0100, Thomas Gleixner wrote: > On Sat, Nov 11 2023 at 20:16, Jacob Pan wrote: > > This option will be used to support delivering MSIs as posted > > interrupts. Interrupt remapping is required. > > The last sentence does not make sense. will remove, superfluous statement. > > Signed-off-by: Jacob Pan > > --- > > arch/x86/Kconfig | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > > index 66bfabae8814..f16882ddb390 100644 > > --- a/arch/x86/Kconfig > > +++ b/arch/x86/Kconfig > > @@ -463,6 +463,16 @@ config X86_X2APIC > > > > If you don't know what to do here, say N. > > > > +config X86_POSTED_MSI > > + bool "Enable MSI and MSI-x delivery by posted interrupts" > > + depends on X86_X2APIC && X86_64 && IRQ_REMAP > > + help > > + This enables MSIs that are under IRQ remapping to be > > delivered as posted > > s/IRQ/interrupt/ OK, will replace this and IRQs below. > This is text and not Xitter. > > > > + interrupts to the host kernel. IRQ throughput can > > potentially be improved > > + by coalescing CPU notifications during high frequency IRQ > > bursts. + > > + If you don't know what to do here, say N. > > + > > config X86_MPPARSE > > bool "Enable MPS table" if ACPI > > default y Thanks, Jacob