1. 28 Jun, 2024 6 commits
    • Shivaprasad G Bhat's avatar
      powerpc/iommu: Reimplement the iommu_table_group_ops for pSeries · f431a8cd
      Shivaprasad G Bhat authored
      PPC64 IOMMU API defines iommu_table_group_ops which handles DMA
      windows for PEs, their ownership transfer, create/set/unset the TCE
      tables for the Dynamic DMA wundows(DDW). VFIOS uses these APIs for
      support on POWER.
      
      The commit 9d67c943 ("powerpc/iommu: Add "borrowing"
      iommu_table_group_ops") implemented partial support for this API with
      "borrow" mechanism wherein the DMA windows if created already by the
      host driver, they would be available for VFIO to use. Also, it didn't
      have the support to control/modify the window size or the IO page
      size.
      
      The current patch implements all the necessary iommu_table_group_ops
      APIs there by avoiding the "borrrowing". So, just the way it is on the
      PowerNV platform, with this patch the iommu table group ownership is
      transferred to the VFIO PPC subdriver, the iommu table, DMA windows
      creation/deletion all driven through the APIs.
      
      The pSeries uses the query-pe-dma-window, create-pe-dma-window and
      reset-pe-dma-window RTAS calls for DMA window creation, deletion and
      reset to defaul. The RTAs calls do show some minor differences to the
      way things are to be handled on the pSeries which are listed below.
      
      * On pSeries, the default DMA window size is "fixed" cannot be custom
      sized as requested by the user. For non-SRIOV VFs, It is fixed at 2GB
      and for SRIOV VFs, its variable sized based on the capacity assigned
      to it during the VF assignment to the LPAR. So, for the  default DMA
      window alone the size if requested less than tce32_size, the smaller
      size is enforced using the iommu table->it_size.
      
      * The DMA start address for 32-bit window is 0, and for the 64-bit
      window in case of PowerNV is hardcoded to TVE select (bit 59) at 512PiB
      offset. This address is returned at the time of create_table() API call
      (even before the window is created), the subsequent set_window() call
      actually opens the DMA window. On pSeries, the DMA start address for
      32-bit window is known from the 'ibm,dma-window' DT property. However,
      the 64-bit window start address is not known until the create-pe-dma
      RTAS call is made. So, the create_table() which returns the DMA window
      start address actually opens the DMA window and returns the DMA start
      address as returned by the Hypervisor for the create-pe-dma RTAS call.
      
      * The reset-pe-dma RTAS call resets the DMA windows and restores the
      default DMA window, however it does not clear the TCE table entries
      if there are any. In case of ownership transfer from platform domain
      which used direct mapping, the patch chooses remove-pe-dma instead of
      reset-pe for the 64-bit window intentionally so that the
      clear_dma_window() is called.
      
      Other than the DMA window management changes mentioned above, the
      patch also brings back the userspace view for the single level TCE
      as it existed before commit 090bad39 ("powerpc/powernv: Add
      indirect levels to it_userspace") along with the relavent
      refactoring.
      Signed-off-by: default avatarShivaprasad G Bhat <sbhat@linux.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://msgid.link/171923275958.1397.907964437142542242.stgit@linux.ibm.com
      f431a8cd
    • Shivaprasad G Bhat's avatar
      powerpc/iommu: Move dev_has_iommu_table() to iommu.c · 35146ead
      Shivaprasad G Bhat authored
      Move function dev_has_iommu_table() to powerpc/kernel/iommu.c
      as it is going to be used by machine specific iommu code as
      well in subsequent patches.
      Signed-off-by: default avatarShivaprasad G Bhat <sbhat@linux.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://msgid.link/171923274748.1397.6274953248403106679.stgit@linux.ibm.com
      35146ead
    • Shivaprasad G Bhat's avatar
      vfio/spapr: Always clear TCEs before unsetting the window · 4ba2fdff
      Shivaprasad G Bhat authored
      The PAPR expects the TCE table to have no entries at the time of
      unset window(i.e. remove-pe). The TCE clear right now is done
      before freeing the iommu table. On pSeries, the unset window
      makes those entries inaccessible to the OS and the H_PUT/GET calls
      fail on them with H_CONSTRAINED.
      
      On PowerNV, this has no side effect as the TCE clear can be done
      before the DMA window removal as well.
      Signed-off-by: default avatarShivaprasad G Bhat <sbhat@linux.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://msgid.link/171923273535.1397.1236742071894414895.stgit@linux.ibm.com
      4ba2fdff
    • Shivaprasad G Bhat's avatar
      powerpc/pseries/iommu: Use the iommu table[0] for IOV VF's DDW · aed6e494
      Shivaprasad G Bhat authored
      This patch basically brings consistency with PowerNV approach
      to use the first freely available iommu table when the default
      window is removed.
      
      The pSeries iommu code convention has been that the table[0] is
      for the default 32 bit DMA window and the table[1] is for the
      64 bit DDW.
      
      With VFs having only 1 DMA window, the default has to be removed
      for creating the larger DMA window. The existing code uses the
      table[1] for that, while marking the table[0] as NULL. This is
      fine as long as the host driver itself uses the device.
      
      For the VFIO user, on pSeries there is no way to skip table[0]
      as the VFIO subdriver uses the first freely available table.
      The window 0, when created as 64-bit DDW in that context would
      still be on table[0], as the maximum number of windows is 1.
      
      This won't have any impact for the host driver as the table is
      fetched from the device's iommu_table_base.
      Signed-off-by: default avatarShivaprasad G Bhat <sbhat@linux.ibm.com>
      [mpe: Rebase and resolve conflicts]
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://msgid.link/171923272328.1397.1817843961216868850.stgit@linux.ibm.com
      aed6e494
    • Shivaprasad G Bhat's avatar
      powerpc/pseries/iommu: Fix the VFIO_IOMMU_SPAPR_TCE_GET_INFO ioctl output · 6af67f2d
      Shivaprasad G Bhat authored
      The ioctl VFIO_IOMMU_SPAPR_TCE_GET_INFO is not reporting the
      actuals on the platform as not all the details are correctly
      collected during the platform probe/scan into the iommu_table_group.
      
      Collect the information during the device setup time as the DMA
      window property is already looked up on parent nodes anyway.
      Signed-off-by: default avatarShivaprasad G Bhat <sbhat@linux.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://msgid.link/171923271138.1397.7908302630061814623.stgit@linux.ibm.com
      6af67f2d
    • Shivaprasad G Bhat's avatar
      powerpc/iommu: Move pSeries specific functions to pseries/iommu.c · b09c031d
      Shivaprasad G Bhat authored
      The PowerNV specific table_group_ops are defined in powernv/pci-ioda.c.
      The pSeries specific table_group_ops are sitting in the generic powerpc
      file. Move it to where it actually belong(pseries/iommu.c).
      
      The functions are currently defined even for CONFIG_PPC_POWERNV
      which are unused on PowerNV.
      
      Only code movement, no functional changes intended.
      Signed-off-by: default avatarShivaprasad G Bhat <sbhat@linux.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://msgid.link/171923269701.1397.15758640002786937132.stgit@linux.ibm.com
      b09c031d
  2. 17 Jun, 2024 3 commits
  3. 11 Jun, 2024 1 commit
  4. 04 Jun, 2024 4 commits
    • Nathan Lynch's avatar
      powerpc/mm/drmem: Silence drmem_init() early return · 11e6e6d8
      Nathan Lynch authored
      It's not an error or noteworthy condition if the
      "ibm,dynamic-reconfiguration-memory" node isn't present.
      
      Drop the needless message.
      Signed-off-by: default avatarNathan Lynch <nathanl@linux.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://msgid.link/20240603-silence-drmem_init-v1-1-e9d71646bc3d@linux.ibm.com
      11e6e6d8
    • Haren Myneni's avatar
      powerpc/pseries/vas: Use usleep_range() to support HCALL delay · 43ac9f5c
      Haren Myneni authored
      VAS allocate, modify and deallocate HCALLs returns
      H_LONG_BUSY_ORDER_1_MSEC or H_LONG_BUSY_ORDER_10_MSEC for busy
      delay and expects OS to reissue HCALL after that delay. But using
      msleep() will often sleep at least 20 msecs even though the
      hypervisor suggests OS reissue these HCALLs after 1 or 10msecs.
      
      The open and close VAS window functions hold mutex and then issue
      these HCALLs. So these operations can take longer than the
      necessary when multiple threads issue open or close window APIs
      simultaneously, especially might affect the performance in the
      case of repeat open/close APIs for each compression request.
      
      Multiple tasks can open / close VAS windows at the same time
      which depends on the available VAS credits. For example, 240
      cores system provides 4800 VAS credits. It means 4800 tasks can
      execute open VAS windows HCALLs with the mutex. Since each
      msleep() will often sleep more than 20 msecs, some tasks are
      waiting more than 120 secs to acquire mutex. It can cause hung
      traces for these tasks in dmesg due to mutex contention around
      open/close HCALLs.
      
      Instead of msleep(), use usleep_range() to ensure sleep with
      the expected value before issuing HCALL again. So since each
      task sleep 10 msecs maximum, this patch allow more tasks can
      issue open/close VAS calls without any hung traces in the
      dmesg.
      Signed-off-by: default avatarHaren Myneni <haren@linux.ibm.com>
      Suggested-by: default avatarNathan Lynch <nathanl@linux.ibm.com>
      Reviewed-by: default avatarNathan Lynch <nathanl@linux.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://msgid.link/20240116055910.421605-1-haren@linux.ibm.com
      43ac9f5c
    • Nilay Shroff's avatar
      powerpc/numa: Online a node if PHB is attached. · 11981816
      Nilay Shroff authored
      In the current design, a numa-node is made online only if that node is
      attached to cpu/memory. With this design, if any PCI/IO device is found
      to be attached to a numa-node which is not online then the numa-node
      id of the corresponding PCI/IO device is set to NUMA_NO_NODE(-1). This
      design may negatively impact the performance of PCIe device if the
      numa-node assigned to PCIe device is -1 because in such case we may not
      be able to accurately calculate the distance between two nodes.
      
      The multi-controller NVMe PCIe disk has an issue with calculating the
      node distance if the PCIe NVMe controller is attached to a PCI host
      bridge which has numa-node id value set to NUMA_NO_NODE. This patch
      helps fix this ensuring that a cpu/memory less numa node is made online
      if it's attached to PCI host bridge.
      Signed-off-by: default avatarNilay Shroff <nilay@linux.ibm.com>
      Reviewed-by: default avatarSrikar Dronamraju <srikar@linux.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://msgid.link/20240517142531.3273464-3-nilay@linux.ibm.com
      11981816
    • Gaurav Batra's avatar
      powerpc/pseries/iommu: Split Dynamic DMA Window to be used in Hybrid mode · ff5163bb
      Gaurav Batra authored
      Dynamic DMA Window (DDW) supports TCEs that are backed by 2MB page
      size. In most configurations, DDW is big enough to pre-map all of LPAR
      memory for IO. Pre-mapping of memory for DMA results in improvements in
      IO performance.
      
      Persistent memory, vPMEM, can be assigned to an LPAR as well. vPMEM is
      not contiguous with LPAR memory and usually is assigned at high memory
      addresses.  This makes is not possible to pre-map both vPMEM and LPAR
      memory in the same DDW.
      
      For a dedicated adapter this limitation is not an issue. Dedicated
      adapters can have both Default DMA window, which is backed by 4K page
      size and a DDW backed by 2MB page size TCEs. In this scenario, LPAR
      memory is pre-mapped in the DDW.  Any DMA going to the vPMEM is routed
      via dynamically allocated TCEs in the default window.
      
      The issue arises with SR-IOV adapters. There is only one DMA window -
      either Default or DDW. If an LPAR has vPMEM assigned, memory is not
      pre-mapped in the DDW since TCEs needs to be allocated for vPMEM as well.
      In this case, DDW is created and TCEs are dynamically allocated for both
      vPMEM and LPAR memory.
      
      Today, DDW is only used in single mode - direct mapped TCEs or
      dynamically mapped TCEs. This enhancement breaks a single DDW in 2
      regions -
      
      	1. First region to pre-map LPAR memory
      	2. Second region to dynamically allocate TCEs for IO to vPMEM
      
      The DDW is split only if it is big enough to pre-map complete LPAR
      memory and still have some space left to dynamically map vPMEM. Maximum
      size possible DDW is created as permitted by the Hypervisor.
      Signed-off-by: default avatarGaurav Batra <gbatra@linux.ibm.com>
      Reviewed-by: default avatarBrian King <brking@linux.vnet.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://msgid.link/20240514014608.35537-1-gbatra@linux.ibm.com
      ff5163bb
  5. 03 Jun, 2024 1 commit
  6. 02 Jun, 2024 8 commits
  7. 01 Jun, 2024 6 commits
  8. 31 May, 2024 11 commits
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2024-06-01' of https://gitlab.freedesktop.org/drm/kernel · cc8ed4d0
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "This is the weekly fixes. Lots of small fixes across the board, one
        BUG_ON fix in shmem seems most important, otherwise amdgpu, i915, xe
        mostly with small fixes to all the other drivers.
      
        shmem:
         - fix BUG_ON in COW handling
         - warn when trying to pin imported objects
      
        buddy:
         - fix page size handling
      
        dma-buf:
         - sw-sync: Don't interfere with IRQ handling
         - fix kthreads-handling error path
      
        i915:
         - fix a race in audio component by registering it later
         - make DPT object unshrinkable to avoid shrinking when framebuffer
           has not shrunk
         - fix CCS id calculation to fix a perf regression
         - fix selftest caching mode
         - fix FIELD_PREP compiler warnings
         - fix indefinite wait for GT wakeref release
         - revert overeager multi-gt pm reference removal
      
        xe:
         - pcode polling timeout change
         - fix for deadlocks for faulting VMs
         - error-path lock imbalance fix
      
        amdgpu:
         - RAS fix
         - fix colorspace property for MST connectors
         - fix for PCIe DPM
         - silence UBSAN warning
         - GPUVM robustness fix
         - partition fix
         - drop deprecated I2C_CLASS_SPD
      
        amdkfd:
         - revert unused changes for certain 11.0.3 devices
         - simplify APU VRAM handling
      
        lima:
         - fix dma_resv-related deadlock in object pin
      
        msm:
         - remove build-time dependency on Python 3.9
      
        nouveau:
         - nvif: Fix possible integer overflow
      
        panel:
         - lg-sw43408: Select DP helpers; Declare backlight ops as static
         - sitronix-st7789v: Various fixes for jt240mhqs_hwt_ek_e3 panel
      
        panfrost:
         - fix dma_resv-related deadlock in object pin"
      
      * tag 'drm-fixes-2024-06-01' of https://gitlab.freedesktop.org/drm/kernel: (35 commits)
        drm/msm: remove python 3.9 dependency for compiling msm
        drm/panel: sitronix-st7789v: fix display size for jt240mhqs_hwt_ek_e3 panel
        drm/panel: sitronix-st7789v: tweak timing for jt240mhqs_hwt_ek_e3 panel
        drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel
        drm/amd/pm: remove deprecated I2C_CLASS_SPD support from newly added SMU_14_0_2
        drm/amdgpu: Make CPX mode auto default in NPS4
        drm/amdkfd: simplify APU VRAM handling
        Revert "drm/amdkfd: fix gfx_target_version for certain 11.0.3 devices"
        drm/amdgpu: fix dereference null return value for the function amdgpu_vm_pt_parent
        drm/amdgpu: silence UBSAN warning
        drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth()
        drm/i915: Fix audio component initialization
        drm/i915/dpt: Make DPT object unshrinkable
        drm/i915/gt: Fix CCS id's calculation for CCS mode setting
        drm/panel/lg-sw43408: mark sw43408_backlight_ops as static
        drm/i915/selftests: Set always_coherent to false when reading from CPU
        drm/panel/lg-sw43408: select CONFIG_DRM_DISPLAY_DP_HELPER
        drm/i915/guc: avoid FIELD_PREP warning
        drm/i915/gt: Disarm breadcrumbs if engines are already idle
        Revert "drm/i915: Remove extra multi-gt pm-references"
        ...
      cc8ed4d0
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v6.10-rc2' of... · 1b907b83
      Linus Torvalds authored
      Merge tag 'hwmon-for-v6.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull hwmon fixes from Guenter Roeck:
      
       - sttcs: Fix property spelling
      
       - intel-m10-bmc-hwmon: Fix multiplier for N6000 board power sensor
      
       - ltc2992: Fix memory leak
      
       - dell-smm: Add Dell G15 5511 to fan control whitelist
      
      * tag 'hwmon-for-v6.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (shtc1) Fix property misspelling
        hwmon: (intel-m10-bmc-hwmon) Fix multiplier for N6000 board power sensor
        hwmon: (ltc2992) Fix memory leak in ltc2992_parse_dt()
        hwmon: (dell-smm) Add Dell G15 5511 to fan control whitelist
      1b907b83
    • Linus Torvalds's avatar
      Merge tag 'mailbox-fixes-v6.10-rc1' of... · b7087cb3
      Linus Torvalds authored
      Merge tag 'mailbox-fixes-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox
      
      Pull mailbox fix from Jassi Brar:
      
       - zynqmp-ipi: fix linker error on some configurations
      
      * tag 'mailbox-fixes-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox:
        mailbox: zynqmp-ipi: drop irq_to_desc() call
      b7087cb3
    • Linus Torvalds's avatar
      Merge tag 'spi-fix-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · d5931dd0
      Linus Torvalds authored
      Pull spi fixes from Mark Brown:
       "A series of fixes that came in since the merge window, the main thing
        being the fixes Andy did for DMA sync where we were calling into the
        DMA API in suprising ways and causing issues as a result, the main
        thing being confusing the IOMMU code.
      
        We've also got some fairly important fixes for the stm32 driver, it
        supports a wide range of hardware and some optimisations that were
        done recently have broken on some systems, and a fix to prevent
        glitched signals on the bus in the cadence driver"
      
      * tag 'spi-fix-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: stm32: Don't warn about spurious interrupts
        spi: Assign dummy scatterlist to unidirectional transfers
        spi: cadence: Ensure data lines set to low during dummy-cycle period
        spi: stm32: Revert change that enabled controller before asserting CS
        spi: Check if transfer is mapped before calling DMA sync APIs
        spi: Don't mark message DMA mapped when no transfer in it is
      d5931dd0
    • Linus Torvalds's avatar
      Merge tag 'regulator-fix-v6.10-rc1' of... · 28add42d
      Linus Torvalds authored
      Merge tag 'regulator-fix-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
      
      Pull regulator fix from Mark Brown:
       "One fix that came in since -rc1, fixing misuse of a local variable in
        the DT parsing code in the RTQ2208 driver"
      
      * tag 'regulator-fix-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: rtq2208: Fix invalid memory access when devm_of_regulator_put_matches is called
      28add42d
    • Linus Torvalds's avatar
      Merge tag 'regmap-fix-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap · b7c05622
      Linus Torvalds authored
      Pull regmap fix from Mark Brown:
       "The I2C bus was not taking account of the register and any padding
        bytes when handling maximum write sizes supported by an I2C adaptor,
        this patch from Jim Wylder fixes that"
      
      * tag 'regmap-fix-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
        regmap-i2c: Subtract reg size from max_write
      b7c05622
    • Linus Torvalds's avatar
      Merge tag 'block-6.10-20240530' of git://git.kernel.dk/linux · 0f9a7517
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - NVMe fixes via Keith:
            - Removing unused fields (Kanchan)
            - Large folio offsets support (Kundan)
            - Multipath NUMA node initialiazation fix (Nilay)
            - Multipath IO stats accounting fixes (Keith)
            - Circular lockdep fix (Keith)
            - Target race condition fix (Sagi)
            - Target memory leak fix (Sagi)
      
       - bcache fixes
      
       - null_blk fixes (Damien)
      
       - Fix regression in io.max due to throttle low removal (Waiman)
      
       - DM limit table fixes (Christoph)
      
       - SCSI and block limit fixes (Christoph)
      
       - zone fixes (Damien)
      
       - Misc fixes (Christoph, Hannes, hexue)
      
      * tag 'block-6.10-20240530' of git://git.kernel.dk/linux: (25 commits)
        blk-throttle: Fix incorrect display of io.max
        block: Fix zone write plugging handling of devices with a runt zone
        block: Fix validation of zoned device with a runt zone
        null_blk: Do not allow runt zone with zone capacity smaller then zone size
        nvmet: fix a possible leak when destroy a ctrl during qp establishment
        nvme: use srcu for iterating namespace list
        bcache: code cleanup in __bch_bucket_alloc_set()
        bcache: call force_wake_up_gc() if necessary in check_should_bypass()
        bcache: allow allocator to invalidate bucket in gc
        block: check for max_hw_sectors underflow
        block: stack max_user_sectors
        sd: also set max_user_sectors when setting max_sectors
        null_blk: Print correct max open zones limit in null_init_zoned_dev()
        block: delete redundant function declaration
        null_blk: Fix return value of nullb_device_power_store()
        dm: make dm_set_zones_restrictions work on the queue limits
        dm: remove dm_check_zoned
        dm: move setting zoned_enabled to dm_table_set_restrictions
        block: remove blk_queue_max_integrity_segments
        nvme: adjust multiples of NVME_CTRL_PAGE_SIZE in offset
        ...
      0f9a7517
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.10-20240530' of git://git.kernel.dk/linux · 6d541d66
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "A couple of minor fixes for issues introduced in the 6.10 merge window:
      
         - Ensure that all read/write ops have an appropriate cleanup handler
           set (Breno)
      
         - Regression for applications still doing multiple mmaps even if
           FEAT_SINGLE_MMAP is set (me)
      
         - Move kmsg inquiry setting above any potential failure point,
           avoiding a spurious NONEMPTY flag setting on early error (me)"
      
      * tag 'io_uring-6.10-20240530' of git://git.kernel.dk/linux:
        io_uring/net: assign kmsg inq/flags before buffer selection
        io_uring/rw: Free iovec before cleaning async data
        io_uring: don't attempt to mmap larger than what the user asks for
      6d541d66
    • Kees Cook's avatar
      kunit/fortify: Remove __kmalloc_node() test · 99a6087d
      Kees Cook authored
      __kmalloc_node() is considered an "internal" function to the Slab, so
      drop it from explicit testing.
      
      Link: https://lore.kernel.org/r/20240531185703.work.588-kees@kernel.orgSigned-off-by: default avatarKees Cook <kees@kernel.org>
      99a6087d
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-6.10-2024-05-31' of git://git.infradead.org/users/hch/dma-mapping · b0504965
      Linus Torvalds authored
      Pull dma-mapping fixes from Christoph Hellwig:
      
       - dma-mapping benchmark error handling fixes (Fedor Pchelkin)
      
       - correct a config symbol reference in the DMA API documentation (Lukas
         Bulwahn)
      
      * tag 'dma-mapping-6.10-2024-05-31' of git://git.infradead.org/users/hch/dma-mapping:
        Documentation/core-api: correct reference to SWIOTLB_DYNAMIC
        dma-mapping: benchmark: handle NUMA_NO_NODE correctly
        dma-mapping: benchmark: fix node id validation
        dma-mapping: benchmark: avoid needless copy_to_user if benchmark fails
        dma-mapping: benchmark: fix up kthread-related error handling
      b0504965
    • Linus Torvalds's avatar
      Merge tag 'sound-6.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 7d88cc8e
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Lots of small fixes:
      
         - A race fix for debugfs handling in ALSA core
      
         - A series of corrections for MIDI2 core format conversions
      
         - ASoC Intel fixes for 16 bit DMIC config
      
         - Updates for missing module parameters in ASoC code
      
         - HD-audio quirk, Cirrus codec fix, etc minor fixes"
      
      * tag 'sound-6.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (26 commits)
        ALSA: seq: ump: Fix swapped song position pointer data
        ASoC: SOF: ipc4-topology: Adjust the params based on DAI formats
        ASoC: SOF: ipc4-topology: Improve readability of sof_ipc4_prepare_dai_copier()
        ASoC: SOF: ipc4-topology/pcm: Rename sof_ipc4_copier_is_single_format()
        ASoC: SOF: ipc4-topology: Print out the channel count in sof_ipc4_dbg_audio_format
        ASoC: SOF: ipc4-topology: Add support for NHLT with 16-bit only DMIC blob
        ALSA: seq: Fix yet another spot for system message conversion
        ALSA: ump: Set default protocol when not given explicitly
        ALSA: ump: Don't accept an invalid UMP protocol number
        ASoC: SOF: ipc4-topology: Fix input format query of process modules without base extension
        ASoC: Intel: sof-sdw: fix missing SPI_MASTER dependency
        ALSA: pcm: fix typo in comment
        ALSA: ump: Don't clear bank selection after sending a program change
        ALSA: seq: Fix incorrect UMP type for system messages
        ALSA/hda: intel-dsp-config: reduce log verbosity
        ALSA: seq: Don't clear bank selection at event -> UMP MIDI2 conversion
        ALSA: seq: Fix missing bank setup between MIDI1/MIDI2 UMP conversion
        ASoC: SOF: add missing MODULE_DESCRIPTION()
        ASoC: SOF: reorder MODULE_ definitions
        ASoC: SOF: AMD: group all module related information
        ...
      7d88cc8e