Re: [PATCH v2 1/2] powerpc: Add PowerPC Capabilities ELF note

2019-09-01 Thread Michael Ellerman
On Thu, 2019-08-29 at 15:50:20 UTC, "Maxiwell S. Garcia" wrote: > From: Claudio Carvalho > > Add the PowerPC name and the PPC_ELFNOTE_CAPABILITIES type in the > kernel binary ELF note. This type is a bitmap that can be used to > advertise kernel capabilities to userland. > > This patch also defi

[PATCH v2 1/2] powerpc: Add PowerPC Capabilities ELF note

2019-08-29 Thread Maxiwell S. Garcia
From: Claudio Carvalho Add the PowerPC name and the PPC_ELFNOTE_CAPABILITIES type in the kernel binary ELF note. This type is a bitmap that can be used to advertise kernel capabilities to userland. This patch also defines PPCCAP_ULTRAVISOR_BIT as being the bit zero. Suggested-by: Paul Mackerras