06 Nov, 2014

1 commit


01 Nov, 2014

1 commit

  • Pull perf fixes from Ingo Molnar:
    "Mostly tooling fixes, plus on the kernel side:

    - a revert for a newly introduced PMU driver which isn't complete yet
    and where we ran out of time with fixes (to be tried again in
    v3.19) - this makes up for a large chunk of the diffstat.

    - compilation warning fixes

    - a printk message fix

    - event_idx usage fixes/cleanups"

    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    perf probe: Trivial typo fix for --demangle
    perf tools: Fix report -F dso_from for data without branch info
    perf tools: Fix report -F dso_to for data without branch info
    perf tools: Fix report -F symbol_from for data without branch info
    perf tools: Fix report -F symbol_to for data without branch info
    perf tools: Fix report -F mispredict for data without branch info
    perf tools: Fix report -F in_tx for data without branch info
    perf tools: Fix report -F abort for data without branch info
    perf tools: Make CPUINFO_PROC an array to support different kernel versions
    perf callchain: Use global caching provided by libunwind
    perf/x86/intel: Revert incomplete and undocumented Broadwell client support
    perf/x86: Fix compile warnings for intel_uncore
    perf: Fix typos in sample code in the perf_event.h header
    perf: Fix and clean up initialization of pmu::event_idx
    perf: Fix bogus kernel printk
    perf diff: Add missing hists__init() call at tool start

    Linus Torvalds
     

28 Oct, 2014

2 commits

  • Andy reported that the current state of event_idx is rather confused.
    So remove all but the x86_pmu implementation and change the default to
    return 0 (the safe option).

    Reported-by: Andy Lutomirski
    Signed-off-by: Peter Zijlstra (Intel)
    Cc: Arnaldo Carvalho de Melo
    Cc: Benjamin Herrenschmidt
    Cc: Christoph Lameter
    Cc: Cody P Schafer
    Cc: Cody P Schafer
    Cc: Heiko Carstens
    Cc: Hendrik Brueckner
    Cc: Himangi Saraogi
    Cc: Linus Torvalds
    Cc: Martin Schwidefsky
    Cc: Michael Ellerman
    Cc: Paul Gortmaker
    Cc: Paul Mackerras
    Cc: sukadev@linux.vnet.ibm.com
    Cc: Thomas Huth
    Cc: Vince Weaver
    Cc: linux390@de.ibm.com
    Cc: linuxppc-dev@lists.ozlabs.org
    Cc: linux-s390@vger.kernel.org
    Signed-off-by: Ingo Molnar

    Peter Zijlstra
     
  • Add an ftrace_graph_is_dead() check to prepare_ftrace_return() in order to
    detect an internal ftrace graph error. This allows to prevent further ftrace
    graph handling and hopefully keeps the kernel alive.

    This patch is the same like for all other architectures.
    For unkown reasons s390 was left out.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     

27 Oct, 2014

3 commits


21 Oct, 2014

1 commit


20 Oct, 2014

1 commit

  • Pull audit updates from Eric Paris:
    "So this change across a whole bunch of arches really solves one basic
    problem. We want to audit when seccomp is killing a process. seccomp
    hooks in before the audit syscall entry code. audit_syscall_entry
    took as an argument the arch of the given syscall. Since the arch is
    part of what makes a syscall number meaningful it's an important part
    of the record, but it isn't available when seccomp shoots the
    syscall...

    For most arch's we have a better way to get the arch (syscall_get_arch)
    So the solution was two fold: Implement syscall_get_arch() everywhere
    there is audit which didn't have it. Use syscall_get_arch() in the
    seccomp audit code. Having syscall_get_arch() everywhere meant it was
    a useless flag on the stack and we could get rid of it for the typical
    syscall entry.

    The other changes inside the audit system aren't grand, fixed some
    records that had invalid spaces. Better locking around the task comm
    field. Removing some dead functions and structs. Make some things
    static. Really minor stuff"

    * git://git.infradead.org/users/eparis/audit: (31 commits)
    audit: rename audit_log_remove_rule to disambiguate for trees
    audit: cull redundancy in audit_rule_change
    audit: WARN if audit_rule_change called illegally
    audit: put rule existence check in canonical order
    next: openrisc: Fix build
    audit: get comm using lock to avoid race in string printing
    audit: remove open_arg() function that is never used
    audit: correct AUDIT_GET_FEATURE return message type
    audit: set nlmsg_len for multicast messages.
    audit: use union for audit_field values since they are mutually exclusive
    audit: invalid op= values for rules
    audit: use atomic_t to simplify audit_serial()
    kernel/audit.c: use ARRAY_SIZE instead of sizeof/sizeof[0]
    audit: reduce scope of audit_log_fcaps
    audit: reduce scope of audit_net_id
    audit: arm64: Remove the audit arch argument to audit_syscall_entry
    arm64: audit: Add audit hook in syscall_trace_enter/exit()
    audit: x86: drop arch from __audit_syscall_entry() interface
    sparc: implement is_32bit_task
    sparc: properly conditionalize use of TIF_32BIT
    ...

    Linus Torvalds
     

