]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/virt-acpi-build: Factor out create_its_idmaps
authorGustavo Romero <gustavo.romero@linaro.org>
Tue, 1 Jul 2025 14:08:30 +0000 (15:08 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Jul 2025 14:08:30 +0000 (15:08 +0100)
commit1c41eaa5fe03cbe9f60edb8f0414c1ad6d7fd786
tree693485cf4d430e83354d9fe6d328f494d487a9b1
parent67473d32f020a3c62e24790ab93eb6086a8c8283
hw/arm/virt-acpi-build: Factor out create_its_idmaps

Factor out a new function, create_its_idmaps(), from the current
build_iort code. Add proper comments to it clarifying how the ID ranges
that go directly to the ITS Group node are computed based on the ones
that are directed to the SMMU node.

Suggested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Message-id: 20250628195722.977078-6-gustavo.romero@linaro.org
[PMM: drop hardcoded tabs]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt-acpi-build.c