Skip to contentSkip to conversation

ACPI for 2.6.10

BKPATCH Len Brown 2 participants 4 messages Dec 1, 2004 – Dec 6, 2004 ACPI

lore
Share & tools
lore

Len Brown

author
#0 lore raw

Hi Linus, please do a

bk pull bk://linux-acpi.bkbits.net/26-latest-release

thanks,
-Len

ps. a plain patch is also available here:
ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/26-latest-release/acpi-20041105-26-latest-release.diff.gz

This will update the following files:

 Documentation/kernel-parameters.txt |    7 
 arch/i386/kernel/acpi/Makefile      |    1 
 arch/i386/kernel/acpi/boot.c        |    6 
 arch/i386/kernel/acpi/earlyquirk.c  |   51 +++++
 arch/i386/kernel/apic.c             |   23 ++
 arch/i386/kernel/dmi_scan.c         |   56 ------
 arch/i386/kernel/io_apic.c          |   11 -
 arch/i386/kernel/mpparse.c          |    7 
 arch/i386/kernel/reboot.c           |   13 -
 arch/i386/mach-es7000/es7000plat.c  |    4 
 drivers/acpi/Makefile               |    2 
 drivers/acpi/acpi_ksyms.c           |  162 ------------------
 drivers/acpi/battery.c              |  205 +++++++++++-------------
 drivers/acpi/bus.c                  |   10 +
 drivers/acpi/dispatcher/dsmthdat.c  |    3 
 drivers/acpi/dispatcher/dswstate.c  |   10 -
 drivers/acpi/ec.c                   |   61 ++++---
 drivers/acpi/events/evxface.c       |   13 +
 drivers/acpi/events/evxfevnt.c      |   15 +
 drivers/acpi/events/evxfregn.c      |    4 
 drivers/acpi/executer/exdump.c      |    4 
 drivers/acpi/fan.c                  |   50 ++---
 drivers/acpi/hardware/Makefile      |    4 
 drivers/acpi/hardware/hwgpe.c       |    3 
 drivers/acpi/hardware/hwregs.c      |    4 
 drivers/acpi/hardware/hwsleep.c     |    7 
 drivers/acpi/hardware/hwtimer.c     |    5 
 drivers/acpi/namespace/Makefile     |    4 
 drivers/acpi/namespace/nsdump.c     |    4 
 drivers/acpi/namespace/nsload.c     |    4 
 drivers/acpi/namespace/nsutils.c    |    3 
 drivers/acpi/namespace/nsxfeval.c   |    7 
 drivers/acpi/namespace/nsxfname.c   |    4 
 drivers/acpi/namespace/nsxfobj.c    |    5 
 drivers/acpi/osl.c                  |   30 +++
 drivers/acpi/parser/pstree.c        |    4 
 drivers/acpi/parser/psutils.c       |    2 
 drivers/acpi/pci_bind.c             |    2 
 drivers/acpi/pci_irq.c              |   43 +++--
 drivers/acpi/pci_link.c             |   24 ++
 drivers/acpi/pci_root.c             |    2 
 drivers/acpi/processor.c            |   62 +++----
 drivers/acpi/resources/Makefile     |    4 
 drivers/acpi/resources/rsutils.c    |    3 
 drivers/acpi/resources/rsxface.c    |   10 +
 drivers/acpi/scan.c                 |    8 
 drivers/acpi/sleep/Makefile         |    4 
 drivers/acpi/sleep/poweroff.c       |    2 
 drivers/acpi/sleep/sleep.h          |    1 
 drivers/acpi/sleep/wakeup.c         |   32 +++
 drivers/acpi/system.c               |   45 ++---
 drivers/acpi/tables/tbconvrt.c      |    2 
 drivers/acpi/tables/tbutils.c       |    3 
 drivers/acpi/tables/tbxface.c       |    7 
 drivers/acpi/tables/tbxfroot.c      |    2 
 drivers/acpi/utilities/utalloc.c    |    3 
 drivers/acpi/utilities/utdebug.c    |    7 
 drivers/acpi/utilities/utglobal.c   |    4 
 drivers/acpi/utilities/utmisc.c     |    3 
 drivers/acpi/utilities/utxface.c    |    6 
 drivers/acpi/utils.c                |    4 
 drivers/acpi/video.c                |    4 
 drivers/char/ipmi/ipmi_si_intf.c    |    4 
 include/acpi/acdebug.h              |    5 
 include/acpi/acdispat.h             |    8 
 include/acpi/achware.h              |    5 
 include/acpi/acinterp.h             |    3 
 include/acpi/acmacros.h             |    8 
 include/acpi/acnamesp.h             |   10 +
 include/acpi/acparser.h             |    4 
 include/acpi/acpiosxf.h             |    6 
 include/acpi/acpixf.h               |   20 ++
 include/acpi/acresrc.h              |    4 
 include/acpi/actables.h             |    2 
 include/acpi/acutils.h              |    6 
 include/acpi/platform/acenv.h       |    8 
 include/acpi/processor.h            |    6 
 include/asm-i386/acpi.h             |    7 
 include/asm-i386/apic.h             |    6 
 include/asm-i386/io_apic.h          |    2 
 include/asm-i386/pci-direct.h       |    1 
 include/linux/acpi.h                |    6 
 82 files changed, 681 insertions(+), 535 deletions(-)

