Re: [PATCH 1/2] drm: buddy_allocator: Fix buddy allocator init on 32-bit systems

2023-03-30 Thread Jani Nikula
On Thu, 30 Mar 2023, Christian König wrote: > Am 30.03.23 um 12:53 schrieb Jani Nikula: >> On Wed, 29 Mar 2023, David Gow wrote: >>> The drm buddy allocator tests were broken on 32-bit systems, as >>> rounddown_pow_of_two() takes a long, and the buddy allocator handles >>> 64-bit sizes even on 32

Re: [PATCH 1/2] drm: buddy_allocator: Fix buddy allocator init on 32-bit systems

2023-03-30 Thread Christian König
Am 30.03.23 um 12:53 schrieb Jani Nikula: On Wed, 29 Mar 2023, David Gow wrote: The drm buddy allocator tests were broken on 32-bit systems, as rounddown_pow_of_two() takes a long, and the buddy allocator handles 64-bit sizes even on 32-bit systems. This can be reproduced with the drm_buddy_al

Re: [PATCH 1/2] drm: buddy_allocator: Fix buddy allocator init on 32-bit systems

2023-03-30 Thread Jani Nikula
On Wed, 29 Mar 2023, David Gow wrote: > The drm buddy allocator tests were broken on 32-bit systems, as > rounddown_pow_of_two() takes a long, and the buddy allocator handles > 64-bit sizes even on 32-bit systems. > > This can be reproduced with the drm_buddy_allocator KUnit tests on i386: >

Re: [PATCH 1/2] drm: buddy_allocator: Fix buddy allocator init on 32-bit systems

2023-03-29 Thread Christian König
Am 29.03.23 um 08:55 schrieb David Gow: The drm buddy allocator tests were broken on 32-bit systems, as rounddown_pow_of_two() takes a long, and the buddy allocator handles 64-bit sizes even on 32-bit systems. This can be reproduced with the drm_buddy_allocator KUnit tests on i386: ./too

[PATCH 1/2] drm: buddy_allocator: Fix buddy allocator init on 32-bit systems

2023-03-28 Thread David Gow
The drm buddy allocator tests were broken on 32-bit systems, as rounddown_pow_of_two() takes a long, and the buddy allocator handles 64-bit sizes even on 32-bit systems. This can be reproduced with the drm_buddy_allocator KUnit tests on i386: ./tools/testing/kunit/kunit.py run --arch i386