[PATCH v2 07/16] LoongArch: lib: General routines

Tom Rini trini at konsulko.com
Wed Jul 1 19:49:40 CEST 2026


On Wed, Jul 01, 2026 at 11:17:59AM +0000, Yao Zi wrote:

> From: Jiaxun Yang <jiaxun.yang at flygoat.com>
> 
> Add some common library routines for the architecture.
> 
> Signed-off-by: Jiaxun Yang <jiaxun.yang at flygoat.com>
> Signed-off-by: Yao Zi <me at ziyao.cc>
[snip]
> +#define CACHE_MAX_LEVEL		3
> +#define CACHE_MAX_INDEX		6
> +#define CACHE_OP		GENMASK(4, 3)
> +#define  CACHE_INDEX_INVWB	0x1
> +#define  CACHE_HIT_INVWB	0x2
> +#define CACHE_INDEX		GENMASK(2, 0)

I was expecting checkpatch.pl to catch the double space here, but it
didn't. It did warn about a few other things in macros, which should be
checked out at least. And that comment applies for the whole series,
along with a manual check for other spacing issues, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260701/5351f2cd/attachment.sig>


More information about the U-Boot mailing list