through these ChangeSets:

<[email protected]> (04/12/01 1.1988.133.10)
[ACPI] update C-state limiting patch

Now "max_cstate=" instead of "acpi_cstate_limit=" Delete redundant static cstate flags .c2 and .c3

http://bugme.osdl.org/show_bug.cgi?id=3549

For static processor driver, boot cmdline:
processor.max_cstate=2

For processor module, /etc/modprobe.conf:
options processor max_cstate=2
or
# modprobe processor max_cstate=2

From kernel or kernel module:
#include <linux/acpi.h>
acpi_set_cstate_limit(2);

Suggested-by Pavel Machek

<[email protected]> (04/12/01 1.1988.133.9)
[ACPI] disable LAPIC at reboot and poweroff if Linux forced it on
http://bugzilla.kernel.org/show_bug.cgi?id=3643

Signed-off-by: Alexey Y Starikovskiy
<[email protected]>

<[email protected]> (04/12/01 1.1988.133.8)
Cset exclude:
[email protected][lenb]|ChangeSet|20041109085620|42985

<[email protected]> (04/12/01 1.1988.133.7)
[ACPI] IPMI must supply the address of its GPE handler to install or
remove it

<[email protected]> (04/12/01 1.1988.133.6)
[ACPI] fix reboot on poweroff regression due to enabled wakeup GPEs
http://bugzilla.kernel.org/show_bug.cgi?id=3669

<[email protected]> (04/12/01 1.1988.133.5)
[ACPI] fix IRQ assignment regression with CONFIG_PNPACPI=y
http://bugzilla.kernel.org/show_bug.cgi?id=3762

<[email protected]> (04/11/30 1.1988.133.4)
[ACPI] platform_rename_gsi() is no longer limited to ACPI specific
code,
so call it ioapic_renumber_irq().

A note to google:
GSI is a Global System Interrupt -- a flat, linear, global IRQ
number.

Suggested-by Linus Torvalds

<[email protected]> (04/11/30 1.2067)
[ACPI] fix build errors resulting from auto-merge

<[email protected]> (04/11/23 1.1988.133.3)
[ACPI] survive a BIOS that erroneously supplies multiple MADTs
http://bugzilla.redhat.com/beta2/show_bug.cgi?id=135449

<[email protected]> (04/11/12 1.1988.133.2)
[ACPI] add #ifdef ACPI_FUTURE_USAGE

<[email protected]> (04/11/12 1.1988.133.1)
[ACPI] remove acpi_ksyms.c

<[email protected]> (04/11/11 1.1988.132.8)
[ACPI] remove acpi_ksyms.c

<[email protected]> (04/11/11 1.2063)

   Cset exclude: [email protected]|ChangeSet|20041111002817|28673

Cset exclude:
acme-KCZ47A4bww4P48s/[email protected][torvalds]|ChangeSet|20041111002501|29509

<[email protected]> (04/11/11 1.1988.132.7)
[ACPI] fix warnings for 64-bit video build (Luming Yu)

<[email protected]> (04/11/11 1.1988.132.6)
[ACPI] clean up the NFORCE BIOS bug workaround
delete now obsolete dmi_scan entries
fix build for ACPI & !IOAPIC

<[email protected]> (04/11/11 1.1988.132.5)
[ACPI] automatic workaround for NFORCE timer-override BIOS bug
http://bugzilla.kernel.org/show_bug.cgi?id=3551

<[email protected]> (04/11/11 1.1988.132.4)
[ACPI] migrate to seq_file() interface
http://bugzilla.kernel.org/show_bug.cgi?id=3333

<[email protected]> (04/11/11 1.1988.132.3)
[ACPI] handle out of spec EC bit width
http://bugzilla.kernel.org/show_bug.cgi?id=1744

<[email protected]> (04/11/10 1.1988.132.2)
Merge

