From nobody Tue Jan 11 18:32:01 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 45CC51945563; Tue, 11 Jan 2022 18:32:02 +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 4JYK6V037Vz4YWv; Tue, 11 Jan 2022 18:32:02 +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 D5D421DC5B; Tue, 11 Jan 2022 18:32:01 +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 20BIW1Jg024004; Tue, 11 Jan 2022 18:32:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20BIW1ti024003; Tue, 11 Jan 2022 18:32:01 GMT (envelope-from git) Date: Tue, 11 Jan 2022 18:32:01 GMT Message-Id: <202201111832.20BIW1ti024003@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: 10fd3f883ad9 - releng/12.2 - 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/12.2 X-Git-Reftype: branch X-Git-Commit: 10fd3f883ad99d7ed999144c93940889e683b971 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641925922; 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=S87AYBmt/YxyqN6/SlInK/inzI3sy+uHbLzqWP6I4eE=; b=UT/9ribcHo9xzF9vj04ZRcrWP81zUx3G7D77J+Yqt0CqBCNjmkW7oAmu/l5d8P6+8hWdCK qKUWIdjrVNOsNc1Syl8XumQSlfiP129EXtMg1Vu49g3vGfFfguIjCIeXreL6KPkMiu+yNZ /kLrs856l7ZNWNJbGwk+a168nRRr78bFc2dfQh/WrqstygarJnyTLzE7tSbIJuRNxNLmak g6PW5PA7JPCasfrItN+y94IsMmdyVonLG8YshC619e8CDUIDtk4o+BapWWToE33mfeGr4w eeqh+8uf/xA8hDT60Tex/d1i11/Jn7A1rA+hz2xTxQWPF3fVPYZYiULpikY5VQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641925922; a=rsa-sha256; cv=none; b=hepRFrLD4D4iSFMcq7uV8MUDHyhb9Rl+uPTHaK4vud/Q10kpNKn/FS9wQgwMDafzSmp7x8 yRKFMWfLDug94ZVFMTmXW+Jz4Fee/pWYzi4l0LzHCR0XbcQT9uw1MxjKCFP6Y3+dR1LqnE XqGGeuhnaJW4oysOk+fJpITirk+G8AOoz/dMg+hN7RTNq/ecp+ELEYJ4qTDotcs4KRlVTn nNSwy1Qwh0ZLKDeFYwlGru6GfScLmXOK3IvlV/Zd+EiBJqnjEGWzLgdp9IG0BeAAhgigQp Ic9aIPA5gyUuwCkpC0KZLSjJ0mj/WcoHU3/fya3hBdIGjtUQuRphVbMTw6giFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch releng/12.2 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=10fd3f883ad99d7ed999144c93940889e683b971 commit 10fd3f883ad99d7ed999144c93940889e683b971 Author: Konstantin Belousov AuthorDate: 2021-12-12 02:49:50 +0000 Commit: Ed Maste CommitDate: 2022-01-10 18:04:06 +0000 amd64: correct size of the SSE area in the xsave layout (cherry picked from commit 73b357be92385cbb70ba19e7023a736af2c6b493) (cherry picked from commit 7e45b72844768d7fd5c3c4d4e29f4e84b4bc0402) 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 0fefbb512c25..9d9559cf947a 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -412,7 +412,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);