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: 204651 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:aa16:b0:108:e6aa:91d0 with SMTP id by22csp141606dyb; Thu, 22 Feb 2024 01:45:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX1HTjqDS/DX0O4ETtIBM9ZJy3dXYTqzuqdG3yMLuke0FrUomn13ZFyHlspx9128qdZwacZVxaSiOpbF1yG7vPpXUoUtw== X-Google-Smtp-Source: AGHT+IFzbRQe3RrGfGN+UKlmI1Oz4WpfZaML3JRLhPjDHgNCHUKl27Vf01pgj3U12BC0bf5tInRN X-Received: by 2002:a17:907:1182:b0:a3f:29c:c8fa with SMTP id uz2-20020a170907118200b00a3f029cc8famr5139154ejb.66.1708595153733; Thu, 22 Feb 2024 01:45:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708595153; cv=pass; d=google.com; s=arc-20160816; b=SNFiFKVgMowA6V1muOID15DK2RQ9FcZVzImjnPEOtHIowgkXEU+iTc9ArW7lMoNpEV t9V1aKFqH2OPDbXIRFBpDFX7Cy5+EUcNace5+n+SwfrC6yw3ELlNbZGZPoV/X54S1NUt vx/Z0mfSolKLgjG9mvNwHLkSFr2alpNfhW+e9MLFPDQORGHyFD0+MPaVsxI1fw2zGL4t kJu4CGx6jrovzWiF89mdgYh9i29MCYgqK6mO8nalY3WoRKY0zm5vh+ono7oQHYpq3TtO MdoGE1K1vMyN/MfFXJSNDYUUuvtRM2++yyfnwOzy9BYudnRGQZgRLb/CCfIeItXsynG1 X2pw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=71v8gbBOdtXGvo9g+2jtAQQQGBX8E4yEXl9JiWYqu5c=; fh=z8xLgQRStcsY0U1vSEWSIwTemFI4AlTI80tIRdSH26o=; b=DGZ92ue21ZH0atOXcnb2do9p16gTBhAh5LRpNecAi+pirNAncGfCDl/B4KMmzkpyFW FXIqH7LXEEmx0hXHyriVut/dqHXiKK+eZi6LUPEysBBG94lN6ozyrmBHo1YjwFTkh8Ul ir9tfuE6N+j3OgGYorqmiVGC7/4hbmF33T0PKgtyptv5NpCBSxudEFRlggMDX3eb8vIb P0JuI3HtkFgxPHtYQTyEG7kQtObBW2InCeeu5E9VCsgP9c8o3txXWWwZM3dV4XsALddM xhBgf/Aava/6QSNDAa9lU8rS+tWb9z40vjMfjUM8L8QUzQl6sCsLptq0v4pI8xZn2NOc JQyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=kgJ6hDRb; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-76260-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76260-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o12-20020a1709062e8c00b00a3f811a7a61si424378eji.203.2024.02.22.01.45.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 01:45:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76260-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=kgJ6hDRb; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-76260-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76260-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5577E1F2189B for ; Thu, 22 Feb 2024 09:45:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B612482D4; Thu, 22 Feb 2024 09:42:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="kgJ6hDRb" Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D8D9481D7 for ; Thu, 22 Feb 2024 09:42:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708594953; cv=none; b=CICdet61q9dmdIcSqE2Amh+rVk69lgnAqoOF1efCKEc/LmWnXc6+4U4XEpON6Wey6RJsOgBqs9atyQV8h9vNhYEiO+rtsllWmbOvEwROzmqpQksioOpaHJ6xx5Rp1geMR3E9/YADl7FArTz1htxIZNzab46mP6YT8M7Enm6aYJQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708594953; c=relaxed/simple; bh=hb7lwuFLB9UuIJTL//kIhghW1ugqaGYSY/RdRY1h8Zc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=IM0BeZskMn81FcDWVapdk+2squouF+3TTahXJBrIB+g6/TNMpJGbjbE2TfgSyxz0O97inUBo68sn7tz03DfTbvy5/8qSrxMxwdLKYuz3j2m3W3ZX4+qYogOuH668TkAdojwGnawT6doJH1f4AaJkGJmrxE0gl5qFfFvVyz5JHrY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=kgJ6hDRb; arc=none smtp.client-ip=209.85.167.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-3c03d6e5e56so7318292b6e.1 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=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=71v8gbBOdtXGvo9g+2jtAQQQGBX8E4yEXl9JiWYqu5c=; b=kgJ6hDRb6OcGKbzqGzLUi2T+JkeVtvLxvJkZytzdJiyJvL2inJ4vC/vd5qq6ry7UbU hu6EDLUQVp+/FbkFSdrRfZJvVsET4euMVlM58oXr9h1KiTvGerpnF8SwvLJgLv/yW1LO 8t9GivG3FtS8if2pJCEFVuyvY1P6r6ybLSsPAKKwm6Oh6vE0nGVPvv9M9No6CcuDYqB1 OH6qpAkShqH3TUb/v9AIjEKkUQv8VEKix0Q/ZCBa3xeezPBf2xixee4q+iHA/U+5KIRo UHpJG78pDWqXo8NJw1hrkpA1B7+HbvS6c0M4uOSsw7rvyTKh9pZTGZVXMI74JdgA8yyk rQtw== 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=sAlh+GmQyKwxnwK8d1YtKn+zzU0mFKfHb68e/frBP299Wzk9ITu8TaNGGqCXLlQPJx O0MviC5FXqqTXa/A2C++61YJi3zuVEkOBqzjEgu2m3sVFJVAeNGLqA3f5rmPUemSe1Sv FTpHJnFJXpEpV718FS2XlltH/cMHW69EdPJjTUyJG8H3lmb3xfsThWQkFxxzt28nEMF2 EatxdOxYDAEfeKjJH3txRKHwLZ+qolc0bysIAaadHdM1e1Teyk81XNs15oxvVkdCEIB3 zeBdslNJuGLORlTUnIEzHx9BbcF0ye6ND47eK4sbEr3UKuccxdskOklHnt1qbi8IhyWi KrgA== X-Forwarded-Encrypted: i=1; AJvYcCV/67plKJQxVx43h9ovWp7JWrjhgQyHIoju6WNCM6nYt3Kvw28LfA1eoY/8mOLg6UCdw14N+wTGOFezxwlf/SGben+m4oMUo3mQaqi0 X-Gm-Message-State: AOJu0YyTicUjT/Gn2LkdxxLdibNeYVbMuWMN9hvO0HcojVyHU7xAzHnJ jyIl9xlzAEeKEm0Vmk7DqBgGtjbGiRGHQDA9yPH3p6JInZWmWhyezHjLUXwM4tk= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791591871988963735 X-GMAIL-MSGID: 1791591871988963735 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