24 Oct, 2013

6 commits

  • In latest UEFI spec(by now it's 2.4) there are some new
    fields for memory error reporting. Add these new fields for
    ghes_edac interface.

    Signed-off-by: Chen, Gong
    Cc: Mauro Carvalho Chehab
    Signed-off-by: Tony Luck

    Chen, Gong
     
  • Memory error reporting is much too verbose. Most users do not care about
    the DIMM internal bank/row/column information. Downgrade the fine details
    to "pr_debug" status so that those few who do care can get them if they
    really want to. The detail information will be later be provided by
    perf/trace interface.
    Since things are still a bit scary, and users are sometimes overly
    nervous, provide a reassuring message that corrected errors do not
    generally require any further action.

    Suggested-by: Tony Luck
    Signed-off-by: Chen, Gong
    Reviewed-by: Mauro Carvalho Chehab
    Signed-off-by: Tony Luck

    Chen, Gong
     
  • After H/W error happens under FFM enabled mode, lots of information
    are shown but new fields added by UEFI 2.4 (e.g. DIMM location) need to
    be added.

    Original-author: Tony Luck
    Signed-off-by: Chen, Gong
    Acked-by: Naveen N. Rao
    Acked-by: Borislav Petkov
    Reviewed-by: Mauro Carvalho Chehab
    Signed-off-by: Tony Luck

    Chen, Gong
     
  • In latest UEFI spec(by now it is 2.4) memory error definition
    for CPER (UEFI 2.4 Appendix N Common Platform Error Record)
    adds some new fields. These fields help people to locate
    memory error to an actual DIMM location.

    Original-author: Tony Luck
    Signed-off-by: Chen, Gong
    Reviewed-by: Borislav Petkov
    Reviewed-by: Mauro Carvalho Chehab
    Acked-by: Naveen N. Rao
    Signed-off-by: Tony Luck

    Chen, Gong
     
  • This patch adds a new interface to decode memory device (type 17)
    to help error reporting on DIMMs.

    Original-author: Tony Luck
    Signed-off-by: Chen, Gong
    Acked-by: Naveen N. Rao
    Acked-by: Borislav Petkov
    Reviewed-by: Mauro Carvalho Chehab
    Signed-off-by: Tony Luck

    Chen, Gong
     
  • This H/W error log driver (a.k.a eMCA driver) is implemented based on
    http://www.intel.com/content/www/us/en/architecture-and-technology/enhanced-mca-logging-xeon-paper.html

    After errors are captured, more detailed platform specific information
    can be got via this new enhanced H/W error log driver. Most notably we
    can track memory errors back to the DIMM slot silk screen label.

    Signed-off-by: Chen, Gong
    Signed-off-by: Tony Luck

    Chen, Gong
     

22 Oct, 2013

3 commits

  • GENMASK is used to create a contiguous bitmask([hi:lo]). It is
    implemented twice in current kernel. One is in EDAC driver, the other
    is in SiS/XGI FB driver. Move it to a more generic place for other
    usage.

    Signed-off-by: Chen, Gong
    Cc: Borislav Petkov
    Cc: Thomas Winischhofer
    Cc: Jean-Christophe Plagniol-Villard
    Cc: Tomi Valkeinen
    Acked-by: Borislav Petkov
    Acked-by: Mauro Carvalho Chehab
    Signed-off-by: Tony Luck

    Chen, Gong
     
  • We have a lot of confusing names of functions and data structures in
    amongs the the error reporting code. In particular the "apei" prefix
    has been applied to many objects that are not part of APEI. Since we
    will be using these routines for extended error log reporting it will
    be clearer if we fix up the names first.

    Signed-off-by: Chen, Gong
    Acked-by: Borislav Petkov
    Reviewed-by: Mauro Carvalho Chehab
    Signed-off-by: Tony Luck

    Chen, Gong
     
  • Commit aaf9d93be71c:
    ACPI / APEI: fix error status check condition for CPER
    only catches condition check before print, but a similar check is
    needed during printing CPER error sections.

    Signed-off-by: Chen, Gong
    Reviewed-by: Borislav Petkov
    Reviewed-by: Mauro Carvalho Chehab
    Signed-off-by: Tony Luck

    Chen, Gong
     

19 Oct, 2013

1 commit

  • Pull ACPI and power management fixes from Rafael Wysocki:

    - intel_pstate fix for misbehavior after system resume if sysfs
    attributes are set in a specific way before the corresponding suspend
    from Dirk Brandewie.

    - A recent intel_pstate fix has no effect if unsigned long is 32-bit,
    so fix it up to cover that case as well.

    - The s3c64xx cpufreq driver was not updated when the index field of
    struct cpufreq_frequency_table was replaced with driver_data, so
    update it now. From Charles Keepax.

    - The Kconfig help text for ACPI_BUTTON still refers to
    /proc/acpi/event that has been dropped recently, so modify it to
    remove that reference. From Krzysztof Mazur.

    - A Lan Tianyu's change adds a missing mutex unlock to an error code
    path in acpi_resume_power_resources().

    - Some code related to ACPI power resources, whose very purpose is
    questionable to put it lightly, turns out to cause problems to happen
    during testing on real systems, so remove it completely (we may
    revisit that in the future if there's a compelling enough reason).
    From Rafael J Wysocki and Aaron Lu.

    * tag 'pm+acpi-3.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    ACPI / PM: Drop two functions that are not used any more
    ATA / ACPI: remove power dependent device handling
    cpufreq: s3c64xx: Rename index to driver_data
    ACPI / power: Drop automaitc resume of power resource dependent devices
    intel_pstate: Fix type mismatch warning
    cpufreq / intel_pstate: Fix max_perf_pct on resume
    ACPI: remove /proc/acpi/event from ACPI_BUTTON help
    ACPI / power: Release resource_lock after acpi_power_get_state() return error

    Linus Torvalds
     

18 Oct, 2013

7 commits

  • * acpi-fixes:
    ACPI / PM: Drop two functions that are not used any more
    ATA / ACPI: remove power dependent device handling
    ACPI / power: Drop automaitc resume of power resource dependent devices
    ACPI: remove /proc/acpi/event from ACPI_BUTTON help
    ACPI / power: Release resource_lock after acpi_power_get_state() return error

    Rafael J. Wysocki
     
  • Pull driver core fix from Greg KH:
    "Here is one fix for the hotplug memory path that resolves a regression
    when removing memory that showed up in 3.12-rc1"

    * tag 'driver-core-3.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
    driver core: Release device_hotplug_lock when store_mem_state returns EINVAL

    Linus Torvalds
     
  • Pull USB fixes from Greg KH:
    "Here are some USB fixes and new device ids for 3.12-rc6

    The largest change here is a bunch of new device ids for the option
    USB serial driver for new Huawei devices. Other than that, just some
    small bug fixes for issues that people have reported (run-time and
    build-time), nothing major"

    * tag 'usb-3.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
    usb: usb_phy_gen: refine conditional declaration of usb_nop_xceiv_register
    usb: misc: usb3503: Fix compile error due to incorrect regmap depedency
    usb/chipidea: fix oops on memory allocation failure
    usb-storage: add quirk for mandatory READ_CAPACITY_16
    usb: serial: option: blacklist Olivetti Olicard200
    USB: quirks: add touchscreen that is dazzeled by remote wakeup
    Revert "usb: musb: gadget: fix otg active status flag"
    USB: quirks.c: add one device that cannot deal with suspension
    USB: serial: option: add support for Inovia SEW858 device
    USB: serial: ti_usb_3410_5052: add Abbott strip port ID to combined table as well.
    USB: support new huawei devices in option.c
    usb: musb: start musb on the udc side, too
    xhci: Fix spurious wakeups after S5 on Haswell
    xhci: fix write to USB3_PSSEN and XUSB2PRM pci config registers
    xhci: quirk for extra long delay for S4
    xhci: Don't enable/disable RWE on bus suspend/resume.

    Linus Torvalds
     
  • Pull serial driver fixes from Greg KH:
    "Here are two serial driver fixes for your tree. One is a revert of a
    patch that causes a build error, the other is a fix to provide the
    correct brace placement which resolves a bug where the driver was not
    working properly"

    * tag 'tty-3.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
    serial: vt8500: add missing braces
    Revert "serial: i.MX: evaluate linux,stdout-path property"

    Linus Torvalds
     
  • Pull char/misc driver fixes from Greg KH:
    "Here are some small iio and w1 driver fixes for 3.12-rc6.

    There is also a hyper-v fix in here, which turned out to be incorrect,
    so it was reverted. That will probably have to wait unto 3.13-rc1 to
    get accepted as it's still being discussed"

    * tag 'char-misc-3.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
    Revert "Drivers: hv: vmbus: Fix a bug in channel rescind code"
    Drivers: hv: vmbus: Fix a bug in channel rescind code
    iio:buffer: Free active scan mask in iio_disable_all_buffers()
    iio: frequency: adf4350: add missing clk_disable_unprepare() on error in adf4350_probe()
    w1 - call request_module with w1 master mutex unlocked
    w1 - fix fops in w1_bus_notify

    Linus Torvalds
     
  • …/jic23/iio into char-misc-linus

    Jonathan writes:

    Third set of IIO fixes for the 3.12 cycle.

    Two little ones this time:

    1) A missing clk_unprepare in adf4350.
    2) A missing free of the active_scan_mask when iio_disable_all_buffers is
    called during an unexpected device removal. This leak was introduced by
    the fix
    a87c82e454f184a9473f8cdfd4d304205f585f65 iio: Stop sampling when the device is removed
    and hence is a regression fix.

    Greg Kroah-Hartman
     
  • This reverts commit 90d33f3ec519db19d785216299a4ee85ef58ec97 as it's not
    the correct fix for this issue, and it causes a build warning to be
    added to the kernel tree.

    Cc: K. Y. Srinivasan
    Cc:
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

