1. 04 6月, 2008 1 次提交
  2. 27 4月, 2008 1 次提交
  3. 26 4月, 2008 1 次提交
  4. 17 4月, 2008 7 次提交
  5. 22 2月, 2008 1 次提交
  6. 07 2月, 2008 1 次提交
    • A
      ACPI: misc cleanups · e5685b9d
      Adrian Bunk 提交于
          This patch contains the following possible cleanups:
          - make the following needlessly global code static:
            - drivers/acpi/bay.c:dev_attr_eject
            - drivers/acpi/bay.c:dev_attr_present
            - drivers/acpi/dock.c:dev_attr_docked
            - drivers/acpi/dock.c:dev_attr_flags
            - drivers/acpi/dock.c:dev_attr_uid
            - drivers/acpi/dock.c:dev_attr_undock
            - drivers/acpi/pci_bind.c:acpi_pci_unbind()
            - drivers/acpi/pci_link.c:acpi_link_lock
            - drivers/acpi/sbs.c:acpi_sbs_callback()
            - drivers/acpi/sbshc.c:acpi_smbus_transaction()
            - drivers/acpi/sleep/main.c:acpi_sleep_prepare()
          - #if 0 the following unused global functions:
            - drivers/acpi/numa.c:acpi_unmap_pxm_to_node()
          - remove the following unused EXPORT_SYMBOL's:
            - acpi_register_gsi
            - acpi_unregister_gsi
            - acpi_strict
            - acpi_bus_receive_event
            - register_acpi_bus_type
            - unregister_acpi_bus_type
            - acpi_os_printf
            - acpi_os_sleep
            - acpi_os_stall
            - acpi_os_read_pci_configuration
            - acpi_os_create_semaphore
            - acpi_os_delete_semaphore
            - acpi_os_wait_semaphore
            - acpi_os_signal_semaphore
            - acpi_os_signal
            - acpi_pci_irq_enable
            - acpi_get_pxm
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Acked-by: NAlexey Starikovskiy <astarikovskiy@suse.de>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      e5685b9d
  7. 02 2月, 2008 1 次提交
    • S
      x86: fix section mismatch warning in acpi/boot.c · 009cbadb
      Sam Ravnborg 提交于
      Fix following warning:
      WARNING: o-x86_64/arch/x86/kernel/built-in.o(.text+0x13d15): Section mismatch in reference from the function acpi_map_lsapic() to the function .cpuinit.text:mp_register_lapic()
      
      The function acpi_map_lsapic() is exported and thus not annotated.
      But the sole user is acpi/processor_core.c in a __cpuinit path.
      So create a small wrapper and put back the annotation thus
      avoiding the warning.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      009cbadb
  8. 14 12月, 2007 2 次提交
  9. 17 11月, 2007 1 次提交
    • T
      x86: add hpet sanity checks · f4df73c2
      Thomas Gleixner 提交于
      Some BIOSes advertise HPET at 0x0. We really do no want to 
      allocate a resource there. Check for it and leave early.
      
      Other BIOSes tell us the HPET is at 0xfed0000000000000 
      instead of 0xfed00000. Add a check and fix it up with a warning
      on user request.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      f4df73c2
  10. 20 10月, 2007 2 次提交
  11. 11 10月, 2007 1 次提交
  12. 10 10月, 2007 1 次提交
    • J
      drivers/firmware: const-ify DMI API and internals · 1855256c
      Jeff Garzik 提交于
      Three main sets of changes:
      
      1) dmi_get_system_info() return value should have been marked const,
         since callers should not be changing that data.
      
      2) const-ify DMI internals, since DMI firmware tables should,
         whenever possible, be marked const to ensure we never ever write to
         that data area.
      
      3) const-ify DMI API, to enable marking tables const where possible
         in low-level drivers.
      
      And if we're really lucky, this might enable some additional
      optimizations on the part of the compiler.
      
      The bulk of the changes are #2 and #3, which are interrelated.  #1 could
      have been a separate patch, but it was so small compared to the others,
      it was easier to roll it into this changeset.
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      1855256c
  13. 22 7月, 2007 1 次提交
  14. 04 7月, 2007 2 次提交
    • L
      Remove some unused variables · ba609a9d
      Linus Torvalds 提交于
      When Andi reverted the HPET resource reservation (in commit
      0f8dc2f0), he didn't remove the now
      unused variables, which just causes gcc to be noisy.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ba609a9d
    • A
      Revert HPET resource reservation · 0f8dc2f0
      Andi Kleen 提交于
      Matthias Lenk reports that the PCI subsystem would move the HPET on
      SB400/SB600-based systems, where the HPET is in BAR1 of the SMbus
      controller.
      
      The reason? The ACPI layer registered the PCI MMIO range as being busy
      too early, before PCI enumeration had happened, causing the PCI layer to
      decide that it should relocate the resources somewhere else.
      
      Firmware resources should be marked busy _after_ the PCI enumeration and
      probing has happened, not before.
      
      Remove the too-early reservation, we'll fix it up to do it properly
      later.  In the meantime, this solves the regression.
      Tested-by: NMatthias Lenk <matthias.lenk@amd.com>
      Cc: Aaron Durbin <adurbin@google.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0f8dc2f0
  15. 02 6月, 2007 1 次提交
    • T
      ACPI: Remove Dell Optiplex GX240 from the ACPI blacklist · 4d2fafd1
      Tear 提交于
      I have a Dell Optiplex GX240 and when I boot Linux, ACPI gets set up by only
      acpi=ht.  dmesg shows the following line:
      
         DELL GX240 detected: force use of acpi=ht
      
      Everything seemed to be fine.  However, I discovered that everything is not
      fine.  The USB controller works so slowly that copying a few (uncached) 1
      megabyte large photos from a USB-enabled digital camera takes many minutes
      instead of a couple of seconds.
      
      I am using Linux 2.6.21.1 on a Debian 4.0 ("Etch") system.
      
      I thought that this might be related to ACPI.  So I tried to boot with _only_
      "acpi=force" appended to the kernel command line.  Voila, the USB controller
      started to work at full speed and copying photos from my digital camera took
      only seconds.
      
      I tested the system with "acpi=force" and could not find anything which did
      not work.
      
      I thought that this might be related to interrupts and APIC as well.  (Note
      that this is APIC, not ACPI.) I tried booting with _only_ "noapic" and
      "nolapic" appended to the command line.  Again, the USB controller started to
      work at full speed.
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      4d2fafd1
  16. 03 5月, 2007 1 次提交
  17. 08 3月, 2007 1 次提交
  18. 17 2月, 2007 2 次提交
  19. 13 2月, 2007 1 次提交
  20. 03 2月, 2007 7 次提交
  21. 02 1月, 2007 1 次提交
    • L
      ACPI: fix section mis-match build warning · e82c354b
      Len Brown 提交于
      Dunno why this pops out in only in the allmodconfig build.
      Though the warning is accurate, all the callers of the flagged
      non __init function are __init, this is not a functional change.
      
      WARNING: vmlinux - Section mismatch: reference to .init.data:acpi_sci_flags from .text between 'acpi_sci_ioapic_setup' (at offset 0xc010f0a
      6) and 'acpi_gsi_to_irq'                                                                                                                   WARNING: vmlinux - Section mismatch: reference to .init.text:mp_override_legacy_irq from .text between 'acpi_sci_ioapic_setup' (at offset 0
      xc010f0de) and 'acpi_gsi_to_irq'                                                                                                           WARNING: vmlinux - Section mismatch: reference to .init.data:acpi_sci_override_gsi from .text between 'acpi_sci_ioapic_setup' (at offset 0x
      c010f0e4) and 'acpi_gsi_to_irq'
      Signed-off-by: NLen Brown <len.brown@intel.com>
      e82c354b
  22. 02 12月, 2006 1 次提交
  23. 14 11月, 2006 1 次提交
    • A
      [PATCH] x86: Add acpi_user_timer_override option for Asus boards · fa18f477
      Andi Kleen 提交于
      Timer overrides are normally disabled on Nvidia board because
      they are commonly wrong, except on new ones with HPET support.
      Unfortunately there are quite some Asus boards around that
      don't have HPET, but need a timer override.
      
      We don't know yet how to handle this transparently,
      but at least add a command line option to force the timer override
      and let them boot.
      
      Cc: len.brown@intel.com
      Signed-off-by: NAndi Kleen <ak@suse.de>
      fa18f477
  24. 04 11月, 2006 1 次提交