Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3144315rdb; Sat, 9 Dec 2023 13:20:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+GjQpgGlgRW04I5Q+HLV0p5oyyqf08iOUq68GL7yq42tObgof+0JF+3VWHMZug62ejcfr X-Received: by 2002:a92:c749:0:b0:35d:63b2:48c4 with SMTP id y9-20020a92c749000000b0035d63b248c4mr2423385ilp.65.1702156808493; Sat, 09 Dec 2023 13:20:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702156808; cv=none; d=google.com; s=arc-20160816; b=xuxr05p6iP4Bwmr8pgbOpxI9Z1thnInMyS7UW6G5PdCtRpkvITkmZhDjB7DmwDRFe6 HLvj8iwkmT8KOHk9L0fJKgeh/Z6HpupW4Keyw/WOFTkKfz6+As9yswPiT08f0T7DFcaK hlfE6YjsxgjC5A+4LgJQTTpQ9469tZaO/UeD47NY5PhQrGhDjn2iHJ99UV2M0meCQwiU 9nEMitJ3Y7gZw0FSoUOfZbd1lqanv9tGzeeVxYixS5JzJwVYY/xOkaUj57dcgCwNc/E/ KaTOzqMMLhmhY0O89GuX/UUcV0y7KDvBavE07yqGY2KfT9Xc7bxUoVT5bQUlaeCKvVQY 5Bsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=ZIaIMKl24zg4SyBAlv7Hh4vsgWRSmxmadCOFlYo0jFY=; fh=ZvpbeHpP0Y0v3u+CaZzOwTVebjaGJIGbrjWY8xhkDeQ=; b=CFe4eigdG+p73/W+nF6rAfWPYoMM6yg1P86XjAdMEpG43xgQQOtzIkm62MQ4DPPvfi Igwgu1wvQOU+0jj+aHZSmcGcGkSmerRMsKyE/R44jT7JmQgqxCEzOJOzGXQVXAQjAraG SnqGe4Yfq2RiEIpfnP9RtNWLAU6NVQf+ymdxwmo8QVbXXOuVJaW+AzzOyC8sSL32b4nK h9j+tDBWCvNOV9ClMsuegEOL+l9e+x9YdCIh73oG/flEhaEkxxlmAQFu2e/vytAFLlhK jzkwyLk0so6j3mNsVO3VXmI6MD/p9fwGhzIweaNkPYOL23sRB1HAK3E7GTTUx0P8HoUM o3Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Gg55S386; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id f15-20020a170902ce8f00b001d09c544508si3558091plg.420.2023.12.09.13.20.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 13:20:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Gg55S386; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 0B029806500D; Sat, 9 Dec 2023 13:20:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231139AbjLIVTs (ORCPT + 99 others); Sat, 9 Dec 2023 16:19:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbjLIVTr (ORCPT ); Sat, 9 Dec 2023 16:19:47 -0500 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) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sat, 09 Dec 2023 13:20:06 -0800 (PST) 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