All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPI/PCI: pci_link: change log level of no _PRS messages
@ 2018-02-09 22:56 Alex Hung
  2018-02-10  1:05 ` Bjorn Helgaas
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Hung @ 2018-02-09 22:56 UTC (permalink / raw)
  To: rjw, lenb, alex.hung, linux-pci, linux-acpi

In recent Intel hardware the IRQs become non-configurable after BIOS
initializes them in PEI phase and _PRS objects are no longer included in
ASL.

This is the same as "static (non-configurable) devices do not
specify a _PRS object" in ACPI spec. As a result, error messages
saying "ACPI Exception: AE_NOT_FOUND, Evaluating _PRS" does not need to
be in kernel messages all the time but only when debug is enabled.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 drivers/acpi/pci_link.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/pci_link.c b/drivers/acpi/pci_link.c
index 85ad679..9d9cf24 100644
--- a/drivers/acpi/pci_link.c
+++ b/drivers/acpi/pci_link.c
@@ -173,7 +173,7 @@ static int acpi_pci_link_get_possible(struct acpi_pci_link *link)
 	status = acpi_walk_resources(link->device->handle, METHOD_NAME__PRS,
 				     acpi_pci_link_check_possible, link);
 	if (ACPI_FAILURE(status)) {
-		ACPI_EXCEPTION((AE_INFO, status, "Evaluating _PRS"));
+		acpi_handle_debug(link->device->handle, "failed to evaluate _PRS");
 		return -ENODEV;
 	}
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-02-23  5:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-09 22:56 [PATCH] ACPI/PCI: pci_link: change log level of no _PRS messages Alex Hung
2018-02-10  1:05 ` Bjorn Helgaas
2018-02-10  7:40   ` Alex Hung
2018-02-10  8:08   ` Rafael J. Wysocki
2018-02-10 15:34     ` Bjorn Helgaas
2018-02-12  8:51       ` Rafael J. Wysocki
2018-02-12  8:58         ` Rafael J. Wysocki
2018-02-13  4:03         ` Alex Hung
2018-02-13  8:49           ` Rafael J. Wysocki
2018-02-23  5:42             ` Alex Hung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.