On Fri, 2018-11-16 at 17:06:43 UTC, Christophe Leroy wrote:
> This patch creates a debugfs file to see content of
> segment registers
> 
> ~# cat /sys/kernel/debug/segment_registers
> ---[ User Segments ]---
> 0x00000000-0x0fffffff Kern key 1 User key 1 VSID 0xade2b0
> 0x10000000-0x1fffffff Kern key 1 User key 1 VSID 0xade3c1
> 0x20000000-0x2fffffff Kern key 1 User key 1 VSID 0xade4d2
> 0x30000000-0x3fffffff Kern key 1 User key 1 VSID 0xade5e3
> 0x40000000-0x4fffffff Kern key 1 User key 1 VSID 0xade6f4
> 0x50000000-0x5fffffff Kern key 1 User key 1 VSID 0xade805
> 0x60000000-0x6fffffff Kern key 1 User key 1 VSID 0xade916
> 0x70000000-0x7fffffff Kern key 1 User key 1 VSID 0xadea27
> 0x80000000-0x8fffffff Kern key 1 User key 1 VSID 0xadeb38
> 0x90000000-0x9fffffff Kern key 1 User key 1 VSID 0xadec49
> 0xa0000000-0xafffffff Kern key 1 User key 1 VSID 0xaded5a
> 0xb0000000-0xbfffffff Kern key 1 User key 1 VSID 0xadee6b
> 
> ---[ Kernel Segments ]---
> 0xc0000000-0xcfffffff Kern key 0 User key 1 VSID 0x000ccc
> 0xd0000000-0xdfffffff Kern key 0 User key 1 VSID 0x000ddd
> 0xe0000000-0xefffffff Kern key 0 User key 1 VSID 0x000eee
> 0xf0000000-0xffffffff Kern key 0 User key 1 VSID 0x000fff
> 
> Signed-off-by: Christophe Leroy <christophe.le...@c-s.fr>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/0261a508c9fcb33e60f09cac42032f

cheers

Reply via email to