From patchwork Thu Mar 7 14:03:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 13585836 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 CC666C54E49 for ; Thu, 7 Mar 2024 15:06:55 +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=g8xNzouXFTiS56 PIDmlwAOj702NgrcESz4UX4v+m3uwUcu/qGrk5kqfm4MvYR4LfYQD6WtJsb5djy7d3HIdC/cBIVgN BG1XzmI2MFtslqfPZidcwHn71LzCSf8DDXZl51DJDvW+Nzv0HCA1Jv//HiSHuRaNjbwbqRw2+L1K8 xaqZ1PyWHKsQOFgh+74ye64pxGxezxhMX4vYri4ouHX9cQKhrwjpTbZfRV5qFalByNR04VRFANlgA KZpSd6zsFvTwZ1jCODB0AYZ2mvmua+m6L1h4X5DnllvXxP19R4w9up0c1dk0DrncvJCIl6hBhmX+G kc2GXtSrF11DLlIxknIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1riFKT-00000005Byr-1T2U; Thu, 07 Mar 2024 15:06:41 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1riEMA-00000004w7G-1nMd for linux-arm-kernel@bombadil.infradead.org; Thu, 07 Mar 2024 14:04:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=71v8gbBOdtXGvo9g+2jtAQQQGBX8E4yEXl9JiWYqu5c=; b=CEbbQqI6gdLvmsWJiCNIahBuuD e5kKEHVvcSEm1JGKatjy1KOr102oxRBufd+HPeL+aAh0G6WJEqJJs1T/ntC5brMVzTPC42yWDyjmy Ke8c6RH7RaVuc+N35iJ0f3xTm5of4sbKy89V30jvTfWPD2oJYQs5T3hLtZDhhnQjVEUBez7LqGf95 we3B4IkXiUUs7zA0pZsJXUp7lc0esrCvanAKPhMBk5g5JgeAePDVpTqfwfsDgJ5XN53bp+/lZwWgK wQXclKqO1A1Yw5cAtAXGk2Gjxk37QRKTWKCwtEWHPRq6SgQiMRhOZt8ujy6dCMryaN9Q6LnR4rz2U /rzRnt6A==; Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1riELy-00000006gc9-0bjs for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2024 14:04:12 +0000 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1dbd32cff0bso8579435ad.0 for ; Thu, 07 Mar 2024 06:04:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1709820247; x=1710425047; 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=g8I+Y55hXrzLJFC/X6yfV/JGTBV/CVBMTcptp5xZR/GTEyZXP7ODp0OhCreUoffd9W AP+76JQ+p3KvrsfJickmyOULa11uSV3KBhQrhNslubAomjcMwDduqMYMJA7I4aoWCFP8 NBfIjfUBJpTxX5o8MxZ+qXIffj27JxT8QTIs87NjAOFZqUPD7B/LIpySF0WNyqFGrl/h yXVGvCTSeMKZlP20DKbDWS9lGwzWg4AE+mUfbEqku48nzMaCmbjVYXmCROAHX3rZwTYk V/o+1h6tyxwNCnXq34lTpBstcU/2EtecBJZDBvvaM5AID2zBwUCH4YwVsnPuH6dAg2vD 1/NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709820247; x=1710425047; 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=aLMSyDt3ACsNhPDF3GIiN7tQ3YXVYC8DNlYfyHPGBtfFiImAu2RZihjFcIyR47LwmO BPEm6eRW/nunT42wYVkGnfct0/bouf8dswpsNz0HIsuNRly3aXNYARxYQntJaKFigAnG 4wrEIFlmuvz/WdKtOohiKao6TL7iCnGC4zHkeKN6BJA+Sk2xUhlzOd7srRYnDdKRP1/i TEhIk+SDVgqATP098OS56CDubF7Cb/51k4wmszLekkcU9QVYtydCJzza1x8mg3k0iB0d y1lNOG2WGYjGrdzXFeDWjCIOpKPFhCSl1lTjfF1oXASZOhNti62iQfWD6QosRncFaI1t eikw== X-Forwarded-Encrypted: i=1; AJvYcCXDK+B4hQXkPRLFxFSIs3xNvkZ+l1zkWGcFdYHD7IGz9eU9s05pLWr2fXmLZOifwEgHdDIHzrSWmLdd3/P1GieuUI8xt22If/d2coO2UtOrA6FyRUI= X-Gm-Message-State: AOJu0YyY2JDk8nFIMKjRUNmDSK6VJ3pLCzldbxA0+MUAd7qyG0ORNzhh oRIvmJRsqQEWMcN+lQngsXwreuFnZnSyNAc9b2J9hz1pnNAIlErmfMRQZuS2yOs= X-Google-Smtp-Source: AGHT+IGjk8k6lJiQgWsvoA8in7WgIeDNUhDqU2DUJ8JobYGSXor9EPcP/3FIsc4mVQbbZjN70ICcsw== X-Received: by 2002:a17:902:f7c6:b0:1d7:8f22:62f5 with SMTP id h6-20020a170902f7c600b001d78f2262f5mr7040701plw.61.1709820246971; Thu, 07 Mar 2024 06:04:06 -0800 (PST) Received: from anup-ubuntu-vm.localdomain ([171.76.84.79]) by smtp.gmail.com with ESMTPSA id w1-20020a1709026f0100b001dd6174c651sm386228plk.149.2024.03.07.06.04.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 06:04:06 -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 v16 8/9] RISC-V: Select APLIC and IMSIC drivers Date: Thu, 7 Mar 2024 19:33:06 +0530 Message-Id: <20240307140307.646078-9-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240307140307.646078-1-apatel@ventanamicro.com> References: <20240307140307.646078-1-apatel@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240307_140410_491927_A37DB38A X-CRM114-Status: GOOD ( 10.73 ) 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