From patchwork Thu Feb 22 09:40:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 13567030 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 1CB09C48BEB for ; Thu, 22 Feb 2024 10:46:18 +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=CPGjtMXWTLEAG0 be+4q71ADp+c+xJxc6FXOqp0xZRWPtFaknCKZSEs03K8cU/zMXB7hZem6714/nKU6e5WPFR/gadP9 1jYrb/++FoaT8D9VFyVxj135FUZX3srVJdrPUZI6sV8GjjpqTDjpHZ2Mzuo/PR/renaPJfOrsnDaW UtEPmkoLD5kXJagpPR0vdWBOIo0X9WBRK4iNxq0qdDksCImsZyNLAy7wRcWsL67G3qAykll52/GtH nS6f3Mvryace9KDRgeweRWERCpOA2h92mTx67J0e3l+VeODz/zhX2yB21ggmJg64obMa41L//iouS MSGz+ojTy960ukUrPQxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rd6af-00000004X0r-1i1w; Thu, 22 Feb 2024 10:46:09 +0000 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rd5b6-00000004JM1-2EVS for linux-arm-kernel@lists.infradead.org; Thu, 22 Feb 2024 09:42:41 +0000 Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3bd72353d9fso5567130b6e.3 for ; Thu, 22 Feb 2024 01:42:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1708594951; x=1709199751; 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=jp4ufkisZ99q1/b2ZJa5+C+X5AvvpUpwGfmDhYVxV4X5hdcH2rz56ECbuH9xFSLS1j tvDTcQp4cswAQMURK12Cmd84/7SelEUHusqIgrWf2++4tDSrr/yeqGMUzMVJXKadAwX5 FWgwyc4rS4yVTpovggtrHSToQn8HABRqYukEQ7lSAOpyapb2DcmTskxWTdTpS7dmAnR1 c25gWXlSy2HSV2x/T1fSySlaI0VcqlAdqr/9DStsRtqBpX3fxGl9brXaKCVS1ibKQ0/d +AhiZjz0rRuLPNZLfheqvRYeDDBVPFcZa3TjDPS3e6q7IflWu97+RFpeG97GaNsc1Bp1 GorA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708594951; x=1709199751; 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=ZLmXEcFab5V4pQCaXIomCtforoCLsO5R1knM+6i+qsyB+0n9rX3IDfLZpZiJXOLBUf Jrj/ARHndszitVkCpEBVdyAi5qdpi5osS1vmaw2CVCHAZIoGxqdzv1mEOAlPnavmkxTs F/Y+DOixnzNvor7bdvnZPFgwGaNpXH009/GKqiYyBkbTcar1GjXYYl/OlXcwaznt2b3+ oX25rMF/vSfOPEo3p+vZWSPicrrCNw4HO2VJexW3EduIj7CbB+ZKknRS/gJ7BIrCeG82 BefQja5UR1aBqrj6w6Hh93vl+rr3Bv4GZu8yLqChqWJr/SsbA/UK80Zxl5W4AwESUX8J XGYg== X-Forwarded-Encrypted: i=1; AJvYcCXAVKELqH1xL2SyPhzJ1fLfXjzKbGrrxwv63mCkug5ERfCUp9N9zOXltRlplKu5Q7CxMvxAgWkFwkCVHy2SCSDdR7MNMQDcV7fnCKh11cRvTJcz1WA= X-Gm-Message-State: AOJu0YxgPO9qQUfDYQ4iwmTh7mcV1tgHfd4xt1G0S59IUMIRff0O+IPc U/1eC3H9hzGkBN/wltik+1ot1sWmGCN4f6m7k/2EzdAgdSFmnglXuNvBlFUSgfE= X-Google-Smtp-Source: AGHT+IF0y2dY34ltcK7epyszLwVDXzQXA+TqKHzDIczRSHobiYjOfHtewc2vswxjV5CnvZL2ARs9rQ== X-Received: by 2002:a05:6808:3011:b0:3c0:32ad:7422 with SMTP id ay17-20020a056808301100b003c032ad7422mr28344533oib.5.1708594951517; Thu, 22 Feb 2024 01:42:31 -0800 (PST) Received: from anup-ubuntu-vm.localdomain ([103.97.165.210]) by smtp.gmail.com with ESMTPSA id n15-20020a05680803af00b003c17c2b8d09sm130699oie.31.2024.02.22.01.42.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 01:42:31 -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 v14 17/18] RISC-V: Select APLIC and IMSIC drivers Date: Thu, 22 Feb 2024 15:10:05 +0530 Message-Id: <20240222094006.1030709-18-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240222094006.1030709-1-apatel@ventanamicro.com> References: <20240222094006.1030709-1-apatel@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240222_014233_062485_E700D025 X-CRM114-Status: GOOD ( 11.01 ) 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