Message ID | 20231219174526.2235150-14-sunilvl@ventanamicro.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 54428C46CA2 for <linux-arm-kernel@archiver.kernel.org>; Tue, 19 Dec 2023 19:02:29 +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=UANdibbVL0pn4d3IYK5k1H01pnQAwVsngFYc//IKlnY=; b=Uc5i8s4HB0DdCf QWyrDKNU9g0uzp8q/X4Zx+xFf+w6GQjyaaF6tbGhZmwckCWluwbvQVZGZtD7PXvHLQ0Gd59LPxLxZ T4Vtzk1evVBT1r/YLtzUlE+OTgC/6KB134k8wAABpM4AP67ffZ7jZMdgiUUTDXHuIgnb7Nie6L6Dp txDGMFNoX0boKSXdmOUTvGLB7aZR+8BsGop8VqHLmCJTedMRmSYndRaaq7KSe2pQZMfeXuatcR5NC c7q6dCZZ/K+t8BNjYtCY1cNG4M87GDc7H6m+tu0XoN4EsMkyGfOMfXZKsYMwg8CZ9N83bgaPvaoka Kzyc60VSRPHi/P0q5qQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFfLf-00FGt9-1O; Tue, 19 Dec 2023 19:01:47 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFeB7-00F1I9-0g for linux-arm-kernel@lists.infradead.org; Tue, 19 Dec 2023 17:46:51 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1d3e6c86868so4418325ad.1 for <linux-arm-kernel@lists.infradead.org>; Tue, 19 Dec 2023 09:46:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1703008008; x=1703612808; 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=SP5qUoiFDc31MnkvQviOGvw0IT7UG54DgquaP3mAr+M=; b=XgEhIijeIn8bLy8p6Z05sb6YXcunfm2yyhzUnK9w19tDYrO1RsrjGmYML3jorWMYrz JpYmObs0I3hQqz/VgwS11UB7bDhshgRzhKiC4SVXcQ4o6WxnH8lsb5URNxAxk+DakFWh RwwxsTVoODZYr+mFcKoLX6l0BGh1dR9hNVqTVFvYiQKmEtEyzQ9mlckz0CMu/eeoZ7EQ aJClv5xCc+lLqlAw8QSrTLeJjdyjj3mnclJd4fCKrNcLHrQixUXPuXH1JgfiERHJaSj7 Dwu73Crb6wNViuPtXAdCb45dtrD/2Ud7MABaDwfWdutj0W5kr2VLhTKFJFshvPM4pQJf aQ4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703008008; x=1703612808; 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=SP5qUoiFDc31MnkvQviOGvw0IT7UG54DgquaP3mAr+M=; b=fkdk2PZec7+PUd5Aji3sNveeW+lcmEmz16dTee+Ol/JcHyFVzDSOWqXNrAg7h9T13w 1pb77k3xPOnGcqk7bNe77yGrcLz08GOE08uhldAR8IpRdEcHdUj7gLRnvxFNFJiB34wU BR2LbZ5zoqeW4P0RCHdhYT5sgpA1oBJa+3GtqvkLOY4BBVrbLOynY2DbjG1gj51m9r5e mk1upaqjhIunBW3zs5G4R1dyR7I/F2YhoeySp62UScNcO1UqomM4zcgXhctUG5Bv7YeX St6o4bxufv/0BLm7BQBw3sY8DTUikOUMKlcVHIbvvdc6N9iIirD0bpySDE6YbfC/9rQJ eLzQ== X-Gm-Message-State: AOJu0Yxyvi/+bnmMpSU/bVpExDZRqW4RjRkcrMFiHdQzPundTbW8sFRX usyoylTWzBs6mruWBlI1Jrwtwzkp6+0juCjOfrg= X-Google-Smtp-Source: AGHT+IEOQXmfDQVD1vBA63SzA+9hg3WHejFnv5r3sp4cTvGZBg1eOJzxTsxyyXCko2PiShNLOVwBww== X-Received: by 2002:a17:902:a3c7:b0:1d3:9d55:3d67 with SMTP id q7-20020a170902a3c700b001d39d553d67mr5367594plb.101.1703008008246; Tue, 19 Dec 2023 09:46:48 -0800 (PST) Received: from sunil-pc.Dlink ([106.51.188.200]) by smtp.gmail.com with ESMTPSA id n16-20020a170903111000b001d3320f6143sm14453015plh.269.2023.12.19.09.46.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:46:47 -0800 (PST) From: Sunil V L <sunilvl@ventanamicro.com> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org Cc: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, "Rafael J . Wysocki" <rafael@kernel.org>, Len Brown <lenb@kernel.org>, Anup Patel <anup@brainfault.org>, Thomas Gleixner <tglx@linutronix.de>, Bjorn Helgaas <bhelgaas@google.com>, Haibo Xu <haibo1.xu@intel.com>, Conor Dooley <conor.dooley@microchip.com>, Andrew Jones <ajones@ventanamicro.com>, =?utf-8?b?QmrDtnJuIFTDtnBlbA==?= <bjorn@kernel.org>, Marc Zyngier <maz@kernel.org>, Sunil V L <sunilvl@ventanamicro.com> Subject: [RFC PATCH v3 13/17] ACPI: bus: Add RINTC IRQ model for RISC-V Date: Tue, 19 Dec 2023 23:15:22 +0530 Message-Id: <20231219174526.2235150-14-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231219174526.2235150-1-sunilvl@ventanamicro.com> References: <20231219174526.2235150-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231219_094649_317367_027C2516 X-CRM114-Status: GOOD ( 11.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
RISC-V: ACPI: Add external interrupt controller support
|
expand
|
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index a4aa53b7e2bb..9eace6c7042e 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -1158,6 +1158,9 @@ static int __init acpi_bus_init_irq(void) case ACPI_IRQ_MODEL_LPIC: message = "LPIC"; break; + case ACPI_IRQ_MODEL_RINTC: + message = "RINTC"; + break; default: pr_info("Unknown interrupt routing model\n"); return -ENODEV; diff --git a/include/linux/acpi.h b/include/linux/acpi.h index ae045e14126b..b6766bded765 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -95,6 +95,7 @@ enum acpi_irq_model_id { ACPI_IRQ_MODEL_PLATFORM, ACPI_IRQ_MODEL_GIC, ACPI_IRQ_MODEL_LPIC, + ACPI_IRQ_MODEL_RINTC, ACPI_IRQ_MODEL_COUNT };
Add the IRQ model for RISC-V INTC so that acpi_set_irq_model can use this for RISC-V. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> --- drivers/acpi/bus.c | 3 +++ include/linux/acpi.h | 1 + 2 files changed, 4 insertions(+)