14 Jul, 2011

4 commits

  • Len Brown
     
  • Commit 28c2103 added new state ACPI_STATE_D3_COLD, so the device power
    states array must be expanded by one also.

    v2: Use ACPI_D_STATE_COUNT instead of number 5 for the array size.

    Reported-by: Dan Carpenter
    Suggested-by: Oldřich Jedlička
    Signed-off-by: Lin Ming
    Signed-off-by: Len Brown

    Lin Ming
     
  • The firmware on some machine will report duplicated hardware error
    source ID in HEST. This is considered a firmware bug. To provide
    better warning message, this patch adds duplicated hardware error
    source ID detecting and corresponding printk.

    This patch fixes #37412 on kernel bugzilla:
    https://bugzilla.kernel.org/show_bug.cgi?id=37412

    Reported-by: marconifabio@ubuntu-it.org
    Signed-off-by: Huang Ying
    Tested-by: Mathias
    Signed-off-by: Len Brown

    Huang Ying
     
  • All ACPICA locks are allocated by the same function,
    acpi_os_create_lock(), with the help of a local variable called
    "lock". Thus, when lockdep is enabled, it uses "lock" as the
    name of all those locks and regards them as instances of the same
    lock, which causes it to report possible locking problems with them
    when there aren't any.

    To work around this problem, define acpi_os_create_lock() as a macro
    and make it pass its argument to spin_lock_init(), so that lockdep
    uses it as the name of the new lock. Define this macron in a
    Linux-specific file, to minimize the resulting modifications of
    the OS-independent ACPICA parts.

    This change is based on an earlier patch from Andrea Righi and it
    addresses a regression from 2.6.39 tracked as
    https://bugzilla.kernel.org/show_bug.cgi?id=38152

    Signed-off-by: Rafael J. Wysocki
    Reported-and-tested-by: Borislav Petkov
    Tested-by: Andrea Righi
    Reviewed-by: Florian Mickler
    Signed-off-by: Len Brown

    Rafael J. Wysocki
     

13 Jul, 2011

4 commits

  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
    powerpc/mm: Fix memory_block_size_bytes() for non-pseries
    mm: Move definition of MIN_MEMORY_BLOCK_SIZE to a header

    Linus Torvalds
     
  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc:
    pcmcia: pxa2xx/vpac270: free gpios on exist rather than requesting
    ARM: pxa/raumfeld: fix device name for codec ak4104
    ARM: pxa/raumfeld: display initialisation fixes
    ARM: pxa/raumfeld: adapt to upcoming hardware change
    ARM: pxa: fix gpio_to_chip() clash with gpiolib namespace
    genirq: replace irq_gc_ack() with {set,clr}_bit variants (fwd)
    arm: mach-vt8500: add forgotten irq_data conversion
    ARM: pxa168: correct nand pmu setting
    ARM: pxa910: correct nand pmu setting
    ARM: pxa: fix PGSR register address calculation

    Linus Torvalds
     
  • * 'drm-intel-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/keithp/linux-2.6:
    drm/i915/ringbuffer: Idling requires waiting for the ring to be empty
    Revert "drm/i915: enable rc6 by default"
    drm/i915: Clean up i915_driver_load failure path
    drm/i915: Enable GPU reset on Ivybridge.
    drm/i915/dp: manage sink power state if possible
    drm/i915/dp: consolidate AUX retry code
    drm/i915/dp: remove DPMS mode tracking from DP
    drm/i915/dp: try to read receiver capabilities 3 times when detecting
    drm/i915/dp: read more receiver capability bits on hotplug
    drm/i915/dp: use DP DPCD defines when looking at DPCD values
    drm/i915/dp: retry link status read 3 times on failure

    Linus Torvalds
     
  • ...which is measured by the size and not the amount of space remaining.

    Waiting upon size-8, did one of two things. In the common case with more
    than 8 bytes available to write into the ring, it would return
    immediately. Otherwise, it would timeout given the impossible condition
    of waiting for more space than is available in the ring, leading to
    warnings such as:

    [drm:intel_cleanup_ring_buffer] *ERROR* failed to quiesce render ring
    whilst cleaning up: -16

    Signed-off-by: Chris Wilson
    Reviewed-by: Eric Anholt
    Signed-off-by: Keith Packard

    Chris Wilson
     

