Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1572666lqp; Mon, 15 Apr 2024 10:07:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPhVW9zwuB3inecDMC20Xfu5jPd8sqf9X24cPr0F5XMF3xS1bYi6CXoXUKIbqhSDaaqebybRw5zFuEuM3KUksP7Nd4udWdcXoptJBAXg== X-Google-Smtp-Source: AGHT+IG6LTvpG/9yWI/gHQ4xoCSN21c99VrnwP23R9g8BTQDXEIwYk/oMoIPgUS8cj6dlITQYmn6 X-Received: by 2002:a05:6808:4196:b0:3c7:1786:abab with SMTP id dj22-20020a056808419600b003c71786ababmr2283412oib.51.1713200877155; Mon, 15 Apr 2024 10:07:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713200877; cv=pass; d=google.com; s=arc-20160816; b=oTT/MciGxHnwD7NNM1Nx1m2Zh7CZcWqp3dgm2bgXtsyw7snT+47MhUyF/CjBNomPHW QGH0/51n085tBXU1KFb18YUmMcherarK+c5m973dFp5ZNBALCK5VFxMDjXfyq5EdfwvK 4RtyDF08R42fKXgmxGPFysJj9QkaaKJHwmuev7tU4iVi1st4JJDGghhQKAtwmVe2Hf+L /+zl2vVg22jDXXmYrNgaXeR+WG4VNNUExykEc58cOgqF7w/NHxyWuI0K2eqCOXKtFTS2 nrUPXJiuTRhv9EXz/7b5ZndzS4oPq7ytwLyDUcw8sIja++6YbYIEb2jA0U/bEQVZXWYr kBOw== 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=tgBDpDYGQ0glprRFD8yP0RdoCRZMFoPF1RZGUEi3Dy4=; fh=I9r3av0ccDJb9nhWFNdWU2Q7bpEY1WrWv+TvF9EOdtM=; b=q41c+16Fj/sTBcnSwsgZblYTT+jU/zwmCBCm87wKirOSaE3ZsjeTUHpeuofE045g5a 5E93Dgns9E0i1ayn5yqUD/H/7bvwkCWkap423YHypxIb0tMILyUp7WxXn2Pzr4dHJafS ugPQO++ZjxVk64ob8lAOO37Af2dr5hi4ZlqLFltTeP3Yx3VqLmLrITVytR5nHsehNWkk yK8cx1RtBnl5eM57wXFrJ7KMZP8V5TEPeHAci0SYeNVxdf2wlXWPnnFTMU456eRKHWSi lk8zEKLeGvSVzqLPI4vopLmQstY+3sIvBsSAHsWFAuE0mtc+Ejp8GdThL8zVRuKT3wmL 2Emg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=hY85NLRH; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-145620-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145620-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s8-20020a056102370800b0047a3fd40a7dsi1428349vst.658.2024.04.15.10.07.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 10:07:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145620-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=hY85NLRH; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-145620-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145620-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 292671C22EEE for ; Mon, 15 Apr 2024 17:07:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B6D5E83A1D; Mon, 15 Apr 2024 17:03:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="hY85NLRH" Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 B63F612A176 for ; Mon, 15 Apr 2024 17:03:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713200605; cv=none; b=lXBrji15roLMYtlHB3XhByfJcASjfQ5dihavniIlAflFfUkqJWf8fQAwjCUkWf6Z5boWHXXV+1d75mJp0VuoyvrJhuQVd9it+oldIzsIjmGT3tdleMI0n+il6tVT5354vMITD3NblPEjwY8KxGJpO0EXzFmZ+UJsx1avxo6aAU4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713200605; c=relaxed/simple; bh=iq+zCwdn57VORSoLKgJUoBBIF3f6Y9IiyHLbSdDt+cg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ic0xlLpMcfsZcw3gZ31j6WiF9O0r1GMFoP1rjqKutj15FweX+JnVQpAIR2S3Qh/ygPdCY2X91YSWvag2PwluB9673YvAAKzP/NjpXys1p65iQv7IeDLDtDsV5t/u00Xdq93Sbsuaivezhuu8fkSJETuUXLUTPFr4IDqG7mMP5xs= 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=hY85NLRH; arc=none smtp.client-ip=209.85.210.176 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-pf1-f176.google.com with SMTP id d2e1a72fcca58-6eced6fd98aso3177738b3a.0 for ; Mon, 15 Apr 2024 10:03:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1713200604; x=1713805404; 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=tgBDpDYGQ0glprRFD8yP0RdoCRZMFoPF1RZGUEi3Dy4=; b=hY85NLRHwlYjZWYsKiclOqFiPC3qx2xzyWU1/2uXzVTqfR2KLiRH/J7sQhsEk+ulhU aN7j5M5TONSNMsszIuWjVLLC6bzndUZdOUMsgJ1zZ49pR4DL5nSMHoWZgULCIJoFMTMD 4RQ2eIy64Gbye+IPzkeDtrgdFygWoMWJWWG0kp9CeONxIfP7FwQLjKmVQh9LyxA9Othz /yI2C3Aqsm+IZsbhHb5L08XqKy6j6OLHao4gAVb4VekrS+lVs6oGFNAiIkBZ/Po1uy5F yv4smTv+6a6e/3+FKOV3WRnJ3jsfZjVZSHQE257RWyC6loE0Wnj0leg//b+pq/WY+Gkt hA3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713200604; x=1713805404; 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=tgBDpDYGQ0glprRFD8yP0RdoCRZMFoPF1RZGUEi3Dy4=; b=RhZbgtqLhIeQCs1ryajMKj81aK6jS6y7Wf3WLoO+2ibEQiQE5nVBZ28AFTa/IKpSS/ 066Bfof+b2hA5jM1LtaOCcrZkKocePUrrDwUw909/AJhvJCoJI4PoGMaKCEXV8eJ/9GZ 5oRas47BzODJw3ms1IKcCv/UhWzDRMwa6SLOkychciar9vJ0dWbIc1GB3Qyy/pO19ir1 OggbG8tJKDWQeWajlOHd5qwFS+E1NG7OLj/LFmNq2Zh6gkDhh2ckb7p90lQR/w5yqh5m 5XB6MGw9tXae6AhFk4jtfXzVFQC7ZmA1psImgMdMyV8Sps7SOW/vm/I4x7GDFidU7xME RTQg== X-Forwarded-Encrypted: i=1; AJvYcCV6tmGWGlZyg0nOw9+UF6P442u0N3WEbcqtJ8gcO7A0fMYj9mZcQGFCZyOwtkHiI8u699b6ZLZbWx+bo2GUsU56mpT/x9J8p0TgeISg X-Gm-Message-State: AOJu0YwcLtgdDq60AYqjOtPdX4G3Es8c3fVZjHWxp2tTkA9lxKh1ZG3Z vysMm7X5OJGVODX0YVlJmkExNGXTGjSvPKBIMMnKrH0vOXo8eom7NDxjP1mpCG4= X-Received: by 2002:a05:6a00:23cc:b0:6e7:29dd:84db with SMTP id g12-20020a056a0023cc00b006e729dd84dbmr14671886pfc.31.1713200604137; Mon, 15 Apr 2024 10:03:24 -0700 (PDT) Received: from sunil-pc.Dlink ([106.51.187.230]) by smtp.gmail.com with ESMTPSA id 1-20020a056a00072100b006ed045e3a70sm7433158pfm.25.2024.04.15.10.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 10:03:23 -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, acpica-devel@lists.linux.dev Cc: Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Rafael J . Wysocki" , Len Brown , Bjorn Helgaas , Anup Patel , Thomas Gleixner , Samuel Holland , Robert Moore , Haibo1 Xu , Conor Dooley , Andrew Jones , Atish Kumar Patra , Andrei Warkentin , Marc Zyngier , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Sunil V L Subject: [RFC PATCH v4 18/20] ACPI: bus: Add RINTC IRQ model for RISC-V Date: Mon, 15 Apr 2024 22:31:11 +0530 Message-Id: <20240415170113.662318-19-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240415170113.662318-1-sunilvl@ventanamicro.com> References: <20240415170113.662318-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 f8f92aaf97ad..c4b6d5c3aaed 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