Subject: Re: [PATCH for-4.8_set4 0/2] Segment table support

From: Benjamin Herrenschmidt <[email-masked]>
Date: Wed, 13 Jul 2016 07:04:01 -0500

On Wed, 2016-07-13 at 15:10 +0530, Aneesh Kumar K.V wrote:
> Hi,
> 
> This series add support for ISA 3.0 memory segment table.
> 
> Aneesh Kumar K.V (2):
>   powerpc/mm: Switch user slb fault handling to translation enabled
>   powerpc/mm: Support segment table for Power9

The segment table will only be used for the nest MMU, shouldn't we keep
that a separate path that we call explictly from fault interrupts
coming from NestMMU agents instead ?

>  Documentation/kernel-parameters.txt           |   3 +
>  arch/powerpc/include/asm/book3s/64/hash.h     |  10 +
>  arch/powerpc/include/asm/book3s/64/mmu-hash.h |  17 ++
>  arch/powerpc/include/asm/book3s/64/mmu.h      |   4 +
>  arch/powerpc/include/asm/mmu.h                |   6 +-
>  arch/powerpc/include/asm/mmu_context.h        |   5 +-
>  arch/powerpc/kernel/exceptions-64s.S          |  55 +++-
>  arch/powerpc/kernel/prom.c                    |  13 +-
>  arch/powerpc/mm/hash_utils_64.c               |  83 +++++-
>  arch/powerpc/mm/mmu_context_book3s64.c        |  32 ++-
>  arch/powerpc/mm/slb.c                         | 359
> ++++++++++++++++++++++++++
>  11 files changed, 564 insertions(+), 23 deletions(-)
>