19 Apr, 2014

1 commit

  • David Vrabel identified a regression when using automatic NUMA balancing
    under Xen whereby page table entries were getting corrupted due to the
    use of native PTE operations. Quoting him

    Xen PV guest page tables require that their entries use machine
    addresses if the preset bit (_PAGE_PRESENT) is set, and (for
    successful migration) non-present PTEs must use pseudo-physical
    addresses. This is because on migration MFNs in present PTEs are
    translated to PFNs (canonicalised) so they may be translated back
    to the new MFN in the destination domain (uncanonicalised).

    pte_mknonnuma(), pmd_mknonnuma(), pte_mknuma() and pmd_mknuma()
    set and clear the _PAGE_PRESENT bit using pte_set_flags(),
    pte_clear_flags(), etc.

    In a Xen PV guest, these functions must translate MFNs to PFNs
    when clearing _PAGE_PRESENT and translate PFNs to MFNs when setting
    _PAGE_PRESENT.

    His suggested fix converted p[te|md]_[set|clear]_flags to using
    paravirt-friendly ops but this is overkill. He suggested an alternative
    of using p[te|md]_modify in the NUMA page table operations but this is
    does more work than necessary and would require looking up a VMA for
    protections.

    This patch modifies the NUMA page table operations to use paravirt
    friendly operations to set/clear the flags of interest. Unfortunately
    this will take a performance hit when updating the PTEs on
    CONFIG_PARAVIRT but I do not see a way around it that does not break
    Xen.

    Signed-off-by: Mel Gorman
    Acked-by: David Vrabel
    Tested-by: David Vrabel
    Cc: Ingo Molnar
    Cc: Peter Anvin
    Cc: Fengguang Wu
    Cc: Linus Torvalds
    Cc: Steven Noonan
    Cc: Rik van Riel
    Cc: Peter Zijlstra
    Cc: Andrea Arcangeli
    Cc: Dave Hansen
    Cc: Srikar Dronamraju
    Cc: Cyrill Gorcunov
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mel Gorman
     

13 Apr, 2014

2 commits

  • Pull llvm patches from Behan Webster:
    "These are some initial updates to support compiling the kernel with
    clang.

    These patches have been through the proper reviews to the best of my
    ability, and have been soaking in linux-next for a few weeks. These
    patches by themselves still do not completely allow clang to be used
    with the kernel code, but lay the foundation for other patches which
    are still under review.

    Several other of the LLVMLinux patches have been already added via
    maintainer trees"

    * tag 'llvmlinux-for-v3.15' of git://git.linuxfoundation.org/llvmlinux/kernel:
    x86: LLVMLinux: Fix "incomplete type const struct x86cpu_device_id"
    x86 kbuild: LLVMLinux: More cc-options added for clang
    x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI
    LLVMLinux: Add support for clang to compiler.h and new compiler-clang.h
    LLVMLinux: Remove warning about returning an uninitialized variable
    kbuild: LLVMLinux: Fix LINUX_COMPILER definition script for compilation with clang
    Documentation: LLVMLinux: Update Documentation/dontdiff
    kbuild: LLVMLinux: Adapt warnings for compilation with clang
    kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang

    Linus Torvalds
     
  • Pull audit updates from Eric Paris.

    * git://git.infradead.org/users/eparis/audit: (28 commits)
    AUDIT: make audit_is_compat depend on CONFIG_AUDIT_COMPAT_GENERIC
    audit: renumber AUDIT_FEATURE_CHANGE into the 1300 range
    audit: do not cast audit_rule_data pointers pointlesly
    AUDIT: Allow login in non-init namespaces
    audit: define audit_is_compat in kernel internal header
    kernel: Use RCU_INIT_POINTER(x, NULL) in audit.c
    sched: declare pid_alive as inline
    audit: use uapi/linux/audit.h for AUDIT_ARCH declarations
    syscall_get_arch: remove useless function arguments
    audit: remove stray newline from audit_log_execve_info() audit_panic() call
    audit: remove stray newlines from audit_log_lost messages
    audit: include subject in login records
    audit: remove superfluous new- prefix in AUDIT_LOGIN messages
    audit: allow user processes to log from another PID namespace
    audit: anchor all pid references in the initial pid namespace
    audit: convert PPIDs to the inital PID namespace.
    pid: get pid_t ppid of task in init_pid_ns
    audit: rename the misleading audit_get_context() to audit_take_context()
    audit: Add generic compat syscall support
    audit: Add CONFIG_HAVE_ARCH_AUDITSYSCALL
    ...

    Linus Torvalds
     

10 Apr, 2014

1 commit

  • Fix uninitialized return code in default case in cmpxchg-local.h

    This patch fixes the code to prevent an uninitialized return value that is detected
    when compiling with clang. The bug produces numerous warnings when compiling the
    Linux kernel with clang.

    Signed-off-by: Behan Webster
    Signed-off-by: Mark Charlebois
    Acked-by: David Howells
    Acked-by: Arnd Bergmann

    Behan Webster
     

08 Apr, 2014

