Skip to content
  1. Dec 24, 2022
    • Linus Torvalds's avatar
      Merge tag '9p-for-6.2-rc1' of https://github.com/martinetd/linux · e3b862ed
      Linus Torvalds authored
      Pull 9p updates from Dominique Martinet:
      
       - improve p9_check_errors to check buffer size instead of msize when
         possible (e.g. not zero-copy)
      
       - some more syzbot and KCSAN fixes
      
       - minor headers include cleanup
      
      * tag '9p-for-6.2-rc1' of https://github.com/martinetd/linux:
        9p/client: fix data race on req->status
        net/9p: fix response size check in p9_check_errors()
        net/9p: distinguish zero-copy requests
        9p/xen: do not memcpy header into req->rc
        9p: set req refcount to zero to avoid uninitialized usage
        9p/net: Remove unneeded idr.h #include
        9p/fs: Remove unneeded idr.h #include
      e3b862ed
    • Linus Torvalds's avatar
      Merge tag 'sound-6.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · a27405b2
      Linus Torvalds authored
      Pull more sound updates from Takashi Iwai:
       "A few more updates for 6.2: most of changes are about ASoC
        device-specific fixes.
      
         - Lots of ASoC Intel AVS extensions and refactoring
      
         - Quirks for ASoC Intel SOF as well as regression fixes
      
         - ASoC Mediatek and Rockchip fixes
      
         - Intel HD-audio HDMI workarounds
      
         - Usual HD- and USB-audio device-specific quirks"
      
      * tag 'sound-6.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (54 commits)
        ALSA: usb-audio: Add new quirk FIXED_RATE for JBL Quantum810 Wireless
        ALSA: azt3328: Remove the unused function snd_azf3328_codec_outl()
        ASoC: lochnagar: Fix unused lochnagar_of_match warning
        ASoC: Intel: Add HP Stream 8 to bytcr_rt5640.c
        ASoC: SOF: mediatek: initialize panic_info to zero
        ASoC: rt5670: Remove unbalanced pm_runtime_put()
        ASoC: Intel: bytcr_rt5640: Add quirk for the Advantech MICA-071 tablet
        ASoC: Intel: soc-acpi: update codec addr on 0C11/0C4F product
        ASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume()
        ASoC: wm8994: Fix potential deadlock
        ASoC: mediatek: mt8195: add sof be ops to check audio active
        ASoC: SOF: Revert: "core: unregister clients and machine drivers in .shutdown"
        ASoC: SOF: Intel: pci-tgl: unblock S5 entry if DMA stop has failed"
        ALSA: hda/hdmi: fix stream-id config keep-alive for rt suspend
        ALSA: hda/hdmi: set default audio parameters for KAE silent-stream
        ALSA: hda/hdmi: fix i915 silent stream programming flow
        ALSA: hda: Error out if invalid stream is being setup
        ASoC: dt-bindings: fsl-sai: Reinstate i.MX93 SAI compatible string
        ASoC: soc-pcm.c: Clear DAIs parameters after stream_active is updated
        ASoC: codecs: wcd-clsh: Remove the unused function
        ...
      a27405b2
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2022-12-23' of git://anongit.freedesktop.org/drm/drm · 55c7d6a9
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Holiday fixes!
      
        Two batches from amd, and one group of i915 changes.
      
        amdgpu:
         - Spelling fix
         - BO pin fix
         - Properly handle polaris 10/11 overlap asics
         - GMC9 fix
         - SR-IOV suspend fix
         - DCN 3.1.4 fix
         - KFD userptr locking fix
         - SMU13.x fixes
         - GDS/GWS/OA handling fix
         - Reserved VMID handling fixes
         - FRU EEPROM fix
         - BO validation fixes
         - Avoid large variable on the stack
         - S0ix fixes
         - SMU 13.x fixes
         - VCN fix
         - Add missing fence reference
      
        amdkfd:
         - Fix init vm error handling
         - Fix double release of compute pasid
      
        i915
         - Documentation fixes
         - OA-perf related fix
         - VLV/CHV HDMI/DP audio fix
         - Display DDI/Transcoder fix
         - Migrate fixes"
      
      * tag 'drm-next-2022-12-23' of git://anongit.freedesktop.org/drm/drm: (39 commits)
        drm/amdgpu: grab extra fence reference for drm_sched_job_add_dependency
        drm/amdgpu: enable VCN DPG for GC IP v11.0.4
        drm/amdgpu: skip mes self test after s0i3 resume for MES IP v11.0
        drm/amd/pm: correct the fan speed retrieving in PWM for some SMU13 asics
        drm/amd/pm: bump SMU13.0.0 driver_if header to version 0x34
        drm/amdgpu: skip MES for S0ix as well since it's part of GFX
        drm/amd/pm: avoid large variable on kernel stack
        drm/amdkfd: Fix double release compute pasid
        drm/amdkfd: Fix kfd_process_device_init_vm error handling
        drm/amd/pm: update SMU13.0.0 reported maximum shader clock
        drm/amd/pm: correct SMU13.0.0 pstate profiling clock settings
        drm/amd/pm: enable GPO dynamic control support for SMU13.0.7
        drm/amd/pm: enable GPO dynamic control support for SMU13.0.0
        drm/amdgpu: revert "generally allow over-commit during BO allocation"
        drm/amdgpu: Remove unnecessary domain argument
        drm/amdgpu: Fix size validation for non-exclusive domains (v4)
        drm/amdgpu: Check if fru_addr is not NULL (v2)
        drm/i915/ttm: consider CCS for backup objects
        drm/i915/migrate: fix corner case in CCS aux copying
        drm/amdgpu: rework reserved VMID handling
        ...
      55c7d6a9
    • Linus Torvalds's avatar
      Merge tag 'mips_6.2_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 06d65a6f
      Linus Torvalds authored
      Pull MIPS fixes from Thomas Bogendoerfer:
       "Fixes due to DT changes"
      
      * tag 'mips_6.2_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
        MIPS: dts: bcm63268: Add missing properties to the TWD node
        MIPS: ralink: mt7621: avoid to init common ralink reset controller
      06d65a6f
    • Linus Torvalds's avatar
      Merge tag 'mm-hotfixes-stable-2022-12-22-14-34' of... · 699aee7b
      Linus Torvalds authored
      Merge tag 'mm-hotfixes-stable-2022-12-22-14-34' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull hotfixes from Andrew Morton:
       "Eight fixes, all cc:stable. One is for gcov and the remainder are MM"
      
      * tag 'mm-hotfixes-stable-2022-12-22-14-34' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
        gcov: add support for checksum field
        test_maple_tree: add test for mas_spanning_rebalance() on insufficient data
        maple_tree: fix mas_spanning_rebalance() on insufficient data
        hugetlb: really allocate vma lock for all sharable vmas
        kmsan: export kmsan_handle_urb
        kmsan: include linux/vmalloc.h
        mm/mempolicy: fix memory leak in set_mempolicy_home_node system call
        mm, mremap: fix mremap() expanding vma with addr inside vma
      699aee7b
  2. Dec 23, 2022
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 8395ae05
      Linus Torvalds authored
      Pull more SCSI updates from James Bottomley:
       "Mostly small bug fixes and small updates.
      
        The only things of note is a qla2xxx fix for crash on hotplug and
        timeout and the addition of a user exposed abstraction layer for
        persistent reservation error return handling (which necessitates the
        conversion of nvme.c as well as SCSI)"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: qla2xxx: Fix crash when I/O abort times out
        nvme: Convert NVMe errors to PR errors
        scsi: sd: Convert SCSI errors to PR errors
        scsi: core: Rename status_byte to sg_status_byte
        block: Add error codes for common PR failures
        scsi: sd: sd_zbc: Trace zone append emulation
        scsi: libfc: Include the correct header
      8395ae05
    • 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
  3. Dec 22, 2022