From patchwork Mon Feb 26 04:07:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 13571291 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C0185C54E49 for ; Mon, 26 Feb 2024 04:12:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8lWKLhbb7B9mnbGxquSFp30YMyEkA+TBmk/Fs+d/W+w=; b=GAR6J3S1o8Xs4y zwRd83IYm3+8pbCpsD4XDa+90UyDP+0v/LpyEAEBRdgLEOFZgL1l1FHzVZZC70jpE0bYZ7nq9M688 P+SXPxR4jueYTjlQyaDrNy4PPq5RGwoQffoesT+tq4lzbTx4LSp8lkP89VinihzzK0rhRjX0CA2Id aR17endxbw1Eybq1dHbzfvBf9sWbOH0ZJvftTQ0aMjY0nA6MTgkIUl5beWAzbk41egF+HXZAp55Sc 1osNxpSrZ6TWSJgIhK+YLUdGSCmMSERfpHpfkkJGwpOUGA1Cj8C3vSPo6irstak0++qR8WGZCfCRV hYcN71dnB/CbACw0YvlA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1reSLO-0000000GOzS-2TIO; Mon, 26 Feb 2024 04:11:58 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1reSJM-0000000GNlV-0GzE for linux-arm-kernel@lists.infradead.org; Mon, 26 Feb 2024 04:09:58 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1dc418fa351so12413295ad.1 for ; Sun, 25 Feb 2024 20:09:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1708920590; x=1709525390; darn=lists.infradead.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=bg50qCy8+Nuf4WSdirvcSbWVkvqmBfSJUq8lnrN9BI8PmqmtQUjQ0Qx0DdB67hZ1qS pKeElc/8gCSwuBo9BVeHnBGbvSlxbSywADIXymvCIMOYWBJjB0SqRtne3X7brxZNcH15 EzDO9uH7ub3yUtOHoir9kRh4fm6PRefj1NemUCBdLaayjWOn+trNjme57MWh/YCqGKj3 kmvc6rPNijnEm7ps7cpVqR+GRfBy4JxyvYOSEs+b5/4xNXgu/NAPgrUIDALL/sV01OIv skQt3mJPny+BrcAsadh0/mBWGb/yea+xnbc7tZiNOhK0RozroqyazbVjPPs+S2AIGN7W SJOw== 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=hWIj2Oltp5lZCLlXKJ6XF1nRC0HXoJxDpbouy+99yyJEgHTD1YM1q6g5aWdREdiTRQ xEQJsCLJpP6ACA9s5pBMC1DS8HJWF1VbgcKLjV/jfGUQvto90qbTq1aTtij8cvYbuMNt d85FVQj0ahxP1N2cIL3HCts6oZ1OoqPbrhjT/aFhKaKomlC+MQGe7py2txRBtnoqZqUR onrX2PFTsYwsg1ZuE4vpB4ps9kikes676ls9k7TIjewhXZaZKWlcw5Ue2tFC77LpPhxf A1fs0yhLL4R0QjP0eoIVyFoNuiZLKsuv4wbrIgN3CHrm8URzxZB/PTfZ3UXAVbbFfPbE TeJA== X-Forwarded-Encrypted: i=1; AJvYcCUxB67UCwPXVuvzK6vRzsqtF8imvlJoEfCGXocY+ow8qy5qROBA7YFK0pIgVLNutqdPJkFveWNK7c16z+Gqe3y35OAK1MH4XQDhnZBZ/EZhnHY6Mak= X-Gm-Message-State: AOJu0YxXMdNX8kHL76MgEBh7TCMZW37wcrqLwT9F0xckwu1M3nXf6yLX kEfC82Sx5XXFsQSYjgCtVppc8Po7fGx6GbjYf5qXLR5rvM8CDvb9IR5flQUa+Mc= X-Google-Smtp-Source: AGHT+IEwlanO4JPKzdgN6wkOm19zbqiNyltkZpN8bf1Fq3GRBwTmQiinNj/aHk9GOAdxbUx2fEyhNA== 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?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 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240225_200952_411581_8F3D9B0E X-CRM114-Status: GOOD ( 11.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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