Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5bc13c2c authored by Robert Richter's avatar Robert Richter Committed by Marc Zyngier
Browse files

irqchip/gic-v3-its: Fix command buffer allocation



The its command buffer must be page aligned, but kzalloc() is not
guaranteed to be (though it is mostly when allocating 64k). Use
__get_free_pages() as this is used for other buffers as well.

Signed-off-by: default avatarRobert Richter <rrichter@cavium.com>
[Marc: fixed the error path]
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent 4cfffcfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment