Skip to content

smmu: add optional platform cap for CMDQ and EVENTQ - #609

Merged
gowthamsiddarthd merged 1 commit into
ARM-software:mainfrom
Sujana-M:main
Oct 7, 2026
Merged

gowthamsiddarthd merged 1 commit into
ARM-software:mainfrom
Sujana-M:main

Conversation

@Sujana-M

@Sujana-M Sujana-M commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Allocating queues at the maximum depths advertised by SMMU_IDR1 can make buffer clearing excessively slow on emulation platforms.

Allow platforms to define SMMU_SW_QUEUE_LOG2_MAX and cap each queue independently during probing. Default to 0x1FU to preserve existing hardware-advertised sizes.

Change-Id: I3ad83d20b0bf22188d22b8ff557a7a4457c65d3e

Allocating queues at the maximum depths advertised by SMMU_IDR1 can
make buffer clearing excessively slow on emulation platforms.

Allow platforms to define SMMU_SW_QUEUE_LOG2_MAX and cap each queue
independently during probing. Default to 0x1FU to preserve existing
hardware-advertised sizes.

Signed-off-by: Gowtham Siddarth <gowtham.siddarth@arm.com>
Change-Id: I3ad83d20b0bf22188d22b8ff557a7a4457c65d3e
@gowthamsiddarthd
gowthamsiddarthd merged commit b1c0533 into ARM-software:main Oct 7, 2026
29 checks passed
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.

2 participants