Re: [ovs-dev] [PATCH] cpu.c: Build cpu.c without any assumptions about CPU flags

2022-06-23 Thread Ilya Maximets
hursday, June 23, 2022 1:41 PM >>>> To: d...@openvswitch.org >>>> Cc: david.march...@redhat.com >>>> Subject: [ovs-dev] [PATCH] cpu.c: Build cpu.c without any assumptions about >>>> CPU flags >>>> >>>> The cpu.c was built with mul

Re: [ovs-dev] [PATCH] cpu.c: Build cpu.c without any assumptions about CPU flags

2022-06-23 Thread Ilya Maximets
;>> Cc: david.march...@redhat.com >>> Subject: [ovs-dev] [PATCH] cpu.c: Build cpu.c without any assumptions about >>> CPU flags >>> >>> The cpu.c was built with multiple feature flags that might >>> not be available on all hosts. It manifest

Re: [ovs-dev] [PATCH] cpu.c: Build cpu.c without any assumptions about CPU flags

2022-06-23 Thread David Marchand
On Thu, Jun 23, 2022 at 3:33 PM Van Haaren, Harry wrote: > > > -Original Message- > > From: dev On Behalf Of Ales Musil > > Sent: Thursday, June 23, 2022 1:41 PM > > To: d...@openvswitch.org > > Cc: david.march...@redhat.com > > Subject: [ovs-dev]

Re: [ovs-dev] [PATCH] cpu.c: Build cpu.c without any assumptions about CPU flags

2022-06-23 Thread Ilya Maximets
On 6/23/22 15:33, Van Haaren, Harry wrote: >> -Original Message- >> From: dev On Behalf Of Ales Musil >> Sent: Thursday, June 23, 2022 1:41 PM >> To: d...@openvswitch.org >> Cc: david.march...@redhat.com >> Subject: [ovs-dev] [PATCH] cpu.c: Build cpu.c

Re: [ovs-dev] [PATCH] cpu.c: Build cpu.c without any assumptions about CPU flags

2022-06-23 Thread Van Haaren, Harry
> -Original Message- > From: dev On Behalf Of Ales Musil > Sent: Thursday, June 23, 2022 1:41 PM > To: d...@openvswitch.org > Cc: david.march...@redhat.com > Subject: [ovs-dev] [PATCH] cpu.c: Build cpu.c without any assumptions about > CPU flags > > The cp

[ovs-dev] [PATCH] cpu.c: Build cpu.c without any assumptions about CPU flags

2022-06-23 Thread Ales Musil
The cpu.c was built with multiple feature flags that might not be available on all hosts. It manifested itself as Illegal instruction with crashing on "shlx" instruction which is part of the bmi2 extension, that might not be available on all CPU that openvswitch runs on. Move the cpu.c and cpu.h t