Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1681455rwl; Fri, 24 Mar 2023 14:03:18 -0700 (PDT) X-Google-Smtp-Source: AKy350Z+grzMy+VMRqH3WH6Hl9G2kx0/BO0h3mBgCBrin+E+UzivaBEOEp+bByovXFIOX3aD3eoq X-Received: by 2002:aa7:d584:0:b0:4fa:ba60:8188 with SMTP id r4-20020aa7d584000000b004faba608188mr4203595edq.8.1679691798526; Fri, 24 Mar 2023 14:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679691798; cv=none; d=google.com; s=arc-20160816; b=vnRiPsGFFnlEZJLn6tKw62CXaS0zUvrvnedA0UFX5W4fle06TFQ76gV2RbmT3QioOe vVpyH3wabonTfi/F6wZ/mp0y0eiS47mZJtjHHhMIopXIQRTNR/XuvEFNKiCqCqOyc7Id ZCUb8gopzAKriGIs3RB5x3FrDKj8lufesJIPe3iarCQimVslMrbQ5yl9PwIQG793LgGO l6QoiTvR4GmjZKIh2uyipC0OK+WdpN88k7hWtgBWg4BFXgyt+emd6eKbvpUrl2htsLzP edhKE7rk9SEJbC3F42vmlo8JJhjBDt8F9vYLugeLjPBmyasa7M6jpw35ExVqnyRej/hb 4ARg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=yw8bxlWiVUYvv5AbPqioo8nDrcBziQC1l0Q2DouGamM=; b=F8dFK079m8zPAnEN9EbQ81Sz2ZTajp0Ni8+m1+4SrN37CZ0SuawUGb3cLpP06BLVVG O9+HWzY6yFa159Z+7YfDrzWkjh7MSLwC4EknrySEDtIU/4aVQnJSrAPnb+8ESUOSBy60 30Q/QW2REZHynLJnybokOPlttwYYuWDEAjY40sX+smBf7XvN01s4QF/pAaIHo8uTKTCZ /oM30CopSX5n3lEEznnxzKQxeUOTXixTTwQYiGoUdTnmK3SFPE6IjFAwi9QrZZPkhPWd Jr+DmTNc4q/Rihg5HE//jKOG7MVfh3AH2/8Z7yKWfDHZuBa8eOoYpHiX3z3qd0++Ekij 2Xog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=qZ646UOK; 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 h20-20020aa7c614000000b004fd1f9d8256si22720675edq.208.2023.03.24.14.02.37; Fri, 24 Mar 2023 14:03:18 -0700 (PDT) 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=qZ646UOK; 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 S231877AbjCXU7q (ORCPT + 99 others); Fri, 24 Mar 2023 16:59:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231721AbjCXU7l (ORCPT ); Fri, 24 Mar 2023 16:59:41 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48D5F1F938 for ; Fri, 24 Mar 2023 13:59:38 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-54352648c1eso29725937b3.9 for ; Fri, 24 Mar 2023 13:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679691577; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=yw8bxlWiVUYvv5AbPqioo8nDrcBziQC1l0Q2DouGamM=; b=qZ646UOKygYmjFpivrARhJHeQ6Go6kJ9HdGUO+/6baz6gJsf9QJe1ex6mFCjOsNh8v L+mp+SM6xG0AEro23UhNYOuj5rZYIKSjIzDnTG3CA7LxnI5MkPvj1c9j7VJgDhvG32de PQKGoFMBmWM956CK0CGFhV1YlStEAXUrur0NMmAn0CpKa31xdXtxrZdFOYYFr4ru2Fb3 ywE5pRJw40gOwIYanB4aGYA392gc+Pl/fAJIpz5MiU229AwAGX8UmrCgtuCkIKNLvk+5 Qpih0H5t1qos0D/w3iEGYMUk/THZ8/oKo91rWTTVZ7u8CEgS2iy041wfr5yztL3CEqJq pCJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679691577; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yw8bxlWiVUYvv5AbPqioo8nDrcBziQC1l0Q2DouGamM=; b=rhBVrai8GHJVGeK7+mgjCPf2K+6dGgfVKjehN1Dght4daR4U3rG3XLoNc4O4F1AjLr gDHkrbvLFWfD5i8gx7yXePvkwoOOV1ozfF3o3A+Kdz+fdZLlp5mwOCZJ30lgNunoc8Z9 hCgjBGXQHS3h2SyXMdu1ksmkVYPn2PFnEGFI55+19DbIdnx26xousdSO7ybuvDO6N5N8 LdIZfoa8Vl5oMZgyHWHmMT5HWl/c+aMWDLvdxdnNiE8VcyBBnm10gR4N12Z+IdjdQNUw HbFAds1SQzUbkBv/Cgjf0unTMl8VCzTOl2sa9/avz/OWxRiJgWvcyujY9Fpm2AykBfFN JyRA== X-Gm-Message-State: AAQBX9e9zUAtv1E5d5A4cAyWrlYDkJUqZe1Jo+kILrCSHHQc5c7T/gug 6J3MmW7SB9zWOUrq7uXwPwE9rgGHtBI= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:6902:1201:b0:b6c:4d60:1bd6 with SMTP id s1-20020a056902120100b00b6c4d601bd6mr2334335ybu.9.1679691577552; Fri, 24 Mar 2023 13:59:37 -0700 (PDT) Date: Fri, 24 Mar 2023 13:58:52 -0700 In-Reply-To: <20230221163655.920289-1-mizhang@google.com> Mime-Version: 1.0 References: <20230221163655.920289-1-mizhang@google.com> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog Message-ID: <167969137429.2756469.2347841728687804486.b4-ty@google.com> Subject: Re: [PATCH v3 00/13] Overhauling amx_test From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini , Thomas Gleixner , Mingwei Zhang Cc: "H. Peter Anvin" , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, Jim Mattson , Venkatesh Srinivas , Aaron Lewis , "Chang S. Bae" , Chao Gao Content-Type: text/plain; charset="utf-8" X-Spam-Status: No, score=-7.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable 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, 21 Feb 2023 16:36:42 +0000, Mingwei Zhang wrote: > In this version, I have integrated Aaron's changes to the amx_test. In > addition, we also integrated one fix patch for a kernel warning due to > xsave address issue. > > Patch 1: > Fix a host FPU kernel warning due to missing XTILEDATA in xinit. > > [...] Applied everything except patch 7 to kvm-x86 selftests. Please holler if I missed something subtle about patch 7 (using & vs. ==). This is at the head of kvm-x86/selftests, i.e. I can fix it up if necessary. [01/13] x86/fpu/xstate: Avoid getting xstate address of init_fpstate if fpstate contains the component (no commit info) [02/13] KVM: selftests: x86: Add a working xstate data structure https://github.com/kvm-x86/linux/commit/03e8ddff78ac [03/13] KVM: selftests: x86: Fix an error in comment of amx_test https://github.com/kvm-x86/linux/commit/c23d3b210baf [04/13] KVM: selftests: x86: Enable checking on xcomp_bv in amx_test https://github.com/kvm-x86/linux/commit/1e2de0651567 [05/13] KVM: selftests: x86: Add check of CR0.TS in the #NM handler in amx_test https://github.com/kvm-x86/linux/commit/04f5d4539105 [06/13] KVM: selftests: x86: Add the XFD check to IA32_XFD in #NM handler https://github.com/kvm-x86/linux/commit/eeae141ddb54 [08/13] KVM: selftests: x86: Repeat the checking of xheader when IA32_XFD[XTILEDATA] is set in amx_test https://github.com/kvm-x86/linux/commit/cabed3f958e9 [09/13] KVM: selftests: x86: Assert that XTILE is XSAVE-enabled https://github.com/kvm-x86/linux/commit/44217830267d [10/13] KVM: selftests: x86: Assert that both XTILE{CFG,DATA} are XSAVE-enabled https://github.com/kvm-x86/linux/commit/7b328195c462 [11/13] KVM: selftests: x86: Remove redundant check that XSAVE is supported https://github.com/kvm-x86/linux/commit/08f63d826980 [12/13] KVM: selftests: x86: Check that the palette table exists before using it https://github.com/kvm-x86/linux/commit/7042ef575496 [13/13] KVM: selftests: x86: Check that XTILEDATA supports XFD https://github.com/kvm-x86/linux/commit/564435d346ff -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes