From patchwork Sat Jan 27 16:17:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 766981 Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) (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 277456087C for ; Sat, 27 Jan 2024 16:20:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706372437; cv=none; b=ZfAOmCGW/lx/8Pdehtz4bnujpw8h8H2QHsPJt3l1p9xTP5MCK1DTSoXjwiU3gFsF2rfLKflv+dmm3BIf3dPs3W3TtIIWgF1Q5LsBesFLRjERaV4m+qJO8SHSqtVUpQ58avmDfvt/rIIFi+/r8Qn9P3t+DlnCmQnk0PPoQPFiGVk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706372437; c=relaxed/simple; bh=3djnGcxqa8gEQ0UXtprDkgPU0PXes/PEob7SPPzlR8w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HGkpoHvzzK5BOsKb3EyCVW0Pq/Lyk2SHJEyxqJzBljw+Obx0C2YbadlcrMuLGonQzVHLjq0HwohaMoGQJxTD8zwRLFlC39/O/bMUU/YFU5lvgaxmK7KvsB/mU/uwLKDV4RGaApCsFIS87avtfz65LYoyQNeGP6Ct8AHU0DqK1V0= 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=NgI8QuVQ; arc=none smtp.client-ip=209.85.216.52 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="NgI8QuVQ" Received: by mail-pj1-f52.google.com with SMTP id 98e67ed59e1d1-2901ceb0d33so1995575a91.1 for ; Sat, 27 Jan 2024 08:20:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1706372435; x=1706977235; 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=NgI8QuVQ/Wk69wbd9HVFRzM7l7JXTlictxwBe2/PySnQLruRgkdwFRntIKcAqq2hgJ o1bzI/37jeOrYDYdmOaHMY1GJnLQGwSMIfsWJL/Z6Xt06P1FeW1a/Fab2sVg2H9ckGly 6+2j5XAlKuUYhpnsFRU6ykWHxo+ziXIUq6Go5uwaUP1plTjUiww3ymxLnlSkafjrDaRw mV1xVMnA+aII92UYJCyb7qPQDt6jVTLyYVJBVolZr+emBnd//Vzqnr4yDcY+TxDq8UWr ZUMCDx0+0QGoswDvWXhtCz3/sLAtNv69uhNtmAK3jQt4uXa+vOSsVUuHoNncCuiKuSEx nLjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706372435; x=1706977235; 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=fXCWKK6OYFwlq4t35lgZbiriEbfCjuNBRVKkIyWlTWU53rJdKy/ioOMXCc0i1G6oRf alMmf73Z6vpJuvE/VSPgBFKRAXCesscx7757LQyGkumkIpM3oCrxLrEl4mNU8RihU+mB E9Dsrf36dW2YDRygbGxuX77gCuuHbc/QDbFSr2ASE2RMqEEfRwPZPqb2gf8X6sHOKuHW TJx54nFbxf/sqs7QRJFrOaqN/OtVQuCn8PICD0X/+RiYsB1yKHqek6LhPfuOgEkYJZBk pALryHaWxRGNj6rDuaxJlZQ2S2gU+dv+I7zBTpqta5CI4NX+g9djbyss+mSVbrZbx8qT TqSw== X-Gm-Message-State: AOJu0YyjMxZzZzQkIRDxQ6v/KYpPrSSvUuztVnEK++YsSbU/hjRxnCGY 8+yoR21UkFakqVnhdPeHlTOtSB8OTWqgbvTQDMJoOMcunuv0ogUq455jWuAc3KU= X-Google-Smtp-Source: AGHT+IH+09rxnVj+v63YGbzebMdNocoIUARHK8Q/XqwlAzTL0KPUnJV/xhDxS1x77jvAJNgqpyZR9A== X-Received: by 2002:a17:90a:8985:b0:28d:5536:2e8d with SMTP id v5-20020a17090a898500b0028d55362e8dmr1647576pjn.48.1706372435319; Sat, 27 Jan 2024 08:20:35 -0800 (PST) Received: from anup-ubuntu-vm.localdomain ([171.76.86.17]) by smtp.gmail.com with ESMTPSA id d11-20020a17090ac24b00b00290f8c708d0sm5091620pjx.57.2024.01.27.08.20.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 08:20:34 -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?b?QmrDtnJuIFTDtnBlbA==?= , 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 v12 24/25] RISC-V: Select APLIC and IMSIC drivers Date: Sat, 27 Jan 2024 21:47:52 +0530 Message-Id: <20240127161753.114685-25-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240127161753.114685-1-apatel@ventanamicro.com> References: <20240127161753.114685-1-apatel@ventanamicro.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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