Skip to content
Commit bac26c7d authored by Steven Price's avatar Steven Price
Browse files

irqchip/gic-v3-its: Rely on genpool alignment



its_create_device() over-allocated by ITS_ITT_ALIGN - 1 bytes to ensure
that an aligned area was available within the allocation. The new
genpool allocator has its min_alloc_order set to
get_order(ITS_ITT_ALIGN) so all allocations from it should be
appropriately aligned.

Remove the over-allocation from its_create_device() and alignment from
its_build_mapd_cmd().

Tested-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: Steven Price's avatarSteven Price <steven.price@arm.com>
parent 2dadbc23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment