mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH - 1/2] Identify native drivers and ACPI subsystem accessing the same resources -  ACPICA stuff
@ 2007-07-13 12:59 Thomas Renninger
  0 siblings, 0 replies; only message in thread
From: Thomas Renninger @ 2007-07-13 12:59 UTC (permalink / raw)
  To: linux-kernel
  Cc: Bernhard Walle, Starikovskiy, Alexey Y, linux-acpi, lm-sensors,
	Bjorn Helgaas, Jean Delvare, akpm

Also pass the OperationRegion name to the OS validate func


Signed-off-by: Thomas Renninger <trenn@suse.de>

---
 drivers/acpi/dispatcher/dsopcode.c |    4 +++-
 include/acpi/acpiosxf.h            |    4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

Index: linux-2.6.22-rc5/include/acpi/acpiosxf.h
===================================================================
--- linux-2.6.22-rc5.orig/include/acpi/acpiosxf.h
+++ linux-2.6.22-rc5/include/acpi/acpiosxf.h
@@ -239,8 +239,8 @@ acpi_status acpi_os_validate_interface(c
 acpi_status acpi_osi_invalidate(char* interface);
 
 acpi_status
-acpi_os_validate_address(u8 space_id,
-			 acpi_physical_address address, acpi_size length);
+acpi_os_validate_address(u8 space_id, acpi_physical_address address,
+			 acpi_size length, char *name);
 
 u64 acpi_os_get_timer(void);
 
Index: linux-2.6.22-rc5/drivers/acpi/dispatcher/dsopcode.c
===================================================================
--- linux-2.6.22-rc5.orig/drivers/acpi/dispatcher/dsopcode.c
+++ linux-2.6.22-rc5/drivers/acpi/dispatcher/dsopcode.c
@@ -359,7 +359,9 @@ acpi_status acpi_ds_get_region_arguments
 
 	status = acpi_os_validate_address(obj_desc->region.space_id,
 					  obj_desc->region.address,
-					  (acpi_size) obj_desc->region.length);
+					  (acpi_size) obj_desc->region.length,
+					  acpi_ut_get_node_name(node));
+
 	if (ACPI_FAILURE(status)) {
 		/*
 		 * Invalid address/length. We will emit an error message and mark



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-13 12:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-13 12:59 [PATCH - 1/2] Identify native drivers and ACPI subsystem accessing the same resources - ACPICA stuff Thomas Renninger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®