Re: [PATCH] LoongArch: jump_label: Batch icache maintenance
From: Xi Ruoyao
Date: Thu Feb 19 2026 - 05:21:43 EST
On Thu, 2026-02-19 at 11:44 +0800, Huacai Chen wrote:
> > +static inline void local_flush_icache_range(unsigned long start,
> > unsigned long end)
> > +{
> > + local_flush_icache_all();
> Just use a plain "asm volatile ("\tibar 0\n"::);", and put them after
> __flush_cache_all().
IMO for consistency it should be "ibar\t0" (without the leading \t and
trailing \n: we don't have those in any of other inline assemblies).
--
Xi Ruoyao <xry111@xxxxxxxxxxx>