12 Jul, 2011

16 commits


11 Jul, 2011

11 commits

  • [ 191.310008] WARNING: kmemcheck: Caught 32-bit read from freed memory (f0d25f14)
    [ 191.310011] c056d2f088000000105fd2f00000000050415353040000000000000000000000
    [ 191.310020] i i i i f f f f f f f f f f f f f f f f f f f f f f f f f f f f
    [ 191.310027] ^
    [ 191.310029]
    [ 191.310032] Pid: 737, comm: modprobe Not tainted 3.0.0-rc5+ #268 Hewlett-Packard HP Compaq 6005 Pro SFF PC/3047h
    [ 191.310036] EIP: 0060:[] EFLAGS: 00010286 CPU: 0
    [ 191.310039] EIP is at hp_wmi_perform_query+0x104/0x150 [hp_wmi]
    [ 191.310041] EAX: f0d25601 EBX: f0d25f00 ECX: 000121cf EDX: 000121ce
    [ 191.310043] ESI: f0d25f10 EDI: f0f97ea8 EBP: f0f97ec4 ESP: c173f34c
    [ 191.310045] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
    [ 191.310046] CR0: 8005003b CR2: f540c000 CR3: 30f30000 CR4: 000006d0
    [ 191.310048] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
    [ 191.310050] DR6: ffff4ff0 DR7: 00000400
    [ 191.310051] [] hp_wmi_dock_state+0x2b/0x40 [hp_wmi]
    [ 191.310054] [] hp_wmi_init+0x93/0x1a8 [hp_wmi]
    [ 191.310057] [] do_one_initcall+0x30/0x170
    [ 191.310061] [] sys_init_module+0xef/0x1a60
    [ 191.310064] [] sysenter_do_call+0x12/0x28
    [ 191.310067] [] 0xffffffff

    Signed-off-by: Eric Dumazet
    Signed-off-by: Matthew Garrett

    Eric Dumazet
     
  • Using buffer->output[1] without mutex_lock()

    Signed-off-by: Jose Alonso
    Signed-off-by: Matthew Garrett

    Jose Alonso
     
  • This reverts commit a3d77411e8b2ad661958c1fbee65beb476ec6d70,

    as it causes a mess in the wireless rfkill status on some models.
    It is probably a bad idea to toggle the rfkill for all dell models
    without the respect to the claim that it is hardware-controlled.

    Cc: stable@kernel.org
    Signed-off-by: Keng-Yu Lin
    Signed-off-by: Matthew Garrett

    Keng-Yu Lin
     
  • Patch 2e711c04dbbf7a7732a3f7073b1fc285d12b369d
    (PM: Remove sysdev suspend, resume and shutdown operations)
    deleted sysdev_suspend(), which was being relied on to call
    check_wakeup_irqs() in suspend. If check_wakeup_irqs() is not
    called, wake interrupts that are pending when suspend is
    entered may be lost. It also breaks IRQCHIP_MASK_ON_SUSPEND,
    which is handled in check_wakeup_irqs().

    This patch adds a call to check_wakeup_irqs() in syscore_suspend(),
    similar to what was deleted in sysdev_suspend().

    Signed-off-by: Colin Cross
    Signed-off-by: Rafael J. Wysocki

    Colin Cross
     
  • Signed-off-by: Jonathan Cameron
    Acked-by: Marek Vasut
    Signed-off-by: Eric Miao

    Jonathan Cameron
     
  • In commit f0fba2ad (ASoC: multi-component - ASoC Multi-Component
    Support), the name of the ak4104 codec driver was changed without
    amending the platform code which uses it as well.

    Signed-off-by: Daniel Mack
    Signed-off-by: Eric Miao

    Daniel Mack
     
  • The display requires some milliseconds between GPIO_TFT_VA_EN
    and GPIO_DISPLAY_ENABLE. Reorder initialisation to comply with
    the display spec.

    Also tune timings for better compliance with the spec.

    Signed-off-by: Sven Neumann
    Acked-by: Daniel Mack
    Signed-off-by: Eric Miao

    Sven Neumann
     
  • The backlight control is going to change back to PWM in the
    upcoming Raumfeld Controller hardware revision.

    Signed-off-by: Sven Neumann
    Acked-by: Daniel Mack
    Signed-off-by: Eric Miao

    Sven Neumann
     
  • The PXA platform code has a static inline helper called
    gpio_to_chip which clashes with the gpiolib namespace if we
    try to expose the function with the same name from gpiolib,
    and it's still confusing even if we don't do that. So rename
    it to gpio_to_pxachip().

    Reported-by: H Hartley Sweeten
    Cc: Eric Miao
    Signed-off-by: Linus Walleij
    Signed-off-by: Eric Miao

    Linus Walleij
     
  • I came across a memory leak during a cyclic cpu-online-offline test.

    Signed-off-by: Yu Luming
    Cc: Len Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Dave Jones

    Luming Yu
     
  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging:
    hwmon: (pmbus) Improve auto-detection of temperature status register
    hwmon: (lm95241) Fix negative temperature results
    hwmon: (lm95241) Fix chip detection code

    Linus Torvalds
     

