linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI/PCI: pci_link: remove error messages when no _PRS methods
@ 2018-01-31  5:52 Alex Hung
  2018-01-31  9:20 ` Rafael J. Wysocki
  0 siblings, 1 reply; 11+ messages in thread
From: Alex Hung @ 2018-01-31  5:52 UTC (permalink / raw)
  To: rjw, lenb, linux-acpi, alex.hung

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" are not
needed.

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

diff --git a/drivers/acpi/pci_link.c b/drivers/acpi/pci_link.c
index 85ad679390e3..f98215971f30 100644
--- a/drivers/acpi/pci_link.c
+++ b/drivers/acpi/pci_link.c
@@ -172,10 +172,8 @@ 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"));
+	if (ACPI_FAILURE(status))
 		return -ENODEV;
-	}
 
 	ACPI_DEBUG_PRINT((ACPI_DB_INFO,
 			  "Found %d possible IRQs\n",
-- 
2.15.1


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

end of thread, other threads:[~2018-02-09  9:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-31  5:52 [PATCH] ACPI/PCI: pci_link: remove error messages when no _PRS methods Alex Hung
2018-01-31  9:20 ` Rafael J. Wysocki
2018-02-01  4:39   ` Alex Hung
2018-02-01  5:01     ` Alex Hung
2018-02-01  7:30     ` Rafael J. Wysocki
2018-02-01  8:07       ` Alex Hung
2018-02-02 11:25         ` Rafael J. Wysocki
2018-02-06  5:59           ` Alex Hung
2018-02-08  9:55             ` Rafael J. Wysocki
2018-02-09  9:02               ` Alex Hung
2018-02-09  9:18                 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).