Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2643698rwo; Thu, 3 Aug 2023 12:31:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEJcBIQepZqDzKguRXJZF8TkJ5Jm3co0YX8aO6qT+VpZ8/PRWbznOZKBrbRG8bI3NsUQ5G2 X-Received: by 2002:a17:906:3d22:b0:99c:6518:ce77 with SMTP id l2-20020a1709063d2200b0099c6518ce77mr2448651ejf.54.1691091103841; Thu, 03 Aug 2023 12:31:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691091103; cv=none; d=google.com; s=arc-20160816; b=t3VTTZfzhpGWL+VGZBtit7Nr8+KZ8YTdPc6JonXq5TpQSKBDmaRWdmazTicBE8Q5Oa 8jNE3RClPsxKTqmZRFa67UzIcOxYQW41zW+/1SBVmZhZIyy0CRSQ8w89KS49cDjLy0v7 ffBYM9O6Cx/mlSYEh4a/lrMjZ7k38jSJsYVAyIeORXEQdarDohwU/RmF6+C58OrTsSpO wxKGKKxUIh0Ztxxe88bJlUzn/0HXOrd6ujWZPaXaerPe78tw6LgjSuLpsyODlsnMB8El DyKOcMHnt7a+y1j1MH9rnB6BSnDfMYPQg09ogojPqPbn2PGNmzU+7rUb38QN0YfzWoF0 0OHg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jB8h6dbqqCupn7mkThrMa44SDq8B8ddxZkj2FYKCJmg=; fh=dzn7FZXuyjRD/SsADoLVmv8ajN6bypv0shpvYBNDmUc=; b=PYq/tgnrmULc5d9WUeZtfb2fpwcMIgAIB9EybuUiKH+L5XTJd4AHf/XR9dK4eLTTij M90OMkgEGRi6vKGiFbKKgv4E6h/RW2fu9QyyRPwPcCTgVElBQgK7Xrz0lWBGgpMYTtEY /xW+E6LPm0S4yG/2HbOv6uoK4YxIquH7P7UiY4oIAadMZPtmvMdPHjPhSw9Gi1ndy5jA K7RARj733hvNONiAy8fwN2vLAZnmPRhb6X5FSbea9XWrZEJfec4akN/xBzgO67w87zP0 dK+0KcSeifb7aNmMdFP8MUbIbb6Ddq9LxgiTq2mdLpIz2+4dAti2XjCCSYRiySrmuvMQ EtJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=fgyTbFbS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ec10-20020a170906b6ca00b0098d2261cddfsi372180ejb.1049.2023.08.03.12.31.19; Thu, 03 Aug 2023 12:31:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=fgyTbFbS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235335AbjHCSBP (ORCPT + 99 others); Thu, 3 Aug 2023 14:01:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235470AbjHCSAq (ORCPT ); Thu, 3 Aug 2023 14:00:46 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8443D4682 for ; Thu, 3 Aug 2023 11:00:27 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-686ba29ccb1so868666b3a.1 for ; Thu, 03 Aug 2023 11:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1691085627; x=1691690427; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jB8h6dbqqCupn7mkThrMa44SDq8B8ddxZkj2FYKCJmg=; b=fgyTbFbSIA6WSJCx4y2YtZADUaRILhcOrq5BNe2S+JpaMMQ0Ar3+k0o7cWkjb5+Oph qgBwyGFPlW+7v51hDt9HQ+dtrg7U22mFpAu7AGnL5fuAFB8QL03bAsAKMo6sSfAAj9tO jDdTdbrk/xdtviUz8UQl6ciPU76HpqnEIzJeAn4Agqnq3ujBJaj6eWmT8346PeO5SvSe cfJeGA9L8Wkm3G2l4Ck34rZn0TOgsv9hlv86jHG53oUiopUDnXtQHXBZXzHV+0bItKrF EgPUIJwUqxHZV8Ws7XnyrnBbcjoxrzadVdmuq6TIh/vwPYyDsB1PIbLGFdMcXITCD8J5 Hw6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691085627; x=1691690427; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jB8h6dbqqCupn7mkThrMa44SDq8B8ddxZkj2FYKCJmg=; b=HKi3sBA3nM/URjysWSnFO5Zyr4YJTevRStBucj8wowF9YiXEuu7iJjIqgny8lU1H76 Wo/bgVKhV0RnZg/rufQxBlY9rY0Mj2z6KVMpe5aUcxq0YouGF/bQHKuZxnH2viEv3gMi AkyPtnCKp6PoaI6Yhsp4ni8OQ4GvyG14SqbmDaKgqSh7YIyaozW1XyUWK8FD191kvVz8 47KxejSVRQSPupiChr9+TXSGFJbsXxApDQsM6VlznGXIdlsVgAAQZRqBVg9wdwyW5cWu 5rbuI9lCBpfN2BcnX13NOLCTemk2qhy6F7V6u0CGDni/cweFTcDOXtZe1Fxh89J0pFiW 2pnA== X-Gm-Message-State: ABy/qLZzT/eC8gYRU/WlWVd5C/gYecGdN9Gex2WyVw2uTt8qWHyEZciy jn+bF524MttjZUfvtB6Un46dNw== X-Received: by 2002:a05:6a00:2e8d:b0:667:d0ff:6a0f with SMTP id fd13-20020a056a002e8d00b00667d0ff6a0fmr24530632pfb.5.1691085626970; Thu, 03 Aug 2023 11:00:26 -0700 (PDT) Received: from sunil-pc.Dlink ([106.51.190.143]) by smtp.gmail.com with ESMTPSA id s8-20020aa78d48000000b0065a1b05193asm134952pfe.185.2023.08.03.11.00.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 11:00:26 -0700 (PDT) From: Sunil V L To: linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org Cc: Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Catalin Marinas , Will Deacon , "Rafael J . Wysocki" , Len Brown , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Greg Kroah-Hartman , Daniel Lezcano , Thomas Gleixner , Anup Patel , Marc Zyngier , Bjorn Helgaas , Robert Moore , Haibo Xu , Andrew Jones , Conor Dooley , Atish Kumar Patra , Sunil V L Subject: [RFC PATCH v1 07/21] RISC-V: Kconfig: Select ECAM and MCFG Date: Thu, 3 Aug 2023 23:29:02 +0530 Message-Id: <20230803175916.3174453-8-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230803175916.3174453-1-sunilvl@ventanamicro.com> References: <20230803175916.3174453-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable ECAM and MCFG to support PCIe on ACPI based platforms. Signed-off-by: Sunil V L --- arch/riscv/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index e19f32c12a68..79dc35e89d5f 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -13,6 +13,7 @@ config 32BIT config RISCV def_bool y select ACPI_GENERIC_GSI if ACPI + select ACPI_MCFG if (ACPI && PCI) select ACPI_REDUCED_HARDWARE_ONLY if ACPI select ARCH_DMA_DEFAULT_COHERENT select ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION @@ -147,6 +148,7 @@ config RISCV select OF_EARLY_FLATTREE select OF_IRQ select PCI_DOMAINS_GENERIC if PCI + select PCI_ECAM if (ACPI && PCI) select PCI_MSI if PCI select RISCV_ALTERNATIVE if !XIP_KERNEL select RISCV_APLIC -- 2.39.2