+++ /dev/null
-From 2e9e270d7119dc7c72b1230875ea2e52ef67ad17 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 30 Oct 2025 14:05:27 +0000
-Subject: dma-mapping: Allow use of DMA_BIT_MASK(64) in global scope
-
-From: James Clark <james.clark@linaro.org>
-
-[ Upstream commit a50f7456f853ec3a6f07cbe1d16ad8a8b2501320 ]
-
-Clang doesn't like that (1ULL<<(64)) overflows when initializing a
-global scope variable, even if that part of the ternary isn't used when
-n = 64. The same initialization can be done without warnings in function
-scopes, and GCC doesn't mind either way.
-
-The build failure that highlighted this was already fixed in a different
-way [1], which also has detailed links to the Clang issues. However it's
-not going to be long before the same thing happens again, so it's better
-to fix the root cause.
-
-Fix it by using GENMASK_ULL() which does exactly the same thing, is much
-more readable anyway, and doesn't have a shift that overflows.
-
-[1]: https://lore.kernel.org/all/20250918-mmp-pdma-simplify-dma-addressing-v1-1-5c2be2b85696@riscstar.com/
-
-Signed-off-by: James Clark <james.clark@linaro.org>
-Reviewed-by: Nathan Chancellor <nathan@kernel.org>
-Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
-Link: https://lore.kernel.org/r/20251030-james-fix-dma_bit_mask-v1-1-ad1ce7cfab6e@linaro.org
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- include/linux/dma-mapping.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
-index fb48f8ba5dcc8..c4fda94321bb4 100644
---- a/include/linux/dma-mapping.h
-+++ b/include/linux/dma-mapping.h
-@@ -73,7 +73,7 @@
- */
- #define DMA_MAPPING_ERROR (~(dma_addr_t)0)
-
--#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
-+#define DMA_BIT_MASK(n) GENMASK_ULL(n - 1, 0)
-
- #ifdef CONFIG_DMA_API_DEBUG
- void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr);
---
-2.51.0
-
usb-serial-kobil_sct-fix-tiocmbis-and-tiocmbic.patch
spi-xilinx-increase-number-of-retries-before-declari.patch
spi-imx-keep-dma-request-disabled-before-dma-transfe.patch
-dma-mapping-allow-use-of-dma_bit_mask-64-in-global-s.patch
bfs-reconstruct-file-type-when-loading-from-disk.patch
pinctrl-qcom-msm-fix-deadlock-in-pinmux-configuratio.patch
platform-x86-acer-wmi-ignore-backlight-event.patch
+++ /dev/null
-From b61323372b217568965e6652aadc996b7e5830eb Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 30 Oct 2025 14:05:27 +0000
-Subject: dma-mapping: Allow use of DMA_BIT_MASK(64) in global scope
-
-From: James Clark <james.clark@linaro.org>
-
-[ Upstream commit a50f7456f853ec3a6f07cbe1d16ad8a8b2501320 ]
-
-Clang doesn't like that (1ULL<<(64)) overflows when initializing a
-global scope variable, even if that part of the ternary isn't used when
-n = 64. The same initialization can be done without warnings in function
-scopes, and GCC doesn't mind either way.
-
-The build failure that highlighted this was already fixed in a different
-way [1], which also has detailed links to the Clang issues. However it's
-not going to be long before the same thing happens again, so it's better
-to fix the root cause.
-
-Fix it by using GENMASK_ULL() which does exactly the same thing, is much
-more readable anyway, and doesn't have a shift that overflows.
-
-[1]: https://lore.kernel.org/all/20250918-mmp-pdma-simplify-dma-addressing-v1-1-5c2be2b85696@riscstar.com/
-
-Signed-off-by: James Clark <james.clark@linaro.org>
-Reviewed-by: Nathan Chancellor <nathan@kernel.org>
-Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
-Link: https://lore.kernel.org/r/20251030-james-fix-dma_bit_mask-v1-1-ad1ce7cfab6e@linaro.org
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- include/linux/dma-mapping.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
-index d7b91f82b0dce..e034355c35dd5 100644
---- a/include/linux/dma-mapping.h
-+++ b/include/linux/dma-mapping.h
-@@ -73,7 +73,7 @@
- */
- #define DMA_MAPPING_ERROR (~(dma_addr_t)0)
-
--#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
-+#define DMA_BIT_MASK(n) GENMASK_ULL(n - 1, 0)
-
- #ifdef CONFIG_DMA_API_DEBUG
- void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr);
---
-2.51.0
-
usb-serial-kobil_sct-fix-tiocmbis-and-tiocmbic.patch
spi-xilinx-increase-number-of-retries-before-declari.patch
spi-imx-keep-dma-request-disabled-before-dma-transfe.patch
-dma-mapping-allow-use-of-dma_bit_mask-64-in-global-s.patch
bfs-reconstruct-file-type-when-loading-from-disk.patch
pinctrl-qcom-msm-fix-deadlock-in-pinmux-configuratio.patch
platform-x86-acer-wmi-ignore-backlight-event.patch
+++ /dev/null
-From cdd6f27e6aba505ab8a797168701d7471022b67e Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 30 Oct 2025 14:05:27 +0000
-Subject: dma-mapping: Allow use of DMA_BIT_MASK(64) in global scope
-
-From: James Clark <james.clark@linaro.org>
-
-[ Upstream commit a50f7456f853ec3a6f07cbe1d16ad8a8b2501320 ]
-
-Clang doesn't like that (1ULL<<(64)) overflows when initializing a
-global scope variable, even if that part of the ternary isn't used when
-n = 64. The same initialization can be done without warnings in function
-scopes, and GCC doesn't mind either way.
-
-The build failure that highlighted this was already fixed in a different
-way [1], which also has detailed links to the Clang issues. However it's
-not going to be long before the same thing happens again, so it's better
-to fix the root cause.
-
-Fix it by using GENMASK_ULL() which does exactly the same thing, is much
-more readable anyway, and doesn't have a shift that overflows.
-
-[1]: https://lore.kernel.org/all/20250918-mmp-pdma-simplify-dma-addressing-v1-1-5c2be2b85696@riscstar.com/
-
-Signed-off-by: James Clark <james.clark@linaro.org>
-Reviewed-by: Nathan Chancellor <nathan@kernel.org>
-Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
-Link: https://lore.kernel.org/r/20251030-james-fix-dma_bit_mask-v1-1-ad1ce7cfab6e@linaro.org
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- include/linux/dma-mapping.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
-index af3f39ecc1b87..ab400d957754c 100644
---- a/include/linux/dma-mapping.h
-+++ b/include/linux/dma-mapping.h
-@@ -74,7 +74,7 @@
- */
- #define DMA_MAPPING_ERROR (~(dma_addr_t)0)
-
--#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
-+#define DMA_BIT_MASK(n) GENMASK_ULL(n - 1, 0)
-
- #ifdef CONFIG_DMA_API_DEBUG
- void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr);
---
-2.51.0
-
ftrace-bpf-fix-ipmodify-direct-in-modify_ftrace_dire.patch
spi-xilinx-increase-number-of-retries-before-declari.patch
spi-imx-keep-dma-request-disabled-before-dma-transfe.patch
-dma-mapping-allow-use-of-dma_bit_mask-64-in-global-s.patch
drm-vmwgfx-use-kref-in-vmw_bo_dirty.patch
smb-fix-invalid-username-check-in-smb3_fs_context_pa.patch
alsa-usb-audio-add-native-dsd-quirks-for-pureaudio-d.patch
+++ /dev/null
-From 9aeb742f7c35afc0e97bc1ede3ce1523f745ff99 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 30 Oct 2025 14:05:27 +0000
-Subject: dma-mapping: Allow use of DMA_BIT_MASK(64) in global scope
-
-From: James Clark <james.clark@linaro.org>
-
-[ Upstream commit a50f7456f853ec3a6f07cbe1d16ad8a8b2501320 ]
-
-Clang doesn't like that (1ULL<<(64)) overflows when initializing a
-global scope variable, even if that part of the ternary isn't used when
-n = 64. The same initialization can be done without warnings in function
-scopes, and GCC doesn't mind either way.
-
-The build failure that highlighted this was already fixed in a different
-way [1], which also has detailed links to the Clang issues. However it's
-not going to be long before the same thing happens again, so it's better
-to fix the root cause.
-
-Fix it by using GENMASK_ULL() which does exactly the same thing, is much
-more readable anyway, and doesn't have a shift that overflows.
-
-[1]: https://lore.kernel.org/all/20250918-mmp-pdma-simplify-dma-addressing-v1-1-5c2be2b85696@riscstar.com/
-
-Signed-off-by: James Clark <james.clark@linaro.org>
-Reviewed-by: Nathan Chancellor <nathan@kernel.org>
-Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
-Link: https://lore.kernel.org/r/20251030-james-fix-dma_bit_mask-v1-1-ad1ce7cfab6e@linaro.org
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- include/linux/dma-mapping.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
-index 22b9099927fad..803f64e169c59 100644
---- a/include/linux/dma-mapping.h
-+++ b/include/linux/dma-mapping.h
-@@ -74,7 +74,7 @@
- */
- #define DMA_MAPPING_ERROR (~(dma_addr_t)0)
-
--#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
-+#define DMA_BIT_MASK(n) GENMASK_ULL(n - 1, 0)
-
- #ifdef CONFIG_DMA_API_DEBUG
- void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr);
---
-2.51.0
-
ftrace-bpf-fix-ipmodify-direct-in-modify_ftrace_dire.patch
spi-xilinx-increase-number-of-retries-before-declari.patch
spi-imx-keep-dma-request-disabled-before-dma-transfe.patch
-dma-mapping-allow-use-of-dma_bit_mask-64-in-global-s.patch
drm-vmwgfx-use-kref-in-vmw_bo_dirty.patch
bluetooth-btrtl-avoid-loading-the-config-file-on-sec.patch
smb-fix-invalid-username-check-in-smb3_fs_context_pa.patch
+++ /dev/null
-From 51a1912d46ceb70602de50c167e440966b9836f1 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 30 Oct 2025 14:05:27 +0000
-Subject: dma-mapping: Allow use of DMA_BIT_MASK(64) in global scope
-
-From: James Clark <james.clark@linaro.org>
-
-[ Upstream commit a50f7456f853ec3a6f07cbe1d16ad8a8b2501320 ]
-
-Clang doesn't like that (1ULL<<(64)) overflows when initializing a
-global scope variable, even if that part of the ternary isn't used when
-n = 64. The same initialization can be done without warnings in function
-scopes, and GCC doesn't mind either way.
-
-The build failure that highlighted this was already fixed in a different
-way [1], which also has detailed links to the Clang issues. However it's
-not going to be long before the same thing happens again, so it's better
-to fix the root cause.
-
-Fix it by using GENMASK_ULL() which does exactly the same thing, is much
-more readable anyway, and doesn't have a shift that overflows.
-
-[1]: https://lore.kernel.org/all/20250918-mmp-pdma-simplify-dma-addressing-v1-1-5c2be2b85696@riscstar.com/
-
-Signed-off-by: James Clark <james.clark@linaro.org>
-Reviewed-by: Nathan Chancellor <nathan@kernel.org>
-Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
-Link: https://lore.kernel.org/r/20251030-james-fix-dma_bit_mask-v1-1-ad1ce7cfab6e@linaro.org
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- include/linux/dma-mapping.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
-index 55c03e5fe8cb3..277daf71ec8c7 100644
---- a/include/linux/dma-mapping.h
-+++ b/include/linux/dma-mapping.h
-@@ -70,7 +70,7 @@
- */
- #define DMA_MAPPING_ERROR (~(dma_addr_t)0)
-
--#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
-+#define DMA_BIT_MASK(n) GENMASK_ULL(n - 1, 0)
-
- struct dma_iova_state {
- dma_addr_t addr;
---
-2.51.0
-
ftrace-bpf-fix-ipmodify-direct-in-modify_ftrace_dire.patch
spi-xilinx-increase-number-of-retries-before-declari.patch
spi-imx-keep-dma-request-disabled-before-dma-transfe.patch
-dma-mapping-allow-use-of-dma_bit_mask-64-in-global-s.patch
acpi-mrrm-fix-memory-leaks-and-improve-error-handlin.patch
drm-vmwgfx-use-kref-in-vmw_bo_dirty.patch
arm64-reject-modules-with-internal-alternative-callb.patch
+++ /dev/null
-From a661ee914b7b7a135d43fa60f04b705eca07c4b1 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 30 Oct 2025 14:05:27 +0000
-Subject: dma-mapping: Allow use of DMA_BIT_MASK(64) in global scope
-
-From: James Clark <james.clark@linaro.org>
-
-[ Upstream commit a50f7456f853ec3a6f07cbe1d16ad8a8b2501320 ]
-
-Clang doesn't like that (1ULL<<(64)) overflows when initializing a
-global scope variable, even if that part of the ternary isn't used when
-n = 64. The same initialization can be done without warnings in function
-scopes, and GCC doesn't mind either way.
-
-The build failure that highlighted this was already fixed in a different
-way [1], which also has detailed links to the Clang issues. However it's
-not going to be long before the same thing happens again, so it's better
-to fix the root cause.
-
-Fix it by using GENMASK_ULL() which does exactly the same thing, is much
-more readable anyway, and doesn't have a shift that overflows.
-
-[1]: https://lore.kernel.org/all/20250918-mmp-pdma-simplify-dma-addressing-v1-1-5c2be2b85696@riscstar.com/
-
-Signed-off-by: James Clark <james.clark@linaro.org>
-Reviewed-by: Nathan Chancellor <nathan@kernel.org>
-Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
-Link: https://lore.kernel.org/r/20251030-james-fix-dma_bit_mask-v1-1-ad1ce7cfab6e@linaro.org
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- include/linux/dma-mapping.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
-index 608e8296ba206..48656f6344b65 100644
---- a/include/linux/dma-mapping.h
-+++ b/include/linux/dma-mapping.h
-@@ -74,7 +74,7 @@
- */
- #define DMA_MAPPING_ERROR (~(dma_addr_t)0)
-
--#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
-+#define DMA_BIT_MASK(n) GENMASK_ULL(n - 1, 0)
-
- #ifdef CONFIG_DMA_API_DEBUG
- void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr);
---
-2.51.0
-
ftrace-bpf-fix-ipmodify-direct-in-modify_ftrace_dire.patch
spi-xilinx-increase-number-of-retries-before-declari.patch
spi-imx-keep-dma-request-disabled-before-dma-transfe.patch
-dma-mapping-allow-use-of-dma_bit_mask-64-in-global-s.patch
drm-vmwgfx-use-kref-in-vmw_bo_dirty.patch
bluetooth-btrtl-avoid-loading-the-config-file-on-sec.patch
smb-fix-invalid-username-check-in-smb3_fs_context_pa.patch