[PATCH v4 1/5] x86: provide mb() macro
Simon Glass
sjg at chromium.org
Tue Aug 6 23:50:37 CEST 2024
On Fri, 2 Aug 2024 at 03:25, Philip Oberfichtner <pro at denx.de> 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 <pro at denx.de>
> ---
>
> 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 <sjg at chromium.org>
More information about the U-Boot
mailing list