Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1668459rwb; Thu, 10 Nov 2022 21:15:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ESyMC/xzq7F5qgVjmNfjuERb2M/36jvMkC7T+CEsnNve2glZWSacxNG8zm9oKtsNq/InL X-Received: by 2002:aa7:d7c7:0:b0:462:3340:757b with SMTP id e7-20020aa7d7c7000000b004623340757bmr32153eds.308.1668143726088; Thu, 10 Nov 2022 21:15:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668143726; cv=none; d=google.com; s=arc-20160816; b=0aCtv93nN48lmv6YXm67MnsgTI1Dm9D5Mv/EqksNtx1Ur5oR+oSJ7WyofyxoIL6t6c KCpzb1OrDLNgObhN+ZJZp3IVTZjOHrfNZfs3SmBaNfziiuHe3o7neOzo06eAxOVySUMs gzVTJSfNwsu86SwzZcbasLHPDzhSqYvgMQytjvehdIOXz4H++fx8RckwNRuSNKP1+XTA DFojSwCGoS5aAG/QlelbCWp+fzS3sQE1FuUMl1sa2XORAY5d7LjRIFhYHOh4rD5czJXl +le5gSZX0PzSlwRd9SIPkzJg9y3StEffQ1tXnxaTUfQyT6EXz6D6iSnCuGPBfjWVI4bs RZyA== 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=QDVYSk98Pqd4HV62BK0V8wp4iYN5PuAbyZ/qltqpGfw=; b=Xl94nSOvy13kBnA0VIbbl6HQ7nlLbd19Cn/M/q2yFyIDoQpAA0RRIufkonL5/+SMOp 9WTwPSkq3jQpTM9ju3+42Qg1ueEhhYBvXsNKFCKs6QJOvE1Cdm3id8J/Bc86/RFlUuxl hMEUY/fXq3pSBVpSEC1mYVKSkmexVYH+HB4qtZNbOtO4DzHGWyg6c12wBqpJ9U5wi/Kt zi8TPKPwP3R4aS8p1b5MZyC/pGAiu/QZ5rfJPSdhEJ6rAdOWUFGkbEiwAqwc7RbERzz2 Z1NlRgVffqJZl2MTTq/q3rK3+yb6/xGCAoTGOSlnw32iG2a48L0mBQaFPLqjVitXkFy4 5y6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=pGEC0adh; 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 jg8-20020a170907970800b0077b45792af2si1313901ejc.464.2022.11.10.21.15.04; Thu, 10 Nov 2022 21:15:26 -0800 (PST) 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=pGEC0adh; 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 S233053AbiKKEox (ORCPT + 92 others); Thu, 10 Nov 2022 23:44:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233007AbiKKEnx (ORCPT ); Thu, 10 Nov 2022 23:43:53 -0500 Received: from mail-oa1-x36.google.com (mail-oa1-x36.google.com [IPv6:2001:4860:4864:20::36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F13AF5B7 for ; Thu, 10 Nov 2022 20:43:28 -0800 (PST) Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-13ba86b5ac0so4408544fac.1 for ; Thu, 10 Nov 2022 20:43:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; 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=QDVYSk98Pqd4HV62BK0V8wp4iYN5PuAbyZ/qltqpGfw=; b=pGEC0adh/z21JLXfroQVWPiQB8qRzyeAxJTc67/f0F5iN0Gh1pmhQVFtbzFwJxzq7x lw8v5HEnkpA7f+MR2HfUCUo0goJIZbF9HPhj81RhS6pDv3UXQAmn8ihltl/h+LZTehtO f4zpyWcf044SFzNCrxEANZyXaShWJhsj+AKkyr2lWAJbatFc+uFES+OQRitG30+FGkDn iwKUN7PkaEG+/vjEYYaE+Q7HS+hM9CH+akvSrXi+ofXrGHz8WqfnFkeCPG/IHSkDIm+v YR5y2mBsJQDRRgkRX0/IeOQS8/rrdgZDjrDBJOp1rSz5gnPhcn1IHlyj3DvJdQsoJ3NT Iuxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=QDVYSk98Pqd4HV62BK0V8wp4iYN5PuAbyZ/qltqpGfw=; b=oKp4kX95zDFMtpLQx47kWss7lWqxi89XUjqw+R/ZycA1/T3TXwlxE09bu5IeaNhvrd jfY5bRxsWIHHzw03HznPk/i2wOOLWzWHNR6O28AFoE/Hl28ek7MP/+W03YxX3poDFAtL S8+qfg0QF671ilv2fMF7kMS8dcgARMEnh3ml5iUQq8Bq6Rdbr78XpGupXhwl9VaOrTtV TUsraEVqUQOv3mL6zgEuUqHL2ppdIQYzjf43wTyURS42bipnR4HtJ7TE7NSgbRbuCA9K eXZdjxUO5414O6BkiObS8nxmLkgM8XZ31bfPcRqNH5caY7bvFUEEx+MlOEOFkM2SAKL5 mI3A== X-Gm-Message-State: ACrzQf1YYn2/+lw+yp69Gbh/k5ieCpvGTNHesRB7FM9cpmqXNEG9OFJf 85ZLMsCU81L8dPhxZmXn5e3Rnw== X-Received: by 2002:a05:6870:1f0d:b0:132:7d3c:745b with SMTP id pd13-20020a0568701f0d00b001327d3c745bmr2895855oab.180.1668141807875; Thu, 10 Nov 2022 20:43:27 -0800 (PST) Received: from anup-ubuntu64-vm.. ([103.97.165.210]) by smtp.gmail.com with ESMTPSA id k14-20020a056870350e00b0013d9bd4ad2esm787353oah.12.2022.11.10.20.43.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Nov 2022 20:43:27 -0800 (PST) From: Anup Patel To: Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski Cc: Atish Patra , Alistair Francis , Anup Patel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Anup Patel Subject: [PATCH 8/9] RISC-V: Select APLIC and IMSIC drivers for QEMU virt machine Date: Fri, 11 Nov 2022 10:12:06 +0530 Message-Id: <20221111044207.1478350-9-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221111044207.1478350-1-apatel@ventanamicro.com> References: <20221111044207.1478350-1-apatel@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_NONE, SPF_HELO_NONE,SPF_PASS 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 The QEMU virt machine supports APLIC and IMSIC emulation so let's select APLIC and IMSIC drivers from SOC_VIRT kconfig option. Signed-off-by: Anup Patel --- arch/riscv/Kconfig.socs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index 69774bb362d6..c16b32eeadff 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -35,6 +35,8 @@ config SOC_VIRT select GOLDFISH select RTC_DRV_GOLDFISH if RTC_CLASS select SIFIVE_PLIC + select RISCV_APLIC + select RISCV_IMSIC select PM_GENERIC_DOMAINS if PM select PM_GENERIC_DOMAINS_OF if PM && OF select RISCV_SBI_CPUIDLE if CPU_IDLE && RISCV_SBI -- 2.34.1