From owner-svn-src-all@freebsd.org Wed May 15 06:00:06 2019 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24CEB15ABE06; Wed, 15 May 2019 06:00:06 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B38037465A; Wed, 15 May 2019 06:00:05 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by mail-io1-f54.google.com with SMTP id f22so1239152iol.11; Tue, 14 May 2019 23:00:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5ZC47tbROuziuhWgGBsgqv6rPgfdTlDk6eRP4z6fezk=; b=LVodQj0PmJRWm96tATTwHoLCmrlhcaLvHtx/cszq+7gumw2kKcOSJNK//sbpLV2oan /E9n2qOnyYooEy3MEksnl9cEpoaJzYnyQCgOYdjnT8G4EH5ghyaUMpVkHd+K5w8giz9Y DMsxOYlr2f0dmm6MJvPWF+VQAft433gn4XFgRI2R93QiWyZ1Uk1jONr7y3t2YylNalnk yrQjNtYWp0e/A+nDuD1zeeBsVBgbsrztPtsXo9di1RXy1/Dj56/hyPLXTndTAYZMhKoT 2uSFuMkt2rghBWi+34mxgvPCqfaCMS8ov9eh2SARefkpDHMIxtb7jJ1B3Cd7JULY1ZB4 AcAA== X-Gm-Message-State: APjAAAVYRBwghX5DHB6LO7M1PCiICqqy8iyGe0vRruTDGYanzX3S8nUm bb4ImY1MYn663mkKSP5PmyKMPEElW8mPWG2lMteCk3VF X-Google-Smtp-Source: APXvYqw5h6wVIkapvGSdzZzxQ+UUIExFo2CexLet4ZjWaj9P1pUAvJ65ogTnu9W2P50phRMdZ6j3QNRyJ17TbvhRDZo= X-Received: by 2002:a6b:7a49:: with SMTP id k9mr3387260iop.73.1557899655952; Tue, 14 May 2019 22:54:15 -0700 (PDT) MIME-Version: 1.0 References: <201905141702.x4EH2LuD061054@repo.freebsd.org> In-Reply-To: <201905141702.x4EH2LuD061054@repo.freebsd.org> From: Dmitry Chagin Date: Wed, 15 May 2019 08:54:04 +0300 Message-ID: Subject: Re: svn commit: r347566 - in head/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86 To: Konstantin Belousov Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org X-Rspamd-Queue-Id: B38037465A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2019 06:00:06 -0000 =D0=B2=D1=82, 14 =D0=BC=D0=B0=D1=8F 2019 =D0=B3. =D0=B2 20:02, Konstantin B= elousov : > Author: kib > Date: Tue May 14 17:02:20 2019 > New Revision: 347566 > URL: https://svnweb.freebsd.org/changeset/base/347566 > > Log: > Mitigations for Microarchitectural Data Sampling. > > Microarchitectural buffers on some Intel processors utilizing > speculative execution may allow a local process to obtain a memory > disclosure. An attacker may be able to read secret data from the > kernel or from a process when executing untrusted code (for example, > in a web browser). > > Reference: > https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa= -00233.html > Security: CVE-2018-12126, CVE-2018-12127, CVE-2018-12130, > CVE-2019-11091 > Security: FreeBSD-SA-19:07.mds > Reviewed by: jhb > Tested by: emaste, lwhsu > Approved by: so (gtetlow) > > Modified: > head/sys/amd64/amd64/exception.S > head/sys/amd64/amd64/genassym.c > head/sys/amd64/amd64/initcpu.c > head/sys/amd64/amd64/machdep.c > head/sys/amd64/amd64/support.S > Hi, Kostik! cc -target x86_64-unknown-freebsd13.0 --sysroot=3D/home/dchagin/obj/home/dchagin/head/amd64.amd64/tmp -B/home/dchagin/obj/home/dchagin/head/amd64.amd64/tmp/usr/bin -c -x assembler-with-cpp -DLOCORE -O2 -pipe -fno-strict-aliasing -g -nostdinc -I. -I/home/dchagin/head/sys -I/home/dchagin/head/sys/contrib/ck/include -I/home/dchagin/head/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.support.o -MTsupport.o -fdebug-prefix-map=3D./machine=3D/home/dchagin/head/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/home/dchagin/head/sys/x86/include -mcmodel=3D= kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=3Diso9899:1999 -Werror /home/dchagin/head/sys/amd64/amd64/support.S /home/dchagin/head/sys/amd64/amd64/support.S:1809:2: error: instruction requires: AVX-512 ISA vmovdqa64 %zmm0, %gs:0x340 ^ /home/dchagin/head/sys/amd64/amd64/support.S:1810:2: error: instruction requires: AVX-512 ISA vpxor %zmm0, %zmm0, %zmm0 ^ /home/dchagin/head/sys/amd64/amd64/support.S:1813:2: error: instruction requires: AVX-512 DQ ISA vorpd (%rdx), %zmm0, %zmm0 ^ /home/dchagin/head/sys/amd64/amd64/support.S:1814:2: error: instruction requires: AVX-512 DQ ISA vorpd (%rdx), %zmm0, %zmm0 ^ /home/dchagin/head/sys/amd64/amd64/support.S:1826:2: error: instruction requires: AVX-512 ISA vmovdqa64 %gs:0x340, %zmm0 ^ *** Error code 1 I/m missied something?