Skip to contentSkip to conversation

ARM: multi_v7_defconfig: Enable dma-buf heaps

PATCH In review Maxime Ripard 2 participants 5 messages May 27 – Jun 12 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: multi_v7_defconfig: Enable dma-buf heaps

Now that the system and CMA heaps can be built as modules, enable both as modules in the arm multi_v7_defconfig.

---
 arch/arm/configs/multi_v7_defconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/configs/multi_v7_defconfig +3 -0
index 2891eeba9032..3345a8eb8422 100644
@@ -1073,10 +1073,13 @@ CONFIG_RZN1_DMAMUX=m
 CONFIG_RCAR_DMAC=y
 CONFIG_RENESAS_USB_DMAC=m
 CONFIG_STM32_DMA=y
 CONFIG_STM32_DMAMUX=y
 CONFIG_STM32_MDMA=y
+CONFIG_DMABUF_HEAPS=y
+CONFIG_DMABUF_HEAPS_SYSTEM=m
+CONFIG_DMABUF_HEAPS_CMA=m
 CONFIG_VIRTIO_PCI=y
 CONFIG_VIRTIO_MMIO=y
 CONFIG_STAGING=y
 CONFIG_MFD_NVEC=y
 CONFIG_KEYBOARD_NVEC=y
Signature · 1 line
2.54.0
#1 lore raw
Quoted 5 lines · Maxime Ripard

Now that the system and CMA heaps can be built as modules, enable both as modules in the arm multi_v7_defconfig.

I'd like to wait until we have resolved the build regression from the earlier patch[1][2]. I don't have a strong opinion on how to resolve it, but at least for now Christoph is asking to have your change reverted.

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

Arnd

#2 lore raw

Hi Arnd,

Quoted 11 lines · Arnd Bergmann
Quoted 5 lines · Maxime Ripard

Now that the system and CMA heaps can be built as modules, enable both as modules in the arm multi_v7_defconfig.

I'd like to wait until we have resolved the build regression from the earlier patch[1][2]. I don't have a strong opinion on how to resolve it, but at least for now Christoph is asking to have your change reverted.

I believe it's now fixed, even though not through a revert, and is on its way to Linus:
https://lore.kernel.org/dri-devel/[email protected]/

arch/arm doesn't select ARCH_HAS_MEM_ENCRYPT afaik, so this patch can be applied as is I think?

Maxime

#3 lore raw
Quoted 8 lines · Maxime Ripard
Quoted 6 lines · Arnd Bergmann

On Wed, May 27, 2026, at 10:41, Maxime Ripard wrote:

I'd like to wait until we have resolved the build regression from the earlier patch[1][2]. I don't have a strong opinion on how to resolve it, but at least for now Christoph is asking to have your change reverted.

Quoted 6 lines

I believe it's now fixed, even though not through a revert, and is on its way to Linus:
https://lore.kernel.org/dri-devel/[email protected]/

arch/arm doesn't select ARCH_HAS_MEM_ENCRYPT afaik, so this patch can be applied as is I think?

Yes, I've added it to the soc/defconfig branch already, though the automatic notification apparently did not trigger.

Arnd

#4 lore raw
Quoted 13 lines · Arnd Bergmann
Quoted 12 lines · Maxime Ripard
Quoted 6 lines · Arnd Bergmann

On Wed, May 27, 2026, at 10:41, Maxime Ripard wrote:

I'd like to wait until we have resolved the build regression from the earlier patch[1][2]. I don't have a strong opinion on how to resolve it, but at least for now Christoph is asking to have your change reverted.

I believe it's now fixed, even though not through a revert, and is on its way to Linus:
https://lore.kernel.org/dri-devel/[email protected]/

Quoted 5 lines
Quoted 2 lines

arch/arm doesn't select ARCH_HAS_MEM_ENCRYPT afaik, so this patch can be applied as is I think?

Yes, I've added it to the soc/defconfig branch already, though the automatic notification apparently did not trigger.

Oh, perfect then, thanks :)

Maxime