1. 22 Dec, 2022 12 commits
    • Linus Torvalds's avatar
      Merge tag 'afs-next-20221222' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs · ff75ec43
      Linus Torvalds authored
      Pull afs update from David Howells:
       "A fix for a couple of missing resource counter decrements, two small
        cleanups of now-unused bits of code and a patch to remove writepage
        support from afs"
      
      * tag 'afs-next-20221222' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
        afs: Stop implementing ->writepage()
        afs: remove afs_cache_netfs and afs_zap_permits() declarations
        afs: remove variable nr_servers
        afs: Fix lost servers_outstanding count
      ff75ec43
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-for-v6.2-2-2022-12-22' of... · d1ac1a2b
      Linus Torvalds authored
      Merge tag 'perf-tools-for-v6.2-2-2022-12-22' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull more perf tools updates from Arnaldo Carvalho de Melo:
       "perf tools fixes and improvements:
      
         - Don't stop building perf if python setuptools isn't installed, just
           disable the affected perf feature.
      
         - Remove explicit reference to python 2.x devel files, that warning
           is about python-devel, no matter what version, being unavailable
           and thus disabling the linking with libpython.
      
         - Don't use -Werror=switch-enum when building the python support that
           handles libtraceevent enumerations, as there is no good way to test
           if some specific enum entry is available with the libtraceevent
           installed on the system.
      
         - Introduce 'perf lock contention' --type-filter and --lock-filter,
           to filter by lock type and lock name:
      
              $ sudo ./perf lock record -a -- ./perf bench sched messaging
      
              $ sudo ./perf lock contention -E 5 -Y spinlock
               contended  total wait   max wait  avg wait      type  caller
      
                     802     1.26 ms   11.73 us   1.58 us  spinlock  __wake_up_common_lock+0x62
                      13   787.16 us  105.44 us  60.55 us  spinlock  remove_wait_queue+0x14
                      12   612.96 us   78.70 us  51.08 us  spinlock  prepare_to_wait+0x27
                     114   340.68 us   12.61 us   2.99 us  spinlock  try_to_wake_up+0x1f5
                      83   226.38 us    9.15 us   2.73 us  spinlock  folio_lruvec_lock_irqsave+0x5e
      
              $ sudo ./perf lock contention -l
               contended  total wait  max wait  avg wait           address  symbol
      
                      57     1.11 ms  42.83 us  19.54 us  ffff9f4140059000
                      15   280.88 us  23.51 us  18.73 us  ffffffff9d007a40  jiffies_lock
                       1    20.49 us  20.49 us  20.49 us  ffffffff9d0d50c0  rcu_state
                       1     9.02 us   9.02 us   9.02 us  ffff9f41759e9ba0
      
              $ sudo ./perf lock contention -L jiffies_lock,rcu_state
               contended  total wait  max wait  avg wait      type  caller
      
                      15   280.88 us  23.51 us  18.73 us  spinlock  tick_sched_do_timer+0x93
                       1    20.49 us  20.49 us  20.49 us  spinlock  __softirqentry_text_start+0xeb
      
              $ sudo ./perf lock contention -L ffff9f4140059000
               contended  total wait  max wait  avg wait      type  caller
      
                      38   779.40 us  42.83 us  20.51 us  spinlock  worker_thread+0x50
                      11   216.30 us  39.87 us  19.66 us  spinlock  queue_work_on+0x39
                       8   118.13 us  20.51 us  14.77 us  spinlock  kthread+0xe5
      
         - Fix splitting CC into compiler and options when checking if a
           option is present in clang to build the python binding, needed in
           systems such as yocto that set CC to, e.g.: "gcc --sysroot=/a/b/c".
      
         - Refresh metris and events for Intel systems: alderlake.
           alderlake-n, bonnell, broadwell, broadwellde, broadwellx,
           cascadelakex, elkhartlake, goldmont, goldmontplus, haswell,
           haswellx, icelake, icelakex, ivybridge, ivytown, jaketown,
           knightslanding, meteorlake, nehalemep, nehalemex, sandybridge,
           sapphirerapids, silvermont, skylake, skylakex, snowridgex,
           tigerlake, westmereep-dp, westmereep-sp, westmereex.
      
         - Add vendor events files (JSON) for AMD Zen 4, from sections
           2.1.15.4 "Core Performance Monitor Counters", 2.1.15.5 "L3 Cache
           Performance Monitor Counter"s and Section 7.1 "Fabric Performance
           Monitor Counter (PMC) Events" in the Processor Programming
           Reference (PPR) for AMD Family 19h Model 11h Revision B1
           processors.
      
           This constitutes events which capture op dispatch, execution and
           retirement, branch prediction, L1 and L2 cache activity, TLB
           activity, L3 cache activity and data bandwidth for various links
           and interfaces in the Data Fabric.
      
         - Also, from the same PPR are metrics taken from Section 2.1.15.2
           "Performance Measurement", including pipeline utilization, which
           are new to Zen 4 processors and useful for finding performance
           bottlenecks by analyzing activity at different stages of the
           pipeline.
      
         - Greatly improve the 'srcline', 'srcline_from', 'srcline_to' and
           'srcfile' sort keys performance by postponing calling the external
           addr2line utility to the collapse phase of histogram bucketing.
      
         - Fix 'perf test' "all PMU test" to skip parametrized events, that
           requires setting up and are not supported by this test.
      
         - Update tools/ copies of kernel headers: features,
           disabled-features, fscrypt.h, i915_drm.h, msr-index.h, power pc
           syscall table and kvm.h.
      
         - Add .DELETE_ON_ERROR special Makefile target to clean up partially
           updated files on error.
      
         - Simplify the mksyscalltbl script for arm64 by avoiding to run the
           host compiler to create the syscall table, do it all just with the
           shell script.
      
         - Further fixes to honour quiet mode (-q)"
      
      * tag 'perf-tools-for-v6.2-2-2022-12-22' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: (67 commits)
        perf python: Fix splitting CC into compiler and options
        perf scripting python: Don't be strict at handling libtraceevent enumerations
        perf arm64: Simplify mksyscalltbl
        perf build: Remove explicit reference to python 2.x devel files
        perf vendor events amd: Add Zen 4 mapping
        perf vendor events amd: Add Zen 4 metrics
        perf vendor events amd: Add Zen 4 uncore events
        perf vendor events amd: Add Zen 4 core events
        perf vendor events intel: Refresh westmereex events
        perf vendor events intel: Refresh westmereep-sp events
        perf vendor events intel: Refresh westmereep-dp events
        perf vendor events intel: Refresh tigerlake metrics and events
        perf vendor events intel: Refresh snowridgex events
        perf vendor events intel: Refresh skylakex metrics and events
        perf vendor events intel: Refresh skylake metrics and events
        perf vendor events intel: Refresh silvermont events
        perf vendor events intel: Refresh sapphirerapids metrics and events
        perf vendor events intel: Refresh sandybridge metrics and events
        perf vendor events intel: Refresh nehalemex events
        perf vendor events intel: Refresh nehalemep events
        ...
      d1ac1a2b
    • Arnaldo Carvalho de Melo's avatar
      perf python: Fix splitting CC into compiler and options · 09e6f9f9
      Arnaldo Carvalho de Melo authored
      Noticed this build failure on archlinux:base when building with clang:
      
        clang-14: error: optimization flag '-ffat-lto-objects' is not supported [-Werror,-Wignored-optimization-argument]
      
      In tools/perf/util/setup.py we check if clang supports that option, but
      since commit 3cad53a6 ("perf python: Account for multiple words
      in CC") this got broken as in the common case where CC="clang":
      
        >>> cc="clang"
        >>> print(cc.split()[0])
        clang
        >>> option="-ffat-lto-objects"
        >>> print(str(cc.split()[1:]) + option)
        []-ffat-lto-objects
        >>>
      
      And then the Popen will call clang with that bogus option name that in
      turn will not produce the b"unknown argument" or b"is not supported"
      that this function uses to detect if the option is not available and
      thus later on clang will be called with an unknown/unsupported option.
      
      Fix it by looking if really there are options in the provided CC
      variable, and if so override 'cc' with the first token and append the
      options to the 'option' variable.
      
      Fixes: 3cad53a6 ("perf python: Account for multiple words in CC")
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Fangrui Song <maskray@google.com>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: Ian Rogers <irogers@google.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Keeping <john@metanate.com>
      Cc: Khem Raj <raj.khem@gmail.com>
      Cc: Leo Yan <leo.yan@linaro.org>
      Cc: Michael Petlan <mpetlan@redhat.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Nathan Chancellor <nathan@kernel.org>
      Cc: Nick Desaulniers <ndesaulniers@google.com>
      Cc: Sedat Dilek <sedat.dilek@gmail.com>
      Link: http://lore.kernel.org/lkml/Y6Rq5F5NI0v1QQHM@kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      09e6f9f9
    • David Howells's avatar
      afs: Stop implementing ->writepage() · a9eb558a
      David Howells authored
      We're trying to get rid of the ->writepage() hook[1].  Stop afs from using
      it by unlocking the page and calling afs_writepages_region() rather than
      folio_write_one().
      
      A flag is passed to afs_writepages_region() to indicate that it should only
      write a single region so that we don't flush the entire file in
      ->write_begin(), but do add other dirty data to the region being written to
      try and reduce the number of RPC ops.
      
      This requires ->migrate_folio() to be implemented, so point that at
      filemap_migrate_folio() for files and also for symlinks and directories.
      
      This can be tested by turning on the afs_folio_dirty tracepoint and then
      doing something like:
      
         xfs_io -c "w 2223 7000" -c "w 15000 22222" -c "w 23 7" /afs/my/test/foo
      
      and then looking in the trace to see if the write at position 15000 gets
      stored before page 0 gets dirtied for the write at position 23.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Marc Dionne <marc.dionne@auristor.com>
      cc: Christoph Hellwig <hch@lst.de>
      cc: Matthew Wilcox <willy@infradead.org>
      cc: linux-afs@lists.infradead.org
      Link: https://lore.kernel.org/r/20221113162902.883850-1-hch@lst.de/ [1]
      Link: https://lore.kernel.org/r/166876785552.222254.4403222906022558715.stgit@warthog.procyon.org.uk/ # v1
      a9eb558a
    • Gaosheng Cui's avatar
      afs: remove afs_cache_netfs and afs_zap_permits() declarations · b3d3ca55
      Gaosheng Cui authored
      afs_zap_permits() has been removed since
      commit be080a6f ("afs: Overhaul permit caching").
      
      afs_cache_netfs has been removed since
      commit 523d27cd ("afs: Convert afs to use the new fscache API").
      
      so remove the declare for them from header file.
      Signed-off-by: default avatarGaosheng Cui <cuigaosheng1@huawei.com>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Marc Dionne <marc.dionne@auristor.com>
      cc: linux-afs@lists.infradead.org
      Link: https://lore.kernel.org/r/20220909070353.1160228-1-cuigaosheng1@huawei.com/
      b3d3ca55
    • Colin Ian King's avatar
      afs: remove variable nr_servers · 318b83b7
      Colin Ian King authored
      Variable nr_servers is no longer being used, the last reference
      to it was removed in commit 45df8462 ("afs: Fix server list handling")
      so clean up the code by removing it.
      Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Marc Dionne <marc.dionne@auristor.com>
      cc: linux-afs@lists.infradead.org
      Link: https://lore.kernel.org/r/20221020173923.21342-1-colin.i.king@gmail.com/
      318b83b7
    • David Howells's avatar
      afs: Fix lost servers_outstanding count · 36f82c93
      David Howells authored
      The afs_fs_probe_dispatcher() work function is passed a count on
      net->servers_outstanding when it is scheduled (which may come via its
      timer).  This is passed back to the work_item, passed to the timer or
      dropped at the end of the dispatcher function.
      
      But, at the top of the dispatcher function, there are two checks which
      skip the rest of the function: if the network namespace is being destroyed
      or if there are no fileservers to probe.  These two return paths, however,
      do not drop the count passed to the dispatcher, and so, sometimes, the
      destruction of a network namespace, such as induced by rmmod of the kafs
      module, may get stuck in afs_purge_servers(), waiting for
      net->servers_outstanding to become zero.
      
      Fix this by adding the missing decrements in afs_fs_probe_dispatcher().
      
      Fixes: f6cbb368 ("afs: Actively poll fileservers to maintain NAT or firewall openings")
      Reported-by: default avatarMarc Dionne <marc.dionne@auristor.com>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Tested-by: default avatarMarc Dionne <marc.dionne@auristor.com>
      cc: linux-afs@lists.infradead.org
      Link: https://lore.kernel.org/r/167164544917.2072364.3759519569649459359.stgit@warthog.procyon.org.uk/
      36f82c93
    • Linus Torvalds's avatar
      Merge tag 'trace-v6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · 9d2f6060
      Linus Torvalds authored
      Pull tracing fix from Steven Rostedt:
       "I missed this minor hardening of the kernel in the first pull.
      
         - Make monitor structures read only"
      
      * tag 'trace-v6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        rv/monitors: Move monitor structure in rodata
      9d2f6060
    • Linus Torvalds's avatar
      Merge tag 'trace-probes-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · af9b3fa1
      Linus Torvalds authored
      Pull trace probes updates from Steven Rostedt:
      
       - New "symstr" type for dynamic events that writes the name of the
         function+offset into the ring buffer and not just the address
      
       - Prevent kernel symbol processing on addresses in user space probes
         (uprobes).
      
       - And minor fixes and clean ups
      
      * tag 'trace-probes-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        tracing/probes: Reject symbol/symstr type for uprobe
        tracing/probes: Add symstr type for dynamic events
        kprobes: kretprobe events missing on 2-core KVM guest
        kprobes: Fix check for probe enabled in kill_kprobe()
        test_kprobes: Fix implicit declaration error of test_kprobes
        tracing: Fix race where eprobes can be called before the event
      af9b3fa1
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 7a5189c5
      Linus Torvalds authored
      Pull RISC-V kvm updates from Paolo Bonzini:
      
       - Allow unloading KVM module
      
       - Allow KVM user-space to set mvendorid, marchid, and mimpid
      
       - Several fixes and cleanups
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        RISC-V: KVM: Add ONE_REG interface for mvendorid, marchid, and mimpid
        RISC-V: KVM: Save mvendorid, marchid, and mimpid when creating VCPU
        RISC-V: Export sbi_get_mvendorid() and friends
        RISC-V: KVM: Move sbi related struct and functions to kvm_vcpu_sbi.h
        RISC-V: KVM: Use switch-case in kvm_riscv_vcpu_set/get_reg()
        RISC-V: KVM: Remove redundant includes of asm/csr.h
        RISC-V: KVM: Remove redundant includes of asm/kvm_vcpu_timer.h
        RISC-V: KVM: Fix reg_val check in kvm_riscv_vcpu_set_reg_config()
        RISC-V: KVM: Simplify kvm_arch_prepare_memory_region()
        RISC-V: KVM: Exit run-loop immediately if xfer_to_guest fails
        RISC-V: KVM: use vma_lookup() instead of find_vma_intersection()
        RISC-V: KVM: Add exit logic to main.c
      7a5189c5
    • Linus Torvalds's avatar
      Merge tag 'block-6.2-2022-12-19' of git://git.kernel.dk/linux · 569c3a28
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - Various fixes for BFQ (Yu, Yuwei)
      
       - Fix for loop command line parsing (Isaac)
      
       - No need to specifically clear REQ_ALLOC_CACHE on IOPOLL downgrade
         anymore (me)
      
       - blk-iocost enum fix for newer gcc (Jiri)
      
       - UAF fix for queue release (Ming)
      
       - blk-iolatency error handling memory leak fix (Tejun)
      
      * tag 'block-6.2-2022-12-19' of git://git.kernel.dk/linux:
        block: don't clear REQ_ALLOC_CACHE for non-polled requests
        block: fix use-after-free of q->q_usage_counter
        block, bfq: only do counting of pending-request for BFQ_GROUP_IOSCHED
        blk-iolatency: Fix memory leak on add_disk() failures
        loop: Fix the max_loop commandline argument treatment when it is set to 0
        block/blk-iocost (gcc13): keep large values in a new enum
        block, bfq: replace 0/1 with false/true in bic apis
        block, bfq: don't return bfqg from __bfq_bic_change_cgroup()
        block, bfq: fix possible uaf for 'bfqq->bic'
      569c3a28
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.2-2022-12-19' of git://git.kernel.dk/linux · 5d4740fc
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
      
       - Improve the locking for timeouts. This was originally queued up for
         the initial pull, but I messed up and it got missed. (Pavel)
      
       - Fix an issue with running task_work from the wait path, causing some
         inefficiencies (me)
      
       - Add a clear of ->free_iov upfront in the 32-bit compat data
         importing, so we ensure that it's always sane at completion time (me)
      
       - Use call_rcu_hurry() for the eventfd signaling (Dylan)
      
       - Ordering fix for multishot recv completions (Pavel)
      
       - Add the io_uring trace header to the MAINTAINERS entry (Ammar)
      
      * tag 'io_uring-6.2-2022-12-19' of git://git.kernel.dk/linux:
        MAINTAINERS: io_uring: Add include/trace/events/io_uring.h
        io_uring/net: fix cleanup after recycle
        io_uring/net: ensure compat import handlers clear free_iov
        io_uring: include task_work run after scheduling in wait for events
        io_uring: don't use TIF_NOTIFY_SIGNAL to test for availability of task_work
        io_uring: use call_rcu_hurry if signaling an eventfd
        io_uring: fix overflow handling regression
        io_uring: ease timeout flush locking requirements
        io_uring: revise completion_lock locking
        io_uring: protect cq_timeouts with timeout_lock
      5d4740fc
  2. 21 Dec, 2022 28 commits
    • Arnaldo Carvalho de Melo's avatar
      perf scripting python: Don't be strict at handling libtraceevent enumerations · f257ba9c
      Arnaldo Carvalho de Melo authored
      The build was failing on archlinux because it has a newer libtraceevent
      that added a new entry to the tep_print_arg_type enum:
      
          19.72 archlinux:base                : FAIL gcc version 12.2.0 (GCC)
          util/scripting-engines/trace-event-python.c: In function ‘define_event_symbols’:
          util/scripting-engines/trace-event-python.c:281:9: error: enumeration value ‘TEP_PRINT_CPUMASK’ not handled in switch [-Werror=switch-enum]
            281 |         switch (args->type) {
                |         ^~~~~~
          cc1: all warnings being treated as errors
      
      Since we build with distros that have different versions of
      libtraceevent and there is no way to easily test if these enum entries
      are available, just disable -Werror=switch-enum for that specific
      object.
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      f257ba9c
    • Hans-Peter Nilsson's avatar
      perf arm64: Simplify mksyscalltbl · 9854e7ad
      Hans-Peter Nilsson authored
      This patch isn't intended to have any effect on the compiled code.  It
      just removes one level of indirection: calling the *host* compiler to
      build and then run a program that just printf:s the numerical entries of
      the syscall-table.  In other words, the generated syscalls.c changes
      from:
      
      	[46] = "ftruncate",
      to:
      	[__NR3264_ftruncate] = "ftruncate",
      
      The latter is as good as the former to the user of perf, and this can be
      done directly by the shell-script.  The syscalls defined as non-literal
      values (like "#define __NR_ftruncate __NR3264_ftruncate") are trivially
      resolved at compile-time without namespace-leaking and/or collision for
      its sole user, perf/util/syscalltbl.c, that just #includes the generated
      file.  A future "-mabi=32" support would probably have to handle this
      differently, but that is a pre-existing problem not affected by this
      simplification.
      
      Calling the *host* compiler only complicates things and accidentally can
      get a completely wrong set of files and syscall numbers, see earlier
      commits.  Note that the script parameter hostcc is now unused.
      
      At the time of this patch, powerpc (the origin, see comments), and also
      e.g. x86 has moved on, from filtering "gcc -dM -E" output to reading
      separate specific text-file, a table of syscall numbers.  IMHO should
      arm64 consider adopting this.
      Signed-off-by: default avatarHans-Peter Nilsson <hp@axis.com>
      
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Reviewed-by: default avatarLeo Yan <leo.yan@linaro.org>
      Tested-by: default avatarLeo Yan <leo.yan@linaro.org>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.garry@huawei.com>
      Cc: Kim Phillips <kim.phillips@arm.com>
      Cc: Leo Yan <leo.yan@linaro.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Will Deacon <will@kernel.org>
      Cc: linux-arm-kernel@lists.infradead.org
      Link: https://lore.kernel.org/r/20201228024159.2BB66203B5@pchp3.se.axis.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      9854e7ad
    • Linus Torvalds's avatar
      Merge tag '6.2-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6 · 0a924817
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "cifs/smb3 client fixes, mostly related to reconnect and/or DFS:
      
         - two important reconnect fixes: cases where status of recently
           connected IPCs and shares were not being updated leaving them in an
           incorrect state
      
         - fix for older Windows servers that would return
           STATUS_OBJECT_NAME_INVALID to query info requests on DFS links in a
           namespace that contained non-ASCII characters, reducing number of
           wasted roundtrips.
      
         - fix for leaked -ENOMEM to userspace when cifs.ko couldn't perform
           I/O due to a disconnected server, expired or deleted session.
      
         - removal of all unneeded DFS related mount option string parsing
           (now using fs_context for automounts)
      
         - improve clarity/readability, moving various DFS related functions
           out of fs/cifs/connect.c (which was getting too big to be readable)
           to new file.
      
         - Fix problem when large number of DFS connections. Allow sharing of
           DFS connections and fix how the referral paths are matched
      
         - Referral caching fix: Instead of looking up ipc connections to
           refresh cached referrals, store direct dfs root server's IPC
           pointer in new sessions so it can simply be accessed to either
           refresh or create a new referral that such connections belong to.
      
         - Fix to allow dfs root server's connections to also failover
      
         - Optimized reconnect of nested DFS links
      
         - Set correct status of IPC connections marked for reconnect"
      
      * tag '6.2-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: update internal module number
        cifs: don't leak -ENOMEM in smb2_open_file()
        cifs: use origin fullpath for automounts
        cifs: set correct status of tcon ipc when reconnecting
        cifs: optimize reconnect of nested links
        cifs: fix source pathname comparison of dfs supers
        cifs: fix confusing debug message
        cifs: don't block in dfs_cache_noreq_update_tgthint()
        cifs: refresh root referrals
        cifs: fix refresh of cached referrals
        cifs: don't refresh cached referrals from unactive mounts
        cifs: share dfs connections and supers
        cifs: split out ses and tcon retrieval from mount_get_conns()
        cifs: set resolved ip in sockaddr
        cifs: remove unused smb3_fs_context::mount_options
        cifs: get rid of mount options string parsing
        cifs: use fs_context for automounts
        cifs: reduce roundtrips on create/qinfo requests
        cifs: set correct ipc status after initial tree connect
        cifs: set correct tcon status after initial tree connect
      0a924817
    • Linus Torvalds's avatar
      Merge tag 'ntfs3_for_6.2' of https://github.com/Paragon-Software-Group/linux-ntfs3 · 6022ec6e
      Linus Torvalds authored
      Pull ntfs3 updates from Konstantin Komarov:
      
       - added mount options 'hidedotfiles', 'nocase' and 'windows_names'
      
       - fixed xfstests (tested on x86_64): generic/083 generic/263
         generic/307 generic/465
      
       - fix some logic errors
      
       - code refactoring and dead code removal
      
      * tag 'ntfs3_for_6.2' of https://github.com/Paragon-Software-Group/linux-ntfs3: (61 commits)
        fs/ntfs3: Make if more readable
        fs/ntfs3: Improve checking of bad clusters
        fs/ntfs3: Fix wrong if in hdr_first_de
        fs/ntfs3: Use ALIGN kernel macro
        fs/ntfs3: Fix incorrect if in ntfs_set_acl_ex
        fs/ntfs3: Check fields while reading
        fs/ntfs3: Correct ntfs_check_for_free_space
        fs/ntfs3: Restore correct state after ENOSPC in attr_data_get_block
        fs/ntfs3: Changing locking in ntfs_rename
        fs/ntfs3: Fixing wrong logic in attr_set_size and ntfs_fallocate
        fs/ntfs3: atomic_open implementation
        fs/ntfs3: Fix wrong indentations
        fs/ntfs3: Change new sparse cluster processing
        fs/ntfs3: Fixing work with sparse clusters
        fs/ntfs3: Simplify ntfs_update_mftmirr function
        fs/ntfs3: Remove unused functions
        fs/ntfs3: Fix sparse problems
        fs/ntfs3: Add ntfs_bitmap_weight_le function and refactoring
        fs/ntfs3: Use _le variants of bitops functions
        fs/ntfs3: Add functions to modify LE bitmaps
        ...
      6022ec6e
    • Linus Torvalds's avatar
      Merge tag 'fs.mount.propagation.fix.v6.2-rc1' of... · 04065c12
      Linus Torvalds authored
      Merge tag 'fs.mount.propagation.fix.v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping
      
      Pull mount propagation fix from Christian Brauner:
       "The propagate_mnt() function handles mount propagation when creating
        mounts and propagates the source mount tree @source_mnt to all
        applicable nodes of the destination propagation mount tree headed by
        @dest_mnt.
      
        Unfortunately it contains a bug where it fails to terminate at peers
        of @source_mnt when looking up copies of the source mount that become
        masters for copies of the source mount tree mounted on top of slaves
        in the destination propagation tree causing a NULL dereference.
      
        This fixes that bug (with a long commit message for a seven character
        fix but hopefully it'll help us fix issues faster in the future rather
        than having to go through the pain of having to relearn everything
        once more)"
      
      * tag 'fs.mount.propagation.fix.v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping:
        pnode: terminate at peers of source
      04065c12
    • Arnaldo Carvalho de Melo's avatar
      perf build: Remove explicit reference to python 2.x devel files · c3c2e8eb
      Arnaldo Carvalho de Melo authored
      If the libpython feature test (tools/build/feature/test-libpython.c)
      fails, then the python-devel is missing, it doesn't mattere if it is for
      python2 or 3, remove that explicit 2.x reference.
      Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      c3c2e8eb
    • Sandipan Das's avatar
      perf vendor events amd: Add Zen 4 mapping · 5fe089d3
      Sandipan Das authored
      Add a regular expression in the map file so that appropriate JSON event
      files are used for AMD Zen 4 processors. Restrict the regular expression
      for AMD Zen 3 processors to known model ranges since they also belong to
      Family 19h.
      Signed-off-by: default avatarSandipan Das <sandipan.das@amd.com>
      Acked-by: default avatarIan Rogers <irogers@google.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Ananth Narayan <ananth.narayan@amd.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Jirka Hladky <jhladky@redhat.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Ravi Bangoria <ravi.bangoria@amd.com>
      Cc: Stephane Eranian <eranian@google.com>
      Link: https://lore.kernel.org/r/20221214082652.419965-5-sandipan.das@amd.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      5fe089d3
    • Sandipan Das's avatar
      perf vendor events amd: Add Zen 4 metrics · aba4cb3e
      Sandipan Das authored
      Add metrics taken from Section 2.1.15.2 "Performance Measurement" in
      the Processor Programming Reference (PPR) for AMD Family 19h Model 11h
      Revision B1 processors.
      
      The recommended metrics are sourced from Table 27 "Guidance for Common
      Performance Statistics with Complex Event Selects".
      
      The pipeline utilization metrics are sourced from Table 28 "Guidance
      for Pipeline Utilization Analysis Statistics". These are new to Zen 4
      processors and useful for finding performance bottlenecks by analyzing
      activity at different stages of the pipeline. Metric groups have been
      added for Level 1 and Level 2 analysis.
      Signed-off-by: default avatarSandipan Das <sandipan.das@amd.com>
      Acked-by: default avatarIan Rogers <irogers@google.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Ananth Narayan <ananth.narayan@amd.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Jirka Hladky <jhladky@redhat.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Ravi Bangoria <ravi.bangoria@amd.com>
      Cc: Stephane Eranian <eranian@google.com>
      Link: https://lore.kernel.org/r/20221214082652.419965-4-sandipan.das@amd.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      aba4cb3e
    • Sandipan Das's avatar
      perf vendor events amd: Add Zen 4 uncore events · 5b2ca349
      Sandipan Das authored
      Add uncore events taken from Section 2.1.15.5 "L3 Cache Performance
      Monitor Counter"s and Section 7.1 "Fabric Performance Monitor Counter
      (PMC) Events" in the Processor Programming Reference (PPR) for AMD
      Family 19h Model 11h Revision B1 processors. This constitutes events
      which capture L3 cache activity and data bandwidth for various links
      and interfaces in the Data Fabric.
      Signed-off-by: default avatarSandipan Das <sandipan.das@amd.com>
      Acked-by: default avatarIan Rogers <irogers@google.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Ananth Narayan <ananth.narayan@amd.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Jirka Hladky <jhladky@redhat.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Ravi Bangoria <ravi.bangoria@amd.com>
      Cc: Stephane Eranian <eranian@google.com>
      Link: https://lore.kernel.org/r/20221214082652.419965-3-sandipan.das@amd.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      5b2ca349
    • Sandipan Das's avatar
      perf vendor events amd: Add Zen 4 core events · 65844828
      Sandipan Das authored
      Add core events taken from Section 2.1.15.4 "Core Performance Monitor
      Counters" in the Processor Programming Reference (PPR) for AMD Family
      19h Model 11h Revision B1 processors. This constitutes events which
      capture op dispatch, execution and retirement, branch prediction, L1
      and L2 cache activity, TLB activity, etc.
      Signed-off-by: default avatarSandipan Das <sandipan.das@amd.com>
      Acked-by: default avatarIan Rogers <irogers@google.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Ananth Narayan <ananth.narayan@amd.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Jirka Hladky <jhladky@redhat.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Ravi Bangoria <ravi.bangoria@amd.com>
      Cc: Stephane Eranian <eranian@google.com>
      Link: https://lore.kernel.org/r/20221214082652.419965-2-sandipan.das@amd.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      65844828
    • Ian Rogers's avatar
      perf vendor events intel: Refresh westmereex events · 6abaa020
      Ian Rogers authored
      Update the westmereex events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The events are unchanged but unused json values are removed. This
      increases consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-24-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      6abaa020
    • Ian Rogers's avatar
      perf vendor events intel: Refresh westmereep-sp events · bcea0838
      Ian Rogers authored
      Update the westmereep-sp events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The events are unchanged but unused json values are removed. This
      increases consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-23-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      bcea0838
    • Ian Rogers's avatar
      perf vendor events intel: Refresh westmereep-dp events · 59802074
      Ian Rogers authored
      Update the westmereep-dp events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The events are unchanged, unused json values are removed and the
      version number bumped to v3 to match the perfmon mapfile.csv. This
      increases consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-22-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      59802074
    • Ian Rogers's avatar
      perf vendor events intel: Refresh tigerlake metrics and events · 69f685e0
      Ian Rogers authored
      Update the tigerlake metrics and events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The metrics are unchanged but the formulas differ due to parentheses,
      use of exponents and removal of redundant operations like "* 1".  The
      events are updated to version 1.08 and unused json values are
      removed. The formatting changes increase consistency across the json
      files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-21-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      69f685e0
    • Ian Rogers's avatar
      perf vendor events intel: Refresh snowridgex events · 9b424083
      Ian Rogers authored
      Update the snowridgex events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The events are unchanged but unused json values are removed and
      descriptions improved. This increases consistency across the json
      files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-20-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      9b424083
    • Ian Rogers's avatar
      perf vendor events intel: Refresh skylakex metrics and events · ecabdc6a
      Ian Rogers authored
      Update the skylakex metrics and events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The metrics are unchanged but the formulas differ due to parentheses,
      use of exponents and removal of redundant operations like "* 1". The
      order of metrics varies as TMA metrics are first converted and then
      removed if perfmon versions are found. The events are updated with
      fixes to uncore events and improved descriptions. uncore-other.json
      changes due to events now being sorted. The formatting changes
      increase consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-19-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      ecabdc6a
    • Ian Rogers's avatar
      perf vendor events intel: Refresh skylake metrics and events · 00ca782e
      Ian Rogers authored
      Update the skylake metrics and events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The metrics are unchanged but the formulas differ due to parentheses,
      use of exponents and removal of redundant operations like "* 1".  The
      events are unchanged but unused json values are removed. The
      formatting changes increase consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-18-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      00ca782e
    • Ian Rogers's avatar
      perf vendor events intel: Refresh silvermont events · 1b91a994
      Ian Rogers authored
      Update the silvermont events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The events are unchanged but unused json values are removed. This
      increases consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-17-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      1b91a994
    • Ian Rogers's avatar
      perf vendor events intel: Refresh sapphirerapids metrics and events · 400dd489
      Ian Rogers authored
      Update the sapphirerapids metrics and events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The metrics are unchanged but the formulas differ due to parentheses,
      use of exponents and removal of redundant operations like "* 1". The
      order of metrics varies as TMA metrics are first converted and then
      removed if perfmon versions are found. The events are updated to 1.09,
      in particular uncore, with fixes to uncore events and improved
      descriptions. The formatting changes increase consistency across the
      json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-16-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      400dd489
    • Ian Rogers's avatar
      perf vendor events intel: Refresh sandybridge metrics and events · 28641ef5
      Ian Rogers authored
      Update the sandybridge metrics and events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The metrics are unchanged but the formulas differ due to parentheses,
      use of exponents and removal of redundant operations like "* 1".  The
      events are unchanged but unused json values are removed. The
      formatting changes increase consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-15-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      28641ef5
    • Ian Rogers's avatar
      perf vendor events intel: Refresh nehalemex events · d4e50e51
      Ian Rogers authored
      Update the nehalemex events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The events are unchanged but unused json values are removed. This
      increases consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-14-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      d4e50e51
    • Ian Rogers's avatar
      perf vendor events intel: Refresh nehalemep events · 7e353370
      Ian Rogers authored
      Update the nehalemep events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The events are unchanged but unused json values are removed. This
      increases consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-13-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      7e353370
    • Ian Rogers's avatar
      perf vendor events intel: Refresh meteorlake events · 5362e4d1
      Ian Rogers authored
      Update the meteorlake events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The events are unchanged but they are sorted and unused json values
      are removed. This increases consistency across the json files. The
      CPUID matching regular expression is updated to match the perfmon one.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-12-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      5362e4d1
    • Ian Rogers's avatar
      perf vendor events intel: Refresh knightslanding events · 2c3fd22b
      Ian Rogers authored
      Update the knightslanding events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The events are unchanged but unused json values are removed. This
      increases consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-11-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      2c3fd22b
    • Ian Rogers's avatar
      perf vendor events intel: Refresh jaketown metrics and events · e85af8a6
      Ian Rogers authored
      Update the jaketown metrics and events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The metrics are unchanged but the formulas differ due to parentheses,
      use of exponents and removal of redundant operations like "* 1".  The
      events are unchanged but unused json values are removed. The
      formatting changes increase consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-10-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      e85af8a6
    • Ian Rogers's avatar
      perf vendor events intel: Refresh ivytown metrics and events · 8ee37818
      Ian Rogers authored
      Update the ivytown metrics and events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The metrics are unchanged but the formulas differ due to parentheses,
      use of exponents and removal of redundant operations like "* 1".  The
      events are unchanged but unused json values are removed. The
      formatting changes increase consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-9-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      8ee37818
    • Ian Rogers's avatar
      perf vendor events intel: Refresh ivybridge metrics and events · d86ac8d7
      Ian Rogers authored
      Update the ivybridge metrics and events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The metrics are unchanged but the formulas differ due to parentheses,
      use of exponents and removal of redundant operations like "* 1".  The
      events are unchanged but the version number is 23 to match the perfmon
      version. In the events unused json values are removed. The formatting
      changes increase consistency across the json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-8-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      d86ac8d7
    • Ian Rogers's avatar
      perf vendor events intel: Refresh icelakex metrics and events · f8e23ad1
      Ian Rogers authored
      Update the icelakex metrics and events using the new tooling from:
      
        https://github.com/intel/perfmon
      
      The metrics are unchanged but the formulas differ due to parentheses,
      use of exponents and removal of redundant operations like "* 1". The
      order of metrics varies as TMA metrics are first converted and then
      removed if perfmon versions are found. The events are updated to 1.17,
      in particular uncore, with fixes to uncore events and improved
      descriptions. The formatting changes increase consistency across the
      json files.
      Signed-off-by: default avatarIan Rogers <irogers@google.com>
      Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Caleb Biggers <caleb.biggers@intel.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: John Garry <john.g.garry@oracle.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Perry Taylor <perry.taylor@intel.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
      Link: https://lore.kernel.org/r/20221215065510.1621979-7-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      f8e23ad1