Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp335923pxb; Tue, 15 Feb 2022 14:40:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKyapXpRILVpKlSW2oQdWZ7oJqs3yiL4hZkuFlm1Z/5zvusAjoWkoESVzJP+/ljWybN2b3 X-Received: by 2002:a17:907:1a48:b0:6ce:4aa:30c5 with SMTP id mf8-20020a1709071a4800b006ce04aa30c5mr100606ejc.559.1644964851633; Tue, 15 Feb 2022 14:40:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644964851; cv=none; d=google.com; s=arc-20160816; b=JFm1P7YrJ5ECrYFiJwTlhZNrqIxfBPWcrTnIMYKpXHguabgFa2lEFO2MuHUImQNqau k+BqbbmmLyHsXVUsV2sEc1Qz1+5crnl+MH7fqi32MhAEKjmj6ktduaDL6aHQ3Osh96JY 3+h5o9PWSng8L5CxAMFMzpuRJcNBw7exNZBHSCJXhV5OG0K1v4nbPim7QKMoMPvmEhqk o+buG7V4/weewFoGTNDkqo6Z+8RCL2ScCtUvXq2prUgaXJswm34na2lQ8u1Hq5S50SH7 kr/zMNT/QIOR0o/fo8KCcDB8Pg6ICqy8Nl6pEk+bSGeFEi78NNjUPWchEE6tnMQgwN7B K5Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=FBEgLM+wt/N2x1IHh68kag6ZJDXafwurcKEa4xbiiRA=; b=k3LZhFY1pCaX2uzRdct1plx86NdWyoo32hf5FcHFdAtCJu0SDwG7+9CqXWBSEUy7l5 aFHgBQSj6locOel3XWdHPOuoZbvBLso3tjFKTom0cpiaGdIs/aHFmcN5+TQw7ksOTcy+ GuV+xknM/xaIFCcaY/zAUaeOJRwvhR3so5UbRyBO0eE7hHyvggtzmlNPTxOawaJ+WGNt OMLbtfV5jqC4aoMZm1fejrfcu79xMJjrdZxUDcfmMcuf7Se7UgMYA4ep9TWxkxoOf+jj TQQn9MctKkAgmGZT6tffvILSZSbahY10yb6xoiIbdvKCitSR7GtbSGGls3Tg3NI99qVZ PjdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=dUtcnX+y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc31si8603652ejc.183.2022.02.15.14.40.29; Tue, 15 Feb 2022 14:40:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=dUtcnX+y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239411AbiBOVtf (ORCPT + 99 others); Tue, 15 Feb 2022 16:49:35 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240529AbiBOVtd (ORCPT ); Tue, 15 Feb 2022 16:49:33 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 597B1D0079 for ; Tue, 15 Feb 2022 13:49:22 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id p15so115607ejc.7 for ; Tue, 15 Feb 2022 13:49:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FBEgLM+wt/N2x1IHh68kag6ZJDXafwurcKEa4xbiiRA=; b=dUtcnX+ydVohJxF8J4PuoFN32Pe8FmdtubeCsxRfg8qkWn4EMw9G9vnkVxUNaGUVkg E9BgdA1lrPfISHBNOyCI8u0tCWhVKPIQ1qcgRaH2Pk3dxk+3Uc9Q1Bbgl3dZomps4wIY H7897feys9nrxvVY8GbtBNNUBkjvNjrCZOqfEoexuQ4/d/DJZ1sxU6Zn+8gkCQClik0A wIn0U5WZfF9CwPRA5yQ/dz0RzyXVdJ7FOp3vgSTul01tcryuOxCjJFQAwciR4JslB9G9 xtj++3faySz8JloNf8tPJ9Qne8vpG7R+G/P7Pq0sJpPazi+wgbKvarov+9KQ3Ee3vS/x C1cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FBEgLM+wt/N2x1IHh68kag6ZJDXafwurcKEa4xbiiRA=; b=m/2Oeok+qLQFxwBWD726jTRsV9Ra8VJqmllUNuJTkVUiuh9LAm8wKmy+YdWm3WsDIm C+chHOuzYNKja1nS4SXaSZgWogJQ8g/7A+VVNeHbcKOVj9xVCn6zd9JTtUClgR3KRP11 +LDPMIjqoFKC9y+f65bpQ++v2Ibo9IiMLOvGVhecreZJwKYvrQsIIXX3EOIl2mAP3Ex6 HXoB4O/bWO1XKRnM0lkthKMc9SFAPsSfwU0j6KlV8W+mN+/Iq1Lqc3N3ig/D8D/IFYRP Oglm+HjYziOvqg9b+b/xuL/WE28Hz1bAXsDOzdQapTLQHT58l00VaIGTZszZm6veFyKD tHPw== X-Gm-Message-State: AOAM531DUFF20Lf3r8tGOCxu14vpZ6ygFop/vi52n8xpOK/SO99VtlAE yX+gL8zbe1OuFBGXB9I3f7z2YxPIwaHOuR/4sG8c6A== X-Received: by 2002:a17:906:91c8:b0:6c5:76a6:688b with SMTP id b8-20020a17090691c800b006c576a6688bmr35287ejx.174.1644961760744; Tue, 15 Feb 2022 13:49:20 -0800 (PST) MIME-Version: 1.0 References: <543efc25-9b99-53cd-e305-d8b4d917b64b@intel.com> <20220215192233.8717-1-bgeffon@google.com> <066c9f4b-b0a3-9343-9db9-1c1c7303da6f@intel.com> In-Reply-To: <066c9f4b-b0a3-9343-9db9-1c1c7303da6f@intel.com> From: Brian Geffon Date: Tue, 15 Feb 2022 16:48:44 -0500 Message-ID: Subject: Re: [PATCH stable 5.4,5.10] x86/fpu: Correct pkru/xstate inconsistency To: Dave Hansen Cc: Greg KH , Thomas Gleixner , Willis Kung , Guenter Roeck , Borislav Petkov , Andy Lutomirski , "# v4 . 10+" , "the arch/x86 maintainers" , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 15, 2022 at 4:42 PM Dave Hansen wrote: > > On 2/15/22 13:32, Brian Geffon wrote: > >> How was this tested, and what do the maintainers of this subsystem > >> think? And will you be around to fix the bugs in this when they are > >> found? > > This has been trivial to reproduce, I've used a small repro which I've > > put here: https://gist.github.com/bgaff/9f8cbfc8dd22e60f9492e4f0aff8f04f > > , I also was able to reproduce this using the protection_keys self > > tests on a 11th Gen Core i5-1135G7. > > I've got an i7-1165G7, but I'm not seeing any failures on a > 5.11 distro kernel. > > How long does this take for you to reproduce? It reproduces for me in just a few seconds. I'm not sure what could be different about my setup, I've tested on a vanilla 5.10 kernel and it reproduced the same way. Brian