From nobody Wed Dec 15 01:56:55 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 8D66518E6962; Wed, 15 Dec 2021 01:56:56 +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 4JDJJl6ZvMz4TLP; Wed, 15 Dec 2021 01:56:55 +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 BCECC13662; Wed, 15 Dec 2021 01:56:55 +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 1BF1utGA032049; Wed, 15 Dec 2021 01:56:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BF1uteu032048; Wed, 15 Dec 2021 01:56:55 GMT (envelope-from git) Date: Wed, 15 Dec 2021 01:56:55 GMT Message-Id: <202112150156.1BF1uteu032048@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 7e45b7284476 - stable/12 - 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/stable/12 X-Git-Reftype: branch X-Git-Commit: 7e45b72844768d7fd5c3c4d4e29f4e84b4bc0402 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639533416; 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=t/VQ11pCQ23GXT+KLOnHVcq/7fsGSGTfW+rINID+b/s=; b=QOwDuwsx+I1/yEWnVZExiJncdWPxAQhSnnaP1KDlXc4eO/QCqL3QamDKaE4uGbDej2z1fr AGIX/67JvN7IA2g/rDw9C9B2Ewy7E1wtSWlzgjYkyTbJza/ko4hn4RAPodJ+3kp5TW7zXR Popu2J2rAqWPW8siYRaonrgVXD2DZ3Lw4zauqBtVPJQotUvPIoLG9BHdbvpwD4dVhZikYe iC9hsjEO/FStIVt/epsPWGreLPTF+U/jt+LxIu7Yji3yOFS2HT7B7Ks0IEQd03OpZUE2g1 gArdhs9FE/BG9zPbJnyyMRgaJRA1THxE7DiU5ER0tKsx/ZmlzadOuZOja1x71g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639533416; a=rsa-sha256; cv=none; b=dMZI8PXYRJh6tdp/jotxBxLaSpGfgTPpqeyNdckQoRnaMK4rtJQCTEDVrCi9wetOckGScx hUiuHcuJ0/iAB3wTa6LCzwbXyOe3E03Y4Qq27TTWNCTAvkeXy7B9mkVy879F58ZC9e/NK6 STrmySkfPwv3BctcTXX4DTibBobSDCbr7UsQNRaANo94v11mFTLMyGhMQQ8KBi3X18cbii PcqP56cah3IjqILXDok1GVKmHrDD8534ouRXhyB4FXM+KZUFS4fXbYM692Ix6OlZg2HfrG pBqyqSdXDxFEMaLmoTLK1tFfEHKd8JfOB23Zox3B5S5+lP3J9jCEjTZU7ec+rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7e45b72844768d7fd5c3c4d4e29f4e84b4bc0402 commit 7e45b72844768d7fd5c3c4d4e29f4e84b4bc0402 Author: Konstantin Belousov AuthorDate: 2021-12-12 02:49:50 +0000 Commit: Konstantin Belousov CommitDate: 2021-12-15 01:56:10 +0000 amd64: correct size of the SSE area in the xsave layout (cherry picked from commit 73b357be92385cbb70ba19e7023a736af2c6b493) --- 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 1045f691f440..d17241bf2523 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -480,7 +480,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);