Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1733870rdb; Mon, 2 Oct 2023 21:46:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFHfWd6nKxhEYvJK6gEyKgjA5FydqTz0r0T0DuUtkGyD6reflxJCd4u3UDyQFs4Gjf/Uu97 X-Received: by 2002:a05:620a:2909:b0:775:aaf7:905a with SMTP id m9-20020a05620a290900b00775aaf7905amr6559698qkp.66.1696308405614; Mon, 02 Oct 2023 21:46:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696308405; cv=none; d=google.com; s=arc-20160816; b=fUaVaNdSLRdVAwpEpe8MGZxcK1cFXkao1sHkVnxT4NGW3w0Qyep3nnXgZV6qzyKxrM sKEfMRqa8eugBHgb82X86x3vhZ4I6jdsKN71yurWnVb2XCeJjq+AoW+yDNmDxbBt+UZ0 YvVuaK9xtJ6zcxeneppxOkXfnF9MKVws0vUWMllUGgVLgcYAqcORk6Ftvodal95Jcj0N YiEEzrSTWlxzXuLc02XXmWXV0e/trZoS+2ewXzYfiLDymKA5qa4FMzkNfy1m+egdkcVk tDvYN6PYaVeR6yVDrQw1LUH2RI/k0C6KMNMHGun92d2VrXS/Y0yT62frlzHAJ99lEzP6 UAPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=36mJhajWQppw1r4vewDK4hFKpILxPms9Bh84cWTmNnE=; fh=bYfFSU2XTEItRctk+6nchXKOSKHpgc6pltayodDbw3U=; b=j6uFSU39ME8AqwnA+N0mdhR3Qgv0321sxsmsyG38ZBw/UUJi/VVmmPswsK733KP71g bzQ4GR+95XD9H0w9Ka0y3f3PXHLLW6hUkMZJhskZLYW5OATbYWCccsxQpLzSUJJK+Jqx ogcxldF+B4APgdFjGEQ9ui4kkJ6/TiyRHwAP7XpU4siq4ME8wYh7fl3/f6RTJr7BijLM NHudsE0nVvmR3FL6v9iD6nDmASa9TnROStvC3c3ZG4yYt3BmaAjfnjMC17aDEhJseudR QttbXR8h6k7u1qctd/DWO/yuS3MUazrK2aZBVp/v5QFepOcc3tXqPaiHM/Pojf39Z5sQ gQVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=NpXDBuxG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id h11-20020a65480b000000b0058938dc0fcasi231965pgs.257.2023.10.02.21.46.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 21:46:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=NpXDBuxG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3C4E38096587; Mon, 2 Oct 2023 21:46:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239127AbjJCEqP (ORCPT + 99 others); Tue, 3 Oct 2023 00:46:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239197AbjJCEp5 (ORCPT ); Tue, 3 Oct 2023 00:45:57 -0400 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E590DCDD for ; Mon, 2 Oct 2023 21:45:44 -0700 (PDT) Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-690bc3f82a7so401434b3a.0 for ; Mon, 02 Oct 2023 21:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1696308344; x=1696913144; 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=36mJhajWQppw1r4vewDK4hFKpILxPms9Bh84cWTmNnE=; b=NpXDBuxGGhPQ5kCIPJWcLPkytUmI6tmbzMl/G+Y3fx4kfMmbKk8fr1Kg5cAV1vs4Tu VQfxEB79xsivM4DQ4hJcDFtQA0G9WgctuqLeHnn4QyLYaD8VoKkJVj6d4LhXM8fL036r E6+PzPejJ/0h+6Mu+IqNXfqrKjnuS6ZvejVt+zeb/NvC8qOS0ogCyZa+p4tEIK62vN57 8R09CyERAXrjrH7KhUhsWg4grPZMBgm1gRV19SOQhGWFDXLhjNdEX21dAHyu/qvVQ4bq sQB4iFmnJ0UDGIxJJLq9A68ohdCCVqGAU1fcmxje1Bv0ERRnlqsAWbQoc6DfoxPZKupa L6lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696308344; x=1696913144; 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=36mJhajWQppw1r4vewDK4hFKpILxPms9Bh84cWTmNnE=; b=LsmNWCwS1RNYFrxa6Q4TLo8xgjNLPdvk48xx+1alwYlM7jzEQfcjC1vQPJKZG4qidR MHMw0gGo+KlWPckRSFNg4jEEp1CLJZN6OtyEKjChzNSBIO8YOeAnBCO4nReVX4AlKC5E A5dPIJahmAmJ80M8jj0zIJCJgAaT6SrrpKUAN+09g0FjD+4pWzhKaEXcApr6Amipa3lB MDEA3wewIzAvEQrDjYR5sRK+JLTARuP4Itt+k+939oykcls8x/5oGoSXN1O8nZX5cDEr xcDhOp7EMxm++S5WWrBG/ETx55DFcxbLZzHu/RiQYrPpaSKGF8JmxKCaO1YHd8WUpRRB v6AA== X-Gm-Message-State: AOJu0YyQs5LYZz/rhZyxkxSrhNxFGWWmcXJ7CGfqMrxFgc7X37XrzBub cDlNKorOByXweP1lVbRZPgN5fQ== X-Received: by 2002:a05:6a20:3ca1:b0:160:643f:ad54 with SMTP id b33-20020a056a203ca100b00160643fad54mr13378897pzj.20.1696308344308; Mon, 02 Oct 2023 21:45:44 -0700 (PDT) Received: from anup-ubuntu-vm.localdomain ([171.76.84.132]) by smtp.gmail.com with ESMTPSA id h9-20020aa786c9000000b0068e49cb1692sm346421pfo.1.2023.10.02.21.45.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 21:45:43 -0700 (PDT) From: Anup Patel To: Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Conor Dooley Cc: Atish Patra , Andrew Jones , Sunil V L , Saravana Kannan , Anup Patel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Anup Patel , Conor Dooley Subject: [PATCH v10 14/15] RISC-V: Select APLIC and IMSIC drivers Date: Tue, 3 Oct 2023 10:14:02 +0530 Message-Id: <20231003044403.1974628-15-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231003044403.1974628-1-apatel@ventanamicro.com> References: <20231003044403.1974628-1-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 02 Oct 2023 21:46:43 -0700 (PDT) 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 d607ab0f7c6d..45c660f1219d 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -153,6 +153,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 -- 2.34.1