Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fix from Catalin Marinas:
"Fix a regression where the arm64 KPTI ends up enabled even on systems
that don't need it"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
arm64: Avoid enabling KPTI unnecessarily

+4
+4
arch/arm64/kernel/cpufeature.c
··· 1839 1839 1840 1840 static void __init kpti_install_ng_mappings(void) 1841 1841 { 1842 + /* Check whether KPTI is going to be used */ 1843 + if (!cpus_have_cap(ARM64_UNMAP_KERNEL_AT_EL0)) 1844 + return; 1845 + 1842 1846 /* 1843 1847 * We don't need to rewrite the page-tables if either we've done 1844 1848 * it already or we have KASLR enabled and therefore have not