17 Oct, 2014

2 commits


15 Oct, 2014

2 commits

  • pte_unmap works on page table entry pointers, derefencing should be avoided.
    As on s390 pte_unmap is a NOP, this is more a cleanup if we want to supply
    later such function.

    Signed-off-by: Dominik Dingel
    Reviewed-by: Thomas Huth
    Signed-off-by: Martin Schwidefsky

    Dominik Dingel
     
  • Pull percpu consistent-ops changes from Tejun Heo:
    "Way back, before the current percpu allocator was implemented, static
    and dynamic percpu memory areas were allocated and handled separately
    and had their own accessors. The distinction has been gone for many
    years now; however, the now duplicate two sets of accessors remained
    with the pointer based ones - this_cpu_*() - evolving various other
    operations over time. During the process, we also accumulated other
    inconsistent operations.

    This pull request contains Christoph's patches to clean up the
    duplicate accessor situation. __get_cpu_var() uses are replaced with
    with this_cpu_ptr() and __this_cpu_ptr() with raw_cpu_ptr().

    Unfortunately, the former sometimes is tricky thanks to C being a bit
    messy with the distinction between lvalues and pointers, which led to
    a rather ugly solution for cpumask_var_t involving the introduction of
    this_cpu_cpumask_var_ptr().

    This converts most of the uses but not all. Christoph will follow up
    with the remaining conversions in this merge window and hopefully
    remove the obsolete accessors"

    * 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu: (38 commits)
    irqchip: Properly fetch the per cpu offset
    percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t -fix
    ia64: sn_nodepda cannot be assigned to after this_cpu conversion. Use __this_cpu_write.
    percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t
    Revert "powerpc: Replace __get_cpu_var uses"
    percpu: Remove __this_cpu_ptr
    clocksource: Replace __this_cpu_ptr with raw_cpu_ptr
    sparc: Replace __get_cpu_var uses
    avr32: Replace __get_cpu_var with __this_cpu_write
    blackfin: Replace __get_cpu_var uses
    tile: Use this_cpu_ptr() for hardware counters
    tile: Replace __get_cpu_var uses
    powerpc: Replace __get_cpu_var uses
    alpha: Replace __get_cpu_var
    ia64: Replace __get_cpu_var uses
    s390: cio driver &__get_cpu_var replacements
    s390: Replace __get_cpu_var uses
    mips: Replace __get_cpu_var uses
    MIPS: Replace __get_cpu_var uses in FPU emulator.
    arm: Replace __this_cpu_ptr with raw_cpu_ptr
    ...

    Linus Torvalds
     

14 Oct, 2014

