On Fri, 2 Aug 2024 at 03:25, Philip Oberfichtner <[email protected]> wrote:
>
> Implement a x86 memory barrier mb(). Furthermore, remove the previously
> used mfence() function, which does the same thing.
>
> The mb() macro is now equivalent to Linux (v6.9):
> linux/arch/x86/include/asm/barrier.h
>
> Signed-off-by: Philip Oberfichtner <[email protected]>
> ---
>
> Notes:
>     Changes in V4: None
>
>     Changes in V3:
>         - Remove mfence() function
>
>  arch/x86/cpu/mp_init.c     | 10 +++++-----
>  arch/x86/include/asm/cpu.h |  5 -----
>  arch/x86/include/asm/io.h  |  1 +
>  3 files changed, 6 insertions(+), 10 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to