13 Dec, 2011

1 commit

  • This hangs my MacBook Air at boot time; I get no console
    messages at all. I reverted this on top of -rc5 and my machine
    boots again.

    This reverts commit e8c7106280a305e1ff2a3a8a4dfce141469fb039.

    Signed-off-by: Matt Fleming
    Signed-off-by: Keith Packard
    Acked-by: H. Peter Anvin
    Cc: Matthew Garrett
    Cc: Zhang Rui
    Cc: Huang Ying
    Cc: Linus Torvalds
    Cc: Andrew Morton
    Link: http://lkml.kernel.org/r/1321621751-3650-1-git-send-email-matt@console
    Signed-off-by: Ingo Molnar

    Keith Packard
     

10 Dec, 2011

1 commit

  • efi_call_phys_prelog() sets up a 1:1 mapping of the physical address
    range in swapper_pg_dir. Instead of replacing then restoring entries
    in swapper_pg_dir we should be using initial_page_table which already
    contains the 1:1 mapping.

    It's safe to blindly switch back to swapper_pg_dir in the epilog
    because the physical EFI routines are only called before
    efi_enter_virtual_mode(), e.g. before any user processes have been
    forked. Therefore, we don't need to track which pgd was in %cr3 when
    we entered the prelog.

    The previous code actually contained a bug because it assumed that the
    kernel was loaded at a physical address within the first 8MB of ram,
    usually at 0x100000. However, this isn't the case with a
    CONFIG_RELOCATABLE=y kernel which could have been loaded anywhere in
    the physical address space.

    Also delete the ancient (and bogus) comments about the page table
    being restored after the lock is released. There is no locking.

    Cc: Matthew Garrett
    Cc: Darrent Hart
    Signed-off-by: Matt Fleming
    Link: http://lkml.kernel.org/r/1323346250.3894.74.camel@mfleming-mobl1.ger.corp.intel.com
    Signed-off-by: H. Peter Anvin

    Matt Fleming
     

09 Dec, 2011

1 commit

  • If we encounter an efi_memory_desc_t without EFI_MEMORY_WB set
    in ->attribute we currently call set_memory_uc(), which in turn
    calls __pa() on a potentially ioremap'd address.

    On CONFIG_X86_32 this is invalid, resulting in the following
    oops on some machines:

    BUG: unable to handle kernel paging request at f7f22280
    IP: [] reserve_ram_pages_type+0x89/0x210
    [...]

    Call Trace:
    [] ? page_is_ram+0x1a/0x40
    [] reserve_memtype+0xdf/0x2f0
    [] set_memory_uc+0x49/0xa0
    [] efi_enter_virtual_mode+0x1c2/0x3aa
    [] start_kernel+0x291/0x2f2
    [] ? loglevel+0x1b/0x1b
    [] i386_start_kernel+0xbf/0xc8

    A better approach to this problem is to map the memory region
    with the correct attributes from the start, instead of modifying
    it after the fact. The uncached case can be handled by
    ioremap_nocache() and the cached by ioremap_cache().

    Despite first impressions, it's not possible to use
    ioremap_cache() to map all cached memory regions on
    CONFIG_X86_64 because EFI_RUNTIME_SERVICES_DATA regions really
    don't like being mapped into the vmalloc space, as detailed in
    the following bug report,

    https://bugzilla.redhat.com/show_bug.cgi?id=748516

    Therefore, we need to ensure that any EFI_RUNTIME_SERVICES_DATA
    regions are covered by the direct kernel mapping table on
    CONFIG_X86_64. To accomplish this we now map E820_RESERVED_EFI
    regions via the direct kernel mapping with the initial call to
    init_memory_mapping() in setup_arch(), whereas previously these
    regions wouldn't be mapped if they were after the last E820_RAM
    region until efi_ioremap() was called. Doing it this way allows
    us to delete efi_ioremap() completely.

    Signed-off-by: Matt Fleming
    Cc: H. Peter Anvin
    Cc: Matthew Garrett
    Cc: Zhang Rui
    Cc: Huang Ying
    Cc: Linus Torvalds
    Cc: Andrew Morton
    Link: http://lkml.kernel.org/r/1321621751-3650-1-git-send-email-matt@console-pimps.org
    Signed-off-by: Ingo Molnar

    Matt Fleming
     

