From patchwork Thu Jul 25 21:25:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Walmsley X-Patchwork-Id: 11059663 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 52443138D for ; Thu, 25 Jul 2019 21:25:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3FF6728866 for ; Thu, 25 Jul 2019 21:25:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3464328A7A; Thu, 25 Jul 2019 21:25:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DD94828866 for ; Thu, 25 Jul 2019 21:25:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=YGyPRFMpZCShCUW/mnUvCdrcveUzUCqfxNa8RgJPYZY=; b=MmLtVR9wqXlUKH nsbWoZ7SMGiEF3FX+hpKW7RqaZH6EGmd1ad1bvLJF4wjKvo+GsKpbVoriLikHgwjWiN2XaRqhRFRM QaPQMylBdbzerf0szZdJMiHZRlBfzqjOhmIGAV0eqGfVDOg0ROxUMkCikhokeEkuXJuG/Ol/t0aNo 7EIVLeBcbil83wNGDuErJn0XgWIUy7cqFRNTOEZMnfFZ6hJmkv8xsiky4UcMpQ61MjA+WAjhu3PHR rUFtNFx9dBjNn9XSumTmGisopYKnQWeoOG+Pc6cdbesryf+ATk+ySpxRuxX8ezXqQA6ymugZmv3VY LFd0nj/zYuvX3N8NY5rw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hqlF6-00074P-5q; Thu, 25 Jul 2019 21:25:40 +0000 Received: from mail-io1-xd43.google.com ([2607:f8b0:4864:20::d43]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hqlF3-0006v1-Nm for linux-riscv@lists.infradead.org; Thu, 25 Jul 2019 21:25:39 +0000 Received: by mail-io1-xd43.google.com with SMTP id h6so13807757iom.7 for ; Thu, 25 Jul 2019 14:25:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:message-id:user-agent:mime-version; bh=0OE6CkyrftBD3Ku7P1YRVsn9jYbz8x68WmGWVUa6hzY=; b=AWXlfRnEtLM74XglQGEkne+2wpRMQ3s+jTBHVl27BvwSaVklVPQBOEl+vVl2AOmA5q qv9xXCge4s0vMUla2SYNdU3WfUuDpFqt6iVunAkr8kVIuSSqBhDFCulVS6VMtoNBW2nW a3G2ZcfFBZNVDiJHDGaVNLBfRDN7Awy4HmWGgAy3K0bwPm+wqk1zOeXXbb/TXMI5b+i0 DnvM6BNfb/FAc68JxHuQRI2poAaDUJAcgX3JFh0zp6NFcq0rNvNxGTWgwNBKhLE/Hkyp MdU+cjP7xzKxethms3zDzEPZwpyPFzGC5cDQqCSu2QqadqaB+iA26yhrhCOZ+AgVap5e mmmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:user-agent :mime-version; bh=0OE6CkyrftBD3Ku7P1YRVsn9jYbz8x68WmGWVUa6hzY=; b=rbjs0vrstFq1N71mgcYN6J/r/4F+hxRE1lJmkrFspSKKdeQFmPhz8gxHMmv1mp8mnO +gACtRvgPFlxR5ZR7TjMEc7zpQcvOTKkbG86odBbVEKJSe5RMo/R0TI7f8KyQRrBY2dG XGaBHBufoGcx/SnyecYkwFg/7Xt3naneBCpTNaRUSJ2SU641KXxsb5y/hZuLm4myLsP8 qR3ktnaeZj+PUigbxn8JWk1SNdIwwROctdzcHQgwpuiI4bruclJIkfYwtKP7ropB7xOE WItp2vtq1MAKFPHtCkcQUYzeE/rvE25FlfOYJXOAvs1BajgRKeTtSkyNBPzgO6Q3CIKY 2C2Q== X-Gm-Message-State: APjAAAVV9yjxBcJ+UI+9J/KL6yBadeL6EowBuOqZWAmXtjqJGVQacRtq AdlTjMbnp/+BDxZLPoUl4ryhnw== X-Google-Smtp-Source: APXvYqyXby2GabhLGrmfNxGRSjjzbJ/o7K20JIc5pwz0S+rpYgbr6bHq19jJS94ZBSI/g1gq1f+w5w== X-Received: by 2002:a6b:b556:: with SMTP id e83mr81812981iof.94.1564089936348; Thu, 25 Jul 2019 14:25:36 -0700 (PDT) Received: from localhost (67-0-24-96.albq.qwest.net. [67.0.24.96]) by smtp.gmail.com with ESMTPSA id s2sm36154569ioj.8.2019.07.25.14.25.35 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 25 Jul 2019 14:25:35 -0700 (PDT) Date: Thu, 25 Jul 2019 14:25:34 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: bhelgaas@google.com Subject: [PATCH] pci: Kconfig: select PCI_MSI_IRQ_DOMAIN by default on RISC-V Message-ID: User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190725_142537_843589_33E5B420 X-CRM114-Status: GOOD ( 10.55 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This is part of adding support for RISC-V systems with PCIe host controllers that support message-signaled interrupts. Signed-off-by: Wesley Terpstra [paul.walmsley@sifive.com: wrote patch description; split this patch from the arch/riscv patch] Signed-off-by: Paul Walmsley --- drivers/pci/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index 2ab92409210a..beb3408a0272 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 + def_bool ARC || ARM || ARM64 || X86 || RISCV depends on PCI_MSI select GENERIC_MSI_IRQ_DOMAIN