Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp79121rdb; Tue, 19 Dec 2023 09:51:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqxohIvXjNxP7sZzawffcif5DUhroCyAbF6iTF5Y3b6G98AoK3TtwVmzgynRFukqUlp3Ye X-Received: by 2002:a05:6a00:4653:b0:6ce:6f99:4ec4 with SMTP id kp19-20020a056a00465300b006ce6f994ec4mr23161546pfb.1.1703008274595; Tue, 19 Dec 2023 09:51:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703008274; cv=none; d=google.com; s=arc-20160816; b=nbqC5wU+G65t9gfAbciryjCYmbeq7dnqxamasUrKkzNcsaZX0/JWGqcqnJN83ePmcg vctcusz2U+KzWv7vWPWJFMjgZYNGLk3VxwlKEFWFrvwsuFNpFI83T3CdnNOg+3VBKgH6 QFykA85Vkns1235XKVjtzJzcyNm3pSQyQsIxEklyfV9MkWQ0W5GbXAY2/I/GjHQyot5Z 6qDLf9nH5o15SQ2W6H0my+TkggrOiEaz41czD0676zJfgjObEQAJRxpgBPj0u0V+eCbY nHMm4Cd2NHIIftcDQxtlV8/mXKTIWwxIfBBQJFwhj/VoddRRQ0peGVKhLG9T2q/hgyDG Pyiw== ARC-Message-Signature: i=1; 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=SP5qUoiFDc31MnkvQviOGvw0IT7UG54DgquaP3mAr+M=; fh=G3MkS2cP7FkeH+7kxy0LRzNpJgfwnUWZciURRBohxGI=; b=FAmsJlw9SwYgQNiOOkMgGFVvvHTloIjCdUboppzsKcckBPIRXCqjaNx3dd4NQJpGWJ 43kM9zaA9T0RzCZwj0b48MK6Wbbby+yxt1Xvwe0BrKO7ctN6SPmhgalaf/sT3HE83OZX xZnIXnN9cjFTSkcnu7EA2z4xGBiw+wUU4pdxkOgC2atXpKQmYOK5sfkTMEALBJsDSKcW kJoh5s9HlUgmV3YQ+AWywzOits5ULsNoH5FJJi1gf6FIqUVf1BtVylkO2M7gSw7D0+dS M/fe9k9Uiuq5SzO+nKM6MqHE9Hate1KjuCZcCGsIYVEB9NcS2M5byI0H9bzBDD6ILbGM 1Gmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=otrcrHRU; spf=pass (google.com: domain of linux-kernel+bounces-5725-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5725-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o184-20020a62cdc1000000b006d93f5c62d7si565431pfg.70.2023.12.19.09.51.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:51:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5725-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=otrcrHRU; spf=pass (google.com: domain of linux-kernel+bounces-5725-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5725-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 401B2285C5B for ; Tue, 19 Dec 2023 17:51:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55F1B405F9; Tue, 19 Dec 2023 17:46:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="otrcrHRU" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 B8787405EF for ; Tue, 19 Dec 2023 17:46:48 +0000 (UTC) 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-pl1-f169.google.com with SMTP id d9443c01a7336-1d3e6c86868so4418285ad.1 for ; Tue, 19 Dec 2023 09:46:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1703008008; x=1703612808; 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=SP5qUoiFDc31MnkvQviOGvw0IT7UG54DgquaP3mAr+M=; b=otrcrHRUm9i1fCUkWomPlZqVh49wsH48P/vxeKmchXV38vQQFb39AnQA9jqkicdaYx AWOD6Yz4p2MHlJTYgL8Wy4n28t25Beb3Z/IMTfH8WB4bBD2OS9QEiQTrnLsQkZOWEI+2 r8MVVfF9kvG843l2+1r2SBBEaB+NsyoX1D/i+e/NOCoTISikBWhW5kUPptE7KtGkdQ5Q luaxBstIilprDCAGwUiQ/FCSIhrCTrYmznKD7FDL+lgwH+M0Irpor9IzVj1iYvzJJuW1 /kkwOnsyvBK1sik5iLPvHKVDgoRgaxyZFDI9uXjb/KTNoQ1GgXnrJgcq36toiIsTb4NT 65Qg== 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=WgEpBg+jXWExlBuN826B17z6h0Qyx43x23oyHPzCLWMH6GIujAMI8Puzp3tHWrQc5C E5cUoNedq4WWrnvAotf5iobuDUB+/sZcUIih++0Uy2msOtmyp/uHBNa3p+4qtHC+zIrD xVfF2ivSXgLeIPowdG7U8YqOAKJ8xPow7tAOTY6ZwBvaRo+QYpLiCRvWT+spl/UXTyer TxmPOxFwboOvT6MX03TSqTZEMbvC7joJMQ40Llp/JIsDh7wRptPmXd3Fe9uVO7hx0/0s 1H915/O48s0TP/xaeg+WjmYHzGPvn3h7iTTp5HmhZXjWmhFzeHrBViJiy/O5hKApGq1L l1TA== X-Gm-Message-State: AOJu0Yzw0Fs6IwiB4UpspMYo1bLImAg4P2+5BpEe0c/7eBGR3rV8oo7n Cy9NhIA7AVTwBajDFinReyza3Q== 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 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 , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Rafael J . Wysocki" , Len Brown , Anup Patel , Thomas Gleixner , Bjorn Helgaas , Haibo Xu , Conor Dooley , Andrew Jones , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Marc Zyngier , Sunil V L 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- drivers/acpi/bus.c | 3 +++ include/linux/acpi.h | 1 + 2 files changed, 4 insertions(+) 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 }; -- 2.39.2