05 Dec, 2011

3 commits


19 Nov, 2011

1 commit

  • * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    random: Fix handing of arch_get_random_long in get_random_bytes()
    x86: Call stop_machine_text_poke() on all CPUs
    x86, ioapic: Only print ioapic debug information for IRQs belonging to an ioapic chip
    x86/mrst: Avoid reporting wrong nmi status
    x86/mrst: Add support for Penwell clock calibration
    x86/apic: Allow use of lapic timer early calibration result
    x86/apic: Do not clear nr_irqs_gsi if no legacy irqs
    x86/platform: Add a wallclock_init func to x86_platforms ops
    x86/mce: Make mce_chrdev_ops 'static const'

    Linus Torvalds
     

12 Nov, 2011

3 commits

  • This needed the sfi IRQ 0xFF fix to go in first. It simply plumbs in the
    bma023 driver with the firmware naming of it.

    Signed-off-by: William Douglas
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    William Douglas
     
  • Real world year equals the value in vrtc YEAR register plus an offset.
    We used 1960 as the offset to make leap year consistent, but for a
    device's first use, its YEAR register is 0 and the system year will
    be parsed as 1960 which is not a valid UNIX time and will cause many
    applications to fail mysteriously. So we use 1972 instead to fix this
    issue.

    Updated patch which adds a sanity check suggested by Mathias

    This isn't a change in behaviour for systems, because 1972 is the one we
    actually use. It's the old version in upstream which is out of sync with
    all devices.

    Signed-off-by: Feng Tang
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Feng Tang
     
  • Fix a build error. CE4100 with no serial errors because the alternate
    function is only a prototype not a null function as intended.

    Signed-off-by: Zhang Rui
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Zhang Rui
     

10 Nov, 2011

2 commits

  • Moorestown/Medfield platform does not have port 0x61 to report
    NMI status, nor does it have external NMI sources. The only NMI
    sources are from lapic, as results of perf counter overflow or
    IPI, e.g. NMI watchdog or spin lock debug.

    Reading port 0x61 on Moorestown will return 0xff which misled
    NMI handlers to false critical errors such memory parity error.
    The subsequent ioport access for NMI handling can also cause
    undefined behavior on Moorestown.

    This patch allows kernel process NMI due to watchdog or backrace
    dump without unnecessary hangs.

    Signed-off-by: Jacob Pan
    Signed-off-by: Ingo Molnar
    [hand applied]
    Signed-off-by: Alan Cox

    Jacob Pan
     
  • Signed-off-by: Dirk Brandewie
    Signed-off-by: Alan Cox
    Signed-off-by: Ingo Molnar

    Dirk Brandewie
     

08 Nov, 2011

1 commit

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux:
    cpuidle: Single/Global registration of idle states
    cpuidle: Split cpuidle_state structure and move per-cpu statistics fields
    cpuidle: Remove CPUIDLE_FLAG_IGNORE and dev->prepare()
    cpuidle: Move dev->last_residency update to driver enter routine; remove dev->last_state
    ACPI: Fix CONFIG_ACPI_DOCK=n compiler warning
    ACPI: Export FADT pm_profile integer value to userspace
    thermal: Prevent polling from happening during system suspend
    ACPI: Drop ACPI_NO_HARDWARE_INIT
    ACPI atomicio: Convert width in bits to bytes in __acpi_ioremap_fast()
    PNPACPI: Simplify disabled resource registration
    ACPI: Fix possible recursive locking in hwregs.c
    ACPI: use kstrdup()
    mrst pmu: update comment
    tools/power turbostat: less verbose debugging

    Linus Torvalds
     

07 Nov, 2011

