[PATCH] eal/x86: fix 32-bit write-combined stores

Tyler Retzlaff roretzla at linux.microsoft.com
Thu Sep 12 07:56:00 CEST 2024


On Fri, Sep 06, 2024 at 02:27:57PM +0100, Bruce Richardson wrote:
> The "movdiri" instruction is given as a series of bytes in rte_io.h so
> that it works on compilers/assemblers which are unaware of the
> instruction. The REX prefix (0x40) on this instruction is invalid for
> 32-bit code, causing issues. Thankfully, the prefix is unnecessary in
> 64-bit code, since the data size used is 32-bits.
> 
> Fixes: 8a00dfc738fe ("eal: add write combining store")
> Cc: radu.nicolau at intel.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---

Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>



More information about the dev mailing list