Re: [PATCH 3/3] efi_loader: avoid duplicate weak invalidate_icache_all()

2024-06-19 Thread Tom Rini
On Sun, Jun 16, 2024 at 07:31:05PM +0200, Heinrich Schuchardt wrote: > If multiple weak implementations of a weak function exist, it is unclear > which one the linker should chose. cmd/cache.c already defines a weak > invalidate_icache_all(). > > We don't need a call to invalidate_icache_all() on

Re: [PATCH 3/3] efi_loader: avoid duplicate weak invalidate_icache_all()

2024-06-19 Thread Ilias Apalodimas
On Sun, 16 Jun 2024 at 20:31, Heinrich Schuchardt wrote: > > If multiple weak implementations of a weak function exist, it is unclear > which one the linker should chose. cmd/cache.c already defines a weak > invalidate_icache_all(). > > We don't need a call to invalidate_icache_all() on x86. > ARM

[PATCH 3/3] efi_loader: avoid duplicate weak invalidate_icache_all()

2024-06-16 Thread Heinrich Schuchardt
If multiple weak implementations of a weak function exist, it is unclear which one the linker should chose. cmd/cache.c already defines a weak invalidate_icache_all(). We don't need a call to invalidate_icache_all() on x86. ARM, RISC-V, and Sandbox provide an implementation. Signed-off-by: Heinri