2 commits

  • * 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: (230 commits)
    Revert "tracing: Include module.h in define_trace.h"
    irq: don't put module.h into irq.h for tracking irqgen modules.
    bluetooth: macroize two small inlines to avoid module.h
    ip_vs.h: fix implicit use of module_get/module_put from module.h
    nf_conntrack.h: fix up fallout from implicit moduleparam.h presence
    include: replace linux/module.h with "struct module" wherever possible
    include: convert various register fcns to macros to avoid include chaining
    crypto.h: remove unused crypto_tfm_alg_modname() inline
    uwb.h: fix implicit use of asm/page.h for PAGE_SIZE
    pm_runtime.h: explicitly requires notifier.h
    linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
    miscdevice.h: fix up implicit use of lists and types
    stop_machine.h: fix implicit use of smp.h for smp_processor_id
    of: fix implicit use of errno.h in include/linux/of.h
    of_platform.h: delete needless include
    acpi: remove module.h include from platform/aclinux.h
    miscdevice.h: delete unnecessary inclusion of module.h
    device_cgroup.h: delete needless include
    net: sch_generic remove redundant use of
    net: inet_timewait_sock doesnt need
    ...

    Fix up trivial conflicts (other header files, and removal of the ab3550 mfd driver) in
    - drivers/media/dvb/frontends/dibx000_common.c
    - drivers/media/video/{mt9m111.c,ov6650.c}
    - drivers/mfd/ab3550-core.c
    - include/linux/dmaengine.h

    Linus Torvalds
     
  • referenced MeeGo, in particular, but really means Linux, in general.

    Signed-off-by: Len Brown

    Len Brown
     

04 Nov, 2011

1 commit

  • * 'for-next' of git://git.infradead.org/users/sameo/mfd-2.6: (80 commits)
    mfd: Fix missing abx500 header file updates
    mfd: Add missing include to intel_msic
    x86, mrst: add platform support for MSIC MFD driver
    mfd: Expose TurnOnStatus in ab8500 sysfs
    mfd: Remove support for early drop ab8500 chip
    mfd: Add support for ab8500 v3.3
    mfd: Add ab8500 interrupt disable hook
    mfd: Convert db8500-prcmu panic() into pr_crit()
    mfd: Refactor db8500-prcmu request_clock() function
    mfd: Rename db8500-prcmu init function
    mfd: Fix db5500-prcmu defines
    mfd: db8500-prcmu voltage domain consumers additions
    mfd: db8500-prcmu reset code retrieval
    mfd: db8500-prcmu tweak for modem wakeup
    mfd: Add db8500-pcmu watchdog accessor functions for watchdog
    mfd: hwacc power state db8500-prcmu accessor
    mfd: Add db8500-prcmu accessors for PLL and SGA clock
    mfd: Move to the new db500 PRCMU API
    mfd: Create a common interface for dbx500 PRCMU drivers
    mfd: Initialize DB8500 PRCMU regs
    ...

    Fix up trivial conflicts in
    arch/arm/mach-imx/mach-mx31moboard.c
    arch/arm/mach-omap2/board-omap3beagle.c
    arch/arm/mach-u300/include/mach/irqs.h
    drivers/mfd/wm831x-spi.c

    Linus Torvalds
     

01 Nov, 2011

2 commits

  • We want to clean up the chain of includes stumbling through
    module.h, and when we do that, we'll see:

    CC arch/x86/platform/efi/efi_32.o
    efi/efi_32.c: In function ‘efi_call_phys_prelog’:
    efi/efi_32.c:80: error: implicit declaration of function ‘get_cpu_gdt_table’
    efi/efi_32.c:82: error: implicit declaration of function ‘load_gdt’
    make[4]: *** [arch/x86/platform/efi/efi_32.o] Error 1

    Include asm/desc.h so that there are no implicit include assumptions.

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     
  • These files were implicitly getting EXPORT_SYMBOL via device.h
    which was including module.h, but that will be fixed up shortly.

    By fixing these now, we can avoid seeing things like:

    arch/x86/kernel/rtc.c:29: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
    arch/x86/kernel/pci-dma.c:20: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
    arch/x86/kernel/e820.c:69: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’

    [ with input from Randy Dunlap and also
    from Stephen Rothwell ]

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     

28 Oct, 2011

2 commits


26 Oct, 2011