2 commits

  • Pull s390 updates from Martin Schwidefsky:
    "This patch set contains the main portion of the changes for 3.18 in
    regard to the s390 architecture. It is a bit bigger than usual,
    mainly because of a new driver and the vector extension patches.

    The interesting bits are:
    - Quite a bit of work on the tracing front. Uprobes is enabled and
    the ftrace code is reworked to get some of the lost performance
    back if CONFIG_FTRACE is enabled.
    - To improve boot time with CONFIG_DEBIG_PAGEALLOC, support for the
    IPTE range facility is added.
    - The rwlock code is re-factored to improve writer fairness and to be
    able to use the interlocked-access instructions.
    - The kernel part for the support of the vector extension is added.
    - The device driver to access the CD/DVD on the HMC is added, this
    will hopefully come in handy to improve the installation process.
    - Add support for control-unit initiated reconfiguration.
    - The crypto device driver is enhanced to enable the additional AP
    domains and to allow the new crypto hardware to be used.
    - Bug fixes"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (39 commits)
    s390/ftrace: simplify enabling/disabling of ftrace_graph_caller
    s390/ftrace: remove 31 bit ftrace support
    s390/kdump: add support for vector extension
    s390/disassembler: add vector instructions
    s390: add support for vector extension
    s390/zcrypt: Toleration of new crypto hardware
    s390/idle: consolidate idle functions and definitions
    s390/nohz: use a per-cpu flag for arch_needs_cpu
    s390/vtime: do not reset idle data on CPU hotplug
    s390/dasd: add support for control unit initiated reconfiguration
    s390/dasd: fix infinite loop during format
    s390/mm: make use of ipte range facility
    s390/setup: correct 4-level kernel page table detection
    s390/topology: call set_sched_topology early
    s390/uprobes: architecture backend for uprobes
    s390/uprobes: common library for kprobes and uprobes
    s390/rwlock: use the interlocked-access facility 1 instructions
    s390/rwlock: improve writer fairness
    s390/rwlock: remove interrupt-enabling rwlock variant.
    s390/mm: remove change bit override support
    ...

    Linus Torvalds
     
  • Pull x86 seccomp changes from Ingo Molnar:
    "This tree includes x86 seccomp filter speedups and related preparatory
    work, which touches core seccomp facilities as well.

    The main idea is to split seccomp into two phases, to be able to enter
    a simple fast path for syscalls with ptrace side effects.

    There's no substantial user-visible (and ABI) effects expected from
    this, except a change in how we emit a better audit record for
    SECCOMP_RET_TRACE events"

    * 'x86-seccomp-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86_64, entry: Use split-phase syscall_trace_enter for 64-bit syscalls
    x86_64, entry: Treat regs->ax the same in fastpath and slowpath syscalls
    x86: Split syscall_trace_enter into two phases
    x86, entry: Only call user_exit if TIF_NOHZ
    x86, x32, audit: Fix x32's AUDIT_ARCH wrt audit
    seccomp: Document two-phase seccomp and arch-provided seccomp_data
    seccomp: Allow arch code to provide seccomp_data
    seccomp: Refactor the filter callback and the API
    seccomp,x86,arm,mips,s390: Remove nr parameter from secure_computing

    Linus Torvalds
     

13 Oct, 2014

1 commit

  • Pull scheduler updates from Ingo Molnar:
    "The main changes in this cycle were:

    - Optimized support for Intel "Cluster-on-Die" (CoD) topologies (Dave
    Hansen)

    - Various sched/idle refinements for better idle handling (Nicolas
    Pitre, Daniel Lezcano, Chuansheng Liu, Vincent Guittot)

    - sched/numa updates and optimizations (Rik van Riel)

    - sysbench speedup (Vincent Guittot)

    - capacity calculation cleanups/refactoring (Vincent Guittot)

    - Various cleanups to thread group iteration (Oleg Nesterov)

    - Double-rq-lock removal optimization and various refactorings
    (Kirill Tkhai)

    - various sched/deadline fixes

    ... and lots of other changes"

    * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (72 commits)
    sched/dl: Use dl_bw_of() under rcu_read_lock_sched()
    sched/fair: Delete resched_cpu() from idle_balance()
    sched, time: Fix build error with 64 bit cputime_t on 32 bit systems
    sched: Improve sysbench performance by fixing spurious active migration
    sched/x86: Fix up typo in topology detection
    x86, sched: Add new topology for multi-NUMA-node CPUs
    sched/rt: Use resched_curr() in task_tick_rt()
    sched: Use rq->rd in sched_setaffinity() under RCU read lock
    sched: cleanup: Rename 'out_unlock' to 'out_free_new_mask'
    sched: Use dl_bw_of() under RCU read lock
    sched/fair: Remove duplicate code from can_migrate_task()
    sched, mips, ia64: Remove __ARCH_WANT_UNLOCKED_CTXSW
    sched: print_rq(): Don't use tasklist_lock
    sched: normalize_rt_tasks(): Don't use _irqsave for tasklist_lock, use task_rq_lock()
    sched: Fix the task-group check in tg_has_rt_tasks()
    sched/fair: Leverage the idle state info when choosing the "idlest" cpu
    sched: Let the scheduler see CPU idle states
    sched/deadline: Fix inter- exclusive cpusets migrations
    sched/deadline: Clear dl_entity params when setscheduling to different class
    sched/numa: Kill the wrong/dead TASK_DEAD check in task_numa_fault()
    ...

    Linus Torvalds
     

11 Oct, 2014

