From patchwork Tue Feb 20 06:07:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 13563429 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 AFE6CC48BC3 for ; Tue, 20 Feb 2024 06:10:25 +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=WYUfdRzD/AcIFnXnk3IHtyRquhv1UoroQr6J4iCf2rs=; b=ypQD5CxCLYzuN5 MsueEYNyEoDO9jrVrvnXxN1AVnBZaFD3sk10RitSXOSKYcAGkq1Q3P6GRrhYA80RLmxdYUjU8AG/i /JOHRI1p4J+bvpQFjsADINh3TeSsqY3GyWJ4oYTDVi0XY9C66dBgJt8mHEibCS4RMe8MO7GIjXVfV fVBTGIQrznRyJAbOo7NRS0ZhjgxC7aX/W5Fikkx6GYFMpUGKxRj0YTSsK9jgnuydy00YofN23dDBD nHe46gsNgB/5eA9MCPWI107kdlYRhqytNJhK3c/B9ul3P1NBv6XCrIoUb3DqbRsd9Q36b2XQm78C5 ITPQGkWx6V8oCfmtPnOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcJKX-0000000DJEW-3oBd; Tue, 20 Feb 2024 06:10:13 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcJJJ-0000000DIMN-3Sd3 for linux-arm-kernel@lists.infradead.org; Tue, 20 Feb 2024 06:09:02 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1d746ce7d13so33369855ad.0 for ; Mon, 19 Feb 2024 22:08:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1708409337; x=1709014137; 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=yKr4R3ReoTivFHMhBAg5uu2FBun4VRRnzFiPnpPYZRY=; b=FNs/1UOvOH9MoxlBP6s5fb/bE7A81DiNXEjPPh5TsGGcnKjevGWIvcCjtFvOt6uos/ yhyK07OCgV+K5ylOX6MIzrOGMX/teANowLp3YdIPKRraFhk4ITtwOiyLuWcXgvppVV5c qMwoBtP0nwLRvCKUQMoHSShwOR9xeLpfJq4+5wTjzbXmbC+hOd5oVMOoC7QJWUNeMT3l da6v2xUQBuNj4DnJfJN+rA+kBPUuFLGxTrNphB9eQQJDexQx0XnZc9A8qoBTkZDyQfAx Noxhh5gdX0+PNZLRr8RbQXcOUGlN+LUXMsEGkBe/GpRDprCI+Vq1LZoeY732P5jebzPU XHdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708409337; x=1709014137; 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=EbrtXqYXTVb1Vol2+5Q98h8+bKI2Q1j6Cz8CEWtM+8zH8aWvtFCk8NUE6iaHNh+nIU DtPFUCNeQeztHFZ2Rv9TVqQhQ073OcCkuqg3w0BkS6+YUbRlhNKCZnV8+eEdqbTtXPqP DPhnJGzzLEe3x1zY+kqzMVHAjsZK6V1LneVGa0qHY/RsgY87HYR1lVLK0fSmTtUo9F8v DMCVY1o10giv5A2TYBM9RbbgN25SZLKj/rpBKNZQoDEMG3QSA67RmGJdhsyPoTCiS/vH EitN3DtoqRzGsyTc9ZWhQFi5zYRi+h96e/C6sjTmb5r/tZKZCd9a2vu0T9xxZjFnzf7v /B6w== X-Forwarded-Encrypted: i=1; AJvYcCW1dP1AS98t/OFT+LF6P9pMGjku2599fB5yYQQD2Ek7ZDVdCM2wPabxe0IO5hKo7W5nnRdzw/UDwUguwSdP64xlNqArfwlqPUw0PFopH7z6i8FtvBU= X-Gm-Message-State: AOJu0YzPDzTy7iuiy3By8iMsaBlra267P31YXKCbGpd71uJrx6kaSQ/M dji6tGmAz4K1jzy4mClkeYtwjzM9BPsMURmw0TazRPMzBnArJvDhKh/tgBG9Ppw= X-Google-Smtp-Source: AGHT+IFb9Bfg8TcznAeX4miXen9vY/PhmLFqArIgBS7TcN4jBtbB9IX0woMxS1qzebtfhfM8laVDAw== X-Received: by 2002:a17:902:ec89:b0:1db:aa46:4923 with SMTP id x9-20020a170902ec8900b001dbaa464923mr13179616plg.40.1708409337095; Mon, 19 Feb 2024 22:08:57 -0800 (PST) Received: from anup-ubuntu-vm.localdomain ([171.76.80.86]) by smtp.gmail.com with ESMTPSA id j6-20020a17090276c600b001db4c89aea5sm5368114plt.158.2024.02.19.22.08.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 22:08:56 -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 v13 12/13] RISC-V: Select APLIC and IMSIC drivers Date: Tue, 20 Feb 2024 11:37:17 +0530 Message-Id: <20240220060718.823229-13-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240220060718.823229-1-apatel@ventanamicro.com> References: <20240220060718.823229-1-apatel@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240219_220858_006650_59E70AA6 X-CRM114-Status: GOOD ( 10.95 ) 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 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