17 Oct, 2013

15 commits

  • Two functions defined in device_pm.c, acpi_dev_pm_add_dependent()
    and acpi_dev_pm_remove_dependent(), have no callers and may be
    dropped, so drop them.

    Moreover, they are the only functions adding entries to and removing
    entries from the power_dependent list in struct acpi_device, so drop
    that list too.

    Signed-off-by: Rafael J. Wysocki

    Rafael J. Wysocki
     
  • Previously, we wanted SCSI devices corrsponding to ATA devices to
    be runtime resumed when the power resource for those ATA device was
    turned on by some other device, so we added the SCSI device to the
    dependent device list of the ATA device's ACPI node. However, this
    code has no effect after commit 41863fc (ACPI / power: Drop automaitc
    resume of power resource dependent devices) and the mechanism it was
    supposed to implement is regarded as a bad idea now, so drop it.

    [rjw: Changelog]
    Signed-off-by: Aaron Lu
    Signed-off-by: Rafael J. Wysocki

    Aaron Lu
     
  • When inserting a wrong value to /sys/devices/system/memory/memoryX/state file,
    following messages are shown. And device_hotplug_lock is never released.

    ================================================
    [ BUG: lock held when returning to user space! ]
    3.12.0-rc4-debug+ #3 Tainted: G W
    ------------------------------------------------
    bash/6442 is leaving the kernel with locks still held!
    1 lock held by bash/6442:
    #0: (device_hotplug_lock){+.+.+.}, at: [] lock_device_hotplug_sysfs+0x15/0x50

    This issue was introdued by commit fa2be40 (drivers: base: use standard
    device online/offline for state change).

    This patch releases device_hotplug_lcok when store_mem_state returns EINVAL.

    Signed-off-by: Yasuaki Ishimatsu
    Reviewed-by: Toshi Kani
    CC: Seth Jennings
    Signed-off-by: Greg Kroah-Hartman

    Yasuaki Ishimatsu
     
  • Pull device-mapper fix from Alasdair Kergon:
    "A patch to avoid data corruption in a device-mapper snapshot.

    This is primarily a data corruption bug that all users of
    device-mapper snapshots will want to fix. The CVE is due to a data
    leak under specific circumstances if, for example, the snapshot is
    presented to a virtual machine: a block written as data inside the VM
    can get interpreted incorrectly on the host outside the VM as
    metadata, causing the host to provide the VM with access to blocks it
    would not otherwise see. This is likely to affect few, if any,
    people"

    * tag 'dm-3.12-fix-cve' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
    dm snapshot: fix data corruption

    Linus Torvalds
     
  • Pull gpio fixes from Linus Walleij:
    "Three GPIO fixes for the v3.12 series:
    - A fix to the Lynxpoint IRQ handler
    - Two late fixes to fallout from the gpiod refactoring"

    * tag 'gpio-v3.12-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
    gpiolib: let gpiod_request() return -EPROBE_DEFER
    gpiolib: safer implementation of desc_to_gpio()
    gpio/lynxpoint: check if the interrupt is enabled in IRQ handler

    Linus Torvalds
     
  • The index field of cpufreq_frequency_table has been renamed to
    driver_data by commit 5070158 (cpufreq: rename index as driver_data
    in cpufreq_frequency_table).

    This patch updates the s3c64xx driver to match.

    Signed-off-by: Charles Keepax
    Cc: 3.11+ # 3.11+
    Signed-off-by: Rafael J. Wysocki

    Charles Keepax
     
  • The mechanism causing devices depending on a given power resource
    (that is, devices that can be in D0 only if that power resource is
    on) to be resumed automatically when the power resource is turned
    on (and their "inferred" power state becomes D0 as a result) is
    inherently racy and in fact unnecessary.

    It is racy, because if the power resource is turned on and then
    immediately off, the device resume triggered by the first transition
    to "on" may still happen, causing the power resource to be turned
    on again. That again will trigger the "resume of dependent devices"
    mechanism, but if the devices in question are not in use, they will
    be suspended in the meantime causing the power resource to be turned
    off. However, the "resume of dependent devices" will next resume
    them again and so on. In some cases (USB port PM in particular) that
    leads to an endless busy loop of flipping the resource on and off
    continuously.

    It is needless, because whoever turns a power resource on will most
    likely turn it off at some point and the devices that go into "D0"
    as a result of turning it on will then go back into D3cold
    (generally, the state they were in before).

    Moreover, turning on all power resources a device needs to go into
    D0 is not sufficient for a full transition into D0 in general.
    Namely, _PS0 may need to be executed in addition to that in some
    cases. This means that the whole rationale of the "resume of
    dependent devices" mechanism was incorrect to begin with and it's
    best to remove it entirely.

    Signed-off-by: Rafael J. Wysocki

    Rafael J. Wysocki
     
  • The expression in line 398 of intel_pstate.c causes the following
    warning to be emitted:

    drivers/cpufreq/intel_pstate.c:398:3: warning: left shift count >= width of type

    which happens because unsigned long is 32-bit on some architectures.

    Fix that by using a helper u64 variable and simplify the code
    slightly.

    Tested-by: Srinivas Pandruvada
    Signed-off-by: Rafael J. Wysocki

    Rafael J. Wysocki
     
  • Rescind of subchannels were not being correctly handled. Fix the bug.

    Signed-off-by: K. Y. Srinivasan
    Cc: [3.11+]
    Signed-off-by: Greg Kroah-Hartman

    K. Y. Srinivasan
     
  • The USB3503 driver had an incorrect depedency on REGMAP, instead of
    REGMAP_I2C. This caused the build to fail since the necessary regmap
    i2c pieces were not available.

    Signed-off-by: Matthew Dawson
    Signed-off-by: Greg Kroah-Hartman

    Matthew Dawson
     
  • When CMA fails to initialize in v3.12-rc4, the chipidea driver oopses
    the kernel while trying to remove and put the HCD which doesn't exist:

    WARNING: CPU: 0 PID: 6 at /home/rmk/git/linux-rmk/arch/arm/mm/dma-mapping.c:511
    __dma_alloc+0x200/0x240()
    coherent pool not initialised!
    Modules linked in:
    CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G W 3.12.0-rc4+ #56
    Workqueue: deferwq deferred_probe_work_func
    Backtrace:
    [] (dump_backtrace+0x0/0x10c) from [] (show_stack+0x18/0x1c)
    r6:c05fd9cc r5:000001ff r4:00000000 r3:df86ad00
    [] (show_stack+0x0/0x1c) from [] (dump_stack+0x70/0x8c)
    [] (dump_stack+0x0/0x8c) from [] (warn_slowpath_common+0x6c/0x8c)
    r4:df883a60 r3:df86ad00
    [] (warn_slowpath_common+0x0/0x8c) from [] (warn_slowpath_fmt+0x38/0x40)
    r8:ffffffff r7:00001000 r6:c083b808 r5:00000000 r4:df2efe80
    [] (warn_slowpath_fmt+0x0/0x40) from [] (__dma_alloc+0x200/0x240)
    r3:00000000 r2:c05fda00
    [] (__dma_alloc+0x0/0x240) from [] (arm_dma_alloc+0x88/0xa0)
    [] (arm_dma_alloc+0x0/0xa0) from [] (ehci_setup+0x1f4/0x438)
    [] (ehci_setup+0x0/0x438) from [] (usb_add_hcd+0x18c/0x664)
    [] (usb_add_hcd+0x0/0x664) from [] (host_start+0xf0/0x180)
    [] (host_start+0x0/0x180) from [] (ci_hdrc_probe+0x360/0x670
    )
    r6:df2ef410 r5:00000000 r4:df2c3010 r3:c03e8904
    [] (ci_hdrc_probe+0x0/0x670) from [] (platform_drv_probe+0x20/0x24)
    [] (platform_drv_probe+0x0/0x24) from [] (driver_probe_device+0x9c/0x234)
    ...
    ---[ end trace c88ccaf3969e8422 ]---
    Unable to handle kernel NULL pointer dereference at virtual address 00000028
    pgd = c0004000
    [00000028] *pgd=00000000
    Internal error: Oops: 17 [#1] SMP ARM
    Modules linked in:
    CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G W 3.12.0-rc4+ #56
    Workqueue: deferwq deferred_probe_work_func
    task: df86ad00 ti: df882000 task.ti: df882000
    PC is at usb_remove_hcd+0x10/0x150
    LR is at host_stop+0x1c/0x3c
    pc : [] lr : [] psr: 60000013
    sp : df883b50 ip : df883b78 fp : df883b74
    r10: c11f4c54 r9 : c0836450 r8 : df30c400
    r7 : fffffff4 r6 : df2ef410 r5 : 00000000 r4 : df2c3010
    r3 : 00000000 r2 : 00000000 r1 : df86b0a0 r0 : 00000000
    Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
    Control: 10c53c7d Table: 2f29404a DAC: 00000015
    Process kworker/u2:0 (pid: 6, stack limit = 0xdf882240)
    Stack: (0xdf883b50 to 0xdf884000)
    ...
    Backtrace:
    [] (usb_remove_hcd+0x0/0x150) from [] (host_stop+0x1c/0x3c)
    r6:df2ef410 r5:00000000 r4:df2c3010
    [] (host_stop+0x0/0x3c) from [] (ci_hdrc_host_destroy+0x1c/0x20)
    r5:00000000 r4:df2c3010
    [] (ci_hdrc_host_destroy+0x0/0x20) from [] (ci_hdrc_probe+0x3ac/0x670)
    [] (ci_hdrc_probe+0x0/0x670) from [] (platform_drv_probe+0x20/0x24)
    [] (platform_drv_probe+0x0/0x24) from [] (driver_probe_device+0x9c/0x234)
    [] (driver_probe_device+0x0/0x234) from [] (__device_attach+0x44/0x48)
    ...
    ---[ end trace c88ccaf3969e8423 ]---

    Fix this so at least we can continue booting and get to a shell prompt.

    Signed-off-by: Russell King
    Tested-by: Russell King
    Signed-off-by: Greg Kroah-Hartman

    Russell King - ARM Linux
     
  • Some USB drive enclosures do not correctly report an
    overflow condition if they hold a drive with a capacity
    over 2TB and are confronted with a READ_CAPACITY_10.
    They answer with their capacity modulo 2TB.
    The generic layer cannot cope with that. It must be told
    to use READ_CAPACITY_16 from the beginning.

    Signed-off-by: Oliver Neukum
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Oliver Neukum
     
  • Interface 6 of this device speaks QMI as per tests done by us.
    Credits go to Antonella for providing the hardware.

    Signed-off-by: Enrico Mioso
    Signed-off-by: Antonella Pellizzari
    Tested-by: Dan Williams
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Enrico Mioso
     
  • Due to missing braces on an if statement, in presence of a device_node a
    port was always assigned -1, regardless of any alias entries in the
    device tree. Conversely, if device_node was NULL, an unitialized port
    ended up being used.

    This patch adds the missing braces, fixing the issues.

    Signed-off-by: Roel Kluin
    Acked-by: Tony Prisk
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Roel Kluin
     
  • The device descriptors are messed up after remote wakeup

    Signed-off-by: Oliver Neukum
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Oliver Neukum
     

16 Oct, 2013

7 commits

  • This patch fixes a particular type of data corruption that has been
    encountered when loading a snapshot's metadata from disk.

    When we allocate a new chunk in persistent_prepare, we increment
    ps->next_free and we make sure that it doesn't point to a metadata area
    by further incrementing it if necessary.

    When we load metadata from disk on device activation, ps->next_free is
    positioned after the last used data chunk. However, if this last used
    data chunk is followed by a metadata area, ps->next_free is positioned
    erroneously to the metadata area. A newly-allocated chunk is placed at
    the same location as the metadata area, resulting in data or metadata
    corruption.

    This patch changes the code so that ps->next_free skips the metadata
    area when metadata are loaded in function read_exceptions.

    The patch also moves a piece of code from persistent_prepare_exception
    to a separate function skip_metadata to avoid code duplication.

    CVE-2013-4299

    Signed-off-by: Mikulas Patocka
    Cc: stable@vger.kernel.org
    Cc: Mike Snitzer
    Signed-off-by: Alasdair G Kergon

    Mikulas Patocka
     
  • Pull device tree fixes and reverts from Grant Likely:
    "One bug fix and three reverts. The reverts back out the slightly
    controversial feeding the entire device tree into the random pool and
    the reserved-memory binding which isn't fully baked yet. Expect the
    reserved-memory patches at least to resurface for v3.13.

    The bug fixes removes a scary but harmless warning on SPARC that was
    introduced in the v3.12 merge window. v3.13 will contain a proper fix
    that makes the new code work on SPARC.

    On the plus side, the diffstat looks *awesome*. I love removing lines
    of code"

    * tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux:
    Revert "drivers: of: add initialization code for dma reserved memory"
    Revert "ARM: init: add support for reserved memory defined by device tree"
    Revert "of: Feed entire flattened device tree into the random pool"
    of: fix unnecessary warning on missing /cpus node

    Linus Torvalds
     
  • If the system is suspended while max_perf_pct is less than 100 percent
    or no_turbo set policy->{min,max} will be set incorrectly with scaled
    values which turn the scaled values into hard limits.

    References: https://bugzilla.kernel.org/show_bug.cgi?id=61241
    Reported-by: Patrick Bartels
    Signed-off-by: Dirk Brandewie
    Cc: 3.9+ # 3.9+
    Signed-off-by: Rafael J. Wysocki

    Dirk Brandewie
     
  • Pull Xen fixes from Stefano Stabellini:
    "A small fix for Xen on x86_32 and a build fix for xen-tpmfront on
    arm64"

    * tag 'stable/for-linus-3.12-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
    xen: Fix possible user space selector corruption
    tpm: xen-tpmfront: fix missing declaration of xen_domain

    Linus Torvalds
     
  • Commit 1696d9d (ACPI: Remove the old /proc/acpi/event interface)
    left /proc/acpi/event in the ACPI_BUTTON help in Kconfig, so
    remove it from there.

    [rjw: Changelog]
    Signed-off-by: Krzysztof Mazur
    Signed-off-by: Rafael J. Wysocki

    Krzysztof Mazur
     
  • In acpi_resume_power_resources() resource_lock should be released
    when acpi_power_get_state() fails and before passing to next power
    resource on the list.

    Signed-off-by: Lan Tianyu
    Signed-off-by: Rafael J. Wysocki

    Lan Tianyu
     
  • Usually the active scan mask is freed in __iio_update_buffers() when the buffer
    is disabled. But when the device is still sampling when it is removed we'll end
    up disabling the buffers in iio_disable_all_buffers(). So we also need to free
    the active scan mask here, otherwise it will be leaked.

    Signed-off-by: Lars-Peter Clausen
    Signed-off-by: Jonathan Cameron

    Lars-Peter Clausen
     

15 Oct, 2013

1 commit