Re: [Patch v2] lib: test get_count_order/long in test_bitops.c

From: Wei Yang
Date: Fri Jun 12 2020 - 10:29:00 EST


On Thu, Jun 11, 2020 at 10:25:07AM +0300, Andy Shevchenko wrote:
>On Thu, Jun 11, 2020 at 1:06 AM Wei Yang <richard.weiyang@xxxxxxxxx> wrote:
>> On Wed, Jun 10, 2020 at 01:17:28PM +0300, Andy Shevchenko wrote:
>> >On Wed, Jun 10, 2020 at 2:06 AM Wei Yang <richard.weiyang@xxxxxxxxx> wrote:
>> >> On Tue, Jun 09, 2020 at 12:16:49PM +0300, Andy Shevchenko wrote:
>> >> >On Mon, Jun 08, 2020 at 10:31:12PM +0000, Wei Yang wrote:
>> >> >> On Fri, Jun 05, 2020 at 05:16:29PM -0700, Andrew Morton wrote:
>> >> >
>> >> >...
>> >> >
>> >> >> The test on 64bit machine pass. Since I don't have a 32bit machine by hand,
>> >> >
>> >> >Out of curiosity what that machine is?
>> >> >
>> >>
>> >> It is a Intel Xeon Gold CPU.
>> >
>> >I suppose it's x86 (and not ia64).
>> >In this case you can always build an i386 configuration and test on a
>> >32-bit "machine".
>> >
>>
>> Yes, you are right. While last time I tried to run a 32bit guest, it took me a
>> lot of time to setup. If my understanding is correct, to run on a 32bit
>> machine, we not only need the kernel but a whole 32bit system. This means I
>> need to re-install a 32bit system. And I found many distro doesn't support
>> 32bit system any more.
>>
>> Do you have a better way to setup the environment?
>
>Yes, BuildRoot is your friend. I have a branch [1] to make it suitable
>to create bootable images for x86 machines. There is a quick
>instructions what it does provide.
>
>[1]: https://github.com/andy-shev/buildroot/tree/intel/board/intel/common
>

Many thanks for your instruction. I will take a look into this.

>--
>With Best Regards,
>Andy Shevchenko

--
Wei Yang
Help you, Help me