Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1547018rdb; Mon, 19 Feb 2024 22:10:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVwhexyEHE5lugeOg+O5AC9BFUXjhytPhMxQPuLdhOu5IZMpaMCe1fIij0z32Y+MPaVu4SlABRV07W1AiHWEiIveck5zoE6HNUFQErAaA== X-Google-Smtp-Source: AGHT+IE8S9R72ZRwtWtgOa0yrnLnk1kt1N1W3GYRhZ4guMCPNIfiAYSMQZLCumcPNr5kWGonnmRk X-Received: by 2002:ad4:5966:0:b0:68f:6560:59ee with SMTP id eq6-20020ad45966000000b0068f656059eemr5895838qvb.21.1708409443454; Mon, 19 Feb 2024 22:10:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708409443; cv=pass; d=google.com; s=arc-20160816; b=qjIIKjZJz73EfMDSmn9uTCBW+1OJWLgUJjSYCGzJjC8ZCI/ux554aGM+1SenMElCz2 dsFeVDuJoZ3lXK2Yf3VFRq5URHBV9DTW00cGt1VrMevzSXKVtGaOP9MQNbI+SSsmS+GL HLuB142rXwzz71yzgTffh77BDh+p60Y0RcTWl9kvfUL3mjxpzsnq6bWAyjtlKYr9QWqm OtKKxsMkbm3/BibA5dbFWGhq7mzAleUhG0Lrjh596b6Zf3FNxccU0Fqz4qR16kHJPEW1 K6n6aD8fSu3hhDK0yHNEeJz3tzrwxGOBMcnddIkzQ0F3L9u3OpKqy0kWdGuKX7JCXNFr LegA== ARC-Message-Signature: i=2; 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=yKr4R3ReoTivFHMhBAg5uu2FBun4VRRnzFiPnpPYZRY=; fh=pp7dWH7sqQamvaQkgXu4/x9vOkvNDdoyYOoxAE0xW9g=; b=RRUDXZy02jfWxAIzJwlEhOBKD2ZuTvTZM3rQTNIgmh/pvb6aLG3WaULMHZIm/FPHqc i6u2S0+QcuV7+AsBYXCpi2TlzgVbN9i4ynpzmAy8X6wYEZHc2XMWSsgSflSUEBZGzhxI PqzzzAob9SRmCOO+2GH4BTu3PcoJtUWiL7cYTtR54DqmGyFyhk1FnofXvXwLtFUF7OTp xw/WiCATx+JP71m1+GJImED2lijk9bnA8zjxnWNx8zsE9mdZAN6Q8BiFe5MWiKCMG4JF uac4/8rzYj6YrbvGZcBummH+Uwvafeepa4AJLZA3ECfRZ75YijFokHOtA4oUSyoNj+0a JdfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=Cf243DzK; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-72387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72387-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id if4-20020a0562141c4400b0068f882108a8si2089873qvb.211.2024.02.19.22.10.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 22:10:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=Cf243DzK; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-72387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72387-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2F7E11C21E85 for ; Tue, 20 Feb 2024 06:10:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DDC215A7B1; Tue, 20 Feb 2024 06:08:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="Cf243DzK" Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (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 BF1E05A790 for ; Tue, 20 Feb 2024 06:08:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708409339; cv=none; b=UfI4WnM5PGSQJgYR5jLaE0f2eIV4Js2uT4DVWS5i5X/OdoMR/TDmv+gf+nbtw+xdq2pi2bfFRSh5BRmYjEyglfxoIzkNMk0GYxV7fKIltJU0Fg/Pstlu5BJdmJeJ5lfzoE9EfpnkgLplGw1q8Xs54yLjH5Y0h2y50MdqNwr5Qus= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708409339; c=relaxed/simple; bh=3djnGcxqa8gEQ0UXtprDkgPU0PXes/PEob7SPPzlR8w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=evbzN0u88A2+yzkxoqRfThyxWZcicPzDf741s8DzklJNheoupJVjWgeakJo/1eBIns/PAYafL0PyDn9dJ3Vhhys6KRJKxCseHHj9shKlb5Rnspr01BCVt5dTZFTQ7SD4zXilxaxYVze0M81znxU3654zwDySg85xaFRkFdc4ySg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=Cf243DzK; arc=none smtp.client-ip=209.85.214.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1dbf1fe91fcso14467165ad.3 for ; Mon, 19 Feb 2024 22:08:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1708409337; x=1709014137; 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=yKr4R3ReoTivFHMhBAg5uu2FBun4VRRnzFiPnpPYZRY=; b=Cf243DzKkFszYGrZg73FXslAk6NhsHT34RamjGQc0yDMk+GReKfuGGUIPhGA1FaBst 8qIhGt3CwAan47wr60ozDRhfR0QixvztTMYxISzm1T8jZCzqUPz8DYPfq1zps7c5uIef cmJNTiH9FkKGIDA3c5uKYBffwVU0pGw9YxI6n7VX1aLZgJYEDwoXrOVSLU9Su/iqUtzY d8yvTnR/2t85R0AFuYXH3iU0zvm5AV5uZ0v1wLsrlyGcppz1jqkuEFSsiydXYVbFZHxt jXN2WWdl+X/PbXj6kQS1SRBkP/HNvDOZwZSrmW8hqTjDHlQXvtMGCyCZxqNXZnF+eYt0 YW7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708409337; x=1709014137; 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=yKr4R3ReoTivFHMhBAg5uu2FBun4VRRnzFiPnpPYZRY=; b=UwrGO6j7nyIURfeIl+ePz3rPWcn6yfVkAEkH/7AlCzeh2IFvkHdz9/YvG5zfH2DpQK P+pWOjGUjnF9uZTv0lr7AJ2vUlX2qgiUMLix8BbHmjeutfvu8Igd69BLw+8eaF+IdO7O lFq489tPmiV9HzM7RYGQJ4YAdo2j0vju5zM5wCQfQI4sjJOqNkWNRbVR++spAG0etaD8 G1jqLOOuN+A4g3U71lt17SUbug3K7Oa/E/uxpfCRPkyHGVK7ne0zj4Nc5YeWj9PSI9fM t7VmL3/nOYeXIwzx1VowQqlPLCV3SIq+DQIh7qgDJDfwCZKPPb4gSbfjlPn32A2IVfq2 Mv/Q== X-Forwarded-Encrypted: i=1; AJvYcCXU/sTC7GHjCFDuPB76Z82MpLQJ0pMk2DflbUC8q3cRdn8ZTguNk3bDiLv4JDgjuneC8wBIwKnWpfz1CgVwlt2R8jTLf9bUO18weZKT X-Gm-Message-State: AOJu0Yz26sN/3qy8lfnJtyqA72Vs9vC5rxMVgNpT69T7asuq22myh/NW 4DlY7A/5sNtsLvkFOTe8gWstNbsD4hE4JtRd05Le8H7w3hC0VEWDj/M4iWWcbUQ= X-Received: by 2002:a17:902:ec89:b0:1db:aa46:4923 with SMTP id x9-20020a170902ec8900b001dbaa464923mr13179616plg.40.1708409337095; Mon, 19 Feb 2024 22:08:57 -0800 (PST) Received: from anup-ubuntu-vm.localdomain ([171.76.80.86]) by smtp.gmail.com with ESMTPSA id j6-20020a17090276c600b001db4c89aea5sm5368114plt.158.2024.02.19.22.08.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 22:08:56 -0800 (PST) From: Anup Patel To: Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Conor Dooley Cc: Marc Zyngier , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Atish Patra , Andrew Jones , Sunil V L , Saravana Kannan , Anup Patel , linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Anup Patel , Conor Dooley Subject: [PATCH v13 12/13] RISC-V: Select APLIC and IMSIC drivers Date: Tue, 20 Feb 2024 11:37:17 +0530 Message-Id: <20240220060718.823229-13-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240220060718.823229-1-apatel@ventanamicro.com> References: <20240220060718.823229-1-apatel@ventanamicro.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 bffbd869a068..569f2b6fd60a 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -162,6 +162,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