From: Thomas Renninger <trenn@suse.de>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Bernhard Walle <bwalle@suse.de>,
"Starikovskiy, Alexey Y" <aystarik@gmail.com>,
linux-acpi <linux-acpi@vger.kernel.org>,
lm-sensors@lm-sensors.org, Bjorn Helgaas <bjorn.helgaas@hp.com>,
Jean Delvare <khali@linux-fr.org>,
akpm <akpm@linux-foundation.org>
Subject: [PATCH - 1/2] Identify native drivers and ACPI subsystem accessing the same resources - ACPICA stuff
Date: Fri, 13 Jul 2007 14:59:09 +0200 [thread overview]
Message-ID: <1184331549.3960.105.camel@d88.suse.de> (raw)
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
reply other threads:[~2007-07-13 12:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1184331549.3960.105.camel@d88.suse.de \
--to=trenn@suse.de \
--cc=akpm@linux-foundation.org \
--cc=aystarik@gmail.com \
--cc=bjorn.helgaas@hp.com \
--cc=bwalle@suse.de \
--cc=khali@linux-fr.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®