[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221004103341.12646-2-jirislaby@kernel.org>
Date: Tue, 4 Oct 2022 12:33:41 +0200
From: "Jiri Slaby (SUSE)" <jirislaby@...nel.org>
To: rafael.j.wysocki@...el.com
Cc: linux-kernel@...r.kernel.org,
"Jiri Slaby (SUSE)" <jirislaby@...nel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Len Brown <lenb@...nel.org>, linux-acpi@...r.kernel.org,
Chuanhong Guo <gch981213@...il.com>,
Tighe Donnelly <tighe.donnelly@...tonmail.com>,
Mario Limonciello <mario.limonciello@....com>
Subject: [PATCH 2/2] ACPI: resource: note more about IRQ override
Use an exclamation mark to note which of the properties was overridden.
Cc: "Rafael J. Wysocki" <rafael@...nel.org>
Cc: Len Brown <lenb@...nel.org>
Cc: linux-acpi@...r.kernel.org
Cc: Chuanhong Guo <gch981213@...il.com>
Cc: Tighe Donnelly <tighe.donnelly@...tonmail.com>
Cc: Mario Limonciello <mario.limonciello@....com>
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@...nel.org>
---
drivers/acpi/resource.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 8d13e94bb921..497d626185e4 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -508,8 +508,11 @@ static void acpi_dev_get_irqresource(struct resource *res, u32 gsi,
u8 pol = p ? ACPI_ACTIVE_LOW : ACPI_ACTIVE_HIGH;
if (triggering != trig || polarity != pol) {
- pr_warn("ACPI: IRQ %d override to %s, %s\n", gsi,
- t ? "level" : "edge", p ? "low" : "high");
+ pr_warn("ACPI: IRQ %d override to %s%s, %s%s\n", gsi,
+ t ? "level" : "edge",
+ trig == triggering ? "" : "(!)",
+ p ? "low" : "high",
+ pol == polarity ? "" : "(!)");
triggering = trig;
polarity = pol;
}
--
2.37.3
Powered by blists - more mailing lists