From patchwork Tue Mar 18 14:00:54 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 14021060 X-Patchwork-Delegate: bhelgaas@google.com Received: from andre.telenet-ops.be (andre.telenet-ops.be [195.130.132.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5FF714B08E for ; Tue, 18 Mar 2025 14:01:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742306469; cv=none; b=HBFxXju9yU5YQDZCFI6loc+TOg97xDlFZAnJZJEn/bcyycX2XXl84YZN75m/4WVAbxZ0SFn6XwmJJ+w/qsz45qS39QJEUm0hxgCnQUF1O6A4wJd6IgsNljr5/E/Q0iIF6it7Jd00NSkI0thHjdMTUEFM0kablzhCdb6wRXesZy0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742306469; c=relaxed/simple; bh=+rO3h7RmTZrCkQ0UAf9gVNtQeiNBm56cpLZJi7tBF+g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Eom2FlLDDt3BfXjGyitElRvswJhs7YI7pUi+duVPKThzK7e6uLjb730blu+qeD0gR1Rsp/8+p+lxYBWunV0/0EI6RC0psZ+RZHavNouwoGvam1Io/60NGZBdj0jIH9d9DMXqunyionHQaBj7bc44AAEnIp58AuI/zHwsxbldbx0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:2568:e3d1:1e11:17f3]) by andre.telenet-ops.be with cmsmtp id SE0w2E0041Mz0fJ01E0wiC; Tue, 18 Mar 2025 15:00:58 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.97) (envelope-from ) id 1tuXUb-0000000EecT-0QtP; Tue, 18 Mar 2025 15:00:56 +0100 Received: from geert by rox.of.borg with local (Exim 4.97) (envelope-from ) id 1tuXV2-0000000AM1k-0BAE; Tue, 18 Mar 2025 15:00:56 +0100 From: Geert Uytterhoeven To: Thippeswamy Havalige , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Manivannan Sadhasivam , Rob Herring , Bjorn Helgaas , Shashank Babu Chinta Venkata , Johan Hovold , Niklas Cassel Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] PCI: dwc: PCIE_AMD_MDB should depend on ARM64 Date: Tue, 18 Mar 2025 15:00:54 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The AMD MDB Versal2 PCIe controller is only present on AMD Versal2 ARM64-based SoCs. Hence add a dependency on ARM64, to prevent asking the user about this driver when configuring a kernel for a different architecture than ARM64. Fixes: e229f853f5b277a5 ("PCI: amd-mdb: Add AMD MDB Root Port driver") Signed-off-by: Geert Uytterhoeven --- To be replaced by ARCH_VERSAL, if/when it ever appears for real. --- drivers/pci/controller/dwc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig index 39b1a89cb6b7ee80..48f1e3c7825b55e0 100644 --- a/drivers/pci/controller/dwc/Kconfig +++ b/drivers/pci/controller/dwc/Kconfig @@ -39,6 +39,7 @@ config PCIE_AL config PCIE_AMD_MDB bool "AMD MDB Versal2 PCIe controller" + depends on ARM64 || COMPILE_TEST depends on OF || COMPILE_TEST depends on PCI_MSI select PCIE_DW_HOST