<[email protected]> (04/11/09 1.1803.119.56)
[ACPI] fix LAPIC-mode poweroff on D600
http://bugzilla.kernel.org/show_bug.cgi?id=3643

<[email protected]> (04/11/09 1.1803.119.55)
fix non-ACPI IOAPIC build

<[email protected]> (04/11/09 1.1803.119.54)
[ACPI] acpi_pci_irq_enable() now returns 0 on success.
This bubbles all the way up to pci_enable_device().
This allows IRQ0 to be used as a legal PCI device IRQ.

The ES7000 uses an interrupt source override to assign pin20 to IRQ0. Then platform_rename_gsi assigns pin0 a high-numbered IRQ --
available
for PCI devices. But IRQ0 needs to be a legal PCI IRQ in the lookup
code
to make it as far as the re-name code.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 3 lines · Len Brown

Hi Linus, please do a

bk pull bk://linux-acpi.bkbits.net/26-latest-release

If this release is equivalent with -mm's bk-acpi.patch from 2.6.10-rc2-mm1 to 2.6.10-rc2-mm4, notice that this kernels' bk-acpi patches have the bug described in http://lkml.org/lkml/2004/11/16/263 , so I wouldn't really like to see this pull done to 2.6.10 until the problem is solved...

If you want, I can try this patch to see if it acts like bk-acpi.patch, but I guess it does...

Best Regards,
Marcos Marado

Quoted 5 lines

thanks,
-Len

ps. a plain patch is also available here:
ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/26-latest-release/acpi-20041105-26-latest-release.diff.gz

- -- /* *************************************************************** */
Marcos Daniel Marado Torres AKA Mind Booster Noori
http://student.dei.uc.pt/~marado - [email protected]
() Join the ASCII ribbon campaign against html email, Microsoft
/\ attachments and Software patents. They endanger the World.
Sign a petition against patents: http://petition.eurolinux.org
/* *************************************************************** */ -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFBsLSTmNlq8m+oD34RAsmNAJ9CZ8nYf5vAUCWgcw+8goIfCPzgMwCeJbX7 K6IwrmiNyhm3a4bYbSrXNv8=
=RMUe
-----END PGP SIGNATURE-----

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/

author
#2 lore raw
Quoted 9 lines · Marcos D. Marado Torres

If this release is equivalent with -mm's bk-acpi.patch from 2.6.10-rc2-mm1 to 2.6.10-rc2-mm4,
notice that this kernels' bk-acpi patches have the bug described in http://lkml.org/lkml/2004/11/16/263 , so I wouldn't really like to
see this pull done to 2.6.10 until the problem is solved...

If you want, I can try this patch to see if it acts like bk-acpi.patch, but I guess it does...

Please try 2.6.10-rc3, which includes this set of patches.

Yes, this set of patches includes most of what was in -mm, but not everything. Note also, that it includes some more recent patches, including a poweroff fix, that was not in the -mm patches above.

If your system still fails I'll be very interested to figure out exactly what we did to make it stop working.

thanks,
-Len

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Len Brown
Quoted 7 lines

If this release is equivalent with -mm's bk-acpi.patch from 2.6.10-rc2-mm1 to 2.6.10-rc2-mm4,
notice that this kernels' bk-acpi patches have the bug described in http://lkml.org/lkml/2004/11/16/263 , so I wouldn't really like to
see this pull done to 2.6.10 until the problem is solved...

Quoted 8 lines
Quoted 2 lines

If you want, I can try this patch to see if it acts like bk-acpi.patch, but I guess it does...

Please try 2.6.10-rc3, which includes this set of patches.

Yes, this set of patches includes most of what was in -mm, but not everything. Note also, that it includes some more recent patches, including a poweroff fix, that was not in the -mm patches above.

2.6.10-rc3 works fine, so I guess that the poweroff fix solves the problem, or the problem is in the stuff in -mm that isn't here...

I guess we'll have to wait for 2.6.10-rc3-mm1 to find out! ;-)

Mind Booster Noori

- -- /* *************************************************************** */
Marcos Daniel Marado Torres AKA Mind Booster Noori
http://student.dei.uc.pt/~marado - [email protected]
() Join the ASCII ribbon campaign against html email, Microsoft
/\ attachments and Software patents. They endanger the World.
Sign a petition against patents: http://petition.eurolinux.org
/* *************************************************************** */ -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFBs9dXmNlq8m+oD34RAnuIAKC+9Uhr/Ry+/Is+oW5MJ5/v1HgSlQCfe4TB cy/YxAM7tw91R+l+voQ9VVk=
=2y4d
-----END PGP SIGNATURE-----

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/