Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1287589ybg; Fri, 18 Oct 2019 15:15:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyB00fygyBo2sHa00GGafE2r6sUYk9pNSoFpu/H6sw9cbJ3LzBDee3CNEakfWy2dwj+dJdJ X-Received: by 2002:aa7:c603:: with SMTP id h3mr12334814edq.44.1571436951225; Fri, 18 Oct 2019 15:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571436951; cv=none; d=google.com; s=arc-20160816; b=HSyfLewolqd9BxsPxoNl8tyg0QpHpLaSZOk7XuHg6YYHgX3DfF12p0Uom5k/6rEHXx zeBXsOfMH6jJpshEqaGsGujpD9wxEX4GZgn1FsSCDTVKOibvMUsjqA6vVFCmPK3sEAkA rmGsTbsdU5iuKisOvyY+k2MjPJWmVd8Sqr0bnx+dv1JGrV+OVsMPhAG5vx2WFwNHGaRu LcmdOIIlCUJMuW8O1s3cGTHVmxTUV8KOt+9JVm5q5ByZDOo/7v8OPrLX1TeBEYeiGq/L QhScYd6zlGhtdpo5qg8UyUlzbXnzQ4C71Fj04CxHPVdAF4392qFnWRqBv6mad0G9XqEO cHgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=xJ2q7xIMeb2kMsqBfTRVODpcw2qlqj3+EDxis6dT8tY=; b=f8X+oFvFE5r05H2qyW0BD3uvvPQFG3ZvmvuUgVd8ZQaKBBz/Oxjd532+GUdyQ49nD/ tGNd9/YcPD1+CZnl0U0yhKU9WBQx849TMlIMXnYo3PlCoX1tx50Ubm4g0pqV+1hCKWYc WJWerIZEEm3FKFXhdRtwItSwJwvQsmPuQsWEgMbJDxO/I3NuBRMlN3bSNnmqVYAsZdMp hfRFFf0YY5sc+Z1gTn3vPGyefdxG+g2lMZh255AI8LDFiTaeJ0PxEOc78Ovx/n6ATniO sRny2LZ8iU/G1hDYW02jznc71/Q4kFrW4inTxe4c3mP6RmoO0h8uSfaQIgNEfokBeDhj mOOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o32si4721705edc.306.2019.10.18.15.15.28; Fri, 18 Oct 2019 15:15:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2441500AbfJQTMA (ORCPT + 99 others); Thu, 17 Oct 2019 15:12:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41848 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727646AbfJQTL7 (ORCPT ); Thu, 17 Oct 2019 15:11:59 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9E97B307D985; Thu, 17 Oct 2019 19:11:58 +0000 (UTC) Received: from llong.remote.csb (ovpn-123-81.rdu2.redhat.com [10.10.123.81]) by smtp.corp.redhat.com (Postfix) with ESMTP id 45D23600C8; Thu, 17 Oct 2019 19:11:56 +0000 (UTC) Subject: Re: [PATCH 3/3] pci: Default to PCI_MSI_IRQ_DOMAIN To: Palmer Dabbelt , Christoph Hellwig , michal.simek@xilinx.com, helgaas@kernel.org Cc: tony.luck@intel.com, fenghua.yu@intel.com, heiko.carstens@de.ibm.com, gor@linux.ibm.com, borntraeger@de.ibm.com, bhelgaas@google.com, will@kernel.org, Greg KH , kstewart@linuxfoundation.org, pbonzini@redhat.com, firoz.khan@linaro.org, yamada.masahiro@socionext.com, mingo@kernel.org, peterz@infradead.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-pci@vger.kernel.org References: <20191017181937.7004-1-palmer@sifive.com> <20191017181937.7004-4-palmer@sifive.com> From: Waiman Long Organization: Red Hat Message-ID: <38389bfa-3fb2-c941-9f9d-0fa573112c58@redhat.com> Date: Thu, 17 Oct 2019 15:11:55 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20191017181937.7004-4-palmer@sifive.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Thu, 17 Oct 2019 19:11:59 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/17/19 2:19 PM, Palmer Dabbelt wrote: > As far as I can tell, the only reason there was an architecture > whitelist for PCI_MSI_IRQ_DOMAIN is because it requires msi.h. I've > built this for all the architectures that play nice with make.cross, but > I haven't boot tested it anywhere. > > Signed-off-by: Palmer Dabbelt > --- > drivers/pci/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig > index a304f5ea11b9..77c1428cd945 100644 > --- a/drivers/pci/Kconfig > +++ b/drivers/pci/Kconfig > @@ -52,7 +52,7 @@ config PCI_MSI > If you don't know what to do here, say Y. > > config PCI_MSI_IRQ_DOMAIN > - def_bool ARC || ARM || ARM64 || X86 || RISCV > + def_bool y > depends on PCI_MSI > select GENERIC_MSI_IRQ_DOMAIN > The linking of asm-generic/msi.h is currently enabled for ./arch/powerpc/include/asm/Kbuild:generic-y += msi.h ./arch/arm/include/asm/Kbuild:generic-y += msi.h ./arch/mips/include/asm/Kbuild:generic-y += msi.h ./arch/riscv/include/asm/Kbuild:generic-y += msi.h ./arch/arc/include/asm/Kbuild:generic-y += msi.h ./arch/arm64/include/asm/Kbuild:generic-y += msi.h ./arch/sparc/include/asm/Kbuild:generic-y += msi.h Your patchset adds 2 more and x86 has its own asm/msi.h. That leads to a total of 10 archs, but there are 37 sub-directories under arch. It is possible that the other architectures don't have PCI_MSI set. Still it may be a bit risky to set it to "def_bool y". Cheers, Longman