On Tue, Apr 16, 2019 at 03:44:54PM +0200, Laurent Dufour wrote: > 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@xxxxxxxxxxxxxx> > Signed-off-by: Laurent Dufour <ldufour@xxxxxxxxxxxxx> Same comment as for x86. Reviewed-by: Jérôme Glisse <jglisse@xxxxxxxxxx> > --- > 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 >