1. 06 Jun, 2023 1 commit
  2. 02 Jun, 2023 2 commits
  3. 01 Jun, 2023 4 commits
  4. 31 May, 2023 2 commits
  5. 30 May, 2023 18 commits
  6. 26 May, 2023 1 commit
  7. 25 May, 2023 1 commit
  8. 24 May, 2023 1 commit
  9. 23 May, 2023 5 commits
  10. 22 May, 2023 1 commit
  11. 21 May, 2023 4 commits
    • Linus Torvalds's avatar
      Linux 6.4-rc3 · 44c026a7
      Linus Torvalds authored
      44c026a7
    • Linus Torvalds's avatar
      Merge tag 'uml-for-linus-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux · fa4fe8ce
      Linus Torvalds authored
      Pull UML fix from Richard Weinberger:
      
       - Fix modular build for UML watchdog
      
      * tag 'uml-for-linus-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux:
        um: harddog: fix modular build
      fa4fe8ce
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · a35747c3
      Linus Torvalds authored
      Pull kvm fixes from Paolo Bonzini:
       "ARM:
      
         - Plug a race in the stage-2 mapping code where the IPA and the PA
           would end up being out of sync
      
         - Make better use of the bitmap API (bitmap_zero, bitmap_zalloc...)
      
         - FP/SVE/SME documentation update, in the hope that this field
           becomes clearer...
      
         - Add workaround for Apple SEIS brokenness to a new SoC
      
         - Random comment fixes
      
        x86:
      
         - add MSR_IA32_TSX_CTRL into msrs_to_save
      
         - fixes for XCR0 handling in SGX enclaves
      
        Generic:
      
         - Fix vcpu_array[0] races
      
         - Fix race between starting a VM and 'reboot -f'"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save
        KVM: x86: Don't adjust guest's CPUID.0x12.1 (allowed SGX enclave XFRM)
        KVM: VMX: Don't rely _only_ on CPUID to enforce XCR0 restrictions for ECREATE
        KVM: Fix vcpu_array[0] races
        KVM: VMX: Fix header file dependency of asm/vmx.h
        KVM: Don't enable hardware after a restart/shutdown is initiated
        KVM: Use syscore_ops instead of reboot_notifier to hook restart/shutdown
        KVM: arm64: vgic: Add Apple M2 PRO/MAX cpus to the list of broken SEIS implementations
        KVM: arm64: Clarify host SME state management
        KVM: arm64: Restructure check for SVE support in FP trap handler
        KVM: arm64: Document check for TIF_FOREIGN_FPSTATE
        KVM: arm64: Fix repeated words in comments
        KVM: arm64: Constify start/end/phys fields of the pgtable walker data
        KVM: arm64: Infer PA offset from VA in hyp map walker
        KVM: arm64: Infer the PA offset from IPA in stage-2 map walker
        KVM: arm64: Use the bitmap API to allocate bitmaps
        KVM: arm64: Slightly optimize flush_context()
      a35747c3
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-fixes-for-v6.4-1-2023-05-20' of... · c47d122c
      Linus Torvalds authored
      Merge tag 'perf-tools-fixes-for-v6.4-1-2023-05-20' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull perf tools fixes from Arnaldo Carvalho de Melo:
      
       - Fail graciously if BUILD_BPF_SKEL=1 is specified and clang isn't
         available
      
       - Add empty 'struct rq' to 'perf lock contention' to satisfy libbpf
         'runqueue' type verification. This feature is built only with
         BUILD_BPF_SKEL=1
      
       - Make vmlinux.h use bpf.h and perf_event.h in source directory, not
         system ones that may be old and not have things like 'union
         perf_sample_weight'
      
       - Add system include paths to BPF builds to pick things missing in the
         headers included by clang -target bpf
      
       - Update various header copies with the kernel sources
      
       - Change divide by zero and not supported events behavior to show
         'nan'/'not counted' in 'perf stat' output.
      
         This happens when using things like 'perf stat -M TopdownL2 true',
         involving JSON metrics
      
       - Update no event/metric expectations affected by using JSON metrics in
         'perf stat -ddd' perf test
      
       - Avoid segv with 'perf stat --topdown' for metrics without a group
      
       - Do not assume which events may have a PMU name, allowing the logic to
         keep an AUX event group together. Makes this usecase work again:
      
           $ perf record --no-bpf-event -c 10 -e '{intel_pt//,tlb_flush.stlb_any/aux-sample-size=8192/pp}:u' -- sleep 0.1
           [ perf record: Woken up 1 times to write data ]
           [ perf record: Captured and wrote 0.078 MB perf.data ]
           $ perf script -F-dso,+addr | grep -C5 tlb_flush.stlb_any | head -11
           sleep 20444 [003]  7939.510243:  1  branches:uH:  7f5350cc82a2 dl_main+0x9a2 => 7f5350cb38f0 _dl_add_to_namespace_list+0x0
           sleep 20444 [003]  7939.510243:  1  branches:uH:  7f5350cb3908 _dl_add_to_namespace_list+0x18 => 7f5350cbb080 rtld_mutex_dummy+0x0
           sleep 20444 [003]  7939.510243:  1  branches:uH:  7f5350cc8350 dl_main+0xa50 => 0 [unknown]
           sleep 20444 [003]  7939.510244:  1  branches:uH:  7f5350cc83ca dl_main+0xaca => 7f5350caeb60 _dl_process_pt_gnu_property+0x0
           sleep 20444 [003]  7939.510245:  1  branches:uH:  7f5350caeb60 _dl_process_pt_gnu_property+0x0 => 0 [unknown]
           sleep 20444  7939.510245:       10 tlb_flush.stlb_any/aux-sample-size=8192/pp: 0 7f5350caeb60 _dl_process_pt_gnu_property+0x0
           sleep 20444 [003]  7939.510254:  1  branches:uH:  7f5350cc87fe dl_main+0xefe => 7f5350ccd240 strcmp+0x0
           sleep 20444 [003]  7939.510254:  1  branches:uH:  7f5350cc8862 dl_main+0xf62 => 0 [unknown]
      
       - Add a check for the above use case in 'perf test test_intel_pt'
      
       - Fix build with refcount checking on arm64, it was still accessing
         fields that need to be wrapped so that the refcounted struct gets
         checked
      
       - Fix contextid validation in ARM's CS-ETM, so that older kernels
         without that field can still be supported
      
       - Skip unsupported aggregation for stat events found in perf.data files
         in 'perf script'
      
       - Add stat test for record and script to check the previous problem
      
       - Remove needless debuginfod queries from 'perf test java symbol', this
         was just making the test take a long time to complete
      
       - Address python SafeConfigParser() deprecation warning in 'perf test
         attr'
      
       - Fix __NR_execve undeclared on i386 'perf bench syscall' build error
      
      * tag 'perf-tools-fixes-for-v6.4-1-2023-05-20' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: (33 commits)
        perf bench syscall: Fix __NR_execve undeclared build error
        perf test attr: Fix python SafeConfigParser() deprecation warning
        perf test attr: Update no event/metric expectations
        tools headers disabled-features: Sync with the kernel sources
        tools headers UAPI: Sync arch prctl headers with the kernel sources
        tools headers: Update the copy of x86's mem{cpy,set}_64.S used in 'perf bench'
        tools headers x86 cpufeatures: Sync with the kernel sources
        tools headers UAPI: Sync s390 syscall table file that wires up the memfd_secret syscall
        tools headers UAPI: Sync linux/prctl.h with the kernel sources
        perf metrics: Avoid segv with --topdown for metrics without a group
        perf lock contention: Add empty 'struct rq' to satisfy libbpf 'runqueue' type verification
        perf cs-etm: Fix contextid validation
        perf arm64: Fix build with refcount checking
        perf test: Add stat test for record and script
        perf script: Skip aggregation for stat events
        perf build: Add system include paths to BPF builds
        perf bpf skels: Make vmlinux.h use bpf.h and perf_event.h in source directory
        perf parse-events: Do not break up AUX event group
        perf test test_intel_pt.sh: Test sample mode with event with PMU name
        perf evsel: Modify group pmu name for software events
        ...
      c47d122c