On May 4, 2022 5:57:02 PM GMT+02:00, Juergen Gross <jgross@xxxxxxxx> wrote: >Add a simple infrastructure for setting, resetting and querying >platform feature flags. > >Flags can be either global or architecture specific. > >Signed-off-by: Juergen Gross <jgross@xxxxxxxx> >--- >V2: >- rename set/reset functions to platform_[set|clear]() (Boris Petkov, > Heiko Carstens) >- move function implementations to c file (Boris Petkov) >--- > MAINTAINERS | 8 ++++++++ > include/asm-generic/Kbuild | 1 + > include/asm-generic/platform-feature.h | 8 ++++++++ > include/linux/platform-feature.h | 15 ++++++++++++++ > kernel/Makefile | 2 +- > kernel/platform-feature.c | 27 ++++++++++++++++++++++++++ > 6 files changed, 60 insertions(+), 1 deletion(-) > create mode 100644 include/asm-generic/platform-feature.h > create mode 100644 include/linux/platform-feature.h > create mode 100644 kernel/platform-feature.c Nice and simple, I like. Acked-by: Borislav Petkov <bp@xxxxxxx> -- Sent from a device which is good for reading mail but awful for writing. Please excuse any shortcomings.