1 commit

  • Pull dma-mapping update from Marek Szyprowski:
    "Provide the dma write coherent api (available previously on ARM
    architecture) for all other architectures, which use dma_ops-based dma
    mapping implementation.

    This lets one to use the same code in the device drivers regardless of
    the selected architecture"

    * 'for-v3.18' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping:
    dma-mapping: Provide write-combine allocations
    s390: Implement dma_{alloc,free}_attrs()

    Linus Torvalds
     

10 Oct, 2014

1 commit

  • The different architectures used their own (and different) declarations:

    extern __visible const void __nosave_begin, __nosave_end;
    extern const void __nosave_begin, __nosave_end;
    extern long __nosave_begin, __nosave_end;

    Consolidate them using the first variant in .

    Signed-off-by: Geert Uytterhoeven
    Cc: Russell King
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: Martin Schwidefsky
    Cc: "David S. Miller"
    Cc: Guan Xuetao
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: "H. Peter Anvin"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     

09 Oct, 2014

10 commits

  • Pull timer fixes from Ingo Molnar:
    "Main changes:

    - Fix the deadlock reported by Dave Jones et al
    - Clean up and fix nohz_full interaction with arch abilities
    - nohz init code consolidation/cleanup"

    * 'timers-nohz-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    nohz: nohz full depends on irq work self IPI support
    nohz: Consolidate nohz full init code
    arm64: Tell irq work about self IPI support
    arm: Tell irq work about self IPI support
    x86: Tell irq work about self IPI support
    irq_work: Force raised irq work to run on irq work interrupt
    irq_work: Introduce arch_irq_work_has_interrupt()
    nohz: Move nohz full init call to tick init

    Linus Torvalds
     
  • We can simply patch the mask field within the branch relative on
    condition instruction at the beginning of the ftrace_graph_caller
    code block.
    This makes the logic even simpler and we get rid of the displacement
    calculation.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • 31 bit and 64 bit diverge more and more and it is rather painful
    to keep both parts running.
    To make things simpler just remove the 31 bit support which nobody
    uses anyway.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • With this patch for kdump the s390 vector registers are stored into the
    prepared save areas in the old kernel and into the REGSET_VX_LOW and
    REGSET_VX_HIGH ELF notes for /proc/vmcore in the new kernel.

    The NT_S390_VXRS_LOW note contains the lower halves of the first 16 vector
    registers 0-15. The higher halves are stored in the floating point register
    ELF note. The NT_S390_VXRS_HIGH contains the full vector registers 16-31.

    The kernel provides a save area for storing vector register in case of
    machine checks. A pointer to this save are is stored in the CPU lowcore
    at offset 0x11b0. This save area is also used to save the registers for
    kdump. In case of a dumped crashed kdump those areas are used to extract
    the registers of the production system.

    The vector registers for remote CPUs are stored using the "store additional
    status at address" SIGP. For the dump CPU the vector registers are stored
    with the VSTM instruction.

    With this patch also zfcpdump stores the vector registers.

    Reviewed-by: Heiko Carstens
    Signed-off-by: Michael Holzheu
    Signed-off-by: Martin Schwidefsky

    Michael Holzheu
     
  • Add the instruction introduced with the vector extension to the in-kernel
    disassembler.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • The vector extension introduces 32 128-bit vector registers and a set of
    instruction to operate on the vector registers.

    The kernel can control the use of vector registers for the problem state
    program with a bit in control register 0. Once enabled for a process the
    kernel needs to retain the content of the vector registers on context
    switch. The signal frame is extended to include the vector registers.
    Two new register sets NT_S390_VXRS_LOW and NT_S390_VXRS_HIGH are added
    to the regset interface for the debugger and core dumps.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Move the C functions and definitions related to the idle state handling
    to arch/s390/include/asm/idle.h and arch/s390/kernel/idle.c. The function
    s390_get_idle_time is renamed to arch_cpu_idle_time and vtime_stop_cpu to
    enabled_wait.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Move the nohz_delay bit from the s390_idle data structure to the
    per-cpu flags. Clear the nohz delay flag in __cpu_disable and
    remove the cpu hotplug notifier that used to do this.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • The sysfs attributes /sys/devices/system/cpu/cpu0/idle_count and
    /sys/devices/system/cpu/cpu0/idle_time_us are reset to zero every
    time a CPU is set online. The idle and iowait fields in /proc/stat
    corresponding to idle_time_us are not reset. To make things
    consistent do not reset the data for the sys attributes.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Pull networking updates from David Miller:
    "Most notable changes in here:

    1) By far the biggest accomplishment, thanks to a large range of
    contributors, is the addition of multi-send for transmit. This is
    the result of discussions back in Chicago, and the hard work of
    several individuals.

    Now, when the ->ndo_start_xmit() method of a driver sees
    skb->xmit_more as true, it can choose to defer the doorbell
    telling the driver to start processing the new TX queue entires.

    skb->xmit_more means that the generic networking is guaranteed to
    call the driver immediately with another SKB to send.

    There is logic added to the qdisc layer to dequeue multiple
    packets at a time, and the handling mis-predicted offloads in
    software is now done with no locks held.

    Finally, pktgen is extended to have a "burst" parameter that can
    be used to test a multi-send implementation.

    Several drivers have xmit_more support: i40e, igb, ixgbe, mlx4,
    virtio_net

    Adding support is almost trivial, so export more drivers to
    support this optimization soon.

    I want to thank, in no particular or implied order, Jesper
    Dangaard Brouer, Eric Dumazet, Alexander Duyck, Tom Herbert, Jamal
    Hadi Salim, John Fastabend, Florian Westphal, Daniel Borkmann,
    David Tat, Hannes Frederic Sowa, and Rusty Russell.

    2) PTP and timestamping support in bnx2x, from Michal Kalderon.

    3) Allow adjusting the rx_copybreak threshold for a driver via
    ethtool, and add rx_copybreak support to enic driver. From
    Govindarajulu Varadarajan.

    4) Significant enhancements to the generic PHY layer and the bcm7xxx
    driver in particular (EEE support, auto power down, etc.) from
    Florian Fainelli.

    5) Allow raw buffers to be used for flow dissection, allowing drivers
    to determine the optimal "linear pull" size for devices that DMA
    into pools of pages. The objective is to get exactly the
    necessary amount of headers into the linear SKB area pre-pulled,
    but no more. The new interface drivers use is eth_get_headlen().
    From WANG Cong, with driver conversions (several had their own
    by-hand duplicated implementations) by Alexander Duyck and Eric
    Dumazet.

    6) Support checksumming more smoothly and efficiently for
    encapsulations, and add "foo over UDP" facility. From Tom
    Herbert.

    7) Add Broadcom SF2 switch driver to DSA layer, from Florian
    Fainelli.

    8) eBPF now can load programs via a system call and has an extensive
    testsuite. Alexei Starovoitov and Daniel Borkmann.

    9) Major overhaul of the packet scheduler to use RCU in several major
    areas such as the classifiers and rate estimators. From John
    Fastabend.

    10) Add driver for Intel FM10000 Ethernet Switch, from Alexander
    Duyck.

    11) Rearrange TCP_SKB_CB() to reduce cache line misses, from Eric
    Dumazet.

    12) Add Datacenter TCP congestion control algorithm support, From
    Florian Westphal.

    13) Reorganize sk_buff so that __copy_skb_header() is significantly
    faster. From Eric Dumazet"

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1558 commits)
    netlabel: directly return netlbl_unlabel_genl_init()
    net: add netdev_txq_bql_{enqueue, complete}_prefetchw() helpers
    net: description of dma_cookie cause make xmldocs warning
    cxgb4: clean up a type issue
    cxgb4: potential shift wrapping bug
    i40e: skb->xmit_more support
    net: fs_enet: Add NAPI TX
    net: fs_enet: Remove non NAPI RX
    r8169:add support for RTL8168EP
    net_sched: copy exts->type in tcf_exts_change()
    wimax: convert printk to pr_foo()
    af_unix: remove 0 assignment on static
    ipv6: Do not warn for informational ICMP messages, regardless of type.
    Update Intel Ethernet Driver maintainers list
    bridge: Save frag_max_size between PRE_ROUTING and POST_ROUTING
    tipc: fix bug in multicast congestion handling
    net: better IFF_XMIT_DST_RELEASE support
    net/mlx4_en: remove NETDEV_TX_BUSY
    3c59x: fix bad split of cpu_to_le32(pci_map_single())
    net: bcmgenet: fix Tx ring priority programming
    ...

    Linus Torvalds
     