10 Jul, 2011

5 commits

  • It is possible that a PMBus device supports the READ_TEMPERATURE2 and/or
    READ_TEMPERATURE3 registers but does not support READ_TEMPERATURE1.
    Improve temperature status register detection to address this condition.

    Reported-by: Jean Delvare
    Signed-off-by: Guenter Roeck
    Acked-by: Jean Delvare
    Cc: stable@kernel.org # 2.6.39+

    Guenter Roeck
     
  • Negative temperatures were returned in degrees C instead of milli-Degrees C.
    Also, negative temperatures were reported for remote temperature sensors even
    if the chip was configured for positive-only results.

    Fix by detecting temperature modes, and by treating negative temperatures
    similar to positive temperatures, with appropriate sign extension.

    Signed-off-by: Guenter Roeck
    Acked-by: Jean Delvare
    Cc: stable@kernel.org # 2.6.30+

    Guenter Roeck
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: hda - Fix a copmile warning
    ASoC: ak4642: fixup snd_soc_update_bits mask for PW_MGMT2
    ALSA: hda - Change all ADCs for dual-adc switching mode for Realtek
    ASoC: Manage WM8731 ACTIVE bit as a supply widget
    ASoC: Don't set invalid name string to snd_card->driver field
    ASoC: Ensure we delay long enough for WM8994 FLL to lock when starting
    ASoC: Tegra: I2S: Ensure clock is enabled when writing regs
    ASoC: Fix Blackfin I2S _pointer() implementation return in bounds values
    ASoC: tlv320aic3x: Do soft reset to codec when going to bias off state
    ASoC: tlv320aic3x: Don't sync first two registers from register cache
    audio: tlv320aic26: fix PLL register configuration

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
    PCI: conditional resource-reallocation through kernel parameter pci=realloc

    Linus Torvalds
     
  • * 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm:
    ARM: 6994/1: smp_twd: Fix typo in 'twd_timer_rate' printing
    ARM: 6987/1: l2x0: fix disabling function to avoid deadlock
    ARM: 6966/1: ep93xx: fix inverted RTS/DTR signals on uart1
    ARM: 6980/1: mmci: use StartBitErr to detect bad connections
    ARM: 6979/1: mach-vt8500: add forgotten irq_data conversion
    ARM: move memory layout sanity checking before meminfo initialization
    ARM: 6990/1: MAINTAINERS: add entry for ARM PMU profiling and debugging
    ARM: 6989/1: perf: do not start the PMU when no events are present
    ARM: dmabounce: fix map_single() error return value

    Linus Torvalds