1. 22 May, 2014 1 commit
  2. 19 May, 2014 1 commit
  3. 05 May, 2014 18 commits
  4. 02 Apr, 2014 20 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial · 159d8133
      Linus Torvalds authored
      Pull trivial tree updates from Jiri Kosina:
       "Usual rocket science -- mostly documentation and comment updates"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial:
        sparse: fix comment
        doc: fix double words
        isdn: capi: fix "CAPI_VERSION" comment
        doc: DocBook: Fix typos in xml and template file
        Bluetooth: add module name for btwilink
        driver core: unexport static function create_syslog_header
        mmc: core: typo fix in printk specifier
        ARM: spear: clean up editing mistake
        net-sysfs: fix comment typo 'CONFIG_SYFS'
        doc: Insert MODULE_ in module-signing macros
        Documentation: update URL to hfsplus Technote 1150
        gpio: update path to documentation
        ixgbe: Fix format string in ixgbe_fcoe.
        Kconfig: Remove useless "default N" lines
        user_namespace.c: Remove duplicated word in comment
        CREDITS: fix formatting
        treewide: Fix typo in Documentation/DocBook
        mm: Fix warning on make htmldocs caused by slab.c
        ata: ata-samsung_cf: cleanup in header file
        idr: remove unused prototype of idr_free()
      159d8133
    • Linus Torvalds's avatar
      Merge branch 'sched-idle-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 05bf58ca
      Linus Torvalds authored
      Pull sched/idle changes from Ingo Molnar:
       "More idle code reorganization, to prepare for more integration.
      
        (Sent separately because it depended on pending timer work, which is
        now upstream)"
      
      * 'sched-idle-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched/idle: Add more comments to the code
        sched/idle: Move idle conditions in cpuidle_idle main function
        sched/idle: Reorganize the idle loop
        cpuidle/idle: Move the cpuidle_idle_call function to idle.c
        idle/cpuidle: Split cpuidle_idle_call main function into smaller functions
      05bf58ca
    • Oleg Nesterov's avatar
      pid_namespace: pidns_get() should check task_active_pid_ns() != NULL · d2308225
      Oleg Nesterov authored
      pidns_get()->get_pid_ns() can hit ns == NULL. This task_struct can't
      go away, but task_active_pid_ns(task) is NULL if release_task(task)
      was already called. Alternatively we could change get_pid_ns(ns) to
      check ns != NULL, but it seems that other callers are fine.
      Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
      Cc: Eric W. Biederman ebiederm@xmission.com>
      Cc: stable@kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d2308225
    • Linus Torvalds's avatar
      Merge tag 'kvm-3.15-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 7cbb39d4
      Linus Torvalds authored
      Pull kvm updates from Paolo Bonzini:
       "PPC and ARM do not have much going on this time.  Most of the cool
        stuff, instead, is in s390 and (after a few releases) x86.
      
        ARM has some caching fixes and PPC has transactional memory support in
        guests.  MIPS has some fixes, with more probably coming in 3.16 as
        QEMU will soon get support for MIPS KVM.
      
        For x86 there are optimizations for debug registers, which trigger on
        some Windows games, and other important fixes for Windows guests.  We
        now expose to the guest Broadwell instruction set extensions and also
        Intel MPX.  There's also a fix/workaround for OS X guests, nested
        virtualization features (preemption timer), and a couple kvmclock
        refinements.
      
        For s390, the main news is asynchronous page faults, together with
        improvements to IRQs (floating irqs and adapter irqs) that speed up
        virtio devices"
      
      * tag 'kvm-3.15-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (96 commits)
        KVM: PPC: Book3S HV: Save/restore host PMU registers that are new in POWER8
        KVM: PPC: Book3S HV: Fix decrementer timeouts with non-zero TB offset
        KVM: PPC: Book3S HV: Don't use kvm_memslots() in real mode
        KVM: PPC: Book3S HV: Return ENODEV error rather than EIO
        KVM: PPC: Book3S: Trim top 4 bits of physical address in RTAS code
        KVM: PPC: Book3S HV: Add get/set_one_reg for new TM state
        KVM: PPC: Book3S HV: Add transactional memory support
        KVM: Specify byte order for KVM_EXIT_MMIO
        KVM: vmx: fix MPX detection
        KVM: PPC: Book3S HV: Fix KVM hang with CONFIG_KVM_XICS=n
        KVM: PPC: Book3S: Introduce hypervisor call H_GET_TCE
        KVM: PPC: Book3S HV: Fix incorrect userspace exit on ioeventfd write
        KVM: s390: clear local interrupts at cpu initial reset
        KVM: s390: Fix possible memory leak in SIGP functions
        KVM: s390: fix calculation of idle_mask array size
        KVM: s390: randomize sca address
        KVM: ioapic: reinject pending interrupts on KVM_SET_IRQCHIP
        KVM: Bump KVM_MAX_IRQ_ROUTES for s390
        KVM: s390: irq routing for adapter interrupts.
        KVM: s390: adapter interrupt sources
        ...
      7cbb39d4
    • Linus Torvalds's avatar
      Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux · 64056a94
      Linus Torvalds authored
      Pull virtio updates from Rusty Russell:
       "Nothing exciting: virtio-blk users might see a bit of a boost from the
        doubling of the default queue length though"
      
      * tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
        virtio-blk: base queue-depth on virtqueue ringsize or module param
        Revert a02bbb1c: MAINTAINERS: add virtio-dev ML for virtio
        virtio: fail adding buffer on broken queues.
        virtio-rng: don't crash if virtqueue is broken.
        virtio_balloon: don't crash if virtqueue is broken.
        virtio_blk: don't crash, report error if virtqueue is broken.
        virtio_net: don't crash if virtqueue is broken.
        virtio_balloon: don't softlockup on huge balloon changes.
        virtio: Use pci_enable_msix_exact() instead of pci_enable_msix()
        MAINTAINERS: virtio-dev is subscribers only
        tools/virtio: add a missing )
        tools/virtio: fix missing kmemleak_ignore symbol
        tools/virtio: update internal copies of headers
      64056a94
    • Linus Torvalds's avatar
      Merge branch 'for-3.15' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping · 7474043e
      Linus Torvalds authored
      Pull DMA-mapping updates from Marek Szyprowski:
       "This contains extension for more efficient handling of io address
        space for dma-mapping subsystem for ARM architecture"
      
      * 'for-3.15' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping:
        arm: dma-mapping: remove order parameter from arm_iommu_create_mapping()
        arm: dma-mapping: Add support to extend DMA IOMMU mappings
      7474043e
    • Linus Torvalds's avatar
      Merge tag 'dt-for-linus' of git://git.secretlab.ca/git/linux · b9f2b21a
      Linus Torvalds authored
      Pull devicetree changes from Grant Likely:
       "Updates to devicetree core code.  This branch contains the following
        notable changes:
      
         - add reserved memory binding
         - make struct device_node a kobject and remove legacy
           /proc/device-tree
         - ePAPR conformance fixes
         - update in-kernel DTC copy to version v1.4.0
         - preparatory changes for dynamic device tree overlays
         - minor bug fixes and documentation changes
      
        The most significant change in this branch is the conversion of struct
        device_node to be a kobject that is exposed via sysfs and removal of
        the old /proc/device-tree code.  This simplifies the device tree
        handling code and tightens up the lifecycle on device tree nodes.
      
        [updated: added fix for dangling select PROC_DEVICETREE]"
      
      * tag 'dt-for-linus' of git://git.secretlab.ca/git/linux: (29 commits)
        dt: Remove dangling "select PROC_DEVICETREE"
        of: Add support for ePAPR "stdout-path" property
        of: device_node kobject lifecycle fixes
        of: only scan for reserved mem when fdt present
        powerpc: add support for reserved memory defined by device tree
        arm64: add support for reserved memory defined by device tree
        of: add missing major vendors
        of: add vendor prefix for SMSC
        of: remove /proc/device-tree
        of/selftest: Add self tests for manipulation of properties
        of: Make device nodes kobjects so they show up in sysfs
        arm: add support for reserved memory defined by device tree
        drivers: of: add support for custom reserved memory drivers
        drivers: of: add initialization code for dynamic reserved memory
        drivers: of: add initialization code for static reserved memory
        of: document bindings for reserved-memory nodes
        Revert "of: fix of_update_property()"
        kbuild: dtbs_install: new make target
        ARM: mvebu: Allows to get the SoC ID even without PCI enabled
        of: Allows to use the PCI translator without the PCI core
        ...
      b9f2b21a
    • Linus Torvalds's avatar
      Merge tag 'pm+acpi-3.15-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 70f6c087
      Linus Torvalds authored
      Pull more ACPI and power management updates from Rafael Wysocki:
       "These are commits that were not quite ready when I sent the original
        pull request for 3.15-rc1 several days ago, but they have spent some
        time in linux-next since then and appear to be good to go.  All of
        them are fixes and cleanups.
      
        Specifics:
      
         - Remaining changes from upstream ACPICA release 20140214 that
           introduce code to automatically serialize the execution of methods
           creating any named objects which really cannot be executed in
           parallel with each other anyway (previously ACPICA attempted to
           address that by aborting methods upon conflict detection, but that
           wasn't reliable enough and led to other issues).  From Bob Moore
           and Lv Zheng.
      
         - intel_pstate fix to use del_timer_sync() instead of del_timer() in
           the exit path before freeing the timer structure from Dirk
           Brandewie (original patch from Thomas Gleixner).
      
         - cpufreq fix related to system resume from Viresh Kumar.
      
         - Serialization of frequency transitions in cpufreq that involve
           PRECHANGE and POSTCHANGE notifications to avoid ordering issues
           resulting from race conditions.  From Srivatsa S Bhat and Viresh
           Kumar.
      
         - Revert of an ACPI processor driver change that was based on a
           specific interpretation of the ACPI spec which may not be correct
           (the relevant part of the spec appears to be incomplete).  From
           Hanjun Guo.
      
         - Runtime PM core cleanups and documentation updates from Geert
           Uytterhoeven.
      
         - PNP core cleanup from Michael Opdenacker"
      
      * tag 'pm+acpi-3.15-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq: Make cpufreq_notify_transition & cpufreq_notify_post_transition static
        cpufreq: Convert existing drivers to use cpufreq_freq_transition_{begin|end}
        cpufreq: Make sure frequency transitions are serialized
        intel_pstate: Use del_timer_sync in intel_pstate_cpu_stop
        cpufreq: resume drivers before enabling governors
        PM / Runtime: Spelling s/competing/completing/
        PM / Runtime: s/foo_process_requests/foo_process_next_request/
        PM / Runtime: GENERIC_SUBSYS_PM_OPS is gone
        PM / Runtime: Correct documented return values for generic PM callbacks
        PM / Runtime: Split line longer than 80 characters
        PM / Runtime: dev_pm_info.runtime_error is signed
        Revert "ACPI / processor: Make it possible to get APIC ID via GIC"
        ACPICA: Enable auto-serialization as a default kernel behavior.
        ACPICA: Ignore sync_level for methods that have been auto-serialized.
        ACPICA: Add additional named objects for the auto-serialize method scan.
        ACPICA: Add auto-serialization support for ill-behaved control methods.
        ACPICA: Remove global option to serialize all control methods.
        PNP: remove deprecated IRQF_DISABLED
      70f6c087
    • Linus Torvalds's avatar
      Merge branch 'powernv-cpuidle' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · e6d9bfc6
      Linus Torvalds authored
      Pull powerpc non-virtualized cpuidle from Ben Herrenschmidt:
       "This is the branch I mentioned in my other pull request which contains
        our improved cpuidle support for the "powernv" platform
        (non-virtualized).
      
        It adds support for the "fast sleep" feature of the processor which
        provides higher power savings than our usual "nap" mode but at the
        cost of losing the timers while asleep, and thus exploits the new
        timer broadcast framework to work around that limitation.
      
        It's based on a tip timer tree that you seem to have already merged"
      
      * 'powernv-cpuidle' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
        cpuidle/powernv: Parse device tree to setup idle states
        cpuidle/powernv: Add "Fast-Sleep" CPU idle state
        powerpc/powernv: Add OPAL call to resync timebase on wakeup
        powerpc/powernv: Add context management for Fast Sleep
        powerpc: Split timer_interrupt() into timer handling and interrupt handling routines
        powerpc: Implement tick broadcast IPI as a fixed IPI message
        powerpc: Free up the slot of PPC_MSG_CALL_FUNC_SINGLE IPI message
      e6d9bfc6
    • Linus Torvalds's avatar
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · 235c7b9f
      Linus Torvalds authored
      Pull main powerpc updates from Ben Herrenschmidt:
       "This time around, the powerpc merges are going to be a little bit more
        complicated than usual.
      
        This is the main pull request with most of the work for this merge
        window.  I will describe it a bit more further down.
      
        There is some additional cpuidle driver work, however I haven't
        included it in this tree as it depends on some work in tip/timer-core
        which Thomas accidentally forgot to put in a topic branch.  Since I
        didn't want to carry all of that tip timer stuff in powerpc -next, I
        setup a separate branch on top of Thomas tree with just that cpuidle
        driver in it, and Stephen has been carrying that in next separately
        for a while now.  I'll send a separate pull request for it.
      
        Additionally, two new pieces in this tree add users for a sysfs API
        that Tejun and Greg have been deprecating in drivers-core-next.
        Thankfully Greg reverted the patch that removes the old API so this
        merge can happen cleanly, but once merged, I will send a patch
        adjusting our new code to the new API so that Greg can send you the
        removal patch.
      
        Now as for the content of this branch, we have a lot of perf work for
        power8 new counters including support for our new "nest" counters
        (also called 24x7) under pHyp (not natively yet).
      
        We have new functionality when running under the OPAL firmware
        (non-virtualized or KVM host), such as access to the firmware error
        logs and service processor dumps, system parameters and sensors, along
        with a hwmon driver for the latter.
      
        There's also a bunch of bug fixes accross the board, some LE fixes,
        and a nice set of selftests for validating our various types of copy
        loops.
      
        On the Freescale side, we see mostly new chip/board revisions, some
        clock updates, better support for machine checks and debug exceptions,
        etc..."
      
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (70 commits)
        powerpc/book3s: Fix CFAR clobbering issue in machine check handler.
        powerpc/compat: 32-bit little endian machine name is ppcle, not ppc
        powerpc/le: Big endian arguments for ppc_rtas()
        powerpc: Use default set of netfilter modules (CONFIG_NETFILTER_ADVANCED=n)
        powerpc/defconfigs: Enable THP in pseries defconfig
        powerpc/mm: Make sure a local_irq_disable prevent a parallel THP split
        powerpc: Rate-limit users spamming kernel log buffer
        powerpc/perf: Fix handling of L3 events with bank == 1
        powerpc/perf/hv_{gpci, 24x7}: Add documentation of device attributes
        powerpc/perf: Add kconfig option for hypervisor provided counters
        powerpc/perf: Add support for the hv 24x7 interface
        powerpc/perf: Add support for the hv gpci (get performance counter info) interface
        powerpc/perf: Add macros for defining event fields & formats
        powerpc/perf: Add a shared interface to get gpci version and capabilities
        powerpc/perf: Add 24x7 interface headers
        powerpc/perf: Add hv_gpci interface header
        powerpc: Add hvcalls for 24x7 and gpci (Get Performance Counter Info)
        sysfs: create bin_attributes under the requested group
        powerpc/perf: Enable BHRB access for EBB events
        powerpc/perf: Add BHRB constraint and IFM MMCRA handling for EBB
        ...
      235c7b9f
    • Linus Torvalds's avatar
      Merge branch 'mips-for-linux-next' of git://git.linux-mips.org/pub/scm/ralf/upstream-sfr · bdfc7cbd
      Linus Torvalds authored
      Pull MIPS updates from Ralf Baechle:
       - Support for Imgtec's Aptiv family of MIPS cores.
       - Improved detection of BCM47xx configurations.
       - Fix hiberation for certain configurations.
       - Add support for the Chinese Loongson 3 CPU, a MIPS64 R2 core and
         systems.
       - Detection and support for the MIPS P5600 core.
       - A few more random fixes that didn't make 3.14.
       - Support for the EVA Extended Virtual Addressing
       - Switch Alchemy to the platform PATA driver
       - Complete unification of Alchemy support
       - Allow availability of I/O cache coherency to be runtime detected
       - Improvments to multiprocessing support for Imgtec platforms
       - A few microoptimizations
       - Cleanups of FPU support
       - Paul Gortmaker's fixes for the init stuff
       - Support for seccomp
      
      * 'mips-for-linux-next' of git://git.linux-mips.org/pub/scm/ralf/upstream-sfr: (165 commits)
        MIPS: CPC: Use __raw_ memory access functions
        MIPS: CM: use __raw_ memory access functions
        MIPS: Fix warning when including smp-ops.h with CONFIG_SMP=n
        MIPS: Malta: GIC IPIs may be used without MT
        MIPS: smp-mt: Use common GIC IPI implementation
        MIPS: smp-cmp: Remove incorrect core number probe
        MIPS: Fix gigaton of warning building with microMIPS.
        MIPS: Fix core number detection for MT cores
        MIPS: MT: core_nvpes function to retrieve VPE count
        MIPS: Provide empty mips_mt_set_cpuoptions when CONFIG_MIPS_MT=n
        MIPS: Lasat: Replace del_timer by del_timer_sync
        MIPS: Malta: Setup PM I/O region on boot
        MIPS: Loongson: Add a Loongson-3 default config file
        MIPS: Loongson 3: Add CPU hotplug support
        MIPS: Loongson 3: Add Loongson-3 SMP support
        MIPS: Loongson: Add Loongson-3 Kconfig options
        MIPS: Loongson: Add swiotlb to support All-Memory DMA
        MIPS: Loongson 3: Add serial port support
        MIPS: Loongson 3: Add IRQ init and dispatch support
        MIPS: Loongson 3: Add HT-linked PCI support
        ...
      bdfc7cbd
    • Josh Boyer's avatar
      arm64: Fix duplicated Kconfig entries again · 62d1a3ba
      Josh Boyer authored
      Commit 74397174 attempted to clean up the power management options
      for arm64, but when things were merged it didn't fully take effect.  Fix
      it again.
      Signed-off-by: default avatarJosh Boyer <jwboyer@fedoraproject.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      62d1a3ba
    • Linus Torvalds's avatar
      Merge branch 'x86-nuke-platforms-for-linus' of... · 467cbd20
      Linus Torvalds authored
      Merge branch 'x86-nuke-platforms-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
      
      Pull x86 old platform removal from Peter Anvin:
       "This patchset removes support for several completely obsolete
        platforms, where the maintainers either have completely vanished or
        acked the removal.  For some of them it is questionable if there even
        exists functional specimens of the hardware"
      
      Geert Uytterhoeven apparently thought this was a April Fool's pull request ;)
      
      * 'x86-nuke-platforms-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, platforms: Remove NUMAQ
        x86, platforms: Remove SGI Visual Workstation
        x86, apic: Remove support for IBM Summit/EXA chipset
        x86, apic: Remove support for ia32-based Unisys ES7000
      467cbd20
    • Linus Torvalds's avatar
      Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 7125764c
      Linus Torvalds authored
      Pull compat time conversion changes from Peter Anvin:
       "Despite the branch name this is really neither an x86 nor an
        x32-specific patchset, although it the implementation of the
        discussions that followed the x32 security hole a few months ago.
      
        This removes get/put_compat_timespec/val() and replaces them with
        compat_get/put_timespec/val() which are savvy as to the current status
        of COMPAT_USE_64BIT_TIME.
      
        It removes several unused and/or incorrect/misleading functions (like
        compat_put_timeval_convert which doesn't in fact do any conversion)
        and also replaces several open-coded implementations what is now
        called compat_convert_timespec() with that function"
      
      * 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        compat: Fix sparse address space warnings
        compat: Get rid of (get|put)_compat_time(val|spec)
      7125764c
    • Linus Torvalds's avatar
      Merge branch 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · c6f21243
      Linus Torvalds authored
      Pull x86 vdso changes from Peter Anvin:
       "This is the revamp of the 32-bit vdso and the associated cleanups.
      
        This adds timekeeping support to the 32-bit vdso that we already have
        in the 64-bit vdso.  Although 32-bit x86 is legacy, it is likely to
        remain in the embedded space for a very long time to come.
      
        This removes the traditional COMPAT_VDSO support; the configuration
        variable is reused for simply removing the 32-bit vdso, which will
        produce correct results but obviously suffer a performance penalty.
        Only one beta version of glibc was affected, but that version was
        unfortunately included in one OpenSUSE release.
      
        This is not the end of the vdso cleanups.  Stefani and Andy have
        agreed to continue work for the next kernel cycle; in fact Andy has
        already produced another set of cleanups that came too late for this
        cycle.
      
        An incidental, but arguably important, change is that this ensures
        that unused space in the VVAR page is properly zeroed.  It wasn't
        before, and would contain whatever garbage was left in memory by BIOS
        or the bootloader.  Since the VVAR page is accessible to user space
        this had the potential of information leaks"
      
      * 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (23 commits)
        x86, vdso: Fix the symbol versions on the 32-bit vDSO
        x86, vdso, build: Don't rebuild 32-bit vdsos on every make
        x86, vdso: Actually discard the .discard sections
        x86, vdso: Fix size of get_unmapped_area()
        x86, vdso: Finish removing VDSO32_PRELINK
        x86, vdso: Move more vdso definitions into vdso.h
        x86: Load the 32-bit vdso in place, just like the 64-bit vdsos
        x86, vdso32: handle 32 bit vDSO larger one page
        x86, vdso32: Disable stack protector, adjust optimizations
        x86, vdso: Zero-pad the VVAR page
        x86, vdso: Add 32 bit VDSO time support for 64 bit kernel
        x86, vdso: Add 32 bit VDSO time support for 32 bit kernel
        x86, vdso: Patch alternatives in the 32-bit VDSO
        x86, vdso: Introduce VVAR marco for vdso32
        x86, vdso: Cleanup __vdso_gettimeofday()
        x86, vdso: Replace VVAR(vsyscall_gtod_data) by gtod macro
        x86, vdso: __vdso_clock_gettime() cleanup
        x86, vdso: Revamp vclock_gettime.c
        mm: Add new func _install_special_mapping() to mmap.c
        x86, vdso: Make vsyscall_gtod_data handling x86 generic
        ...
      c6f21243
    • Linus Torvalds's avatar
      Merge branch 'x86/boot' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9447dc43
      Linus Torvalds authored
      Pull x86 boot changes from Peter Anvin:
       "This patchset is a set of cleanups aiming at librarize some of the
        common code from the boot environments.  We currently have three
        different "little environments" (boot, boot/compressed, and
        realmode/rm) in x86, and we are likely to soon get a fourth one
        (kexec/purgatory, which will have to be integrated in the kernel to
        support secure kexec).  This is primarily a cleanup in the
        anticipation of the latter.
      
        While Vivek implemented this, he ran into some bugs, in particular the
        memcmp implementation for when gcc punts from using the builtin would
        have a misnamed symbol, causing compilation errors if we were ever
        unlucky enough that gcc didn't want to inline the test"
      
      * 'x86/boot' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, boot: Move memset() definition in compressed/string.c
        x86, boot: Move memcmp() into string.h and string.c
        x86, boot: Move optimized memcpy() 32/64 bit versions to compressed/string.c
        x86, boot: Create a separate string.h file to provide standard string functions
        x86, boot: Undef memcmp before providing a new definition
      9447dc43
    • Linus Torvalds's avatar
      Merge tag 'metag-for-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag · bb1775c9
      Linus Torvalds authored
      Pull Metag architecture changes from James Hogan:
       - Remove unused NUMA definition (SD_NODE_INIT)
       - Refactor signal code to use struct ksignal
       - IRQ migration cleanup to use irq_set_affinity
       - Clean up main Kconfig file a little
      
      * tag 'metag-for-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag:
        sched: remove unused SCHED_INIT_NODE
        metag: Use get_signal() signal_setup_done()
        metag: Fix METAG Kconfig symbol select ordering
        metag: Use irq_set_affinity instead of homebrewn code
      bb1775c9
    • Steven Rostedt (Red Hat)'s avatar
      x86: Fix dumpstack_64 irq stack handling · 63c95654
      Steven Rostedt (Red Hat) authored
      Commit 2223f6f6 "x86: Clean up dumpstack_64.c code" changed
      the irq_stack processing a little from what it was before.
      The irq_stack_end variable needed to be cleared after its first
      use. By setting irq_stack to the per cpu irq_stack and passing
      that to analyze_stack(), and then clearing it after it is processed,
      we can get back the original behavior.
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      63c95654
    • Steven Rostedt (Red Hat)'s avatar
      x86: Fix dumpstack_64 to keep state of "used" variable in loop · 1aabc599
      Steven Rostedt (Red Hat) authored
      Commit 2223f6f6 "x86: Clean up dumpstack_64.c code" moved the used
      variable to a local within the loop, but the in_exception_stack()
      depended on being non-volatile with the ability to change it.
      
      By always re-initializing the "used" variable to zero, it would cause
      the in_exception_stack() to return the same thing each time, and
      cause the dump_stack loop to go into an infinite loop.
      Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1aabc599
    • Li Zhong's avatar
      sparse: fix comment · c800bcd5
      Li Zhong authored
      retmain -> remain
      Signed-off-by: default avatarLi Zhong <zhong@linux.vnet.ibm.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      c800bcd5