Re: [dpdk-dev] [PATCH] eal/x86: fix some CPU extended features

2021-10-08 Thread David Marchand
On Fri, Oct 8, 2021 at 12:15 PM Bruce Richardson wrote: > > On Wed, Oct 06, 2021 at 09:20:08PM +0200, David Marchand wrote: > > Caught while checking CPUID related stuff in OVS. > > > > According to [1], for Structured Extended Feature Flags Enumeration Leaf > > (EAX = 0x07H, ECX = 0): > > > > - B

Re: [dpdk-dev] [PATCH] eal/x86: fix some CPU extended features

2021-10-08 Thread Bruce Richardson
On Wed, Oct 06, 2021 at 09:20:08PM +0200, David Marchand wrote: > Caught while checking CPUID related stuff in OVS. > > According to [1], for Structured Extended Feature Flags Enumeration Leaf > (EAX = 0x07H, ECX = 0): > > - BMI1 is associated to EBX, bit 3 (was incorrectly 2), > - SMEP is associ

[dpdk-dev] [PATCH] eal/x86: fix some CPU extended features

2021-10-06 Thread David Marchand
Caught while checking CPUID related stuff in OVS. According to [1], for Structured Extended Feature Flags Enumeration Leaf (EAX = 0x07H, ECX = 0): - BMI1 is associated to EBX, bit 3 (was incorrectly 2), - SMEP is associated to EBX, bit 7 (was incorrectly 6), - BMI2 is associated to EBX, bit 8 (wa