* Buggy RSDP search in ACPI boot-time code
@ 2004-06-17 9:18 Keir Fraser
0 siblings, 0 replies; only message in thread
From: Keir Fraser @ 2004-06-17 9:18 UTC (permalink / raw)
To: linux-kernel; +Cc: Keir.Fraser, Ian.Pratt
Hi,
I think that the 'high-memory' search range in acpi_find_rsdp() in
arch/i386/kernel/acpi.c (2.4.26) or arch/i386/kernel/acpi/boot.c
(2.6.5) is incorrect.
It is supposed to search 0xE0000-0x100000, but the length field is
incorrectly specified as 0xFFFFF. As in the 'proper' ACPI driver, the
correct length is 0x20000.
The current length means the search grooves on into the kernel itself,
but since the search string "RSD PTR" only appears in the data
section, the search will usually terminate before finding
'itself'. The fact that the search occurs only on 16-byte boundaries
also helps.
Probably best to fix this though. :-) I've already had to for the Xen
VMM (much smaller codebase means that the search string resides within
the too-large search space).
-- Keir Fraser
PS. Please CC me with responses -- I'm not subscribed.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-17 9:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-17 9:18 Buggy RSDP search in ACPI boot-time code Keir Fraser
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®