Message ID | 20240729142241.733357-8-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 82C2DC3DA61 for <linux-arm-kernel@archiver.kernel.org>; Mon, 29 Jul 2024 14:55:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=w6K3rvuzx+kcxCA/RkAijYB8PiaVxGHgknWl7+W2h8I=; b=iyDSAM3BBR6/qvRMOxY0YSm5aU 0eBkEQ0aCL15w8mX9xiNemQqH+CiwnwH/2HVRC9C+GxE5W0SiMyeaV0p1TDJrNXuy32nK4/sMQlmu NQsUMQ54Y5GqEo7DJmm/Zq4++g0vIRsJ31AGFaa327IYx44Zc/rhAsOs6sNIem/TTwvOms5xVi+Ke oQplTDWGQK8LgiWzm1LIQTXVkScUB455SARSqBEdb9HIJaz4+evE0kFxVloSv4YTgwq1O6wydVDI8 Aq1ZYJFWQNARL6Bs/om5DenHeBzy3zu+Sz88U+br0fNluH/kZ6p/BfhvgTqLnfl9JyQmY/YlqhcsS f0kt3eUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYRm5-0000000Bkvd-3Xsi; Mon, 29 Jul 2024 14:54:57 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYRHj-0000000BYlI-1iIk for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2024 14:23:36 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1fc49c0aaffso18633835ad.3 for <linux-arm-kernel@lists.infradead.org>; Mon, 29 Jul 2024 07:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1722263015; x=1722867815; 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=w6K3rvuzx+kcxCA/RkAijYB8PiaVxGHgknWl7+W2h8I=; b=gh+cJ9RG4KQPgl0WRxf4fQdgXTM8OYvorFWaHM3OodRyCEfwQtxazriMLC40D5772E SYFNi9tqjxYQRhz+DdsRmb6K1k5EpfbUfP3S2i09RMhWvlzzC6mtyllLgXby9seJx3VS ur/kWa+d020JKDLGurfFBWpwUvZIQXhR3verT4BneX/6JebngVRhUuENEUNXedwoxkhE OSD9Xsz0L6xthPZcS7wW0aaMMOGOwt2Usk/AGj8mkoSnSO1StuZsCXoGNWlJpqUtsKKe WkaBLnkXPYXGiDFSFnE7PlWI1aSjbhC2GEx0h2ZJWm/DFSx5Djt6zq5QFxGxM5wChSeN uQNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722263015; x=1722867815; 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=w6K3rvuzx+kcxCA/RkAijYB8PiaVxGHgknWl7+W2h8I=; b=iCuEUNUYajr5ZbEW7POrmgteg1ZW/FpCcG7ZAAoFVn3/lj0+bUlcRUDf/FiZDa7rIW d4fQ5Mh1RBjv2anGHs+cnyDlCb1ZDwFBsb0YxyCm9gu7n0R8MXORTqeZl8yNTLDBabq7 QvpR3pKg7ElMDqgFkGAunyZbQlUvw6WiKTDTT6xMSnxnUvfj8KFFdJCCmiRXsbP8q7BF FvGk0IQwtfNvvZkw8UCHdTsrqfCjH5pEmLnIJJ4tkSmTexesL2VRp4nuIJxhy9CGDL8S RL+TuZDY89QY5Q0hNnW3Is4nb/M9VxTDsfvUGNDGUsxSWkBW6GK7QK63cl0VYcPPXdRR i3qA== X-Forwarded-Encrypted: i=1; AJvYcCWU+nXtHTKn1/iDj3x6hZSi3s2+Fe3Qa7KRzVt9xtNiTl3CygtRcMkJ2sPMDXA2xFaL5wchMtB52shJEjXWoHz3Zi7i9TAuP6TrFM2nXUHOIhk9PSY= X-Gm-Message-State: AOJu0Yw+mIRSCFE2H5ncUA8owWzWgv29XnoIjEC72IIu8UxkJ1sh9Krn lVcsaSRP3VKy06CMWCNbLn4plneJg9VgwjDS8PbwTAFkW5ZVxHZiU0pCMP38haQ= X-Google-Smtp-Source: AGHT+IHuqnyr1wGz5leAhutHIAJO97R4WBnGGYBJopHkXMNgwgilRpOmng0OCq0p9dkCz8Wkxaglow== X-Received: by 2002:a17:903:8d0:b0:1fd:9105:7dd3 with SMTP id d9443c01a7336-1ff049711f5mr56820415ad.64.1722263014706; Mon, 29 Jul 2024 07:23:34 -0700 (PDT) Received: from sunil-pc.tail07344b.ts.net ([106.51.198.16]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fed7fa988dsm83512965ad.263.2024.07.29.07.23.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 07:23:34 -0700 (PDT) From: Sunil V L <sunilvl@ventanamicro.com> To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-pci@vger.kernel.org Cc: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, "Rafael J . Wysocki" <rafael@kernel.org>, Len Brown <lenb@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>, Anup Patel <anup@brainfault.org>, Thomas Gleixner <tglx@linutronix.de>, Samuel Holland <samuel.holland@sifive.com>, Robert Moore <robert.moore@intel.com>, Conor Dooley <conor.dooley@microchip.com>, Andrew Jones <ajones@ventanamicro.com>, Haibo Xu <haibo1.xu@intel.com>, Atish Kumar Patra <atishp@rivosinc.com>, Drew Fustini <dfustini@tenstorrent.com>, Sunil V L <sunilvl@ventanamicro.com> Subject: [PATCH v7 07/17] ACPI: bus: Add RINTC IRQ model for RISC-V Date: Mon, 29 Jul 2024 19:52:29 +0530 Message-ID: <20240729142241.733357-8-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240729142241.733357-1-sunilvl@ventanamicro.com> References: <20240729142241.733357-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240729_072335_486114_A70DFFD7 X-CRM114-Status: GOOD ( 11.50 ) 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> 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 48d277657203..16917dc3ad60 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -1203,6 +1203,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 892025d873f0..3a21f1cf126f 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -107,6 +107,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(+)