Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1720854rwl; Fri, 24 Mar 2023 14:41:05 -0700 (PDT) X-Google-Smtp-Source: AKy350bFVUswhFN+lJ/XsMmx2B86bVpOaywXU/FFjmqYpjuAIdxe8JJCayq0+rC1B+neKem6clep X-Received: by 2002:a17:903:280e:b0:19a:a9d8:e48a with SMTP id kp14-20020a170903280e00b0019aa9d8e48amr2561873plb.22.1679694064834; Fri, 24 Mar 2023 14:41:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679694064; cv=none; d=google.com; s=arc-20160816; b=KUXScmEWR1D47OOQmvvinZZ1dijSreyybXGiJPWwl1qFK8j61dlaSyc4ZzdA4MNNg8 QxaJW15jPiDd7p49HEcoLslRk92jn099u4jql2WjN3hk4tcuYJ8kRald4KRXihNRHOxA Z/PM0jvdDktwoFwh9zgJbZVHsji3T+K1M6gPZTI8sSoom2qgVLk7Hy/cZH/7dQuWIM8L asvh98Vc5JoZBp2DYmzviuDLxcenQaSI8x90boYWayvy61rQTw6s0nN7yz3KuJVAMON+ xkm3slhMS6xg9ZLy8uOImdd9dVgfMf/F3yw76LoaUy/p2xAq/Sh+qkpqPbWL5cfRWhvW BW/A== 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=qqk3VIkkZ+eaNmKFC4g7qKHFQk1Ktr5Ri5CUqa6GS3c=; b=lG3hVKsq1V8p23xybHDwhiSj2ZJ7LSTFcVCPenex7xgjP0x5uiZ5ABwYRIEobKi6Fe /mqD1AgdCvCOIX4mISM3ksQ1dByw16/QQtiEIsOoTfZTVxgeQs5jEWM4zk6UK+SUGcyc HKuta/jwZtg7Kx92n4g2GXJikITDUMCjZqI1GKz+oEZeEtThoMyJaITUq/fKoz1qzdoA HQfWBPRzkD+5+lgzaggaUGYgFCRTSqm08zv+sYrdpay2uMwTsXcT5kL7wjcw+ZdUzQ/b TdxL5eNW+u9JxF1Dg2c8TSFVq9TFwINAefIJjYIT1lUg28PtcQA4C+jbGFOVUHNvi2sy nyuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=gMpJrqX5; 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 bj11-20020a170902850b00b0019ad832a6f1si21395436plb.168.2023.03.24.14.40.47; Fri, 24 Mar 2023 14:41:04 -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=gMpJrqX5; 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 S231879AbjCXVas (ORCPT + 99 others); Fri, 24 Mar 2023 17:30:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231864AbjCXVap (ORCPT ); Fri, 24 Mar 2023 17:30:45 -0400 Received: from mail-pj1-x104a.google.com (mail-pj1-x104a.google.com [IPv6:2607:f8b0:4864:20::104a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26B6319F2F for ; Fri, 24 Mar 2023 14:30:44 -0700 (PDT) Received: by mail-pj1-x104a.google.com with SMTP id e8-20020a17090a118800b0023d35ae431eso947439pja.8 for ; Fri, 24 Mar 2023 14:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679693443; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=qqk3VIkkZ+eaNmKFC4g7qKHFQk1Ktr5Ri5CUqa6GS3c=; b=gMpJrqX5gNp9x920VhyvpRim8i6UjML4yBPIpJp24QgT0d/OeZow853g+1kfIgvoae U9lCbSo55IdjffXIqOt7I/Oqmjny3fp5cQg5k+JuW1pz+QrrSyBaH5Nw4FuIfr2o9ws2 k1507WSZNJXUyEFW8KjpUvmgG65OukFruUk3vEaSUtvOddVixNBluj3al8mbV5LDN+2M Kdx5jYiXYGVYRGNHl2Tz8zdM4q0bJsdAj8Or6cglaOH0HmGtAF80HtKZeKkcBHVUqWX+ PD2L02yoAjQMavN0syyIfdg7zczvDQTLcRn50T3xQ3a7AyJkMPvdmmZkoelJSKt7kyoP PfrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679693443; 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=qqk3VIkkZ+eaNmKFC4g7qKHFQk1Ktr5Ri5CUqa6GS3c=; b=E6fJWBjNxDU4zwCDHDwWdQLna4hHCwOIcv9fhWkfAJcDe8Fdevbw/4xoK30RZkhDLx /CAMK7NZigE9NLX/qZHwNBN/2gi1158PFuRYEzvks+1eijFOzSkRo2P33RafGfyrhG59 o3KOpRjUoPffBLVIJvR9KkoXqpROxYl5GwDSYTXMhmFgKs5VWdIPgXsT8jjsPxnMfcAM tTeTiccsQxiZas5vokNtdZCJ5caPTMP7HORXV301KXVpUVpkisxpHLBK47NprcqKSnXi P5oPa/cTi0nVVjmjRYlIwzF/+KMrua6zmbpfoWE5zZir9ub0ilvkTNXLgO6AsAqRtbEW 8FmA== X-Gm-Message-State: AAQBX9dj7IyzqEeIYxh6gnTL6RaPJPiV9YBZX9eCRuNvBZVTbygY9IRI 10rKE5FqHTha0C6bxSGRWeGnTO6Szyc= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:902:e74b:b0:1a1:b440:3767 with SMTP id p11-20020a170902e74b00b001a1b4403767mr1583993plf.3.1679693443732; Fri, 24 Mar 2023 14:30:43 -0700 (PDT) Date: Fri, 24 Mar 2023 14:30:42 -0700 In-Reply-To: Mime-Version: 1.0 References: <20230221163655.920289-1-mizhang@google.com> <167969137429.2756469.2347841728687804486.b4-ty@google.com> Message-ID: Subject: Re: [PATCH v3 00/13] Overhauling amx_test From: Sean Christopherson To: 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="us-ascii" 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 Fri, Mar 24, 2023, Sean Christopherson wrote: > On Fri, Mar 24, 2023, Sean Christopherson wrote: > > 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) > > *sigh* And by "everything" I meant "all of the selftests patches". Continuing my circus of goofs, I already force pushed selftests due to an unrelated mixup. New hashes below (the comment above still stands in case another overwrite is necessary). [1/11] KVM: selftests: Add a fully functional "struct xstate" for x86 https://github.com/kvm-x86/linux/commit/5de4a3765b7e [2/11] KVM: selftests: Fix an error in comment of amx_test https://github.com/kvm-x86/linux/commit/bec357a4af55 [3/11] KVM: selftests: Enable checking on xcomp_bv in amx_test https://github.com/kvm-x86/linux/commit/48ad4222c43c [4/11] KVM: selftests: Add check of CR0.TS in the #NM handler in amx_test https://github.com/kvm-x86/linux/commit/0aeb9729486a [5/11] KVM: selftests: Assert that XTILE_DATA is set in IA32_XFD on #NM https://github.com/kvm-x86/linux/commit/9cbd9aaa670f [6/11] KVM: selftests: Verify XTILE_DATA in XSTATE isn't affected by IA32_XFD https://github.com/kvm-x86/linux/commit/bfc5afc37c9d [7/11] KVM: selftests: Assert that XTILE is XSAVE-enabled https://github.com/kvm-x86/linux/commit/7e1075f05078 [8/11] KVM: selftests: Assert that both XTILE{CFG,DATA} are XSAVE-enabled https://github.com/kvm-x86/linux/commit/2ab3991b0b9b [9/11] KVM: selftests: Move XSAVE and OSXSAVE CPUID checks into AMX's init_regs() https://github.com/kvm-x86/linux/commit/d01d4a4f7bd2 [10/11] KVM: selftests: Check that the palette table exists before using it https://github.com/kvm-x86/linux/commit/d32fb0714293 [11/11] KVM: selftests: Check that XTILEDATA supports XFD https://github.com/kvm-x86/linux/commit/d563164eaeb1