Skip to content

arm64: mm: report LoC == 0 coherence once per boot - #541

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
fix/loc0-coherent-log-once
Oct 28, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
fix/loc0-coherent-log-once

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

On a system whose CLIDR_EL1.LoC is 0, arch_setup_dma_ops() treats every non-coherent device as DMA coherent and warned once per device. The J616s and the Neo log about 1,500 of these warnings per boot, which buries real warnings on the console.

The decision is the same for every device, so this prints it once at info level and keeps the per-device line at debug level. Behaviour is unchanged.

Testing: arch/arm64/mm/dma-mapping.o builds with the universal config. The line count drop needs a J616s or Neo boot of a kernel carrying it.

🤖 Generated with Claude Code

On a system whose CLIDR_EL1.LoC is 0 every non-coherent device is treated
as DMA coherent, and arch_setup_dma_ops() warned about it for each one.
The J616s prints about 1,500 of these warnings per boot, which hides real
warnings on the console.

The decision is the same for every device, so print it once at info level
and keep the per-device line at debug level. The behaviour is unchanged.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant