From nobody Tue Jan 11 18:14:58 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id ACC03193F0B5; Tue, 11 Jan 2022 18:14:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JYJkq0lznz4RPg; Tue, 11 Jan 2022 18:14:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EBC1E1E114; Tue, 11 Jan 2022 18:14:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20BIEwIq099920; Tue, 11 Jan 2022 18:14:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20BIEwds099919; Tue, 11 Jan 2022 18:14:58 GMT (envelope-from git) Date: Tue, 11 Jan 2022 18:14:58 GMT Message-Id: <202201111814.20BIEwds099919@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: f2caded7f590 - releng/13.0 - amd64: correct size of the SSE area in the xsave layout List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/releng/13.0 X-Git-Reftype: branch X-Git-Commit: f2caded7f590b8d834892682450d8f9b98e91f21 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641924899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ubtBMSdGCwdtl2HvG2+CrfWsODGbsNR4LJ/MeJN8rys=; b=DOi8pJrJp61MNEJwPbZLZQYh+KaE5rHUgDDFZdgTp1lMOuxImpjlU9JUQfnVzxNPy/cgMI k8nLSDOjIBLLrbOHKjtABLfa9LERGkfdI4H/867FpWR2pYM6zImlobPzWttsWu7EF9q6RC nhLrVS3klLRbmniN3+JK40OVdSfRbbuTP1wv/kq4k48CoHswsXjMz0nAMj7Q9hqXyKK1vY 0dxroR47wId0kiGBTAAoolLG8sP/Mx/Hcy+0IIuyFx601rw+B6ySmKoblvCQQ35DDdDrkS q0PeqXY7RAEryvoKg36ZYvj/REFGPLji9l2B5bYEE0J8N0GawC66v83tn33G5w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641924899; a=rsa-sha256; cv=none; b=ddKCo9d4D640R6lhXQbVMWMfMh2N5iL1aKUqdrBbpOjSkLgYf/Uop9EnnSvD55c2g1ynVY hiSHJHSQlQMhUUnshQiaNkRYVZQffYUpGabXuP5rfRdxRBY5xUuj1Ursj2cPvRoTCptjJv EHsKr9QNXquZM8EmoN4BAiBuKUlWvgdYaTgPIfNQm/A7QaLoSUi0QT2DCEKI+duVIAM0ks If+jdLc/NTlfshkfZ4YzyCV1ESrd6xtITsNRJzLqb22pHPgpljhsr5wKAKSluIgkyhP4mv 25POdDJUJESfB5BYpV5cjjx+hKofX9fKSATgclTAYwuVid6dYrB5gLqpPUbytQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch releng/13.0 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=f2caded7f590b8d834892682450d8f9b98e91f21 commit f2caded7f590b8d834892682450d8f9b98e91f21 Author: Konstantin Belousov AuthorDate: 2021-12-12 02:49:50 +0000 Commit: Ed Maste CommitDate: 2022-01-10 14:51:54 +0000 amd64: correct size of the SSE area in the xsave layout (cherry picked from commit 73b357be92385cbb70ba19e7023a736af2c6b493) (cherry picked from commit 1d6ebddb62bc18833b21a15f8e7eb86102140100) Approved by: so Errata: FreeBSD-EN-22:02.xsave --- sys/amd64/amd64/fpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c index b9723266ea37..f4fc47eee053 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -482,7 +482,7 @@ fpuinitstate(void *arg __unused) xsave_area_desc[0].size = 160; /* XMM */ xsave_area_desc[1].offset = 160; - xsave_area_desc[1].size = 288 - 160; + xsave_area_desc[1].size = 416 - 160; for (i = 2; i < max_ext_n; i++) { cpuid_count(0xd, i, cp);