Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp550089rdb; Thu, 21 Dec 2023 18:59:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5snMXs6fTcZINGH6Zi30ntO7OC7mJBYvXio1AQCg08m4uyjSpsVusxxh1Uc/JTrjdWmF3 X-Received: by 2002:a17:90b:4b4e:b0:28b:7a25:40fa with SMTP id mi14-20020a17090b4b4e00b0028b7a2540famr576841pjb.64.1703213977217; Thu, 21 Dec 2023 18:59:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703213977; cv=none; d=google.com; s=arc-20160816; b=gxEA/hPyXZzadep93pGyAwyaIwhlrmBr4cxaSJA5lLHsBsZametl4++s3WPo7dFI5B CCRUba82y82HtpS0uYNqr7jbaoeIQCEgzvcbttFAxjwaExf7K2/hzRYq8x97vIDeVqUd UgDwRU2AUr6xLcPdDzmg16KUgfiYTKLUsZ5+MXm4R+STk3rty649eD17em7HCp/c9fRJ 9wVBqm5Zjmbs+JhV3RF3bS6547guE1qoIPkOtIuqNowdodmDRTEhezkVNp/5f2xDqvX7 PwdVVzE+TPqyc8z7HXka3oSH5EyHdxoXDm5o+fQBhC8VHI6rsBCAeiSGHgEWcngl6okX Ix9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=sIa+B81ewkd9vKiZqbXAKk5MlWnpsb0LfU6uqrCPVK4=; fh=mdHnMd5b0riHGSvpCa+TXSq6xCqOMwoz/YF9zcjCoL4=; b=KxK6Ck0NP6uMYHnH7XJ5RObWzQpibl6n9C6fjd/IQldjihqqArR3QxbeWef/EOE4oy 9rpxegfMQW9tT/jTG95TRZObsOcmsae5ZmBBUF1o8beU3mrBQNsKpzpCOtMB5jIV7j5V n0/gEgFMOOIkz6q9JHeV0S5Qtlm+O101rfBYU+8RKbvzUAI7v1+S+bLFtWl3P3yYcCuw /qwL/b3dX4z/W+sX1AphmjNqz7sauj9s2HLF1/cN0az23ccxDJmT5FpOu2yE1Te9U9C1 M4FkVzfp6LEs3D3XnW5Fyx/3MyAnYa7InYSZ8EzraS1CJvn52by92bYhumxheuKNyBwe P9Yg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-9276-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9276-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b13-20020a170902d30d00b001d0afa2f5e0si2458767plc.530.2023.12.21.18.59.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 18:59:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9276-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-9276-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9276-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DFBC2286CDF for ; Fri, 22 Dec 2023 02:59:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E149215A7; Fri, 22 Dec 2023 02:59:31 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71818ECA for ; Fri, 22 Dec 2023 02:59:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=loongson.cn Received: from loongson.cn (unknown [10.2.5.185]) by gateway (Coremail) with SMTP id _____8BxNPCN+4Rlbr0DAA--.19034S3; Fri, 22 Dec 2023 10:59:25 +0800 (CST) Received: from localhost.localdomain (unknown [10.2.5.185]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Axnr6J+4RlGu0EAA--.17897S2; Fri, 22 Dec 2023 10:59:21 +0800 (CST) From: Song Gao To: chenhuacai@kernel.org, kernel@xen0n.name Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, raven@themaw.net, davem@davemloft.net, svenjoac@gmx.de, anthony.l.nguyen@intel.com, richard.henderson@linaro.org, peter.maydell@linaro.org, philmd@linaro.org, maobibo@loongson.cn Subject: [PATCH 1/1] LoongArch: defconfig: Enable Generic PCIE by default Date: Fri, 22 Dec 2023 10:46:28 +0800 Message-Id: <20231222024628.3138406-1-gaosong@loongson.cn> X-Mailer: git-send-email 2.39.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:AQAAf8Axnr6J+4RlGu0EAA--.17897S2 X-CM-SenderInfo: 5jdr20tqj6z05rqj20fqof0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnUUvcSsGvfC2Kfnx nUUI43ZEXa7xR_UUUUUUUUU== Enable generic PCIe by default in the LoongArch defconfig. QEMU requires this configuration when booting the kernel with FDT. Signed-off-by: Song Gao --- arch/loongarch/configs/loongson3_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig index 33795e4a5bd6..6350be7e8ec8 100644 --- a/arch/loongarch/configs/loongson3_defconfig +++ b/arch/loongarch/configs/loongson3_defconfig @@ -348,6 +348,7 @@ CONFIG_NET_9P=y CONFIG_NET_9P_VIRTIO=y CONFIG_CEPH_LIB=m CONFIG_PCIEPORTBUS=y +CONFIG_PCI_HOST_GENERIC=y CONFIG_HOTPLUG_PCI_PCIE=y CONFIG_PCIEAER=y # CONFIG_PCIEASPM is not set -- 2.39.3