Arm SMMU updates for 6.13

- SMMUv2:
   * Return -EPROBE_DEFER for client devices probing before their SMMU.
   * Devicetree binding updates for Qualcomm MMU-500 implementations.
 
 - SMMUv3:
   * Minor fixes and cleanup for NVIDIA's virtual command queue driver.
 
 - IO-PGTable:
   * Fix indexing of concatenated PGDs and extend selftest coverage.
   * Remove unused block-splitting support.
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCgAuFiEEPxTL6PPUbjXGY88ct6xw3ITBYzQFAmc2IykQHHdpbGxAa2Vy
 bmVsLm9yZwAKCRC3rHDchMFjNLTJB/9M/B74hU548mgB4cIjZ40mR+MNivw6ipnZ
 UWXCqCvyLrE3qw1yrQ/79P6XoaZYJb949jEcnPQHFRwGlPV3nY5jfO8wVEnr9boy
 GNIo8OuobSR2nd/zeHnJrVdvFxGqI9+/Yct9xaXpYKO6rFDKp5manr1CbUWJK0qG
 5A72JHnf7wJrzab0rSfRtUsm6EAjg/lXQj4G3OmdBVHckxluCRhqRn45BeEMz/56
 Z5NbOmIdfR206UFUWDXVmqOgSjpDVgyOUNHz/ciog7dWdT6kkRKNFWvjV3x37pk8
 PQUz1FbkTahT6Lhhndgmga10pj1vlLSP6D9quazbGeZpiapxTFE7
 =yRij
 -----END PGP SIGNATURE-----

Merge tag 'arm-smmu-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into arm/smmu

Arm SMMU updates for 6.13

- SMMUv2:
  * Return -EPROBE_DEFER for client devices probing before their SMMU.
  * Devicetree binding updates for Qualcomm MMU-500 implementations.

- SMMUv3:
  * Minor fixes and cleanup for NVIDIA's virtual command queue driver.

- IO-PGTable:
  * Fix indexing of concatenated PGDs and extend selftest coverage.
  * Remove unused block-splitting support.
This commit is contained in:
Joerg Roedel 2024-11-15 09:25:00 +01:00
commit 9af48bbbae

View File

@ -509,7 +509,8 @@ static int tegra241_vcmdq_alloc_smmu_cmdq(struct tegra241_vcmdq *vcmdq)
snprintf(name, 16, "vcmdq%u", vcmdq->idx);
q->llq.max_n_shift = VCMDQ_LOG2SIZE_MAX;
/* Queue size, capped to ensure natural alignment */
q->llq.max_n_shift = min_t(u32, CMDQ_MAX_SZ_SHIFT, VCMDQ_LOG2SIZE_MAX);
/* Use the common helper to init the VCMDQ, and then... */
ret = arm_smmu_init_one_queue(smmu, q, vcmdq->page0,