From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2C3573858C5E; Tue, 3 Jan 2023 15:41:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2C3573858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672760471; bh=WcVCYo+qEX0LHDqGFclGcbW1IBgLnyDMOWEWU6xe82w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AGkKb+ldxCMOUtyA3rZp+AnmR/V3iSFD5n7hvHr9XZXfMLG/AcaJXADiJrIF+VqvA q2lx3ZDSNDS3pdQfdzO4ru1MSwiYtgopl9nUFBzTFqRDGagsjUpGLuQCAA9bzMaCC1 BwDiKlsxcaa86EQQ3OqMaLpOErLPhqeTI9csGBbY= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/29790] [gdb/testsuite] FAIL: gdb.arch/i386-pkru.exp: read value after setting value Date: Tue, 03 Jan 2023 15:41:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29790 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Db46632ca1602= 1962c33c2ea32b8104fd258ef0af commit b46632ca16021962c33c2ea32b8104fd258ef0af Author: Tom de Vries Date: Tue Jan 3 16:41:05 2023 +0100 [gdb/testsuite] Add xfail in gdb.arch/i386-pkru.exp On a x86_64-linux machine with pkru register, I run into: ... (gdb) PASS: gdb.arch/i386-pkru.exp: set pkru value info register pkru^M pkru 0x12345678 305419896^M (gdb) FAIL: gdb.arch/i386-pkru.exp: read value after setting value ... This is a regression due to kernel commit e84ba47e313d ("x86/fpu: Hook = up PKRU onto ptrace()"). This is fixed by recent kernel commit 4a804c4f8356 ("x86/fpu: Allow PKRU to be (once again) written by ptrace."). The regression occurs for kernel versions v5.14-rc1 (the first tag containing the regression) up to but excluding v6.2-rc1 (the first tag containing = the fix). Fix this by adding an xfail for the appropriate kernel versions. Tested on x86_64-linux. PR testsuite/29790 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29790 --=20 You are receiving this mail because: You are on the CC list for the bug.=