Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/amd/amdkfd
Sasha Levin aeda036c37 amdkfd: use sizeof(long) granularity for the pasid bitmask
All the bit operations (such as find_first_zero_bit()) read sizeof(long) bytes
at a time. If we allocated less than sizeof(long) bytes for the bitmask we
would be accessing invalid memory when working with the bitmask.

Change the allocator to allocate sizeof(long) multiples for the bitmask.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-03 09:26:25 -05:00
..
2014-07-17 00:36:17 +03:00
2014-11-25 19:43:29 +03:00
2014-07-17 00:18:51 +03:00
2014-07-17 01:37:30 +03:00