27 Mar, 2006
4 commits
-
s/fucntion/function/ typo fixes
Signed-off-by: Akinobu Mita
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
ia64 ioremap is now smart enough to use the correct memory attributes, so
remove the EFI checks from osl.c.Signed-off-by: Bjorn Helgaas
Cc: Matt Domsch
Cc: "Tolentino, Matthew E"
Cc: "Brown, Len"
Cc: Andi Kleen
Acked-by: "Luck, Tony"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Here's a patch that fixes EFI boot for x86 on 2.6.16-rc5-mm3. The
off-by-one is admittedly my fault, but the other two fix up the rest.Cc: Bjorn Helgaas
Cc: Matt Domsch
Cc: "Tolentino, Matthew E"
Cc: "Brown, Len"
Cc: Andi Kleen
Cc: "Luck, Tony"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Almost all users of the table addresses from the EFI system table want
physical addresses. So rather than doing the pa->va->pa conversion, just keep
physical addresses in struct efi.This fixes a DMI bug: the efi structure contained the physical SMBIOS address
on x86 but the virtual address on ia64, so dmi_scan_machine() used ioremap()
on a virtual address on ia64.This is essentially the same as an earlier patch by Matt Tolentino:
http://marc.theaimsgroup.com/?l=linux-kernel&m=112130292316281&w=2
except that this changes all table addresses, not just ACPI addresses.Matt's original patch was backed out because it caused MCAs on HP sx1000
systems. That problem is resolved by the ioremap() attribute checking added
for ia64.Signed-off-by: Bjorn Helgaas
Cc: Matt Domsch
Cc: "Tolentino, Matthew E"
Cc: "Brown, Len"
Cc: Andi Kleen
Acked-by: "Luck, Tony"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
26 Mar, 2006
3 commits
-
Broken earlier by me by a x86-64 patch.
The code was optimized away, but the compiler still complained about an
undeclared function.Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
- Move the core parser into dmi_scan.c. It can be useful for other
subsystems too.
- Differentiate between field doesn't exist and field is 0 or
unparseable. The first case is likely an old BIOS with broken ACPI,
the later is likely a slightly buggy BIOS where someone forget to
edit the date. Don't blacklist in the later case.Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds
25 Mar, 2006
1 commit
-
Signed-off-by: Uwe Zeisberger
Signed-off-by: Adrian Bunk
24 Mar, 2006
2 commits
-
Remove dock station support from ibm_acpi by default. This support has
been put into acpiphp instead. Allow ibm_acpi to continue to provide
docking station support via config option for laptops/docking stations
that are not supported by acpiphp.Signed-off-by: Kristen Carlson Accardi
Signed-off-by: Greg Kroah-Hartman -
Export the acpi_bus_trim function so that the pci hotplug driver can
use it.Signed-off-by: Kristen Carlson Accardi
Signed-off-by: Greg Kroah-Hartman
27 Feb, 2006
2 commits
-
ACPI is initialized very early on x86-64, before the DMI code is
initialized. This means it would often discover a 0 year and then turn
off ACPI because it thought the BIOS was too old. Some systems don't
boot without ACPI so this was a problem.I have a full fix by adding new very early DMI detection, but it needs
more testing before it can be merged. For 2.6.16 let's just turn the
check off. It never made much sense anyways because there are no x86-64
systems older than 2002 or so and they generally all have working ACPI.Cc: len.brown@intel.com
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
This makes x86-64 use the common X86_PM_TIMER Kconfig entry in drivers/acpi
And since PM timer is needed for correct timing on a lot of systems
now (e.g. AMD dual cores) and we often get bug reports from people
who forgot to set it make it depend on CONFIG_EMBEDDED. x86-64 had
this change before and it's a good thing.I also fixed the description slightly to make this more clear.
Cc: len.brown@intel.com
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds
18 Feb, 2006
1 commit
-
acpi_rs_get_list_length() needs to account for all the vendor-defined data
bytes. Failing to include these causes buffers to be sized too small,
which causes slab corruption when we later convert AML to resources and run
off the end of the buffer.This causes slab corruption on machines that use ACPI vendor-defined
resources. All HP ia64 machines do, and I'm told that some NEC machines
may as well.Signed-off-by: Bjorn Helgaas
Cc: "Brown, Len"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
05 Feb, 2006
2 commits
-
attached patch is 2 more cases i found via running the reference_init.pl
script. These were easy to spot just knowing the file names. There is
one another about init/main.c that i cant exactly zero in. (partly
because i dont know how to interpret the data thats spewed out of the tool).Signed-off-by: Ashok Raj
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
Bug in apic timer removal on C3 patch. We should switch to IPI from APIC timer
only when C3 state is valid.Signed-off-by: Venkatesh Pallipadi
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds
31 Jan, 2006
1 commit
-
Implemented support in the Resource Manager to allow
unresolved namestring references within resource package
objects for the _PRT method. This support is in addition
to the previously implemented unresolved reference
support within the AML parser. If the interpreter slack
mode is enabled (true on Linux unless acpi=strict),
these unresolved references will be passed through
to the caller as a NULL package entry.
http://bugzilla.kernel.org/show_bug.cgi?id=5741Implemented and deployed new macros and functions for
error and warning messages across the subsystem. These
macros are simpler and generate less code than their
predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_*
macros.Implemented the acpi_cpu_flags type to simplify host OS
integration of the Acquire/Release Lock OSL interfaces.
Suggested by Steven Rostedt and Andrew Morton.Fixed a problem where Alias ASL operators are sometimes
not correctly resolved. causing AE_AML_INTERNAL
http://bugzilla.kernel.org/show_bug.cgi?id=5189
http://bugzilla.kernel.org/show_bug.cgi?id=5674Fixed several problems with the implementation of the
ConcatenateResTemplate ASL operator. As per the ACPI
specification, zero length buffers are now treated as a
single EndTag. One-length buffers always cause a fatal
exception. Non-zero length buffers that do not end with
a full 2-byte EndTag cause a fatal exception.Fixed a possible structure overwrite in the
AcpiGetObjectInfo external interface. (With assistance
from Thomas Renninger)Signed-off-by: Bob Moore
Signed-off-by: Len Brown
28 Jan, 2006
1 commit
27 Jan, 2006
1 commit
-
In the case where a (broken) BIOS gives us a blank _CRS for
a PCI Interrupt Link Device, the acpi_walk_resources()
will not terminate, but will then give the callback
the resource end tag. Ignore the end tag.Signed-off-by: Len Brown
25 Jan, 2006
1 commit
-
Signed-off-by: Len Brown
20 Jan, 2006
2 commits
-
Added 2006 copyright.
At SuSE's suggestion, enabled all error messages
without enabling function tracing, ie with CONFIG_ACPI_DEBUG=nReplaced all instances of the ACPI_DEBUG_PRINT macro invoked at
the ACPI_DB_ERROR and ACPI_DB_WARN debug levels with
the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
respectively. This preserves all error and warning messages
in the non-debug version of the ACPICA code (this has been
referred to as the "debug lite" option.) Over 200 cases
were converted to create a total of over 380 error/warning
messages across the ACPICA code. This increases the code
and data size of the default non-debug version by about 13K.
Added ACPI_NO_ERROR_MESSAGES flag to enable deleting all messages.
The size of the debug version remains about the same.Signed-off-by: Bob Moore
Signed-off-by: Len Brown -
This check, added in ACPICA 20051021, was overly paranoid.
Signed-off-by: Len Brown
17 Jan, 2006
1 commit
-
This reverts ed349a8a0a780ed27e2a765f16cee54d9b63bfee commit.
15 Jan, 2006
1 commit
-
Remove the "inline" keyword from a bunch of big functions in the kernel with
the goal of shrinking it by 30kb to 40kbSigned-off-by: Arjan van de Ven
Signed-off-by: Ingo Molnar
Acked-by: Jeff Garzik
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
12 Jan, 2006
1 commit
-
Whenever we see that a CPU is capable of C3 (during ACPI cstate init), we
disable local APIC timer and switch to using a broadcast from external timer
interrupt (IRQ 0). This is needed because Intel CPUs stop the local
APIC timer in C3. This is currently only enabled for Intel CPUs.Patch below adds the code for i386 and also the ACPI hunk.
Signed-off-by: Venkatesh Pallipadi
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds
10 Jan, 2006
1 commit
-
Use the stored value of the Interrupt Pin, rather than try to read
it again.Signed-off-by: Kristen Carlson Accardi
Signed-off-by: Greg Kroah-Hartman
09 Jan, 2006
1 commit
-
According to the TCG specifications measurements or hashes of the BIOS code
and data are extended into TPM PCRS and a log is kept in an ACPI table of
these extensions for later validation if desired. This patch exports the
values in the ACPI table through a security-fs seq_file.Signed-off-by: Seiji Munetoh
Signed-off-by: Stefan Berger
Signed-off-by: Reiner Sailer
Signed-off-by: Kylene Hall
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
08 Jan, 2006
1 commit
-
acpi_processor_write_throttling()
acpi_processor_write_limit()Signed-off-by: Adrian Bunk
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
07 Jan, 2006
7 commits
-
Signed-off-by: Borislav Petkov
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown -
Signed-off-by: Randy Dunlap
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown -
This adds all known BIOS versions of IBM R40e Laptops to the C2/C3
processor state blacklist and thus prevents them from crashing.
workaround for http://bugzilla.kernel.org/show_bug.cgi?id=3549Signed-off-by: Thomas Rosner
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown -
drivers/acpi/acpi_memhotplug.c: In function `acpi_memory_get_device_resources':
drivers/acpi/acpi_memhotplug.c:101: error: structure has no member named `attribute'
drivers/acpi/acpi_memhotplug.c:103: error: structure has no member named `attribute'
drivers/acpi/acpi_memhotplug.c: In function `acpi_memory_disable_device':
drivers/acpi/acpi_memhotplug.c:253: warning: unused variable `attr'Signed-off-by: Andrew Morton
Signed-off-by: Len Brown -
acpi_processor_limit_fops.write was written at run time,
but can be initiailized at compile-time instead.Similar for acpi_video_bus_POST_fops.write and friends,
but keep doing those at runtime to avoid prototype-hell.Signed-off-by: Arjan van de Ven
Signed-off-by: Len Brown
05 Jan, 2006
2 commits
-
In ACPICA 20051117, acpi_walk_resources() started
sending ACPI_RESOURCE_TYPE_END_TAG to the callback
routine which wasn't prepared for it, causing
_CRS to fail and PnPACPI to not recognize any devices:pnp: ACPI device : hid PNP0C02
pnp: PnPACPI: unknown resource type 7
pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0c02Signed-off-by: Len Brown
-
Leave the overloaded "hotplug" word to susbsystems which are handling
real devices. The driver core does not "plug" anything, it just exports
the state to userspace and generates events.Signed-off-by: Kay Sievers
Signed-off-by: Greg Kroah-Hartman
04 Jan, 2006
3 commits
-
Signed-off-by: Karol Kozimor
Signed-off-by: Len Brown -
This patch corrects the node to read display settings on M6R laptops.
Signed-off-by: Karol Kozimor
Signed-off-by: Len Brown -
Before this fix, the finite timeout case
behaved like the no-timeout (trylock) case.http://bugzilla.kernel.org/show_bug.cgi?id=4588
Signed-off-by: Luming Yu
Signed-off-by: Len Brown
30 Dec, 2005
1 commit
-
put __initdata on sdt_entry[], as it is accessed only by __init functions.
http://bugzilla.kernel.org/show_bug.cgi?id=1311
Signed-off-by: Len Brown