1 commit

  • * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (79 commits)
    TTY: serial_core: Fix crash if DCD drop during suspend
    tty/serial: atmel_serial: bootconsole removed from auto-enumerates
    Revert "TTY: call tty_driver_lookup_tty unconditionally"
    tty/serial: atmel_serial: add device tree support
    tty/serial: atmel_serial: auto-enumerate ports
    tty/serial: atmel_serial: whitespace and braces modifications
    tty/serial: atmel_serial: change platform_data variable name
    tty/serial: RS485 bindings for device tree
    TTY: call tty_driver_lookup_tty unconditionally
    TTY: pty, release tty in all ptmx_open fail paths
    TTY: make tty_add_file non-failing
    TTY: drop driver reference in tty_open fail path
    8250_pci: Fix kernel panic when pch_uart is disabled
    h8300: drivers/serial/Kconfig was moved
    parport_pc: release IO region properly if unsupported ITE887x card is found
    tty: Support compat_ioctl get/set termios_locked
    hvc_console: display printk messages on console.
    TTY: snyclinkmp: forever loop in tx_load_dma_buffer()
    tty/n_gsm: avoid fifo overflow in gsm_dlci_data_output
    tty/n_gsm: fix a bug in gsm_dlci_data_output (adaption = 2 case)
    ...

    Fix up Conflicts in:
    - drivers/tty/serial/8250_pci.c
    Trivial conflict with removed duplicate device ID
    - drivers/tty/serial/atmel_serial.c
    Annoying silly conflict between "specify the port num via
    platform_data" and other changes to atmel_console_init

    Linus Torvalds
     

24 Oct, 2011

2 commits

  • The MSIC MFD driver creates platform devices for MSIC device drivers so we
    don't need to create them in platform code anymore.

    This patch adds a new runtime check which determines whether we are running
    on a Medfield platform and enables the MSIC MFD driver accordingly.

    Signed-off-by: Mika Westerberg
    Signed-off-by: Samuel Ortiz

    Mika Westerberg
     
  • Add a notifier so that drivers can hook into SCU availability in order to
    take actions post initialisation when/if the SCU becomes available.

    In the ideal world we wouldn't need this and we could avoid any init
    dependancies of this form, but in practice we can't do it for some cases.

    Signed-off-by: Alan Cox
    Signed-off-by: Samuel Ortiz

    Alan Cox
     

14 Oct, 2011

1 commit

  • SFI tables reside in RAM and should not be modified once they are
    written. Current code went to set pentry->irq to zero which causes
    subsequent reads to fail with invalid SFI table checksum. This will
    break kexec as the second kernel fails to validate SFI tables.

    To fix this we use temporary variable for irq number.

    Signed-off-by: Mika Westerberg
    Reviewed-by: Kirill A. Shutemov
    Cc: stable@kernel.org
    Signed-off-by: Linus Torvalds

    Mika Westerberg
     

21 Sep, 2011

