From nobody Sun Dec 12 18:36:43 2021 X-Original-To: dev-commits-src-all@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 630C418CEBCA; Sun, 12 Dec 2021 18:36:44 +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 4JBtdm0snrz3nZB; Sun, 12 Dec 2021 18:36:44 +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 F35E72610D; Sun, 12 Dec 2021 18:36:43 +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 1BCIahFw091772; Sun, 12 Dec 2021 18:36:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BCIahAx091771; Sun, 12 Dec 2021 18:36:43 GMT (envelope-from git) Date: Sun, 12 Dec 2021 18:36:43 GMT Message-Id: <202112121836.1BCIahAx091771@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 73b357be9238 - main - amd64: correct size of the SSE area in the xsave layout List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 73b357be92385cbb70ba19e7023a736af2c6b493 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639334204; 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=GjjiLfZfaXCzVQp0n54BL2mIia3HrEqD5TwTERJSOOA=; b=myTYf+5C3GpRj11bfUFRCSSQu6CUuLN3nl1B647Ad2AF62RJpk2G2fdJcsASxuspPLaaQa owblCyNUszgr/1jAg+XZxlwqOLIeN2oR0B7Il00QtAA/L3yBYCJTRo0cUzCwOV6Xb5BK9Z J1LDxDaKXZJNbPEerXjK0g+cLThEicclNi7KwDRTDyyNmeWcFvmZpRRqlLtirNDa/+CxYf DaCw54N7SBTeO2w36NMLyY23y4z92lAUfgq2U6jpTG3M7aZJmRPBaAb5sSD9qETh6FPOnS grG4s95qz/Zgykv2pyaq6KJdothbOikdhxOnlTeLyIzm4CcyTi+DJ3bZVSbusg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639334204; a=rsa-sha256; cv=none; b=GPHP4FCu32HRPKuao3lFRm/R7hP8NSDFNcPr4mCDIhrcK5soem0sgzRW8XT8A1ioB0uO6P Gfe5bKyFXw/WtajLLfYvlzJUBhYHXuY3zKJS1povgkhI3nC/vf1Ih8v3S0QGfm1nr5XFUW jyAt9VqYxxbvWF5Oy4N93CCNaXMeVuFeiICFzEaGYyy9+m7J9FfjtP0VI6TTEwXrh87Ak7 fHDP3dhSxzCaAv9MRczkugAzFRMSKDScDEJ1k0l8lW1suMcdJrHPHqdlkLnlPDRYOPoXej J+0RfaNkT4sMwtrBsvYG+S8nRG0rHs+Tf31XOMIpAygsMcO0xmN7qWKEDIJ6wA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=73b357be92385cbb70ba19e7023a736af2c6b493 commit 73b357be92385cbb70ba19e7023a736af2c6b493 Author: Konstantin Belousov AuthorDate: 2021-12-12 02:49:50 +0000 Commit: Konstantin Belousov CommitDate: 2021-12-12 18:20:31 +0000 amd64: correct size of the SSE area in the xsave layout PR: https://github.com/golang/go/issues/46272 Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 3 days --- 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 24986958d4ca..daf079b7d2cc 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -484,7 +484,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);