1. 08 May, 2019 11 commits
  2. 03 May, 2019 3 commits
  3. 29 Apr, 2019 1 commit
  4. 21 Apr, 2019 1 commit
    • Steven Rostedt (VMware)'s avatar
      function_graph: Have selftest also emulate tr->reset() as it did with tr->init() · 52fde6e7
      Steven Rostedt (VMware) authored
      The function_graph boot up self test emulates the tr->init() function in
      order to add a wrapper around the function graph tracer entry code to test
      for lock ups and such. But it does not emulate the tr->reset(), and just
      calls the function_graph tracer tr->reset() function which will use its own
      fgraph_ops to unregister function tracing with. As the fgraph_ops is
      becoming more meaningful with the register_ftrace_graph() and
      unregister_ftrace_graph() functions, the two need to be the same. The
      emulated tr->init() uses its own fgraph_ops descriptor, which means the
      unregister_ftrace_graph() must use the same ftrace_ops, which the selftest
      currently does not do. By emulating the tr->reset() as the selftest does
      with the tr->init() it will be able to pass the same fgraph_ops descriptor
      to the unregister_ftrace_graph() as it did with the register_ftrace_graph().
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      52fde6e7
  5. 11 Apr, 2019 1 commit
    • Steven Rostedt (VMware)'s avatar
      ftrace: Do not process STUB functions in ftrace_ops_list_func() · 2fa717a0
      Steven Rostedt (VMware) authored
      The function_graph tracer has a stub function and its ops flag has the
      FTRACE_OPS_FL_STUB set. As the function graph does not use the
      ftrace_ops->func pointer but instead is called by a separate part of the
      ftrace trampoline. The function_graph tracer still requires to pass in a
      ftrace_ops that may also hold the hash of the functions to call. But there's
      no reason to test that hash in the function tracing portion. Instead of
      testing to see if we should call the stub function, just test if the ops has
      FTRACE_OPS_FL_STUB set, and just skip it.
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      2fa717a0
  6. 10 Apr, 2019 1 commit
  7. 08 Apr, 2019 12 commits
  8. 02 Apr, 2019 7 commits
  9. 31 Mar, 2019 3 commits
    • Linus Torvalds's avatar
      Linux 5.1-rc3 · 79a3aaa7
      Linus Torvalds authored
      79a3aaa7
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 63fc9c23
      Linus Torvalds authored
      Pull KVM fixes from Paolo Bonzini:
       "A collection of x86 and ARM bugfixes, and some improvements to
        documentation.
      
        On top of this, a cleanup of kvm_para.h headers, which were exported
        by some architectures even though they not support KVM at all. This is
        responsible for all the Kbuild changes in the diffstat"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (28 commits)
        Documentation: kvm: clarify KVM_SET_USER_MEMORY_REGION
        KVM: doc: Document the life cycle of a VM and its resources
        KVM: selftests: complete IO before migrating guest state
        KVM: selftests: disable stack protector for all KVM tests
        KVM: selftests: explicitly disable PIE for tests
        KVM: selftests: assert on exit reason in CR4/cpuid sync test
        KVM: x86: update %rip after emulating IO
        x86/kvm/hyper-v: avoid spurious pending stimer on vCPU init
        kvm/x86: Move MSR_IA32_ARCH_CAPABILITIES to array emulated_msrs
        KVM: x86: Emulate MSR_IA32_ARCH_CAPABILITIES on AMD hosts
        kvm: don't redefine flags as something else
        kvm: mmu: Used range based flushing in slot_handle_level_range
        KVM: export <linux/kvm_para.h> and <asm/kvm_para.h> iif KVM is supported
        KVM: x86: remove check on nr_mmu_pages in kvm_arch_commit_memory_region()
        kvm: nVMX: Add a vmentry check for HOST_SYSENTER_ESP and HOST_SYSENTER_EIP fields
        KVM: SVM: Workaround errata#1096 (insn_len maybe zero on SMAP violation)
        KVM: Reject device ioctls from processes other than the VM's creator
        KVM: doc: Fix incorrect word ordering regarding supported use of APIs
        KVM: x86: fix handling of role.cr4_pae and rename it to 'gpte_size'
        KVM: nVMX: Do not inherit quadrant and invalid for the root shadow EPT
        ...
      63fc9c23
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 915ee0da
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "A pile of x86 updates:
      
         - Prevent exceeding he valid physical address space in the /dev/mem
           limit checks.
      
         - Move all header content inside the header guard to prevent compile
           failures.
      
         - Fix the bogus __percpu annotation in this_cpu_has() which makes
           sparse very noisy.
      
         - Disable switch jump tables completely when retpolines are enabled.
      
         - Prevent leaking the trampoline address"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/realmode: Make set_real_mode_mem() static inline
        x86/cpufeature: Fix __percpu annotation in this_cpu_has()
        x86/mm: Don't exceed the valid physical address space
        x86/retpolines: Disable switch jump tables when retpolines are enabled
        x86/realmode: Don't leak the trampoline kernel address
        x86/boot: Fix incorrect ifdeffery scope
        x86/resctrl: Remove unused variable
      915ee0da