Date: Fri, 30 Aug 2024 12:08:41 +1000 From: Dave Airlie To: Linus Torvalds , Daniel Vetter Cc: dri-devel , LKML Subject: [git pull] drm fixes for 6.11-rc6 Hey Linus, Another week, another set of GPU fixes. amdgpu and vmwgfx leading the charge, then i915 and xe changes along with v3d and some other bits. The TTM revert is due to some stuttering graphical apps probably due to longer stalls while prefaulting. Seems pretty much where I'd expect things, Dave. drm-fixes-2024-08-30: drm fixes for 6.11-rc6 ttm: - revert prefault change, caused stutters aperture: - handle non-VGA devices bettter amdgpu: - SWSMU gaming stability fix - SMU 13.0.7 fix - SWSMU documentation alignment fix - SMU 14.0.x fixes - GC 12.x fix - Display fix - IP discovery fix - SMU 13.0.6 fix i915: - Fix #11195: The external display connect via USB type-C dock stays blank after re-connect the dock - Make DSI backlight work for 2G version of Lenovo Yoga Tab 3 X90F - Move ARL GuC firmware to correct version xe: - Invalidate media_gt TLBs - Fix HWMON i1 power setup write command vmwgfx: - prevent unmapping active read buffers - fix prime with external buffers - disable coherent dumb buffers without 3d v3d: - disable preemption while updating GPU stats The following changes since commit 5be63fc19fcaa4c236b307420483578a56986a37: Linux 6.11-rc5 (2024-08-25 19:07:11 +1200) are available in the Git repository at: https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-08-30 for you to fetch changes up to 27f5b729cb56e46d8beca47c227c0edf1e958fbb: Merge tag 'drm-misc-fixes-2024-08-29' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes (2024-08-30 11:28:11 +1000) ---------------------------------------------------------------- drm fixes for 6.11-rc6 ttm: - revert prefault change, caused stutters aperture: - handle non-VGA devices bettter amdgpu: - SWSMU gaming stability fix - SMU 13.0.7 fix - SWSMU documentation alignment fix - SMU 14.0.x fixes - GC 12.x fix - Display fix - IP discovery fix - SMU 13.0.6 fix i915: - Fix #11195: The external display connect via USB type-C dock stays blank after re-connect the dock - Make DSI backlight work for 2G version of Lenovo Yoga Tab 3 X90F - Move ARL GuC firmware to correct version xe: - Invalidate media_gt TLBs - Fix HWMON i1 power setup write command vmwgfx: - prevent unmapping active read buffers - fix prime with external buffers - disable coherent dumb buffers without 3d v3d: - disable preemption while updating GPU stats ---------------------------------------------------------------- Alex Deucher (6): Revert "drm/ttm: increase ttm pre-fault value to PMD size" video/aperture: optionally match the device in sysfb_disable() drm/amdgpu: align pp_power_profile_mode with kernel docs drm/amdgpu/smu13.0.7: print index for profiles drm/amdgpu/swsmu: always force a state reprogram on init drm/amdgpu/gfx12: set UNORD_DISPATCH in compute MQDs Candice Li (1): drm/amd/pm: Drop unsupported features on smu v14_0_2 Dave Airlie (4): Merge tag 'amd-drm-fixes-6.11-2024-08-28' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Merge tag 'drm-intel-fixes-2024-08-29' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes Merge tag 'drm-xe-fixes-2024-08-29' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes Merge tag 'drm-misc-fixes-2024-08-29' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes Hans de Goede (1): drm/i915/dsi: Make Lenovo Yoga Tab 3 X90F DMI match less strict Imre Deak (1): drm/i915/dp_mst: Fix MST state after a sink reset John Harrison (1): drm/i915: ARL requires a newer GSC firmware Karthik Poosa (1): drm/xe/hwmon: Fix WRITE_I1 param from u32 to u16 Kenneth Feng (1): drm/amd/pm: update message interface for smu v14.0.2/3 Lijo Lazar (1): drm/amd/pm: Add support for new P2S table revision Likun Gao (1): drm/amdgpu: support for gc_info table v1.3 Ma Ke (1): drm/amd/display: avoid using null object of framebuffer Matthew Brost (1): drm/xe: Invalidate media_gt TLBs Tvrtko Ursulin (1): drm/v3d: Disable preemption while updating GPU stats Zack Rusin (3): drm/vmwgfx: Prevent unmapping active read buffers drm/vmwgfx: Fix prime with external buffers drm/vmwgfx: Disable coherent dumb buffers without 3d drivers/firmware/sysfb.c | 19 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 11 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 6 ++ drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c | 1 + .../drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c | 9 +- drivers/gpu/drm/amd/include/discovery.h | 42 ++++++++ drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 21 ++-- .../amd/pm/swsmu/inc/pmfw_if/smu_v14_0_2_ppsmc.h | 18 +++- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 7 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 4 +- .../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c | 48 --------- drivers/gpu/drm/i915/display/intel_dp.c | 12 +++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 40 ++++++++ drivers/gpu/drm/i915/display/intel_dp_mst.h | 1 + drivers/gpu/drm/i915/display/vlv_dsi.c | 1 - drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c | 31 ++++++ drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 10 +- drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/intel_device_info.c | 7 ++ drivers/gpu/drm/i915/intel_device_info.h | 3 + drivers/gpu/drm/v3d/v3d_sched.c | 6 ++ drivers/gpu/drm/vmwgfx/vmwgfx_blit.c | 114 ++++++++++++++++++++- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 13 ++- drivers/gpu/drm/vmwgfx/vmwgfx_bo.h | 3 + drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 4 +- drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 12 +-- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 6 +- drivers/gpu/drm/xe/xe_hwmon.c | 2 +- drivers/gpu/drm/xe/xe_vm.c | 37 ++++--- drivers/of/platform.c | 2 +- drivers/video/aperture.c | 11 +- include/drm/intel/i915_pciids.h | 11 +- include/drm/ttm/ttm_bo.h | 4 - include/linux/sysfb.h | 4 +- 35 files changed, 398 insertions(+), 126 deletions(-) . Date: Fri, 30 Aug 2024 14:48:49 +0200 From: Joerg Roedel To: Linus Torvalds Cc: Will Deacon , linux-kernel@vger.kernel.org, iommu@lists.linux.dev Subject: [git pull] IOMMU Fixes for Linux v6.11-rc5 --7GN+MAVE67h3RWRK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Linus, The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399: Linux 6.11-rc4 (2024-08-18 13:17:27 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux.git tags/iommu-fixes-v6.11-rc5 for you to fetch changes up to 51eeef9a482bcb00f6f75eda4de9bd013092b76f: MAINTAINERS: Add Jean-Philippe as SMMUv3 SVA reviewer (2024-08-26 09:17:36 +0200) ---------------------------------------------------------------- IOMMU Fixes for Linux v6.11-rc5 Including: - Fix a device-stall problem in bad io-page-fault setups (faults received from devices with no supporting domain attached). - Context flush fix for Intel VT-d. - Do not allow non-read+non-write mapping through iommufd as most implementations can not handle that. - Fix a possible infinite-loop issue in map_pages() path. - Add Jean-Philippe as reviewer for SMMUv3 SVA support ---------------------------------------------------------------- Jason Gunthorpe (2): iommufd: Do not allow creating areas without READ or WRITE iommu: Do not return 0 from map_pages if it doesn't do anything Lu Baolu (1): iommu/vt-d: Fix incorrect domain ID in context flush helper Pranjal Shrivastava (1): iommu: Handle iommu faults for a bad iopf setup Will Deacon (1): MAINTAINERS: Add Jean-Philippe as SMMUv3 SVA reviewer MAINTAINERS | 4 + drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +- drivers/iommu/intel/iommu.c | 8 +- drivers/iommu/intel/iommu.h | 2 +- drivers/iommu/intel/pasid.c | 7 +- drivers/iommu/io-pgfault.c | 121 +++++++++++++++++++--------- drivers/iommu/io-pgtable-arm-v7s.c | 3 +- drivers/iommu/io-pgtable-arm.c | 3 +- drivers/iommu/io-pgtable-dart.c | 3 +- drivers/iommu/iommufd/ioas.c | 8 ++ include/linux/iommu.h | 5 +- tools/testing/selftests/iommu/iommufd.c | 6 +- 12 files changed, 116 insertions(+), 56 deletions(-) Please pull. Thanks, Joerg --7GN+MAVE67h3RWRK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEr9jSbILcajRFYWYyK/BELZcBGuMFAmbRv7EACgkQK/BELZcB GuN4fg/+NoQ1blmYcWF59PAblVXqjulH33l7FjZERNVrLa0X5IBj7VC5HRebFm3O 8iiSrTs3zkYB4axrJWi6NzNpR+Yfiw29Rrvfjtha8b/zqRdF4YXAQYWcjKCu5EOa NhFIMoFDTYW5pnQKS6fWXZZsroud0oCf6p63kfH/qcrTI4CK2Rxt7pxHWVX1JAxp xNz9j1jcJ7NVZjGnrAbGOLAjrEJzvWUmnHCSpyANaArSWPPmCYXhkXI+qghGPKrx KPGpT6u6p6LH60aENcs24Mw7vTi/3wf5MTbGaCM1y8Wxvsb/OiycnNb/hu55uZIY uRb+TijEgycKvyaqkhqET7V96ku5loIcQPn7zzNwxQROR36KNfqrRz4Q7HU2ilQU VNlqHLZ390PJqCcxvIvnaqB0A3JDoVqCTGvK199CLJLjyi3YqzwT00+4Tf++kcwj NLrOPZphXXZpJ+lFi+x6PH9anKS07szY2lEsTqySqJG+GVreOOcMLtl/QbcbECFS wQa9DYWVqZWKZfNfb5xthDsIFNm/W7YMVlcPUvkQ+EqSlUmWvwa8qYdSy9D4E36q NEerK9rNyQFgyHaOjZmRnyRLlQylRUAHa64Iho4tktx/I6TOZpETzYnTkM6noI46 E+DYLkG6SjfSpcN4ZlqqyyrDhNIO+aJrG2dGi6UaZ/bbM2vk8D8= =kdPw -----END PGP SIGNATURE----- --7GN+MAVE67h3RWRK-- . Date: Fri, 30 Aug 2024 18:22:48 +0530 From: Vinod Koul To: Linus Torvalds Cc: LKML Subject: [GIT PULL]: soundwire fixes for v6.11 --t06nQat4wuDdFqww Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Linus, Please pull to receive a single core fix for soundwire subsystem for this cycle. The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire.git tags/so= undwire-6.11-fixes for you to fetch changes up to ab8d66d132bc8f1992d3eb6cab8d32dda6733c84: soundwire: stream: fix programming slave ports for non-continous port map= s (2024-08-17 22:55:05 +0530) ---------------------------------------------------------------- soundwire fixes for 6.11 - Single fix for non-continous port map programming ---------------------------------------------------------------- Krzysztof Kozlowski (1): soundwire: stream: fix programming slave ports for non-continous port= maps drivers/soundwire/stream.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --=20 ~Vinod --t06nQat4wuDdFqww Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+vs47OPLdNbVcHzyfBQHDyUjg0cFAmbRwKAACgkQfBQHDyUj g0fTxg/8DVwBa4vefmmBVFmrXqw+GZQxPoJOjC7winlLuXpRtar44kRd2YDknsC+ ZupWuqQojM2Ok3Qtr/OjV9mTINuJoYFxZ1e2dnOPxuQRyab8s2WtkqQ1Q39DbsIc nGeYbeu/wTrv2vSYITGr0xfv8/WejBmMsozW42xzMIY6kpu6MmYppKCCGc1PDvly 2nlOjuc9yDgcFVH0m+LMZhJcbo4msgdVOgWXH6YYXlFzr5qWSs5tnNX/2a/bcvR3 vZ0m8jW8Op3k3hw8wZ0Op6smopdyWFR251BW05B43ZuegCnBKUVGi7H7y/FbNwv/ ItYMNBKhT4aH8AISh3UDIKncu4snrI95Yg4BOVtPtLooYGJWy/5Uj5ijkDEVS0k9 u+hWyAomxqt4RnKUqfOjtpX0fbxdq1WTtsy80dUTzJRCdxW8yF/EIInQxcFqisZa Vk5yxdudGZXKDql4BC62k3Ii/bEdcY2u5qSKn5XMJiHdEBYiAFOucgVkUlQNiK/f iudfLmAiNjBjmXiEnvBY26IZJNlA++NnNNmW34eLRAdu/w+/yUMK10ovXg0dkpHE X1tifJINKpWYVz73yeLLee5106XDikUPAIc98QrqjkQ9szxJvYVp61UCm0l29rjr EyM/p7B1+EY3nFauI/47vfecALk3uh98PUDjzvBwa25dbi+8I0A= =Msn9 -----END PGP SIGNATURE----- --t06nQat4wuDdFqww-- . Date: Fri, 30 Aug 2024 18:25:33 +0530 From: Vinod Koul To: Linus Torvalds Cc: LKML Subject: [GIT PULL]: Generic phy fixes for v6.11 --/xZ6BnYIQSePr9QK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Linus, Please pull to receive couple of phy driver fixes. The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git tags/phy-= fixes-6.11 for you to fetch changes up to 5af9b304bc6010723c02f74de0bfd24ff19b1a10: phy: xilinx: phy-zynqmp: Fix SGMII linkup failure on resume (2024-08-05 2= 1:46:58 +0530) ---------------------------------------------------------------- phy fixes for 6.11 - Qualcomm QMP X1E80100 PCIe Gen4 PHY initialisation fix - Freescale imx8mq tuning parameter name fix - Samsung exynos5 fir for error code in probe() - Xilinx Zynqmp SGMII linkup failure fix ---------------------------------------------------------------- Abel Vesa (1): phy: qcom: qmp-pcie: Fix X1E80100 PCIe Gen4 PHY initialisation Dan Carpenter (1): phy: exynos5-usbdrd: fix error code in probe() Piyush Mehta (1): phy: xilinx: phy-zynqmp: Fix SGMII linkup failure on resume Xu Yang (1): phy: fsl-imx8mq-usb: fix tuning parameter name drivers/phy/freescale/phy-fsl-imx8mq-usb.c | 2 +- drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 23 ++++++++---- drivers/phy/samsung/phy-exynos5-usbdrd.c | 2 +- drivers/phy/xilinx/phy-zynqmp.c | 56 ++++++++++++++++++++++++++= ++++ 4 files changed, 74 insertions(+), 9 deletions(-) --=20 ~Vinod --/xZ6BnYIQSePr9QK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+vs47OPLdNbVcHzyfBQHDyUjg0cFAmbRwUUACgkQfBQHDyUj g0eX9RAAuLy+uikE8cyzIoyViytHWRFT0ngvDVxU32H3u5QMaIqYQlh4xOG6AzTu uDNZXDfv+m9DjOvALNaUfrMmsx3teckvjUT8RJvWFWHV3EJfNH5xZV/+tpu++Xv2 BCXEi/WSkY6Nnd4C3ah/818+Mw8/Pv8gMptatqN/a45wXzBggAGpUd92O28z61/v YI5oYmNLqnKGWePFYqDAxfFj3q8P2PsBR2SLFXlfx8f9yVr76MvylQofzakPsO+6 EEWb0/YCJlyfX8tpw/GZqF/fTHFuCGQU852rseyoR88ONNpQBA0W/5Z4OeogIFAA OHq6ejYYbI6x4tzJUNArzCQ5wzSpRcWArLrFEgW7D4Xt6k7ZVwu79IWg8i9wfS2c cDNR20+0qhXRB85M7Rl3TYSFbOpYVi39K5wngNVCMM2rnZWTZ2Mo98RrVW+gTFGZ jCRbUGp7HmAUyk9fjLWlQHHo6k+huXBkczzqXxzMwMlNL6uHpRcL87pgRecS99AM wmEwd2gXeQ6BAP9EgmJ9kdqVxK0U/doWELHgccKy6wuRRkioIPslUH4XwbB7884Z uaYwVOb9iW/Kch3ncD794COyExWDePnlDoUOZ9nzaa4NKP/9LBsL34Yb0yB/ouXG qrSb3DsZsZigF2vMW2pHxm90Io/OQocAnNynw4NFV/udWiTTpOg= =/PBy -----END PGP SIGNATURE----- --/xZ6BnYIQSePr9QK-- . Date: Fri, 30 Aug 2024 18:27:50 +0530 From: Vinod Koul To: Linus Torvalds Cc: LKML Subject: [GIT PULL]: dmanegine fixes for v6.11 --DjAHJzx7f1mTrGS6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Linus, Last one for the weekend, so please pull the dmaengine fixes which contain the driver fixes for couple of them. The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git tags/dm= aengine-fix-6.11 for you to fetch changes up to 9f646ff25c09c52cebe726601db27a60f876f15e: dmaengine: dw-edma: Do not enable watermark interrupts for HDMA (2024-08-= 28 18:40:17 +0530) ---------------------------------------------------------------- dmaengine fixes for v6.11 Driver fixes for: - Bunch of dw driver changes to fix the src/dst addr width config - Omap driver fix for sglen initialization - stm32-dma3 driver lli_size init fix - dw edma driver fixes for watermark interrupts and unmasking STOP and ABORT interrupts ---------------------------------------------------------------- Kees Cook (2): dmaengine: ti: omap-dma: Initialize sglen after allocation dmaengine: stm32-dma3: Set lli_size after allocation Mrinmay Sarkar (2): dmaengine: dw-edma: Fix unmasking STOP and ABORT interrupts for HDMA dmaengine: dw-edma: Do not enable watermark interrupts for HDMA Serge Semin (6): dmaengine: dw: Add peripheral bus width verification dmaengine: dw: Add memory bus width verification dmaengine: dw: Simplify prepare CTL_LO methods dmaengine: dw: Define encode_maxburst() above prepare_ctllo() callbac= ks dmaengine: dw: Simplify max-burst calculation procedure dmaengine: dw: Unify ret-val local variables naming drivers/dma/dw-edma/dw-hdma-v0-core.c | 26 +++---- drivers/dma/dw/core.c | 131 ++++++++++++++++++++++++++++--= ---- drivers/dma/dw/dw.c | 44 +++++++----- drivers/dma/dw/idma32.c | 19 ++--- drivers/dma/dw/platform.c | 20 +++--- drivers/dma/dw/regs.h | 1 - drivers/dma/stm32/stm32-dma3.c | 2 +- drivers/dma/ti/omap-dma.c | 6 +- 8 files changed, 168 insertions(+), 81 deletions(-) --=20 ~Vinod --DjAHJzx7f1mTrGS6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+vs47OPLdNbVcHzyfBQHDyUjg0cFAmbRwc0ACgkQfBQHDyUj g0e9wQ/7BS1LSBL1EMldrFljS917fe4dGAGZFqO3Epz6JqNp3fyYclrkKECOYN23 xl1FQSZG5M8FMHTL7AthzeN9FbqtnGXjrs93OL/IX6VmL/RUVKyq8SHRo3XJ29uh GobQLFPgN8y3Do5GcNwy5dlf6JakZDrG1jWjPvh8oTpT9oLExvOKDimZitjrCohx OyUrBNNGUtMBmMgwmoIYk47GQ9wxocJBVbVqlzO5+CR8tewXkts0ffNjEa26PW4c qfBt0uSgh2HgGLAF7+gszgEr1gTjWN+ntNi6oMJl+sexlGVv7RkBGP0IhnunfMZt 24HXH27a+cYR4pVw4Xhtrd1KRyBq8aYQhLT/i41xOtYH9BqPXilPNrh2TIjbRsnR BoGeFrKU2rwi78p2sNLY7AkoL0CRVRMBS23YEFqg/4UViTYYY4Vk7eSP9lGDs9T0 stYWcjf518yKlLfj4Y1VVQdIUU3ZnTJAHJaAYaq1gd4/XQca9wMf8w20TzzMZvRS xReo5bkzCZjaFWMpJdiLluvaEM4wOZcfWNG3oQNiP8KTa1vcm+ZS7Rcbjk+y841H ybRcWrbB+e75zIvXURysXGtvKy961fVaykCyYLIa+WimP4Jcl90qnKjx7i/tjpIC MFDDSn43R427ct8n2kBJMBob+Tl2j7FVofYu6a3fSWmxzMhCuTU= =WLHT -----END PGP SIGNATURE----- --DjAHJzx7f1mTrGS6-- . Date: Fri, 30 Aug 2024 15:08:38 +0200 From: Johan Hovold To: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] USB-serial device id for 6.11-rc6 The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399: Linux 6.11-rc4 (2024-08-18 13:17:27 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git tags/usb-serial-6.11-rc6 for you to fetch changes up to 9a471de516c35219d1722c13367191ce1f120fe9: USB: serial: option: add MeiG Smart SRM825L (2024-08-27 08:47:29 +0200) ---------------------------------------------------------------- USB-serial device id for 6.11-rc6 Here's a new modem device id. This one has been in linux-next with no reported issues. ---------------------------------------------------------------- ZHANG Yuntian (1): USB: serial: option: add MeiG Smart SRM825L drivers/usb/serial/option.c | 5 +++++ 1 file changed, 5 insertions(+) . Date: Fri, 30 Aug 2024 11:22:26 -0400 From: Paul Moore To: Linus Torvalds Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] lsm/lsm-pr-20240830 Linus, One small patch to correct a NFS permissions problem with SELinux and Smack, see the commit description for more information. Please merge for an upcoming v6.11-rcX release. -Paul -- The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm.git tags/lsm-pr-20240830 for you to fetch changes up to 76a0e79bc84f466999fa501fce5bf7a07641b8a7: selinux,smack: don't bypass permissions check in inode_setsecctx hook (2024-08-28 19:12:44 -0400) ---------------------------------------------------------------- lsm/stable-6.11 PR 20240830 ---------------------------------------------------------------- Scott Mayhew (1): selinux,smack: don't bypass permissions check in inode_setsecctx hook security/selinux/hooks.c | 4 ++-- security/smack/smack_lsm.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) -- paul-moore.com . Date: Fri, 30 Aug 2024 18:59:44 +0200 From: "Rafael J. Wysocki" To: Linus Torvalds Cc: Linux PM , Linux Kernel Mailing List , Mario Limonciello Subject: [GIT PULL] Power management fixes for v6.11-rc6 Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-6.11-rc6 with top-most commit 15d75184a86fdd8ba56e17606c3088ac60150ab3 Merge tag 'amd-pstate-v6.11-2024-08-26' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/superm1/linux on top of commit 5be63fc19fcaa4c236b307420483578a56986a37 Linux 6.11-rc5 to receive power management fixes for 6.11-rc6. These fix three issues in the amd-pstate cpufreq driver. Specifics: - Remove checks for highest performance match on preferred cores when updating preferred core ranking in amd-pstate (Mario Limonciello). - Make amd-pstate call topology_logical_package_id() instead of logical_die_id() to get a socked ID for a CPU (Gautham Shenoy). - Fix uninitialized variable in amd_pstate_cpu_boost_update() (Dan Carpenter). Thanks! --------------- Dan Carpenter (1): cpufreq: amd-pstate: Fix uninitialized variable in amd_pstate_cpu_boost_update() Gautham R. Shenoy (1): cpufreq/amd-pstate: Use topology_logical_package_id() instead of logical_die_id() Mario Limonciello (1): cpufreq/amd-pstate-ut: Don't check for highest perf matching on prefcore --------------- drivers/cpufreq/amd-pstate-ut.c | 13 ++++++++----- drivers/cpufreq/amd-pstate.c | 4 ++-- 2 files changed, 10 insertions(+), 7 deletions(-) . Date: Fri, 30 Aug 2024 15:57:33 -0500 From: Bjorn Helgaas To: Linus Torvalds Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Manivannan Sadhasivam , Frank Li Subject: [GIT PULL] PCI fixes for v6.11 The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git pci-v6.11-fixes-2 for you to fetch changes up to 150b572a7c1df30f5d32d87ad96675200cca7b80: MAINTAINERS: PCI: Add NXP PCI controller mailing list imx@lists.linux.dev (2024-08-30 13:07:21 -0500) ---------------------------------------------------------------- - Add Manivannan Sadhasivam as PCI native host bridge and endpoint driver reviewer (Manivannan Sadhasivam) - Disable MHI RAM data parity error interrupt for qcom SA8775P SoC to work around hardware erratum that causes a constant stream of interrupts (Manivannan Sadhasivam) - Don't try to fall back to qcom Operating Performance Points (OPP) support unless the platform actually supports OPP (Manivannan Sadhasivam) - Add imx@lists.linux.dev mailing list to MAINTAINERS for NXP layerscape and imx6 PCI controller drivers (Frank Li) ---------------------------------------------------------------- Frank Li (1): MAINTAINERS: PCI: Add NXP PCI controller mailing list imx@lists.linux.dev Manivannan Sadhasivam (3): MAINTAINERS: Add Manivannan Sadhasivam as Reviewer for PCI native host bridge and endpoint drivers PCI: qcom-ep: Disable MHI RAM data parity error interrupt for SA8775P SoC PCI: qcom: Use OPP only if the platform supports it MAINTAINERS | 3 +++ drivers/pci/controller/dwc/pcie-qcom-ep.c | 13 +++++++++++++ drivers/pci/controller/dwc/pcie-qcom.c | 7 +++++-- 3 files changed, 21 insertions(+), 2 deletions(-) . Date: Fri, 30 Aug 2024 14:35:19 -0700 From: Dmitry Torokhov To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [git pull] Input updates for v6.11-rc5 Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git tags/input-for-v6.11-rc5 to receive updates for the input subsystem. You will get: - a fix for Cypress PS/2 touchpad for regression introduced in 6.11 merge window where timeout condition is incorrectly reported for all extended Cypress commands. Changelog: --------- Dmitry Torokhov (1): Input: cypress_ps2 - fix waiting for command response Diffstat: -------- drivers/input/mouse/cypress_ps2.c | 58 +++++++++------------------------------ 1 file changed, 13 insertions(+), 45 deletions(-) Thanks. -- Dmitry . Date: Fri, 30 Aug 2024 16:40:42 -0700 From: Sean Christopherson To: Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Sean Christopherson Subject: [GIT PULL] KVM: x86: Fixes for 6.11-rcN Please pull a handful of random fixes. Details in the tag and changelogs. The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399: Linux 6.11-rc4 (2024-08-18 13:17:27 -0700) are available in the Git repository at: https://github.com/kvm-x86/linux.git tags/kvm-x86-fixes-6.11-rcN for you to fetch changes up to 5fa9f0480c7985e44e6ec32def0a395b768599cc: KVM: SEV: Update KVM_AMD_SEV Kconfig entry and mention SEV-SNP (2024-08-28 05:46:25 -0700) ---------------------------------------------------------------- KVM x86 fixes for 6.11 - Fixup missed comments from the REMOVED_SPTE=>FROZEN_SPTE rename. - Ensure a root is successfully loaded when pre-faulting SPTEs. - Grab kvm->srcu when handling KVM_SET_VCPU_EVENTS to guard against accessing memslots if toggling SMM happens to force a VM-Exit. - Emulate MSR_{FS,GS}_BASE on SVM even though interception is always disabled, so that KVM does the right thing if KVM's emulator encounters {RD,WR}MSR. - Explicitly clear BUS_LOCK_DETECT from KVM's caps on AMD, as KVM doesn't yet virtualize BUS_LOCK_DETECT on AMD. - Cleanup the help message for CONFIG_KVM_AMD_SEV, and call out that KVM now supports SEV-SNP too. ---------------------------------------------------------------- Maxim Levitsky (1): KVM: SVM: fix emulation of msr reads/writes of MSR_FS_BASE and MSR_GS_BASE Ravi Bangoria (1): KVM: SVM: Don't advertise Bus Lock Detect to guest if SVM support is missing Sean Christopherson (2): KVM: x86/mmu: Check that root is valid/loaded when pre-faulting SPTEs KVM: x86: Acquire kvm->srcu when handling KVM_SET_VCPU_EVENTS Vitaly Kuznetsov (1): KVM: SEV: Update KVM_AMD_SEV Kconfig entry and mention SEV-SNP Yan Zhao (1): KVM: x86/mmu: Fixup comments missed by the REMOVED_SPTE=>FROZEN_SPTE rename arch/x86/kvm/Kconfig | 6 ++++-- arch/x86/kvm/mmu/mmu.c | 4 +++- arch/x86/kvm/mmu/spte.c | 6 +++--- arch/x86/kvm/mmu/spte.h | 2 +- arch/x86/kvm/mmu/tdp_mmu.c | 8 ++++---- arch/x86/kvm/svm/svm.c | 15 +++++++++++++++ arch/x86/kvm/x86.c | 2 ++ 7 files changed, 32 insertions(+), 11 deletions(-) . Date: Sat, 31 Aug 2024 10:03:51 +0000 From: "Arnd Bergmann" To: "Linus Torvalds" Cc: soc@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] ARM: SoC fixes for 6.11, part 2 The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208= 399: Linux 6.11-rc4 (2024-08-18 13:17:27 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git tags/arm-f= ixes-6.11-2 for you to fetch changes up to 9cc7b1705141d1a077493dc107ed626e8dc84681: Merge tag 'at91-fixes-6.11' of https://git.kernel.org/pub/scm/linux/ke= rnel/git/at91/linux into arm/fixes (2024-08-30 19:52:28 +0000) ---------------------------------------------------------------- ARM: SoC fixes for 6.11, part 2 There is a fairly large number of bug fixes for Qualcomm platforms, most of them addressing issues with the devicetree files for the newly added Snapdragon X1 based laptops to make them more reliable. The Qualcomm driver changes address a few build-time issues as well as runtime problems in the tzmem and scm firmware, the USB Type-C driver, and the cmd-db and pmic_glink soc drivers. The NXP i.MX usually gets a bunch of devicetree fixes that is proportion= al to the number of supported machines. This includes both warning fixes and correctness for the 64-bit i.MX9, i.MX8 and layerscape platforms, as well as a single fix for a 32-bit i.MX6 based board. The other changes are the usual minor changes, including an update to the MAINTAINERS file, an omap3 dts file and a SoC driver for mpfs (risc-v). ---------------------------------------------------------------- Adam Ford (1): arm64: dts: imx8mp-beacon-kit: Fix Stereo Audio on WM8962 Andrei Simion (1): MAINTAINERS: Update DTS path for ARM/Microchip (AT91) SoC Andrew Halaney (1): soc: qcom: pd-mapper: Depend on ARCH_QCOM || COMPILE_TEST Arnd Bergmann (8): soc: qcom: pd-mapper: mark qcom_pdm_domains as __maybe_unused Merge tag 'omap-for-v6.11/fixes-signed' of https://git.kernel.org/= pub/scm/linux/kernel/git/khilman/linux-omap into arm/fixes Merge tag 'imx-fixes-6.11' of https://git.kernel.org/pub/scm/linux= /kernel/git/shawnguo/linux into arm/fixes Merge tag 'qcom-drivers-fixes-for-6.11' of https://git.kernel.org/= pub/scm/linux/kernel/git/qcom/linux into arm/fixes Merge tag 'qcom-arm64-defconfig-fixes-for-6.11' of https://git.ker= nel.org/pub/scm/linux/kernel/git/qcom/linux into arm/fixes Merge tag 'qcom-arm64-fixes-for-6.11' of https://git.kernel.org/pu= b/scm/linux/kernel/git/qcom/linux into arm/fixes Merge tag 'riscv-soc-fixes-for-v6.11-rc6' of https://git.kernel.or= g/pub/scm/linux/kernel/git/conor/linux into arm/fixes Merge tag 'at91-fixes-6.11' of https://git.kernel.org/pub/scm/linu= x/kernel/git/at91/linux into arm/fixes Bartosz Golaszewski (2): firmware: qcom: tzmem: fix virtual-to-physical address conversion firmware: qcom: qseecom: remove unused functions Bjorn Andersson (4): soc: qcom: pmic_glink: Fix race during initialization usb: typec: ucsi: Move unregister out of atomic section soc: qcom: pmic_glink: Actually communicate when remote goes down soc: qcom: pd-mapper: Fix singleton refcount Dmitry Baryshkov (1): arm64: dts: qcom: disable GPU on x1e80100 by default Frank Li (1): arm64: dts: imx8mm-phygate: fix typo pinctrcl-0 Johan Hovold (18): arm64: dts: qcom: x1e80100-crd: fix PCIe4 PHY supply arm64: dts: qcom: x1e80100: fix PCIe domain numbers arm64: dts: qcom: x1e80100: add missing PCIe minimum OPP arm64: dts: qcom: x1e80100-crd: fix up PCIe6a pinctrl node arm64: dts: qcom: x1e80100-crd: disable PCIe6a perst pull down arm64: dts: qcom: x1e80100-crd: fix missing PCIe4 gpios arm64: dts: qcom: x1e80100-qcp: fix PCIe4 PHY supply arm64: dts: qcom: x1e80100-qcp: fix up PCIe6a pinctrl node arm64: dts: qcom: x1e80100-qcp: disable PCIe6a perst pull down arm64: dts: qcom: x1e80100-qcp: fix missing PCIe4 gpios arm64: dts: qcom: x1e80100-vivobook-s15: fix PCIe4 PHY supply arm64: dts: qcom: x1e80100-vivobook-s15: fix up PCIe6a pinctrl node arm64: dts: qcom: x1e80100-vivobook-s15: disable PCIe6a perst pull= down arm64: dts: qcom: x1e80100-vivobook-s15: fix missing PCIe4 gpios arm64: dts: qcom: x1e80100-yoga-slim7x: fix PCIe4 PHY supply arm64: dts: qcom: x1e80100-yoga-slim7x: fix up PCIe6a pinctrl node arm64: dts: qcom: x1e80100-yoga-slim7x: disable PCIe6a perst pull = down arm64: dts: qcom: x1e80100-yoga-slim7x: fix missing PCIe4 gpios Konrad Dybcio (3): mailmap: Add an entry for Konrad Dybcio MAINTAINERS: Update Konrad Dybcio's email address arm64: dts: qcom: x1e80100: Fix Adreno SMMU global interrupt Krzysztof Kozlowski (1): arm64: dts: layerscape: fix thermal node names length Markus Niebel (2): arm64: dts: freescale: imx93-tqma9352: fix CMA alloc-ranges arm64: dts: freescale: imx93-tqma9352-mba93xxla: fix typo Michal Vok=C3=A1=C4=8D (1): ARM: dts: imx6dl-yapp43: Increase LED current to match the yapp4 H= W design Murali Nalajala (1): firmware: qcom: scm: Mark get_wq_ctx() as atomic call Patrick Wildt (1): arm64: dts: qcom: x1e80100-yoga: add wifi calibration variant Peng Fan (2): arm64: dts: imx95: correct a55 power-domains arm64: dts: imx95: correct L3Cache cache-sets Richard Acayan (1): firmware: qcom: tzmem: disable sdm670 platform Sascha Hauer (1): arm64: dts: freescale: tqma9352: Fix watchdog reset Shenwei Wang (1): arm64: dts: imx93: update default value for snps,clk-csr Sicelo A. Mhlongo (1): ARM: dts: omap3-n900: correct the accelerometer orientation Stephan Gerhold (2): arm64: defconfig: Add CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20 arm64: dts: qcom: x1e80100-crd: Fix backlight Steve Wilkins (1): firmware: microchip: fix incorrect error report of programming:tim= eout on success Varadarajan Narayanan (1): arm64: dts: qcom: ipq5332: Fix interrupt trigger type for usb Volodymyr Babchuk (1): soc: qcom: cmd-db: Map shared memory as WC, not WB .mailmap | 2 + MAINTAINERS | 9 ++- .../arm/boot/dts/nxp/imx/imx6dl-yapp43-common.dtsi | 12 ++-- arch/arm/boot/dts/ti/omap/omap3-n900.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 2 +- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 8 +-- arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 2 +- .../imx8mm-phygate-tauri-l-rs232-rs232.dtso | 2 +- .../imx8mm-phygate-tauri-l-rs232-rs485.dtso | 2 +- .../arm64/boot/dts/freescale/imx8mp-beacon-kit.dts | 12 ++-- .../dts/freescale/imx93-tqma9352-mba93xxla.dts | 2 +- arch/arm64/boot/dts/freescale/imx93-tqma9352.dtsi | 3 +- arch/arm64/boot/dts/freescale/imx93.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx95.dtsi | 14 ++--- arch/arm64/boot/dts/qcom/ipq5332.dtsi | 4 +- .../boot/dts/qcom/x1e80100-asus-vivobook-s15.dts | 42 ++++++++++++- arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 70 +++++++++++++++= +++---- .../boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 54 ++++++++++++++-= -- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 53 +++++++++++++--- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 21 +++++-- arch/arm64/configs/defconfig | 1 + drivers/firmware/microchip/mpfs-auto-update.c | 2 +- drivers/firmware/qcom/qcom_scm-smc.c | 2 +- drivers/firmware/qcom/qcom_tzmem.c | 33 ++++++---- drivers/power/supply/qcom_battmgr.c | 16 +++-- drivers/soc/qcom/Kconfig | 2 +- drivers/soc/qcom/cmd-db.c | 2 +- drivers/soc/qcom/pmic_glink.c | 40 +++++++++---- drivers/soc/qcom/pmic_glink_altmode.c | 17 ++++-- drivers/soc/qcom/qcom_pd_mapper.c | 4 +- drivers/usb/typec/ucsi/ucsi_glink.c | 43 +++++++++---- include/linux/firmware/qcom/qcom_qseecom.h | 45 -------------- include/linux/soc/qcom/pmic_glink.h | 11 ++-- 36 files changed, 366 insertions(+), 176 deletions(-) . Date: Sat, 31 Aug 2024 11:55:31 -0400 From: Chuck Lever To: Linus Torvalds Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, Jeff Layton Subject: [GIT PULL] one more NFSD fix for v6.11-rc The following changes since commit 7e8ae8486e4471513e2111aba6ac29f2357bed2a: fs/nfsd: fix update of inode attrs in CB_GETATTR (2024-08-26 19:04:00 -0400) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git tags/nfsd-6.11-3 for you to fetch changes up to 40927f3d0972bf86357a32a5749be71a551241b6: nfsd: fix nfsd4_deleg_getattr_conflict in presence of third party lease (2024-08-30 10:48:29 -0400) ---------------------------------------------------------------- nfsd-6.11 fixes: - One more write delegation fix ---------------------------------------------------------------- NeilBrown (1): nfsd: fix nfsd4_deleg_getattr_conflict in presence of third party lease fs/nfsd/nfs4state.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) -- Chuck Lever . Date: Sat, 31 Aug 2024 12:15:54 -0400 From: James Bottomley To: Andrew Morton , Linus Torvalds Cc: linux-scsi , linux-kernel Subject: [GIT PULL] SCSI fixes for 6.11-rc5 Minor fixes only. The sd.c one ignores a sync cache request if format is in progress which can happen if formatting a drive across suspend/resume. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Ben Hutchings (1): scsi: aacraid: Fix double-free on probe failure Sherry Yang (1): scsi: lpfc: Fix overflow build issue Yihang Li (1): scsi: sd: Ignore command SYNCHRONIZE CACHE error if format in progress And the diffstat: drivers/scsi/aacraid/comminit.c | 2 ++ drivers/scsi/lpfc/lpfc_bsg.c | 2 +- drivers/scsi/sd.c | 12 +++++++----- 3 files changed, 10 insertions(+), 6 deletions(-) With full diff below. James --- diff --git a/drivers/scsi/aacraid/comminit.c b/drivers/scsi/aacraid/comminit.c index bd99c5492b7d..0f64b0244303 100644 --- a/drivers/scsi/aacraid/comminit.c +++ b/drivers/scsi/aacraid/comminit.c @@ -642,6 +642,7 @@ struct aac_dev *aac_init_adapter(struct aac_dev *dev) if (aac_comm_init(dev)<0){ kfree(dev->queues); + dev->queues = NULL; return NULL; } /* @@ -649,6 +650,7 @@ struct aac_dev *aac_init_adapter(struct aac_dev *dev) */ if (aac_fib_setup(dev) < 0) { kfree(dev->queues); + dev->queues = NULL; return NULL; } diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c index 4156419c52c7..4756a3f82531 100644 --- a/drivers/scsi/lpfc/lpfc_bsg.c +++ b/drivers/scsi/lpfc/lpfc_bsg.c @@ -5410,7 +5410,7 @@ lpfc_get_cgnbuf_info(struct bsg_job *job) struct get_cgnbuf_info_req *cgnbuf_req; struct lpfc_cgn_info *cp; uint8_t *cgn_buff; - int size, cinfosz; + size_t size, cinfosz; int rc = 0; if (job->request_len < sizeof(struct fc_bsg_request) + diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index dad3991397cf..9db86943d04c 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -1823,13 +1823,15 @@ static int sd_sync_cache(struct scsi_disk *sdkp) (sshdr.asc == 0x74 && sshdr.ascq == 0x71)) /* drive is password locked */ /* this is no error here */ return 0; + /* - * This drive doesn't support sync and there's not much - * we can do because this is called during shutdown - * or suspend so just return success so those operations - * can proceed. + * If a format is in progress or if the drive does not + * support sync, there is not much we can do because + * this is called during shutdown or suspend so just + * return success so those operations can proceed. */ - if (sshdr.sense_key == ILLEGAL_REQUEST) + if ((sshdr.asc == 0x04 && sshdr.ascq == 0x04) || + sshdr.sense_key == ILLEGAL_REQUEST) return 0; } . Date: Sat, 31 Aug 2024 19:40:33 +0200 From: Greg KH To: Linus Torvalds Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: [GIT PULL] USB / Thunderbolt driver fixes for 6.11-rc4 The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399: Linux 6.11-rc4 (2024-08-18 13:17:27 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-6.11-rc6 for you to fetch changes up to 58c2fa54257d640c83137b44e12c174fd660a485: Merge tag 'usb-serial-6.11-rc6' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus (2024-08-30 15:41:18 +0200) ---------------------------------------------------------------- USB fixes for 6.11-rc6 Here are some small USB fixes for 6.11-rc6. Included in here are: - dwc3 driver fixes for reported issues - MAINTAINER file update, marking a driver as unsupported :( - cdnsp driver fixes - USB gadget driver fix - USB sysfs fix - other tiny fixes - new device ids for usb serial driver All of these have been in linux-next this week with no reported issues. Signed-off-by: Greg Kroah-Hartman ---------------------------------------------------------------- Alexander Stein (1): dt-bindings: usb: microchip,usb2514: Fix reference USB device schema Greg Kroah-Hartman (1): Merge tag 'usb-serial-6.11-rc6' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus Ian Ray (1): cdc-acm: Add DISABLE_ECHO quirk for GE HealthCare UI Controller Krzysztof Kozlowski (4): usb: dwc3: omap: add missing depopulate in probe error path usb: dwc3: xilinx: add missing depopulate in probe error path usb: dwc3: st: fix probed platform device ref count on probe error path usb: dwc3: st: add missing depopulate in probe error path Laurent Pinchart (1): MAINTAINERS: Mark UVC gadget driver as orphan Luca Weiss (1): usb: typec: fsa4480: Relax CHIP_ID check Michael Grzeschik (1): usb: dwc3: ep0: Don't reset resource alloc flag (including ep0) Pawel Laszczak (2): usb: cdnsp: fix incorrect index in cdnsp_get_hw_deq function usb: cdnsp: fix for Link TRB with TC Selvarasu Ganesan (1): usb: dwc3: core: Prevent USB core invalid event buffer address access Xu Yang (1): usb: gadget: uvc: queue pump work in uvcg_video_enable() ZHANG Yuntian (1): USB: serial: option: add MeiG Smart SRM825L Zijun Hu (1): usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes() .../devicetree/bindings/usb/microchip,usb2514.yaml | 9 ++++++- MAINTAINERS | 4 +-- drivers/usb/cdns3/cdnsp-gadget.h | 3 +++ drivers/usb/cdns3/cdnsp-ring.c | 30 +++++++++++++++++++++- drivers/usb/class/cdc-acm.c | 3 +++ drivers/usb/core/sysfs.c | 1 + drivers/usb/dwc3/core.c | 8 ++++++ drivers/usb/dwc3/dwc3-omap.c | 4 ++- drivers/usb/dwc3/dwc3-st.c | 16 +++++------- drivers/usb/dwc3/dwc3-xilinx.c | 7 ++++- drivers/usb/dwc3/ep0.c | 3 ++- drivers/usb/gadget/function/uvc_video.c | 1 + drivers/usb/serial/option.c | 5 ++++ drivers/usb/typec/mux/fsa4480.c | 2 +- 14 files changed, 78 insertions(+), 18 deletions(-) . Date: Sat, 31 Aug 2024 19:41:07 +0200 From: Greg KH To: Linus Torvalds Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: [GIT PULL] USB driver fixes for 6.11-rc6 [resend with correct subject line this time, sorry about that...] The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399: Linux 6.11-rc4 (2024-08-18 13:17:27 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-6.11-rc6 for you to fetch changes up to 58c2fa54257d640c83137b44e12c174fd660a485: Merge tag 'usb-serial-6.11-rc6' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus (2024-08-30 15:41:18 +0200) ---------------------------------------------------------------- USB fixes for 6.11-rc6 Here are some small USB fixes for 6.11-rc6. Included in here are: - dwc3 driver fixes for reported issues - MAINTAINER file update, marking a driver as unsupported :( - cdnsp driver fixes - USB gadget driver fix - USB sysfs fix - other tiny fixes - new device ids for usb serial driver All of these have been in linux-next this week with no reported issues. Signed-off-by: Greg Kroah-Hartman ---------------------------------------------------------------- Alexander Stein (1): dt-bindings: usb: microchip,usb2514: Fix reference USB device schema Greg Kroah-Hartman (1): Merge tag 'usb-serial-6.11-rc6' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus Ian Ray (1): cdc-acm: Add DISABLE_ECHO quirk for GE HealthCare UI Controller Krzysztof Kozlowski (4): usb: dwc3: omap: add missing depopulate in probe error path usb: dwc3: xilinx: add missing depopulate in probe error path usb: dwc3: st: fix probed platform device ref count on probe error path usb: dwc3: st: add missing depopulate in probe error path Laurent Pinchart (1): MAINTAINERS: Mark UVC gadget driver as orphan Luca Weiss (1): usb: typec: fsa4480: Relax CHIP_ID check Michael Grzeschik (1): usb: dwc3: ep0: Don't reset resource alloc flag (including ep0) Pawel Laszczak (2): usb: cdnsp: fix incorrect index in cdnsp_get_hw_deq function usb: cdnsp: fix for Link TRB with TC Selvarasu Ganesan (1): usb: dwc3: core: Prevent USB core invalid event buffer address access Xu Yang (1): usb: gadget: uvc: queue pump work in uvcg_video_enable() ZHANG Yuntian (1): USB: serial: option: add MeiG Smart SRM825L Zijun Hu (1): usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes() .../devicetree/bindings/usb/microchip,usb2514.yaml | 9 ++++++- MAINTAINERS | 4 +-- drivers/usb/cdns3/cdnsp-gadget.h | 3 +++ drivers/usb/cdns3/cdnsp-ring.c | 30 +++++++++++++++++++++- drivers/usb/class/cdc-acm.c | 3 +++ drivers/usb/core/sysfs.c | 1 + drivers/usb/dwc3/core.c | 8 ++++++ drivers/usb/dwc3/dwc3-omap.c | 4 ++- drivers/usb/dwc3/dwc3-st.c | 16 +++++------- drivers/usb/dwc3/dwc3-xilinx.c | 7 ++++- drivers/usb/dwc3/ep0.c | 3 ++- drivers/usb/gadget/function/uvc_video.c | 1 + drivers/usb/serial/option.c | 5 ++++ drivers/usb/typec/mux/fsa4480.c | 2 +- 14 files changed, 78 insertions(+), 18 deletions(-) . Date: Sat, 31 Aug 2024 21:40:38 +0200 From: Bartosz Golaszewski To: Linus Torvalds Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [GIT PULL] power sequencing fixes for v6.11-rc6 From: Bartosz Golaszewski Linus, Please pull the following follow-up fix for the power sequencing subsystem. It turned out the previous fix for this driver was incomplete and broke the WLAN support on some platforms. This addresses the issue. Thanks, Bartosz The following changes since commit 5be63fc19fcaa4c236b307420483578a56986a37: Linux 6.11-rc5 (2024-08-25 19:07:11 +1200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/pwrseq-fixes-for-v6.11-rc6 for you to fetch changes up to d8b762070c3fde224f8b9ea3cf59bc41a5a3eb57: power: sequencing: qcom-wcn: set the wlan-enable GPIO to output (2024-08-31 21:32:19 +0200) ---------------------------------------------------------------- power sequencing fixes for v6.11-rc6 - set the direction of the wlan-enable GPIO to output after requesting it as-is ---------------------------------------------------------------- Bartosz Golaszewski (1): power: sequencing: qcom-wcn: set the wlan-enable GPIO to output drivers/power/sequencing/pwrseq-qcom-wcn.c | 7 +++++++ 1 file changed, 7 insertions(+) . Date: Sat, 31 Aug 2024 22:41:35 -0500 From: Steve French To: Linus Torvalds Cc: CIFS , LKML Subject: [GIT PULL] smb3 client fixes Please pull the following changes since commit 86987d84b968b69a610fd00ab9006c13db193b4e: Merge tag 'v6.11-rc5-client-fixes' of git://git.samba.org/sfrench/cifs-2.6 (2024-08-28 15:05:02 +1200) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/v6.11-rc5-smb-client-fixes for you to fetch changes up to 91d1dfae464987aaf6c79ff51d8674880fb3be77: cifs: Fix FALLOC_FL_ZERO_RANGE to preflush buffered part of target region (2024-08-28 16:52:17 -0500) ---------------------------------------------------------------- Four cifs.ko client fixes - copy_file_range fix - two read fixes including read past end of file rc fix and read retry crediting fix - falloc zero range fix ---------------------------------------------------------------- David Howells (4): cifs: Fix lack of credit renegotiation on read retry netfs, cifs: Fix handling of short DIO read cifs: Fix copy offload to flush destination region cifs: Fix FALLOC_FL_ZERO_RANGE to preflush buffered part of target region fs/netfs/io.c | 19 +++++++++++++------ fs/smb/client/cifsfs.c | 21 ++++----------------- fs/smb/client/cifsglob.h | 1 + fs/smb/client/file.c | 37 +++++++++++++++++++++++++++++++++---- fs/smb/client/smb2ops.c | 18 +++++++++++++++--- fs/smb/client/smb2pdu.c | 41 ++++++++++++++++++++++++++--------------- fs/smb/client/trace.h | 1 + include/linux/netfs.h | 1 + 8 files changed, 94 insertions(+), 45 deletions(-) -- Thanks, Steve . Date: Sat, 31 Aug 2024 22:44:08 -0400 From: Kent Overstreet To: Linus Torvalds Cc: linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] bcachefs fixes for 6.11-rc6 Hi Linus, just a couple small ones. the data corruption in the buffered write path is troubling; inode lock should not have been able to cause that... Cheers, Kent The following changes since commit 49aa7830396bce33b00fa7ee734c35de36521138: bcachefs: Fix rebalance_work accounting (2024-08-24 10:16:21 -0400) are available in the Git repository at: git://evilpiepirate.org/bcachefs.git tags/bcachefs-2024-08-21 for you to fetch changes up to 3d3020c461936009dc58702e267ff67b0076cbf2: bcachefs: Mark more errors as autofix (2024-08-31 19:27:01 -0400) ---------------------------------------------------------------- bcachefs fixes for 6.11-rc6 - Fix a rare data corruption in the rebalance path, caught as a nonce inconsistency on encrypted filesystems - Revert lockless buffered write path - Mark more errors as autofix ---------------------------------------------------------------- Kent Overstreet (4): bcachefs: Fix failure to return error in data_update_index_update() bcachefs: Fix bch2_extents_match() false positive bcachefs: Revert lockless buffered IO path bcachefs: Mark more errors as autofix fs/bcachefs/data_update.c | 1 + fs/bcachefs/errcode.h | 1 - fs/bcachefs/extents.c | 23 ++++++- fs/bcachefs/fs-io-buffered.c | 149 +++++++++++------------------------------ fs/bcachefs/sb-errors_format.h | 10 +-- 5 files changed, 68 insertions(+), 116 deletions(-) . Date: Sun, 1 Sep 2024 13:44:01 +0200 (CEST) From: Thomas Gleixner To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, x86@kernel.org Subject: [GIT pull] locking/urgent for v6.11-rc7 Linus, please pull the latest locking/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-2= 024-08-25 up to: d33d26036a02: rtmutex: Drop rt_mutex::wait_lock before scheduling A single fix for rt_mutex: The deadlock detection code drops into an infinite scheduling loop while still holding rt_mutex::wait_lock, which rightfully triggers a 'scheduling in atomic' warning. Unlock it before that. Thanks, tglx ------------------> Roland Xu (1): rtmutex: Drop rt_mutex::wait_lock before scheduling kernel/locking/rtmutex.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c index 88d08eeb8bc0..fba1229f1de6 100644 --- a/kernel/locking/rtmutex.c +++ b/kernel/locking/rtmutex.c @@ -1644,6 +1644,7 @@ static int __sched rt_mutex_slowlock_block(struct rt_mu= tex_base *lock, } =20 static void __sched rt_mutex_handle_deadlock(int res, int detect_deadlock, + struct rt_mutex_base *lock, struct rt_mutex_waiter *w) { /* @@ -1656,10 +1657,10 @@ static void __sched rt_mutex_handle_deadlock(int res,= int detect_deadlock, if (build_ww_mutex() && w->ww_ctx) return; =20 - /* - * Yell loudly and stop the task right here. - */ + raw_spin_unlock_irq(&lock->wait_lock); + WARN(1, "rtmutex deadlock detected\n"); + while (1) { set_current_state(TASK_INTERRUPTIBLE); rt_mutex_schedule(); @@ -1713,7 +1714,7 @@ static int __sched __rt_mutex_slowlock(struct rt_mutex_= base *lock, } else { __set_current_state(TASK_RUNNING); remove_waiter(lock, waiter); - rt_mutex_handle_deadlock(ret, chwalk, waiter); + rt_mutex_handle_deadlock(ret, chwalk, lock, waiter); } =20 /* . Date: Sun, 1 Sep 2024 13:44:02 +0200 (CEST) From: Thomas Gleixner To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, x86@kernel.org Subject: [GIT pull] perf/urgent for v6.11-rc7 Linus, please pull the latest perf/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-2024= -09-01 up to: 25dfc9e357af: perf/x86/intel: Limit the period on Haswell A single fix for x86 performance monitoring: Haswell PMUs suffer from several errata and require to limit the minimal period for counter events, otherwise they suffer from endless loops in the PMU interrupt. Thanks, tglx ------------------> Kan Liang (1): perf/x86/intel: Limit the period on Haswell arch/x86/events/intel/core.c | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c index 0c9c2706d4ec..9e519d8a810a 100644 --- a/arch/x86/events/intel/core.c +++ b/arch/x86/events/intel/core.c @@ -4589,6 +4589,25 @@ static enum hybrid_cpu_type adl_get_hybrid_cpu_type(vo= id) return HYBRID_INTEL_CORE; } =20 +static inline bool erratum_hsw11(struct perf_event *event) +{ + return (event->hw.config & INTEL_ARCH_EVENT_MASK) =3D=3D + X86_CONFIG(.event=3D0xc0, .umask=3D0x01); +} + +/* + * The HSW11 requires a period larger than 100 which is the same as the BDM1= 1. + * A minimum period of 128 is enforced as well for the INST_RETIRED.ALL. + * + * The message 'interrupt took too long' can be observed on any counter which + * was armed with a period < 32 and two events expired in the same NMI. + * A minimum period of 32 is enforced for the rest of the events. + */ +static void hsw_limit_period(struct perf_event *event, s64 *left) +{ + *left =3D max(*left, erratum_hsw11(event) ? 128 : 32); +} + /* * Broadwell: * @@ -4606,8 +4625,7 @@ static enum hybrid_cpu_type adl_get_hybrid_cpu_type(voi= d) */ static void bdw_limit_period(struct perf_event *event, s64 *left) { - if ((event->hw.config & INTEL_ARCH_EVENT_MASK) =3D=3D - X86_CONFIG(.event=3D0xc0, .umask=3D0x01)) { + if (erratum_hsw11(event)) { if (*left < 128) *left =3D 128; *left &=3D ~0x3fULL; @@ -6766,6 +6784,7 @@ __init int intel_pmu_init(void) =20 x86_pmu.hw_config =3D hsw_hw_config; x86_pmu.get_event_constraints =3D hsw_get_event_constraints; + x86_pmu.limit_period =3D hsw_limit_period; x86_pmu.lbr_double_abort =3D true; extra_attr =3D boot_cpu_has(X86_FEATURE_RTM) ? hsw_format_attr : nhm_format_attr; . Date: Sun, 1 Sep 2024 13:43:59 +0200 (CEST) From: Thomas Gleixner To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, x86@kernel.org Subject: [GIT pull] irq/urgent for v6.11-rc7 Linus, please pull the latest irq/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-2024-= 08-25 up to: 880799fc7a3a: irqchip/irq-msi-lib: Check for NULL ops in msi_lib_irq_= domain_select() A set of fixes for interrupt chip drivers: - Unbreak the PLIC driver for Allwinner D1 systems The recent conversion of the PLIC driver to a platform driver broke Allwinnder D1 systems due to the deferred probing of platform drivers. Due to that the only timer available on D1 systems cannot get an interrupt, which causes the system to hang at boot. Other RISCV platforms are not affected because they provide the architected SBI timer which uses the built in core interrupt controller. Cure this by probing PLIC early on D1 systems - Cure a regression in ARM/GIC-V3 on 32-bit ARM systems caused by the recent addition of a initialization function, which accesses system registers before they are enabled. On 64-bit ARM they are enabled prior to that by sheer luck. Ensure they are enabled. - Cure a use before check problem in the MSI library. The existing NULL pointer check is too late. - Cure a lock order inversion in the ARM/GIC-V4 driver - Fix a IS_ERR() vs. NULL pointer check issue in the RISCV APLIC driver - Plug a reference count leak in the ARM/GIC-V2 driver Thanks, tglx ------------------> Anup Patel (1): irqchip/sifive-plic: Probe plic driver early for Allwinner D1 platform Dan Carpenter (1): irqchip/riscv-aplic: Fix an IS_ERR() vs NULL bug in probe() Ma Ke (1): irqchip/gic-v2m: Fix refcount leak in gicv2m_of_init() Marc Zyngier (1): irqchip/gic-v4: Fix ordering between vmapp and vpe locks Mark Rutland (1): irqchip/gic-v3: Init SRE before poking sysregs Maxime Chevallier (1): irqchip/irq-msi-lib: Check for NULL ops in msi_lib_irq_domain_select() drivers/irqchip/irq-gic-v2m.c | 6 +- drivers/irqchip/irq-gic-v3-its.c | 16 +++-- drivers/irqchip/irq-gic-v3.c | 21 ++++-- drivers/irqchip/irq-msi-lib.c | 5 +- drivers/irqchip/irq-riscv-aplic-main.c | 4 +- drivers/irqchip/irq-sifive-plic.c | 115 ++++++++++++++++++++-----------= -- 6 files changed, 104 insertions(+), 63 deletions(-) diff --git a/drivers/irqchip/irq-gic-v2m.c b/drivers/irqchip/irq-gic-v2m.c index 51af63c046ed..be35c5349986 100644 --- a/drivers/irqchip/irq-gic-v2m.c +++ b/drivers/irqchip/irq-gic-v2m.c @@ -407,12 +407,12 @@ static int __init gicv2m_of_init(struct fwnode_handle *= parent_handle, =20 ret =3D gicv2m_init_one(&child->fwnode, spi_start, nr_spis, &res, 0); - if (ret) { - of_node_put(child); + if (ret) break; - } } =20 + if (ret && child) + of_node_put(child); if (!ret) ret =3D gicv2m_allocate_domains(parent); if (ret) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-it= s.c index 9b34596b3542..fdec478ba5e7 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -1329,12 +1329,6 @@ static void its_send_vmovp(struct its_vpe *vpe) return; } =20 - /* - * Protect against concurrent updates of the mapping state on - * individual VMs. - */ - guard(raw_spinlock_irqsave)(&vpe->its_vm->vmapp_lock); - /* * Yet another marvel of the architecture. If using the * its_list "feature", we need to make sure that all ITSs @@ -3824,7 +3818,14 @@ static int its_vpe_set_affinity(struct irq_data *d, * protect us, and that we must ensure nobody samples vpe->col_idx * during the update, hence the lock below which must also be * taken on any vLPI handling path that evaluates vpe->col_idx. + * + * Finally, we must protect ourselves against concurrent updates of + * the mapping state on this VM should the ITS list be in use (see + * the shortcut in its_send_vmovp() otherewise). */ + if (its_list_map) + raw_spin_lock(&vpe->its_vm->vmapp_lock); + from =3D vpe_to_cpuid_lock(vpe, &flags); table_mask =3D gic_data_rdist_cpu(from)->vpe_table_mask; =20 @@ -3854,6 +3855,9 @@ static int its_vpe_set_affinity(struct irq_data *d, irq_data_update_effective_affinity(d, cpumask_of(cpu)); vpe_to_cpuid_unlock(vpe, flags); =20 + if (its_list_map) + raw_spin_unlock(&vpe->its_vm->vmapp_lock); + return IRQ_SET_MASK_OK_DONE; } =20 diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index c19083bfb943..74f21e03d4a3 100644 --- a/drivers/irqchip/irq-gic-v3.c +++ b/drivers/irqchip/irq-gic-v3.c @@ -1154,14 +1154,8 @@ static void gic_update_rdist_properties(void) gic_data.rdists.has_vpend_valid_dirty ? "Valid+Dirty " : ""); } =20 -static void gic_cpu_sys_reg_init(void) +static void gic_cpu_sys_reg_enable(void) { - int i, cpu =3D smp_processor_id(); - u64 mpidr =3D gic_cpu_to_affinity(cpu); - u64 need_rss =3D MPIDR_RS(mpidr); - bool group0; - u32 pribits; - /* * Need to check that the SRE bit has actually been set. If * not, it means that SRE is disabled at EL2. We're going to @@ -1172,6 +1166,16 @@ static void gic_cpu_sys_reg_init(void) if (!gic_enable_sre()) pr_err("GIC: unable to set SRE (disabled at EL2), panic ahead\n"); =20 +} + +static void gic_cpu_sys_reg_init(void) +{ + int i, cpu =3D smp_processor_id(); + u64 mpidr =3D gic_cpu_to_affinity(cpu); + u64 need_rss =3D MPIDR_RS(mpidr); + bool group0; + u32 pribits; + pribits =3D gic_get_pribits(); =20 group0 =3D gic_has_group0(); @@ -1333,6 +1337,7 @@ static int gic_check_rdist(unsigned int cpu) =20 static int gic_starting_cpu(unsigned int cpu) { + gic_cpu_sys_reg_enable(); gic_cpu_init(); =20 if (gic_dist_supports_lpis()) @@ -1498,6 +1503,7 @@ static int gic_cpu_pm_notifier(struct notifier_block *s= elf, if (cmd =3D=3D CPU_PM_EXIT) { if (gic_dist_security_disabled()) gic_enable_redist(true); + gic_cpu_sys_reg_enable(); gic_cpu_sys_reg_init(); } else if (cmd =3D=3D CPU_PM_ENTER && gic_dist_security_disabled()) { gic_write_grpen1(0); @@ -2070,6 +2076,7 @@ static int __init gic_init_bases(phys_addr_t dist_phys_= base, =20 gic_update_rdist_properties(); =20 + gic_cpu_sys_reg_enable(); gic_prio_init(); gic_dist_init(); gic_cpu_init(); diff --git a/drivers/irqchip/irq-msi-lib.c b/drivers/irqchip/irq-msi-lib.c index b5b90003311a..d8e29fc0d406 100644 --- a/drivers/irqchip/irq-msi-lib.c +++ b/drivers/irqchip/irq-msi-lib.c @@ -128,6 +128,9 @@ int msi_lib_irq_domain_select(struct irq_domain *d, struc= t irq_fwspec *fwspec, const struct msi_parent_ops *ops =3D d->msi_parent_ops; u32 busmask =3D BIT(bus_token); =20 + if (!ops) + return 0; + if (fwspec->fwnode !=3D d->fwnode || fwspec->param_count !=3D 0) return 0; =20 @@ -135,6 +138,6 @@ int msi_lib_irq_domain_select(struct irq_domain *d, struc= t irq_fwspec *fwspec, if (bus_token =3D=3D ops->bus_select_token) return 1; =20 - return ops && !!(ops->bus_select_mask & busmask); + return !!(ops->bus_select_mask & busmask); } EXPORT_SYMBOL_GPL(msi_lib_irq_domain_select); diff --git a/drivers/irqchip/irq-riscv-aplic-main.c b/drivers/irqchip/irq-ris= cv-aplic-main.c index 28dd175b5764..981fad6fb8f7 100644 --- a/drivers/irqchip/irq-riscv-aplic-main.c +++ b/drivers/irqchip/irq-riscv-aplic-main.c @@ -175,9 +175,9 @@ static int aplic_probe(struct platform_device *pdev) =20 /* Map the MMIO registers */ regs =3D devm_platform_ioremap_resource(pdev, 0); - if (!regs) { + if (IS_ERR(regs)) { dev_err(dev, "failed map MMIO registers\n"); - return -ENOMEM; + return PTR_ERR(regs); } =20 /* diff --git a/drivers/irqchip/irq-sifive-plic.c b/drivers/irqchip/irq-sifive-p= lic.c index 9e22f7e378f5..4d9ea718086d 100644 --- a/drivers/irqchip/irq-sifive-plic.c +++ b/drivers/irqchip/irq-sifive-plic.c @@ -3,6 +3,7 @@ * Copyright (C) 2017 SiFive * Copyright (C) 2018 Christoph Hellwig */ +#define pr_fmt(fmt) "riscv-plic: " fmt #include #include #include @@ -63,7 +64,7 @@ #define PLIC_QUIRK_EDGE_INTERRUPT 0 =20 struct plic_priv { - struct device *dev; + struct fwnode_handle *fwnode; struct cpumask lmask; struct irq_domain *irqdomain; void __iomem *regs; @@ -378,8 +379,8 @@ static void plic_handle_irq(struct irq_desc *desc) int err =3D generic_handle_domain_irq(handler->priv->irqdomain, hwirq); if (unlikely(err)) { - dev_warn_ratelimited(handler->priv->dev, - "can't find mapping for hwirq %lu\n", hwirq); + pr_warn_ratelimited("%pfwP: can't find mapping for hwirq %lu\n", + handler->priv->fwnode, hwirq); } } =20 @@ -408,7 +409,8 @@ static int plic_starting_cpu(unsigned int cpu) enable_percpu_irq(plic_parent_irq, irq_get_trigger_type(plic_parent_irq)); else - dev_warn(handler->priv->dev, "cpu%d: parent irq not available\n", cpu); + pr_warn("%pfwP: cpu%d: parent irq not available\n", + handler->priv->fwnode, cpu); plic_set_threshold(handler, PLIC_ENABLE_THRESHOLD); =20 return 0; @@ -424,38 +426,36 @@ static const struct of_device_id plic_match[] =3D { {} }; =20 -static int plic_parse_nr_irqs_and_contexts(struct platform_device *pdev, +static int plic_parse_nr_irqs_and_contexts(struct fwnode_handle *fwnode, u32 *nr_irqs, u32 *nr_contexts) { - struct device *dev =3D &pdev->dev; int rc; =20 /* * Currently, only OF fwnode is supported so extend this * function for ACPI support. */ - if (!is_of_node(dev->fwnode)) + if (!is_of_node(fwnode)) return -EINVAL; =20 - rc =3D of_property_read_u32(to_of_node(dev->fwnode), "riscv,ndev", nr_irqs); + rc =3D of_property_read_u32(to_of_node(fwnode), "riscv,ndev", nr_irqs); if (rc) { - dev_err(dev, "riscv,ndev property not available\n"); + pr_err("%pfwP: riscv,ndev property not available\n", fwnode); return rc; } =20 - *nr_contexts =3D of_irq_count(to_of_node(dev->fwnode)); + *nr_contexts =3D of_irq_count(to_of_node(fwnode)); if (WARN_ON(!(*nr_contexts))) { - dev_err(dev, "no PLIC context available\n"); + pr_err("%pfwP: no PLIC context available\n", fwnode); return -EINVAL; } =20 return 0; } =20 -static int plic_parse_context_parent(struct platform_device *pdev, u32 conte= xt, +static int plic_parse_context_parent(struct fwnode_handle *fwnode, u32 conte= xt, u32 *parent_hwirq, int *parent_cpu) { - struct device *dev =3D &pdev->dev; struct of_phandle_args parent; unsigned long hartid; int rc; @@ -464,10 +464,10 @@ static int plic_parse_context_parent(struct platform_de= vice *pdev, u32 context, * Currently, only OF fwnode is supported so extend this * function for ACPI support. */ - if (!is_of_node(dev->fwnode)) + if (!is_of_node(fwnode)) return -EINVAL; =20 - rc =3D of_irq_parse_one(to_of_node(dev->fwnode), context, &parent); + rc =3D of_irq_parse_one(to_of_node(fwnode), context, &parent); if (rc) return rc; =20 @@ -480,48 +480,55 @@ static int plic_parse_context_parent(struct platform_de= vice *pdev, u32 context, return 0; } =20 -static int plic_probe(struct platform_device *pdev) +static int plic_probe(struct fwnode_handle *fwnode) { int error =3D 0, nr_contexts, nr_handlers =3D 0, cpu, i; - struct device *dev =3D &pdev->dev; unsigned long plic_quirks =3D 0; struct plic_handler *handler; u32 nr_irqs, parent_hwirq; struct plic_priv *priv; irq_hw_number_t hwirq; + void __iomem *regs; =20 - if (is_of_node(dev->fwnode)) { + if (is_of_node(fwnode)) { const struct of_device_id *id; =20 - id =3D of_match_node(plic_match, to_of_node(dev->fwnode)); + id =3D of_match_node(plic_match, to_of_node(fwnode)); if (id) plic_quirks =3D (unsigned long)id->data; + + regs =3D of_iomap(to_of_node(fwnode), 0); + if (!regs) + return -ENOMEM; + } else { + return -ENODEV; } =20 - error =3D plic_parse_nr_irqs_and_contexts(pdev, &nr_irqs, &nr_contexts); + error =3D plic_parse_nr_irqs_and_contexts(fwnode, &nr_irqs, &nr_contexts); if (error) - return error; + goto fail_free_regs; =20 - priv =3D devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); - if (!priv) - return -ENOMEM; + priv =3D kzalloc(sizeof(*priv), GFP_KERNEL); + if (!priv) { + error =3D -ENOMEM; + goto fail_free_regs; + } =20 - priv->dev =3D dev; + priv->fwnode =3D fwnode; priv->plic_quirks =3D plic_quirks; priv->nr_irqs =3D nr_irqs; + priv->regs =3D regs; =20 - priv->regs =3D devm_platform_ioremap_resource(pdev, 0); - if (WARN_ON(!priv->regs)) - return -EIO; - - priv->prio_save =3D devm_bitmap_zalloc(dev, nr_irqs, GFP_KERNEL); - if (!priv->prio_save) - return -ENOMEM; + priv->prio_save =3D bitmap_zalloc(nr_irqs, GFP_KERNEL); + if (!priv->prio_save) { + error =3D -ENOMEM; + goto fail_free_priv; + } =20 for (i =3D 0; i < nr_contexts; i++) { - error =3D plic_parse_context_parent(pdev, i, &parent_hwirq, &cpu); + error =3D plic_parse_context_parent(fwnode, i, &parent_hwirq, &cpu); if (error) { - dev_warn(dev, "hwirq for context%d not found\n", i); + pr_warn("%pfwP: hwirq for context%d not found\n", fwnode, i); continue; } =20 @@ -543,7 +550,7 @@ static int plic_probe(struct platform_device *pdev) } =20 if (cpu < 0) { - dev_warn(dev, "Invalid cpuid for context %d\n", i); + pr_warn("%pfwP: Invalid cpuid for context %d\n", fwnode, i); continue; } =20 @@ -554,7 +561,7 @@ static int plic_probe(struct platform_device *pdev) */ handler =3D per_cpu_ptr(&plic_handlers, cpu); if (handler->present) { - dev_warn(dev, "handler already present for context %d.\n", i); + pr_warn("%pfwP: handler already present for context %d.\n", fwnode, i); plic_set_threshold(handler, PLIC_DISABLE_THRESHOLD); goto done; } @@ -568,8 +575,8 @@ static int plic_probe(struct platform_device *pdev) i * CONTEXT_ENABLE_SIZE; handler->priv =3D priv; =20 - handler->enable_save =3D devm_kcalloc(dev, DIV_ROUND_UP(nr_irqs, 32), - sizeof(*handler->enable_save), GFP_KERNEL); + handler->enable_save =3D kcalloc(DIV_ROUND_UP(nr_irqs, 32), + sizeof(*handler->enable_save), GFP_KERNEL); if (!handler->enable_save) goto fail_cleanup_contexts; done: @@ -581,7 +588,7 @@ static int plic_probe(struct platform_device *pdev) nr_handlers++; } =20 - priv->irqdomain =3D irq_domain_add_linear(to_of_node(dev->fwnode), nr_irqs = + 1, + priv->irqdomain =3D irq_domain_add_linear(to_of_node(fwnode), nr_irqs + 1, &plic_irqdomain_ops, priv); if (WARN_ON(!priv->irqdomain)) goto fail_cleanup_contexts; @@ -619,13 +626,13 @@ static int plic_probe(struct platform_device *pdev) } } =20 - dev_info(dev, "mapped %d interrupts with %d handlers for %d contexts.\n", - nr_irqs, nr_handlers, nr_contexts); + pr_info("%pfwP: mapped %d interrupts with %d handlers for %d contexts.\n", + fwnode, nr_irqs, nr_handlers, nr_contexts); return 0; =20 fail_cleanup_contexts: for (i =3D 0; i < nr_contexts; i++) { - if (plic_parse_context_parent(pdev, i, &parent_hwirq, &cpu)) + if (plic_parse_context_parent(fwnode, i, &parent_hwirq, &cpu)) continue; if (parent_hwirq !=3D RV_IRQ_EXT || cpu < 0) continue; @@ -634,17 +641,37 @@ static int plic_probe(struct platform_device *pdev) handler->present =3D false; handler->hart_base =3D NULL; handler->enable_base =3D NULL; + kfree(handler->enable_save); handler->enable_save =3D NULL; handler->priv =3D NULL; } - return -ENOMEM; + bitmap_free(priv->prio_save); +fail_free_priv: + kfree(priv); +fail_free_regs: + iounmap(regs); + return error; +} + +static int plic_platform_probe(struct platform_device *pdev) +{ + return plic_probe(pdev->dev.fwnode); } =20 static struct platform_driver plic_driver =3D { .driver =3D { .name =3D "riscv-plic", .of_match_table =3D plic_match, + .suppress_bind_attrs =3D true, }, - .probe =3D plic_probe, + .probe =3D plic_platform_probe, }; builtin_platform_driver(plic_driver); + +static int __init plic_early_probe(struct device_node *node, + struct device_node *parent) +{ + return plic_probe(&node->fwnode); +} + +IRQCHIP_DECLARE(riscv, "allwinner,sun20i-d1-plic", plic_early_probe); . Date: Sun, 1 Sep 2024 13:44:04 +0200 (CEST) From: Thomas Gleixner To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, x86@kernel.org Subject: [GIT pull] x86/urgent for v6.11-rc7 Linus, please pull the latest x86/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2024-= 09-01 up to: a547a5880cba: x86/resctrl: Fix arch_mbm_* array overrun on SNC A set of X86 fixes: - x2apic_disable() clears x2apic_state and x2apic_mode unconditionally, even when the state is X2APIC_ON_LOCKED, which prevents the kernel to disable it thereby creating inconsistent state. Reorder the logic so it actually works correctly - The XSTATE logic for handling LBR is incorrect as it assumes that XSAVES supports LBR when the CPU supports LBR. In fact both conditions need to be true. Otherwise the enablement of LBR in the IA32_XSS MSR fails and subsequently the machine crashes on the next XRSTORS operation because IA32_XSS is not initialized. Cache the XSTATE support bit during init and make the related functions use this cached information and the LBR CPU feature bit to cure this. - Cure a long standing bug in KASLR KASLR uses the full address space between PAGE_OFFSET and vaddr_end to randomize the starting points of the direct map, vmalloc and vmemmap regions. It thereby limits the size of the direct map by using the installed memory size plus an extra configurable margin for hot-plug memory. This limitation is done to gain more randomization space because otherwise only the holes between the direct map, vmalloc, vmemmap and vaddr_end would be usable for randomizing. =20 The limited direct map size is not exposed to the rest of the kernel, so the memory hot-plug and resource management related code paths still operate under the assumption that the available address space can be determined with MAX_PHYSMEM_BITS. request_free_mem_region() allocates from (1 << MAX_PHYSMEM_BITS) - 1 downwards. That means the first allocation happens past the end of the direct map and if unlucky this address is in the vmalloc space, which causes high_memory to become greater than VMALLOC_START and consequently causes iounmap() to fail for valid ioremap addresses. Cure this by exposing the end of the direct map via PHYSMEM_END and use that for the memory hot-plug and resource management related places instead of relying on MAX_PHYSMEM_BITS. In the KASLR case PHYSMEM_END maps to a variable which is initialized by the KASLR initialization and otherwise it is based on MAX_PHYSMEM_BITS as before. - Prevent a data leak in mmio_read(). The TDVMCALL exposes the value of an initialized variabled on the stack to the VMM. The variable is only required as output value, so it does not have to exposed to the VMM in the first place. - Prevent an array overrun in the resource control code on systems with Sub-NUMA Clustering enabled because the code failed to adjust the index by the number of SNC nodes per L3 cache. Thanks, tglx ------------------> Kirill A. Shutemov (1): x86/tdx: Fix data leak in mmio_read() Mitchell Levy (1): x86/fpu: Avoid writing LBR bit to IA32_XSS unless supported Peter Newman (1): x86/resctrl: Fix arch_mbm_* array overrun on SNC Thomas Gleixner (1): x86/kaslr: Expose and use the end of the physical memory address space Yuntao Wang (1): x86/apic: Make x2apic_disable() work correctly arch/x86/coco/tdx/tdx.c | 1 - arch/x86/include/asm/fpu/types.h | 7 +++++++ arch/x86/include/asm/page_64.h | 1 + arch/x86/include/asm/pgtable_64_types.h | 4 ++++ arch/x86/include/asm/resctrl.h | 6 ------ arch/x86/kernel/apic/apic.c | 11 ++++++----- arch/x86/kernel/cpu/resctrl/core.c | 8 ++++++++ arch/x86/kernel/fpu/xstate.c | 3 +++ arch/x86/kernel/fpu/xstate.h | 4 ++-- arch/x86/mm/init_64.c | 4 ++++ arch/x86/mm/kaslr.c | 32 ++++++++++++++++++++++++++------ include/linux/mm.h | 4 ++++ include/linux/resctrl.h | 1 + kernel/resource.c | 6 ++---- mm/memory_hotplug.c | 2 +- mm/sparse.c | 2 +- 16 files changed, 70 insertions(+), 26 deletions(-) diff --git a/arch/x86/coco/tdx/tdx.c b/arch/x86/coco/tdx/tdx.c index 078e2bac2553..da8b66dce0da 100644 --- a/arch/x86/coco/tdx/tdx.c +++ b/arch/x86/coco/tdx/tdx.c @@ -389,7 +389,6 @@ static bool mmio_read(int size, unsigned long addr, unsig= ned long *val) .r12 =3D size, .r13 =3D EPT_READ, .r14 =3D addr, - .r15 =3D *val, }; =20 if (__tdx_hypercall(&args)) diff --git a/arch/x86/include/asm/fpu/types.h b/arch/x86/include/asm/fpu/type= s.h index eb17f31b06d2..de16862bf230 100644 --- a/arch/x86/include/asm/fpu/types.h +++ b/arch/x86/include/asm/fpu/types.h @@ -591,6 +591,13 @@ struct fpu_state_config { * even without XSAVE support, i.e. legacy features FP + SSE */ u64 legacy_features; + /* + * @independent_features: + * + * Features that are supported by XSAVES, but not managed as part of + * the FPU core, such as LBR + */ + u64 independent_features; }; =20 /* FPU state configuration information */ diff --git a/arch/x86/include/asm/page_64.h b/arch/x86/include/asm/page_64.h index af4302d79b59..f3d257c45225 100644 --- a/arch/x86/include/asm/page_64.h +++ b/arch/x86/include/asm/page_64.h @@ -17,6 +17,7 @@ extern unsigned long phys_base; extern unsigned long page_offset_base; extern unsigned long vmalloc_base; extern unsigned long vmemmap_base; +extern unsigned long physmem_end; =20 static __always_inline unsigned long __phys_addr_nodebug(unsigned long x) { diff --git a/arch/x86/include/asm/pgtable_64_types.h b/arch/x86/include/asm/p= gtable_64_types.h index 9053dfe9fa03..a98e53491a4e 100644 --- a/arch/x86/include/asm/pgtable_64_types.h +++ b/arch/x86/include/asm/pgtable_64_types.h @@ -140,6 +140,10 @@ extern unsigned int ptrs_per_p4d; # define VMEMMAP_START __VMEMMAP_BASE_L4 #endif /* CONFIG_DYNAMIC_MEMORY_LAYOUT */ =20 +#ifdef CONFIG_RANDOMIZE_MEMORY +# define PHYSMEM_END physmem_end +#endif + /* * End of the region for which vmalloc page tables are pre-allocated. * For non-KMSAN builds, this is the same as VMALLOC_END. diff --git a/arch/x86/include/asm/resctrl.h b/arch/x86/include/asm/resctrl.h index 12dbd2588ca7..8b1b6ce1e51b 100644 --- a/arch/x86/include/asm/resctrl.h +++ b/arch/x86/include/asm/resctrl.h @@ -156,12 +156,6 @@ static inline void resctrl_sched_in(struct task_struct *= tsk) __resctrl_sched_in(tsk); } =20 -static inline u32 resctrl_arch_system_num_rmid_idx(void) -{ - /* RMID are independent numbers for x86. num_rmid_idx =3D=3D num_rmid */ - return boot_cpu_data.x86_cache_max_rmid + 1; -} - static inline void resctrl_arch_rmid_idx_decode(u32 idx, u32 *closid, u32 *r= mid) { *rmid =3D idx; diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 66fd4b2a37a3..373638691cd4 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c @@ -1775,12 +1775,9 @@ static __init void apic_set_fixmap(bool read_apic); =20 static __init void x2apic_disable(void) { - u32 x2apic_id, state =3D x2apic_state; + u32 x2apic_id; =20 - x2apic_mode =3D 0; - x2apic_state =3D X2APIC_DISABLED; - - if (state !=3D X2APIC_ON) + if (x2apic_state < X2APIC_ON) return; =20 x2apic_id =3D read_apic_id(); @@ -1793,6 +1790,10 @@ static __init void x2apic_disable(void) } =20 __x2apic_disable(); + + x2apic_mode =3D 0; + x2apic_state =3D X2APIC_DISABLED; + /* * Don't reread the APIC ID as it was already done from * check_x2apic() and the APIC driver still is a x2APIC variant, diff --git a/arch/x86/kernel/cpu/resctrl/core.c b/arch/x86/kernel/cpu/resctrl= /core.c index 1930fce9dfe9..8591d53c144b 100644 --- a/arch/x86/kernel/cpu/resctrl/core.c +++ b/arch/x86/kernel/cpu/resctrl/core.c @@ -119,6 +119,14 @@ struct rdt_hw_resource rdt_resources_all[] =3D { }, }; =20 +u32 resctrl_arch_system_num_rmid_idx(void) +{ + struct rdt_resource *r =3D &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; + + /* RMID are independent numbers for x86. num_rmid_idx =3D=3D num_rmid */ + return r->num_rmid; +} + /* * cache_alloc_hsw_probe() - Have to probe for Intel haswell server CPUs * as they do not have CPUID enumeration support for Cache allocation. diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c index c5a026fee5e0..1339f8328db5 100644 --- a/arch/x86/kernel/fpu/xstate.c +++ b/arch/x86/kernel/fpu/xstate.c @@ -788,6 +788,9 @@ void __init fpu__init_system_xstate(unsigned int legacy_s= ize) goto out_disable; } =20 + fpu_kernel_cfg.independent_features =3D fpu_kernel_cfg.max_features & + XFEATURE_MASK_INDEPENDENT; + /* * Clear XSAVE features that are disabled in the normal CPUID. */ diff --git a/arch/x86/kernel/fpu/xstate.h b/arch/x86/kernel/fpu/xstate.h index 2ee0b9c53dcc..afb404cd2059 100644 --- a/arch/x86/kernel/fpu/xstate.h +++ b/arch/x86/kernel/fpu/xstate.h @@ -62,9 +62,9 @@ static inline u64 xfeatures_mask_supervisor(void) static inline u64 xfeatures_mask_independent(void) { if (!cpu_feature_enabled(X86_FEATURE_ARCH_LBR)) - return XFEATURE_MASK_INDEPENDENT & ~XFEATURE_MASK_LBR; + return fpu_kernel_cfg.independent_features & ~XFEATURE_MASK_LBR; =20 - return XFEATURE_MASK_INDEPENDENT; + return fpu_kernel_cfg.independent_features; } =20 /* XSAVE/XRSTOR wrapper functions */ diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index d8dbeac8b206..ff253648706f 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -958,8 +958,12 @@ static void update_end_of_memory_vars(u64 start, u64 siz= e) int add_pages(int nid, unsigned long start_pfn, unsigned long nr_pages, struct mhp_params *params) { + unsigned long end =3D ((start_pfn + nr_pages) << PAGE_SHIFT) - 1; int ret; =20 + if (WARN_ON_ONCE(end > PHYSMEM_END)) + return -ERANGE; + ret =3D __add_pages(nid, start_pfn, nr_pages, params); WARN_ON_ONCE(ret); =20 diff --git a/arch/x86/mm/kaslr.c b/arch/x86/mm/kaslr.c index 37db264866b6..230f1dee4f09 100644 --- a/arch/x86/mm/kaslr.c +++ b/arch/x86/mm/kaslr.c @@ -47,13 +47,24 @@ static const unsigned long vaddr_end =3D CPU_ENTRY_AREA_B= ASE; */ static __initdata struct kaslr_memory_region { unsigned long *base; + unsigned long *end; unsigned long size_tb; } kaslr_regions[] =3D { - { &page_offset_base, 0 }, - { &vmalloc_base, 0 }, - { &vmemmap_base, 0 }, + { + .base =3D &page_offset_base, + .end =3D &physmem_end, + }, + { + .base =3D &vmalloc_base, + }, + { + .base =3D &vmemmap_base, + }, }; =20 +/* The end of the possible address space for physical memory */ +unsigned long physmem_end __ro_after_init; + /* Get size in bytes used by the memory region */ static inline unsigned long get_padding(struct kaslr_memory_region *region) { @@ -82,6 +93,8 @@ void __init kernel_randomize_memory(void) BUILD_BUG_ON(vaddr_end !=3D CPU_ENTRY_AREA_BASE); BUILD_BUG_ON(vaddr_end > __START_KERNEL_map); =20 + /* Preset the end of the possible address space for physical memory */ + physmem_end =3D ((1ULL << MAX_PHYSMEM_BITS) - 1); if (!kaslr_memory_enabled()) return; =20 @@ -128,11 +141,18 @@ void __init kernel_randomize_memory(void) vaddr +=3D entropy; *kaslr_regions[i].base =3D vaddr; =20 + /* Calculate the end of the region */ + vaddr +=3D get_padding(&kaslr_regions[i]); /* - * Jump the region and add a minimum padding based on - * randomization alignment. + * KASLR trims the maximum possible size of the + * direct-map. Update the physmem_end boundary. + * No rounding required as the region starts + * PUD aligned and size is in units of TB. */ - vaddr +=3D get_padding(&kaslr_regions[i]); + if (kaslr_regions[i].end) + *kaslr_regions[i].end =3D __pa_nodebug(vaddr - 1); + + /* Add a minimum padding based on randomization alignment. */ vaddr =3D round_up(vaddr + 1, PUD_SIZE); remain_entropy -=3D entropy; } diff --git a/include/linux/mm.h b/include/linux/mm.h index c4b238a20b76..b3864156eaa4 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -97,6 +97,10 @@ extern const int mmap_rnd_compat_bits_max; extern int mmap_rnd_compat_bits __read_mostly; #endif =20 +#ifndef PHYSMEM_END +# define PHYSMEM_END ((1ULL << MAX_PHYSMEM_BITS) - 1) +#endif + #include #include =20 diff --git a/include/linux/resctrl.h b/include/linux/resctrl.h index b0875b99e811..d94abba1c716 100644 --- a/include/linux/resctrl.h +++ b/include/linux/resctrl.h @@ -248,6 +248,7 @@ struct resctrl_schema { =20 /* The number of closid supported by this resource regardless of CDP */ u32 resctrl_arch_get_num_closid(struct rdt_resource *r); +u32 resctrl_arch_system_num_rmid_idx(void); int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid); =20 /* diff --git a/kernel/resource.c b/kernel/resource.c index 14777afb0a99..a83040fde236 100644 --- a/kernel/resource.c +++ b/kernel/resource.c @@ -1826,8 +1826,7 @@ static resource_size_t gfr_start(struct resource *base,= resource_size_t size, if (flags & GFR_DESCENDING) { resource_size_t end; =20 - end =3D min_t(resource_size_t, base->end, - (1ULL << MAX_PHYSMEM_BITS) - 1); + end =3D min_t(resource_size_t, base->end, PHYSMEM_END); return end - size + 1; } =20 @@ -1844,8 +1843,7 @@ static bool gfr_continue(struct resource *base, resourc= e_size_t addr, * @size did not wrap 0. */ return addr > addr - size && - addr <=3D min_t(resource_size_t, base->end, - (1ULL << MAX_PHYSMEM_BITS) - 1); + addr <=3D min_t(resource_size_t, base->end, PHYSMEM_END); } =20 static resource_size_t gfr_next(resource_size_t addr, resource_size_t size, diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 66267c26ca1b..951878ab627a 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -1681,7 +1681,7 @@ struct range __weak arch_get_mappable_range(void) =20 struct range mhp_get_pluggable_range(bool need_mapping) { - const u64 max_phys =3D (1ULL << MAX_PHYSMEM_BITS) - 1; + const u64 max_phys =3D PHYSMEM_END; struct range mhp_range; =20 if (need_mapping) { diff --git a/mm/sparse.c b/mm/sparse.c index e4b830091d13..0c3bff882033 100644 --- a/mm/sparse.c +++ b/mm/sparse.c @@ -129,7 +129,7 @@ static inline int sparse_early_nid(struct mem_section *se= ction) static void __meminit mminit_validate_memmodel_limits(unsigned long *start_p= fn, unsigned long *end_pfn) { - unsigned long max_sparsemem_pfn =3D 1UL << (MAX_PHYSMEM_BITS-PAGE_SHIFT); + unsigned long max_sparsemem_pfn =3D (PHYSMEM_END + 1) >> PAGE_SHIFT; =20 /* * Sanity checks - do not allow an architecture to pass . Date: Mon, 2 Sep 2024 10:27:10 +0800 From: Lu Baolu To: Joerg Roedel , Will Deacon Cc: Tina Zhang , Sanjay K Kumar , iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 00/14] [PULL REQUEST] Intel IOMMU updates for v6.12 Hi Joerg, The following changes have been queued for v6.12-rc1. They are about new features and code refactoring, including: - Retire si_domain and convert to use static identity domain - Batched IOTLB/dev-IOTLB invalidation - Small code refactoring and cleanups These patches are based on v6.11-rc6. The complete patches are also available at: https://github.com/LuBaolu/intel-iommu/commits/vtd-update-for-v6.12 Please consider them for iommu next. Best regards, baolu Lu Baolu (10): iommu/vt-d: Require DMA domain if hardware not support passthrough iommu/vt-d: Remove identity mappings from si_domain iommu/vt-d: Always reserve a domain ID for identity setup iommu/vt-d: Remove has_iotlb_device flag iommu/vt-d: Factor out helpers from domain_context_mapping_one() iommu/vt-d: Add support for static identity domain iommu/vt-d: Cleanup si_domain iommu/vt-d: Move PCI PASID enablement to probe path iommu/vt-d: Unconditionally flush device TLB for pasid table updates iommu/vt-d: Add qi_batch for dmar_domain Sanjay K Kumar (1): iommu/vt-d: Fix potential lockup if qi_submit_sync called with 0 count Tina Zhang (3): iommu/vt-d: Factor out invalidation descriptor composition iommu/vt-d: Refactor IOTLB and Dev-IOTLB flush for batching iommu/vt-d: Introduce batched cache invalidation drivers/iommu/intel/iommu.h | 128 ++++++++- drivers/iommu/intel/cache.c | 239 ++++++++++++----- drivers/iommu/intel/dmar.c | 109 ++------ drivers/iommu/intel/iommu.c | 503 +++++++++++++++-------------------- drivers/iommu/intel/nested.c | 3 +- drivers/iommu/intel/pasid.c | 12 +- drivers/iommu/intel/svm.c | 7 +- 7 files changed, 547 insertions(+), 454 deletions(-) -- 2.34.1 . Date: Mon, 2 Sep 2024 11:10:02 +0200 From: Daniel Lezcano To: Thomas Gleixner Cc: Jacky Bai , Daniel Lezcano , Linux Kernel Mailing List Subject: [GIT PULL] timer drivers fixes for v6.11-rc7 Hi Thomas, please consider pulling the following changes since commit 431c1646e1f86b949fa3685efc50b660a364c2b6: Linux 6.11-rc6 (2024-09-01 19:46:02 +1200) are available in the Git repository at: https://git.linaro.org/people/daniel.lezcano/linux.git tags/timers-v6.11-rc7 for you to fetch changes up to 3d5c2f8e75a55cfb11a85086c71996af0354a1fb: clocksource/drivers/imx-tpm: Fix next event not taking effect sometime (2024-09-02 10:04:15 +0200) ---------------------------------------------------------------- - Remove percpu irq related code in the timer-of initialization routine as it is broken but also unused (Daniel Lezcano) - Fix return -ETIME when delta exceeds INT_MAX and the next event not taking effect sometimes (Jacky Bai) ---------------------------------------------------------------- Daniel Lezcano (1): clocksource/drivers/timer-of: Remove percpu irq related code Jacky Bai (2): clocksource/drivers/imx-tpm: Fix return -ETIME when delta exceeds INT_MAX clocksource/drivers/imx-tpm: Fix next event not taking effect sometime drivers/clocksource/timer-imx-tpm.c | 16 ++++++++++++---- drivers/clocksource/timer-of.c | 17 ++++------------- drivers/clocksource/timer-of.h | 1 - 3 files changed, 16 insertions(+), 18 deletions(-) -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog . Date: Tue, 3 Sep 2024 08:36:41 +0200 From: Christophe Leroy To: soc@kernel.org, Arnd Bergmann Cc: Herve Codina , Xiaolei Wang , Lu Baolu , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , Linux ARM Subject: [GIT PULL] SOC FSL for 6.12 (retry) Hi Arnd, Please pull the following Freescale Soc Drivers changes for 6.12 There are no conflicts with latest linux-next tree. Thanks Christophe The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: https://github.com/chleroy/linux.git tags/soc_fsl-6.12-2 for you to fetch changes up to 7a99b1c0bce5cf8c554ceecd29ad1e8085557fd3: Merge branch 'support-for-quicc-engine-tsa-and-qmc' (2024-09-03 07:51:34 +0200) ---------------------------------------------------------------- - A series from Hervé Codina that bring support for the newer version of QMC (QUICC Multi-channel Controller) and TSA (Time Slots Assigner) found on MPC 83xx micro-controllers. - Misc changes for qbman freescale drivers for removing a redundant warning and using iommu_paging_domain_alloc() ---------------------------------------------------------------- Christophe Leroy (1): Merge branch 'support-for-quicc-engine-tsa-and-qmc' Herve Codina (36): soc: fsl: cpm1: qmc: Update TRNSYNC only in transparent mode soc: fsl: cpm1: qmc: Enable TRNSYNC only when needed soc: fsl: cpm1: tsa: Fix tsa_write8() soc: fsl: cpm1: tsa: Use BIT(), GENMASK() and FIELD_PREP() macros soc: fsl: cpm1: tsa: Fix blank line and spaces soc: fsl: cpm1: tsa: Add missing spinlock comment dt-bindings: soc: fsl: cpm_qe: Add QUICC Engine (QE) TSA controller soc: fsl: cpm1: tsa: Remove unused registers offset definition soc: fsl: cpm1: tsa: Use ARRAY_SIZE() instead of hardcoded integer values soc: fsl: cpm1: tsa: Make SIRAM entries specific to CPM1 soc: fsl: cpm1: tsa: Introduce tsa_setup() and its CPM1 compatible version soc: fsl: cpm1: tsa: Isolate specific CPM1 part from tsa_serial_{dis}connect() soc: fsl: cpm1: tsa: Introduce tsa_version soc: fsl: cpm1: tsa: Add support for QUICC Engine (QE) implementation MAINTAINERS: Add QE files related to the Freescale TSA controller soc: fsl: cpm1: tsa: Introduce tsa_serial_get_num() soc: fsl: cpm1: qmc: Rename QMC_TSA_MASK soc: fsl: cpm1: qmc: Use BIT(), GENMASK() and FIELD_PREP() macros soc: fsl: cpm1: qmc: Fix blank line and spaces soc: fsl: cpm1: qmc: Remove unneeded parenthesis soc: fsl: cpm1: qmc: Fix 'transmiter' typo soc: fsl: cpm1: qmc: Add missing spinlock comment dt-bindings: soc: fsl: cpm_qe: Add QUICC Engine (QE) QMC controller soc: fsl: cpm1: qmc: Introduce qmc_data structure soc: fsl: cpm1: qmc: Re-order probe() operations soc: fsl: cpm1: qmc: Introduce qmc_init_resource() and its CPM1 version soc: fsl: cpm1: qmc: Introduce qmc_{init,exit}_xcc() and their CPM1 version soc: fsl: cpm1: qmc: Rename qmc_chan_command() soc: fsl: cpm1: qmc: Handle RPACK initialization soc: fsl: cpm1: qmc: Rename SCC_GSMRL_MODE_QMC soc: fsl: cpm1: qmc: Introduce qmc_version soc: fsl: qe: Add resource-managed muram allocators soc: fsl: qe: Add missing PUSHSCHED command soc: fsl: cpm1: qmc: Add support for QUICC Engine (QE) implementation soc: fsl: cpm1: qmc: Handle QUICC Engine (QE) soft-qmc firmware MAINTAINERS: Add QE files related to the Freescale QMC controller Lu Baolu (1): soc: fsl: qbman: Use iommu_paging_domain_alloc() Xiaolei Wang (1): soc: fsl: qbman: Remove redundant warnings .../bindings/soc/fsl/cpm_qe/fsl,qe-tsa.yaml | 210 +++++++ .../bindings/soc/fsl/cpm_qe/fsl,qe-ucc-qmc.yaml | 197 ++++++ MAINTAINERS | 3 + drivers/soc/fsl/qbman/qman_ccsr.c | 2 - drivers/soc/fsl/qbman/qman_portal.c | 5 +- drivers/soc/fsl/qe/Kconfig | 18 +- drivers/soc/fsl/qe/qe_common.c | 80 +++ drivers/soc/fsl/qe/qmc.c | 667 ++++++++++++++++----- drivers/soc/fsl/qe/tsa.c | 659 +++++++++++++++----- drivers/soc/fsl/qe/tsa.h | 3 + include/dt-bindings/soc/qe-fsl,tsa.h | 13 + include/soc/fsl/qe/qe.h | 23 +- 12 files changed, 1552 insertions(+), 328 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-tsa.yaml create mode 100644 Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-ucc-qmc.yaml create mode 100644 include/dt-bindings/soc/qe-fsl,tsa.h . Date: Tue, 3 Sep 2024 12:38:12 +0200 From: Miklos Szeredi To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [GIT PULL] fuse fixes for 6.11-rc7 Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-fixes-6.11-rc7 - Fix EIO if splice and page stealing are enabled on the fuse device - Disable problematic combination of passthrough and writeback-cache - Other bug fixes found by code review Thanks, Miklos --- Bernd Schubert (1): fuse: disable the combination of passthrough and writeback cache Jann Horn (1): fuse: use unsigned type for getxattr/listxattr size truncation Joanne Koong (2): fuse: check aborted connection before adding requests to pending list for resending fuse: update stats for pages in dropped aux writeback list Miklos Szeredi (1): fuse: clear PG_uptodate when using a stolen page yangyun (1): fuse: fix memory leak in fuse_create_open --- fs/fuse/dev.c | 14 ++++++++++---- fs/fuse/dir.c | 2 +- fs/fuse/file.c | 8 +++++++- fs/fuse/inode.c | 7 ++++++- fs/fuse/xattr.c | 4 ++-- 5 files changed, 26 insertions(+), 9 deletions(-) . Date: Tue, 3 Sep 2024 10:56:32 -0500 From: Nishanth Menon To: Arnd , Olof , SoC Subject: [GIT PULL 1/3] soc: ti: Driver updates for v6.12 --m7ebxaqyq4z7akcy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git tags/ti-driv= er-soc-for-v6.12 for you to fetch changes up to 68123510b7c1c610387dd306f92ff539c3c546b5: soc: ti: pm33xx: do device_node auto cleanup (2024-08-28 12:18:02 -0500) ---------------------------------------------------------------- TI SoC driver updates for v6.12 - pm33xx/knav_qmss_queue/pruss: Cleanups around device_node scope based cle= anups - knav: Additional fixes around of property - k3-ringacc: Optimizations for data structure ---------------------------------------------------------------- Christophe JAILLET (1): soc: ti: k3-ringacc: Constify struct k3_ring_ops Kousik Sanagavarapu (4): soc: ti: pruss: factor out memories setup soc: ti: pruss: do device_node auto cleanup soc: ti: knav_qmss_queue: do device_node auto cleanup soc: ti: pm33xx: do device_node auto cleanup Rob Herring (Arm) (2): soc: ti: knav: Drop unnecessary check for property presence soc: ti: knav: Use of_property_read_variable_u32_array() drivers/soc/ti/k3-ringacc.c | 12 +-- drivers/soc/ti/knav_dma.c | 22 ++--- drivers/soc/ti/knav_qmss_queue.c | 105 +++++++++++------------ drivers/soc/ti/pm33xx.c | 52 +++++------- drivers/soc/ti/pruss.c | 176 ++++++++++++++++++-----------------= ---- 5 files changed, 166 insertions(+), 201 deletions(-) --=20 Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5= 849D 1736 249D --m7ebxaqyq4z7akcy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+KKGk1TrgjIXoxo03bWEnRc2JJ0FAmbXMaoACgkQ3bWEnRc2 JJ1pHg/9H8TVXIuY7A9yGfeXU0u0R9pxvdyL0jTM75Ljo7EU5Y4YFqlmXdRSNBml xQ75Gt3MQ8r0nc8504GlvnWc0TshBLewo+YN8RdYjHOo13wwiW2gDgpuROx74x9c HCEAtzmUfwO2JzE0NhlmzmZ9hpWnRakxzuDa55+ySE28T9cH2JyGjMnnJ4o6VG06 vfhgwBHdYssKBFCCuMuT+Thajp1eyzb/Kw2RxCUcNUF5E2ROaZs7JaAJU26cLBUT IW9OiadTuAoDnq8PFdz00u4ECgDNnGFwb2waUFvxZPbcyuvnndMbfYIZBwlNRhNa jqhA1GGWks3yHabNdrh6MESgp5IqfudFM4zpoAcaHtyevdKrWtNVAJfRKMxLF6L8 3C6dNp48uqV1RO8ydVL3Tr5C9LZOKblF+fyx+gKlYFA8OLvj6nnCZqzZ7ScaY3Oc tZOHsfvMv2fQ6KqjXAQs6Js3wPQ5a6jSaYmcXPVjzREFd4iT3WYAh6yKx5GI0j85 6X9zdP8Z5WaU7ok9j/OwmCJfTVNMkmaItf5Yyu4tqE99BhuNr/DCPYvmu2NDOnVB iS2jQNYZwuguWjdm9cSjIwMwVwtbBolTeNMEOIXdx064T51fdXSJup532YSxGBk4 sZ+xXExQxP9xwibyj3RREYClrKKcZ5uzC6yvCxt2UMNs7v6B624= =H3p9 -----END PGP SIGNATURE----- --m7ebxaqyq4z7akcy-- . Date: Tue, 3 Sep 2024 10:56:47 -0500 From: Nishanth Menon To: Olof Johansson , Arnd Bergmann , , Subject: [GIT PULL 2/3] arm64: defconfig: TI K3 platform updates for v6.12 --liknjytimeji63s3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git tags/ti-k3-c= onfig-for-v6.12 for you to fetch changes up to e8c643daeaa9040e18f8349993b9bc504e9d2117: arm64: defconfig: Enable E5010 JPEG Encoder (2024-08-28 12:22:58 -0500) ---------------------------------------------------------------- TI K3 defconfig updates for v6.12 - Enable E5010 JPEG Encoder as kernel module ---------------------------------------------------------------- Devarsh Thakkar (1): arm64: defconfig: Enable E5010 JPEG Encoder arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) --=20 Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5= 849D 1736 249D --liknjytimeji63s3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+KKGk1TrgjIXoxo03bWEnRc2JJ0FAmbXMbkACgkQ3bWEnRc2 JJ05/g//TJEYAMPe4pTqwhF/aZH/Ys/pKjbzPpAAAaEpNUw9RYjWLaLykeVkImCN HukIc3AyfNQMgrUOVjXZacyhXQ6/CY40BvfpQeiTcj8inM/h6Z2JFqjY7KIuRc4a 3ll1//Y2CEx01JtAJ6acLtMhVPvpEdDJ8e7zVpP68DRDyJ5iqkmoI8EbAzwgXFrG Q5poIXM6f7kKvrhRxzY7Z6W3sjwvUtjK7t55J6rjQxcm3YXAzroUyel92AmzIEhm gniJ5POXiO+q0D+t7XGUa62qNga0Rz0CCNdTYQd3CRsrXyh2xkmHxHgjd1Tekng0 XNbCB+uL0W2dP7dHvr1Ic1UwJi41wxmxWeMs6EfqYYmDLcUC/Zyd2QCkcGQfh3WS ON3YEGbAAlQzui4UL7ZBeF1Z4c5gQf2OrvsPCdougZ+U8C9SR74VW2cglOZIl9hM LcfuiRM5Vi3LgFlzH5SeSIaiwjDjZZIPxy11vuqmmFA0jE8RB4W/Gy2RRFNsa/de M1ez3Pz9bvp9d8Ee5+V1uPvasyA+p+TgZat1LB4+b0R6QmTx45a8y1i5BSY3O9ef x2RdHxWr0+DcP1wPwVxLNsvqVq8KWid4Lknsrv7p2sIcUVhfU2OWtRyj0xh3Lk7N +PpXdxuSNFOJmakQLav3dCovdXd1SKRUWBb1mRCYFpqNTNPxUsY= =2WIJ -----END PGP SIGNATURE----- --liknjytimeji63s3-- . Date: Tue, 3 Sep 2024 10:57:01 -0500 From: Nishanth Menon To: Olof Johansson , Arnd Bergmann , , Subject: [GIT PULL 3/3] arm64: dts: ti: K3 devicetree updates for v6.12 --of3w73qqwfcuozur Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, This includes ti-k3-dt-fixes-for-v6.11 changes provided by https://lore.ker= nel.org/all/20240806122659.vmasq2qjy6457bbs@peroxide/ and sent up the chain https://lore.kernel.org/all/3e7ea374-c321-4f80-b22b-9= 6ce34cfaa3e@app.fastmail.com/ Changelog narrative is for changes since ti-k3-dt-fixes-for-v6.11: The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git tags/ti-k3-d= t-for-v6.12 for you to fetch changes up to 5b035d14a508efd065895607ae7a6f913b26fef8: arm64: dts: ti: k3-j722s-evm: Enable Inter-Processor Communication (2024-= 09-01 16:07:42 -0500) ---------------------------------------------------------------- TI K3 device tree updates for v6.12 Generic Fixups/Cleanups: - AM62, AM62A, AM64, AM65, AM62P: ESM node cleanups - J784s4, J721s2, J721e, AM65: FSS (Flash subsystem) fixups for ranges - j721e/j7200/j721s2/am68/am69 SK/SoM, IOT2050: Disable of R5F lockstep - j721e/j7200/j721s2/am68/am69 reserve GP timers for firmware usage. - Misc device tree warning fixups: Serdes simple-mfd fixes for am654-serdes-ctrl; rename of gpio-hog nodes; mux-controller node names SoC Specific features and Fixes: New boards: - AM67A/J722s based BeagleBoard.org Foundation's BeagleY-AI AM62: - Thermal throttling enabled AM62A: - Add E5010 JPEG encoder AM62P: - gpio-reserved ranges - SK: drop cts/rts for wakeup_uart0 firmware console pinmux J722s: (AM62P variant) - IPC/Remote proc for C7x and R5F - gpio-reserved ranges - EVM: Add main_uart5 description and CAN support. AM64x: - adc description fixes for dtbs_check warnings - tqma64xxl and phyboard-electra: Add PRUSS ICSSG capability - CPSW Ethernet is now disabled by default at SoC level and enabled explici= tly at board level. - USB property to add fall back to j721e AM65x: - IOT2050: Add overlays for M.2, add Eth phy LED description - idk: Fixes for DMA causing dtbs_check warning, Add MCAN J721e: - SK and beagleboneai64: Fixes for inverted C6x carveouts J721s2: - AM68-SK: Fixes for mmc clkb internal mux, ospi partition for uboot.backup alignment fixup. J784s4: - WDT clock ID fix. - EVM: Use 4 lanes for PCIe0. ---------------------------------------------------------------- Alessandro Zini (1): arm64: dts: ti: k3-am62: Enable CPU freq throttling on thermal alert Andrew Davis (8): dt-bindings: soc: ti: am654-serdes-ctrl: Add simple-mfd to compatible= items arm64: dts: ti: k3-am65: Add simple-mfd compatible to SerDes control = nodes arm64: dts: ti: k3-j721e-sk: Fix reversed C6x carveout locations arm64: dts: ti: k3-j721e-beagleboneai64: Fix reversed C6x carveout lo= cations arm64: dts: ti: k3-am65: Include entire FSS region in ranges arm64: dts: ti: k3-j721e: Include entire FSS region in ranges arm64: dts: ti: k3-j721s2: Include entire FSS region in ranges arm64: dts: ti: k3-j784s4: Include entire FSS region in ranges Andrew Halaney (2): arm64: dts: ti: k3-j784s4-evm: Assign only lanes 0 and 1 to PCIe1 arm64: dts: ti: k3-j784s4-evm: Consolidate serdes0 references Apurva Nandan (2): arm64: dts: ti: k3-j722s-main: Add R5F and C7x remote processor nodes arm64: dts: ti: k3-j722s-evm: Enable Inter-Processor Communication Beleswar Padhi (14): arm64: dts: ti: k3-j7200-som-p0: Switch MAIN R5F cluster to Split-mode arm64: dts: ti: k3-j721e-som-p0: Switch MAIN R5F clusters to Split-mo= de arm64: dts: ti: k3-j721e-sk: Switch MAIN R5F clusters to Split-mode arm64: dts: ti: k3-j721s2-som-p0: Switch MAIN R5F clusters to Split-m= ode arm64: dts: ti: k3-am68-sk-som: Switch MAIN R5F clusters to Split-mode arm64: dts: ti: k3-j784s4-evm: Switch MAIN R5F clusters to Split-mode arm64: dts: ti: k3-am69-sk: Switch MAIN R5F clusters to Split-mode arm64: dts: ti: k3-j7200-som-p0: Change timer nodes status to reserved arm64: dts: ti: k3-j721e-som-p0: Change timer nodes status to reserved arm64: dts: ti: k3-j721e-sk: Change timer nodes status to reserved arm64: dts: ti: k3-j721s2-som-p0: Change timer nodes status to reserv= ed arm64: dts: ti: k3-am68-sk-som: Change timer nodes status to reserved arm64: dts: ti: k3-j784s4-evm: Change timer nodes status to reserved arm64: dts: ti: k3-am69-sk: Change timer nodes status to reserved Bhavya Kapoor (5): arm64: dts: ti: k3-j721s2-som-p0: Update mux-controller node name arm64: dts: ti: k3-j7200-som-p0: Update mux-controller node name arm64: dts: ti: k3-am68-sk-base-board: Add clklb pin mux for mmc1 arm64: dts: ti: k3-j722s-evm: Describe main_uart5 arm64: dts: ti: k3-j722s-evm: Add support for multiple CAN instances Devarsh Thakkar (1): arm64: dts: ti: k3-am62a: Add E5010 JPEG Encoder Diogo Ivo (1): arm64: dts: ti: iot2050: Declare Ethernet PHY leds Eric Chanudet (1): arm64: dts: ti: k3-j784s4-main: Align watchdog clocks Faiz Abbas (1): arm64: dts: ti: k3-am654-idk: Add Support for MCAN Francesco Dolcini (1): arm64: dts: ti: k3-am62-verdin-dahlia: Keep CTRL_SLEEP_MOCI# regulato= r on Jan Kiszka (2): arm64: dts: ti: k3-am642-evm: Silence schema warning arm64: dts: ti: iot2050: Add overlays for M.2 used by firmware Jared McArthur (5): arm64: dts: ti: k3-am62p: Add gpio-ranges for mcu_gpio0 arm64: dts: ti: k3-am62p: Fix gpio-range for main_pmx0 arm64: dts: ti: k3-j722s: Fix gpio-range for main_pmx0 arm64: dts: ti: k3-am62p: Add gpio-reserved-ranges for main_gpio1 arm64: dts: ti: k3-j722s: Add gpio-reserved-ranges for main_gpio1 Judith Mendez (5): arm64: dts: ti: k3-am62p: Fix ESM interrupt sources arm64: dts: ti: k3-am62: Add comments to ESM nodes arm64: dts: ti: k3-am62a: Add ESM nodes arm64: dts: ti: k3-am64: Add more ESM interrupt sources arm64: dts: ti: k3-am65: Add ESM nodes Li Hua Qian (1): arm64: dts: ti: iot2050: Disable lock-step for all iot2050 boards Logan Bristol (1): arm64: dts: ti: k3-am64*: Disable ethernet by default at SoC level MD Danish Anwar (1): arm64: dts: ti: k3-am654-idk: Fix dtbs_check warning in ICSSG dmas Matthias Schiffer (1): arm64: dts: ti: k3-am642-tqma64xxl-mbax4xxl: add PRU Ethernet support Nishanth Menon (3): Merge tag 'ti-k3-dt-for-v6.11-part2' into ti-k3-dts-next arm64: dts: ti: k3-am642-evm-nand: Rename pinctrl node and gpio-hog n= ames arm64: dts: ti: k3-j721s2-evm-gesi-exp-board: Rename gpio-hog node na= me Parth Pancholi (1): arm64: dts: ti: k3-j784s4-main: Correct McASP DMAs Prasanth Babu Mantena (1): arm64: dts: ti: k3-am68-sk-som: Update Partition info for OSPI Flash Robert Nelson (2): dt-bindings: arm: ti: Add BeagleY-AI arm64: dts: ti: Add k3-am67a-beagley-ai Santhosh Kumar K (1): arm64: dts: ti: k3-am62p: Remove 'reserved' status for ESM Siddharth Vadapalli (1): arm64: dts: ti: k3-j784s4-evm: Use 4 lanes for PCIe0 on EVM Th=E9o Lebrun (1): arm64: dts: ti: k3-am64: add USB fallback compatible to J721E Vibhore Vardhan (1): arm64: dts: ti: k3-am62p5-sk: Remove CTS/RTS from wkup_uart0 pinctrl Wadim Egorov (1): arm64: dts: ti: am642-phyboard-electra: Add PRU-ICSSG nodes Documentation/devicetree/bindings/arm/ti/k3.yaml | 1 + .../bindings/soc/ti/ti,am654-serdes-ctrl.yaml | 3 +- arch/arm64/boot/dts/ti/Makefile | 7 + arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 + arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi | 1 + arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi | 34 ++ arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi | 22 -- arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 6 - arch/arm64/boot/dts/ti/k3-am625.dtsi | 4 + arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 18 + arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi | 8 + arch/arm64/boot/dts/ti/k3-am62a.dtsi | 2 + .../boot/dts/ti/k3-am62p-j722s-common-main.dtsi | 3 +- .../boot/dts/ti/k3-am62p-j722s-common-mcu.dtsi | 6 +- arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 4 +- arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 2 - arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 8 +- arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi | 3 +- arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi | 6 +- arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso | 6 +- arch/arm64/boot/dts/ti/k3-am642-evm.dts | 7 + .../boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 146 ++++++++ arch/arm64/boot/dts/ti/k3-am642-sk.dts | 3 + arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi | 6 +- .../boot/dts/ti/k3-am642-tqma64xxl-mbax4xxl.dts | 104 +++++- .../boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi | 5 - arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 51 +++ arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 12 +- arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 16 +- arch/arm64/boot/dts/ti/k3-am65.dtsi | 12 +- arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts | 5 - arch/arm64/boot/dts/ti/k3-am654-idk.dtso | 69 +++- ...-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtso | 27 ++ .../k3-am6548-iot2050-advanced-m2-bkey-usb3.dtso | 47 +++ arch/arm64/boot/dts/ti/k3-am67a-beagley-ai.dts | 393 +++++++++++++++++= ++++ arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 1 + arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi | 37 +- arch/arm64/boot/dts/ti/k3-am69-sk.dts | 53 +++ arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 21 +- arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts | 4 +- arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 10 +- arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 41 ++- arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 37 ++ arch/arm64/boot/dts/ti/k3-j721e.dtsi | 8 +- .../boot/dts/ti/k3-j721s2-evm-gesi-exp-board.dtso | 2 +- arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 4 +- arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 37 +- arch/arm64/boot/dts/ti/k3-j721s2.dtsi | 8 +- arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 246 +++++++++++++ arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 65 +++- arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 83 ++++- arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 42 +-- arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 14 +- arch/arm64/boot/dts/ti/k3-j784s4.dtsi | 8 +- 54 files changed, 1606 insertions(+), 163 deletions(-) create mode 100644 arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2-bk= ey-ekey-pcie.dtso create mode 100644 arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2-bk= ey-usb3.dtso create mode 100644 arch/arm64/boot/dts/ti/k3-am67a-beagley-ai.dts --=20 Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5= 849D 1736 249D --of3w73qqwfcuozur Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+KKGk1TrgjIXoxo03bWEnRc2JJ0FAmbXMccACgkQ3bWEnRc2 JJ3B/RAApK+2KlkME+qS0W4iLuaYUoTxUr3Lenpyqi3VwTBKwYdhfX8CTSqgNiGi sVUsd7qBKilEfvMudRCHWwCTL0gMgf1zwm/AbCZqGFb9wB9zoY1NNDlECC6HGzMk /GBq6FMdluC6KwW18SLEtrK7RXGj+qnUb8h5pQea3vk673u9rLSBIFFTEDM48/I6 yGnh21/dytvzb1BOt6NjR/T6+1IIlSCuf6nJrBc3ciUGQgI0fPEnxjkoLd/OPamf 1Oes7d9p8vljMHJ4l2ICGOLfQqKFyhBCQ9G5wFoDbN3oYjx5fI9O1mxKx0hI52Ag hetZUf51sqFmcj9YJ2WH3UPVCwqS/RQrRmXg3cKAMmeW+vRuo50GdmvMELipWygE uA0xSyFMO6l5NDE90twQ/r7uSK938MZ94xxcXKRyyIomrftu9fUivFeAcuhyomtM 2PmI07NVEUuPnazqCBmDyPKfb9CdU5mdcg+O7bxNZKT2mqakN1PlqI8gpy03WcGZ VofehBKVJQ1PLRKw8VL6Tg9kYPlZsUsONbJ5PYiOs8BeJAnu/jtJb+ffNCSUBMdB u93EYX+RpduQm6D+u4f8aVt2uDl15x01/mJUn12+4esiyoyXVlv4L6u7D1hb3buq UYGwLbia7JyJjknmfuk+YMItdqE5sdf+2+wToBXnUvd2dmcysjc= =/Bt6 -----END PGP SIGNATURE----- --of3w73qqwfcuozur-- . Date: Tue, 3 Sep 2024 20:26:51 -0700 From: Andrew Morton To: Linus Torvalds Cc: linux-mm@kvack.org, mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] hotfixes for 6.11-rc7 Linus, please pull this batch of hotfixes, thanks. The following changes since commit 431c1646e1f86b949fa3685efc50b660a364c2b6: Linux 6.11-rc6 (2024-09-01 19:46:02 +1200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2024-09-03-20-19 for you to fetch changes up to 052a45c1cb1b32f05dd63a295d65496d8b403283: alloc_tag: fix allocation tag reporting when CONFIG_MODULES=n (2024-09-01 17:59:03 -0700) ---------------------------------------------------------------- 17 hotfixes, 15 of which are cc:stable. Mostly MM, no identifiable theme. And a few nilfs2 fixups. ---------------------------------------------------------------- Adrian Huang (1): mm: vmalloc: optimize vmap_lazy_nr arithmetic when purging each vmap_area Hao Ge (2): mm/slub: add check for s->flags in the alloc_tagging_slab_free_hook codetag: debug: mark codetags for poisoned page as empty Jan Kuliga (1): mailmap: update entry for Jan Kuliga Jann Horn (2): userfaultfd: fix checks for huge PMDs userfaultfd: don't BUG_ON() if khugepaged yanks our page table Liam R. Howlett (1): maple_tree: remove rcu_read_lock() from mt_validate() Marc Zyngier (1): scripts: fix gfp-translate after ___GFP_*_BITS conversion to an enum Mike Yuan (1): mm/memcontrol: respect zswap.writeback setting from parent cg too Muhammad Usama Anjum (1): selftests: mm: fix build errors on armhf Petr Tesarik (1): kexec_file: fix elfcorehdr digest exclusion when CONFIG_CRASH_HOTPLUG=y Ryusuke Konishi (3): nilfs2: protect references to superblock parameters exposed in sysfs nilfs2: fix missing cleanup on rollforward recovery error nilfs2: fix state management in error path of log writing function Suren Baghdasaryan (1): alloc_tag: fix allocation tag reporting when CONFIG_MODULES=n Usama Arif (1): Revert "mm: skip CMA pages when they are not available" Will Deacon (1): mm: vmalloc: ensure vmap_block is initialised before adding to queue .mailmap | 1 + Documentation/admin-guide/cgroup-v2.rst | 7 ++-- fs/nilfs2/recovery.c | 35 ++++++++++++++++- fs/nilfs2/segment.c | 10 +++-- fs/nilfs2/sysfs.c | 43 ++++++++++++++++----- kernel/kexec_file.c | 2 +- lib/codetag.c | 17 ++++++--- lib/maple_tree.c | 7 +--- mm/memcontrol.c | 12 ++++-- mm/page_alloc.c | 7 ++++ mm/slub.c | 4 ++ mm/userfaultfd.c | 29 ++++++++------- mm/vmalloc.c | 7 +++- mm/vmscan.c | 24 +----------- scripts/gfp-translate | 66 ++++++++++++++++++++++++--------- tools/testing/selftests/mm/mseal_test.c | 37 +++++++----------- tools/testing/selftests/mm/seal_elf.c | 13 +------ 17 files changed, 197 insertions(+), 124 deletions(-) . Date: Wed, 4 Sep 2024 11:10:47 +0200 From: Helge Deller To: Linus Torvalds , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [GIT PULL] parisc architecture fix for v6.11-rc7 Hi Linus, Please pull one fix for the parisc architecture to fix a boot issue. Thanks! Helge ---------------------------------------------------------------- The following changes since commit 5be63fc19fcaa4c236b307420483578a56986a37: Linux 6.11-rc5 (2024-08-25 19:07:11 +1200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git tags/parisc-for-6.11-rc7 for you to fetch changes up to 213aa670153ed675a007c1f35c5db544b0fefc94: parisc: Delay write-protection until mark_rodata_ro() call (2024-09-03 12:59:21 +0200) ---------------------------------------------------------------- parisc architecture fix for kernel v6.11-rc7: - Fix boot issue where boot memory is marked read-only too early ---------------------------------------------------------------- Helge Deller (1): parisc: Delay write-protection until mark_rodata_ro() call arch/parisc/mm/init.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) . Date: Wed, 4 Sep 2024 12:57:10 +0300 From: Abel Vesa To: Mike Turquette , Stephen Boyd Cc: imx@lists.linux.dev, NXP Linux Team , linux-clk@vger.kernel.org, Linux Kernel Mailing List Subject: [GIT PULL] clk: imx: Updates for v6.12 The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/abelvesa/linux.git/ tags/clk-imx-6.12 for you to fetch changes up to 32c055ef563c3a4a73a477839f591b1b170bde8e: clk: imx6ul: fix clock parent for IMX6UL_CLK_ENETx_REF_SEL (2024-09-04 12:39:38 +0300) ---------------------------------------------------------------- i.MX clocks changes for 6.12 - Use clk_hw pointer instead of fw_name for acm_aud_clk[0-1]_sel clocks on i.MX8Q as parents in ACM provider - Add i.MX95 NETCMIX support to the block control provider - Fix parents for ENETx_REF_SEL clocks on i.MX6UL ---------------------------------------------------------------- Michel Alex (1): clk: imx6ul: fix clock parent for IMX6UL_CLK_ENETx_REF_SEL Shengjiu Wang (1): clk: imx: imx8: Use clk_hw pointer for self registered clock in clk_parent_data Wei Fang (3): dt-bindings: clock: add i.MX95 NETCMIX block control dt-bindings: clock: add RMII clock selection clk: imx95: enable the clock of NETCMIX block control .../bindings/clock/nxp,imx95-blk-ctl.yaml | 1 + drivers/clk/imx/clk-imx6ul.c | 4 +-- drivers/clk/imx/clk-imx8-acm.c | 38 +++++++++++++++++----- drivers/clk/imx/clk-imx95-blk-ctl.c | 30 +++++++++++++++++ include/dt-bindings/clock/nxp,imx95-clock.h | 3 ++ 5 files changed, 65 insertions(+), 11 deletions(-) . Date: Wed, 4 Sep 2024 14:03:36 +0200 From: Christian Brauner To: Linus Torvalds Cc: Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] vfs fixes /* Summary */ This contains two fixes for this merge window: netfs: - Ensure that fscache_cookie_lru_time is deleted when the fscache module is removed to prevent UAF. - Fix filemap_invalidate_inode() to use invalidate_inode_pages2_range(). Before it used truncate_inode_pages_partial() which causes copy_file_range() to fail on cifs. /* Testing */ Debian clang version 16.0.6 (27+b1) gcc (Debian 14.2.0-1) 14.2.0 /* Conflicts */ No known conflicts. The following changes since commit 5be63fc19fcaa4c236b307420483578a56986a37: Linux 6.11-rc5 (2024-08-25 19:07:11 +1200) are available in the Git repository at: git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.11-rc7.fixes for you to fetch changes up to 72a6e22c604c95ddb3b10b5d3bb85b6ff4dbc34f: fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF (2024-09-01 10:30:25 +0200) Please consider pulling these changes from the signed vfs-6.11-rc7.fixes tag. Thanks! Christian ---------------------------------------------------------------- vfs-6.11-rc7.fixes ---------------------------------------------------------------- Baokun Li (1): fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF David Howells (1): mm: Fix filemap_invalidate_inode() to use invalidate_inode_pages2_range() fs/netfs/fscache_main.c | 1 + mm/filemap.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) . Date: Wed, 4 Sep 2024 09:55:21 -0500 From: Steve French To: Linus Torvalds Cc: LKML , CIFS , Namjae Jeon Subject: [GIT PULL] ksmbd server fixes Please pull the following changes since commit 780bdc1ba77646c3461f1988b12c42c60f836d77: Merge tag '6.11-rc5-server-fixes' of git://git.samba.org/ksmbd (2024-08-25 12:15:04 +1200) are available in the Git repository at: git://git.samba.org/ksmbd.git tags/v6.11-rc6-server-fixes for you to fetch changes up to 844436e045ac2ab7895d8b281cb784a24de1d14d: ksmbd: Unlock on in ksmbd_tcp_set_interfaces() (2024-08-29 20:28:37 -0500) ---------------------------------------------------------------- Three smb3 server fixes - Fix crash in session setup - FIx locking bug - Improve access bounds checking ---------------------------------------------------------------- Dan Carpenter (1): ksmbd: Unlock on in ksmbd_tcp_set_interfaces() Namjae Jeon (1): ksmbd: unset the binding mark of a reused connection Thorsten Blum (1): smb: Annotate struct xattr_smb_acl with __counted_by() fs/smb/server/smb2pdu.c | 4 ++++ fs/smb/server/transport_tcp.c | 4 +++- fs/smb/server/xattr.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) -- Thanks, Steve . Date: Wed, 4 Sep 2024 20:11:04 +0200 From: David Sterba To: torvalds@linux-foundation.org Cc: David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Btrfs fixes for 6.11-rc7 Hi, a few more fixes, for stable trees. Please pull, thanks. - followup fix for direct io and fsync under some conditions, reported by QEMU users - fix a potential leak when disabling quotas while some extent tracking work can still happen - in zoned mode handle unexpected change of zone write pointer in RAID1-like block groups, turn the zones to read-only ---------------------------------------------------------------- The following changes since commit ecb54277cb63c273e8d74272e5b9bfd80c2185d9: btrfs: fix uninitialized return value from btrfs_reclaim_sweep() (2024-08-27 16:42:09 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.11-rc6-tag for you to fetch changes up to cd9253c23aedd61eb5ff11f37a36247cd46faf86: btrfs: fix race between direct IO write and fsync when using same fd (2024-09-03 20:29:55 +0200) ---------------------------------------------------------------- Fedor Pchelkin (1): btrfs: qgroup: don't use extent changeset when not needed Filipe Manana (1): btrfs: fix race between direct IO write and fsync when using same fd Naohiro Aota (1): btrfs: zoned: handle broken write pointer on zones fs/btrfs/ctree.h | 1 - fs/btrfs/direct-io.c | 16 +++------------- fs/btrfs/file.c | 9 +++++++-- fs/btrfs/qgroup.c | 3 +-- fs/btrfs/transaction.h | 6 ++++++ fs/btrfs/zoned.c | 30 +++++++++++++++++++++++++----- 6 files changed, 42 insertions(+), 23 deletions(-) . Date: Wed, 4 Sep 2024 12:03:08 -0700 From: Guenter Roeck To: Linus Torvalds Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] hwmon fixes for v6.11-rc7 Hi Linus, Please pull hwmon fixes for Linux v6.11-rc7 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-v6.11-rc7 Thanks, Guenter ------ The following changes since commit 431c1646e1f86b949fa3685efc50b660a364c2b6: Linux 6.11-rc6 (2024-09-01 19:46:02 +1200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git tags/hwmon-for-v6.11-rc7 for you to fetch changes up to a54da9df75cd1b4b5028f6c60f9a211532680585: hwmon: (hp-wmi-sensors) Check if WMI event data exists (2024-09-02 07:23:35 -0700) ---------------------------------------------------------------- hwmon fixes for v6.11-rc7 hp-wmi-sensors: Check if WMI event data exists before accessing it ltc2991: fix register bits defines ---------------------------------------------------------------- Armin Wolf (1): hwmon: (hp-wmi-sensors) Check if WMI event data exists Pawel Dembicki (1): hwmon: ltc2991: fix register bits defines drivers/hwmon/hp-wmi-sensors.c | 2 ++ drivers/hwmon/ltc2991.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) . Date: Wed, 4 Sep 2024 12:05:40 -0700 From: Namhyung Kim To: Linus Torvalds Cc: Arnaldo Carvalho de Melo , Ian Rogers , Kan Liang , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org Subject: [GIT PULL] perf-tools fixes for v6.11-rc7 Hi Linus, Please consider pulling the following changes in perf tools for v6.11. Thanks, Namhyung The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399: Linux 6.11-rc4 (2024-08-18 13:17:27 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools.git perf-tools-fixes-for-v6.11-2024-09-04 for you to fetch changes up to e162cb25c410afc42051a582c46a47dde597f51c: perf daemon: Fix the build on more 32-bit architectures (2024-09-02 11:59:24 -0700) ---------------------------------------------------------------- Small perf tools fixes for v6.11 A number of small fixes for the late cycle: * Two more build fixes on 32-bit archs * Fixed a segfault during perf test * Fixed spinlock/rwlock accounting bug in perf lock contention Signed-off-by: Namhyung Kim ---------------------------------------------------------------- Arnaldo Carvalho de Melo (1): perf daemon: Fix the build on more 32-bit architectures Namhyung Kim (1): perf lock contention: Fix spinlock and rwlock accounting Veronika Molnarova (1): perf test pmu: Set uninitialized PMU alias to null Xu Yang (1): perf python: include "util/sample.h" tools/perf/builtin-daemon.c | 8 ++++---- tools/perf/tests/pmu.c | 4 +++- tools/perf/util/bpf_lock_contention.c | 3 +++ tools/perf/util/python.c | 1 + 4 files changed, 11 insertions(+), 5 deletions(-) . Date: Wed, 4 Sep 2024 15:15:18 -0400 From: Kent Overstreet To: Linus Torvalds Cc: linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] bcachefs fixes for 6.11-rc7 Hi Linus - just two little ones. The following changes since commit 3d3020c461936009dc58702e267ff67b0076cbf2: bcachefs: Mark more errors as autofix (2024-08-31 19:27:01 -0400) are available in the Git repository at: git://evilpiepirate.org/bcachefs.git tags/bcachefs-2024-09-04 for you to fetch changes up to 53f6619554fb1edf8d7599b560d44dbea085c730: bcachefs: BCH_SB_MEMBER_INVALID (2024-09-03 20:43:14 -0400) ---------------------------------------------------------------- bcachefs fixes for 6.11-rc1 - Fix a typo in the rebalance accounting changes - BCH_SB_MEMBER_INVALID: small on disk format feature which will be needed for full erasure coding support; this is only the minimum so that 6.11 can handle future versions without barfing. ---------------------------------------------------------------- Kent Overstreet (2): bcachefs: fix rebalance accounting bcachefs: BCH_SB_MEMBER_INVALID fs/bcachefs/buckets.c | 2 +- fs/bcachefs/replicas.c | 3 ++- fs/bcachefs/sb-members.c | 3 ++- fs/bcachefs/sb-members_format.h | 5 +++++ 4 files changed, 10 insertions(+), 3 deletions(-) . Date: Wed, 4 Sep 2024 15:39:40 -0600 From: Shuah Khan To: Linus Torvalds Cc: shuah , Shuah Khan , David Gow , Brendan Higgins , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] KUnit fixes update for Linux 6.11-rc7 This is a multi-part message in MIME format. --------------N7RuZE1AN07S4lT9ll8A81eC Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Linus, Please pull the following KUnit fixes update for Linux 6.11-rc7. This kunit update for Linux 6.11-rc7 consist of one single fix to a use-after-free bug resulting from kunit_driver_create() failing to copy the driver name leaving it on the stack or freeing it. diff is attached. thanks, -- Shuah ---------------------------------------------------------------- The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-kunit-fixes-6.11-rc7 for you to fetch changes up to f2c6dbd220170c2396fb019ead67fbada1e23ebd: kunit: Device wrappers should also manage driver name (2024-08-26 07:03:46 -0600) ---------------------------------------------------------------- linux_kselftest-kunit-fixes-6.11-rc7 This kunit update for Linux 6.11-rc7 consist of one single fix to a use-after-free bug resulting from kunit_driver_create() failing to copy the driver name leaving it on the stack or freeing it. ---------------------------------------------------------------- David Gow (1): kunit: Device wrappers should also manage driver name include/kunit/test.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ lib/kunit/device.c | 7 +++++-- lib/kunit/test.c | 19 +++++++++++++++++++ 3 files changed, 72 insertions(+), 2 deletions(-) ---------------------------------------------------------------- --------------N7RuZE1AN07S4lT9ll8A81eC Content-Type: text/x-patch; charset=UTF-8; name="linux_kselftest-kunit-fixes-6.11-rc7.diff" Content-Disposition: attachment; filename="linux_kselftest-kunit-fixes-6.11-rc7.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2luY2x1ZGUva3VuaXQvdGVzdC5oIGIvaW5jbHVkZS9rdW5pdC90ZXN0 LmgKaW5kZXggZTJhMWYwOTI4ZThiLi41YWMyMzdjOTQ5YTAgMTAwNjQ0Ci0tLSBhL2luY2x1 ZGUva3VuaXQvdGVzdC5oCisrKyBiL2luY2x1ZGUva3VuaXQvdGVzdC5oCkBAIC0yOCw2ICsy OCw3IEBACiAjaW5jbHVkZSA8bGludXgvdHlwZXMuaD4KIAogI2luY2x1ZGUgPGFzbS9yd29u Y2UuaD4KKyNpbmNsdWRlIDxhc20vc2VjdGlvbnMuaD4KIAogLyogU3RhdGljIGtleTogdHJ1 ZSBpZiBhbnkgS1VuaXQgdGVzdHMgYXJlIGN1cnJlbnRseSBydW5uaW5nICovCiBERUNMQVJF X1NUQVRJQ19LRVlfRkFMU0Uoa3VuaXRfcnVubmluZyk7CkBAIC00ODAsNiArNDgxLDUzIEBA IHN0YXRpYyBpbmxpbmUgdm9pZCAqa3VuaXRfa2NhbGxvYyhzdHJ1Y3Qga3VuaXQgKnRlc3Qs IHNpemVfdCBuLCBzaXplX3Qgc2l6ZSwgZ2ZwCiAJcmV0dXJuIGt1bml0X2ttYWxsb2NfYXJy YXkodGVzdCwgbiwgc2l6ZSwgZ2ZwIHwgX19HRlBfWkVSTyk7CiB9CiAKKworLyoqCisgKiBr dW5pdF9rZnJlZV9jb25zdCgpIC0gY29uZGl0aW9uYWxseSBmcmVlIHRlc3QgbWFuYWdlZCBt ZW1vcnkKKyAqIEB4OiBwb2ludGVyIHRvIHRoZSBtZW1vcnkKKyAqCisgKiBDYWxscyBrdW5p dF9rZnJlZSgpIG9ubHkgaWYgQHggaXMgbm90IGluIC5yb2RhdGEgc2VjdGlvbi4KKyAqIFNl ZSBrdW5pdF9rc3RyZHVwX2NvbnN0KCkgZm9yIG1vcmUgaW5mb3JtYXRpb24uCisgKi8KK3Zv aWQga3VuaXRfa2ZyZWVfY29uc3Qoc3RydWN0IGt1bml0ICp0ZXN0LCBjb25zdCB2b2lkICp4 KTsKKworLyoqCisgKiBrdW5pdF9rc3RyZHVwKCkgLSBEdXBsaWNhdGVzIGEgc3RyaW5nIGlu dG8gYSB0ZXN0IG1hbmFnZWQgYWxsb2NhdGlvbi4KKyAqCisgKiBAdGVzdDogVGhlIHRlc3Qg Y29udGV4dCBvYmplY3QuCisgKiBAc3RyOiBUaGUgTlVMTC10ZXJtaW5hdGVkIHN0cmluZyB0 byBkdXBsaWNhdGUuCisgKiBAZ2ZwOiBmbGFncyBwYXNzZWQgdG8gdW5kZXJseWluZyBrbWFs bG9jKCkuCisgKgorICogU2VlIGtzdHJkdXAoKSBhbmQga3VuaXRfa21hbGxvY19hcnJheSgp IGZvciBtb3JlIGluZm9ybWF0aW9uLgorICovCitzdGF0aWMgaW5saW5lIGNoYXIgKmt1bml0 X2tzdHJkdXAoc3RydWN0IGt1bml0ICp0ZXN0LCBjb25zdCBjaGFyICpzdHIsIGdmcF90IGdm cCkKK3sKKwlzaXplX3QgbGVuOworCWNoYXIgKmJ1ZjsKKworCWlmICghc3RyKQorCQlyZXR1 cm4gTlVMTDsKKworCWxlbiA9IHN0cmxlbihzdHIpICsgMTsKKwlidWYgPSBrdW5pdF9rbWFs bG9jKHRlc3QsIGxlbiwgZ2ZwKTsKKwlpZiAoYnVmKQorCQltZW1jcHkoYnVmLCBzdHIsIGxl bik7CisJcmV0dXJuIGJ1ZjsKK30KKworLyoqCisgKiBrdW5pdF9rc3RyZHVwX2NvbnN0KCkg LSBDb25kaXRpb25hbGx5IGR1cGxpY2F0ZXMgYSBzdHJpbmcgaW50byBhIHRlc3QgbWFuYWdl ZCBhbGxvY2F0aW9uLgorICoKKyAqIEB0ZXN0OiBUaGUgdGVzdCBjb250ZXh0IG9iamVjdC4K KyAqIEBzdHI6IFRoZSBOVUxMLXRlcm1pbmF0ZWQgc3RyaW5nIHRvIGR1cGxpY2F0ZS4KKyAq IEBnZnA6IGZsYWdzIHBhc3NlZCB0byB1bmRlcmx5aW5nIGttYWxsb2MoKS4KKyAqCisgKiBD YWxscyBrdW5pdF9rc3RyZHVwKCkgb25seSBpZiBAc3RyIGlzIG5vdCBpbiB0aGUgcm9kYXRh IHNlY3Rpb24uIE11c3QgYmUgZnJlZWQgd2l0aAorICoga3VuaXRfa2ZyZWVfY29uc3QoKSAt LSBub3Qga3VuaXRfa2ZyZWUoKS4KKyAqIFNlZSBrc3RyZHVwX2NvbnN0KCkgYW5kIGt1bml0 X2ttYWxsb2NfYXJyYXkoKSBmb3IgbW9yZSBpbmZvcm1hdGlvbi4KKyAqLworY29uc3QgY2hh ciAqa3VuaXRfa3N0cmR1cF9jb25zdChzdHJ1Y3Qga3VuaXQgKnRlc3QsIGNvbnN0IGNoYXIg KnN0ciwgZ2ZwX3QgZ2ZwKTsKKwogLyoqCiAgKiBrdW5pdF92bV9tbWFwKCkgLSBBbGxvY2F0 ZSBLVW5pdC10cmFja2VkIHZtX21tYXAoKSBhcmVhCiAgKiBAdGVzdDogVGhlIHRlc3QgY29u dGV4dCBvYmplY3QuCmRpZmYgLS1naXQgYS9saWIva3VuaXQvZGV2aWNlLmMgYi9saWIva3Vu aXQvZGV2aWNlLmMKaW5kZXggMjVjODFlZDQ2NWZiLi41MjBjMWZjY2VlOGEgMTAwNjQ0Ci0t LSBhL2xpYi9rdW5pdC9kZXZpY2UuYworKysgYi9saWIva3VuaXQvZGV2aWNlLmMKQEAgLTg5 LDcgKzg5LDcgQEAgc3RydWN0IGRldmljZV9kcml2ZXIgKmt1bml0X2RyaXZlcl9jcmVhdGUo c3RydWN0IGt1bml0ICp0ZXN0LCBjb25zdCBjaGFyICpuYW1lKQogCWlmICghZHJpdmVyKQog CQlyZXR1cm4gRVJSX1BUUihlcnIpOwogCi0JZHJpdmVyLT5uYW1lID0gbmFtZTsKKwlkcml2 ZXItPm5hbWUgPSBrdW5pdF9rc3RyZHVwX2NvbnN0KHRlc3QsIG5hbWUsIEdGUF9LRVJORUwp OwogCWRyaXZlci0+YnVzID0gJmt1bml0X2J1c190eXBlOwogCWRyaXZlci0+b3duZXIgPSBU SElTX01PRFVMRTsKIApAQCAtMTkyLDggKzE5MiwxMSBAQCB2b2lkIGt1bml0X2RldmljZV91 bnJlZ2lzdGVyKHN0cnVjdCBrdW5pdCAqdGVzdCwgc3RydWN0IGRldmljZSAqZGV2KQogCWNv bnN0IHN0cnVjdCBkZXZpY2VfZHJpdmVyICpkcml2ZXIgPSB0b19rdW5pdF9kZXZpY2UoZGV2 KS0+ZHJpdmVyOwogCiAJa3VuaXRfcmVsZWFzZV9hY3Rpb24odGVzdCwgZGV2aWNlX3VucmVn aXN0ZXJfd3JhcHBlciwgZGV2KTsKLQlpZiAoZHJpdmVyKQorCWlmIChkcml2ZXIpIHsKKwkJ Y29uc3QgY2hhciAqZHJpdmVyX25hbWUgPSBkcml2ZXItPm5hbWU7CiAJCWt1bml0X3JlbGVh c2VfYWN0aW9uKHRlc3QsIGRyaXZlcl91bnJlZ2lzdGVyX3dyYXBwZXIsICh2b2lkICopZHJp dmVyKTsKKwkJa3VuaXRfa2ZyZWVfY29uc3QodGVzdCwgZHJpdmVyX25hbWUpOworCX0KIH0K IEVYUE9SVF9TWU1CT0xfR1BMKGt1bml0X2RldmljZV91bnJlZ2lzdGVyKTsKIApkaWZmIC0t Z2l0IGEvbGliL2t1bml0L3Rlc3QuYyBiL2xpYi9rdW5pdC90ZXN0LmMKaW5kZXggZThiMWI1 MmExOWFiLi4wODljODMyZTNjZGIgMTAwNjQ0Ci0tLSBhL2xpYi9rdW5pdC90ZXN0LmMKKysr IGIvbGliL2t1bml0L3Rlc3QuYwpAQCAtODc0LDYgKzg3NCwyNSBAQCB2b2lkIGt1bml0X2tm cmVlKHN0cnVjdCBrdW5pdCAqdGVzdCwgY29uc3Qgdm9pZCAqcHRyKQogfQogRVhQT1JUX1NZ TUJPTF9HUEwoa3VuaXRfa2ZyZWUpOwogCit2b2lkIGt1bml0X2tmcmVlX2NvbnN0KHN0cnVj dCBrdW5pdCAqdGVzdCwgY29uc3Qgdm9pZCAqeCkKK3sKKyNpZiAhSVNfTU9EVUxFKENPTkZJ R19LVU5JVCkKKwlpZiAoIWlzX2tlcm5lbF9yb2RhdGEoKHVuc2lnbmVkIGxvbmcpeCkpCisj ZW5kaWYKKwkJa3VuaXRfa2ZyZWUodGVzdCwgeCk7Cit9CitFWFBPUlRfU1lNQk9MX0dQTChr dW5pdF9rZnJlZV9jb25zdCk7CisKK2NvbnN0IGNoYXIgKmt1bml0X2tzdHJkdXBfY29uc3Qo c3RydWN0IGt1bml0ICp0ZXN0LCBjb25zdCBjaGFyICpzdHIsIGdmcF90IGdmcCkKK3sKKyNp ZiAhSVNfTU9EVUxFKENPTkZJR19LVU5JVCkKKwlpZiAoaXNfa2VybmVsX3JvZGF0YSgodW5z aWduZWQgbG9uZylzdHIpKQorCQlyZXR1cm4gc3RyOworI2VuZGlmCisJcmV0dXJuIGt1bml0 X2tzdHJkdXAodGVzdCwgc3RyLCBnZnApOworfQorRVhQT1JUX1NZTUJPTF9HUEwoa3VuaXRf a3N0cmR1cF9jb25zdCk7CisKIHZvaWQga3VuaXRfY2xlYW51cChzdHJ1Y3Qga3VuaXQgKnRl c3QpCiB7CiAJc3RydWN0IGt1bml0X3Jlc291cmNlICpyZXM7Cg== --------------N7RuZE1AN07S4lT9ll8A81eC-- . Date: Wed, 4 Sep 2024 16:02:06 -0600 From: Shuah Khan To: "Rafael J. Wysocki" Cc: shuah , Shuah Khan , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Renninger , Thomas Renninger Subject: [GIT PULL] cpupower update for Linux 6.12-rc1 This is a multi-part message in MIME format. --------------OnVhVSukisMPZgdyzfBtoDqk Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Rafael, Please pull the following cpupower update for Linux 6.12-rc1. This cpupower update for Linux 6.12-rc1 consists of an enhancement to cpuidle tool to display the residency value of cpuidle states. This addition provides a clearer and more detailed view of idle state information when using cpuidle-info. diff is attached. thanks, -- Shuah ---------------------------------------------------------------- The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux tags/linux-cpupower-6.12-rc1 for you to fetch changes up to 76fb981ad6774b82f06703c896b492c8659b543b: tools/cpupower: display residency value in idle-info (2024-08-09 10:32:33 -0600) ---------------------------------------------------------------- linux-cpupower-6.12-rc1 This cpupower update for Linux 6.12-rc1 consists of an enhancement to cpuidle tool to display the residency value of cpuidle states. This addition provides a clearer and more detailed view of idle state information when using cpuidle-info. ---------------------------------------------------------------- Aboorva Devarajan (1): tools/cpupower: display residency value in idle-info tools/power/cpupower/lib/cpuidle.c | 8 ++++++++ tools/power/cpupower/lib/cpuidle.h | 2 ++ tools/power/cpupower/utils/cpuidle-info.c | 4 ++++ 3 files changed, 14 insertions(+) ---------------------------------------------------------------- --------------OnVhVSukisMPZgdyzfBtoDqk Content-Type: text/x-patch; charset=UTF-8; name="linux-cpupower-6.12-rc1.diff" Content-Disposition: attachment; filename="linux-cpupower-6.12-rc1.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3Rvb2xzL3Bvd2VyL2NwdXBvd2VyL2xpYi9jcHVpZGxlLmMgYi90b29s cy9wb3dlci9jcHVwb3dlci9saWIvY3B1aWRsZS5jCmluZGV4IDQ3OWM1OTcxYWE2ZC4uMGVj YWMwMDkyNzNjIDEwMDY0NAotLS0gYS90b29scy9wb3dlci9jcHVwb3dlci9saWIvY3B1aWRs ZS5jCisrKyBiL3Rvb2xzL3Bvd2VyL2NwdXBvd2VyL2xpYi9jcHVpZGxlLmMKQEAgLTExNiw2 ICsxMTYsNyBAQCBlbnVtIGlkbGVzdGF0ZV92YWx1ZSB7CiAJSURMRVNUQVRFX1VTQUdFLAog CUlETEVTVEFURV9QT1dFUiwKIAlJRExFU1RBVEVfTEFURU5DWSwKKwlJRExFU1RBVEVfUkVT SURFTkNZLAogCUlETEVTVEFURV9USU1FLAogCUlETEVTVEFURV9ESVNBQkxFLAogCU1BWF9J RExFU1RBVEVfVkFMVUVfRklMRVMKQEAgLTEyNSw2ICsxMjYsNyBAQCBzdGF0aWMgY29uc3Qg Y2hhciAqaWRsZXN0YXRlX3ZhbHVlX2ZpbGVzW01BWF9JRExFU1RBVEVfVkFMVUVfRklMRVNd ID0gewogCVtJRExFU1RBVEVfVVNBR0VdID0gInVzYWdlIiwKIAlbSURMRVNUQVRFX1BPV0VS XSA9ICJwb3dlciIsCiAJW0lETEVTVEFURV9MQVRFTkNZXSA9ICJsYXRlbmN5IiwKKwlbSURM RVNUQVRFX1JFU0lERU5DWV0gPSAicmVzaWRlbmN5IiwKIAlbSURMRVNUQVRFX1RJTUVdICA9 ICJ0aW1lIiwKIAlbSURMRVNUQVRFX0RJU0FCTEVdICA9ICJkaXNhYmxlIiwKIH07CkBAIC0y NTQsNiArMjU2LDEyIEBAIHVuc2lnbmVkIGxvbmcgY3B1aWRsZV9zdGF0ZV9sYXRlbmN5KHVu c2lnbmVkIGludCBjcHUsCiAJcmV0dXJuIGNwdWlkbGVfc3RhdGVfZ2V0X29uZV92YWx1ZShj cHUsIGlkbGVzdGF0ZSwgSURMRVNUQVRFX0xBVEVOQ1kpOwogfQogCit1bnNpZ25lZCBsb25n IGNwdWlkbGVfc3RhdGVfcmVzaWRlbmN5KHVuc2lnbmVkIGludCBjcHUsCisJCQkJCSAgdW5z aWduZWQgaW50IGlkbGVzdGF0ZSkKK3sKKwlyZXR1cm4gY3B1aWRsZV9zdGF0ZV9nZXRfb25l X3ZhbHVlKGNwdSwgaWRsZXN0YXRlLCBJRExFU1RBVEVfUkVTSURFTkNZKTsKK30KKwogdW5z aWduZWQgbG9uZyBjcHVpZGxlX3N0YXRlX3VzYWdlKHVuc2lnbmVkIGludCBjcHUsCiAJCQkJ CXVuc2lnbmVkIGludCBpZGxlc3RhdGUpCiB7CmRpZmYgLS1naXQgYS90b29scy9wb3dlci9j cHVwb3dlci9saWIvY3B1aWRsZS5oIGIvdG9vbHMvcG93ZXIvY3B1cG93ZXIvbGliL2NwdWlk bGUuaAppbmRleCAyZTEwZmVhZDJlMWUuLjJhYjQwNGQ0MDI1OSAxMDA2NDQKLS0tIGEvdG9v bHMvcG93ZXIvY3B1cG93ZXIvbGliL2NwdWlkbGUuaAorKysgYi90b29scy9wb3dlci9jcHVw b3dlci9saWIvY3B1aWRsZS5oCkBAIC04LDYgKzgsOCBAQCBpbnQgY3B1aWRsZV9zdGF0ZV9k aXNhYmxlKHVuc2lnbmVkIGludCBjcHUsIHVuc2lnbmVkIGludCBpZGxlc3RhdGUsCiAJCQkJ ICAgdW5zaWduZWQgaW50IGRpc2FibGUpOwogdW5zaWduZWQgbG9uZyBjcHVpZGxlX3N0YXRl X2xhdGVuY3kodW5zaWduZWQgaW50IGNwdSwKIAkJCQkJCXVuc2lnbmVkIGludCBpZGxlc3Rh dGUpOwordW5zaWduZWQgbG9uZyBjcHVpZGxlX3N0YXRlX3Jlc2lkZW5jeSh1bnNpZ25lZCBp bnQgY3B1LAorCQkJCQkJdW5zaWduZWQgaW50IGlkbGVzdGF0ZSk7CiB1bnNpZ25lZCBsb25n IGNwdWlkbGVfc3RhdGVfdXNhZ2UodW5zaWduZWQgaW50IGNwdSwKIAkJCQkJdW5zaWduZWQg aW50IGlkbGVzdGF0ZSk7CiB1bnNpZ25lZCBsb25nIGxvbmcgY3B1aWRsZV9zdGF0ZV90aW1l KHVuc2lnbmVkIGludCBjcHUsCmRpZmYgLS1naXQgYS90b29scy9wb3dlci9jcHVwb3dlci91 dGlscy9jcHVpZGxlLWluZm8uYyBiL3Rvb2xzL3Bvd2VyL2NwdXBvd2VyL3V0aWxzL2NwdWlk bGUtaW5mby5jCmluZGV4IDQ0MTI2YTg3ZmE3YS4uZTBkMTdmMGRlM2ZlIDEwMDY0NAotLS0g YS90b29scy9wb3dlci9jcHVwb3dlci91dGlscy9jcHVpZGxlLWluZm8uYworKysgYi90b29s cy9wb3dlci9jcHVwb3dlci91dGlscy9jcHVpZGxlLWluZm8uYwpAQCAtNjQsNiArNjQsOCBA QCBzdGF0aWMgdm9pZCBjcHVpZGxlX2NwdV9vdXRwdXQodW5zaWduZWQgaW50IGNwdSwgaW50 IHZlcmJvc2UpCiAKIAkJcHJpbnRmKF8oIkxhdGVuY3k6ICVsdVxuIiksCiAJCSAgICAgICBj cHVpZGxlX3N0YXRlX2xhdGVuY3koY3B1LCBpZGxlc3RhdGUpKTsKKwkJcHJpbnRmKF8oIlJl c2lkZW5jeTogJWx1XG4iKSwKKwkJICAgICAgIGNwdWlkbGVfc3RhdGVfcmVzaWRlbmN5KGNw dSwgaWRsZXN0YXRlKSk7CiAJCXByaW50ZihfKCJVc2FnZTogJWx1XG4iKSwKIAkJICAgICAg IGNwdWlkbGVfc3RhdGVfdXNhZ2UoY3B1LCBpZGxlc3RhdGUpKTsKIAkJcHJpbnRmKF8oIkR1 cmF0aW9uOiAlbGx1XG4iKSwKQEAgLTExNSw2ICsxMTcsOCBAQCBzdGF0aWMgdm9pZCBwcm9j X2NwdWlkbGVfY3B1X291dHB1dCh1bnNpZ25lZCBpbnQgY3B1KQogCQlwcmludGYoXygicHJv bW90aW9uWy0tXSBkZW1vdGlvblstLV0gIikpOwogCQlwcmludGYoXygibGF0ZW5jeVslMDNs dV0gIiksCiAJCSAgICAgICBjcHVpZGxlX3N0YXRlX2xhdGVuY3koY3B1LCBjc3RhdGUpKTsK KwkJcHJpbnRmKF8oInJlc2lkZW5jeVslMDVsdV0gIiksCisJCSAgICAgICBjcHVpZGxlX3N0 YXRlX3Jlc2lkZW5jeShjcHUsIGNzdGF0ZSkpOwogCQlwcmludGYoXygidXNhZ2VbJTA4bHVd ICIpLAogCQkgICAgICAgY3B1aWRsZV9zdGF0ZV91c2FnZShjcHUsIGNzdGF0ZSkpOwogCQlw cmludGYoXygiZHVyYXRpb25bJTAyMEx1XSBcbiIpLAo= --------------OnVhVSukisMPZgdyzfBtoDqk-- . Date: Thu, 05 Sep 2024 11:56:03 +0300 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: Linus Torvalds Cc: LKML , PDx86 , Hans de Goede , Andy Shevchenko Subject: [GIT PULL] platform-drivers-x86 for v6.11-6 Hi Linus, Here is a platform-drivers-x86 fixes PR for v6.11. Changes: - amd/pmf: ASUS GA403 quirk matching tweak - dell-smbios: Fix to the init function rollback path Regards, i. The following changes since commit a3379eca24a7da5118a7d090da6f8eb8611acac8: platform/x86: x86-android-tablets: Make Lenovo Yoga Tab 3 X90F DMI match less strict (2024-08-26 14:34:33 +0300) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git tags/platform-drivers-x86-v6.11-6 for you to fetch changes up to d34af755a533271f39cc7d86e49c0e74fde63a37: platform/x86/amd: pmf: Make ASUS GA403 quirk generic (2024-09-03 17:31:08 +0300) ---------------------------------------------------------------- platform-drivers-x86 for v6.11-6 Changes: - amd/pmf: ASUS GA403 quirk matching tweak - dell-smbios: Fix to the init function rollback path The following is an automated shortlog grouped by driver: amd: pmf: - Make ASUS GA403 quirk generic dell-smbios: - Fix error path in dell_smbios_init() ---------------------------------------------------------------- Aleksandr Mishin (1): platform/x86: dell-smbios: Fix error path in dell_smbios_init() Luke D. Jones (1): platform/x86/amd: pmf: Make ASUS GA403 quirk generic drivers/platform/x86/amd/pmf/pmf-quirks.c | 2 +- drivers/platform/x86/dell/dell-smbios-base.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) . Date: Thu, 5 Sep 2024 17:28:27 -0400 From: Steven Rostedt To: Linus Torvalds , LKML Cc: Masami Hiramatsu , Mathieu Desnoyers , Zheng Yejian , Tomas Glozar , "Luis Claudio R. Goncalves" , John Kacur Subject: [GIT PULL] tracing: Fixes for 6.11 Linus, Tracing fixes for 6.11: - Fix adding a new fgraph callback after function graph tracing has already started. If the new caller does not initialize its hash before registering the fgraph_ops, it can cause a NULL pointer dereference. Fix this by adding a new parameter to ftrace_graph_enable_direct() passing in the newly added gops directly and not rely on using the fgraph_array[], as entries in the fgraph_array[] must be initialized. Assign the new gops to the fgraph_array[] after it goes through ftrace_startup_subops() as that will properly initialize the gops->ops and initialize its hashes. - Fix a memory leak in fgraph storage memory test. If the "multiple fgraph storage on a function" boot up selftest fails in the registering of the function graph tracer, it will not free the memory it allocated for the filter. Break the loop up into two where it allocates the filters first and then registers the functions where any errors will do the appropriate clean ups. - Only clear the timerlat timers if it has an associated kthread. In the rtla tool that uses timerlat, if it was killed just as it was shutting down, the signals can free the kthread and the timer. But the closing of the timerlat files could cause the hrtimer_cancel() to be called on the already freed timer. As the kthread variable is is set to NULL when the kthreads are stopped and the timers are freed it can be used to know not to call hrtimer_cancel() on the timer if the kthread variable is NULL. - Use a cpumask to keep track of osnoise/timerlat kthreads The timerlat tracer can use user space threads for its analysis. With the killing of the rtla tool, the kernel can get confused between if it is using a user space thread to analyze or one of its own kernel threads. When this confusion happens, kthread_stop() can be called on a user space thread and bad things happen. As the kernel threads are per-cpu, a bitmask can be used to know when a kernel thread is used or when a user space thread is used. - Add missing interface_lock to osnoise/timerlat stop_kthread() The stop_kthread() function in osnoise/timerlat clears the osnoise kthread variable, and if it was a user space thread does a put_task on it. But this can race with the closing of the timerlat files that also does a put_task on the kthread, and if the race happens the task will have put_task called on it twice and oops. - Add cond_resched() to the tracing_iter_reset() loop. The latency tracers keep writing to the ring buffer without resetting when it issues a new "start" event (like interrupts being disabled). When reading the buffer with an iterator, the tracing_iter_reset() sets its pointer to that start event by walking through all the events in the buffer until it gets to the time stamp of the start event. In the case of a very large buffer, the loop that looks for the start event has been reported taking a very long time with a non preempt kernel that it can trigger a soft lock up warning. Add a cond_resched() into that loop to make sure that doesn't happen. - Use list_del_rcu() for eventfs ei->list variable It was reported that running loops of creating and deleting kprobe events could cause a crash due to the eventfs list iteration hitting a LIST_POISON variable. This is because the list is protected by SRCU but when an item is deleted from the list, it was using list_del() which poisons the "next" pointer. This is what list_del_rcu() was to prevent. Please pull the latest trace-v6.11-rc4 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-v6.11-rc4 Tag SHA1: 7f09aa3e1fa8ddf070ef0812322e2dce810cc964 Head SHA1: 5bfbcd1ee57b607fd29e4645c7f350dd385dd9ad Masami Hiramatsu (Google) (2): tracing: fgraph: Fix to add new fgraph_ops to array after ftrace_startup_subops() tracing: Fix memory leak in fgraph storage selftest Steven Rostedt (4): eventfs: Use list_del_rcu() for SRCU protected list variable tracing/osnoise: Use a cpumask to know what threads are kthreads tracing/timerlat: Only clear timer if a kthread exists tracing/timerlat: Add interface_lock around clearing of kthread in stop_kthread() Zheng Yejian (1): tracing: Avoid possible softlockup in tracing_iter_reset() ---- fs/tracefs/event_inode.c | 2 +- kernel/trace/fgraph.c | 31 ++++++++++++++++----------- kernel/trace/trace.c | 2 ++ kernel/trace/trace_osnoise.c | 50 +++++++++++++++++++++++++++++-------------- kernel/trace/trace_selftest.c | 23 +++++++++++++++----- 5 files changed, 73 insertions(+), 35 deletions(-) --------------------------- diff --git a/fs/tracefs/event_inode.c b/fs/tracefs/event_inode.c index 01e99e98457d..8705c77a9e75 100644 --- a/fs/tracefs/event_inode.c +++ b/fs/tracefs/event_inode.c @@ -862,7 +862,7 @@ static void eventfs_remove_rec(struct eventfs_inode *ei, int level) list_for_each_entry(ei_child, &ei->children, list) eventfs_remove_rec(ei_child, level + 1); - list_del(&ei->list); + list_del_rcu(&ei->list); free_ei(ei); } diff --git a/kernel/trace/fgraph.c b/kernel/trace/fgraph.c index d1d5ea2d0a1b..d7d4fb403f6f 100644 --- a/kernel/trace/fgraph.c +++ b/kernel/trace/fgraph.c @@ -1206,18 +1206,24 @@ static void init_task_vars(int idx) read_unlock(&tasklist_lock); } -static void ftrace_graph_enable_direct(bool enable_branch) +static void ftrace_graph_enable_direct(bool enable_branch, struct fgraph_ops *gops) { trace_func_graph_ent_t func = NULL; trace_func_graph_ret_t retfunc = NULL; int i; - for_each_set_bit(i, &fgraph_array_bitmask, - sizeof(fgraph_array_bitmask) * BITS_PER_BYTE) { - func = fgraph_array[i]->entryfunc; - retfunc = fgraph_array[i]->retfunc; - fgraph_direct_gops = fgraph_array[i]; - } + if (gops) { + func = gops->entryfunc; + retfunc = gops->retfunc; + fgraph_direct_gops = gops; + } else { + for_each_set_bit(i, &fgraph_array_bitmask, + sizeof(fgraph_array_bitmask) * BITS_PER_BYTE) { + func = fgraph_array[i]->entryfunc; + retfunc = fgraph_array[i]->retfunc; + fgraph_direct_gops = fgraph_array[i]; + } + } if (WARN_ON_ONCE(!func)) return; @@ -1256,8 +1262,6 @@ int register_ftrace_graph(struct fgraph_ops *gops) ret = -ENOSPC; goto out; } - - fgraph_array[i] = gops; gops->idx = i; ftrace_graph_active++; @@ -1266,7 +1270,7 @@ int register_ftrace_graph(struct fgraph_ops *gops) ftrace_graph_disable_direct(true); if (ftrace_graph_active == 1) { - ftrace_graph_enable_direct(false); + ftrace_graph_enable_direct(false, gops); register_pm_notifier(&ftrace_suspend_notifier); ret = start_graph_tracing(); if (ret) @@ -1281,14 +1285,15 @@ int register_ftrace_graph(struct fgraph_ops *gops) } else { init_task_vars(gops->idx); } - /* Always save the function, and reset at unregistering */ gops->saved_func = gops->entryfunc; ret = ftrace_startup_subops(&graph_ops, &gops->ops, command); + if (!ret) + fgraph_array[i] = gops; + error: if (ret) { - fgraph_array[i] = &fgraph_stub; ftrace_graph_active--; gops->saved_func = NULL; fgraph_lru_release_index(i); @@ -1324,7 +1329,7 @@ void unregister_ftrace_graph(struct fgraph_ops *gops) ftrace_shutdown_subops(&graph_ops, &gops->ops, command); if (ftrace_graph_active == 1) - ftrace_graph_enable_direct(true); + ftrace_graph_enable_direct(true, NULL); else if (!ftrace_graph_active) ftrace_graph_disable_direct(false); diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index ebe7ce2f5f4a..edf6bc817aa1 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -3958,6 +3958,8 @@ void tracing_iter_reset(struct trace_iterator *iter, int cpu) break; entries++; ring_buffer_iter_advance(buf_iter); + /* This could be a big loop */ + cond_resched(); } per_cpu_ptr(iter->array_buffer->data, cpu)->skipped_entries = entries; diff --git a/kernel/trace/trace_osnoise.c b/kernel/trace/trace_osnoise.c index 66a871553d4a..bbe47781617e 100644 --- a/kernel/trace/trace_osnoise.c +++ b/kernel/trace/trace_osnoise.c @@ -252,6 +252,11 @@ static inline struct timerlat_variables *this_cpu_tmr_var(void) return this_cpu_ptr(&per_cpu_timerlat_var); } +/* + * Protect the interface. + */ +static struct mutex interface_lock; + /* * tlat_var_reset - Reset the values of the given timerlat_variables */ @@ -259,14 +264,20 @@ static inline void tlat_var_reset(void) { struct timerlat_variables *tlat_var; int cpu; + + /* Synchronize with the timerlat interfaces */ + mutex_lock(&interface_lock); /* * So far, all the values are initialized as 0, so * zeroing the structure is perfect. */ for_each_cpu(cpu, cpu_online_mask) { tlat_var = per_cpu_ptr(&per_cpu_timerlat_var, cpu); + if (tlat_var->kthread) + hrtimer_cancel(&tlat_var->timer); memset(tlat_var, 0, sizeof(*tlat_var)); } + mutex_unlock(&interface_lock); } #else /* CONFIG_TIMERLAT_TRACER */ #define tlat_var_reset() do {} while (0) @@ -331,11 +342,6 @@ struct timerlat_sample { }; #endif -/* - * Protect the interface. - */ -static struct mutex interface_lock; - /* * Tracer data. */ @@ -1612,6 +1618,7 @@ static int run_osnoise(void) static struct cpumask osnoise_cpumask; static struct cpumask save_cpumask; +static struct cpumask kthread_cpumask; /* * osnoise_sleep - sleep until the next period @@ -1675,6 +1682,7 @@ static inline int osnoise_migration_pending(void) */ mutex_lock(&interface_lock); this_cpu_osn_var()->kthread = NULL; + cpumask_clear_cpu(smp_processor_id(), &kthread_cpumask); mutex_unlock(&interface_lock); return 1; @@ -1945,11 +1953,16 @@ static void stop_kthread(unsigned int cpu) { struct task_struct *kthread; + mutex_lock(&interface_lock); kthread = per_cpu(per_cpu_osnoise_var, cpu).kthread; if (kthread) { - if (test_bit(OSN_WORKLOAD, &osnoise_options)) { + per_cpu(per_cpu_osnoise_var, cpu).kthread = NULL; + mutex_unlock(&interface_lock); + + if (cpumask_test_and_clear_cpu(cpu, &kthread_cpumask) && + !WARN_ON(!test_bit(OSN_WORKLOAD, &osnoise_options))) { kthread_stop(kthread); - } else { + } else if (!WARN_ON(test_bit(OSN_WORKLOAD, &osnoise_options))) { /* * This is a user thread waiting on the timerlat_fd. We need * to close all users, and the best way to guarantee this is @@ -1958,8 +1971,8 @@ static void stop_kthread(unsigned int cpu) kill_pid(kthread->thread_pid, SIGKILL, 1); put_task_struct(kthread); } - per_cpu(per_cpu_osnoise_var, cpu).kthread = NULL; } else { + mutex_unlock(&interface_lock); /* if no workload, just return */ if (!test_bit(OSN_WORKLOAD, &osnoise_options)) { /* @@ -1967,7 +1980,6 @@ static void stop_kthread(unsigned int cpu) */ per_cpu(per_cpu_osnoise_var, cpu).sampling = false; barrier(); - return; } } } @@ -1982,12 +1994,8 @@ static void stop_per_cpu_kthreads(void) { int cpu; - cpus_read_lock(); - - for_each_online_cpu(cpu) + for_each_possible_cpu(cpu) stop_kthread(cpu); - - cpus_read_unlock(); } /* @@ -2021,6 +2029,7 @@ static int start_kthread(unsigned int cpu) } per_cpu(per_cpu_osnoise_var, cpu).kthread = kthread; + cpumask_set_cpu(cpu, &kthread_cpumask); return 0; } @@ -2048,8 +2057,16 @@ static int start_per_cpu_kthreads(void) */ cpumask_and(current_mask, cpu_online_mask, &osnoise_cpumask); - for_each_possible_cpu(cpu) + for_each_possible_cpu(cpu) { + if (cpumask_test_and_clear_cpu(cpu, &kthread_cpumask)) { + struct task_struct *kthread; + + kthread = per_cpu(per_cpu_osnoise_var, cpu).kthread; + if (!WARN_ON(!kthread)) + kthread_stop(kthread); + } per_cpu(per_cpu_osnoise_var, cpu).kthread = NULL; + } for_each_cpu(cpu, current_mask) { retval = start_kthread(cpu); @@ -2579,7 +2596,8 @@ static int timerlat_fd_release(struct inode *inode, struct file *file) osn_var = per_cpu_ptr(&per_cpu_osnoise_var, cpu); tlat_var = per_cpu_ptr(&per_cpu_timerlat_var, cpu); - hrtimer_cancel(&tlat_var->timer); + if (tlat_var->kthread) + hrtimer_cancel(&tlat_var->timer); memset(tlat_var, 0, sizeof(*tlat_var)); osn_var->sampling = 0; diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c index 97f1e4bc47dc..c4ad7cd7e778 100644 --- a/kernel/trace/trace_selftest.c +++ b/kernel/trace/trace_selftest.c @@ -942,7 +942,7 @@ static __init int test_graph_storage_multi(void) { struct fgraph_fixture *fixture; bool printed = false; - int i, ret; + int i, j, ret; pr_cont("PASSED\n"); pr_info("Testing multiple fgraph storage on a function: "); @@ -953,22 +953,35 @@ static __init int test_graph_storage_multi(void) if (ret && ret != -ENODEV) { pr_cont("*Could not set filter* "); printed = true; - goto out; + goto out2; } + } + for (j = 0; j < ARRAY_SIZE(store_bytes); j++) { + fixture = &store_bytes[j]; ret = register_ftrace_graph(&fixture->gops); if (ret) { pr_warn("Failed to init store_bytes fgraph tracing\n"); printed = true; - goto out; + goto out1; } } DYN_FTRACE_TEST_NAME(); -out: +out1: + while (--j >= 0) { + fixture = &store_bytes[j]; + unregister_ftrace_graph(&fixture->gops); + + if (fixture->error_str && !printed) { + pr_cont("*** %s ***", fixture->error_str); + printed = true; + } + } +out2: while (--i >= 0) { fixture = &store_bytes[i]; - unregister_ftrace_graph(&fixture->gops); + ftrace_free_filter(&fixture->gops.ops); if (fixture->error_str && !printed) { pr_cont("*** %s ***", fixture->error_str); . Date: Thu, 5 Sep 2024 23:34:25 +0200 From: Miguel Ojeda To: Linus Torvalds Cc: Miguel Ojeda , Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Rust fixes for 6.11 (2nd) Hi Linus, Please pull these fixes for Rust (second round). They have all been in linux-next for at least a couple rounds. No conflicts expected. No changes to the C side. Thanks! Cheers, Miguel The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399: Linux 6.11-rc4 (2024-08-18 13:17:27 -0700) are available in the Git repository at: https://github.com/Rust-for-Linux/linux.git tags/rust-fixes-6.11-2 for you to fetch changes up to cff56ff737e2da095ca9f228e2c5afc903bfca69: MAINTAINERS: update Andreas Hindborg's email address (2024-09-03 23:48:20 +0200) ---------------------------------------------------------------- Rust fixes for v6.11 (2nd) Toolchain and infrastructure: - Fix builds for nightly compiler users now that 'new_uninit' was split into new features by using an alternative approach for the code that used what is now called the 'box_uninit_write' feature. - Allow the 'stable_features' lint to preempt upcoming warnings about them, since soon there will be unstable features that will become stable in nightly compilers. - Export bss symbols too. 'kernel' crate: - 'block' module: fix wrong usage of lockdep API. 'macros' crate: - Provide correct provenance when constructing 'THIS_MODULE'. Documentation: - Remove unintended indentation (blockquotes) in generated output. - Fix a couple typos. MAINTAINERS: - Remove Wedson as Rust maintainer. - Update Andreas' email. ---------------------------------------------------------------- Andreas Hindborg (3): rust: kbuild: fix export of bss symbols rust: block: fix wrong usage of lockdep API MAINTAINERS: update Andreas Hindborg's email address Boqun Feng (1): rust: macros: provide correct provenance when constructing THIS_MODULE Jon Mulder (1): docs: rust: remove unintended blockquote in Quick Start Jubilee Young (1): rust: alloc: eschew `Box>::write` Michael Vetter (1): rust: kernel: fix typos in code comments Miguel Ojeda (1): rust: allow `stable_features` lint Vincent Woltmann (1): docs: rust: remove unintended blockquote in Coding Guidelines Wedson Almeida Filho (1): MAINTAINERS: Remove Wedson as Rust maintainer .mailmap | 1 + Documentation/rust/coding-guidelines.rst | 38 ++++++++++++++++---------------- Documentation/rust/quick-start.rst | 6 ++--- MAINTAINERS | 5 ++--- Makefile | 1 + rust/Makefile | 2 +- rust/kernel/alloc/box_ext.rs | 6 +++-- rust/kernel/block/mq/gen_disk.rs | 6 ++--- rust/kernel/init/macros.rs | 4 ++-- rust/kernel/net/phy.rs | 2 +- rust/macros/module.rs | 6 ++++- 11 files changed, 41 insertions(+), 36 deletions(-) .