Re: [PATCH] checkpatch: Ignore attribute macros ending with nGnRnE or nGnRE
From: Liu Dalin
Date: Sun Mar 08 2026 - 23:11:03 EST
在 2026/3/9 10:47, Joe Perches 写道:
On Mon, 2026-03-09 at 10:12 +0800, Liu Dalin wrote:Yes.
在 2026/3/8 3:53, Joe Perches 写道:[]
FYI: These appear unused to date:
I was referring to these #define FFA_DEV_<foo> below:
It looks like the memory attribute macros starting with FFA_DEV_are intended for use in ARM Trusted Firmware and Hypervisors, and are rarely seen in the kernel itself.
Maybe some TEE drivers will use these attributes.
$ git grep FFA_DEV
include/linux/arm_ffa.h:#define FFA_DEV_nGnRnE (0 << 2)
include/linux/arm_ffa.h:#define FFA_DEV_nGnRE (1 << 2)
include/linux/arm_ffa.h:#define FFA_DEV_nGRE (2 << 2)
include/linux/arm_ffa.h:#define FFA_DEV_GRE (3 << 2)