7 commits

  • This patch creates a generic implementation of early_ioremap() support
    based on the existing x86 implementation. early_ioremp() is useful for
    early boot code which needs to temporarily map I/O or memory regions
    before normal mapping functions such as ioremap() are available.

    Some architectures have optional MMU. In the no-MMU case, the remap
    functions simply return the passed in physical address and the unmap
    functions do nothing.

    Signed-off-by: Mark Salter
    Acked-by: Catalin Marinas
    Acked-by: H. Peter Anvin
    Cc: Borislav Petkov
    Cc: Dave Young
    Cc: Will Deacon
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mark Salter
     
  • The kernel has never been audited to ensure that this_cpu operations are
    consistently used throughout the kernel. The code generated in many
    places can be improved through the use of this_cpu operations (which
    uses a segment register for relocation of per cpu offsets instead of
    performing address calculations).

    The patch set also addresses various consistency issues in general with
    the per cpu macros.

    A. The semantics of __this_cpu_ptr() differs from this_cpu_ptr only
    because checks are skipped. This is typically shown through a raw_
    prefix. So this patch set changes the places where __this_cpu_ptr()
    is used to raw_cpu_ptr().

    B. There has been the long term wish by some that __this_cpu operations
    would check for preemption. However, there are cases where preemption
    checks need to be skipped. This patch set adds raw_cpu operations that
    do not check for preemption and then adds preemption checks to the
    __this_cpu operations.

    C. The use of __get_cpu_var is always a reference to a percpu variable
    that can also be handled via a this_cpu operation. This patch set
    replaces all uses of __get_cpu_var with this_cpu operations.

    D. We can then use this_cpu RMW operations in various places replacing
    sequences of instructions by a single one.

    E. The use of this_cpu operations throughout will allow other arches than
    x86 to implement optimized references and RMV operations to work with
    per cpu local data.

    F. The use of this_cpu operations opens up the possibility to
    further optimize code that relies on synchronization through
    per cpu data.

    The patch set works in a couple of stages:

    I. Patch 1 adds the additional raw_cpu operations and raw_cpu_ptr().
    Also converts the existing __this_cpu_xx_# primitive in the x86
    code to raw_cpu_xx_#.

    II. Patch 2-4 use the raw_cpu operations in places that would give
    us false positives once they are enabled.

    III. Patch 5 adds preemption checks to __this_cpu operations to allow
    checking if preemption is properly disabled when these functions
    are used.

    IV. Patches 6-20 are patches that simply replace uses of __get_cpu_var
    with this_cpu_ptr. They do not depend on any changes to the percpu
    code. No preemption tests are skipped if they are applied.

    V. Patches 21-46 are conversion patches that use this_cpu operations
    in various kernel subsystems/drivers or arch code.

    VI. Patches 47/48 (not included in this series) remove no longer used
    functions (__this_cpu_ptr and __get_cpu_var). These should only be
    applied after all the conversion patches have made it and after we
    have done additional passes through the kernel to ensure that none of
    the uses of these functions remain.

    This patch (of 46):

    The patches following this one will add preemption checks to __this_cpu
    ops so we need to have an alternative way to use this_cpu operations
    without preemption checks.

    raw_cpu_ops will be the basis for all other ops since these will be the
    operations that do not implement any checks.

    Primitive operations are renamed by this patch from __this_cpu_xxx to
    raw_cpu_xxxx.

    Also change the uses of the x86 percpu primitives in preempt.h.
    These depend directly on asm/percpu.h (header #include nesting issue).

    Signed-off-by: Peter Zijlstra
    Signed-off-by: Christoph Lameter
    Acked-by: Ingo Molnar
    Cc: Tejun Heo
    Cc: "James E.J. Bottomley"
    Cc: "Paul E. McKenney"
    Cc: Alex Shi
    Cc: Arnd Bergmann
    Cc: Benjamin Herrenschmidt
    Cc: Bryan Wu
    Cc: Catalin Marinas
    Cc: Chris Metcalf
    Cc: Daniel Lezcano
    Cc: David Daney
    Cc: David Miller
    Cc: David S. Miller
    Cc: Dimitri Sivanich
    Cc: Dipankar Sarma
    Cc: Eric Dumazet
    Cc: Fenghua Yu
    Cc: Frederic Weisbecker
    Cc: Greg Kroah-Hartman
    Cc: H. Peter Anvin
    Cc: Haavard Skinnemoen
    Cc: Hans-Christian Egtvedt
    Cc: Hedi Berriche
    Cc: Heiko Carstens
    Cc: Helge Deller
    Cc: Ivan Kokshaysky
    Cc: James Hogan
    Cc: Jens Axboe
    Cc: John Stultz
    Cc: Martin Schwidefsky
    Cc: Masami Hiramatsu
    Cc: Matt Turner
    Cc: Mike Frysinger
    Cc: Mike Travis
    Cc: Neil Brown
    Cc: Nicolas Pitre
    Cc: Paul Mackerras
    Cc: Paul Mundt
    Cc: Rafael J. Wysocki
    Cc: Ralf Baechle
    Cc: Richard Henderson
    Cc: Robert Richter
    Cc: Russell King
    Cc: Russell King
    Cc: Rusty Russell
    Cc: Steven Rostedt
    Cc: Thomas Gleixner
    Cc: Tony Luck
    Cc: Will Deacon
    Cc: Wim Van Sebroeck
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Lameter
     
  • If the renamed symbol is defined lib/iomap.c implements ioport_map and
    ioport_unmap and currently (nearly) all platforms define the port
    accessor functions outb/inb and friend unconditionally. So
    HAS_IOPORT_MAP is the better name for this.

    Consequently NO_IOPORT is renamed to NO_IOPORT_MAP.

    The motivation for this change is to reintroduce a symbol HAS_IOPORT
    that signals if outb/int et al are available. I will address that at
    least one merge window later though to keep surprises to a minimum and
    catch new introductions of (HAS|NO)_IOPORT.

    The changes in this commit were done using:

    $ git grep -l -E '(NO|HAS)_IOPORT' | xargs perl -p -i -e 's/\b((?:CONFIG_)?(?:NO|HAS)_IOPORT)\b/$1_MAP/'

    Signed-off-by: Uwe Kleine-König
    Acked-by: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Uwe Kleine-König
     
  • When !CONFIG_BUG and !HAVE_ARCH_BUG, define the generic BUG() as an
    infinite loop rather than a no-op. This avoids undefined behavior if
    execution ever actually reaches BUG(), and avoids warnings about code
    after BUG() (such as on non-void functions calling BUG() and then not
    returning).

    bloat-o-meter results:

    add/remove: 0/0 grow/shrink: 43/10 up/down: 235/-98 (137)
    function old new delta
    umount_collect 119 138 +19
    notify_change 306 324 +18
    xstate_enable_boot_cpu 252 269 +17
    kunmap 54 70 +16
    balloon_page_dequeue 112 126 +14
    mm_take_all_locks 223 233 +10
    list_lru_walk_node 143 152 +9
    vma_adjust 1059 1067 +8
    pcpu_setup_first_chunk 1130 1138 +8
    mm_drop_all_locks 143 151 +8
    ns_capable 55 62 +7
    anon_transport_class_unregister 8 15 +7
    srcu_init_notifier_head 35 41 +6
    shrink_dcache_for_umount 174 180 +6
    kunmap_high 99 105 +6
    end_page_writeback 43 49 +6
    do_exit 1339 1345 +6
    __kfifo_dma_out_prepare_r 86 92 +6
    __kfifo_dma_in_prepare_r 90 96 +6
    fixup_user_fault 120 125 +5
    repair_env_string 73 77 +4
    read_cache_pages_invalidate_page 56 60 +4
    isolate_lru_pages.isra 142 146 +4
    do_notify_parent_cldstop 255 259 +4
    cpu_init 370 374 +4
    utimes_common 270 272 +2
    tasklet_hi_action 91 93 +2
    tasklet_action 91 93 +2
    set_pte_vaddr 46 48 +2
    find_get_pages_tag 202 204 +2
    early_iounmap 185 187 +2
    __native_set_fixmap 36 38 +2
    __get_user_pages 822 824 +2
    __early_ioremap 299 301 +2
    yield_task_stop 1 2 +1
    tick_resume 37 38 +1
    switched_to_stop 1 2 +1
    switched_to_idle 1 2 +1
    prio_changed_stop 1 2 +1
    prio_changed_idle 1 2 +1
    pm_qos_power_read 111 112 +1
    arch_cpu_idle_dead 1 2 +1
    __insert_vmap_area 140 141 +1
    sys_renameat 614 612 -2
    mm_fault_error 297 295 -2
    SyS_renameat 614 612 -2
    sys_linkat 416 413 -3
    SyS_linkat 416 413 -3
    chmod_common 129 122 -7
    proc_cap_handler 240 225 -15
    __schedule 849 831 -18
    sys_madvise 1077 1054 -23
    SyS_madvise 1077 1054 -23

    Signed-off-by: Josh Triplett
    Reported-by: Arnd Bergmann
    Acked-by: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Josh Triplett
     
  • The stub version of WARN for !CONFIG_BUG completely ignored its format
    string and subsequent arguments; make it check them instead, using
    no_printk.

    Signed-off-by: Josh Triplett
    Reported-by: Arnd Bergmann
    Acked-by: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Josh Triplett
     
  • Signed-off-by: Josh Triplett
    Reported-by: Randy Dunlap
    Acked-by: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Josh Triplett
     
  • When !CONFIG_BUG, WARN_ON and family become simple passthroughs of their
    condition argument; however, WARN_ON_ONCE and family still have conditions
    and a boolean to detect one-time invocation, even though the warning
    they'd emit doesn't exist. Make the existing definitions conditional on
    CONFIG_BUG, and add definitions for !CONFIG_BUG that map to the
    passthrough versions of WARN and WARN_ON.

    This saves 4.4k on a minimized configuration (smaller than allnoconfig),
    and 20.6k with defconfig plus CONFIG_BUG=n.

    Signed-off-by: Josh Triplett
    Acked-by: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Josh Triplett
     

06 Apr, 2014

1 commit

  • Pull ARM SoC specific changes from Arnd Bergmann:
    "Lots of changes specific to one of the SoC families. Some that stick
    out are:

    - mach-qcom gains new features, most importantly SMP support for the
    newer chips (Stephen Boyd, Rohit Vaswani)
    - mvebu gains support for three new SoCs: Armada 375, 380 and 385
    (Thomas Petazzoni and Free-electrons team)
    - SMP support for Rockchips (Heiko Stübner)
    - Lots of i.MX changes (Shawn Guo)
    - Added support for BCM5301x SoC (Hauke Mehrtens)
    - Multiplatform support for Marvell Kirkwood and Dove (Andrew Lunn
    and Sebastian Hesselbarth doing the final part of a long journey)
    - Unify davinci platforms and remove obsolete ones (Sekhar Nori, Arnd
    Bergmann)"

    * tag 'soc-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (126 commits)
    ARM: sunxi: Select HAVE_ARM_ARCH_TIMER
    ARM: cache-tauros2: remove ARMv6 code
    ARM: mvebu: don't select CONFIG_NEON
    ARM: davinci: fix DT booting with default defconfig
    ARM: configs: bcm_defconfig: enable bcm590xx regulator support
    ARM: davinci: remove tnetv107x support
    MAINTAINERS: Update ARM STi maintainers
    ARM: restrict BCM_KONA_UART to ARCH_BCM_MOBILE
    ARM: bcm21664: Add board support.
    ARM: sunxi: Add the new watchog compatibles to the reboot code
    ARM: enable ARM_HAS_SG_CHAIN for multiplatform
    ARM: davinci: remove da8xx_omapl_defconfig
    ARM: davinci: da8xx: fix multiple watchdog device registration
    ARM: davinci: add da8xx specific configs to davinci_all_defconfig
    ARM: davinci: enable da8xx build concurrently with older devices
    ARM: BCM5301X: workaround suppress fault
    ARM: BCM5301X: add early debugging support
    ARM: BCM5301X: initial support for the BCM5301X/BCM470X SoCs with ARM CPU
    ARM: mach-bcm: Remove GENERIC_TIME
    ARM: shmobile: APMU: Fix warnings due to improper printk formats
    ...

    Linus Torvalds
     

04 Apr, 2014

1 commit

  • Pull bulk of gpio updates from Linus Walleij:
    "A pretty big chunk of changes this time, but it has all been on
    rotation in linux-next and had some testing. Of course there will be
    some amount of fixes on top...

    - Merged in a branch of irqchip changes from Thomas Gleixner: we need
    to have new callbacks from the irqchip to determine if the GPIO
    line will be eligible for IRQs, and this callback must be able to
    say "no". After some thinking I got the branch from tglx and have
    switched all current users over to use this.

    - Based on tglx patches, we have added some generic irqchip helpers
    in the gpiolib core. These will help centralize code when GPIO
    drivers have simple chained/cascaded IRQs. Drivers will still
    define their irqchip vtables, but the gpiolib core will take care
    of irqdomain set-up, mapping from local offsets to Linux irqs, and
    reserve resources by marking the GPIO lines for IRQs.

    - Initially the PL061 and Nomadik GPIO/pin control drivers have been
    switched over to use the new gpiochip-to-irqchip infrastructure
    with more drivers expected for the next kernel cycle. The
    factoring of just two drivers still makes it worth it so it is
    already a win.

    - A new driver for the Synopsys DesignWare APB GPIO block.

    - Modify the DaVinci GPIO driver to be reusable also for the new TI
    Keystone architecture.

    - A new driver for the LSI ZEVIO SoCs.

    - Delete the obsolte tnetv107x driver.

    - Some incremental work on GPIO descriptors: have
    gpiod_direction_output() use a logical level, respecting assertion
    polarity through ACTIVE_LOW flags, adding gpiod_direction_output_raw()
    for the case where you want to set that very value. Add
    gpiochip_get_desc() to fetch a GPIO descriptor from a specific
    offset on a certain chip inside driver code.

    - Switch ACPI GPIO code over to using gpiochip_get_desc() and get rid
    of gpio_to_desc().

    - The ACPI GPIO event handling code has been reworked after
    encountering an actual real life implementation.

    - Support for ACPI GPIO operation regions.

    - Generic GPIO chips can now be assigned labels/names from platform
    data.

    - We now clamp values returned from GPIO drivers to the boolean [0,1]
    range.

    - Some improved documentation on how to use the polarity flag was
    added.

    - a large slew of incremental driver updates and non-critical fixes.
    Some targeted for stable"

    * tag 'gpio-v3.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (80 commits)
    gpio: rcar: Add helper variable dev = &pdev->dev
    gpio-lynxpoint: force gpio_get() to return "1" and "0" only
    gpio: unmap gpio irqs properly
    pch_gpio: set value before enabling output direction
    gpio: moxart: Actually set output state in moxart_gpio_direction_output()
    gpio: moxart: Avoid forward declaration
    gpio: mxs: Allow for recursive enable_irq_wake() call
    gpio: samsung: Add missing "break" statement
    gpio: twl4030: Remove redundant assignment
    gpio: dwapb: correct gpio-cells in binding document
    gpio: iop: fix devm_ioremap_resource() return value checking
    pinctrl: coh901: convert driver to use gpiolib irqchip
    pinctrl: nomadik: convert driver to use gpiolib irqchip
    gpio: pl061: convert driver to use gpiolib irqchip
    gpio: add IRQ chip helpers in gpiolib
    pinctrl: nomadik: factor in platform data container
    pinctrl: nomadik: rename secondary to latent
    gpio: Driver for SYSCON-based GPIOs
    gpio: generic: Use platform_device_id->driver_data field for driver flags
    pinctrl: coh901: move irq line locking to resource callbacks
    ...

    Linus Torvalds
     

03 Apr, 2014

1 commit

  • 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
    ...

    Linus Torvalds
     

02 Apr, 2014

1 commit

  • Pull timer updates from Ingo Molnar:
    "The main purpose is to fix a full dynticks bug related to
    virtualization, where steal time accounting appears to be zero in
    /proc/stat even after a few seconds of competing guests running busy
    loops in a same host CPU. It's not a regression though as it was
    there since the beginning.

    The other commits are preparatory work to fix the bug and various
    cleanups"

    * 'timers-nohz-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    arch: Remove stub cputime.h headers
    sched: Remove needless round trip nsecs tick conversion of steal time
    cputime: Fix jiffies based cputime assumption on steal accounting
    cputime: Bring cputime -> nsecs conversion
    cputime: Default implementation of nsecs -> cputime conversion
    cputime: Fix nsecs_to_cputime() return type cast

    Linus Torvalds
     

01 Apr, 2014

4 commits

  • Pull ARM64 updates from Catalin Marinas:
    - KGDB support for arm64
    - PCI I/O space extended to 16M (in preparation of PCIe support
    patches)
    - Dropping ZONE_DMA32 in favour of ZONE_DMA (we only need one for the
    time being), together with swiotlb late initialisation to correctly
    setup the bounce buffer
    - DMA API cache maintenance support (not all ARMv8 platforms have
    hardware cache coherency)
    - Crypto extensions advertising via ELF_HWCAP2 for compat user space
    - Perf support for dwarf unwinding in compat mode
    - asm/tlb.h converted to the generic mmu_gather code
    - asm-generic rwsem implementation
    - Code clean-up

    * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (42 commits)
    arm64: Remove pgprot_dmacoherent()
    arm64: Support DMA_ATTR_WRITE_COMBINE
    arm64: Implement custom mmap functions for dma mapping
    arm64: Fix __range_ok macro
    arm64: Fix duplicated Kconfig entries
    arm64: mm: Route pmd thp functions through pte equivalents
    arm64: rwsem: use asm-generic rwsem implementation
    asm-generic: rwsem: de-PPCify rwsem.h
    arm64: enable generic CPU feature modalias matching for this architecture
    arm64: smp: make local symbol static
    arm64: debug: make local symbols static
    ARM64: perf: support dwarf unwinding in compat mode
    ARM64: perf: add support for frame pointer unwinding in compat mode
    ARM64: perf: add support for perf registers API
    arm64: Add boot time configuration of Intermediate Physical Address size
    arm64: Do not synchronise I and D caches for special ptes
    arm64: Make DMA coherent and strongly ordered mappings not executable
    arm64: barriers: add dmb barrier
    arm64: topology: Implement basic CPU topology support
    arm64: advertise ARMv8 extensions to 32-bit compat ELF binaries
    ...

    Linus Torvalds
     
  • Pull s390 updates from Martin Schwidefsky:
    "There are two memory management related changes, the CMMA support for
    KVM to avoid swap-in of freed pages and the split page table lock for
    the PMD level. These two come with common code changes in mm/.

    A fix for the long standing theoretical TLB flush problem, this one
    comes with a common code change in kernel/sched/.

    Another set of changes is Heikos uaccess work, included is the initial
    set of patches with more to come.

    And fixes and cleanups as usual"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (36 commits)
    s390/con3270: optionally disable auto update
    s390/mm: remove unecessary parameter from pgste_ipte_notify
    s390/mm: remove unnecessary parameter from gmap_do_ipte_notify
    s390/mm: fixing comment so that parameter name match
    s390/smp: limit number of cpus in possible cpu mask
    hypfs: Add clarification for "weight_min" attribute
    s390: update defconfigs
    s390/ptrace: add support for PTRACE_SINGLEBLOCK
    s390/perf: make print_debug_cf() static
    s390/topology: Remove call to update_cpu_masks()
    s390/compat: remove compat exec domain
    s390: select CONFIG_TTY for use of tty in unconditional keyboard driver
    s390/appldata_os: fix cpu array size calculation
    s390/checksum: remove memset() within csum_partial_copy_from_user()
    s390/uaccess: remove copy_from_user_real()
    s390/sclp_early: Return correct HSA block count also for zero
    s390: add some drivers/subsystems to the MAINTAINERS file
    s390: improve debug feature usage
    s390/airq: add support for irq ranges
    s390/mm: enable split page table lock for PMD level
    ...

    Linus Torvalds
     
  • Pull hweight type fix from Ingo Molnar:
    "This lone commit makes sure that __const_hweight8() is unsigned, which
    addresses a build warning if code is built with -Wsign-compare.

    I hope the type cast in this cleanup is fine - another option would be
    to eliminate the double unary negation and use a construct with more
    obvious integer type characteristics, along the lines of:

    ((w) & (1ULL << 1) ? 1U : 0U)

    or so"

    * 'core-types-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    bitops: Fix signedness of compile-time hweight implementations

    Linus Torvalds
     
  • Pull core locking updates from Ingo Molnar:
    "The biggest change is the MCS spinlock generalization changes from Tim
    Chen, Peter Zijlstra, Jason Low et al. There's also lockdep
    fixes/enhancements from Oleg Nesterov, in particular a false negative
    fix related to lockdep_set_novalidate_class() usage"

    * 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (22 commits)
    locking/mutex: Fix debug checks
    locking/mutexes: Add extra reschedule point
    locking/mutexes: Introduce cancelable MCS lock for adaptive spinning
    locking/mutexes: Unlock the mutex without the wait_lock
    locking/mutexes: Modify the way optimistic spinners are queued
    locking/mutexes: Return false if task need_resched() in mutex_can_spin_on_owner()
    locking: Move mcs_spinlock.h into kernel/locking/
    m68k: Skip futex_atomic_cmpxchg_inatomic() test
    futex: Allow architectures to skip futex_atomic_cmpxchg_inatomic() test
    Revert "sched/wait: Suppress Sparse 'variable shadowing' warning"
    lockdep: Change lockdep_set_novalidate_class() to use _and_name
    lockdep: Change mark_held_locks() to check hlock->check instead of lockdep_no_validate
    lockdep: Don't create the wrong dependency on hlock->check == 0
    lockdep: Make held_lock->check and "int check" argument bool
    locking/mcs: Allow architecture specific asm files to be used for contended case
    locking/mcs: Order the header files in Kbuild of each architecture in alphabetical order
    sched/wait: Suppress Sparse 'variable shadowing' warning
    hung_task/Documentation: Fix hung_task_warnings description
    locking/mcs: Allow architectures to hook in to contended paths
    locking/mcs: Micro-optimize the MCS code, add extra comments
    ...

    Linus Torvalds
     

20 Mar, 2014

1 commit

  • Every caller of syscall_get_arch() uses current for the task and no
    implementors of the function need args. So just get rid of both of
    those things. Admittedly, since these are inline functions we aren't
    wasting stack space, but it just makes the prototypes better.

    Signed-off-by: Eric Paris
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-mips@linux-mips.org
    Cc: linux390@de.ibm.com
    Cc: x86@kernel.org
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-s390@vger.kernel.org
    Cc: linux-arch@vger.kernel.org

    Eric Paris
     

15 Mar, 2014

1 commit

  • asm-generic/rwsem.h used to live under arch/powerpc. During its
    liberation to common code, a few references to its former home where
    preserved, in particular the definition of RWSEM_ACTIVE_MASK is
    predicated on CONFIG_PPC64.

    This patch updates the ifdefs and comments to architecturally neutral
    versions.

    Acked-by: Arnd Bergmann
    Acked-by: Richard Kuo
    Signed-off-by: Will Deacon
    Signed-off-by: Catalin Marinas

    Will Deacon
     

14 Mar, 2014

1 commit


13 Mar, 2014

2 commits

  • We already have nsecs_to_cputime(). Now we need to be able to convert
    the other way around in order to fix a bug on steal time accounting.

    Cc: Ingo Molnar
    Cc: Marcelo Tosatti
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Acked-by: Rik van Riel
    Signed-off-by: Frederic Weisbecker

    Frederic Weisbecker
     
  • Even though nsec based cputime_t maps to u64, nsecs_to_cputime() must
    return a cputime_t value. We want to enforce this kind of cast in order
    to track down buggy manipulations of cputime_t such as direct access
    of its values under wrong assumptions on its backend type (nsecs,
    jiffies, etc...) by core code.

    Cc: Ingo Molnar
    Cc: Marcelo Tosatti
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Acked-by: Rik van Riel
    Signed-off-by: Frederic Weisbecker

    Frederic Weisbecker
     

12 Mar, 2014

1 commit


10 Mar, 2014

1 commit

  • i.MX SoC changes for 3.15 from Shawn Guo:
    - Support suspend from ocram (DDR IO floating) for imx6 platforms
    - Add cpuidle support for imx6sl
    - Sparse warning fixes for imx6sl and vf610 clock code
    - Remove PWM platform code
    - Support ptp and rmii clock from pad
    - Support WEIM CS GPR configuration
    - Random cleanups and defconfig updates

    * tag 'imx-soc-3.15' of git://git.linaro.org/people/shawnguo/linux-2.6: (373 commits)
    ARM: imx6: drop .text.head section annotation from headsmp.S
    ARM: imx6: build suspend-imx6.o with CONFIG_SOC_IMX6
    ARM: imx6: rename pm-imx6q.c to pm-imx6.c
    ARM: imx6: introduce CONFIG_SOC_IMX6 for i.MX6 common stuff
    ARM: imx6: do not call imx6q_suspend_init() with !CONFIG_SUSPEND
    ARM: imx6: call suspend_set_ops() from suspend routine
    ARM: imx6: build headsmp.o only on CONFIG_SMP
    ARM: imx6: move v7_cpu_resume() into suspend-imx6.S
    ARM i.MX6q: Mark VPU and IPU AXI transfers as cacheable, increase IPU priority
    ARM: imx6q: Add GPR6 and GPR7 register definitions for iomuxc gpr
    bus: imx-weim: support CS GPR configuration
    ARM: mach-imx: Kconfig: Remove IMX_HAVE_PLATFORM_IMX2_WDT from SOC_IMX53
    ARM: imx_v6_v7_defconfig: Select CONFIG_DEBUG_FS
    ARM: mach-imx: Select CONFIG_SRAM at ARCH_MXC level
    ARM: imx: add speed grading check for i.mx6 soc
    ARM: imx: avoid calling clk APIs in idle thread which may cause schedule
    ARM: imx6q: support ptp and rmii clock from pad
    ARM: imx6q: remove unneeded clk lookups
    ARM: imx_v6_v7_defconfig: Select CONFIG_MMC_UNSAFE_RESUME
    ARM: imx_v4_v5_defconfig: Select CONFIG_MMC_UNSAFE_RESUME
    ...

    Olof Johansson
     

08 Mar, 2014

1 commit


21 Feb, 2014

1 commit

  • In a virtualized environment and given an appropriate interface the guest
    can mark pages as unused while they are free (for the s390 implementation
    see git commit 45e576b1c3d00206 "guest page hinting light"). For the host
    the unused state is a property of the pte.

    This patch adds the primitive 'pte_unused' and code to the host swap out
    handler so that pages marked as unused by all mappers are not swapped out
    but discarded instead, thus saving one IO for swap out and potentially
    another one for swap in.

    [ Martin Schwidefsky: patch reordering and simplification ]

    Signed-off-by: Konstantin Weitz
    Signed-off-by: Martin Schwidefsky

    Konstantin Weitz
     

17 Feb, 2014

1 commit

  • Archs like ppc64 doesn't do tlb flush in set_pte/pmd functions when using
    a hash table MMU for various reasons (the flush is handled as part of
    the PTE modification when necessary).

    ppc64 thus doesn't implement flush_tlb_range for hash based MMUs.

    Additionally ppc64 require the tlb flushing to be batched within ptl locks.

    The reason to do that is to ensure that the hash page table is in sync with
    linux page table.

    We track the hpte index in linux pte and if we clear them without flushing
    hash and drop the ptl lock, we can have another cpu update the pte and can
    end up with duplicate entry in the hash table, which is fatal.

    We also want to keep set_pte_at simpler by not requiring them to do hash
    flush for performance reason. We do that by assuming that set_pte_at() is
    never *ever* called on a PTE that is already valid.

    This was the case until the NUMA code went in which broke that assumption.

    Fix that by introducing a new pair of helpers to set _PAGE_NUMA in a
    way similar to ptep/pmdp_set_wrprotect(), with a generic implementation
    using set_pte_at() and a powerpc specific one using the appropriate
    mechanism needed to keep the hash table in sync.

    Acked-by: Mel Gorman
    Reviewed-by: Rik van Riel
    Signed-off-by: Aneesh Kumar K.V
    Signed-off-by: Benjamin Herrenschmidt

    Aneesh Kumar K.V
     

12 Feb, 2014

1 commit

  • The goal of multi-platform kernels is to remove the need for mach
    directories and machine descriptors. To further that goal,
    introduce CPU_METHOD_OF_DECLARE() to allow cpu hotplug/smp
    support to be separated from the machine descriptors.
    Implementers should specify an enable-method property in their
    cpus node and then implement a matching set of smp_ops in their
    hotplug/smp code, wiring it up with the CPU_METHOD_OF_DECLARE()
    macro. When the kernel is compiled we'll collect all the
    enable-method smp_ops into one section for use at boot.

    At boot time we'll look for an enable-method in each cpu node and
    try to match that against all known CPU enable methods in the
    kernel. If there are no enable-methods in the cpu nodes we
    fallback to the cpus node and try to use any enable-method found
    there. If that doesn't work we fall back to the old way of using
    the machine descriptor.

    Acked-by: Mark Rutland
    Cc: Russell King
    Cc:
    Signed-off-by: Stephen Boyd
    Signed-off-by: Kumar Gala

    Stephen Boyd
     

10 Feb, 2014

1 commit

  • This patch allows each architecture to add its specific assembly optimized
    arch_mcs_spin_lock_contended and arch_mcs_spinlock_uncontended for
    MCS lock and unlock functions.

    Signed-off-by: Tim Chen
    Cc: Scott J Norton
    Cc: Raghavendra K T
    Cc: AswinChandramouleeswaran
    Cc: George Spelvin
    Cc: Rik vanRiel
    Cc: Andrea Arcangeli
    Cc: MichelLespinasse
    Cc: Peter Hurley
    Cc: Andi Kleen
    Cc: Alex Shi
    Cc: Dave Hansen
    Cc: Tim Chen
    Cc: Arnd Bergmann
    Cc: "Figo.zhang"
    Cc: "Paul E.McKenney"
    Cc: "H. Peter Anvin"
    Cc: Davidlohr Bueso
    Cc: Waiman Long
    Cc: Ingo Molnar
    Cc: Will Deacon
    Cc: Andrew Morton
    Cc: Linus Torvalds
    Cc: Matthew R Wilcox
    Signed-off-by: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1390347382.3138.67.camel@schen9-DESK
    Signed-off-by: Ingo Molnar

    Tim Chen
     

09 Feb, 2014

1 commit

  • Enabling '-Wsign-compare' compiler warnings on code that includes
    include/linux/bitops.h can generate the following warning:

    In file included from include/linux/kernel.h:10:0,
    from :48:
    include/linux/bitops.h: In function 'hweight_long':
    include/linux/bitops.h:77:26: error: signed and unsigned type in conditional expression [-Werror=sign-compare]

    (converted to an error with -Werror)

    This is due to the use of the logical negation operator '!' in the
    __const_hweight8 macro in include/asm-generic/bitops/const_hweight.h.
    The use of that operator here results in a signed value.

    Fix by explicitly casting the __const_hweight8 macro expansion to
    'unsigned int'. While here, clean up several checkpatch.pl warnings.

    Signed-off-by: Paul Walmsley
    Cc: Arnd Bergmann
    Cc: H. Peter Anvin
    Cc: Linus Torvalds
    Cc: Andrew Morton
    Signed-off-by: Peter Zijlstra
    Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1312180459580.30198@tamien
    Signed-off-by: Ingo Molnar

    Paul Walmsley
     

07 Feb, 2014

1 commit

  • The documentation was not clear about whether
    gpio_direction_output should take a logical value or the physical
    level on the output line, i.e. whether the ACTIVE_LOW status
    would be taken into account.

    This converts gpiod_direction_output to use the logical level
    and adds a new gpiod_direction_output_raw for the raw value.

    Signed-off-by: Philipp Zabel
    Reviewed-by: Alexandre Courbot
    Signed-off-by: Linus Walleij

    Philipp Zabel
     

28 Jan, 2014

1 commit

  • Pull powerpc mremap fix from Ben Herrenschmidt:
    "This is the patch that I had sent after -rc8 and which we decided to
    wait before merging. It's based on a different tree than my -next
    branch (it needs some pre-reqs that were in -rc4 or so while my -next
    is based on -rc1) so I left it as a separate branch for your to pull.
    It's identical to the request I did 2 or 3 weeks back.

    This fixes crashes in mremap with THP on powerpc.

    The fix however requires a small change in the generic code. It moves
    a condition into a helper we can override from the arch which is
    harmless, but it *also* slightly changes the order of the set_pmd and
    the withdraw & deposit, which should be fine according to Kirill (who
    wrote that code) but I agree -rc8 is a bit late...

    It was acked by Kirill and Andrew told me to just merge it via powerpc"

    * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
    powerpc/thp: Fix crash on mremap

    Linus Torvalds
     

26 Jan, 2014

1 commit

  • Pull networking updates from David Miller:

    1) BPF debugger and asm tool by Daniel Borkmann.

    2) Speed up create/bind in AF_PACKET, also from Daniel Borkmann.

    3) Correct reciprocal_divide and update users, from Hannes Frederic
    Sowa and Daniel Borkmann.

    4) Currently we only have a "set" operation for the hw timestamp socket
    ioctl, add a "get" operation to match. From Ben Hutchings.

    5) Add better trace events for debugging driver datapath problems, also
    from Ben Hutchings.

    6) Implement auto corking in TCP, from Eric Dumazet. Basically, if we
    have a small send and a previous packet is already in the qdisc or
    device queue, defer until TX completion or we get more data.

    7) Allow userspace to manage ipv6 temporary addresses, from Jiri Pirko.

    8) Add a qdisc bypass option for AF_PACKET sockets, from Daniel
    Borkmann.

    9) Share IP header compression code between Bluetooth and IEEE802154
    layers, from Jukka Rissanen.

    10) Fix ipv6 router reachability probing, from Jiri Benc.

    11) Allow packets to be captured on macvtap devices, from Vlad Yasevich.

    12) Support tunneling in GRO layer, from Jerry Chu.

    13) Allow bonding to be configured fully using netlink, from Scott
    Feldman.

    14) Allow AF_PACKET users to obtain the VLAN TPID, just like they can
    already get the TCI. From Atzm Watanabe.

    15) New "Heavy Hitter" qdisc, from Terry Lam.

    16) Significantly improve the IPSEC support in pktgen, from Fan Du.

    17) Allow ipv4 tunnels to cache routes, just like sockets. From Tom
    Herbert.

    18) Add Proportional Integral Enhanced packet scheduler, from Vijay
    Subramanian.

    19) Allow openvswitch to mmap'd netlink, from Thomas Graf.

    20) Key TCP metrics blobs also by source address, not just destination
    address. From Christoph Paasch.

    21) Support 10G in generic phylib. From Andy Fleming.

    22) Try to short-circuit GRO flow compares using device provided RX
    hash, if provided. From Tom Herbert.

    The wireless and netfilter folks have been busy little bees too.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (2064 commits)
    net/cxgb4: Fix referencing freed adapter
    ipv6: reallocate addrconf router for ipv6 address when lo device up
    fib_frontend: fix possible NULL pointer dereference
    rtnetlink: remove IFLA_BOND_SLAVE definition
    rtnetlink: remove check for fill_slave_info in rtnl_have_link_slave_info
    qlcnic: update version to 5.3.55
    qlcnic: Enhance logic to calculate msix vectors.
    qlcnic: Refactor interrupt coalescing code for all adapters.
    qlcnic: Update poll controller code path
    qlcnic: Interrupt code cleanup
    qlcnic: Enhance Tx timeout debugging.
    qlcnic: Use bool for rx_mac_learn.
    bonding: fix u64 division
    rtnetlink: add missing IFLA_BOND_AD_INFO_UNSPEC
    sfc: Use the correct maximum TX DMA ring size for SFC9100
    Add Shradha Shah as the sfc driver maintainer.
    net/vxlan: Share RX skb de-marking and checksum checks with ovs
    tulip: cleanup by using ARRAY_SIZE()
    ip_tunnel: clear IPCB in ip_tunnel_xmit() in case dst_link_failure() is called
    net/cxgb4: Don't retrieve stats during recovery
    ...

    Linus Torvalds
     

