1. 24 Apr, 2022 1 commit
    • Zhengjun Xing's avatar
      perf stat: Support hybrid --topdown option · d7e3c397
      Zhengjun Xing authored
      Since for cpu_core or cpu_atom, they have different topdown events
      groups.
      
      For cpu_core, --topdown equals to:
      
      "{slots,cpu_core/topdown-retiring/,cpu_core/topdown-bad-spec/,
        cpu_core/topdown-fe-bound/,cpu_core/topdown-be-bound/,
        cpu_core/topdown-heavy-ops/,cpu_core/topdown-br-mispredict/,
        cpu_core/topdown-fetch-lat/,cpu_core/topdown-mem-bound/}"
      
      For cpu_atom, --topdown equals to:
      
      "{cpu_atom/topdown-retiring/,cpu_atom/topdown-bad-spec/,
       cpu_atom/topdown-fe-bound/,cpu_atom/topdown-be-bound/}"
      
      To simplify the implementation, on hybrid, --topdown is used
      together with --cputype. If without --cputype, it uses cpu_core
      topdown events by default.
      
        # ./perf stat --topdown -a  sleep 1
        WARNING: default to use cpu_core topdown events
      
         Performance counter stats for 'system wide':
      
                    retiring      bad speculation       frontend bound        backend bound     heavy operations     light operations    branch mispredict       machine clears        fetch latency      fetch bandwidth         memory bound           Core bound
                        4.1%                 0.0%                 5.1%                90.8%                 2.3%                 1.8%                 0.0%                 0.0%                 4.2%                 0.9%                 9.9%                81.0%
      
               1.002624229 seconds time elapsed
      
        # ./perf stat --topdown -a --cputype atom  sleep 1
      
         Performance counter stats for 'system wide':
      
                    retiring      bad speculation       frontend bound        backend bound
                       13.5%                 0.1%                31.2%                55.2%
      
               1.002366987 seconds time elapsed
      Reviewed-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Signed-off-by: default avatarXing Zhengjun <zhengjun.xing@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@intel.com>
      Cc: Andi Kleen <ak@linux.intel.com>
      Cc: Ian Rogers <irogers@google.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Link: https://lore.kernel.org/r/20220422065635.767648-3-zhengjun.xing@linux.intel.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      d7e3c397
  2. 22 Apr, 2022 4 commits
    • Zhengjun Xing's avatar
      perf stat: Merge event counts from all hybrid PMUs · 2c8e6451
      Zhengjun Xing authored
      For hybrid events, by default stat aggregates and reports the event counts
      per pmu.
      
        # ./perf stat -e cycles -a  sleep 1
      
         Performance counter stats for 'system wide':
      
            14,066,877,268      cpu_core/cycles/
             6,814,443,147      cpu_atom/cycles/
      
               1.002760625 seconds time elapsed
      
      Sometimes, it's also useful to aggregate event counts from all PMUs.
      Create a new option '--hybrid-merge' to enable that behavior and report
      the counts without PMUs.
      
        # ./perf stat -e cycles -a --hybrid-merge  sleep 1
      
         Performance counter stats for 'system wide':
      
            20,732,982,512      cycles
      
               1.002776793 seconds time elapsed
      Reviewed-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Signed-off-by: default avatarXing Zhengjun <zhengjun.xing@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@intel.com>
      Cc: Andi Kleen <ak@linux.intel.com>
      Cc: Ian Rogers <irogers@google.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Link: https://lore.kernel.org/r/20220422065635.767648-2-zhengjun.xing@linux.intel.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      2c8e6451
    • Zhengjun Xing's avatar
      perf stat: Support metrics with hybrid events · 60344f1a
      Zhengjun Xing authored
      One metric such as 'Kernel_Utilization' may be from different PMUs and
      consists of different events.
      
      For core,
      Kernel_Utilization = cpu_clk_unhalted.thread:k / cpu_clk_unhalted.thread
      
      For atom,
      Kernel_Utilization = cpu_clk_unhalted.core:k / cpu_clk_unhalted.core
      
      The metric group string for core is:
      '{cpu_clk_unhalted.thread/metric-id=cpu_clk_unhalted.thread:k/k,cpu_clk_unhalted.thread/metric-id=cpu_clk_unhalted.thread/}:W'
      It's internally expanded to:
      '{cpu_clk_unhalted.thread_p/metric-id=cpu_clk_unhalted.thread_p:k/k,cpu_clk_unhalted.thread/metric-id=cpu_clk_unhalted.thread/}:W#cpu_core'
      
      The metric group string for atom is:
      '{cpu_clk_unhalted.core/metric-id=cpu_clk_unhalted.core:k/k,cpu_clk_unhalted.core/metric-id=cpu_clk_unhalted.core/}:W'
      It's internally expanded to:
      '{cpu_clk_unhalted.core/metric-id=cpu_clk_unhalted.core:k/k,cpu_clk_unhalted.core/metric-id=cpu_clk_unhalted.core/}:W#cpu_atom'
      
      That means the group "{cpu_clk_unhalted.thread:k,cpu_clk_unhalted.thread}:W"
      is from cpu_core PMU and the group "{cpu_clk_unhalted.core:k,cpu_clk_unhalted.core}"
      is from cpu_atom PMU. And then next, check if the events in the group are
      valid on that PMU. If one event is not valid on that PMU, the associated
      group would be removed internally.
      
      In this example, cpu_clk_unhalted.thread is valid on cpu_core and
      cpu_clk_unhalted.core is valid on cpu_atom. So the checks for these two
      groups are passed.
      
      Before:
      
        # ./perf stat -M Kernel_Utilization -a sleep 1
      WARNING: events in group from different hybrid PMUs!
      WARNING: grouped events cpus do not match, disabling group:
        anon group { CPU_CLK_UNHALTED.THREAD_P:k, CPU_CLK_UNHALTED.THREAD_P:k, CPU_CLK_UNHALTED.THREAD, CPU_CLK_UNHALTED.THREAD }
      
       Performance counter stats for 'system wide':
      
              17,639,501      cpu_atom/CPU_CLK_UNHALTED.CORE/ #     1.00 Kernel_Utilization
              17,578,757      cpu_atom/CPU_CLK_UNHALTED.CORE:k/
           1,005,350,226 ns   duration_time
              43,012,352      cpu_core/CPU_CLK_UNHALTED.THREAD_P:k/ #     0.99 Kernel_Utilization
              17,608,010      cpu_atom/CPU_CLK_UNHALTED.THREAD_P:k/
              43,608,755      cpu_core/CPU_CLK_UNHALTED.THREAD/
              17,630,838      cpu_atom/CPU_CLK_UNHALTED.THREAD/
           1,005,350,226 ns   duration_time
      
             1.005350226 seconds time elapsed
      
      After:
      
        # ./perf stat -M Kernel_Utilization -a sleep 1
      
       Performance counter stats for 'system wide':
      
              17,981,895      CPU_CLK_UNHALTED.CORE [cpu_atom] #     1.00 Kernel_Utilization
              17,925,405      CPU_CLK_UNHALTED.CORE:k [cpu_atom]
           1,004,811,366 ns   duration_time
              41,246,425      CPU_CLK_UNHALTED.THREAD_P:k [cpu_core] #     0.99 Kernel_Utilization
              41,819,129      CPU_CLK_UNHALTED.THREAD [cpu_core]
           1,004,811,366 ns   duration_time
      
             1.004811366 seconds time elapsed
      Reviewed-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Signed-off-by: default avatarXing Zhengjun <zhengjun.xing@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@intel.com>
      Cc: Andi Kleen <ak@linux.intel.com>
      Cc: Ian Rogers <irogers@google.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Link: https://lore.kernel.org/r/20220422065635.767648-1-zhengjun.xing@linux.intel.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      60344f1a
    • Zhengjun Xing's avatar
      perf vendor events intel: Add metrics for Alderlake · 17408e59
      Zhengjun Xing authored
      Add JSON metrics for Alderlake to perf.
      
      It included both P-core and E-core metrics.
      
      P-core metrics based on TMA 4.3-full (TMA_Metrics-full.csv)
      E-core metrics based on E-core TMA 2.0 (E-core_TMA_Metrics.xlsx)
      
      They are all downloaded from:
        https://download.01.org/perfmon/Signed-off-by: default avatarZhengjun Xing <zhengjun.xing@linux.intel.com>
      Reviewed-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Link: https://lore.kernel.org/r/20220422065336.767582-1-zhengjun.xing@linux.intel.com
      Cc: irogers@google.com
      Cc: peterz@infradead.org
      Cc: adrian.hunter@intel.com
      Cc: alexander.shishkin@intel.com
      Cc: acme@kernel.org
      Cc: ak@linux.intel.com
      Cc: jolsa@redhat.com
      Cc: mingo@redhat.com
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-perf-users@vger.kernel.org
      17408e59
    • Jiri Olsa's avatar
      perf tools: Move libbpf init in libbpf_init function · 3a7ab605
      Jiri Olsa authored
      Move the libbpf init code into a single function, so that we have a single
      place doing that.
      Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Alexei Starovoitov <ast@kernel.org>
      Cc: Andrii Nakryiko <andrii@kernel.org>
      Cc: Daniel Borkmann <daniel@iogearbox.net>
      Cc: Ian Rogers <irogers@google.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: John Fastabend <john.fastabend@gmail.com>
      Cc: Martin KaFai Lau <kafai@fb.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Song Liu <songliubraving@fb.com>
      Cc: Yonghong Song <yhs@fb.com>
      Cc: bpf@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Link: https://lore.kernel.org/r/20220422100025.1469207-4-jolsa@kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      3a7ab605
  3. 20 Apr, 2022 5 commits
  4. 18 Apr, 2022 15 commits
  5. 14 Apr, 2022 2 commits
  6. 11 Apr, 2022 4 commits
    • Carsten Haitzler's avatar
      perf test: Shell - Limit to only run executable scripts in tests · 41204da4
      Carsten Haitzler authored
      'perf test''s shell runner will just run everything in the tests
      directory (as long as it's not another directory or does not begin
      with a dot), but sometimes you find files in there that are not shell
      scripts - perf.data output for example if you do some testing and then
      the next time you run perf test it tries to run these.
      
      Check the files are executable so they are actually intended to be test
      scripts and not just some "random junk" files there.
      Signed-off-by: default avatarCarsten Haitzler <carsten.haitzler@arm.com>
      Reviewed-by: default avatarLeo Yan <leo.yan@linaro.org>
      Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
      Cc: Mike Leach <mike.leach@linaro.org>
      Cc: Suzuki Poulouse <suzuki.poulose@arm.com>
      Cc: coresight@lists.linaro.org
      Link: http://lore.kernel.org/lkml/20220309122859.31487-1-carsten.haitzler@foss.arm.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      41204da4
    • Eelco Chaudron's avatar
      perf scripting python: Expose symbol offset and source information · ae24e9b5
      Eelco Chaudron authored
      This change adds the symbol offset to the data exported for each
      call-chain entry. This can not be calculated from the script and
      only the ip value, and no related mmap information.
      
      In addition, also export the source file and line information, if
      available, to avoid an external lookup if this information is needed.
      Signed-off-by: default avatarEelco Chaudron <echaudro@redhat.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Link: https://lore.kernel.org/r/164554263724.752731.14651017093796049736.stgit@wsfd-netdev64.ntdv.lab.eng.bos.redhat.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      ae24e9b5
    • Eric Lin's avatar
      perf jitdump: Add riscv64 support · 335f70fa
      Eric Lin authored
      This patch enables perf jitdump for riscv64 and was tested with V8 on
      qemu rv64.
      
      Qemu rv64:
      
        $ perf record -e cpu-clock -c 1000 -g -k mono ./d8_rv64 --perf-prof --no-write-protect-code-memory test.js
        $ perf inject -j -i perf.data -o perf.data.jitted
        $ perf report -i perf.data.jitted
      
      Output:
      
        To display the perf.data header info, please use --header/--header-only options.
      
        Total Lost Samples: 0
      
        Samples: 87K of event 'cpu-clock'
        Event count (approx.): 87974000
      
        Children  Self   Command   Shared Object      Symbol
      
        ....
         0.28%    0.06%  d8_rv64   d8_rv64            [.] _ZN2v88internal6WasmJs7InstallEPNS0_7IsolateEb
         0.28%    0.00%  d8_rv64   d8_rv64            [.] _ZN2v88internal10ParserBaseINS0_6ParserEE22ParseLogicalExpressionEv
         0.28%    0.03%  d8_rv64   jitted-112-76.so   [.] Builtin:InterpreterEntryTrampoline
         0.12%    0.00%  d8_rv64   d8_rv64            [.] _ZN2v88internal19ContextDeserializer11DeserializeEPNS0_7IsolateENS0_6HandleINS0_13JSGlobalProxyEEENS_33DeserializeInternalFieldsCallbackE
         0.12%    0.01%  d8_rv64   jitted-112-651.so  [.] Builtin:CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit
        ....
      Signed-off-by: default avatarEric Lin <eric.lin@sifive.com>
      Cc: Albert Ou <aou@eecs.berkeley.edu>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Ilya Leoshkevich <iii@linux.ibm.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Palmer Dabbelt <palmer@dabbelt.com>
      Cc: Paul Walmsley <paul.walmsley@sifive.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: greentime.hu@sifive.com
      Cc: linux-riscv@lists.infradead.org
      Link: http://lore.kernel.org/lkml/20220406142606.18464-2-eric.lin@sifive.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      335f70fa
    • Linus Torvalds's avatar
      Linux 5.18-rc2 · ce522ba9
      Linus Torvalds authored
      ce522ba9
  7. 10 Apr, 2022 9 commits
    • Linus Torvalds's avatar
      Merge tag 'tty-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 8b57b304
      Linus Torvalds authored
      Pull serial driver fix from Greg KH:
       "This is a single serial driver fix for a build issue that showed up
        due to changes that came in through the tty tree in 5.18-rc1 that were
        missed previously. It resolves a build error with the mpc52xx_uart
        driver.
      
        It has been in linux-next this week with no reported problems"
      
      * tag 'tty-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        tty: serial: mpc52xx_uart: make rx/tx hooks return unsigned, part II.
      8b57b304
    • Linus Torvalds's avatar
      Merge tag 'staging-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 95aa17c3
      Linus Torvalds authored
      Pull staging driver fix from Greg KH:
       "Here is a single staging driver fix for 5.18-rc2 that resolves an
        endian issue for the r8188eu driver. It has been in linux-next all
        this week with no reported problems"
      
      * tag 'staging-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        staging: r8188eu: Fix PPPoE tag insertion on little endian systems
      95aa17c3
    • Linus Torvalds's avatar
      Merge tag 'driver-core-5.18-rc2' of... · 33563138
      Linus Torvalds authored
      Merge tag 'driver-core-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
      
      Pull driver core updates from Greg KH:
       "Here are two small driver core changes for 5.18-rc2.
      
        They are the final bits in the removal of the default_attrs field in
        struct kobj_type. I had to wait until after 5.18-rc1 for all of the
        changes to do this came in through different development trees, and
        then one new user snuck in. So this series has two changes:
      
         - removal of the default_attrs field in the powerpc/pseries/vas code.
      
           The change has been acked by the PPC maintainers to come through
           this tree
      
         - removal of default_attrs from struct kobj_type now that all
           in-kernel users are removed.
      
           This cleans up the kobject code a little bit and removes some
           duplicated functionality that confused people (now there is only
           one way to do default groups)
      
        Both of these have been in linux-next for all of this week with no
        reported problems"
      
      * tag 'driver-core-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        kobject: kobj_type: remove default_attrs
        powerpc/pseries/vas: use default_groups in kobj_type
      33563138
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · f58d3410
      Linus Torvalds authored
      Pull char/misc driver fix from Greg KH:
       "A single driver fix. It resolves the build warning issue on 32bit
        systems in the habannalabs driver that came in during the 5.18-rc1
        merge cycle.
      
        It has been in linux-next for all this week with no reported problems"
      
      * tag 'char-misc-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        habanalabs: Fix test build failures
      f58d3410
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 4ea3c642
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix KVM "lost kick" race, where an attempt to pull a vcpu out of the
         guest could be lost (or delayed until the next guest exit).
      
       - Disable SCV (system call vectored) when PR KVM guests could be run.
      
       - Fix KVM PR guests using SCV, by disallowing AIL != 0 for KVM PR
         guests.
      
       - Add a new KVM CAP to indicate if AIL == 3 is supported.
      
       - Fix a regression when hotplugging a CPU to a memoryless/cpuless node.
      
       - Make virt_addr_valid() stricter for 64-bit Book3E & 32-bit, which
         fixes crashes seen due to hardened usercopy.
      
       - Revert a change to max_mapnr which broke HIGHMEM.
      
      Thanks to Christophe Leroy, Fabiano Rosas, Kefeng Wang, Nicholas Piggin,
      and Srikar Dronamraju.
      
      * tag 'powerpc-5.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        Revert "powerpc: Set max_mapnr correctly"
        powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
        KVM: PPC: Move kvmhv_on_pseries() into kvm_ppc.h
        powerpc/numa: Handle partially initialized numa nodes
        powerpc/64: Fix build failure with allyesconfig in book3s_64_entry.S
        KVM: PPC: Use KVM_CAP_PPC_AIL_MODE_3
        KVM: PPC: Book3S PR: Disallow AIL != 0
        KVM: PPC: Book3S PR: Disable SCV when AIL could be disabled
        KVM: PPC: Book3S HV P9: Fix "lost kick" race
      4ea3c642
    • Linus Torvalds's avatar
      Merge tag 'irq-urgent-2022-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 1519610b
      Linus Torvalds authored
      Pull irq fixes from Thomas Gleixner:
       "A set of interrupt chip driver fixes:
      
         - A fix for a long standing bug in the ARM GICv3 redistributor
           polling which uses the wrong bit number to test.
      
         - Prevent translation of bogus ACPI table entries which map device
           interrupts into the IPI space on ARM GICs.
      
         - Don't write into the pending register of ARM GICV4 before the scan
           in hardware has completed.
      
         - A set of build and correctness fixes for the Qualcomm MPM driver"
      
      * tag 'irq-urgent-2022-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        irqchip/gic, gic-v3: Prevent GSI to SGI translations
        irqchip/gic-v3: Fix GICR_CTLR.RWP polling
        irqchip/gic-v4: Wait for GICR_VPENDBASER.Dirty to clear before descheduling
        irqchip/irq-qcom-mpm: fix return value check in qcom_mpm_init()
        irq/qcom-mpm: Fix build error without MAILBOX
      1519610b
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v5.18_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9c6913b7
      Linus Torvalds authored
      Pull x86 fixes from Borislav Petkov:
      
       - Fix the MSI message data struct definition
      
       - Use local labels in the exception table macros to avoid symbol
         conflicts with clang LTO builds
      
       - A couple of fixes to objtool checking of the relatively newly added
         SLS and IBT code
      
       - Rename a local var in the WARN* macro machinery to prevent shadowing
      
      * tag 'x86_urgent_for_v5.18_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/msi: Fix msi message data shadow struct
        x86/extable: Prefer local labels in .set directives
        x86,bpf: Avoid IBT objtool warning
        objtool: Fix SLS validation for kcov tail-call replacement
        objtool: Fix IBT tail-call detection
        x86/bug: Prevent shadowing in __WARN_FLAGS
        x86/mm/tlb: Revert retpoline avoidance approach
      9c6913b7
    • Linus Torvalds's avatar
      Merge tag 'perf_urgent_for_v5.18_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · b51f86e9
      Linus Torvalds authored
      Pull perf fixes from Borislav Petkov:
      
       - A couple of fixes to cgroup-related handling of perf events
      
       - A couple of fixes to event encoding on Sapphire Rapids
      
       - Pass event caps of inherited events so that perf doesn't fail wrongly
         at fork()
      
       - Add support for a new Raptor Lake CPU
      
      * tag 'perf_urgent_for_v5.18_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/core: Always set cpuctx cgrp when enable cgroup event
        perf/core: Fix perf_cgroup_switch()
        perf/core: Use perf_cgroup_info->active to check if cgroup is active
        perf/core: Don't pass task around when ctx sched in
        perf/x86/intel: Update the FRONTEND MSR mask on Sapphire Rapids
        perf/x86/intel: Don't extend the pseudo-encoding to GP counters
        perf/core: Inherit event_caps
        perf/x86/uncore: Add Raptor Lake uncore support
        perf/x86/msr: Add Raptor Lake CPU support
        perf/x86/cstate: Add Raptor Lake support
        perf/x86: Add Intel Raptor Lake support
      b51f86e9
    • Linus Torvalds's avatar
      Merge tag 'locking_urgent_for_v5.18_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 50c94de6
      Linus Torvalds authored
      Pull locking fixes from Borislav Petkov:
      
       - Allow the compiler to optimize away unused percpu accesses and change
         the local_lock_* macros back to inline functions
      
       - A couple of fixes to static call insn patching
      
      * tag 'locking_urgent_for_v5.18_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        Revert "mm/page_alloc: mark pagesets as __maybe_unused"
        Revert "locking/local_lock: Make the empty local_lock_*() function a macro."
        x86/percpu: Remove volatile from arch_raw_cpu_ptr().
        static_call: Remove __DEFINE_STATIC_CALL macro
        static_call: Properly initialise DEFINE_STATIC_CALL_RET0()
        static_call: Don't make __static_call_return0 static
        x86,static_call: Fix __static_call_return0 for i386
      50c94de6