08 Oct, 2014

1 commit

  • Pull KVM updates from Paolo Bonzini:
    "Fixes and features for 3.18.

    Apart from the usual cleanups, here is the summary of new features:

    - s390 moves closer towards host large page support

    - PowerPC has improved support for debugging (both inside the guest
    and via gdbstub) and support for e6500 processors

    - ARM/ARM64 support read-only memory (which is necessary to put
    firmware in emulated NOR flash)

    - x86 has the usual emulator fixes and nested virtualization
    improvements (including improved Windows support on Intel and
    Jailhouse hypervisor support on AMD), adaptive PLE which helps
    overcommitting of huge guests. Also included are some patches that
    make KVM more friendly to memory hot-unplug, and fixes for rare
    caching bugs.

    Two patches have trivial mm/ parts that were acked by Rik and Andrew.

    Note: I will soon switch to a subkey for signing purposes"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (157 commits)
    kvm: do not handle APIC access page if in-kernel irqchip is not in use
    KVM: s390: count vcpu wakeups in stat.halt_wakeup
    KVM: s390/facilities: allow TOD-CLOCK steering facility bit
    KVM: PPC: BOOK3S: HV: CMA: Reserve cma region only in hypervisor mode
    arm/arm64: KVM: Report correct FSC for unsupported fault types
    arm/arm64: KVM: Fix VTTBR_BADDR_MASK and pgd alloc
    kvm: Fix kvm_get_page_retry_io __gup retval check
    arm/arm64: KVM: Fix set_clear_sgi_pend_reg offset
    kvm: x86: Unpin and remove kvm_arch->apic_access_page
    kvm: vmx: Implement set_apic_access_page_addr
    kvm: x86: Add request bit to reload APIC access page address
    kvm: Add arch specific mmu notifier for page invalidation
    kvm: Rename make_all_cpus_request() to kvm_make_all_cpus_request() and make it non-static
    kvm: Fix page ageing bugs
    kvm/x86/mmu: Pass gfn and level to rmapp callback.
    x86: kvm: use alternatives for VMCALL vs. VMMCALL if kernel text is read-only
    kvm: x86: use macros to compute bank MSRs
    KVM: x86: Remove debug assertion of non-PAE reserved bits
    kvm: don't take vcpu mutex for obviously invalid vcpu ioctls
    kvm: Faults which trigger IO release the mmap_sem
    ...

    Linus Torvalds
     

