Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp429467lqm; Wed, 1 May 2024 05:20:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUvF8w/xVWvtz/ap5TOmwTdIa75txbzqP/CZB1bREHs0eONWGizjvepnNqPAxp22djZg5PwEjUFENCuEeWkHU9671cjF7NzijvQKb8A+A== X-Google-Smtp-Source: AGHT+IGU3sEz1sN2+jogGAWczTsmtI8V5WVpd21r017kzVUxdGNP963VdkbilP2O1/gq2BqraF1v X-Received: by 2002:a17:902:f807:b0:1ec:2977:d934 with SMTP id ix7-20020a170902f80700b001ec2977d934mr1926436plb.62.1714566031516; Wed, 01 May 2024 05:20:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714566031; cv=pass; d=google.com; s=arc-20160816; b=XQk70svKwr7kqcY90lapijm7MrvXMV7hsfVNTqo0hXlk4+ISaj4KhSLInsnBjivXlX ct2MEF4bwT5MDzdCiufi1PYdH8J32hj5ttODh7sWTXcsJZ7nKeP9wU3p9/N62jpYJqk5 9WdRCzE5FdxrE/3WZxd7Y8MhkJRjI6ZSvEjm/w1LvJScY4GQEil9CfIPZpXOHfEkxb/1 r/59E9WREWin/TUsC5qGwJZD6jMIzbdC8gKzderwmFRV/FObWq9yLEFum+sNrep5H4s7 e+H8RlLrl4QoTA8OlpHf/nHt0vKtntcEh4kO+G+0+Xs6KjijF8vA3Q1kytbNDgDv4FOj zl8w== 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=WOIqEzOMfBRaM7n+Lh1Tvfg7gL7m541laQZW313gOHY=; fh=yoH+/0BY81MhGwszdEYnCnl+PDFyXYpF+D6RAzKcKTg=; b=BR5n2HunRknSNPZdmLYArjpTbdow0GnROSGf33vU0vHSdWmRrmd5aZtqQOyHbM0SS7 GQvCbpdcA4kvg1YyGEu1Nt6q8Al5+b9TDd/Gfw0d1nCHsAzuI+rSfI+7vsKe1hy1qzIi 0qwkagytLT8ij9co/Q/nRoXQzfwCibQfvUv3EKYJwIRMtNGPWk0wnRVJMqI3TRv1H6Em 2pJkOtEFCmGgsTgKB/67bBbov6n9sCgR43QAMNBovasoQONbfQ2WEjfbKkAY3F5jtS1/ WAZF1l3T6zHr9NDsbMmS+USG03LMI5LfGg/Doy5J1WPtJ6Xb58ZaRdhJDBXiMTuZFOzf 24AQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=Ep2IluZq; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-165222-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165222-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 s16-20020a170902ea1000b001e5024ac226si24294425plg.45.2024.05.01.05.20.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 05:20:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165222-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=Ep2IluZq; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-165222-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165222-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 2D52D285368 for ; Wed, 1 May 2024 12:20:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39CDA12DD9D; Wed, 1 May 2024 12:19:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="Ep2IluZq" Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (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 E216185643 for ; Wed, 1 May 2024 12:18:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714565941; cv=none; b=oBCObK3t9ZQGbEzV9d2FeFuPOnc4RIUNkVQDgmjm2YeJKT3OmbGpYonJQ9A+2lBbdeQ2P/PL/og7Dzd/01T4jofTkPfJMgGipsGCJdTW89vufTspuRlxNalw9m0GPUaebucOqkPK+Ql4i+p4Jb0M5HID18Vf7wMFZf1FKCs0pog= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714565941; c=relaxed/simple; bh=CPhKTM+fujR2wlemEJtEAE/LXnd3DpxMM4jZCEYDYXE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=LuDhZv+yLMCMKMxcM6jNdDvmkFJuUln8t1/cZUNM/lfRl7suU5oDu0uC3RLbv9JunR9kSMKpEbNwzLJDGTtOGrl0tBqdW2ufGlSpFykXroC/IM6e6QAqit9fsYSiDtwB3in/D/7NmsyFj1ANtl7khaAzjNML7LmCxAg6ckbhblM= 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=Ep2IluZq; arc=none smtp.client-ip=209.85.214.178 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-f178.google.com with SMTP id d9443c01a7336-1e3c9300c65so57039925ad.0 for ; Wed, 01 May 2024 05:18:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1714565938; x=1715170738; 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=WOIqEzOMfBRaM7n+Lh1Tvfg7gL7m541laQZW313gOHY=; b=Ep2IluZqBWfF3BzeFXa/f/A9+iP9LRzreQnDkKcSUEhE1tRgAWDYrb7wpgBpbOf/Ys na9nxuIx36POxcd0YlqXg+ws4QHedX2RCHNtDcnn8XSyC0ii8ATVXMIPN0VQoYo2bNvS pewZCZdGDLBHsf3zuoAAbNbSuWHr+jhXLkBgaF+uwvDjSpl5n8aLZj5a6bnklsFqyNQQ lSrKgb2hZZsrwEv46XN27AFYm3swxqu+/r6812UhBzcQS+8Np/EoRWG1BrSoXV10po+l 3X4BqNRQXtHqAua97x7ziVE+f/bzTbT3ViSk8beV86OGB34NaLYHnvKPFS1pXlZ/feNv Mggg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714565938; x=1715170738; 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=WOIqEzOMfBRaM7n+Lh1Tvfg7gL7m541laQZW313gOHY=; b=TgZanlJhIKvFbLWMia9LJ2KrtULWu59eRPMKnBW1TvrwKHvs7h0g1qF1KMhe0skUnh ZeR1rkaX8vFpo6x1YHWbRLvkScWus61vJlqoWC2txGjYnhDOCDlaMpUnA2XwYWnj1HAX +H1cGE/KAH2freFhAtdtN1Wd8bBT6S1wfI6yuc95kn2Ukb8UEnowdmJ9Vo5jCAzQaBQl vAWai8wjAXmQKtLUpIViIiIU6rNa/ZTOaHCUGtSkwL1TBVDpdfbUBDfS7mluGuVvZm+X 6D3JuXu7J7aP5Qz4vMtcfALJ0s6Pzn0a5QkIOgEp/smgrstIcDKYf9I6qE1InlPHkVT4 sccg== X-Forwarded-Encrypted: i=1; AJvYcCWSgGY1JJ6S2ELqqnQsbplu5tEDcmLsV9H/GUnrq86bx5gam0EaKx/F5yxKA2Qgy+yHt1B+kW6Fhks1r0HV58R+FgN0z3r5QwLmvZtM X-Gm-Message-State: AOJu0YzrIZdBhxrnNLUixgvq5V9ppCNt6bKFQyzr/p0b2QsLaaYWhklB nWqgnadWecWitV03WeTHtRGjFnca/tpk2NgsIVNV7TbcAjUApyzuGXBX1/CW7CzClWy1+DLF6/G hhVQ= X-Received: by 2002:a17:903:496:b0:1e1:a54:1fe8 with SMTP id jj22-20020a170903049600b001e10a541fe8mr1877916plb.53.1714565938389; Wed, 01 May 2024 05:18:58 -0700 (PDT) Received: from sunil-pc.Dlink ([106.51.188.106]) by smtp.gmail.com with ESMTPSA id im15-20020a170902bb0f00b001ec8888b22esm1336900plb.65.2024.05.01.05.18.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 05:18:57 -0700 (PDT) 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, linux-serial@vger.kernel.org, acpica-devel@lists.linux.dev Cc: Catalin Marinas , Will Deacon , Paul Walmsley , Albert Ou , "Rafael J . Wysocki" , Len Brown , Bjorn Helgaas , Anup Patel , Thomas Gleixner , Samuel Holland , Greg Kroah-Hartman , Jiri Slaby , Robert Moore , Conor Dooley , Andrew Jones , Andy Shevchenko , Marc Zyngier , Atish Kumar Patra , Andrei Warkentin , Haibo1 Xu , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Sunil V L Subject: [PATCH v5 07/17] ACPI: bus: Add RINTC IRQ model for RISC-V Date: Wed, 1 May 2024 17:47:32 +0530 Message-Id: <20240501121742.1215792-8-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240501121742.1215792-1-sunilvl@ventanamicro.com> References: <20240501121742.1215792-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 17ee483c3bf4..6739db258a95 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -1190,6 +1190,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 846a4001b5e0..c1a01fd02873 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 }; -- 2.40.1