Date: Tue, 14 Aug 2018 17:48:29 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r337792 - stable/11/sys/amd64/amd64 Message-ID: <201808141748.w7EHmTI3027324@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Tue Aug 14 17:48:28 2018 New Revision: 337792 URL: https://svnweb.freebsd.org/changeset/base/337792 Log: MFC r337774: Reserve page at the physical address zero on amd64. Approved by: so (insta-MFC) Modified: stable/11/sys/amd64/amd64/pmap.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/amd64/amd64/pmap.c ============================================================================== --- stable/11/sys/amd64/amd64/pmap.c Tue Aug 14 17:48:02 2018 (r337791) +++ stable/11/sys/amd64/amd64/pmap.c Tue Aug 14 17:48:28 2018 (r337792) @@ -1220,6 +1220,9 @@ pmap_init(void) vm_size_t s; int error, i, pv_npg, ret, skz63; + /* L1TF, reserve page @0 unconditionally */ + vm_page_blacklist_add(0, bootverbose); + /* Detect bare-metal Skylake Server and Skylake-X. */ if (vm_guest == VM_GUEST_NO && cpu_vendor_id == CPU_VENDOR_INTEL && CPUID_TO_FAMILY(cpu_id) == 0x6 && CPUID_TO_MODEL(cpu_id) == 0x55) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808141748.w7EHmTI3027324>