Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1100106rbb; Sun, 25 Feb 2024 20:30:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV+DUbhSemcY/NbXYmjCadjWT7GePg30mE7mUe6esvk8rLiuh5gos6aFPAlcOekjh865bBj3LvcphsU3McWOgvqhVmIIQiSP7+JSTiD9g== X-Google-Smtp-Source: AGHT+IHh+QhGuJqjpSL7Yancnxf+iPJgrAdKbS1AhrGgEXr1xTmMxnDP4WQVN1EYHz/UhN0LQuPL X-Received: by 2002:a17:902:e5d0:b0:1db:b8dc:a016 with SMTP id u16-20020a170902e5d000b001dbb8dca016mr7667094plf.7.1708921806862; Sun, 25 Feb 2024 20:30:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708921806; cv=pass; d=google.com; s=arc-20160816; b=vxGQfWUXDjUWUOnctpZo5wlDRrE0184BNhLDovrF890GjhieTVmA1veL9FqzSK2Nw0 7oBr5DauW6e2+p32mmZoB/xsW4uo+17SDdUYkDk92tmliBVnE7tH3Mr33MUnrSKUe8nN MihAnf4G0tKiocMVsUtt6Tb3q24Ias+FhtsUv1YNPMG5mBDc6KLwM8HVHLP9EV2jPnJu tj59T1j7cBL8Xxu+S+yhTlBKE75wYv7YAqy7nfKymf5q0FJj/SNwQRPMwbChHgHNrGRm Ndejsp482hkfkGXmZZxy2Gwou5Hl9b+OSoaiOA8Kp+g8jwxKPo+dwOv1IYxVDY79BJKN o1wA== 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=71v8gbBOdtXGvo9g+2jtAQQQGBX8E4yEXl9JiWYqu5c=; fh=7hGB/J0uS0Mn/SXAqr6ti++cOOyuMW3EhtVeXMLUfBk=; b=P8MXg6eftXOPeejarhzCuJKlP89sVaLrKg12Yd6nYMeQfcUkuGNmFyTLM4wYJWdCdE hptWkgFPmx16wrhW8n+eGGNTcmsbJ9lzhU52+4mUAT6DvxvltFhy/DwCkjljE6pgWwie Avj9Nu7hYtD6yS961C9EPBqx9QncVn96hpCNhNT5V11YixeHChloRQmBD+qHRPMJmbwL 8OWcBnocSCaScbbyXWMKLYBRpa0HyCkPXW1EO0gzHuc8mr4eG+IWoVPaWjnXi84oCY6P HdSObN5ZzXWDmZiOglM1ffMkCZ3xbVTukSFX9o12zMFULVAupTXIBCWzMhltxakfu9Y2 1Stw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=dwc7GpKW; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-80538-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80538-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h9-20020a170902680900b001db594c55b6si3022555plk.51.2024.02.25.20.30.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:30:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80538-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=dwc7GpKW; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-80538-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80538-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C4314B256D2 for ; Mon, 26 Feb 2024 04:11:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E2351CD26; Mon, 26 Feb 2024 04:09:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="dwc7GpKW" Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (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 2DE531CD09 for ; Mon, 26 Feb 2024 04:09:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708920592; cv=none; b=T8N9dkhl6zABq3g+VqTfpbzNuwu56Yic22mQLHbYYbmRB0bcpnWtGzrwRH97rE4sko402gmaqPQ8/8mfrQBLe1rYGkdb3UFm+1X5eqkcRopFZe1tu4u/KyiHiVvbtwlSHfj5ADhsiLLYNJPk7bdN1tXt9acNkP310e8KexGM8+o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708920592; c=relaxed/simple; bh=hb7lwuFLB9UuIJTL//kIhghW1ugqaGYSY/RdRY1h8Zc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CyRyW/HxeWIIIKdYsP8gueUCazKUHFf+zs4HB9HGFcyx7uSw7RtowA5A1vLrZ3wL44mJGdC5VXVp2uYHrfyvaxRr/1ACcrW7rEFX5dTp3TMLn7ci1n+fN/HKX3fm0Gizg7Mv6Wx8xVvK1uV7yj2c7i+meyel0xFUQ/6A487fDbA= 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=dwc7GpKW; arc=none smtp.client-ip=209.85.214.176 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-f176.google.com with SMTP id d9443c01a7336-1dc139ed11fso15912135ad.0 for ; Sun, 25 Feb 2024 20:09:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1708920590; x=1709525390; 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=71v8gbBOdtXGvo9g+2jtAQQQGBX8E4yEXl9JiWYqu5c=; b=dwc7GpKWBVvr3lmulYldeZrdTRsDcwFfVDeQWMYhulBzM7SxNS15jjFrqSAoyAcGqC CnMNcakNaD9FZwIGMEyL5i1lbsnptZw+eXDplL88JpLPVz4uSnRQrQLuVpVaXj+stTZZ AcDMftbvmVCvh2ij4noangbxzdG9gS9kd8dK1XMvNuYpheOjdSi2TKo/mPMsbakzdfsG KjnDzZPl55+NLOqFS4LNdo4KsI9LRqJgjyPKkiIeC57qmnyYMWY8KPTRbHT9sdv8H/v7 /Qk7m2ywIwQCsQMtRRX0eHVl76To0PiKnfHBc7hlndwW/cjPwzP894++kEOtphVqQ5bx iGyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708920590; x=1709525390; 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=71v8gbBOdtXGvo9g+2jtAQQQGBX8E4yEXl9JiWYqu5c=; b=XtdHTRy1HXm627IAzDlBptz7ZENitZwaHszFv/ymKINAgnxm5whCyAJ5W3PrMIx+PZ AOHVsPybL/B2F+3eNNdrlSKjiJUNjdsj3baAhwyFCiugnDijDPDId0JmL5l/GLIN6uUM W1lQZGzzRQ4qHxrcbnAm0oUNbWOM0yIZkQcuRkVKtzmuXpUIcFSQsYXmylj0pWzzIju+ tW16Xzjh0sF8K+/lQ9nAldKeTL5/IfCwOcTVyY2TTTZLDpdthPOs55H/xog++JB23Tmg tqUb6uY1OhcIVYuo2ueXXjNKVNcciK9CHu70kUtyOQgdb1RjcVOTUjnWWU8KFPbe1jB2 9uxg== X-Forwarded-Encrypted: i=1; AJvYcCWn1sV8cYD8wHx6F8fWBnBWfbq/D5RbvJ4gtmniUDcXctO8r2WKiPTejzHPbB1/5o3llOTcL1222v9jtqMe3u4aAI8SXAg0aaHh23cV X-Gm-Message-State: AOJu0YwaUOlxfKwz4gSQZmABl3wqOH5/rOPa0cG21EkGje1Zw5vTyDeb xC5vkys4ufxiv9GIB2B8vFK6WJKmEOPpjilOck09dSbfR1zDtC4nMLYz1nBunw0= X-Received: by 2002:a17:903:120c:b0:1dc:1df6:48d3 with SMTP id l12-20020a170903120c00b001dc1df648d3mr6878693plh.17.1708920590363; Sun, 25 Feb 2024 20:09:50 -0800 (PST) Received: from localhost.localdomain ([171.76.86.62]) by smtp.gmail.com with ESMTPSA id d11-20020a170902654b00b001dc6f7e794dsm3023258pln.16.2024.02.25.20.09.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:09:49 -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 v15 09/10] RISC-V: Select APLIC and IMSIC drivers Date: Mon, 26 Feb 2024 09:37:45 +0530 Message-Id: <20240226040746.1396416-10-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240226040746.1396416-1-apatel@ventanamicro.com> References: <20240226040746.1396416-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 quite a few RISC-V platforms with AIA support are under development so 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