From nobody Wed Dec 15 01:55:12 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 0D87518E543C; Wed, 15 Dec 2021 01:55:13 +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 4JDJGm4tXBz4RsP; Wed, 15 Dec 2021 01:55:12 +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 87926137FF; Wed, 15 Dec 2021 01:55:12 +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 1BF1tCtV031654; Wed, 15 Dec 2021 01:55:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BF1tCMK031653; Wed, 15 Dec 2021 01:55:12 GMT (envelope-from git) Date: Wed, 15 Dec 2021 01:55:12 GMT Message-Id: <202112150155.1BF1tCMK031653@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: 1d6ebddb62bc - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 1d6ebddb62bc18833b21a15f8e7eb86102140100 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639533312; 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=eLIXl0stzOQttq7XITUv3Nwc8LKo1la1NFtFuCgoEO4=; b=Y1w2CWC2Ny8Xs4K1SXdwjpLR3ZByGugY8iEnN3FsQN3Zl23KqQAL2FG3hWrhpHxVd/B1+6 Pee+YYwDU5P2eEO1SouJQyPVuqX/qdwSQEnrP3+yMOjeDBrxXquuMPl3r/YtUEVmtzd/1y nVD4ocbQDQ5GQ8H0NHJjz9Kgt3pdicUWJWYKRZa3eHcltR13k2gkCIIPA0s9rocr7ockmb KPyNu8jWMMtKWYvUf3voc9FSZqvAHAkrAalDGaBlOYhyLOY0jUyZYOWm+b5d486G49GXPr BD17V2Gak/vl4Z6uq/ws7d35Bkq29M+HOsz1hnrn1tk4jy8MMm8mFu+SEjrGEg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639533312; a=rsa-sha256; cv=none; b=wxvNUIvqA9imYiGMqzSjq7JqHxYfNFwk4XM5HNCE6AFSuT1TJcRE0TSRvJ/lxxB+kCduKQ ZIfrN2G4X3ckro+bNRxhkGo6/ibdcAdnBjeOdA/+ETEDBZHmtvBFwo3GqOeAehC/NCbcL4 bpuwZlIggVb7iyVMeHZC71kCwrzr1GQIuVP4Bs/d9wdcfmmQ0doiWIJQ5/hNHHLoMlyOlB XQvUGJxLao03tWHG3WDA0/Q93lj07BOGUV8br1i65e8HJoM9v0VToR5qIvjT3Veb2NHeOG 6ofp54tGvuaXg2TFJ/Mna+5Ob0cnPAC8vAAsHUzc0FfOgtCt9rpvcYnPn5sdNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=1d6ebddb62bc18833b21a15f8e7eb86102140100 commit 1d6ebddb62bc18833b21a15f8e7eb86102140100 Author: Konstantin Belousov AuthorDate: 2021-12-12 02:49:50 +0000 Commit: Konstantin Belousov CommitDate: 2021-12-15 01:41:28 +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 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);