lkml.org 
[lkml]   [2019]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v12 03/31] powerpc/mm: set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT
    Date
    Set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT for BOOK3S_64. This enables
    the Speculative Page Fault handler.

    Support is only provide for BOOK3S_64 currently because:
    - require CONFIG_PPC_STD_MMU because checks done in
    set_access_flags_filter()
    - require BOOK3S because we can't support for book3e_hugetlb_preload()
    called by update_mmu_cache()

    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
    ---
    arch/powerpc/Kconfig | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
    index 2d0be82c3061..a29887ea5383 100644
    --- a/arch/powerpc/Kconfig
    +++ b/arch/powerpc/Kconfig
    @@ -238,6 +238,7 @@ config PPC
    select PCI_SYSCALL if PCI
    select RTC_LIB
    select SPARSE_IRQ
    + select ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT if PPC_BOOK3S_64
    select SYSCTL_EXCEPTION_TRACE
    select THREAD_INFO_IN_TASK
    select VIRT_TO_BUS if !PPC64
    --
    2.21.0
    \
     
     \ /
      Last update: 2019-04-16 15:48    [W:2.600 / U:0.816 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site