Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync as of 10272014 #1

Merged
merged 442 commits into from
Oct 28, 2014
Merged

Sync as of 10272014 #1

merged 442 commits into from
Oct 28, 2014
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Oct 17, 2014

  1. random: add and use memzero_explicit() for clearing data

    zatimend has reported that in his environment (3.16/gcc4.8.3/corei7)
    memset() calls which clear out sensitive data in extract_{buf,entropy,
    entropy_user}() in random driver are being optimized away by gcc.
    
    Add a helper memzero_explicit() (similarly as explicit_bzero() variants)
    that can be used in such cases where a variable with sensitive data is
    being cleared out in the end. Other use cases might also be in crypto
    code. [ I have put this into lib/string.c though, as it's always built-in
    and doesn't need any dependencies then. ]
    
    Fixes kernel bugzilla: 82041
    
    Reported-by: zatimend@hotmail.co.uk
    Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
    Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
    Cc: Alexey Dobriyan <adobriyan@gmail.com>
    Signed-off-by: Theodore Ts'o <tytso@mit.edu>
    Cc: stable@vger.kernel.org
    borkmann authored and tytso committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    d4c5efd View commit details
    Browse the repository at this point in the history
  2. crypto: memzero_explicit - make sure to clear out sensitive data

    Recently, in commit 13aa93c ("random: add and use memzero_explicit()
    for clearing data"), we have found that GCC may optimize some memset()
    cases away when it detects a stack variable is not being used anymore
    and going out of scope. This can happen, for example, in cases when we
    are clearing out sensitive information such as keying material or any
    e.g. intermediate results from crypto computations, etc.
    
    With the help of Coccinelle, we can figure out and fix such occurences
    in the crypto subsytem as well. Julia Lawall provided the following
    Coccinelle program:
    
      @@
      type T;
      identifier x;
      @@
    
      T x;
      ... when exists
          when any
      -memset
      +memzero_explicit
         (&x,
      -0,
         ...)
      ... when != x
          when strict
    
      @@
      type T;
      identifier x;
      @@
    
      T x[...];
      ... when exists
          when any
      -memset
      +memzero_explicit
         (x,
      -0,
         ...)
      ... when != x
          when strict
    
    Therefore, make use of the drop-in replacement memzero_explicit() for
    exactly such cases instead of using memset().
    
    Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
    Cc: Julia Lawall <julia.lawall@lip6.fr>
    Cc: Herbert Xu <herbert@gondor.apana.org.au>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
    Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
    Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
    Signed-off-by: Theodore Ts'o <tytso@mit.edu>
    borkmann authored and tytso committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    7185ad2 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2014

  1. ALSA: pcm: use the same dma mmap codepath both for arm and arm64

    This avoids following kernel crash when try to playback on arm64
    
    [  107.497203] [<ffffffc00046b310>] snd_pcm_mmap_data_fault+0x90/0xd4
    [  107.503405] [<ffffffc0001541ac>] __do_fault+0xb0/0x498
    [  107.508565] [<ffffffc0001576a0>] handle_mm_fault+0x224/0x7b0
    [  107.514246] [<ffffffc000092640>] do_page_fault+0x11c/0x310
    [  107.519738] [<ffffffc000081100>] do_mem_abort+0x38/0x98
    
    Tested: backported to 3.14 and tried to playback on arm64 machine
    
    Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    anatol authored and tiwai committed Oct 18, 2014
    Configuration menu
    Copy the full SHA
    a011e21 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2014

  1. MAINTAINERS: Change Boaz Harrosh's email

    I have moved on, and do no longer have Panasas email access.
    Update to an email that can reach me.
    
    So change bharrosh@panasas.com => ooo@electrozaur.com
    
    Explain of email address:
    * electrozaur.com is a domain owned by me.
    * ooo - Stands for Open Osd . Org
    
    Another email alias that can be used is:
    	openosd@gmail.com
    
    CC: Greg KH <gregkh@linuxfoundation.org>
    Signed-off-by: Boaz Harrosh <ooo@electrozaur.com>
    Boaz Harrosh authored and Boaz Harrosh committed Oct 19, 2014
    Configuration menu
    Copy the full SHA
    fadc075 View commit details
    Browse the repository at this point in the history
  2. Boaz Harrosh - Fix broken email address

    I no longer have access to the Panasas email.
    So change to an email that can always reach me.
    
    Signed-off-by: Boaz Harrosh <ooo@electrozaur.com>
    Boaz Harrosh authored and Boaz Harrosh committed Oct 19, 2014
    Configuration menu
    Copy the full SHA
    aa281ac View commit details
    Browse the repository at this point in the history
  3. Boaz Harrosh - fix email in Documentation

    I forgot to update Documentation/*.txt
    
    Signed-off-by: Boaz Harrosh <ooo@electrozaur.com>
    Boaz Harrosh authored and Boaz Harrosh committed Oct 19, 2014
    Configuration menu
    Copy the full SHA
    1fa3a00 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2014

  1. hwmon: (menf21bmc) Include linux/err.h

    Include linux/err.h to get the definitions for IS_ERR() PTR_ERR() and
    ERR_PTR() used in the driver.
    
    This fixes compilation on powerpc targets.
    
    Signed-off-by: Johannes Thumshirn <johannes.thumshirn@men.de>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Johannes Thumshirn authored and groeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    3d59604 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'drm-fixes-3.18' of git://people.freedesktop.org/~agd5f/…

    …linux into drm-fixes
    
    First round of fixes for 3.18.
    - Use gart for DMA ring tests to avoid caching issues with HDP
    - SI dpm stability fixes
    - Performance stabilization fixes
    - misc other things
    
    * 'drm-fixes-3.18' of git://people.freedesktop.org/~agd5f/linux:
      drm/radeon: reduce sparse false positive warnings
      drm/radeon: fix vm page table block size calculation
      drm/ttm: Don't evict BOs outside of the requested placement range
      drm/ttm: Don't skip fpfn check if lpfn is 0 in ttm_bo_mem_compat
      drm/radeon: use gart memory for DMA ring tests
      drm/radeon: fix speaker allocation setup
      drm/radeon: initialize sadb to NULL in the audio code
      Revert "drm/radeon/dpm: drop clk/voltage dependency filters for SI"
      Revert "drm/radeon: drop btc_get_max_clock_from_voltage_dependency_table"
    airlied committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    da36bbd View commit details
    Browse the repository at this point in the history
  3. Merge tag 'drm-intel-next-fixes-2014-10-17' of git://anongit.freedesk…

    …top.org/drm-intel into drm-fixes
    
    first set of i915 fixes, all over.
    
    * tag 'drm-intel-next-fixes-2014-10-17' of git://anongit.freedesktop.org/drm-intel:
      drm/i915: fix short vs. long hpd detection
      drm/i915: Don't trust the DP_DETECT bit for eDP ports on CHV
      drm/i915: properly reenable gen8 pipe IRQs
      drm/i915: Move DIV_ROUND_CLOSEST_ULL macro to header
      drm/i915: intel_backlight scale() math WA
    airlied committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    bee6bd0 View commit details
    Browse the repository at this point in the history
  4. ALSA: ALC283 codec - Avoid pop noise on headphones during suspend/resume

    This patch sets the headphones mode to default before suspending
    which helps avoid the pop noise on headphones
    
    Signed-off-by: Harsha Priya <harshapriya.n@intel.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    harshapriya-n authored and tiwai committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    b450b17 View commit details
    Browse the repository at this point in the history
  5. ALSA: usb-audio: Add support for Steinberg UR22 USB interface

    Adding support for Steinberg UR22 USB interface via quirks table patch
    
    See Ubuntu bug report:
    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1317244
    Also see threads:
    http://linux-audio.4202.n7.nabble.com/Support-for-Steinberg-UR22-Yamaha-USB-chipset-0499-1509-tc82888.html#a82917
    http://www.steinberg.net/forums/viewtopic.php?t=62290
    
    Tested by at least 4 people judging by the threads.
    Did not test MIDI interface, but audio output and capture both are
    functional. Built 3.17 kernel with this driver on Ubuntu 14.04 & tested with mpg123
    Patch applied to 3.13 Ubuntu kernel works well enough for daily use.
    
    Signed-off-by: Vlad Catoi <vladcatoi@gmail.com>
    Acked-by: Clemens Ladisch <clemens@ladisch.de>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    euseibus authored and tiwai committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    f0b127f View commit details
    Browse the repository at this point in the history
  6. ALSA: hda - hdmi: Fix missing ELD change event on plug/unplug

    The ELD ALSA control change event is sent by hdmi_present_sense() when
    eld_changed is true.
    
    Currently, it is only true when the ELD buffer contents have been
    modified. However, the user-visible ELD controls also change to a
    zero-length value and back when eld_valid is unset/set, and no event is
    currently sent in such cases (such as when unplugging or replugging a
    sink).
    
    Fix the code to always set eld_changed if eld_valid value is changed,
    and therefore to always send the change event when the user-visible
    value changes.
    
    Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
    Cc: David Henningsson <david.henningsson@canonical.com>
    Cc: <stable@vger.kernel.org> # 3.9+
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    anssih authored and tiwai committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    6acce40 View commit details
    Browse the repository at this point in the history
  7. drm/gt215/gr: fix initialisation on gddr5 boards

    The binary driver modifies the default context to have this value, rather
    than 0x3d0040, *after* it's filled the buffer with the usual golden data.
    
    We don't really have anything in place to locate the correct offset to do
    these type of modifications outside of the generation function, so this
    will have to do.
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    40ac948 View commit details
    Browse the repository at this point in the history
  8. drm/nouveau: fix regression on agp boards

    Extends the fix in f2f9a2c to also
    workaround permission issues noticed by people using AGP systems.
    
    Cc: stable@vger.kernel.org # 3.16: f2f9a2c: drm/nouveau: fix regression
    Cc: stable@vger.kernel.org # 3.16+
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Ben Skeggs committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    67e26e4 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'linux-3.18' of git://anongit.freedesktop.org/git/nouvea…

    …u/linux-2.6 into drm-fixes
    
    two nouveau fixes.
    
    * 'linux-3.18' of git://anongit.freedesktop.org/git/nouveau/linux-2.6:
      drm/nouveau: fix regression on agp boards
      drm/gt215/gr: fix initialisation on gddr5 boards
    airlied committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    e800cab View commit details
    Browse the repository at this point in the history
  10. pwm: Let PWM_CLPS711X depend on HAS_IOMEM

    PWM_CLPS711X needs HAS_IOMEM, so depend on it, the related error (with
    allmodconfig under um):
    
        MODPOST 1205 modules
      ERROR: "devm_ioremap_resource" [drivers/pwm/pwm-clps711x.ko] undefined!
      ERROR: "devm_ioremap" [drivers/net/phy/mdio-bcm-unimac.ko] undefined!
    
    Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
    Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
    Chen-Gang authored and thierryreding committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    dec02f9 View commit details
    Browse the repository at this point in the history
  11. ALSA: hda - Fix inverted LED gpio setup for Lenovo Ideapad

    We implemented in a wrong way for mute LED on Lenovo Ideapad; the bit
    must be flipped.
    
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=16373
    Fixes: 3e887f3 ('ALSA: hda - Add mute LED support to Lenovo Ideapad')
    Cc: <stable@vger.kernel.org> # 3.15+
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    b1974f9 View commit details
    Browse the repository at this point in the history
  12. ARM: zynq: DT: Fix GEM register area size

    The size of the GEM's register area is only 0x1000 bytes.
    
    Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
    Signed-off-by: Michal Simek <michal.simek@xilinx.com>
    sorenb-xlnx authored and Michal Simek committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    b5241fb View commit details
    Browse the repository at this point in the history
  13. ARM: zynq: DT: Remove 222 MHz OPP

    Due to dependencies between timer and CPU frequency, only changes by
    powers of two are allowed. The clocksource driver prevents other
    changes, but with cpufreq and its governors it can result in being
    spammed with error messages constantly. Hence, remove the 222 MHz OPP.
    
    Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
    Signed-off-by: Michal Simek <michal.simek@xilinx.com>
    sorenb-xlnx authored and Michal Simek committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    e8b3977 View commit details
    Browse the repository at this point in the history
  14. ARM: zynq: DT: Add missing address for L2 pl310

    By in sync with others node and add also baseaddr
    to the node name.
    
    Signed-off-by: Michal Simek <michal.simek@xilinx.com>
    Michal Simek committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    8abef06 View commit details
    Browse the repository at this point in the history
  15. ARM: zynq: DT: Add missing reference for ADC

    Add missing reference for ADC node.
    
    Signed-off-by: Michal Simek <michal.simek@xilinx.com>
    Michal Simek committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    70472c4 View commit details
    Browse the repository at this point in the history
  16. ARM: zynq: DT: Add missing reference for memory-controller

    Add missing reference for memory-controller.
    
    Signed-off-by: Michal Simek <michal.simek@xilinx.com>
    Michal Simek committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    6c7ba41 View commit details
    Browse the repository at this point in the history
  17. ARM: zynq: DT: Add cadence watchdog node

    Add the cadence watchdog node to the Zynq devicetree.
    
    Signed-off-by: Michal Simek <michal.simek@xilinx.com>
    Michal Simek committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    6714297 View commit details
    Browse the repository at this point in the history
  18. ARM: zynq: DT: trivial: Fix mc node

    sed -i 's/}\ ;/};/g'
    
    Signed-off-by: Michal Simek <michal.simek@xilinx.com>
    Michal Simek committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    2329efb View commit details
    Browse the repository at this point in the history
  19. arm64: Allow 48-bits VA space without ARM_SMMU

    Now when KVM has been reworked to support 48-bits host VA space, we can
    allow systems to be configured with this option.  However, the ARM SMMU
    driver also needs to be tweaked for 48-bit support so only allow the
    config option to be set when not including support for theSMMU.
    
    Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    chazy authored and ctmarinas committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    04f905a View commit details
    Browse the repository at this point in the history
  20. arm64: Align less than PAGE_SIZE pgds naturally

    When the pgd size is smaller than PAGE_SIZE, pgd_alloc() uses kzalloc()
    to save space. However, this is not always naturally aligned as required
    by the architecture. This patch creates a kmem_cache for pgd allocations
    with the correct alignment.
    
    The current kernel configurations with 4K pages + 39-bit VA and 64K
    pages + 42-bit VA use a full page for the pgd and are not affected. The
    patch is required for 48-bit VA with 64K pages where the pgd is 512
    bytes.
    
    Reported-by: Christoffer Dall <christoffer.dall@linaro.org>
    Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    ctmarinas committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    2a0b5c0 View commit details
    Browse the repository at this point in the history
  21. arm64: compat: fix compat types affecting struct compat_elf_prpsinfo

    The compat_elf_prpsinfo structure does not match the arch/arm struct
    elf_pspsinfo definition. As result NT_PRPSINFO note in core file
    created by arm64 kernel for aarch32 (compat) process has wrong size.
    So gdb cannot display command that caused process crash.
    
    Fix is to change size of __compat_uid_t, __compat_gid_t so it would
    match size of similar fields in arch/arm case.
    
    Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
    Acked-by: Arnd Bergmann <arnd@arndb.de>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    Victor Kamensky authored and ctmarinas committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    971a5b6 View commit details
    Browse the repository at this point in the history
  22. arm64: mm: Correct fixmap pagetable types

    Compiling with STRICT_MM_TYPECHECKS gives the following
    arch/arm64/mm/ioremap.c: In function ‘early_ioremap_init’:
    arch/arm64/mm/ioremap.c:152:2: warning: passing argument 3 of
    ‘pud_populate’ from incompatible pointer type
      pud_populate(&init_mm, pud, bm_pmd);
    
    The data types for bm_pmd and bm_pud are incorrectly set to pte_t.
    This patch corrects these types.
    
    Signed-off-by: Steve Capper <steve.capper@linaro.org>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    stevecapperlinaro authored and ctmarinas committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    c0260ba View commit details
    Browse the repository at this point in the history
  23. net: bpf: arm64: address randomize and write protect JIT code

    This is the ARM64 variant for 314beb9 ("x86: bpf_jit_comp: secure bpf
    jit against spraying attacks").
    
    Thanks to commit 11d91a7 ("arm64: Add CONFIG_DEBUG_SET_MODULE_RONX
    support") which added necessary infrastructure, we can now implement
    RO marking of eBPF generated JIT image pages and randomize start offset
    for the JIT code, so that it does not reside directly on a page boundary
    anymore. Likewise, the holes are filled with illegal instructions: here
    we use BRK #0x100 (opcode 0xd4202000) to trigger a fault in the kernel
    (unallocated BRKs would trigger a fault through do_debug_exception). This
    seems more reliable as we don't have a guaranteed undefined instruction
    space on ARM64.
    
    This is basically the ARM64 variant of what we already have in ARM via
    commit 55309dd ("net: bpf: arm: address randomize and write protect
    JIT code"). Moreover, this commit also presents a merge resolution due to
    conflicts with commit 60a3b22 ("net: bpf: make eBPF interpreter images
    read-only") as we don't use kfree() in bpf_jit_free() anymore to release
    the locked bpf_prog structure, but instead bpf_prog_unlock_free() through
    a different allocator.
    
    JIT tested on aarch64 with BPF test suite.
    
    Reference: http://mainisusuallyafunction.blogspot.com/2012/11/attacking-hardened-linux-systems-with.html
    Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
    Reviewed-by: Zi Shen Lim <zlim.lnx@gmail.com>
    Acked-by: Will Deacon <will.deacon@arm.com>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Alexei Starovoitov <ast@plumgrid.com>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    borkmann authored and ctmarinas committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    b569c1c View commit details
    Browse the repository at this point in the history
  24. arm64: bpf: add 'shift by register' instructions

    Commit 72b603e ("bpf: x86: add missing 'shift by register'
    instructions to x64 eBPF JIT") noted support for 'shift by register'
    in eBPF and added support for it for x64. Let's enable this for arm64
    as well.
    
    The arm64 eBPF JIT compiler now passes the new 'shift by register'
    test case introduced in the same commit 72b603e.
    
    Signed-off-by: Zi Shen Lim <zlim.lnx@gmail.com>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Alexei Starovoitov <ast@plumgrid.com>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    zlim authored and ctmarinas committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    d65a634 View commit details
    Browse the repository at this point in the history
  25. arm64: bpf: add 'load 64-bit immediate' instruction

    Commit 02ab695 (net: filter: add "load 64-bit immediate" eBPF
    instruction) introduced a new eBPF instruction. Let's add support
    for this for arm64 as well.
    
    Our arm64 eBPF JIT compiler now passes the new "load 64-bit
    immediate" test case introduced in the same commit 02ab695.
    
    Signed-off-by: Zi Shen Lim <zlim.lnx@gmail.com>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Alexei Starovoitov <ast@plumgrid.com>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    zlim authored and ctmarinas committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    30d3d94 View commit details
    Browse the repository at this point in the history
  26. net: bpf: arm64: minor fix of type in jited

    Commit 286aad3 ("net: bpf: be friendly to kmemcheck") changed the
    type of jited from a bitfield into a bool. As this commmit wasn't available
    at the time when arm64 eBPF JIT was merged, fix it up now as net is merged
    into mainline.
    
    Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
    Cc: Zi Shen Lim <zlim.lnx@gmail.com>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    borkmann authored and ctmarinas committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    74c3dea View commit details
    Browse the repository at this point in the history
  27. Documentation/arm64/memory.txt: fix typo

    There is no swapper_pgd_dir, it meant swapper_pg_dir.
    
    Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    stsquad authored and ctmarinas committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    a24637d View commit details
    Browse the repository at this point in the history
  28. watchdog: xilinx: Remove .owner field for driver

    There is no need to init .owner field.
    
    Based on the patch from Peter Griffin <peter.griffin@linaro.org>
    "mmc: remove .owner field for drivers using module_platform_driver"
    
    This patch removes the superflous .owner field for drivers which
    use the module_platform_driver API, as this is overriden in
    platform_driver_register anyway."
    
    Signed-off-by: Michal Simek <michal.simek@xilinx.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Michal Simek authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    fca8c04 View commit details
    Browse the repository at this point in the history
  29. powerpc: booke_wdt: Fix build error as a module

    Building booke_wdt fails when trying to build as a module as there is no
    early_param() in module. Fix by using module_param() instead of early_param().
    
    Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    pranith authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    62ce254 View commit details
    Browse the repository at this point in the history
  30. watchdog: ts72xx_wdt: Kill superfluous variable in remove

    There is no need to store the return value of misc_deregister() in a
    variable. Instead we can just return the value directly.
    
    Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    westeri authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    1f897a8 View commit details
    Browse the repository at this point in the history
  31. watchdog: imx2_wdt: Convert to use regmap framework's endianness method.

    Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Xiubo Li authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    0461aea View commit details
    Browse the repository at this point in the history
  32. watchdog: simplify definitions of WATCHDOG_NOWAYOUT(_INIT_STATUS)?

    Signed-off-by: Uwe Kleine-K=C3=B6nig <u.kleine-koenig@pengutronix.de>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Uwe Kleine-König authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    4846e37 View commit details
    Browse the repository at this point in the history
  33. watchdog: Add Cadence WDT driver

    Add Cadence WDT driver. This is used by Xilinx Zynq.
    
    Signed-off-by: Harini Katakam <harinik@xilinx.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    HariniKatakamX authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    58bf016 View commit details
    Browse the repository at this point in the history
  34. devicetree: Add Cadence WDT devicetree bindings documentation

    Add cadence-wdt bindings documentation.
    
    Signed-off-by: Harini Katakam <harinik@xilinx.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    HariniKatakamX authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    191891c View commit details
    Browse the repository at this point in the history
  35. watchdog: dw_wdt: initialise TOP_INIT in dw_wdt_set_top()

    The TOP_INIT, ie bit 4-7 of the WDOG_TIMEOUT_RANGE_REG_OFFSET register
    may be zero, so the timeout period may be very short after initialization
    is done, thus the system may be reset soon after enabling. We fix this
    problem by also initialising the TOP_INIT when setting TOP in function
    dw_wdt_set_top().
    
    Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Jisheng Zhang authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    dfa0714 View commit details
    Browse the repository at this point in the history
  36. watchdog: qcom: add support for KPSS WDT

    Add a driver for the watchdog timer block found in the Krait Processor
    Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064.
    
    Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Josh Cartwright authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    1094ebe View commit details
    Browse the repository at this point in the history
  37. watchdog: qcom: document device tree bindings

    The Qualcomm Krait Processor Sub-system (KPSS) contains one or more
    instances of the WDT.  Provide documentation on how to describe these in
    the device tree.
    
    Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Josh Cartwright authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    7c92c3d View commit details
    Browse the repository at this point in the history
  38. watchdog: s3c2410_wdt: Add support for Watchdog device on Exynos7

    Exynos7 SoC has a Watchdog for Atlas (A57) cores
    This patch adds support for the Atlas watchdog.
    
    Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Naveen Krishna Chatradhi authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    2b9366b View commit details
    Browse the repository at this point in the history
  39. watchdog: add driver for Ricoh RN5T618 watchdog

    This adds a driver for the watchdog timer available in Ricoh RN5T618
    PMIC. The device supports a programmable expiration time of 1, 8, 32
    or 128 seconds.
    
    Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    bengal authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    22b1c84 View commit details
    Browse the repository at this point in the history
  40. watchdog: Add DA9063 PMIC watchdog driver.

    This driver supports the watchdog device inside the DA9063 PMIC.
    
    Signed-off-by: Krystian Garbaciak <krystian.garbaciak@diasemi.com>
    Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
    Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
    Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>
    Tested-by: Steve Twiss <stwiss.opensource@diasemi.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Krystian Garbaciak authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    5e9c16e View commit details
    Browse the repository at this point in the history
  41. stmp3xxx_rtc_wdt: Add suspend/resume PM support

    There is no conflict with rtc/rtc-stmp3xxx.c parent
    because modified registers in PM functions of stmp3xxx_rtc_wdt
    are different.
    
    Signed-off-by: Janusz Uzycki <j.uzycki@elproma.com.pl>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    juzycki-elproma authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    3281b85 View commit details
    Browse the repository at this point in the history
  42. ARM: docs: add documentation binding for meson watchdog

    Signed-off-by: Carlo Caione <carlo@caione.org>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    carlocaione authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    0c5691f View commit details
    Browse the repository at this point in the history
  43. ARM: meson: add watchdog driver

    This patch adds the watchdog driver for the Amlogic Meson SoCs used also
    to reboot the device.
    
    Signed-off-by: Carlo Caione <carlo@caione.org>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    carlocaione authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    22e1b8f View commit details
    Browse the repository at this point in the history
  44. ARM: defconfig: update multi_v7_defconfig

    Update the multi_v7_defconfig enabling the watchdog driver for Meson
    SoCs.
    
    Signed-off-by: Carlo Caione <carlo@caione.org>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    carlocaione authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    69a160a View commit details
    Browse the repository at this point in the history
  45. watchdog: dw_wdt: add restart handler support

    The kernel core now provides an API to trigger a system restart.
    Register with it to support restarting the system via. watchdog.
    
    Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Jisheng Zhang authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    31228f4 View commit details
    Browse the repository at this point in the history
  46. watchdog: s3c2410: add restart handler

    On a lot of Samsung systems the watchdog is responsible for restarting the
    system and until now this code was contained in plat-samsung/watchdog-reset.c.
    
    With the introduction of the restart handlers, this code can now move into
    driver itself, removing the need for arch-specific code.
    
    Tested on a S3C2442 based GTA02
    
    Signed-off-by: Heiko Stuebner <heiko@sntech.de>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    mmind authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    f286e13 View commit details
    Browse the repository at this point in the history
  47. watchdog: qcom: register a restart notifier

    The WDT's BITE_TIME warm-reset behavior can be leveraged as a last
    resort mechanism for triggering chip reset.  Usually, other restart
    methods (such as PS_HOLD) are preferrable for issuing a more complete
    reset of the chip.  As such, keep the priority of the watchdog notifier
    low.
    
    Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Josh Cartwright authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    05e487d View commit details
    Browse the repository at this point in the history
  48. watchdog: imx2_wdt: add restart handler support

      Register the watchdog as the system restart function
    to the new introducing kernel restart call chain in the
    driver instead of providing the restart in machine desc.
      This restart handler function is from the mxc_restart()
    in arch/arm/mach-imx/system.c
    
    Signed-off-by: Jingchang Lu <jingchang.lu@freescale.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Jingchang Lu authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    334a9d8 View commit details
    Browse the repository at this point in the history
  49. watchdog: sunxi: support parameterized compatible strings

    This patch adds support for hardware parameters tied to compatible
    strings, so similar hardware can reuse the driver.
    
    This will be used to support the newer watchdog found in A31 and
    later SoCs. Differences in the new hardware include separate
    interrupt lines for each watchdog, and corresponding interrupt
    control/status registers. Watchdog control registers were also
    slightly rearranged.
    
    Also replace ioread32()/iowrite32() with readl()/writel() in various
    places changed.
    
    Signed-off-by: Chen-Yu Tsai <wens@csie.org>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Acked-by: Heiko Stuebner <heiko@sntech.de>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    wens authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    f2147de View commit details
    Browse the repository at this point in the history
  50. watchdog: sunxi: Add A31 watchdog support

    This patch adds support for the watchdog hardware found in A31 and
    newer SoCs. This new hardware has registers at different offsets, and
    the system reset control has been split out of the "mode" register
    into a new "configuration" register.
    
    Differences not supported by this driver include separate interrupt
    lines for each watchdog, instead of sharing an interrupt line and
    registers with the timer block.
    
    Signed-off-by: Chen-Yu Tsai <wens@csie.org>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    wens authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    c5ec618 View commit details
    Browse the repository at this point in the history
  51. watchdog: Let XILINX_WATCHDOG and TEGRA_WATCHDOG depend on HAS_IOMEM

    They need HAS_IOMEM, so let them depend on it, the related error (with
    allmodconfig under um):
    
        MODPOST 1205 modules
      ERROR: "devm_ioremap_resource" [drivers/watchdog/tegra_wdt.ko] undefined!
      ERROR: "devm_ioremap_resource" [drivers/watchdog/of_xilinx_wdt.ko] undefined!
    
    Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Chen-Gang authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    71fd380 View commit details
    Browse the repository at this point in the history
  52. watchdog: meson: remove magic value for reboot

    This patch removes the magic value used for rebooting the board. This
    value is useless and leads to a static checker warning as reported by
    Dan Carpenter.
    
    Signed-off-by: Carlo Caione <carlo@caione.org>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    carlocaione authored and Wim Van Sebroeck committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    06980b2 View commit details
    Browse the repository at this point in the history
  53. ACPICA: Add string for _DDN method name.

    The _DDN method will be used internally.
    
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    acpibob authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    5f8b35b View commit details
    Browse the repository at this point in the history
  54. ACPICA: acpidump: Add ACPI 1.0 RSDP support.

    The acpidump currently always uses ACPI 2.0 format to dump RSDP, this patch
    adds ACPI 1.0 RSDP support.
    
    Link: https://bugs.acpica.org/show_bug.cgi?id=1097
    Link: https://bugs.acpica.org/show_bug.cgi?id=1103
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Reported-and-tested-by: Rudolf Marek <r.marek@assembler.cz>
    Reported-and-tested-by: Rafal <fatwildcat@gmail.com>
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Lv Zheng authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    f1b6975 View commit details
    Browse the repository at this point in the history
  55. ACPICA: Events: Reduce indent divergences of events files.

    This patch reduces indent divergences first in order to reduce human
    intervention work for the follow-up linuxized event patches.
    
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Lv Zheng authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    f19f1a7 View commit details
    Browse the repository at this point in the history
  56. ACPICA: Events: Reduce source code difference in acpi_install_gpe_han…

    …dler().
    
    There is a sanity check in ACPICA upstream, complaining mis-matched
    interrupt type for originally enabled GPEs that are going to be dispatched
    by OSPM handlers. This is only a warning message noting developers such
    conflict between BIOS and OSPM. This patch ports this warning message from
    ACPICA upstream to reduce source code difference between Linux and ACPICA
    upstream.
    
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Lv Zheng authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    437b751 View commit details
    Browse the repository at this point in the history
  57. ACPICA: Events: Update GPE handler removal, match behavior of handler…

    … install.
    
    The originally_enabled check is not paired between
    acpi_install_gpe_handler() and acpi_remove_gpe_handler().
    
    In ACPICA upstream, there is code to protect original enabled state for
    ACPI_GPE_DISPATCH_NOTIFY and this commit fixes an issue for this feature.
    
    Link: acpica/acpica@967f314c
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Lv Zheng authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    1809919 View commit details
    Browse the repository at this point in the history
  58. ACPICA: Events: Reduce source code difference for the ACPI_EVENT_FLAG…

    …_HANDLE support.
    
    This patch is a partial linuxized result of the following ACPICA commit:
      ACPICA commit: a73b66c6aa1846d055bb6390d9c9b9902f7d804d
      Subject: Add "has handler" flag to event/gpe status interfaces.
      This change adds a new flag, ACPI_EVENT_FLAGS_HAS_HANDLER to the
      acpi_get_event_status and acpi_get_gpe_status external interfaces. It
      is set if the event/gpe currently has a handler associated with it.
    This commit back ports ACPI_EVENT_FLAG_HANDLE from Linux upstream to
    ACPICA, the flag along with its support code currently can only be found
    in the Linux upstream and is used by the ACPI sysfs GPE interfaces and
    the ACPI bus scanning support.
    
    Link: acpica/acpica@a73b66c6
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Lv Zheng authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    a08f813 View commit details
    Browse the repository at this point in the history
  59. ACPICA: Events: Reduce source code difference for the ACPI_EVENT_FLAG…

    …_HANDLE renaming.
    
    This patch is partial linuxized result of the following ACPICA commit:
      ACPICA commit: a73b66c6aa1846d055bb6390d9c9b9902f7d804d
      Subject: Add "has handler" flag to event/gpe status interfaces.
      This change adds a new flag, ACPI_EVENT_FLAGS_HAS_HANDLER to the
      acpi_get_event_status and acpi_get_gpe_status external interfaces. It
      is set if the event/gpe currently has a handler associated with it.
    This patch contains the code to rename ACPI_EVENT_FLAG_HANDLE to
    ACPI_EVENT_FLAG_HAS_HANDLER, and the corresponding updates of its usages.
    
    Link: acpica/acpica@a73b66c6
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Lv Zheng authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    2f85723 View commit details
    Browse the repository at this point in the history
  60. ACPICA: iASL/Disassembler: Add support for hardware summary mapfiles.

    Adds support for both iASL and the disassembler to create a hardware
    and connection summary mapfile (via the -lm option.)
    
    Linux isn't affected by this patch because iASL is not in the Linux
    upstream.
    
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    acpibob authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    f2d348f View commit details
    Browse the repository at this point in the history
  61. ACPICA: acpiexec: Do not put STDIN into raw mode unless it is a termi…

    …nal.
    
    Eliminate an error message for batch-mode processing on unix
    systems. ACPICA BZ 1114.
    
    This patch is mainly for fixing the issues of acpiexec which is not in the
    Linux upstream.
    
    Link: https://bugs.acpica.org/show_bug.cgi?id=1114
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    acpibob authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    63c9043 View commit details
    Browse the repository at this point in the history
  62. ACPICA: Update version to 20140926.

    Version 20140926.
    
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    acpibob authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    9fc3d1d View commit details
    Browse the repository at this point in the history
  63. ACPI / EC: Add CPU ID to debugging messages.

    This patch adds CPU ID to the context entries' debugging output. no
    functional changes.
    
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Lv Zheng authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    c95f25b View commit details
    Browse the repository at this point in the history
  64. ACPI / EC: Enhance the logs to apply to QR_EC transactions.

    Currently some logs are applied to new transactions, but QR_EC transactions
    are not included. This patch merges the code path to make the logs also
    applying to the QR_EC transactions.
    
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Lv Zheng authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    459572a View commit details
    Browse the repository at this point in the history
  65. ACPI / EC: Add detailed command/query debugging information.

    Developers really don't need to translate EC commands in mind. This patch
    adds detailed debugging information for the EC commands.
    The address can be found in the follow-up sequential EC_DATA(W) accesses,
    thus this patch also removes some of the redundant address information.
    
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Lv Zheng authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    e34c0e2 View commit details
    Browse the repository at this point in the history
  66. ACPI / EC: Refine event/query debugging messages.

    This patch refines event/query debugging messages to use a unified format
    as commands. Developers can clearly find different processes by checking
    different log seperators. No functional changes.
    
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Lv Zheng authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    d3090b6 View commit details
    Browse the repository at this point in the history
  67. ACPI / EC: Cleanup coding style.

    This patch cleans up the following coding style issues that are detected by
    scripts/checkpatch.pl:
     ERROR: code indent should use tabs where possible
     ERROR: "foo * bar" should be "foo *bar"
     WARNING: Missing a blank line after declarations
     WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
     WARNING: void function return statements are not generally useful
     WARNING: else is not generally useful after a break or return
     WARNING: break is not useful after a goto or return
     WARNING: braces {} are not necessary for single statement blocks
     WARNING: line over 80 characters
     WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
    No functional changes.
    
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Lv Zheng authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    7a73e60 View commit details
    Browse the repository at this point in the history
  68. cpufreq: allow driver-specific data

    This commit extends the cpufreq_driver structure with an additional
    'void *driver_data' field that can be filled by the ->probe() function
    of a cpufreq driver to pass additional custom information to the
    driver itself.
    
    A new function called cpufreq_get_driver_data() is added to allow a
    cpufreq driver to retrieve those driver data, since they are typically
    needed from a cpufreq_policy->init() callback, which does not have
    access to the cpufreq_driver structure. This function call is similar
    to the existing cpufreq_get_current_driver() function call.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    tpetazzoni authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    51315cd View commit details
    Browse the repository at this point in the history
  69. cpufreq: cpufreq-dt: extend with platform_data

    This commit extends the cpufreq-dt driver to take a platform_data
    structure. This structure is for now used to tell the cpufreq-dt
    driver the layout of the clocks on the platform, i.e whether all CPUs
    share the same clock or whether each CPU has a separate clock.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    tpetazzoni authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    34e5a52 View commit details
    Browse the repository at this point in the history
  70. cpufreq: cpufreq-dt: adjust message related to regulators

    The cpufreq-dt driver tries to get a regulator for each CPU. This
    regulator is optional, but when not present, a scary message "failed
    to get cpuX regulator" is displayed. To solve this, we reduce the
    severity of the message from dev_warn() to dev_dbg() and we reword the
    message to not be as scary.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    tpetazzoni authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    a00de1a View commit details
    Browse the repository at this point in the history
  71. cpuidle: powernv: Populate cpuidle state details by querying the devi…

    …ce-tree
    
    We hard code the metrics relevant for cpuidle states in the kernel today.
    Instead pick them up from the device tree so that they remain relevant
    and updated for the system that the kernel is running on.
    
    Signed-off-by: Preeti U. Murthy <preeti@linux.vnet.ibm.com>
    Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Preeti U. Murthy authored and rafaeljw committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    74aa51b View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2014

  1. Merge tag 'v3.18-rc1' into v4l_for_linus

    Linux 3.18-rc1
    
    * tag 'v3.18-rc1': (9167 commits)
      Linux 3.18-rc1
      MAINTAINERS: corrected bcm2835 search
      Net: DSA: Fix checking for get_phy_flags function
      sparc64: Do not define thread fpregs save area as zero-length array.
      sparc64: Fix corrupted thread fault code.
      MAINTAINERS: Become the docs maintainer
      x86,kvm,vmx: Preserve CR4 across VM entry
      ipv6: fix a potential use after free in sit.c
      ipv6: fix a potential use after free in ip6_offload.c
      ipv4: fix a potential use after free in gre_offload.c
      tcp: fix build error if IPv6 is not enabled
      futex: Ensure get_futex_key_refs() always implies a barrier
      bna: fix skb->truesize underestimation
      net: dsa: add includes for ethtool and phy_fixed definitions
      openvswitch: Set flow-key members.
      netrom: use linux/uaccess.h
      dsa: Fix conversion from host device to mii bus
      tipc: fix bug in bundled buffer reception
      ipv6: introduce tcp_v6_iif()
      sfc: add support for skb->xmit_more
      ...
    mchehab committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    1b62f19 View commit details
    Browse the repository at this point in the history
  2. [media] v4l: DocBook: fix media build error

    Fix media DocBook build errors by re-adding the orderedlist tag
    and putting back the section tags lost during merge.
    
    Reported-by: Randy Dunlap <rdunlap@infradead.org>
    Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    vpalatin authored and mchehab committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    b832e74 View commit details
    Browse the repository at this point in the history
  3. [media] af9035: make sure loading modules is const

    Make sure that loaded modules are const char strings so we don't
    load arbitrary modules in the future, nor allow for format string
    leaks in the module request call.
    
    Signed-off-by: Kees Cook <keescook@chromium.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    kees authored and mchehab committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    a1ecf3c View commit details
    Browse the repository at this point in the history
  4. [media] anysee: make sure loading modules is const

    Make sure that loaded modules are const char strings so we don't
    load arbitrary modules in the future, nor allow for format string
    leaks in the module request call.
    
    Signed-off-by: Kees Cook <keescook@chromium.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    kees authored and mchehab committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    7383159 View commit details
    Browse the repository at this point in the history
  5. [media] vivid: fix Kconfig FB dependency

    The vivid driver depends on FB, update the Kconfig accordingly.
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Reported-by: Jim Davis <jim.epost@gmail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    hverkuil authored and mchehab committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    031d705 View commit details
    Browse the repository at this point in the history
  6. [media] em28xx: fix uninitialized variable warning

    Fix this daily build warning:
    
    In file included from build/media_build/v4l/em28xx-core.c:35:0:
    build/media_build/v4l/em28xx-core.c: In function 'em28xx_audio_setup':
    build/media_build/v4l/em28xx.h:798:2: warning: 'vid' may be used uninitialized in this function [-Wmaybe-uninitialized]
      printk(KERN_INFO "%s: "fmt,\
      ^
    build/media_build/v4l/em28xx-core.c:507:6: note: 'vid' was declared here
      u32 vid;
          ^
    
    As far as I can tell 'vid' can not really be used uninitialized here, but the code
    is sufficiently complex that apparently gcc can't figure that out.
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    hverkuil authored and mchehab committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    430e357 View commit details
    Browse the repository at this point in the history
  7. [media] saa7146: Create a device name before it's used

    request_irq() uses it, tries to create a procfs file with an empty name
    otherwise.
    
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=83771
    
    Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    lkundrak authored and mchehab committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    a0bd3e0 View commit details
    Browse the repository at this point in the history
  8. [media] vivid: fix buffer overrun

    The random_line buffer must be twice the maximum width, but it only allocated
    the maximum width, so it was only half the size it needed to be.
    
    Surprisingly I never saw the kernel fail on this, but the same TPG code used in
    qv4l2 crashed and valgrind helped me track this bug down.
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    hverkuil authored and mchehab committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    c204e1f View commit details
    Browse the repository at this point in the history
  9. [media] v4l: uvcvideo: Fix buffer completion size check

    Commit e93e7fd ("v4l2: uvcvideo: Allow
    using larger buffers") reworked the buffer size sanity check at buffer
    completion time to use the frame size instead of the allocated buffer
    size. However, it introduced two bugs in doing so:
    
    - it assigned the allocated buffer size to the frame_size field, instead
      of assigning the correct frame size
    
    - it performed the assignment in the S_FMT handler, resulting in the
      frame_size field being uninitialized if the userspace application
      doesn't call S_FMT.
    
    Fix both issues by removing the frame_size field and validating the
    buffer size against the UVC video control dwMaxFrameSize.
    
    Fixes: e93e7fd ("v4l2: uvcvideo: Allow using larger buffers")
    
    Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    pinchartl authored and mchehab committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    c601f53 View commit details
    Browse the repository at this point in the history
  10. [media] cx23885: initialize config structs for T9580

    The config structs used for DVBSky T9580 were not initialized. This patch fixes that.
    
    Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
    Reviewed-by: Antti Palosaari <crope@iki.fi>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    trsqr authored and mchehab committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    143800a View commit details
    Browse the repository at this point in the history
  11. [media] hackrf: harmless off by one in debug code

    My static checker complains that "i" could be one element beyond the end
    of the array.
    
    Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
    Reviewed-by: Antti Palosaari <crope@iki.fi>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Dan Carpenter authored and mchehab committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    9f93c52 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'acpica'

    * acpica:
      ACPICA: Update version to 20140926.
      ACPICA: acpiexec: Do not put STDIN into raw mode unless it is a terminal.
      ACPICA: iASL/Disassembler: Add support for hardware summary mapfiles.
      ACPICA: Events: Reduce source code difference for the ACPI_EVENT_FLAG_HANDLE renaming.
      ACPICA: Events: Reduce source code difference for the ACPI_EVENT_FLAG_HANDLE support.
      ACPICA: Events: Update GPE handler removal, match behavior of handler install.
      ACPICA: Events: Reduce source code difference in acpi_install_gpe_handler().
      ACPICA: Events: Reduce indent divergences of events files.
      ACPICA: acpidump: Add ACPI 1.0 RSDP support.
      ACPICA: Add string for _DDN method name.
    rafaeljw committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    082c119 View commit details
    Browse the repository at this point in the history
  13. MIPS: cp1emu: Fix ISA restrictions for cop1x_op instructions

    Commit 08a0790 ("MIPS: math-emu: Remove most ifdefery") removed
    the #ifdef ISA conditions and switched to runtime detection. However,
    according to the instruction set manual, the cop1x_op instructions are
    available in >=MIPS32r2 as well. This fixes a problem on MIPS32r2
    with the ntpd package which failed to execute with a SIGILL exit code due
    to the fact that a madd.d instruction was not being emulated.
    
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Fixes: 08a0790 ("MIPS: math-emu: Remove most ifdefery")
    Cc: <stable@vger.kernel.org> # v3.16+
    Cc: linux-mips@linux-mips.org
    Reviewed-by: Paul Burton <paul.burton@imgtec.com>
    Reviewed-by: James Hogan <james.hogan@imgtec.com>
    Cc: Markos Chandras <markos.chandras@imgtec.com>
    Patchwork: https://patchwork.linux-mips.org/patch/8173/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    a5466d7 View commit details
    Browse the repository at this point in the history
  14. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/s390/linux
    
    Pull s390 updates from Martin Schwidefsky:
     "One patch to enable the BPF system call and three more bug fixes"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
      s390/uprobes: fix kprobes dependency
      s390: wire up bpf syscall
      s390/mm: fixing calls of pte_unmap_unlock
      s390/hmcdrv: Restrict s390 HMC driver to S390 arch
    torvalds committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    c4301c3 View commit details
    Browse the repository at this point in the history
  15. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/mpe/linux
    
    Pull more powerpc updates from Michael Ellerman:
     "Here's some more updates for powerpc for 3.18.
    
      They are a bit late I know, though must are actually bug fixes.  In my
      defence I nearly cut the top of my finger off last weekend in a
      gruesome bike maintenance accident, so I spent a good part of the week
      waiting around for doctors.  True story, I can send photos if you like :)
    
      Probably the most interesting fix is the sys_call_table one, which
      enables syscall tracing for powerpc.  There's a fix for HMI handling
      for old firmware, more endian fixes for firmware interfaces, more EEH
      fixes, Anton fixed our routine that gets the current stack pointer,
      and a few other misc bits"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux: (22 commits)
      powerpc: Only do dynamic DMA zone limits on platforms that need it
      powerpc: sync pseries_le_defconfig with pseries_defconfig
      powerpc: Add printk levels to setup_system output
      powerpc/vphn: NUMA node code expects big-endian
      powerpc/msi: Use WARN_ON() in msi bitmap selftests
      powerpc/msi: Fix the msi bitmap alignment tests
      powerpc/eeh: Block CFG upon frozen Shiner adapter
      powerpc/eeh: Don't collect logs on PE with blocked config space
      powerpc/eeh: Block PCI config access upon frozen PE
      powerpc/pseries: Drop config requests in EEH accessors
      powerpc/powernv: Drop config requests in EEH accessors
      powerpc/eeh: Rename flag EEH_PE_RESET to EEH_PE_CFG_BLOCKED
      powerpc/eeh: Fix condition for isolated state
      powerpc/pseries: Make CPU hotplug path endian safe
      powerpc/pseries: Use dump_stack instead of show_stack
      powerpc: Rename __get_SP() to current_stack_pointer()
      powerpc: Reimplement __get_SP() as a function not a define
      powerpc/numa: Add ability to disable and debug topology updates
      powerpc/numa: check error return from proc_create
      powerpc/powernv: Fallback to old HMI handling behavior for old firmware
      ...
    torvalds committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    dc30340 View commit details
    Browse the repository at this point in the history
  16. Merge tag 'arc-3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/vgupta/arc
    
    Pull ARC updates from Vineet Gupta:
     "Sorry for the late pull request.  Current stuff was ready for a while
      but I was hoping to squeeze in support for almost ready ARC SDP
      platform (and avoid a 2nd pull request), however it seems there are
      still some loose ends which warrant more time.
    
       - Platform code reduction/moving-up (TB10X no longer needs any
         callbacks)
       - updated boot printing
       - kgdb update for arc gdb 7.5
       - bug fixes (some marked for stable)
       - more code refactoring/consolidation"
    
    * tag 'arc-3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
      ARC: boot: cpu feature print enhancements
      ARC: boot: consolidate cross-checking of h/w and s/w
      ARC: unbork FPU save/restore
      ARC: remove extraneous __KERNEL__ guards
      ARC: Update order of registers in KGDB to match GDB 7.5
      ARC: Remove unneeded Kconfig entry NO_DMA
      ARC: BUG() dumps stack after @msg (@msg now same as in generic BUG))
      ARC: refactoring: reduce the scope of some local vars
      ARC: remove gcc mpy heuristics
      ARC: RIP @running_on_hw
      ARC: Update comments about uncached address space
      ARC: rename kconfig option for unaligned emulation
      ARC: [nsimosci] Allow "headless" models to boot
      ARC: [arcfpga] Get rid of ARC_BOARD_ANGEL4 and ARC_BOARD_ML509
      ARC: [arcfpga] Remove more dead code
      ARC: [plat*] move code out of .init_machine into common
      ARC: [arcfpga] consolidate machine description, DT
      ARC: Allow SMP kernel to build/boot on UP-only infrastructure
    torvalds committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    3d430bd View commit details
    Browse the repository at this point in the history
  17. Merge tag 'pwm/for-3.18-rc1' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/thierry.reding/linux-pwm
    
    Pull pwm changes from Thierry Reding:
     "There are no new drivers here, only a couple of fixes all over the
      place"
    
    * tag 'pwm/for-3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm:
      pwm: Let PWM_CLPS711X depend on HAS_IOMEM
      pwm: atmel: Fix calculation of prescale value
      pwm: Fix uninitialized warnings in pwm_get()
      pwm: rockchip: Allow polarity invert on rk3288
      pwm: imx: Avoid sample FIFO overflow for i.MX PWM version2
      pwm: imx: Cleanup indentation for register definitions
      pwm: imx: Fix the macro MX3_PWMCR_PRESCALER(x) definition
      pwm: Fix possible ZERO_SIZE_PTR pointer dereferencing error.
      pwm: lpss: make it buildable only on X86
      pwm: lpss: use c99 initializers in structures
      pwm: lpss: Fix build failure on PowerPC
      pwm: lpss: pci: Move to use pcim_enable_device()
      pwm: lpss: Properly split driver to parts
      pwm: lpss: Add ACPI and PCI IDs for Intel Braswell
      pwm: fsl-ftm: Select REGMAP_MMIO
      pwm: fsl-ftm: Document 'big-endian' property
      pwm: fsl-ftm: Convert to direct regmap API usage
      pwm: fsl-ftm: Clean up the code
    torvalds committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    5b9c897 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/cooloney/linux-leds
    
    Pull LED update from Bryan Wu:
     "Basically we have some bug fixing and clean up and one big thing is we
      start to merge patch to add support LED Flash class"
    
    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds:
      leds: gpio: cleanup the leds-gpio driver
      led: gpio: Fix possible ZERO_SIZE_PTR pointer dereferencing error.
      led: gpio: Sort include headers alphabetically
      leds: Improve and export led_update_brightness
      leds: trigger: gpio: fix warning in gpio trigger for gpios whose accessor function may sleep
      leds: lp3944: fix sparse warning
      leds: avoid using DEVICE_ATTR macro for max_brightness attribute
      leds: make brightness type consistent across whole subsystem
      leds: Reorder include directives
    torvalds committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    045aaed View commit details
    Browse the repository at this point in the history
  19. Merge git://www.linux-watchdog.org/linux-watchdog

    Pull watchdog updates from Wim Van Sebroeck:
     - new Cadence WDT driver
     - new Ricoh RN5T618 watchdog
     - new DA9063 PMIC watchdog driver
     - new Meson WDT driver
     - add restart handling code
     - fixes and improvements
    
    * git://www.linux-watchdog.org/linux-watchdog: (25 commits)
      watchdog: meson: remove magic value for reboot
      watchdog: Let XILINX_WATCHDOG and TEGRA_WATCHDOG depend on HAS_IOMEM
      watchdog: sunxi: Add A31 watchdog support
      watchdog: sunxi: support parameterized compatible strings
      watchdog: imx2_wdt: add restart handler support
      watchdog: qcom: register a restart notifier
      watchdog: s3c2410: add restart handler
      watchdog: dw_wdt: add restart handler support
      ARM: defconfig: update multi_v7_defconfig
      ARM: meson: add watchdog driver
      ARM: docs: add documentation binding for meson watchdog
      stmp3xxx_rtc_wdt: Add suspend/resume PM support
      watchdog: Add DA9063 PMIC watchdog driver.
      watchdog: add driver for Ricoh RN5T618 watchdog
      watchdog: s3c2410_wdt: Add support for Watchdog device on Exynos7
      watchdog: qcom: document device tree bindings
      watchdog: qcom: add support for KPSS WDT
      watchdog: dw_wdt: initialise TOP_INIT in dw_wdt_set_top()
      devicetree: Add Cadence WDT devicetree bindings documentation
      watchdog: Add Cadence WDT driver
      ...
    torvalds committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    21d2271 View commit details
    Browse the repository at this point in the history
  20. MIPS: Lasat: Add missing CONFIG_PROC_FS dependency to PICVUE_PROC

    The picvue_proc.c file creates the /proc interface for the PICVUE LCD
    display driver. As a result of which, it needs to depend on the PROC_FS
    symbol to avoid build problems like the following one when
    CONFIG_PROC_FS is not enabled.
    
    arch/mips/lasat/picvue_proc.c:26:14: error: 'pvc_linename'
    defined but not used [-Werror=unused-variable]
     static char *pvc_linename[PVC_NLINES] = {"line1", "line2"};
                  ^
    
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8174/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    507a369 View commit details
    Browse the repository at this point in the history
  21. arm64: Fix compilation error on UP builds

    In file included from ./arch/arm64/include/asm/irq_work.h:4:0,
            from include/linux/irq_work.h:46,
            from include/linux/perf_event.h:49,
            from include/linux/ftrace_event.h:9,
            from include/trace/syscall.h:6,
            from include/linux/syscalls.h:81,
            from init/main.c:18:
    ./arch/arm64/include/asm/smp.h:24:3:
            error: #error "<asm/smp.h> included in non-SMP build"
     # error "<asm/smp.h> included in non-SMP build"
    
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    Fixes: 3631073 ("arm64: Tell irq work about self IPI support")
    Reported-by: Guenter Roeck <linux@roeck-us.net>
    Tested-by: Guenter Roeck <linux@roeck-us.net>
    ctmarinas committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    ceab3fe View commit details
    Browse the repository at this point in the history
  22. ALSA: pcm: Fix false lockdep warnings

    As PCM core handles the multiple linked streams in parallel, lockdep
    gets confused (partly because of weak annotations) and spews the
    false-positive warnings.  This hasn't been a problem for long time but
    the latest PCM lock path update seems to have woken up a sleeping
    dog.
    
    Here is an attempt to paper over this issue: pass the lock subclass
    just calculated from the depth in snd_pcm_action_group().  Also, a
    (possibly) wrong lock subclass set in snd_pcm_action_lock_mutex() is
    dropped, too.
    
    Reported-and-tested-by: Arthur Marsh <arthur.marsh@internode.on.net>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    dde1c65 View commit details
    Browse the repository at this point in the history
  23. Merge branch 'mailbox-for-linus' of git://git.linaro.org/landing-team…

    …s/working/fujitsu/integration
    
    Pull mailbox framework from Jassi Brar:
     "A framework for Mailbox controllers and clients have been cooking for
      more than a year now.
    
      Everybody in the CC list had been copied on patchset revisions and
      most of them have made sounds of approval, though just one concrete
      Reviewed-by.  The patchset has also been in linux-next for a couple of
      weeks now and no conflict has been reported.  The framework has the
      backing of at least 5 platforms, though I can't say if/when they
      upstream their drivers (some businesses have 'changed')"
    
    (Further acked-by by Arnd Bergmann and Suman Anna in the pull request
    thread)
    
    * 'mailbox-for-linus' of git://git.linaro.org/landing-teams/working/fujitsu/integration:
      dt: mailbox: add generic bindings
      doc: add documentation for mailbox framework
      mailbox: Introduce framework for mailbox
      mailbox: rename pl320-ipc specific mailbox.h
    torvalds committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    43d451f View commit details
    Browse the repository at this point in the history
  24. arm: socfpga: fix fetching cpu1start_addr for SMP

    When CPU1 is brought out of reset, it's MMU is not turned on yet, so it will
    only be able to use physical addresses. For systems with that have the
    MMU page configured for 0xC0000000, 0x80000000, or 0x40000000
    "BIC 0x40000000" will work just fine, as it was just converting the
    virtual address of &cpu1start_addr into a physical address, ie. 0xC0000000
    became 0x80000000. So for systems where the SDRAM controller was able to do a
    wrap-around access, this was working fine, as it was just dropping the MSB,
    but for systems where out of bounds memory access is not allowed, this would
    not allow CPU1 to correctly fetch &cpu1start_addr.
    
    This patch fixes the secondary_trampoline code to correctly fetch the
    physical address of cpu1start_addr directly. The patch will subtract the
    correct PAGE_OFFSET from &cpu1start_addr. And since on this platform, the
    physical memory will always start at 0x0, subtracting PAGE_OFFSET from
    &cpu1start_addr will allow CPU1 to correctly fetch the value of cpu1start_addr.
    
    While at it, change the name of cpu1start_addr to socfpga_cpu1start_addr
    to avoid any future naming collisions for multiplatform image.
    
    Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
    ---
    v4: Updated commit log to correctly lay out the usage of PAGE_OFFSET and
        add comments to the same effect.
    v3: Used PAGE_OFFSET to get the physical address
    v2: Correctly get the physical address instead of just a BIC hack.
    Dinh Nguyen committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    3a4356c View commit details
    Browse the repository at this point in the history
  25. Merge branch 'for-linus' of git://git.open-osd.org/linux-open-osd

    Pull email address change from Boaz Harrosh.
    
    * 'for-linus' of git://git.open-osd.org/linux-open-osd:
      Boaz Harrosh - fix email in Documentation
      Boaz Harrosh - Fix broken email address
      MAINTAINERS: Change Boaz Harrosh's email
    torvalds committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    848a552 View commit details
    Browse the repository at this point in the history
  26. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/nab/target-pending
    
    Pull SCSI target updates from Nicholas Bellinger:
     "Here are the target updates for v3.18-rc2 code.  These where
      originally destined for -rc1, but due to the combination of travel
      last week for KVM Forum and my mistake of taking the three week merge
      window literally, the pull request slipped..  Apologies for that.
    
      Things where reasonably quiet this round.  The highlights include:
    
       - New userspace backend driver (target_core_user.ko) by Shaohua Li
         and Andy Grover
       - A number of cleanups in target, iscsi-taret and qla_target code
         from Joern Engel
       - Fix an OOPs related to queue full handling with CHECK_CONDITION
         status from Quinn Tran
       - Fix to disable TX completion interrupt coalescing in iser-target,
         that was causing problems on some hardware
       - Fix for PR APTPL metadata handling with demo-mode ACLs
    
      I'm most excited about the new backend driver that uses UIO + shared
      memory ring to dispatch I/O and control commands into user-space.
      This was probably the most requested feature by users over the last
      couple of years, and opens up a new area of development + porting of
      existing user-space storage applications to LIO.  Thanks to Shaohua +
      Andy for making this happen.
    
      Also another honorable mention, a new Xen PV SCSI driver was merged
      via the xen/tip.git tree recently, which puts us now at 10 target
      drivers in upstream! Thanks to David Vrabel + Juergen Gross for their
      work to get this code merged"
    
    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending: (40 commits)
      target/file: fix inclusive vfs_fsync_range() end
      iser-target: Disable TX completion interrupt coalescing
      target: Add force_pr_aptpl device attribute
      target: Fix APTPL metadata handling for dynamic MappedLUNs
      qla_target: don't delete changed nacls
      target/user: Recalculate pad size inside is_ring_space_avail()
      tcm_loop: Fixup tag handling
      iser-target: Fix smatch warning
      target/user: Fix up smatch warnings in tcmu_netlink_event
      target: Add a user-passthrough backstore
      target: Add documentation on the target userspace pass-through driver
      uio: Export definition of struct uio_device
      target: Remove unneeded check in sbc_parse_cdb
      target: Fix queue full status NULL pointer for SCF_TRANSPORT_TASK_SENSE
      qla_target: rearrange struct qla_tgt_prm
      qla_target: improve qlt_unmap_sg()
      qla_target: make some global functions static
      qla_target: remove unused parameter
      target: simplify core_tmr_abort_task
      target: encapsulate smp_mb__after_atomic()
      ...
    torvalds committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    c3351df View commit details
    Browse the repository at this point in the history
  27. ACPI / platform: provide default DMA mask

    Most devices are configured for 32-bit DMA addresses.
    Setting the mask to 32-bit here removes the need for the
    drivers to do it separately.
    
    Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Heikki Krogerus authored and rafaeljw committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    8a2f38d View commit details
    Browse the repository at this point in the history
  28. freezer: Do not freeze tasks killed by OOM killer

    Since f660daa (oom: thaw threads if oom killed thread is frozen
    before deferring) OOM killer relies on being able to thaw a frozen task
    to handle OOM situation but a320122 (freezer: make freezing() test
    freeze conditions in effect instead of TIF_FREEZE) has reorganized the
    code and stopped clearing freeze flag in __thaw_task. This means that
    the target task only wakes up and goes into the fridge again because the
    freezing condition hasn't changed for it. This reintroduces the bug
    fixed by f660daa.
    
    Fix the issue by checking for TIF_MEMDIE thread flag in
    freezing_slow_path and exclude the task from freezing completely. If a
    task was already frozen it would get woken by __thaw_task from OOM killer
    and get out of freezer after rechecking freezing().
    
    Changes since v1
    - put TIF_MEMDIE check into freezing_slowpath rather than in __refrigerator
      as per Oleg
    - return __thaw_task into oom_scan_process_thread because
      oom_kill_process will not wake task in the fridge because it is
      sleeping uninterruptible
    
    [mhocko@suse.cz: rewrote the changelog]
    Fixes: a320122 (freezer: make freezing() test freeze conditions in effect instead of TIF_FREEZE)
    Cc: 3.3+ <stable@vger.kernel.org> # 3.3+
    Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
    Signed-off-by: Michal Hocko <mhocko@suse.cz>
    Acked-by: Oleg Nesterov <oleg@redhat.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    congwang authored and rafaeljw committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    51fae6d View commit details
    Browse the repository at this point in the history
  29. freezer: remove obsolete comments in __thaw_task()

    __thaw_task() no longer clears frozen flag since commit a320122
    (freezer: make freezing() test freeze conditions in effect instead of TIF_FREEZE).
    
    Reviewed-by: Michal Hocko <mhocko@suse.cz>
    Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    congwang authored and rafaeljw committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    c05eb32 View commit details
    Browse the repository at this point in the history
  30. OOM, PM: OOM killed task shouldn't escape PM suspend

    PM freezer relies on having all tasks frozen by the time devices are
    getting frozen so that no task will touch them while they are getting
    frozen. But OOM killer is allowed to kill an already frozen task in
    order to handle OOM situtation. In order to protect from late wake ups
    OOM killer is disabled after all tasks are frozen. This, however, still
    keeps a window open when a killed task didn't manage to die by the time
    freeze_processes finishes.
    
    Reduce the race window by checking all tasks after OOM killer has been
    disabled. This is still not race free completely unfortunately because
    oom_killer_disable cannot stop an already ongoing OOM killer so a task
    might still wake up from the fridge and get killed without
    freeze_processes noticing. Full synchronization of OOM and freezer is,
    however, too heavy weight for this highly unlikely case.
    
    Introduce and check oom_kills counter which gets incremented early when
    the allocator enters __alloc_pages_may_oom path and only check all the
    tasks if the counter changes during the freezing attempt. The counter
    is updated so early to reduce the race window since allocator checked
    oom_killer_disabled which is set by PM-freezing code. A false positive
    will push the PM-freezer into a slow path but that is not a big deal.
    
    Changes since v1
    - push the re-check loop out of freeze_processes into
      check_frozen_processes and invert the condition to make the code more
      readable as per Rafael
    
    Fixes: f660daa (oom: thaw threads if oom killed thread is frozen before deferring)
    Cc: 3.2+ <stable@vger.kernel.org> # 3.2+
    Signed-off-by: Michal Hocko <mhocko@suse.cz>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Michal Hocko authored and rafaeljw committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    5695be1 View commit details
    Browse the repository at this point in the history
  31. PM: convert do_each_thread to for_each_process_thread

    as per 0c740d0 (introduce for_each_thread() to replace the buggy
    while_each_thread()) get rid of do_each_thread { } while_each_thread()
    construct and replace it by a more error prone for_each_thread.
    
    This patch doesn't introduce any user visible change.
    
    Suggested-by: Oleg Nesterov <oleg@redhat.com>
    Signed-off-by: Michal Hocko <mhocko@suse.cz>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Michal Hocko authored and rafaeljw committed Oct 21, 2014
    Configuration menu
    Copy the full SHA
    a28e785 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2014

  1. qxl: don't create too large primary surface

    Limit primary to qemu vgamem size, to avoid reaching
    qemu guest bug "requested primary larger than framebuffer"
    on resizing screen too large to fit.
    
    Remove unneeded and misleading variables.
    
    Related to:
    https://bugzilla.redhat.com/show_bug.cgi?id=1127552
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    elmarco authored and airlied committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    c572aaf View commit details
    Browse the repository at this point in the history
  2. MAINTAINERS: add atmel ssc driver maintainer entry

    Signed-off-by: Bo Shen <voice.shen@atmel.com>
    Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Bo Shen authored and Nicolas Ferre committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    0ef0901 View commit details
    Browse the repository at this point in the history
  3. power: reset: at91-reset: fix power down register

    In the case of at91sam9g45_restart(), the driver is writing
    AT91_DDRSDRC_LPCB_POWER_DOWN to AT91_DDRSDRC_RTR, this should actually be
    AT91_DDRSDRC_LPR.
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Acked-by: Sebastian Reichel <sre@kernel.org>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    alexandrebelloni authored and Nicolas Ferre committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    7cb4e71 View commit details
    Browse the repository at this point in the history
  4. ARM: at91/dt: sam9263: fix PLLB frequencies

    PLLB input and output ranges were wrongly copied from at91sam9261 as the
    datasheet didn't mention explicitly PLLB. Correct their values.
    
    This fixes USB.
    
    Reported-by: Andreas Henriksson <andreas.henriksson@endian.se>
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Tested-by: Andreas Henriksson <andreas.henriksson@endian.se>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Boris Brezillon authored and Nicolas Ferre committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    106c67a View commit details
    Browse the repository at this point in the history
  5. spi: orion: fix potential NULL pointer de-reference

    It's possible that the call to of_match_device() (introduced in commit
    df59fa7 ["spi: orion: support armada extended baud rates"]) may return
    a NULL if there is no match in the device tree (or perhaps no device tree
    at all). Check the return pointer and set the local device data to the
    lowest common denominator orion device data if it is NULL.
    
    Reported-by: Karl Beldan <karl.beldan@gmail.com>
    Signed-off-by: Greg Ungerer <gerg@uclinux.org>
    Signed-off-by: Mark Brown <broonie@kernel.org>
    gregungerer authored and broonie committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    9a2d363 View commit details
    Browse the repository at this point in the history
  6. arm64: vexpress: Add CLCD support to the ARMv8 model platform

    This patch enables CLCD support for the VE platform emulated by the
    ARMv8 software model (DT bindings are based on Pawel's vexpress
    patches) together with defconfig entries for SERIO_AMBAKMI and
    FB_ARMCLCD.
    
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    Acked-by: Pawel Moll <pawel.moll@arm.com>
    ctmarinas committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    e2b6b35 View commit details
    Browse the repository at this point in the history
  7. pci: pci-lantiq: remove duplicate check on resource

    Sanity check on resource happening with devm_ioremap_resource()
    
    Signed-off-by: Varka Bhadram <varkab@cdac.in>
    Acked-by: John Crispin <blogic@openwrt.org>
    Cc: linux-mips@linux-mips.org
    Cc: Varka Bhadram <varkab@cdac.in>
    Patchwork: https://patchwork.linux-mips.org/patch/8199/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    bhadram authored and ralfbaechle committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    5a1e73f View commit details
    Browse the repository at this point in the history
  8. MIPS: loongson2_cpufreq: Fix CPU clock rate setting mismerge

    During 3.16 merge window, parts of the commit 8e8acb3
    (MIPS/loongson2_cpufreq: Fix CPU clock rate setting) seem to have
    been deleted probably due to a mismerge, and as a result cpufreq
    is broken again on Loongson2 boards in 3.16 and newer kernels.
    Fix by repeating the fix.
    
    Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
    Cc: stable@vger.kernel.org # 3.16
    Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/7835/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    aakoskin authored and ralfbaechle committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    aa08ed5 View commit details
    Browse the repository at this point in the history
  9. MIPS: tlbex: Properly fix HUGE TLB Refill exception handler

    In commit 8393c52 (MIPS: tlbex: Fix a missing statement for
    HUGETLB), the TLB Refill handler was fixed so that non-OCTEON targets
    would work properly with huge pages.  The change was incorrect in that
    it broke the OCTEON case.
    
    The problem is shown here:
    
        xxx0:	df7a0000 	ld	k0,0(k1)
        .
        .
        .
        xxxc0:	df610000 	ld	at,0(k1)
        xxxc4:	335a0ff0 	andi	k0,k0,0xff0
        xxxc8:	e825ffcd 	bbit1	at,0x5,0x0
        xxxcc:	003ad82d 	daddu	k1,at,k0
        .
        .
        .
    
    In the non-octeon case there is a destructive test for the huge PTE
    bit, and then at 0, $k0 is reloaded (that is what the 8393c52
    patch added).
    
    In the octeon case, we modify k1 in the branch delay slot, but we
    never need k0 again, so the new load is not needed, but since k1 is
    modified, if we do the load, we load from a garbage location and then
    get a nested TLB Refill, which is seen in userspace as either SIGBUS
    or SIGSEGV (depending on the garbage).
    
    The real fix is to only do this reloading if it is needed, and never
    where it is harmful.
    
    Signed-off-by: David Daney <david.daney@cavium.com>
    Cc: Huacai Chen <chenhc@lemote.com>
    Cc: Fuxin Zhang <zhangfx@lemote.com>
    Cc: Zhangjin Wu <wuzhangjin@gmail.com>
    Cc: stable@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8151/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    daviddaney authored and ralfbaechle committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    9e0f162 View commit details
    Browse the repository at this point in the history
  10. MIPS: Octeon: Remove special case for simulator command line.

    There is no reason to have the kernel to append commands when running
    under the simulator, the simulator is perfectly capable of supplying
    the necessary command line arguments.  Furthermore, if the simulator
    needs something different than what is hard coded in the kernel, it
    cannot get it if the kernel overrides it.
    
    Fix/Simplify the whole thing by removing this bit.
    
    Signed-off-by: David Daney <david.daney@cavium.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8152/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    daviddaney authored and ralfbaechle committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    b61cd31 View commit details
    Browse the repository at this point in the history
  11. PM / freezer: Clean up code after recent fixes

    Clean up the code in process.c after recent changes to get rid of
    unnecessary labels and goto statements.
    
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    rafaeljw committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    71be211 View commit details
    Browse the repository at this point in the history
  12. i3200_edac: Report CE events properly

    Fix CE event being reported as HW_EVENT_ERR_UNCORRECTED.
    
    Signed-off-by: Jason Baron <jbaron@akamai.com>
    Cc: stable@vger.kernel.org
    Link: http://lkml.kernel.org/r/d02465b4f30314b390c12c061502eda5e9d29c52.1413405053.git.jbaron@akamai.com
    Signed-off-by: Borislav Petkov <bp@suse.de>
    almostivan authored and suryasaimadhu committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    8a3f075 View commit details
    Browse the repository at this point in the history
  13. i82860_edac: Report CE events properly

    Fix CE event being reported as HW_EVENT_ERR_UNCORRECTED.
    
    Signed-off-by: Jason Baron <jbaron@akamai.com>
    Cc: stable@vger.kernel.org
    Link: http://lkml.kernel.org/r/7aee8e244a32ff86b399a8f966c4aae70296aae0.1413405053.git.jbaron@akamai.com
    Signed-off-by: Borislav Petkov <bp@suse.de>
    almostivan authored and suryasaimadhu committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    ab0543d View commit details
    Browse the repository at this point in the history
  14. cpc925_edac: Report UE events properly

    Fix UE event being reported as HW_EVENT_ERR_CORRECTED.
    
    Signed-off-by: Jason Baron <jbaron@akamai.com>
    Cc: stable@vger.kernel.org
    Link: http://lkml.kernel.org/r/8beb13803500076fef827eab33d523e355d83759.1413405053.git.jbaron@akamai.com
    Signed-off-by: Borislav Petkov <bp@suse.de>
    almostivan authored and suryasaimadhu committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    fa19ac4 View commit details
    Browse the repository at this point in the history
  15. e7xxx_edac: Report CE events properly

    Fix CE event being reported as HW_EVENT_ERR_UNCORRECTED.
    
    Signed-off-by: Jason Baron <jbaron@akamai.com>
    Cc: stable@vger.kernel.org
    Link: http://lkml.kernel.org/r/e6dd616f2cd51583a7e77af6f639b86313c74144.1413405053.git.jbaron@akamai.com
    Signed-off-by: Borislav Petkov <bp@suse.de>
    almostivan authored and suryasaimadhu committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    8030122 View commit details
    Browse the repository at this point in the history
  16. MIPS: MSP71xx: Remove compilation error when CONFIG_MIPS_MT is present

    When CONFIG_MIPS_MT is defined, code is enabled that tries to call
    'set_vi_handler()'. This function is declared in <asm/setup.h> but the
    header is never included. Therefore, the compilation breaks.
    
    arch/mips/pmcs-msp71xx/msp_irq.c:133: error: implicit declaration of function 'set_vi_handler'
    
    This error was found with vampyr.
    
    Signed-off-by: Stefan Hengelein <stefan.hengelein@fau.de>
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Cc: ryazanov.s.a@gmail.com
    Patchwork: https://patchwork.linux-mips.org/patch/8122/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Stefan Hengelein authored and ralfbaechle committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    cd3d643 View commit details
    Browse the repository at this point in the history
  17. MIPS: ath79: Fix compilation error when CONFIG_PCI is disabled

    When CONFIG_PCI is disabled, 'db120_pci_init()' had a different
    signature than when was enabled. Therefore, compilation failed when
    CONFIG_PCI was not present.
    
    arch/mips/ath79/mach-db120.c:132: error: too many arguments to function 'db120_pci_init'
    
    This error was found with vampyr.
    
    Signed-off-by: Stefan Hengelein <stefan.hengelein@fau.de>
    Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Cc: geert@linux-m68k.org
    Patchwork: https://patchwork.linux-mips.org/patch/8119/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Stefan Hengelein authored and ralfbaechle committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    44da762 View commit details
    Browse the repository at this point in the history
  18. audit: Remove "weak" from audit_classify_compat_syscall() declaration

    There's only one audit_classify_compat_syscall() definition, so it doesn't
    need to be weak.
    
    Remove the "weak" attribute from the audit_classify_compat_syscall()
    declaration.
    
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Acked-by: Richard Guy Briggs <rgb@redhat.com>
    CC: AKASHI Takahiro <takahiro.akashi@linaro.org>
    bjorn-helgaas committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    9e8beeb View commit details
    Browse the repository at this point in the history
  19. x86, intel-mid: Remove "weak" from function declarations

    For the following interfaces:
    
      get_penwell_ops()
      get_cloverview_ops()
      get_tangier_ops()
    
    there is only one implementation, so they do not need to be marked "weak".
    
    Remove the "weak" attribute from their declarations.
    
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Acked-by: Ingo Molnar <mingo@kernel.org>
    CC: David Cohen <david.a.cohen@linux.intel.com>
    CC: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
    CC: x86@kernel.org
    bjorn-helgaas committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    754f0da View commit details
    Browse the repository at this point in the history
  20. clocksource: Remove "weak" from clocksource_default_clock() declaration

    kernel/time/jiffies.c provides a default clocksource_default_clock()
    definition explicitly marked "weak".  arch/s390 provides its own definition
    intended to override the default, but the "weak" attribute on the
    declaration applied to the s390 definition as well, so the linker chose one
    based on link order (see 10629d7 ("PCI: Remove __weak annotation from
    pcibios_get_phb_of_node decl")).
    
    Remove the "weak" attribute from the clocksource_default_clock()
    declaration so we always prefer a non-weak definition over the weak one,
    independent of link order.
    
    Fixes: f1b8274 ("clocksource: Cleanup clocksource selection")
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Acked-by: John Stultz <john.stultz@linaro.org>
    Acked-by: Ingo Molnar <mingo@kernel.org>
    CC: Daniel Lezcano <daniel.lezcano@linaro.org>
    CC: Martin Schwidefsky <schwidefsky@de.ibm.com>
    bjorn-helgaas committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    96a2adb View commit details
    Browse the repository at this point in the history
  21. vmcore: Remove "weak" from function declarations

    For the following functions:
    
      elfcorehdr_alloc()
      elfcorehdr_free()
      elfcorehdr_read()
      elfcorehdr_read_notes()
      remap_oldmem_pfn_range()
    
    fs/proc/vmcore.c provides default definitions explicitly marked "weak".
    arch/s390 provides its own definitions intended to override the default
    ones, but the "weak" attribute on the declarations applied to the s390
    definitions as well, so the linker chose one based on link order (see
    10629d7 ("PCI: Remove __weak annotation from pcibios_get_phb_of_node
    decl")).
    
    Remove the "weak" attribute from the declarations so we always prefer a
    non-weak definition over the weak one, independent of link order.
    
    Fixes: be8a8d0 ("vmcore: introduce ELF header in new memory feature")
    Fixes: 9cb2181 ("vmcore: introduce remap_oldmem_pfn_range()")
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Acked-by: Andrew Morton <akpm@linux-foundation.org>
    Acked-by: Vivek Goyal <vgoyal@redhat.com>
    CC: Michael Holzheu <holzheu@linux.vnet.ibm.com>
    bjorn-helgaas committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    5ab03ac View commit details
    Browse the repository at this point in the history
  22. ARC: kgdb: generic kgdb_arch_pc() suffices

    The ARC version of kgdb_arch_pc() is identical to the generic version in
    kernel/debug/debug_core.c.  Drop the ARC version so we use the generic one.
    
    Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    vineetgarc authored and bjorn-helgaas committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    4fbf81c View commit details
    Browse the repository at this point in the history
  23. kgdb: Remove "weak" from kgdb_arch_pc() declaration

    kernel/debug/debug_core.c provides a default kgdb_arch_pc() definition
    explicitly marked "weak".  Several architectures provide their own
    definitions intended to override the default, but the "weak" attribute on
    the declaration applied to the arch definitions as well, so the linker
    chose one based on link order (see 10629d7 ("PCI: Remove __weak
    annotation from pcibios_get_phb_of_node decl")).
    
    Remove the "weak" attribute from the declaration so we always prefer a
    non-weak definition over the weak one, independent of link order.
    
    Fixes: 688b744 ("kgdb: fix signedness mixmatches, add statics, add declaration to header")
    Tested-by: Vineet Gupta <vgupta@synopsys.com>	# for ARC build
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Reviewed-by: Harvey Harrison <harvey.harrison@gmail.com>
    bjorn-helgaas committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    107bcc6 View commit details
    Browse the repository at this point in the history
  24. memory-hotplug: Remove "weak" from memory_block_size_bytes() declaration

    drivers/base/memory.c provides a default memory_block_size_bytes()
    definition explicitly marked "weak".  Several architectures provide their
    own definitions intended to override the default, but the "weak" attribute
    on the declaration applied to the arch definitions as well, so the linker
    chose one based on link order (see 10629d7 ("PCI: Remove __weak
    annotation from pcibios_get_phb_of_node decl")).
    
    Remove the "weak" attribute from the declaration so we always prefer a
    non-weak definition over the weak one, independent of link order.
    
    Fixes: 41f1072 ("drivers: base: Add prototype declaration to the header file")
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Acked-by: Andrew Morton <akpm@linux-foundation.org>
    CC: Rashika Kheria <rashika.kheria@gmail.com>
    CC: Nathan Fontenot <nfont@austin.ibm.com>
    CC: Anton Blanchard <anton@au1.ibm.com>
    CC: Heiko Carstens <heiko.carstens@de.ibm.com>
    CC: Yinghai Lu <yinghai@kernel.org>
    bjorn-helgaas committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    e0a8400 View commit details
    Browse the repository at this point in the history
  25. uprobes: Remove "weak" from function declarations

    For the following interfaces:
    
      set_swbp()
      set_orig_insn()
      is_swbp_insn()
      is_trap_insn()
      uprobe_get_swbp_addr()
      arch_uprobe_ignore()
      arch_uprobe_copy_ixol()
    
    kernel/events/uprobes.c provides default definitions explicitly marked
    "weak".  Some architectures provide their own definitions intended to
    override the defaults, but the "weak" attribute on the declarations applied
    to the arch definitions as well, so the linker chose one based on link
    order (see 10629d7 ("PCI: Remove __weak annotation from
    pcibios_get_phb_of_node decl")).
    
    Remove the "weak" attribute from the declarations so we always prefer a
    non-weak definition over the weak one, independent of link order.
    
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Acked-by: Ingo Molnar <mingo@kernel.org>
    Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
    CC: Victor Kamensky <victor.kamensky@linaro.org>
    CC: Oleg Nesterov <oleg@redhat.com>
    CC: David A. Long <dave.long@linaro.org>
    CC: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
    bjorn-helgaas committed Oct 22, 2014
    Configuration menu
    Copy the full SHA
    271a9c3 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2014

  1. ARM: dts: socfpga: rename gpio nodes

    Since the Synopsys GPIO IP can support multiple ports of varying widths, it
    would make more sense to have the GPIO node DTS entry as this:
    
    gpio0: gpio@ff708000{
    	porta{
    	};
    };
    
    Also, this is documented in the snps-dwapb-gpio.txt.
    
    Suggested-by: Doug Anderson <dianders@chromium.org>
    Reviewed-by: Doug Anderson <dianders@chromium.org>
    Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
    Dinh Nguyen committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    d11ac1d View commit details
    Browse the repository at this point in the history
  2. ARM: dts: socfpga: Fix SD card detect

    Without this patch, the booting the SOCFPGA platform would hang at the
    SDMMC driver loading. The issue, debugged by Doug Anderson, turned out
    to be that the GPIO bank used by the SD card-detect was not set to
    status="okay".
    
    Also update the cd-gpios to point to portb of the &gpio1 GPIO IP.
    
    Suggested-by: Doug Anderson <dianders@chromium.org>
    Reviewed-by: Doug Anderson <dianders@chromium.org>
    Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
    ---
    v4: Use &gpio1 to set status="okay" and update cd-gpio=&portb
    v3: Correctly degugged the issue to be a gpio node not having status="okay"
    Dinh Nguyen committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    23920c0 View commit details
    Browse the repository at this point in the history
  3. ARM: dts: socfpga: Add a 3.3V fixed regulator node

    Without the 3.3V regulator node, the SDMMC driver will give these warnings:
    
    dw_mmc ff704000.dwmmc0: No vmmc regulator found
    dw_mmc ff704000.dwmmc0: No vqmmc regulator found
    
    This patch adds the regulator node, and points the SD/MMC to the regulator.
    
    Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
    Reviewed-by: Doug Anderson <dianders@chromium.org>
    ---
    v3: Rename nodes to have schematic-name_regulator and remove "boot-on" and
        "always-on"
    v2: Move the regulator nodes to their respective board dts file and
        correctly rename them to match the schematic
    Dinh Nguyen committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    efb4a44 View commit details
    Browse the repository at this point in the history
  4. drm/cirrus: bind also to qemu-xen-traditional

    qemu as used by xend/xm toolstack uses a different subvendor id.
    Bind the drm driver also to this emulated card.
    
    Signed-off-by: Olaf Hering <olaf@aepfle.de>
    cc: stable@vger.kernel.org
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    olafhering authored and airlied committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    c0c3e73 View commit details
    Browse the repository at this point in the history
  5. MIPS: ptrace.h: Add a missing include

    Commit a79ebea (MIPS: ptrace: Fix user pt_regs definition,
    use in ptrace_{get, set}regs()) converted struct pt_regs to use __u64.
    Some userspace applications (e.g. GDB) include this file directly,
    and fail to see this type. Fix by including <linux/types.h>.
    
    The patch fixes the following build failure with GDB 7.8 when using
    GLIBC headers created against Linux 3.17:
    
    In file included from /home/aaro/los/work/shared/gdb-7.8/gdb/mips-linux-nat.c:37:0:
    /home/aaro/los/work/mips/rootfs/mips-linux-gnu/usr/include/asm/ptrace.h:32:2: error: unknown type name '__u64'
      __u64 regs[32];
      ^
    /home/aaro/los/work/mips/rootfs/mips-linux-gnu/usr/include/asm/ptrace.h:35:2: error: unknown type name '__u64'
      __u64 lo;
      ^
    /home/aaro/los/work/mips/rootfs/mips-linux-gnu/usr/include/asm/ptrace.h:36:2: error: unknown type name '__u64'
      __u64 hi;
      ^
    
    Fixes: a79ebea ("MIPS: ptrace: Fix user pt_regs definition, use in ptrace_{get, set}regs()")
    Cc: stable@vger.kernel.org # 3.17
    Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
    Cc: Alex Smith <alex@alex-smith.me.uk>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8067/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    aakoskin authored and ralfbaechle committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    cdb685a View commit details
    Browse the repository at this point in the history
  6. MIPS: Sibyte: Include the swarm subdir to the sb1250 LittleSur builds

    Fixes the following randconfig build problem:
    
    arch/mips/built-in.o: In function `show_cpuinfo':
    proc.c:(.text+0xde84): undefined reference to `get_system_type'
    arch/mips/built-in.o: In function `sb1250_setup':
    (.init.text+0x428): undefined reference to `get_system_type'
    arch/mips/built-in.o: In function `setup_arch':
    (.init.text+0x178c): undefined reference to `plat_mem_setup'
    Makefile:930: recipe for target 'vmlinux' failed
    
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8106/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    3d1f9dd View commit details
    Browse the repository at this point in the history
  7. xen/balloon: Don't continue ballooning when BP_ECANCELED is encountered

    Commit 3dcf636 ("xen/balloon: cancel ballooning if adding new
    memory failed") makes reserve_additional_memory() return BP_ECANCELED
    when an error is encountered. This error, however, is ignored by the
    caller (balloon_process()) since it is overwritten by subsequent call
    to update_schedule(). This results in continuous attempts to add more
    memory, all of which are likely to fail again.
    
    We should stop trying to schedule next iteration of ballooning when
    the current one has failed.
    
    Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
    Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
    Signed-off-by: David Vrabel <david.vrabel@citrix.com>
    Boris Ostrovsky authored and David Vrabel committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    fd8b795 View commit details
    Browse the repository at this point in the history
  8. x86/xen: avoid writing to freed memory after race in p2m handling

    In case a race was detected during allocation of a new p2m tree
    element in alloc_p2m() the new allocated mid_mfn page is freed without
    updating the pointer to the found value in the tree. This will result
    in overwriting the just freed page with the mfn of the p2m leaf.
    
    Signed-off-by: Juergen Gross <jgross@suse.com>
    Signed-off-by: David Vrabel <david.vrabel@citrix.com>
    jgross1 authored and David Vrabel committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    239af7c View commit details
    Browse the repository at this point in the history
  9. x86/xen: delay construction of mfn_list_list

    The 3 level p2m tree for the Xen tools is constructed very early at
    boot by calling xen_build_mfn_list_list(). Memory needed for this tree
    is allocated via extend_brk().
    
    As this tree (other than the kernel internal p2m tree) is only needed
    for domain save/restore, live migration and crash dump analysis it
    doesn't matter whether it is constructed very early or just some
    milliseconds later when memory allocation is possible by other means.
    
    This patch moves the call of xen_build_mfn_list_list() just after
    calling xen_pagetable_p2m_copy() simplifying this function, too, as it
    doesn't have to bother with two parallel trees now. The same applies
    for some other internal functions.
    
    While simplifying code, make early_can_reuse_p2m_middle() static and
    drop the unused second parameter. p2m_mid_identity_mfn can be removed
    as well, it isn't used either.
    
    Signed-off-by: Juergen Gross <jgross@suse.com>
    Signed-off-by: David Vrabel <david.vrabel@citrix.com>
    jgross1 authored and David Vrabel committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    2c18568 View commit details
    Browse the repository at this point in the history
  10. x86/xen: avoid race in p2m handling

    When a new p2m leaf is allocated this leaf is linked into the p2m tree
    via cmpxchg. Unfortunately the compare value for checking the success
    of the update is read after checking for the need of a new leaf. It is
    possible that a new leaf has been linked into the tree concurrently
    in between. This could lead to a leaked memory page and to the loss of
    some p2m entries.
    
    Avoid the race by using the read compare value for checking the need
    of a new p2m leaf and use ACCESS_ONCE() to get it.
    
    There are other places which seem to need ACCESS_ONCE() to ensure
    proper operation. Change them accordingly.
    
    Signed-off-by: Juergen Gross <jgross@suse.com>
    Signed-off-by: David Vrabel <david.vrabel@citrix.com>
    jgross1 authored and David Vrabel committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    3a0e94f View commit details
    Browse the repository at this point in the history
  11. x86/xen: Fix incorrect per_cpu accessor in xen_clocksource_read()

    Commit 89cbc76 ("x86: Replace __get_cpu_var uses") replaced
    __get_cpu_var() with this_cpu_ptr() in xen_clocksource_read() in such a
    way that instead of accessing a structure pointed to by a per-cpu pointer
    we are trying to get to a per-cpu structure.
    
    __this_cpu_read() of the pointer is the more appropriate accessor.
    
    Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
    Signed-off-by: David Vrabel <david.vrabel@citrix.com>
    Boris Ostrovsky authored and David Vrabel committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    3251f20 View commit details
    Browse the repository at this point in the history
  12. x86/xen: panic on bad Xen-provided memory map

    Panic if Xen provides a memory map with 0 entries. Although this is
    unlikely, it is better to catch the error at the point of seeing the map
    than later on as a symptom of some other crash.
    
    Signed-off-by: Martin Kelly <martkell@amazon.com>
    Signed-off-by: David Vrabel <david.vrabel@citrix.com>
    martingkelly authored and David Vrabel committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    1ea644c View commit details
    Browse the repository at this point in the history
  13. xen/pci: Allocate memory for physdev_pci_device_add's optarr

    physdev_pci_device_add's optarr[] is a zero-sized array and therefore
    reference to add.optarr[0] is accessing memory that does not belong to
    the 'add' variable.
    
    Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
    Reviewed-by: Jan Beulich <jbeulich@suse.com>
    Signed-off-by: David Vrabel <david.vrabel@citrix.com>
    Boris Ostrovsky authored and David Vrabel committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    486edb2 View commit details
    Browse the repository at this point in the history
  14. MIPS: idle: Remove leftover __pastwait symbol and its references

    The __pastwait symbol was only used by the address_is_in_r4k_wait_irqoff
    function but this is no longer used since the SMTC removal in commit
    b633648 ('MIPS: MT: Remove SMTC support'). That symbol also led to
    build failures under certain random configuration due to the way the
    compiler compiled the r4k_wait_irqoff function. If that function was
    called multiple times, the __pastwait symbol was redefined breaking the
    build like this:
    
    CHK     include/generated/compile.h
    CC      arch/mips/kernel/idle.o
    {standard input}: Assembler messages:
    {standard input}:527: Error: symbol `__pastwait' is already defined
    
    Link: http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=1244879922.24479.30.camel%40falcon
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Cc: Markos Chandras <markos.chandras@imgtec.com>
    Patchwork: https://patchwork.linux-mips.org/patch/7791/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    9d26024 View commit details
    Browse the repository at this point in the history
  15. MIPS: Kconfig: Add missing MIPS_CPS dependencies to PM and cpuidle

    The MIPS_CPS_PM and MIPS_CPS_CPUIDLE implementation should depend
    on the MIPS_CPS symbol to avoid the following build problem
    
    arch/mips/kernel/pm-cps.c: In function 'cps_pm_enter_state':
    arch/mips/kernel/pm-cps.c:164:26: error: 'cpu_coherent_mask' undeclared
    (first use in this function)
    cpumask_clear_cpu(cpu, &cpu_coherent_mask);
                                ^
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Cc: Paul Burton <paul.burton@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/7798/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    39a5959 View commit details
    Browse the repository at this point in the history
  16. MIPS: Prevent compiler warning from cop2_{save,restore}

    The no-op cases of cop2_save & cop2_restore lead to the following
    warnings being emitted during build with recent versions of gcc (tested
    using gcc 4.8.3 from the Mentor Sourcery CodeBench 2014.05 toolchain):
    
      In file included from ./arch/mips/include/asm/switch_to.h:18:0,
                       from kernel/sched/core.c:78:
      kernel/sched/core.c: In function 'finish_task_switch':
      include/asm-generic/current.h:6:45: warning: value computed is not used [-Wunused-value]
       #define get_current() (current_thread_info()->task)
                                                   ^
      ./arch/mips/include/asm/cop2.h:48:32: note: in definition of macro 'cop2_restore'
       #define cop2_restore(r)  do { (r); } while (0)
                                      ^
      include/asm-generic/current.h:7:17: note: in expansion of macro 'get_current'
       #define current get_current()
                       ^
      ./arch/mips/include/asm/switch_to.h:114:16: note: in expansion of macro 'current'
         cop2_restore(current);     \
                      ^
      kernel/sched/core.c:2225:2: note: in expansion of macro 'finish_arch_switch'
        finish_arch_switch(prev);
        ^
    
    Avoid the warning by "using" the value by casting to void.
    
    Signed-off-by: Paul Burton <paul.burton@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/7880/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    paulburton authored and ralfbaechle committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    b89f306 View commit details
    Browse the repository at this point in the history
  17. MIPS: Malta: Do not build the malta-amon.c file if CMP is not enabled

    The malta-amon.c file provides functions to access the YAMON Monitoring
    interface to bring up secondary VPEs in case of SMP/CMP. As a
    result of which, there is no need to build it if CMP is not used.
    
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Reviewed-by: Paul Burton <paul.burton@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/7993/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    5e9e3a5 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux

    Pull drm fixes from Dave Airlie:
     "Intel, nouveau, radeon and qxl.
    
      Mostly for bugs introduced in the merge window, nothing too shocking"
    
    [ And one cirrus fix added later and not mentioned in the pull request..  - Linus ]
    
    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
      drm/cirrus: bind also to qemu-xen-traditional
      qxl: don't create too large primary surface
      drm/nouveau: fix regression on agp boards
      drm/gt215/gr: fix initialisation on gddr5 boards
      drm/radeon: reduce sparse false positive warnings
      drm/radeon: fix vm page table block size calculation
      drm/ttm: Don't evict BOs outside of the requested placement range
      drm/ttm: Don't skip fpfn check if lpfn is 0 in ttm_bo_mem_compat
      drm/radeon: use gart memory for DMA ring tests
      drm/radeon: fix speaker allocation setup
      drm/radeon: initialize sadb to NULL in the audio code
      drm/i915: fix short vs. long hpd detection
      drm/i915: Don't trust the DP_DETECT bit for eDP ports on CHV
      Revert "drm/radeon/dpm: drop clk/voltage dependency filters for SI"
      Revert "drm/radeon: drop btc_get_max_clock_from_voltage_dependency_table"
      drm/i915: properly reenable gen8 pipe IRQs
      drm/i915: Move DIV_ROUND_CLOSEST_ULL macro to header
      drm/i915: intel_backlight scale() math WA
    torvalds committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    eb0c5ff View commit details
    Browse the repository at this point in the history
  19. ACPI: invoke acpi_device_wakeup() with correct parameters

    Fix a bug that invokes acpi_device_wakeup() with wrong parameters.
    
    Fixes: f35cec2 (ACPI / PM: Always enable wakeup GPEs when enabling device wakeup)
    Signed-off-by: Zhang Rui <rui.zhang@intel.com>
    Cc: 3.17+ <stable@vger.kernel.org> # 3.17+
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    zhang-rui authored and rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    67598a1 View commit details
    Browse the repository at this point in the history
  20. PCI / PM: handle failure to enable wakeup on PCIe PME

    If the irqchip handling the PCIe PME interrupt is not able
    to enable interrupt wakeup we should properly reflect this
    in the PME suspend status.
    
    This fixes a kernel warning on resume, where it would try
    to disable the irq wakeup that failed to be activated while
    suspending, for example:
    
    WARNING: CPU: 0 PID: 609 at kernel/irq/manage.c:536 irq_set_irq_wake+0xc0/0xf8()
    Unbalanced IRQ 384 wake disable
    
    Fixes: 76cde7e (PCI / PM: Make PCIe PME interrupts wake up from suspend-to-idle)
    Reported-and-tested-by: Richard Zhu <richard.zhu@freescale.com>
    Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    lynxeye-dev authored and rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    5dfd7f9 View commit details
    Browse the repository at this point in the history
  21. Merge tag 'hwmon-for-linus-v3.18-rc2' of git://git.kernel.org/pub/scm…

    …/linux/kernel/git/groeck/linux-staging
    
    Pull a hwmon fix from Guenter Roeck:
     "Fix potential compile problem for menf21bmc hwmon driver"
    
    * tag 'hwmon-for-linus-v3.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
      hwmon: (menf21bmc) Include linux/err.h
    torvalds committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    5de551e View commit details
    Browse the repository at this point in the history
  22. cpufreq: intel_pstate: Fix setting max_perf_pct in performance policy

    Code which changes policy to powersave changes also max_policy_pct based on
    max_freq. Code which change max_perf_pct has upper limit base on value
    max_policy_pct. When policy is changing from powersave back to performance
    then max_policy_pct is not changed. Which means that changing max_perf_pct is
    not possible to high values if max_freq was too low in powersave policy.
    
    Test case:
    
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
    800000
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
    3300000
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    performance
    $ cat /sys/devices/system/cpu/intel_pstate/max_perf_pct
    100
    
    $ echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    $ echo 800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
    $ echo 20 > /sys/devices/system/cpu/intel_pstate/max_perf_pct
    
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    powersave
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
    800000
    $ cat /sys/devices/system/cpu/intel_pstate/max_perf_pct
    20
    
    $ echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    $ echo 3300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
    $ echo 100 > /sys/devices/system/cpu/intel_pstate/max_perf_pct
    
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    performance
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
    3300000
    $ cat /sys/devices/system/cpu/intel_pstate/max_perf_pct
    24
    
    And now intel_pstate driver allows to set maximal value for max_perf_pct based
    on max_policy_pct which is 24 for previous powersave max_freq 800000.
    
    This patch will set default value for max_policy_pct when setting policy to
    performance so it will allow to set also max value for max_perf_pct.
    
    Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
    Cc: All applicable <stable@vger.kernel.org>
    Acked-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    pali authored and rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    36b4bed View commit details
    Browse the repository at this point in the history
  23. cpufreq: expose scaling_cur_freq sysfs file for set_policy() drivers

    Currently the core does not expose scaling_cur_freq for set_policy()
    drivers this breaks some userspace monitoring tools.
    Change the core to expose this file for all drivers and if the
    set_policy() driver supports the get() callback use it to retrieve the
    current frequency.
    
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=73741
    Cc: All applicable <stable@vger.kernel.org>
    Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Dirk Brandewie authored and rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    c034b02 View commit details
    Browse the repository at this point in the history
  24. cpufreq: intel_pstate: Reflect current no_turbo state correctly

    Some BIOSes modify the state of MSR_IA32_MISC_ENABLE_TURBO_DISABLE
    based on the current power source for the system battery AC vs
    battery. Reflect the correct current state and ability to modify the
    no_turbo sysfs file based on current state of
    MSR_IA32_MISC_ENABLE_TURBO_DISABLE.
    
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=83151
    Cc: All applicable <stable@vger.kernel.org>
    Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
    Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    gm-vm authored and rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    4521e1a View commit details
    Browse the repository at this point in the history
  25. intel_pstate: Don't lose sysfs settings during cpu offline

    The user may have custom settings don't destroy them during suspend.
    
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=80651
    Reported-by: Tobias Jakobi <liquid.acid@gmx.net>
    Cc: All applicable <stable@vger.kernel.org>
    Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Dirk Brandewie authored and rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    c034871 View commit details
    Browse the repository at this point in the history
  26. intel_pstate: Fix BYT frequency reporting

    BYT has a different conversion from P state to frequency than the core
    processors.  This causes the min/max and current frequency to be
    misreported on some BYT SKUs. Tested on BYT N2820, Ivybridge and
    Haswell processors.
    
    Link: https://bugzilla.yoctoproject.org/show_bug.cgi?id=6663
    Cc: All applicable <stable@vger.kernel.org>
    Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Dirk Brandewie authored and rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    b27580b View commit details
    Browse the repository at this point in the history
  27. intel_pstate: Correct BYT VID values.

    Using a VID value that is not high enough for the requested P state can
    cause machine checks. Add a ceiling function to ensure calulated VIDs
    with fractional values are set to the next highest integer VID value.
    
    The algorythm for calculating the non-trubo VID from the BIOS writers
    guide is:
     vid_ratio = (vid_max - vid_min) / (max_pstate - min_pstate)
     vid = ceiling(vid_min + (req_pstate - min_pstate) * vid_ratio)
    
    Cc: All applicable <stable@vger.kernel.org>
    Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Dirk Brandewie authored and rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    d022a65 View commit details
    Browse the repository at this point in the history
  28. Merge branches 'acpi-ec' and 'acpi-platform'

    * acpi-ec:
      ACPI / EC: Cleanup coding style.
      ACPI / EC: Refine event/query debugging messages.
      ACPI / EC: Add detailed command/query debugging information.
      ACPI / EC: Enhance the logs to apply to QR_EC transactions.
      ACPI / EC: Add CPU ID to debugging messages.
    
    * acpi-platform:
      ACPI / platform: provide default DMA mask
    rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    286180d View commit details
    Browse the repository at this point in the history
  29. Merge branch 'pm-qos'

    * pm-qos:
      PM / QoS: Add PM_QOS_MEMORY_BANDWIDTH class
    rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    37c72ca View commit details
    Browse the repository at this point in the history
  30. Merge branch 'freezer'

    * freezer:
      PM / freezer: Clean up code after recent fixes
      PM: convert do_each_thread to for_each_process_thread
      OOM, PM: OOM killed task shouldn't escape PM suspend
      freezer: remove obsolete comments in __thaw_task()
      freezer: Do not freeze tasks killed by OOM killer
    rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    96ed753 View commit details
    Browse the repository at this point in the history
  31. Merge branches 'acpi-pm' and 'pm-genirq'

    * acpi-pm:
      ACPI: invoke acpi_device_wakeup() with correct parameters
    
    * pm-genirq:
      PCI / PM: handle failure to enable wakeup on PCIe PME
    rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    49fe035 View commit details
    Browse the repository at this point in the history
  32. Merge branches 'pm-cpuidle' and 'pm-cpufreq'

    * pm-cpuidle:
      cpuidle: powernv: Populate cpuidle state details by querying the device-tree
    
    * pm-cpufreq:
      intel_pstate: Correct BYT VID values.
      intel_pstate: Fix BYT frequency reporting
      intel_pstate: Don't lose sysfs settings during cpu offline
      cpufreq: intel_pstate: Reflect current no_turbo state correctly
      cpufreq: expose scaling_cur_freq sysfs file for set_policy() drivers
      cpufreq: intel_pstate: Fix setting max_perf_pct in performance policy
      cpufreq: cpufreq-dt: adjust message related to regulators
      cpufreq: cpufreq-dt: extend with platform_data
      cpufreq: allow driver-specific data
    rafaeljw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    a91e99e View commit details
    Browse the repository at this point in the history
  33. Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/tip/tip
    
    Pull x86 EFI updates from Peter Anvin:
     "This patchset falls under the "maintainers that grovel" clause in the
      v3.18-rc1 announcement.  We had intended to push it late in the merge
      window since we got it into the -tip tree relatively late.
    
      Many of these are relatively simple things, but there are a couple of
      key bits, especially Ard's and Matt's patches"
    
    * 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (24 commits)
      rtc: Disable EFI rtc for x86
      efi: rtc-efi: Export platform:rtc-efi as module alias
      efi: Delete the in_nmi() conditional runtime locking
      efi: Provide a non-blocking SetVariable() operation
      x86/efi: Adding efi_printks on memory allocationa and pci.reads
      x86/efi: Mark initialization code as such
      x86/efi: Update comment regarding required phys mapped EFI services
      x86/efi: Unexport add_efi_memmap variable
      x86/efi: Remove unused efi_call* macros
      efi: Resolve some shadow warnings
      arm64: efi: Format EFI memory type & attrs with efi_md_typeattr_format()
      ia64: efi: Format EFI memory type & attrs with efi_md_typeattr_format()
      x86: efi: Format EFI memory type & attrs with efi_md_typeattr_format()
      efi: Introduce efi_md_typeattr_format()
      efi: Add macro for EFI_MEMORY_UCE memory attribute
      x86/efi: Clear EFI_RUNTIME_SERVICES if failing to enter virtual mode
      arm64/efi: Do not enter virtual mode if booting with efi=noruntime or noefi
      arm64/efi: uefi_init error handling fix
      efi: Add kernel param efi=noruntime
      lib: Add a generic cmdline parse function parse_option_str
      ...
    torvalds committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    8c81f48 View commit details
    Browse the repository at this point in the history
  34. Merge tag 'remove-weak-declarations' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/helgaas/pci
    
    Pull weak function declaration removal from Bjorn Helgaas:
     "The "weak" attribute is commonly used for the default version of a
      function, where an architecture can override it by providing a strong
      version.
    
      Some header file declarations included the "weak" attribute.  That's
      error-prone because it causes every implementation to be weak, with no
      strong version at all, and the linker chooses one based on link order.
    
      What we want is the "weak" attribute only on the *definition* of the
      default implementation.  These changes remove "weak" from the
      declarations, leaving it on the default definitions"
    
    * tag 'remove-weak-declarations' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
      uprobes: Remove "weak" from function declarations
      memory-hotplug: Remove "weak" from memory_block_size_bytes() declaration
      kgdb: Remove "weak" from kgdb_arch_pc() declaration
      ARC: kgdb: generic kgdb_arch_pc() suffices
      vmcore: Remove "weak" from function declarations
      clocksource: Remove "weak" from clocksource_default_clock() declaration
      x86, intel-mid: Remove "weak" from function declarations
      audit: Remove "weak" from audit_classify_compat_syscall() declaration
    torvalds committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    816fb41 View commit details
    Browse the repository at this point in the history
  35. vfs: add i_op->dentry_open()

    Add a new inode operation i_op->dentry_open().  This is for stacked filesystems
    that want to return a struct file from a different filesystem.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    4aa7c63 View commit details
    Browse the repository at this point in the history
  36. vfs: export do_splice_direct() to modules

    Export do_splice_direct() to modules.  Needed by overlay filesystem.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    1c11859 View commit details
    Browse the repository at this point in the history
  37. vfs: export __inode_permission() to modules

    We need to be able to check inode permissions (but not filesystem implied
    permissions) for stackable filesystems.  Expose this interface for overlayfs.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    bd5d085 View commit details
    Browse the repository at this point in the history
  38. vfs: introduce clone_private_mount()

    Overlayfs needs a private clone of the mount, so create a function for
    this and export to modules.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    c771d68 View commit details
    Browse the repository at this point in the history
  39. vfs: export check_sticky()

    It's already duplicated in btrfs and about to be used in overlayfs too.
    
    Move the sticky bit check to an inline helper and call the out-of-line
    helper only in the unlikly case of the sticky bit being set.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    cbdf35b View commit details
    Browse the repository at this point in the history
  40. vfs: add whiteout support

    Whiteout isn't actually a new file type, but is represented as a char
    device (Linus's idea) with 0/0 device number.
    
    This has several advantages compared to introducing a new whiteout file
    type:
    
     - no userspace API changes (e.g. trivial to make backups of upper layer
       filesystem, without losing whiteouts)
    
     - no fs image format changes (you can boot an old kernel/fsck without
       whiteout support and things won't break)
    
     - implementation is trivial
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    787fb6b View commit details
    Browse the repository at this point in the history
  41. vfs: add RENAME_WHITEOUT

    This adds a new RENAME_WHITEOUT flag.  This flag makes rename() create a
    whiteout of source.  The whiteout creation is atomic relative to the
    rename.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    0d7a855 View commit details
    Browse the repository at this point in the history
  42. ext4: support RENAME_WHITEOUT

    Add whiteout support to ext4_rename().  A whiteout inode (chrdev/0,0) is
    created before the rename takes place.  The whiteout inode is added to the
    old entry instead of deleting it.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    cd808de View commit details
    Browse the repository at this point in the history
  43. shmem: support RENAME_WHITEOUT

    Allocate a dentry, initialize it with a whiteout and hash it in the place
    of the old dentry.  Later the old dentry will be moved away and the
    whiteout will remain.
    
    i_mutex protects agains concurrent readdir.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Cc: Hugh Dickins <hughd@google.com>
    Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    46fdb79 View commit details
    Browse the repository at this point in the history
  44. overlay filesystem

    Overlayfs allows one, usually read-write, directory tree to be
    overlaid onto another, read-only directory tree.  All modifications
    go to the upper, writable layer.
    
    This type of mechanism is most often used for live CDs but there's a
    wide variety of other uses.
    
    The implementation differs from other "union filesystem"
    implementations in that after a file is opened all operations go
    directly to the underlying, lower or upper, filesystems.  This
    simplifies the implementation and allows native performance in these
    cases.
    
    The dentry tree is duplicated from the underlying filesystems, this
    enables fast cached lookups without adding special support into the
    VFS.  This uses slightly more memory than union mounts, but dentries
    are relatively small.
    
    Currently inodes are duplicated as well, but it is a possible
    optimization to share inodes for non-directories.
    
    Opening non directories results in the open forwarded to the
    underlying filesystem.  This makes the behavior very similar to union
    mounts (with the same limitations vs. fchmod/fchown on O_RDONLY file
    descriptors).
    
    Usage:
    
      mount -t overlayfs overlayfs -olowerdir=/lower,upperdir=/upper/upper,workdir=/upper/work /overlay
    
    The following cotributions have been folded into this patch:
    
    Neil Brown <neilb@suse.de>:
     - minimal remount support
     - use correct seek function for directories
     - initialise is_real before use
     - rename ovl_fill_cache to ovl_dir_read
    
    Felix Fietkau <nbd@openwrt.org>:
     - fix a deadlock in ovl_dir_read_merged
     - fix a deadlock in ovl_remove_whiteouts
    
    Erez Zadok <ezk@fsl.cs.sunysb.edu>
     - fix cleanup after WARN_ON
    
    Sedat Dilek <sedat.dilek@googlemail.com>
     - fix up permission to confirm to new API
    
    Robin Dong <hao.bigrat@gmail.com>
     - fix possible leak in ovl_new_inode
     - create new inode in ovl_link
    
    Andy Whitcroft <apw@canonical.com>
     - switch to __inode_permission()
     - copy up i_uid/i_gid from the underlying inode
    
    AV:
     - ovl_copy_up_locked() - dput(ERR_PTR(...)) on two failure exits
     - ovl_clear_empty() - one failure exit forgetting to do unlock_rename(),
       lack of check for udir being the parent of upper, dropping and regaining
       the lock on udir (which would require _another_ check for parent being
       right).
     - bogus d_drop() in copyup and rename [fix from your mail]
     - copyup/remove and copyup/rename races [fix from your mail]
     - ovl_dir_fsync() leaving ERR_PTR() in ->realfile
     - ovl_entry_free() is pointless - it's just a kfree_rcu()
     - fold ovl_do_lookup() into ovl_lookup()
     - manually assigning ->d_op is wrong.  Just use ->s_d_op.
     [patches picked from Miklos]:
     * copyup/remove and copyup/rename races
     * bogus d_drop() in copyup and rename
    
    Also thanks to the following people for testing and reporting bugs:
    
      Jordi Pujol <jordipujolp@gmail.com>
      Andy Whitcroft <apw@canonical.com>
      Michal Suchanek <hramrach@centrum.cz>
      Felix Fietkau <nbd@openwrt.org>
      Erez Zadok <ezk@fsl.cs.sunysb.edu>
      Randy Dunlap <rdunlap@xenotime.net>
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    e9be9d5 View commit details
    Browse the repository at this point in the history
  45. overlayfs: add statfs support

    Add support for statfs to the overlayfs filesystem.  As the upper layer
    is the target of all write operations assume that the space in that
    filesystem is the space in the overlayfs.  There will be some inaccuracy as
    overwriting a file will copy it up and consume space we were not expecting,
    but it is better than nothing.
    
    Use the upper layer dentry and mount from the overlayfs root inode,
    passing the statfs call to that filesystem.
    
    Signed-off-by: Andy Whitcroft <apw@canonical.com>
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Andy Whitcroft authored and Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    cc25963 View commit details
    Browse the repository at this point in the history
  46. overlayfs: implement show_options

    This is useful because of the stacking nature of overlayfs.  Users like to
    find out (via /proc/mounts) which lower/upper directory were used at mount
    time.
    
    AV: even failing ovl_parse_opt() could've done some kstrdup()
    AV: failure of ovl_alloc_entry() should end up with ENOMEM, not EINVAL
    
    Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    ezk authored and Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    f45827e View commit details
    Browse the repository at this point in the history
  47. overlay: overlay filesystem documentation

    Document the overlay filesystem.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    neilbrown authored and Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    7c37fbd View commit details
    Browse the repository at this point in the history
  48. fs: limit filesystem stacking depth

    Add a simple read-only counter to super_block that indicates how deep this
    is in the stack of filesystems.  Previously ecryptfs was the only stackable
    filesystem and it explicitly disallowed multiple layers of itself.
    
    Overlayfs, however, can be stacked recursively and also may be stacked
    on top of ecryptfs or vice versa.
    
    To limit the kernel stack usage we must limit the depth of the
    filesystem stack.  Initially the limit is set to 2.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    69c433e View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2014

  1. MIPS: MSP71xx: Fix build error

    When CONFIG_MIPS_MT_SMP is enabled, the following compilation error
    occurs:
    
    arch/mips/pmcs-msp71xx/msp_irq_cic.c:134: error: ‘irq’ undeclared
    
    This code clearly never saw a compiler.
    The surrounding code suggests, that 'd->irq' was intended, not
    'irq'.
    
    This error was found with vampyr.
    
    Signed-off-by: Stefan Hengelein <stefan.hengelein@fau.de>
    Fixes: d7881fb ("MIPS: msp71xx: Convert to new irq_chip functions")
    Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/8116/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Stefan Hengelein authored and ralfbaechle committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    6fa88d9 View commit details
    Browse the repository at this point in the history
  2. MIPS: ftrace: Fix a microMIPS build problem

    Code before the .fixup section needs to have the .insn directive.
    This has no side effects on MIPS32/64 but it affects the way microMIPS
    loads the address for the return label.
    
    Fixes the following build problem:
    mips-linux-gnu-ld: arch/mips/built-in.o: .fixup+0x4a0: Unsupported jump between
    ISA modes; consider recompiling with interlinking enabled.
    mips-linux-gnu-ld: final link failed: Bad value
    Makefile:819: recipe for target 'vmlinux' failed
    
    The fix is similar to 1658f91 ("MIPS: microMIPS:
    Disable LL/SC and fix linker bug.")
    
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Cc: stable@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8117/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    aedd153 View commit details
    Browse the repository at this point in the history
  3. fix inode leaks on d_splice_alias() failure exits

    d_splice_alias() callers expect it to either stash the inode reference
    into a new alias, or drop the inode reference.  That makes it possible
    to just return d_splice_alias() result from ->lookup() instance, without
    any extra housekeeping required.
    
    Unfortunately, that should include the failure exits.  If d_splice_alias()
    returns an error, it leaves the dentry it has been given negative and
    thus it *must* drop the inode reference.  Easily fixed, but it goes way
    back and will need backporting.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    51486b9 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'overlayfs.v25' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/mszeredi/vfs into for-linus
    Al Viro committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    1be47b3 View commit details
    Browse the repository at this point in the history
  5. ARM: sunxi_defconfig: enable CONFIG_REGULATOR_FIXED_VOLTAGE

    I missed in 9a2ad52 that REGULATOR_FIXED_VOLTAGE had also gotten
    deselected, so it needs to be added back as an explicit option.
    
    Signed-off-by: Olof Johansson <olof@lixom.net>
    olofj committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    3e10dcc View commit details
    Browse the repository at this point in the history
  6. ARM: multi_v7_defconfig: enable CONFIG_MMC_DW_ROCKCHIP

    Allows booting from SD/MMC on RK3288 and other platforms. Added here so I
    can enable the board in the boot farm.
    
    Signed-off-by: Olof Johansson <olof@lixom.net>
    olofj committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    90f0845 View commit details
    Browse the repository at this point in the history
  7. Merge tag 'zynq-dt-fixes-for-3.18' of https://github.com/Xilinx/linux…

    …-xlnx into fixes
    
    Merge "Xilinx Zynq dt fixes for v3.18" from Michal Simek:
    
    arm: Xilinx Zynq DT fixes for v3.18
    - Fix gem register size
    - Fix OPP
    - Add missing references
    - Trivial cleanup
    
    * tag 'zynq-dt-fixes-for-3.18' of https://github.com/Xilinx/linux-xlnx:
      ARM: zynq: DT: trivial: Fix mc node
      ARM: zynq: DT: Add cadence watchdog node
      ARM: zynq: DT: Add missing reference for memory-controller
      ARM: zynq: DT: Add missing reference for ADC
      ARM: zynq: DT: Add missing address for L2 pl310
      ARM: zynq: DT: Remove 222 MHz OPP
      ARM: zynq: DT: Fix GEM register area size
    
    Signed-off-by: Olof Johansson <olof@lixom.net>
    olofj committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    bcd09f1 View commit details
    Browse the repository at this point in the history
  8. Merge tag 'at91-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/nferre/linux-at91 into fixes
    
    Merge "at91: fixes for v3.18 #1" from Nicholas Ferre:
    
    First AT91 fixes for 3.18:
    - one more MAINTAINERS entry for the SSC driver
    - a fix for the newly introduced power/reset driver
    - a fix on at91sam9263 USB due to PLLB misconfiguration
    
    * tag 'at91-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91:
      ARM: at91/dt: sam9263: fix PLLB frequencies
      power: reset: at91-reset: fix power down register
      MAINTAINERS: add atmel ssc driver maintainer entry
    
    Signed-off-by: Olof Johansson <olof@lixom.net>
    olofj committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    184f84d View commit details
    Browse the repository at this point in the history
  9. Merge tag 'socfpga_fixes_for_3.18' of git://git.rocketboards.org/linu…

    …x-socfpga-next into fixes
    
    Merge "SOCFPGA fixes for 3.18" from Dinh Nguyen:
    
    These patches fixes an SMP and SDMMC driver hang during boot up on the
    SOCFPGA platform.
    
    Patch "arm: socfpga: fix fetching cpu1start_addr for SMP" fixes the SMP
    trampoline code in order for CPU1 to correctly fetch it's cpu1start_addr.
    
    Patch "ARM: dts: socfpga: rename gpio nodes" renames that GPIO node in order
    to allow a standard way of specifying status="okay" in the board DTS file.
    
    Patch "ARM: dts: socfpga: Fix SD card detect" fixes a SDMMC driver hang
    during boot. The reason for the hang was the deferred probe of the SDMMC
    driver was waiting for the GPIO resource that would never come.
    
    Patch "ARM: dts: socfpga: Add a 3.3V fixed regulator node" adds a fixed
    regulator node for the SDMMC driver to use.
    
    * tag 'socfpga_fixes_for_3.18' of git://git.rocketboards.org/linux-socfpga-next:
      ARM: dts: socfpga: Add a 3.3V fixed regulator node
      ARM: dts: socfpga: Fix SD card detect
      ARM: dts: socfpga: rename gpio nodes
      arm: socfpga: fix fetching cpu1start_addr for SMP
    
    Signed-off-by: Olof Johansson <olof@lixom.net>
    olofj committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    4fbc400 View commit details
    Browse the repository at this point in the history
  10. ALSA: hda - Add missing terminating entry to SND_HDA_PIN_QUIRK macro

    Without this terminating entry, the pin matching would continue
    across random memory until a zero or a non-matching entry was found.
    
    The result being that in some cases, the pin quirk would not be
    applied correctly.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    David Henningsson authored and tiwai committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    fb54a64 View commit details
    Browse the repository at this point in the history
  11. Revert "[media] v4l2-dv-timings: fix a sparse warning"

    Sparse got a fix for that. Also, it is suspected that reverting
    this patch might cause compilation breakages on userspace. So,
    revert it.
    
    This reverts commit 5c2cacc.
    
    Requested-by: Hans Verkuil <hverkuil@xs4all.nl>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    mchehab committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    607ec6a View commit details
    Browse the repository at this point in the history
  12. KVM: x86: Check non-canonical addresses upon WRMSR

    Upon WRMSR, the CPU should inject #GP if a non-canonical value (address) is
    written to certain MSRs. The behavior is "almost" identical for AMD and Intel
    (ignoring MSRs that are not implemented in either architecture since they would
    anyhow #GP). However, IA32_SYSENTER_ESP and IA32_SYSENTER_EIP cause #GP if
    non-canonical address is written on Intel but not on AMD (which ignores the top
    32-bits).
    
    Accordingly, this patch injects a #GP on the MSRs which behave identically on
    Intel and AMD.  To eliminate the differences between the architecutres, the
    value which is written to IA32_SYSENTER_ESP and IA32_SYSENTER_EIP is turned to
    canonical value before writing instead of injecting a #GP.
    
    Some references from Intel and AMD manuals:
    
    According to Intel SDM description of WRMSR instruction #GP is expected on
    WRMSR "If the source register contains a non-canonical address and ECX
    specifies one of the following MSRs: IA32_DS_AREA, IA32_FS_BASE, IA32_GS_BASE,
    IA32_KERNEL_GS_BASE, IA32_LSTAR, IA32_SYSENTER_EIP, IA32_SYSENTER_ESP."
    
    According to AMD manual instruction manual:
    LSTAR/CSTAR (SYSCALL): "The WRMSR instruction loads the target RIP into the
    LSTAR and CSTAR registers.  If an RIP written by WRMSR is not in canonical
    form, a general-protection exception (#GP) occurs."
    IA32_GS_BASE and IA32_FS_BASE (WRFSBASE/WRGSBASE): "The address written to the
    base field must be in canonical form or a #GP fault will occur."
    IA32_KERNEL_GS_BASE (SWAPGS): "The address stored in the KernelGSbase MSR must
    be in canonical form."
    
    This patch fixes CVE-2014-3610.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    anadav authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    854e8bb View commit details
    Browse the repository at this point in the history
  13. KVM: x86: Prevent host from panicking on shared MSR writes.

    The previous patch blocked invalid writes directly when the MSR
    is written.  As a precaution, prevent future similar mistakes by
    gracefulling handle GPs caused by writes to shared MSRs.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Andrew Honig <ahonig@google.com>
    [Remove parts obsoleted by Nadav's patch. - Paolo]
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Andy Honig authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    8b3c310 View commit details
    Browse the repository at this point in the history
  14. KVM: x86: Improve thread safety in pit

    There's a race condition in the PIT emulation code in KVM.  In
    __kvm_migrate_pit_timer the pit_timer object is accessed without
    synchronization.  If the race condition occurs at the wrong time this
    can crash the host kernel.
    
    This fixes CVE-2014-3611.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Andrew Honig <ahonig@google.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Andy Honig authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    2febc83 View commit details
    Browse the repository at this point in the history
  15. KVM: x86: Fix wrong masking on relative jump/call

    Relative jumps and calls do the masking according to the operand size, and not
    according to the address size as the KVM emulator does today.
    
    This patch fixes KVM behavior.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    anadav authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    05c83ec View commit details
    Browse the repository at this point in the history
  16. KVM: x86: Emulator fixes for eip canonical checks on near branches

    Before changing rip (during jmp, call, ret, etc.) the target should be asserted
    to be canonical one, as real CPUs do.  During sysret, both target rsp and rip
    should be canonical. If any of these values is noncanonical, a #GP exception
    should occur.  The exception to this rule are syscall and sysenter instructions
    in which the assigned rip is checked during the assignment to the relevant
    MSRs.
    
    This patch fixes the emulator to behave as real CPUs do for near branches.
    Far branches are handled by the next patch.
    
    This fixes CVE-2014-3647.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    anadav authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    234f3ce View commit details
    Browse the repository at this point in the history
  17. KVM: x86: Handle errors when RIP is set during far jumps

    Far jmp/call/ret may fault while loading a new RIP.  Currently KVM does not
    handle this case, and may result in failed vm-entry once the assignment is
    done.  The tricky part of doing so is that loading the new CS affects the
    VMCS/VMCB state, so if we fail during loading the new RIP, we are left in
    unconsistent state.  Therefore, this patch saves on 64-bit the old CS
    descriptor and restores it if loading RIP failed.
    
    This fixes CVE-2014-3647.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    anadav authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    d1442d8 View commit details
    Browse the repository at this point in the history
  18. kvm: vmx: handle invvpid vm exit gracefully

    On systems with invvpid instruction support (corresponding bit in
    IA32_VMX_EPT_VPID_CAP MSR is set) guest invocation of invvpid
    causes vm exit, which is currently not handled and results in
    propagation of unknown exit to userspace.
    
    Fix this by installing an invvpid vm exit handler.
    
    This is CVE-2014-3646.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Petr Matousek <pmatouse@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    pmatouse authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    a642fc3 View commit details
    Browse the repository at this point in the history
  19. kvm: x86: don't kill guest on unknown exit reason

    KVM_EXIT_UNKNOWN is a kvm bug, we don't really know whether it was
    triggered by a priveledged application.  Let's not kill the guest: WARN
    and inject #UD instead.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    mstsirkin authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    2bc19dc View commit details
    Browse the repository at this point in the history
  20. KVM: x86: Decoding guest instructions which cross page boundary may fail

    Once an instruction crosses a page boundary, the size read from the second page
    disregards the common case that part of the operand resides on the first page.
    As a result, fetch of long insturctions may fail, and thereby cause the
    decoding to fail as well.
    
    Cc: stable@vger.kernel.org
    Fixes: 5cfc7e0
    Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    anadav authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    08da44a View commit details
    Browse the repository at this point in the history
  21. [media] wl128x: fix fmdbg compiler warning

    fmdrv_common.c: In function 'fm_download_firmware':
    fmdrv_common.c:1259:2: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
       fmdbg("Firmware(%s) length : %d bytes\n", fw_name, fw_entry->size);
       ^
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Hans Verkuil authored and mchehab committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    1a5cfd0 View commit details
    Browse the repository at this point in the history
  22. MIPS: SEAD3: Nuke PIC32 I2C driver.

    A platform driver for which nothing ever registers the corresponding
    platform device.
    
    Also it was driving the same hardware as sead3-i2c-drv.c so redundant
    anyway and couldn't co-exist with that driver because each of them was
    using a private spinlock to protect access to the same hardware
    resources.
    
    This also fixes a randconfig problem:
    
    arch/mips/mti-sead3/sead3-pic32-i2c-drv.c: In function 'i2c_platform_probe':
    arch/mips/mti-sead3/sead3-pic32-i2c-drv.c:345:2: error: implicit declaration of
    function 'i2c_add_numbered_adapter' [-Werror=implicit-function-declaration]
      ret = i2c_add_numbered_adapter(&priv->adap);
        ^
    arch/mips/mti-sead3/sead3-pic32-i2c-drv.c: In function
    'i2c_platform_remove':
    arch/mips/mti-sead3/sead3-pic32-i2c-drv.c:361:2: error: implicit declaration
    of function 'i2c_del_adapter' [-Werror=implicit-function-declaration]
    i2c_del_adapter(&priv->adap);
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    ralfbaechle committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    cc08d25 View commit details
    Browse the repository at this point in the history
  23. [media] em28xx-input: NULL dereference on error

    We call "kfree(ir->i2c_client);" in the error handling and that doesn't
    work if "ir" is NULL.
    
    Fixes: 78e719a ('[media] em28xx-input: i2c IR decoders: improve i2c_client handling')
    
    Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
    Acked-by: Frank Schäfer <fschaefer.oss@googlemail.com>
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Dan Carpenter authored and mchehab committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    34d7c24 View commit details
    Browse the repository at this point in the history
  24. [media] xc5000: use after free in release()

    I moved the call to hybrid_tuner_release_state(priv) after
    "priv->firmware" dereference.
    
    Fixes: 5264a52 ('[media] media: tuner xc5000 - release firmwware from xc5000_release()')
    
    Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
    Reviewed-by: Shuah Khan <shuahkh@osg.samsung.com>
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Dan Carpenter authored and mchehab committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    4961a53 View commit details
    Browse the repository at this point in the history
  25. [media] tw68: remove deprecated IRQF_DISABLED

    See include/linux/interrupt.h:
    "This flag is a NOOP and scheduled to be removed"
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Fabian Frederick authored and mchehab committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    a4789e6 View commit details
    Browse the repository at this point in the history
  26. [media] usbvision-video: two use after frees

    The lock has been freed in usbvision_release() so there is no need to
    call mutex_unlock() here.
    
    Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Dan Carpenter authored and mchehab committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    470a914 View commit details
    Browse the repository at this point in the history
  27. KVM: emulate: avoid accessing NULL ctxt->memopp

    A failure to decode the instruction can cause a NULL pointer access.
    This is fixed simply by moving the "done" label as close as possible
    to the return.
    
    This fixes CVE-2014-8481.
    
    Reported-by: Andy Lutomirski <luto@amacapital.net>
    Cc: stable@vger.kernel.org
    Fixes: 41061cd
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    a430c91 View commit details
    Browse the repository at this point in the history
  28. KVM: x86: Emulator does not decode clflush well

    Currently, all group15 instructions are decoded as clflush (e.g., mfence,
    xsave).  In addition, the clflush instruction requires no prefix (66/f2/f3)
    would exist. If prefix exists it may encode a different instruction (e.g.,
    clflushopt).
    
    Creating a group for clflush, and different group for each prefix.
    
    This has been the case forever, but the next patch needs the cflush group
    in order to fix a bug introduced in 3.17.
    
    Fixes: 41061cd
    Cc: stable@vger.kernel.org
    Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    anadav authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    13e457e View commit details
    Browse the repository at this point in the history
  29. KVM: x86: PREFETCH and HINT_NOP should have SrcMem flag

    The decode phase of the x86 emulator assumes that every instruction with the
    ModRM flag, and which can be used with RIP-relative addressing, has either
    SrcMem or DstMem.  This is not the case for several instructions - prefetch,
    hint-nop and clflush.
    
    Adding SrcMem|NoAccess for prefetch and hint-nop and SrcMem for clflush.
    
    This fixes CVE-2014-8480.
    
    Fixes: 41061cd
    Cc: stable@vger.kernel.org
    Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    anadav authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    3f6f148 View commit details
    Browse the repository at this point in the history
  30. kvm: fix excessive pages un-pinning in kvm_iommu_map error path.

    The third parameter of kvm_unpin_pages() when called from
    kvm_iommu_map_pages() is wrong, it should be the number of pages to un-pin
    and not the page size.
    
    This error was facilitated with an inconsistent API: kvm_pin_pages() takes
    a size, but kvn_unpin_pages() takes a number of pages, so fix the problem
    by matching the two.
    
    This was introduced by commit 350b8bd ("kvm: iommu: fix the third parameter
    of kvm_iommu_put_pages (CVE-2014-3601)"), which fixes the lack of
    un-pinning for pages intended to be un-pinned (i.e. memory leak) but
    unfortunately potentially aggravated the number of pages we un-pin that
    should have stayed pinned. As far as I understand though, the same
    practical mitigations apply.
    
    This issue was found during review of Red Hat 6.6 patches to prepare
    Ksplice rebootless updates.
    
    Thanks to Vegard for his time on a late Friday evening to help me in
    understanding this code.
    
    Fixes: 350b8bd ("kvm: iommu: fix the third parameter of... (CVE-2014-3601)")
    Cc: stable@vger.kernel.org
    Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
    Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
    Signed-off-by: Jamie Iles <jamie.iles@oracle.com>
    Reviewed-by: Sasha Levin <sasha.levin@oracle.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Quentin Casasnovas authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    3d32e4d View commit details
    Browse the repository at this point in the history
  31. KVM: x86: Wrong assertion on paging_tmpl.h

    Even after the recent fix, the assertion on paging_tmpl.h is triggered.
    Apparently, the assertion wants to check that the PAE is always set on
    long-mode, but does it in incorrect way.  Note that the assertion is not
    enabled unless the code is debugged by defining MMU_DEBUG.
    
    Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    anadav authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    1715d0d View commit details
    Browse the repository at this point in the history
  32. kvm: vfio: fix unregister kvm_device_ops of vfio

    After commit 80ce163 (KVM: VFIO: register kvm_device_ops dynamically),
    kvm_device_ops of vfio can be registered dynamically. Commit 3c3c29f
    (kvm-vfio: do not use module_init) move the dynamic register invoked by
    kvm_init in order to fix broke unloading of the kvm module. However,
    kvm_device_ops of vfio is unregistered after rmmod kvm-intel module
    which lead to device type collision detection warning after kvm-intel
    module reinsmod.
    
        WARNING: CPU: 1 PID: 10358 at /root/cathy/kvm/arch/x86/kvm/../../../virt/kvm/kvm_main.c:3289 kvm_init+0x234/0x282 [kvm]()
        Modules linked in: kvm_intel(O+) kvm(O) nfsv3 nfs_acl auth_rpcgss oid_registry nfsv4 dns_resolver nfs fscache lockd sunrpc pci_stub bridge stp llc autofs4 8021q cpufreq_ondemand ipv6 joydev microcode pcspkr igb i2c_algo_bit ehci_pci ehci_hcd e1000e i2c_i801 ixgbe ptp pps_core hwmon mdio tpm_tis tpm ipmi_si ipmi_msghandler acpi_cpufreq isci libsas scsi_transport_sas button dm_mirror dm_region_hash dm_log dm_mod [last unloaded: kvm_intel]
        CPU: 1 PID: 10358 Comm: insmod Tainted: G        W  O   3.17.0-rc1 #2
        Hardware name: Intel Corporation S2600CP/S2600CP, BIOS RMLSDP.86I.00.29.D696.1311111329 11/11/2013
         0000000000000cd9 ffff880ff08cfd18 ffffffff814a61d9 0000000000000cd9
         0000000000000000 ffff880ff08cfd58 ffffffff810417b7 ffff880ff08cfd48
         ffffffffa045bcac ffffffffa049c420 0000000000000040 00000000000000ff
        Call Trace:
         [<ffffffff814a61d9>] dump_stack+0x49/0x60
         [<ffffffff810417b7>] warn_slowpath_common+0x7c/0x96
         [<ffffffffa045bcac>] ? kvm_init+0x234/0x282 [kvm]
         [<ffffffff810417e6>] warn_slowpath_null+0x15/0x17
         [<ffffffffa045bcac>] kvm_init+0x234/0x282 [kvm]
         [<ffffffffa016e995>] vmx_init+0x1bf/0x42a [kvm_intel]
         [<ffffffffa016e7d6>] ? vmx_check_processor_compat+0x64/0x64 [kvm_intel]
         [<ffffffff810002ab>] do_one_initcall+0xe3/0x170
         [<ffffffff811168a9>] ? __vunmap+0xad/0xb8
         [<ffffffff8109c58f>] do_init_module+0x2b/0x174
         [<ffffffff8109d414>] load_module+0x43e/0x569
         [<ffffffff8109c6d8>] ? do_init_module+0x174/0x174
         [<ffffffff8109c75a>] ? copy_module_from_user+0x39/0x82
         [<ffffffff8109b7dd>] ? module_sect_show+0x20/0x20
         [<ffffffff8109d65f>] SyS_init_module+0x54/0x81
         [<ffffffff814a9a12>] system_call_fastpath+0x16/0x1b
        ---[ end trace 0626f4a3ddea56f3 ]---
    
    The bug can be reproduced by:
    
        rmmod kvm_intel.ko
        insmod kvm_intel.ko
    
    without rmmod/insmod kvm.ko
    This patch fixes the bug by unregistering kvm_device_ops of vfio when the
    kvm-intel module is removed.
    
    Reported-by: Liu Rongrong <rongrongx.liu@intel.com>
    Fixes: 3c3c29f
    Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Wanpeng Li authored and bonzini committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    571ee1b View commit details
    Browse the repository at this point in the history
  33. [media] tw68: remove bogus I2C_ALGOBIT dependency

    tw68 doesn't use i2c at all, so remove this bogus dependency to prevent
    this warning:
    
    warning: (CAN_PEAK_PCIEC && SFC && IGB && VIDEO_TW68 && DRM && FB_DDC && FB_VIA) selects I2C_ALGOBIT which has unmet direct dependencies (I2C)
       CC [M]  drivers/i2c/algos/i2c-algo-bit.o
    ../drivers/i2c/algos/i2c-algo-bit.c: In function 'i2c_bit_add_bus':
    ../drivers/i2c/algos/i2c-algo-bit.c:658:33: error: 'i2c_add_adapter' undeclared (first use in this function)
    ../drivers/i2c/algos/i2c-algo-bit.c:658:33: note: each undeclared identifier is reported only once for each function it appears in
    ../drivers/i2c/algos/i2c-algo-bit.c: In function 'i2c_bit_add_numbered_bus':
    ../drivers/i2c/algos/i2c-algo-bit.c:664:33: error: 'i2c_add_numbered_adapter' undeclared (first use in this function)
    ../drivers/i2c/algos/i2c-algo-bit.c: In function 'i2c_bit_add_bus':
    ../drivers/i2c/algos/i2c-algo-bit.c:659:1: warning: control reaches end of non-void function [-Wreturn-type]
    ../drivers/i2c/algos/i2c-algo-bit.c: In function 'i2c_bit_add_numbered_bus':
    ../drivers/i2c/algos/i2c-algo-bit.c:665:1: warning: control reaches end of non-void function [-Wreturn-type]
    
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Reported-by: Randy Dunlap <rdunlap@infradead.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Hans Verkuil authored and mchehab committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    f2d90e6 View commit details
    Browse the repository at this point in the history
  34. [media] videobuf-dma-contig: set vm_pgoff to be zero to pass the sani…

    …ty check in vm_iomap_memory()
    
    When user requests V4L2_MEMORY_MMAP type buffers, the videobuf-core
    will assign the corresponding offset to the 'boff' field of the
    videobuf_buffer for each requested buffer sequentially. Later, user
    may call mmap() to map one or all of the buffers with the 'offset'
    parameter which is equal to its 'boff' value. Obviously, the 'offset'
    value is only used to find the matched buffer instead of to be the
    real offset from the buffer's physical start address as used by
    vm_iomap_memory(). So, in some case that if the offset is not zero,
    vm_iomap_memory() will fail.
    
    Signed-off-by: Fancy Fang <chen.fang@freescale.com>
    Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com>
    Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Fancy Fang authored and mchehab committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    8a6a547 View commit details
    Browse the repository at this point in the history
  35. MIPS: SEAD3: Fix I2C device registration.

    This isn't a module and shouldn't be one.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    ralfbaechle committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    4846f11 View commit details
    Browse the repository at this point in the history
  36. [media] Remove references to non-existent PLAT_S5P symbol

    The PLAT_S5P Kconfig symbol was removed in commit d78c16c
    ("ARM: SAMSUNG: Remove remaining legacy code"). However, there
    are still some references to that symbol left, fix that by
    substituting them with ARCH_S5PV210.
    
    Fixes: d78c16c ("ARM: SAMSUNG: Remove remaining legacy code")
    
    Reported-by: Paul Bolle <pebolle@tiscali.nl>
    Cc: <stable@vger.kernel.org> # for 3.17
    Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Sylwester Nawrocki authored and mchehab committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    098bcd2 View commit details
    Browse the repository at this point in the history
  37. [media] s5p-jpeg: Only build suspend/resume for PM

    If power management is disabled these function become unused, so there
    is no reason to build them. This fixes a couple of build warnings when
    PM(_SLEEP,_RUNTIME) is not enabled.
    
    Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: Thierry Reding <treding@nvidia.com>
    Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    thierryreding authored and mchehab committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    de3767a View commit details
    Browse the repository at this point in the history
  38. [media] s5p-fimc: Only build suspend/resume for PM

    If power management is disabled these functions become unused, so there
    is no reason to build them. This fixes a couple of build warnings when
    PM(_SLEEP,_RUNTIME) is not enabled.
    
    Signed-off-by: Thierry Reding <treding@nvidia.com>
    Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    thierryreding authored and mchehab committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    d3460b2 View commit details
    Browse the repository at this point in the history
  39. [media] s5p-jpeg: Avoid -Wuninitialized warning in s5p_jpeg_parse_hdr

    Initialize components variable in order to avoid
    the possibility of using it uninitialized.
    
    Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
    Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    janaszewski authored and mchehab committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    f3d83a1 View commit details
    Browse the repository at this point in the history
  40. arm64: ASLR: Don't randomise text when randomise_va_space == 0

    When user asks to turn off ASLR by writing "0" to
    /proc/sys/kernel/randomize_va_space there should not be
    any randomization to mmap base, stack, VDSO, libs, text and heap
    
    Currently arm64 violates this behavior by randomising text.
    Fix this by defining a constant ELF_ET_DYN_BASE. The randomisation of
    mm->mmap_base is done by setup_new_exec -> arch_pick_mmap_layout ->
    mmap_base -> mmap_rnd.
    
    Signed-off-by: Arun Chandran <achandran@mvista.com>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    arun-chandran authored and ctmarinas committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    9298040 View commit details
    Browse the repository at this point in the history
  41. sparc64: Fix register corruption in top-most kernel stack frame durin…

    …g boot.
    
    Meelis Roos reported that kernels built with gcc-4.9 do not boot, we
    eventually narrowed this down to only impacting machines using
    UltraSPARC-III and derivitive cpus.
    
    The crash happens right when the first user process is spawned:
    
    [   54.451346] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
    [   54.451346]
    [   54.571516] CPU: 1 PID: 1 Comm: init Not tainted 3.16.0-rc2-00211-gd7933ab #96
    [   54.666431] Call Trace:
    [   54.698453]  [0000000000762f8c] panic+0xb0/0x224
    [   54.759071]  [000000000045cf68] do_exit+0x948/0x960
    [   54.823123]  [000000000042cbc0] fault_in_user_windows+0xe0/0x100
    [   54.902036]  [0000000000404ad0] __handle_user_windows+0x0/0x10
    [   54.978662] Press Stop-A (L1-A) to return to the boot prom
    [   55.050713] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
    
    Further investigation showed that compiling only per_cpu_patch() with
    an older compiler fixes the boot.
    
    Detailed analysis showed that the function is not being miscompiled by
    gcc-4.9, but it is using a different register allocation ordering.
    
    With the gcc-4.9 compiled function, something during the code patching
    causes some of the %i* input registers to get corrupted.  Perhaps
    we have a TLB miss path into the firmware that is deep enough to
    cause a register window spill and subsequent restore when we get
    back from the TLB miss trap.
    
    Let's plug this up by doing two things:
    
    1) Stop using the firmware stack for client interface calls into
       the firmware.  Just use the kernel's stack.
    
    2) As soon as we can, call into a new function "start_early_boot()"
       to put a one-register-window buffer between the firmware's
       deepest stack frame and the top-most initial kernel one.
    
    Reported-by: Meelis Roos <mroos@linux.ee>
    Tested-by: Meelis Roos <mroos@linux.ee>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    ef3e035 View commit details
    Browse the repository at this point in the history
  42. sparc64: Implement __get_user_pages_fast().

    It is not sufficient to only implement get_user_pages_fast(), you
    must also implement the atomic version __get_user_pages_fast()
    otherwise you end up using the weak symbol fallback implementation
    which simply returns zero.
    
    This is dangerous, because it causes the futex code to loop forever
    if transparent hugepages are supported (see get_futex_key()).
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    06090e8 View commit details
    Browse the repository at this point in the history
  43. arm64: Fix memblock current_limit with 64K pages and 48-bit VA

    With 48-bit VA space, the 64K page configuration uses 3 levels instead
    of 2 and PUD_SIZE != PMD_SIZE. Since with 64K pages we only cover
    PMD_SIZE with the initial swapper_pg_dir populated in head.S, the
    memblock current_limit needs to be set accordingly in map_mem() to avoid
    allocating unmapped memory. The memblock current_limit is progressively
    increased as more blocks are mapped.
    
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    ctmarinas committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    3dec0fe View commit details
    Browse the repository at this point in the history
  44. Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…

    …rzhang/linux
    
    Pull thermal management updates from Zhang Rui:
     "Sorry that I missed the merge window as there is a bug found in the
      last minute, and I have to fix it and wait for the code to be tested
      in linux-next tree for a few days.  Now the buggy patch has been
      dropped entirely from my next branch.  Thus I hope those changes can
      still be merged in 3.18-rc2 as most of them are platform thermal
      driver changes.
    
      Specifics:
    
       - introduce ACPI INT340X thermal drivers.
    
         Newer laptops and tablets may have thermal sensors and other
         devices with thermal control capabilities that are exposed for the
         OS to use via the ACPI INT340x device objects.  Several drivers are
         introduced to expose the temperature information and cooling
         ability from these objects to user-space via the normal thermal
         framework.
    
         From: Lu Aaron, Lan Tianyu, Jacob Pan and Zhang Rui.
    
       - introduce a new thermal governor, which just uses a hysteresis to
         switch abruptly on/off a cooling device.  This governor can be used
         to control certain fan devices that can not be throttled but just
         switched on or off.  From: Peter Feuerer.
    
       - introduce support for some new thermal interrupt functions on
         i.MX6SX, in IMX thermal driver.  From: Anson, Huang.
    
       - introduce tracing support on thermal framework.  From: Punit
         Agrawal.
    
       - small fixes in OF thermal and thermal step_wise governor"
    
    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (25 commits)
      Thermal: int340x thermal: select ACPI fan driver
      Thermal: int3400_thermal: use acpi_thermal_rel parsing APIs
      Thermal: int340x_thermal: expose acpi thermal relationship tables
      Thermal: introduce int3403 thermal driver
      Thermal: introduce INT3402 thermal driver
      Thermal: move the KELVIN_TO_MILLICELSIUS macro to thermal.h
      ACPI / Fan: support INT3404 thermal device
      ACPI / Fan: add ACPI 4.0 style fan support
      ACPI / fan: convert to platform driver
      ACPI / fan: use acpi_device_xxx_power instead of acpi_bus equivelant
      ACPI / fan: remove no need check for device pointer
      ACPI / fan: remove unused macro
      Thermal: int3400 thermal: register to thermal framework
      Thermal: int3400 thermal: add capability to detect supporting UUIDs
      Thermal: introduce int3400 thermal driver
      ACPI: add ACPI_TYPE_LOCAL_REFERENCE support to acpi_extract_package()
      ACPI: make acpi_create_platform_device() an external API
      thermal: step_wise: fix: Prevent from binary overflow when trend is dropping
      ACPI: introduce ACPI int340x thermal scan handler
      thermal: Added Bang-bang thermal governor
      ...
    torvalds committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    8264fce View commit details
    Browse the repository at this point in the history
  45. Merge tag 'pm+acpi-3.18-rc2' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/rafael/linux-pm
    
    Pull ACPI and power management updates from Rafael Wysocki:
     "This is material that didn't make it to my 3.18-rc1 pull request for
      various reasons, mostly related to timing and travel (LinuxCon EU /
      LPC) plus a couple of fixes for recent bugs.
    
      The only really new thing here is the PM QoS class for memory
      bandwidth, but it is simple enough and users of it will be added in
      the next cycle.  One major change in behavior is that platform devices
      enumerated by ACPI will use 32-bit DMA mask by default.  Also included
      is an ACPICA update to a new upstream release, but that's mostly
      cleanups, changes in tools and similar.  The rest is fixes and
      cleanups mostly.
    
      Specifics:
    
       - Fix for a recent PCI power management change that overlooked the
         fact that some IRQ chips might not be able to configure PCIe PME
         for system wakeup from Lucas Stach.
    
       - Fix for a bug introduced in 3.17 where acpi_device_wakeup() is
         called with a wrong ordering of arguments from Zhang Rui.
    
       - A bunch of intel_pstate driver fixes (all -stable candidates) from
         Dirk Brandewie, Gabriele Mazzotta and Pali Rohár.
    
       - Fixes for a rather long-standing problem with the OOM killer and
         the freezer that frozen processes killed by the OOM do not actually
         release any memory until they are thawed, so OOM-killing them is
         rather pointless, with a couple of cleanups on top (Michal Hocko,
         Cong Wang, Rafael J Wysocki).
    
       - ACPICA update to upstream release 20140926, inlcuding mostly
         cleanups reducing differences between the upstream ACPICA and the
         kernel code, tools changes (acpidump, acpiexec) and support for the
         _DDN object (Bob Moore, Lv Zheng).
    
       - New PM QoS class for memory bandwidth from Tomeu Vizoso.
    
       - Default 32-bit DMA mask for platform devices enumerated by ACPI
         (this change is mostly needed for some drivers development in
         progress targeted at 3.19) from Heikki Krogerus.
    
       - ACPI EC driver cleanups, mostly related to debugging, from Lv
         Zheng.
    
       - cpufreq-dt driver updates from Thomas Petazzoni.
    
       - powernv cpuidle driver update from Preeti U Murthy"
    
    * tag 'pm+acpi-3.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (34 commits)
      intel_pstate: Correct BYT VID values.
      intel_pstate: Fix BYT frequency reporting
      intel_pstate: Don't lose sysfs settings during cpu offline
      cpufreq: intel_pstate: Reflect current no_turbo state correctly
      cpufreq: expose scaling_cur_freq sysfs file for set_policy() drivers
      cpufreq: intel_pstate: Fix setting max_perf_pct in performance policy
      PCI / PM: handle failure to enable wakeup on PCIe PME
      ACPI: invoke acpi_device_wakeup() with correct parameters
      PM / freezer: Clean up code after recent fixes
      PM: convert do_each_thread to for_each_process_thread
      OOM, PM: OOM killed task shouldn't escape PM suspend
      freezer: remove obsolete comments in __thaw_task()
      freezer: Do not freeze tasks killed by OOM killer
      ACPI / platform: provide default DMA mask
      cpuidle: powernv: Populate cpuidle state details by querying the device-tree
      cpufreq: cpufreq-dt: adjust message related to regulators
      cpufreq: cpufreq-dt: extend with platform_data
      cpufreq: allow driver-specific data
      ACPI / EC: Cleanup coding style.
      ACPI / EC: Refine event/query debugging messages.
      ...
    torvalds committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    1c45d9a View commit details
    Browse the repository at this point in the history
  46. Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/tytso/random
    
    Pull /dev/random updates from Ted Ts'o:
     "This adds a memzero_explicit() call which is guaranteed not to be
      optimized away by GCC.  This is important when we are wiping
      cryptographically sensitive material"
    
    * tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random:
      crypto: memzero_explicit - make sure to clear out sensitive data
      random: add and use memzero_explicit() for clearing data
    torvalds committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    14d4cc0 View commit details
    Browse the repository at this point in the history
  47. Merge tag 'sound-3.18-rc2' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/tiwai/sound
    
    Pull sound fixes from Takashi Iwai:
     "Here are a chunk of small fixes since rc1: two PCM core fixes, one is
      a long-standing annoyance about lockdep and another is an ARM64 mmap
      fix.
    
      The rest are a HD-audio HDMI hotplug notification fix, a fix for
      missing NULL termination in Realtek codec quirks and a few new
      device/codec-specific quirks as usual"
    
    * tag 'sound-3.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
      ALSA: hda - Add missing terminating entry to SND_HDA_PIN_QUIRK macro
      ALSA: pcm: Fix false lockdep warnings
      ALSA: hda - Fix inverted LED gpio setup for Lenovo Ideapad
      ALSA: hda - hdmi: Fix missing ELD change event on plug/unplug
      ALSA: usb-audio: Add support for Steinberg UR22 USB interface
      ALSA: ALC283 codec - Avoid pop noise on headphones during suspend/resume
      ALSA: pcm: use the same dma mmap codepath both for arm and arm64
    torvalds committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    c6d1340 View commit details
    Browse the repository at this point in the history
  48. Merge tag 'stable/for-linus-3.18-b-rc1-tag' of git://git.kernel.org/p…

    …ub/scm/linux/kernel/git/xen/tip
    
    Pull xen bug fixes from David Vrabel:
    
     - Fix regression in xen_clocksource_read() which caused all Xen guests
       to crash early in boot.
     - Several fixes for super rare race conditions in the p2m.
     - Assorted other minor fixes.
    
    * tag 'stable/for-linus-3.18-b-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
      xen/pci: Allocate memory for physdev_pci_device_add's optarr
      x86/xen: panic on bad Xen-provided memory map
      x86/xen: Fix incorrect per_cpu accessor in xen_clocksource_read()
      x86/xen: avoid race in p2m handling
      x86/xen: delay construction of mfn_list_list
      x86/xen: avoid writing to freed memory after race in p2m handling
      xen/balloon: Don't continue ballooning when BP_ECANCELED is encountered
    torvalds committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    20ca57c View commit details
    Browse the repository at this point in the history
  49. Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

    Pull kvm fixes from Paolo Bonzini:
     "This is a pretty large update.  I think it is roughly as big as what I
      usually had for the _whole_ rc period.
    
      There are a few bad bugs where the guest can OOPS or crash the host.
      We have also started looking at attack models for nested
      virtualization; bugs that usually result in the guest ring 0 crashing
      itself become more worrisome if you have nested virtualization,
      because the nested guest might bring down the non-nested guest as
      well.  For current uses of nested virtualization these do not really
      have a security impact, but you never know and bugs are bugs
      nevertheless.
    
      A lot of these bugs are in 3.17 too, resulting in a large number of
      stable@ Ccs.  I checked that all the patches apply there with no
      conflicts"
    
    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
      kvm: vfio: fix unregister kvm_device_ops of vfio
      KVM: x86: Wrong assertion on paging_tmpl.h
      kvm: fix excessive pages un-pinning in kvm_iommu_map error path.
      KVM: x86: PREFETCH and HINT_NOP should have SrcMem flag
      KVM: x86: Emulator does not decode clflush well
      KVM: emulate: avoid accessing NULL ctxt->memopp
      KVM: x86: Decoding guest instructions which cross page boundary may fail
      kvm: x86: don't kill guest on unknown exit reason
      kvm: vmx: handle invvpid vm exit gracefully
      KVM: x86: Handle errors when RIP is set during far jumps
      KVM: x86: Emulator fixes for eip canonical checks on near branches
      KVM: x86: Fix wrong masking on relative jump/call
      KVM: x86: Improve thread safety in pit
      KVM: x86: Prevent host from panicking on shared MSR writes.
      KVM: x86: Check non-canonical addresses upon WRMSR
    torvalds committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    96971e9 View commit details
    Browse the repository at this point in the history
  50. Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc

    Pull two sparc fixes from David Miller:
    
     1) Fix boots with gcc-4.9 compiled sparc64 kernels.
    
     2) Add missing __get_user_pages_fast() on sparc64 to fix hangs on
        futexes used in transparent hugepage areas.
    
        It's really idiotic to have a weak symbolled fallback that just
        returns zero, and causes this kind of bug.  There should be no
        backup implementation and the link should fail if the architecture
        fails to provide __get_user_pages_fast() and supports transparent
        hugepages.
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
      sparc64: Implement __get_user_pages_fast().
      sparc64: Fix register corruption in top-most kernel stack frame during boot.
    torvalds committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    83da00f View commit details
    Browse the repository at this point in the history
  51. Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/arm64/linux
    
    Pull arm64 fixes from Catalin Marinas:
    
     - enable 48-bit VA space now that KVM has been fixed, together with a
       couple of fixes for pgd allocation alignment and initial memblock
       current_limit.  There is still a dependency on !ARM_SMMU which needs
       to be updated as it uses the page table manipulation macros of the
       host kernel
     - eBPF fixes following changes/conflicts during the merging window
     - Compat types affecting compat_elf_prpsinfo
     - Compilation error on UP builds
     - ASLR fix when /proc/sys/kernel/randomize_va_space == 0
     - DT definitions for CLCD support on ARMv8 model platform
    
    * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
      arm64: Fix memblock current_limit with 64K pages and 48-bit VA
      arm64: ASLR: Don't randomise text when randomise_va_space == 0
      arm64: vexpress: Add CLCD support to the ARMv8 model platform
      arm64: Fix compilation error on UP builds
      Documentation/arm64/memory.txt: fix typo
      net: bpf: arm64: minor fix of type in jited
      arm64: bpf: add 'load 64-bit immediate' instruction
      arm64: bpf: add 'shift by register' instructions
      net: bpf: arm64: address randomize and write protect JIT code
      arm64: mm: Correct fixmap pagetable types
      arm64: compat: fix compat types affecting struct compat_elf_prpsinfo
      arm64: Align less than PAGE_SIZE pgds naturally
      arm64: Allow 48-bits VA space without ARM_SMMU
    torvalds committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    cdc63a0 View commit details
    Browse the repository at this point in the history
  52. Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upst…

    …ream-linus
    
    Pull MIPS fixes from Ralf Baechle:
     "This is the first round of fixes and tying up loose ends for MIPS.
    
       - plenty of fixes for build errors in specific obscure configurations
       - remove redundant code on the Lantiq platform
       - removal of a useless SEAD I2C driver that was causing a build issue
       - fix an earlier TLB exeption handler fix to also work on Octeon.
       - fix ISA level dependencies in FPU emulator's instruction decoding.
       - don't hardcode kernel command line in Octeon software emulator.
       - fix an earlier fix for the Loondson 2 clock setting"
    
    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus:
      MIPS: SEAD3: Fix I2C device registration.
      MIPS: SEAD3: Nuke PIC32 I2C driver.
      MIPS: ftrace: Fix a microMIPS build problem
      MIPS: MSP71xx: Fix build error
      MIPS: Malta: Do not build the malta-amon.c file if CMP is not enabled
      MIPS: Prevent compiler warning from cop2_{save,restore}
      MIPS: Kconfig: Add missing MIPS_CPS dependencies to PM and cpuidle
      MIPS: idle: Remove leftover __pastwait symbol and its references
      MIPS: Sibyte: Include the swarm subdir to the sb1250 LittleSur builds
      MIPS: ptrace.h: Add a missing include
      MIPS: ath79: Fix compilation error when CONFIG_PCI is disabled
      MIPS: MSP71xx: Remove compilation error when CONFIG_MIPS_MT is present
      MIPS: Octeon: Remove special case for simulator command line.
      MIPS: tlbex: Properly fix HUGE TLB Refill exception handler
      MIPS: loongson2_cpufreq: Fix CPU clock rate setting mismerge
      pci: pci-lantiq: remove duplicate check on resource
      MIPS: Lasat: Add missing CONFIG_PROC_FS dependency to PICVUE_PROC
      MIPS: cp1emu: Fix ISA restrictions for cop1x_op instructions
    torvalds committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    2cc9188 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2014

  1. overlayfs: don't hold ->i_mutex over opening the real directory

    just use it to serialize the assignment
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro committed Oct 25, 2014
    Configuration menu
    Copy the full SHA
    3d268c9 View commit details
    Browse the repository at this point in the history
  2. overlayfs: make ovl_cache_entry->name an array instead of pointer

    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro committed Oct 25, 2014
    Configuration menu
    Copy the full SHA
    68bf861 View commit details
    Browse the repository at this point in the history
  3. overlayfs: embed root into overlay_readdir_data

    no sense having it a pointer - all instances have it pointing to
    local variable in the same stack frame
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro committed Oct 25, 2014
    Configuration menu
    Copy the full SHA
    49be4fb View commit details
    Browse the repository at this point in the history
  4. overlayfs: embed middle into overlay_readdir_data

    same story...
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro committed Oct 25, 2014
    Configuration menu
    Copy the full SHA
    db6ec21 View commit details
    Browse the repository at this point in the history
  5. ARM: i.MX6: Fix "emi" clock name typo

    Fix a typo error, the "emi" names refer to the eim clocks.
    
    The change fixes typo in EIM and EIM_SLOW pre-output dividers and
    selectors clock names. Notably EIM_SLOW clock itself is named correctly.
    
    Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
    [vladimir_zapolskiy@mentor.com: ported to v3.17]
    Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
    Cc: Sascha Hauer <kernel@pengutronix.de>
    Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
    slongerbeam authored and shawnguo2 committed Oct 25, 2014
    Configuration menu
    Copy the full SHA
    a1fc198 View commit details
    Browse the repository at this point in the history
  6. ARM: dts: imx28-evk: Let i2c0 run at 100kHz

    Commit 78b81f4 ("ARM: dts: imx28-evk: Run I2C0 at 400kHz") caused issues
    when doing the following sequence in loop:
    
    - Boot the kernel
    - Perform audio playback
    - Reboot the system via 'reboot' command
    
    In many times the audio card cannot be probed, which causes playback to fail.
    
    After restoring to the original i2c0 frequency of 100kHz there is no such
    problem anymore.
    
    This reverts commit 78b81f4.
    
    Cc: <stable@vger.kernel.org> # 3.16+
    Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
    Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
    Fabio Estevam authored and shawnguo2 committed Oct 25, 2014
    Configuration menu
    Copy the full SHA
    d1e61eb View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2014

  1. Merge tag 'imx-fixes-3.18' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/shawnguo/linux into fixes
    
    Merge "ARM: imx: fixes for 3.18" from Shawn Guo:
    
    The i.MX fixes for 3.18:
     - Revert one patch which increases I2C bus frequency on imx28-evk
     - Fix a typo on imx6q EIM clock name
    
    * tag 'imx-fixes-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
      ARM: dts: imx28-evk: Let i2c0 run at 100kHz
      ARM: i.MX6: Fix "emi" clock name typo
    
    Signed-off-by: Olof Johansson <olof@lixom.net>
    olofj committed Oct 26, 2014
    Configuration menu
    Copy the full SHA
    efc176a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/viro/vfs
    
    Pull vfs updates from Al Viro:
     "overlayfs merge + leak fix for d_splice_alias() failure exits"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      overlayfs: embed middle into overlay_readdir_data
      overlayfs: embed root into overlay_readdir_data
      overlayfs: make ovl_cache_entry->name an array instead of pointer
      overlayfs: don't hold ->i_mutex over opening the real directory
      fix inode leaks on d_splice_alias() failure exits
      fs: limit filesystem stacking depth
      overlay: overlay filesystem documentation
      overlayfs: implement show_options
      overlayfs: add statfs support
      overlay filesystem
      shmem: support RENAME_WHITEOUT
      ext4: support RENAME_WHITEOUT
      vfs: add RENAME_WHITEOUT
      vfs: add whiteout support
      vfs: export check_sticky()
      vfs: introduce clone_private_mount()
      vfs: export __inode_permission() to modules
      vfs: export do_splice_direct() to modules
      vfs: add i_op->dentry_open()
    torvalds committed Oct 26, 2014
    Configuration menu
    Copy the full SHA
    d1e14f1 View commit details
    Browse the repository at this point in the history
  3. Merge tag 'armsoc-for-rc2' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/arm/arm-soc
    
    Pull ARM SoC fixes from Olof Johansson:
     "Another week, another small batch of fixes.
    
      Most of these make zynq, socfpga and sunxi platforms work a bit
      better:
    
       - due to new requirements for regulators, DWMMC on socfpga broke past
         v3.17
       - SMP spinup fix for socfpga
       - a few DT fixes for zynq
       - another option (FIXED_REGULATOR) for sunxi is needed that used to
         be selected by other options but no longer is.
       - a couple of small DT fixes for at91
       - ...and a couple for i.MX"
    
    * tag 'armsoc-for-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
      ARM: dts: imx28-evk: Let i2c0 run at 100kHz
      ARM: i.MX6: Fix "emi" clock name typo
      ARM: multi_v7_defconfig: enable CONFIG_MMC_DW_ROCKCHIP
      ARM: sunxi_defconfig: enable CONFIG_REGULATOR_FIXED_VOLTAGE
      ARM: dts: socfpga: Add a 3.3V fixed regulator node
      ARM: dts: socfpga: Fix SD card detect
      ARM: dts: socfpga: rename gpio nodes
      ARM: at91/dt: sam9263: fix PLLB frequencies
      power: reset: at91-reset: fix power down register
      MAINTAINERS: add atmel ssc driver maintainer entry
      arm: socfpga: fix fetching cpu1start_addr for SMP
      ARM: zynq: DT: trivial: Fix mc node
      ARM: zynq: DT: Add cadence watchdog node
      ARM: zynq: DT: Add missing reference for memory-controller
      ARM: zynq: DT: Add missing reference for ADC
      ARM: zynq: DT: Add missing address for L2 pl310
      ARM: zynq: DT: Remove 222 MHz OPP
      ARM: zynq: DT: Fix GEM register area size
    torvalds committed Oct 26, 2014
    Configuration menu
    Copy the full SHA
    88e2376 View commit details
    Browse the repository at this point in the history
  4. Linux 3.18-rc2

    torvalds committed Oct 26, 2014
    Configuration menu
    Copy the full SHA
    cac7f24 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2014

  1. Configuration menu
    Copy the full SHA
    f3d5c5d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc02871 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branches 'spi/fix/dw', 'spi/fix/orion', 'spi/fi…

    …x/pl022', 'spi/fix/rockchip' and 'spi/fix/spidev' into spi-linus
    broonie committed Oct 27, 2014
    Configuration menu
    Copy the full SHA
    1e2cf73 View commit details
    Browse the repository at this point in the history
  4. Merge tag 'regulator-v3.18-rc2' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/broonie/regulator
    
    Pull regulator fixes from Mark Brown:
     "A couple of fixes for v3.18, one fix for an incorrect voltage to
      register mapping in the rk808 driver and a fix for a build failure in
      some SH defconfigs"
    
    * tag 'regulator-v3.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
      regulator: Include err.h from consumer.h to fix build failure
      regulator: rk808: Fix min_uV for DCDC1 & DCDC2
    torvalds committed Oct 27, 2014
    Configuration menu
    Copy the full SHA
    d855c5c View commit details
    Browse the repository at this point in the history
  5. Merge tag 'spi-v3.18-rc2' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/broonie/spi
    
    Pull spi fixes from Mark Brown:
     "Quite a few driver fixes in here, including some fairly substantial
      ones for the recently added Rockchip driver, plus a fix for spidev to
      more reliably support bidirectional transfers which is fairly large
      but basically mechanical.
    
      It's a bit more code than I'd like but all fixes"
    
    * tag 'spi-v3.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
      spi: orion: fix potential NULL pointer de-reference
      spi/rockchip: spi controller must be disabled in tx callback too
      spi/rockchip: fix bug that cause spi transfer timed out in DMA duplex mode
      spi/rockchip: fix bug that case spi can't go as fast as slave request
      spi: pl022: Fix incorrect dma_unmap_sg
      spi: spidev: Use separate TX and RX bounce buffers
      spi: dw: Initialize of_node to discover DT node children
    torvalds committed Oct 27, 2014
    Configuration menu
    Copy the full SHA
    d9b9692 View commit details
    Browse the repository at this point in the history
  6. Merge tag 'edac_fixes_for_3.18' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/bp/bp
    
    Pull EDAC fixes from Borislav Petkov:
     "Correct severity of reported errors in several EDAC drivers.  From
      Jason Baron"
    
    * tag 'edac_fixes_for_3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
      e7xxx_edac: Report CE events properly
      cpc925_edac: Report UE events properly
      i82860_edac: Report CE events properly
      i3200_edac: Report CE events properly
    torvalds committed Oct 27, 2014
    Configuration menu
    Copy the full SHA
    ebbe914 View commit details
    Browse the repository at this point in the history
  7. Merge tag 'media/v3.18-rc2' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/mchehab/linux-media
    
    Pull media fixes from Mauro Carvalho Chehab:
     "A series of driver fixes:
       - a few compilation fixes with randconfigs
       - one potential compilation breakage on userspace due to the usage of
         a gcc extension
       - several warnings fixed
       - some other random driver fixes"
    
    * tag 'media/v3.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (22 commits)
      [media] s5p-jpeg: Avoid -Wuninitialized warning in s5p_jpeg_parse_hdr
      [media] s5p-fimc: Only build suspend/resume for PM
      [media] s5p-jpeg: Only build suspend/resume for PM
      [media] Remove references to non-existent PLAT_S5P symbol
      [media] videobuf-dma-contig: set vm_pgoff to be zero to pass the sanity check in vm_iomap_memory()
      [media] tw68: remove bogus I2C_ALGOBIT dependency
      [media] usbvision-video: two use after frees
      [media] tw68: remove deprecated IRQF_DISABLED
      [media] xc5000: use after free in release()
      [media] em28xx-input: NULL dereference on error
      [media] wl128x: fix fmdbg compiler warning
      Revert "[media] v4l2-dv-timings: fix a sparse warning"
      [media] hackrf: harmless off by one in debug code
      [media] cx23885: initialize config structs for T9580
      [media] v4l: uvcvideo: Fix buffer completion size check
      [media] vivid: fix buffer overrun
      [media] saa7146: Create a device name before it's used
      [media] em28xx: fix uninitialized variable warning
      [media] vivid: fix Kconfig FB dependency
      [media] anysee: make sure loading modules is const
      ...
    torvalds committed Oct 27, 2014
    Configuration menu
    Copy the full SHA
    f7e87a4 View commit details
    Browse the repository at this point in the history