Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3445179rdh; Thu, 28 Sep 2023 11:49:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0z2jLQtypTMtI+LxgFJE69KT66tkPBMqSjFYn6biGUbsZKpYlcdVkOey7OHsyDDmIB0ab X-Received: by 2002:a05:6358:52c2:b0:141:162:b0d8 with SMTP id z2-20020a05635852c200b001410162b0d8mr2082137rwz.30.1695926953129; Thu, 28 Sep 2023 11:49:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695926953; cv=none; d=google.com; s=arc-20160816; b=CR+E7vUPFV7ABYQOW5RjsT0ca/pro3jvcg6vY0c0x/cKneKucLxXPyf7dMiM3V3tbq f+ZSu3/JAJcS7botW9qTXTWPSH8BdRZuDjFhgh3rooVCNMGJpgEYZiK5A5+bwK6cu3kR bLGt6pevQ+EyqU5eOqP5YdIcG/bkmO/fDn1DFHxRVwnS86/6R263BpbSwjk7ZXwEXmsf vOIMkG4DGyZQnQOebn6D4n3lypr7je5ehFn4yvNcFB1k1XWDKAeLphxvzOtr81SgXQTW rrJ6sWLQQFJeliDTANIcNnMWoK/i1DYEeerqeySLURiHYVIawsokOs6R46uDvSvo80Mo fZ/w== 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=36mJhajWQppw1r4vewDK4hFKpILxPms9Bh84cWTmNnE=; fh=bYfFSU2XTEItRctk+6nchXKOSKHpgc6pltayodDbw3U=; b=l47Xs7aSy6sYPUdHZmOdFYld+/P4TsjXXgoQrBxRfmMHSKTLAWGjsG5nzuOlNwkxV2 rgu7SX9cDfoTGrv7iaMhnRfp/EV588SQ9zEamT6DZ8WF+fR1P6srsJdvktVrNBo8yShK mvb/e5xoD7HCZwEgnJzE0yeUzNHUgA/U6utVW5RIxGskYleOjwij/aJI10Dx2H+nTuxs gLyi8bPYUDfuRUCwLRbQs6XJ7hWZViXayRT8/k5ONweCXoWDVr/DENCpfHuiV+eCb0sc 6hKvsoha5A4ovuhiXLcccnUFG1DFaHa5hkfCWX5O0gPQ7vHKQGL1DViiknawhIaYW3j+ kpsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="ikRSD+/O"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id cf4-20020a056a02084400b00578fdfa353asi18874840pgb.402.2023.09.28.11.49.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 11:49:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="ikRSD+/O"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 83CD3807C87F; Wed, 27 Sep 2023 23:15:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230400AbjI1GOc (ORCPT + 99 others); Thu, 28 Sep 2023 02:14:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230386AbjI1GOM (ORCPT ); Thu, 28 Sep 2023 02:14:12 -0400 Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4450810CB for ; Wed, 27 Sep 2023 23:14:09 -0700 (PDT) Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-3515694c6d0so15006655ab.3 for ; Wed, 27 Sep 2023 23:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1695881648; x=1696486448; darn=vger.kernel.org; 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=36mJhajWQppw1r4vewDK4hFKpILxPms9Bh84cWTmNnE=; b=ikRSD+/OWPk7RQvpvUrceP7VG6v7OaqlVtxKRa6zIXoomEzdVGkvOYJSzleGEfDwjf rTEK/fVQVAbJOMj5MjwcK5nUowVfo11fWhpe2fsgRbpZbFuoZ/pB3y2QIW6e8IywsjAP Qz7vaESBndPa0ODpdblBcJ+/L4ddblAa8vyAViN+QUIsb8bHGIkD0KLO8HxD2Y5Ybly/ AivIkgfzkI1Ro+JhCBZPtO5v1Eyf6l5pbyF1NaLIQJuR3bpU0cUVL6Mgqa09JdhICkpu u07a5nFF8a9mijV0zkSO2PWBxzS0qGUV2CdiH0MZPQooL35xLNZ2tXFSMWmpsLBjoCy/ kchA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695881648; x=1696486448; 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=36mJhajWQppw1r4vewDK4hFKpILxPms9Bh84cWTmNnE=; b=U3ZAJA9rROfBp3W9X1laFJDE57Pr5gYOPM+ep9jj5RvenXnRwA7fR457QHGhqyLocf IIRaAV0JKwPLcvVaWzJjs5d2/J8lzuMkiGsOwAu2rmgUnt01wx/qW9xJAtTivNRfjnSN AU7hA6OtQp27bZJPOzGH5qI/fd+3lNAQfotfRGL2G8VvzuRdqeoFXuExWL1YYEHVQmid Vcnl8hK/a6mlIwvboZBtyezMTwiaJ2xVgr4pMnaT70yFbGXL8tNC80HCgBKWte0JM9S+ zNUXAUODGmJr7Shc3AmkcejE36j/yhLPmAJUZS+0Wex0qLJNBwBHGI/Eufy+8FBftHd4 mBTg== X-Gm-Message-State: AOJu0Yx/F6ljA/dKs0pZKHPkASks5X8gXpGvfjMADAc/ZHercNR3a+qy QOK/C/I2b8AQ+by3rvp7TkVv9w== X-Received: by 2002:a05:6e02:1705:b0:351:5322:b820 with SMTP id u5-20020a056e02170500b003515322b820mr321488ill.11.1695881648326; Wed, 27 Sep 2023 23:14:08 -0700 (PDT) Received: from anup-ubuntu-vm.localdomain ([103.97.165.210]) by smtp.gmail.com with ESMTPSA id x6-20020a92d306000000b003506f457d70sm4774467ila.63.2023.09.27.23.14.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 23:14:07 -0700 (PDT) From: Anup Patel To: Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Conor Dooley Cc: Atish Patra , Andrew Jones , Sunil V L , Saravana Kannan , Anup Patel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Anup Patel , Conor Dooley Subject: [PATCH v9 14/15] RISC-V: Select APLIC and IMSIC drivers Date: Thu, 28 Sep 2023 11:42:06 +0530 Message-Id: <20230928061207.1841513-15-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230928061207.1841513-1-apatel@ventanamicro.com> References: <20230928061207.1841513-1-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 27 Sep 2023 23:15:33 -0700 (PDT) The QEMU virt machine supports AIA emulation and we also have quite a few RISC-V platforms with AIA support under development so let us select APLIC and IMSIC drivers for all RISC-V platforms. Signed-off-by: Anup Patel Reviewed-by: Conor Dooley --- arch/riscv/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index d607ab0f7c6d..45c660f1219d 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -153,6 +153,8 @@ config RISCV select PCI_DOMAINS_GENERIC if PCI select PCI_MSI if PCI select RISCV_ALTERNATIVE if !XIP_KERNEL + select RISCV_APLIC + select RISCV_IMSIC select RISCV_INTC select RISCV_TIMER if RISCV_SBI select SIFIVE_PLIC -- 2.34.1