3 commits

  • A deadlock was introduced on x86 in commit ef68c8f87ed1 ("x86:
    Serialize EFI time accesses on rtc_lock") because efi_get_time()
    and friends can be called with rtc_lock already held by
    read_persistent_time(), e.g.:

    timekeeping_init()
    read_persistent_clock()

    To fix this let's push the locking down into the get_wallclock()
    and set_wallclock() implementations. Only the clock
    implementations that access the x86 RTC directly need to acquire
    rtc_lock, so it makes sense to push the locking down into the
    rtc, vrtc and efi code.

    The virtualization implementations don't require rtc_lock to be
    held because they provide their own serialization.

    Signed-off-by: Matt Fleming
    Acked-by: Jan Beulich
    Acked-by: Avi Kivity [for the virtualization aspect]
    Cc: "H. Peter Anvin"
    Cc: Zhang Rui
    Cc: Josh Boyer
    Signed-off-by: Andrew Morton
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar

    Matt Fleming
     
  • This is a workaround for a UV2 hub bug that affects the format of system
    global addresses.

    The GRU API for UV2 was inadvertently broken by a hardware change. The
    format of the physical address used for TLB dropins and for addresses used
    with instructions running in unmapped mode has changed. This change was
    not documented and became apparent only when diags failed running on
    system simulators.

    For UV1, TLB and GRU instruction physical addresses are identical to
    socket physical addresses (although high NASID bits must be OR'ed into the
    address).

    For UV2, socket physical addresses need to be converted. The NODE portion
    of the physical address needs to be shifted so that the low bit is in bit
    39 or bit 40, depending on an MMR value.

    It is not yet clear if this bug will be fixed in a silicon respin. If it
    is fixed, the hub revision will be incremented & the workaround disabled.

    Signed-off-by: Jack Steiner
    Cc: Ingo Molnar
    Cc: "H. Peter Anvin"
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Thomas Gleixner

    Jack Steiner
     
  • This new driver replaces the old PCEngines Alix 2/3 LED driver with a
    new driver that controls the LEDs through the leds-gpio driver. The
    old driver accessed GPIOs directly, which created a conflict and
    prevented also loading the cs5535-gpio driver to read other GPIOs on
    the Alix board. With this new driver, we hook into leds-gpio which in
    turn uses GPIO to control the LEDs and therefore it's possible to
    control both the LEDs and access onboard GPIOs

    Driver is moved to platform/geode as requested by Grant and any other
    geode initialisation modules should move here also

    This driver is inspired by leds-net5501.c by Alessandro Zummo.

    Ideally, leds-net5501.c should also be moved to platform/geode.
    Additionally the driver relies on parts of the patch: 7f131cf3ed ("leds:
    leds-alix2c - take port address from MSR) by Daniel Mack to perform
    detection of the Alix board.

    [akpm@linux-foundation.org: include module.h]

    Signed-off-by: Ed Wildgoose
    Cc: git@wildgooses.com
    Cc: Alessandro Zummo
    Cc: Daniel Mack
    Cc: Ingo Molnar
    Cc: "H. Peter Anvin"
    Cc: Richard Purdie
    Reviewed-by: Grant Likely
    Signed-off-by: Andrew Morton
    Signed-off-by: Thomas Gleixner

    Ed Wildgoose
     

27 Aug, 2011

2 commits

  • Those info will be used when spi controller driver setup
    max3110 as a slave device

    Signed-off-by: Feng Tang
    Signed-off-by: Alan Cox
    Signed-off-by: Dirk Brandewie
    Signed-off-by: Greg Kroah-Hartman

    Feng Tang
     
  • According to the SFI specification irq number 0xFF means device has no
    interrupt or interrupt attached via GPIO.

    Currently, we don't handle this special case and set irq field in
    *_board_info structs to 255. It leads to confusion in some drivers.
    Accelerometer driver tries to register interrupt 255, fails and prints
    "Cannot get IRQ" to dmesg.

    Signed-off-by: Kirill A. Shutemov
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Kirill A. Shutemov
     

06 Aug, 2011

1 commit

  • When executing EC commands, only waiting when there are still
    more bytes to write is usually fine. However, if the system
    suspends very quickly after a call to olpc_ec_cmd(), the last
    data byte may not yet be transferred to the EC, and the command
    will not complete.

    This solves a bug where the SCI wakeup mask was not correctly
    written when going into suspend.

    It means that sometimes, on XO-1.5 (but not XO-1), the
    devices that were marked as wakeup sources can't wake up
    the system. e.g. you ask for wifi wakeups, suspend, but then
    incoming wifi frames don't wake up the system as they should.

    Signed-off-by: Paul Fox
    Signed-off-by: Daniel Drake
    Acked-by: Andres Salomon
    Cc:
    Signed-off-by: Ingo Molnar

    Paul Fox
     

04 Aug, 2011

2 commits

  • * 'idle-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-idle-2.6:
    cpuidle: stop depending on pm_idle
    x86 idle: move mwait_idle_with_hints() to where it is used
    cpuidle: replace xen access to x86 pm_idle and default_idle
    cpuidle: create bootparam "cpuidle.off=1"
    mrst_pmu: driver for Intel Moorestown Power Management Unit

    Linus Torvalds
     
  • The Moorestown (MRST) Power Management Unit (PMU) driver
    directs the SOC power states in the "Langwell" south complex (SCU).

    It hooks pci_platform_pm_ops[] and thus observes all PCI ".set_state"
    requests. For devices in the SC, the pmu driver translates those
    PCI requests into the appropriate commands for the SCU.

    The PMU driver helps implement S0i3, a deep system idle power idle state.
    Entry into S0i3 is via cpuidle, just like regular processor c-states.
    S0i3 depends on pre-conditions including uni-processor, graphics off,
    and certain IO devices in the SC must be off. If those pre-conditions
    are met, then the PMU allows cpuidle to enter S0i3, otherwise such requests
    are demoted, either to Atom C4 or Atom C6.

    This driver is based on prototype work by Bruce Flemming,
    Illyas Mansoor, Rajeev D. Muralidhar, Vishwesh M. Rudramuni,
    Hari Seshadri and Sujith Thomas. The current driver also
    includes contributions from H. Peter Anvin, Arjan van de Ven,
    Kristen Accardi, and Yong Wang.

    Thanks for additional review feedback from Alan Cox and Randy Dunlap.

    Acked-by: Alan Cox
    Acked-by: H. Peter Anvin
    Signed-off-by: Len Brown

    Len Brown
     

27 Jul, 2011

1 commit

  • * 'x86-olpc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, olpc-xo15-sci: Enable EC wakeup capability
    x86, olpc: Fix dependency on POWER_SUPPLY
    x86, olpc: Add XO-1.5 SCI driver
    x86, olpc: Add XO-1 RTC driver
    x86, olpc-xo1-sci: Propagate power supply/battery events
    x86, olpc-xo1-sci: Add lid switch functionality
    x86, olpc-xo1-sci: Add GPE handler and ebook switch functionality
    x86, olpc: EC SCI wakeup mask functionality
    x86, olpc: Add XO-1 SCI driver and power button control
    x86, olpc: Add XO-1 suspend/resume support
    x86, olpc: Rename olpc-xo1 to olpc-xo1-pm
    x86, olpc: Move CS5536-related constants to cs5535.h
    x86, olpc: Add missing elements to device tree

    Linus Torvalds
     

25 Jul, 2011

1 commit

  • Some recent changes to the way that ACPI handles wakeup flags
    means that the XO15EC ACPI device is not wakeup-capable by
    default so device_set_wakeup_enable() does nothing.

    Use device_init_wakeup() to mark the device as wakeup capable,
    and to enable wakeups.

    Signed-off-by: Daniel Drake
    Link: http://lkml.kernel.org/r/20110724173430.BE03C9D401C@zog.reactivated.net
    Signed-off-by: Ingo Molnar

    Daniel Drake
     

23 Jul, 2011

3 commits


21 Jul, 2011

1 commit

  • The EFI specification requires that callers of the time related
    runtime functions serialize with other CMOS accesses in the
    kernel, as the EFI time functions may choose to also use the
    legacy CMOS RTC.

    Besides fixing a latent bug, this is a prerequisite to safely
    enable the rtc-efi driver for x86, which ought to be preferred
    over rtc-cmos on all EFI platforms.

    Signed-off-by: Jan Beulich
    Acked-by: Matthew Garrett
    Cc:
    Link: http://lkml.kernel.org/r/4E257E33020000780004E319@nat28.tlf.novell.com
    Signed-off-by: Ingo Molnar
    Cc: Matthew Garrett

    Jan Beulich
     

07 Jul, 2011

2 commits

  • Testing suggests that at least some Lenovos and some Intels will
    fail to reboot via EFI, attempting to jump to an unmapped
    physical address. In the long run we could handle this by
    providing a page table with a 1:1 mapping of physical addresses,
    but for now it's probably just easier to assume that ACPI or
    legacy methods will be present and reboot via those.

    Signed-off-by: Matthew Garrett
    Cc: Linus Torvalds
    Cc: Andrew Morton
    Cc: Alan Cox
    Link: http://lkml.kernel.org/r/1309985557-15350-1-git-send-email-mjg@redhat.com
    Signed-off-by: Ingo Molnar

    Matthew Garrett
     
  • Add a driver for the ACPI-based EC event interface found on the
    OLPC XO-1.5 laptop. This enables notification of battery/AC power events,
    and enables various devices to be used as wakeup sources through regular
    ACPI mechanisms.

    This driver can't be built as a module, because some drivers need to know
    at boot-time if SCI-based functionality is available via
    olpc_ec_wakeup_available().

    Signed-off-by: Daniel Drake
    Link: http://lkml.kernel.org/r/1309019658-1712-12-git-send-email-dsd@laptop.org
    Acked-by: Andres Salomon
    Signed-off-by: H. Peter Anvin

    Daniel Drake