24 Jan, 2014

4 commits

  • Merge second patch-bomb from Andrew Morton:
    - various misc bits
    - the rest of MM
    - add generic fixmap.h, use it
    - backlight updates
    - dynamic_debug updates
    - printk() updates
    - checkpatch updates
    - binfmt_elf
    - ramfs
    - init/
    - autofs4
    - drivers/rtc
    - nilfs
    - hfsplus
    - Documentation/
    - coredump
    - procfs
    - fork
    - exec
    - kexec
    - kdump
    - partitions
    - rapidio
    - rbtree
    - userns
    - memstick
    - w1
    - decompressors

    * emailed patches from Andrew Morton : (197 commits)
    lib/decompress_unlz4.c: always set an error return code on failures
    romfs: fix returm err while getting inode in fill_super
    drivers/w1/masters/w1-gpio.c: add strong pullup emulation
    drivers/memstick/host/rtsx_pci_ms.c: fix ms card data transfer bug
    userns: relax the posix_acl_valid() checks
    arch/sh/kernel/dwarf.c: use rbtree postorder iteration helper instead of solution using repeated rb_erase()
    fs-ext3-use-rbtree-postorder-iteration-helper-instead-of-opencoding-fix
    fs/ext3: use rbtree postorder iteration helper instead of opencoding
    fs/jffs2: use rbtree postorder iteration helper instead of opencoding
    fs/ext4: use rbtree postorder iteration helper instead of opencoding
    fs/ubifs: use rbtree postorder iteration helper instead of opencoding
    net/netfilter/ipset/ip_set_hash_netiface.c: use rbtree postorder iteration instead of opencoding
    rbtree/test: test rbtree_postorder_for_each_entry_safe()
    rbtree/test: move rb_node to the middle of the test struct
    rapidio: add modular rapidio core build into powerpc and mips branches
    partitions/efi: complete documentation of gpt kernel param purpose
    kdump: add /sys/kernel/vmcoreinfo ABI documentation
    kdump: fix exported size of vmcoreinfo note
    kexec: add sysctl to disable kexec_load
    fs/exec.c: call arch_pick_mmap_layout() only once
    ...

    Linus Torvalds
     
  • Pull audit update from Eric Paris:
    "Again we stayed pretty well contained inside the audit system.
    Venturing out was fixing a couple of function prototypes which were
    inconsistent (didn't hurt anything, but we used the same value as an
    int, uint, u32, and I think even a long in a couple of places).

    We also made a couple of minor changes to when a couple of LSMs called
    the audit system. We hoped to add aarch64 audit support this go
    round, but it wasn't ready.

    I'm disappearing on vacation on Thursday. I should have internet
    access, but it'll be spotty. If anything goes wrong please be sure to
    cc rgb@redhat.com. He'll make fixing things his top priority"

    * git://git.infradead.org/users/eparis/audit: (50 commits)
    audit: whitespace fix in kernel-parameters.txt
    audit: fix location of __net_initdata for audit_net_ops
    audit: remove pr_info for every network namespace
    audit: Modify a set of system calls in audit class definitions
    audit: Convert int limit uses to u32
    audit: Use more current logging style
    audit: Use hex_byte_pack_upper
    audit: correct a type mismatch in audit_syscall_exit()
    audit: reorder AUDIT_TTY_SET arguments
    audit: rework AUDIT_TTY_SET to only grab spin_lock once
    audit: remove needless switch in AUDIT_SET
    audit: use define's for audit version
    audit: documentation of audit= kernel parameter
    audit: wait_for_auditd rework for readability
    audit: update MAINTAINERS
    audit: log task info on feature change
    audit: fix incorrect set of audit_sock
    audit: print error message when fail to create audit socket
    audit: fix dangling keywords in audit_log_set_loginuid() output
    audit: log on errors from filter user rules
    ...

    Linus Torvalds
     
  • Many architectures provide an asm/fixmap.h which defines support for
    compile-time 'special' virtual mappings which need to be made before
    paging_init() has run. This support is also used for early ioremap on
    x86. Much of this support is identical across the architectures. This
    patch consolidates all of the common bits into asm-generic/fixmap.h
    which is intended to be included from arch/*/include/asm/fixmap.h.

    Signed-off-by: Mark Salter
    Acked-by: Arnd Bergmann
    Acked-by: Ralf Baechle
    Cc: Russell King
    Cc: Richard Kuo
    Cc: James Hogan
    Cc: Michal Simek
    Cc: Benjamin Herrenschmidt
    Cc: Paul Mackerras
    Cc: "H. Peter Anvin"
    Cc: Chris Metcalf
    Cc: Ingo Molnar
    Cc: Jeff Dike
    Cc: Paul Mundt
    Cc: Richard Weinberger
    Cc: Thomas Gleixner
    Cc: Jonas Bonn
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mark Salter
     
  • Now all 64-bit architectures have been converted to int-ll64.h, we can
    remove int-l64.h in kernelspace.

    For backwards compatibility, alpha, ia64, mips64, and powerpc64 still
    use int-l64.h in userspace.

    This is the (reworked for UAPI) non-documentation part of more than two
    year old "asm/types.h: All architectures use int-ll64.h in kernelspace"
    (https://lkml.org/lkml/2011/8/13/104)

    Since (from include/uapi/asm-generic/types.h) is used for
    both kernel and user space, include/asm-generic/int-ll64.h cannot just
    become include/asm-generic/types.h, as Arnd suggested.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Arnd Bergmann
    Cc: Al Viro
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     

23 Jan, 2014

1 commit

  • Pull trivial tree updates from Jiri Kosina:
    "Usual rocket science stuff from trivial.git"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    neighbour.h: fix comment
    sched: Fix warning on make htmldocs caused by wait.h
    slab: struct kmem_cache is protected by slab_mutex
    doc: Fix typo in USB Gadget Documentation
    of/Kconfig: Spelling s/one/once/
    mkregtable: Fix sscanf handling
    lp5523, lp8501: comment improvements
    thermal: rcar: comment spelling
    treewide: fix comments and printk msgs
    IXP4xx: remove '1 &&' from a condition check in ixp4xx_restart()
    Documentation: update /proc/uptime field description
    Documentation: Fix size parameter for snprintf
    arm: fix comment header and macro name
    asm-generic: uaccess: Spelling s/a ny/any/
    mtd: onenand: fix comment header
    doc: driver-model/platform.txt: fix a typo
    drivers: fix typo in DEVTMPFS_MOUNT Kconfig help text
    doc: Fix typo (acces_process_vm -> access_process_vm)
    treewide: Fix typos in printk
    drivers/gpu/drm/qxl/Kconfig: reformat the help text
    ...

    Linus Torvalds