03 Oct, 2014

1 commit

  • On 32 bit systems cmpxchg cannot handle 64 bit values, so
    some additional magic is required to allow a 32 bit system
    with CONFIG_VIRT_CPU_ACCOUNTING_GEN=y enabled to build.

    Make sure the correct cmpxchg function is used when doing
    an atomic swap of a cputime_t.

    Reported-by: Arnd Bergmann
    Signed-off-by: Rik van Riel
    Acked-by: Arnd Bergmann
    Signed-off-by: Peter Zijlstra (Intel)
    Cc: umgwanakikbuti@gmail.com
    Cc: fweisbec@gmail.com
    Cc: srao@redhat.com
    Cc: lwoodman@redhat.com
    Cc: atheurer@redhat.com
    Cc: oleg@redhat.com
    Cc: Andrew Morton
    Cc: Benjamin Herrenschmidt
    Cc: Heiko Carstens
    Cc: Linus Torvalds
    Cc: Martin Schwidefsky
    Cc: Michael Ellerman
    Cc: Paul Mackerras
    Cc: linux390@de.ibm.com
    Cc: linux-arch@vger.kernel.org
    Cc: linuxppc-dev@lists.ozlabs.org
    Cc: linux-s390@vger.kernel.org
    Link: http://lkml.kernel.org/r/20140930155947.070cdb1f@annuminas.surriel.com
    Signed-off-by: Ingo Molnar

    Rik van Riel
     

01 Oct, 2014

2 commits


30 Sep, 2014

1 commit

  • Invalidate several pte entries at once if the ipte range facility
    is available. Currently this works only for DEBUG_PAGE_ALLOC where
    several up to 2 ^ MAX_ORDER may be invalidated at once.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     

26 Sep, 2014

2 commits

  • Fix calculation to decide if a 4-level kernel page table is required.
    Git commit c972cc60c23f5a63 "s390/vmalloc: have separate modules area"
    added the separate module area which reduces the size of the vmalloc
    area but fails to take it into account for the 3 vs 4 level page table
    decision.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • The call to topology_init is too late for the set_sched_topology call.
    The initial scheduling domain structure has already been established
    with default topology array. Use the smp_cpus_done() call to get the
    s390 specific topology array registered early enough.

    Cc: stable@vger.kernel.org # v3.16+
    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     

25 Sep, 2014

5 commits