Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1276919rdg; Fri, 13 Oct 2023 16:48:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEXzqvxG/l8SwTz4BZmdRbSUDtDssi7SaDh0vSjxdP+lHg/BJRbpSO/iFTmZVg5/V6hDpKt X-Received: by 2002:a05:6359:5148:b0:163:ce28:91ec with SMTP id oc8-20020a056359514800b00163ce2891ecmr17659097rwb.22.1697240937049; Fri, 13 Oct 2023 16:48:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697240937; cv=none; d=google.com; s=arc-20160816; b=K+Tl4gqaujyYfPb2zboW8LOAG7g6JHXcT2+xLOG1TX7b/cELz0CVIrqRvK4wZguGhM oeDjxKsyDTKbSTWK3IhNOrCV8TdQzE/FB9YQqncTwPB1VPzy3iseW5268+ubuu5wsmrk gQkPNHi3egnx8mUnztSw3zjaoYMy1Ce9mc20ivqPZdRVBkNqMHR50H6iiG0T3EhIuBjs XA3umbpIO5AYADUMIFHQxef502BeC0LFoX0wvvH13d16q9IV2+xmW29wSkjhgnIzTuO7 U5bKNsr8ysnXHTQYOlZMKPjkcYcMw0yUWv9e6XKzTy/nYGFdYcEbh2KpFlMEIFpzGPm3 o7/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:reply-to:dkim-signature; bh=B0H/DWogKBB461msJyCD0Uj3l81698KKVi8MC7sVdKQ=; fh=dogxdQWc7Q2U5Ekp9F18wEHwMgE3kRwQ/60KgTj3654=; b=qEC8BTag3ovKdA+uC+Riie/ytqt1Pw9EkUv/QVQiwCnxqCNTo5IBEOU6b4ut4CtYSP nS/x36EXZOomQohQ0jySTzZaL4dUw8WUmRSbxhu8mSR0uQSGt6V5vM/ZqKU+Vn77A9lg hnQEsk1eradK7ZCqbq/KJbt4puBJVCY/Ti5dmKXDvmR0gli2+FAjAT0H9qeeL7/Zdr41 tPRoEhPaSodpUdb9WKenTF8rTt+NEoYp9sZfRiTld6Qo92FSEIdw3WjR3Y5oll1cRNHB 34NB+itqd6cio6hdLL+XCgjhp5aTTsQarcW/6vZSb/H7N2uyH2jrcgY8egE3zGDGuEBB Ts1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=w77lEzLp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id e12-20020a63db0c000000b00565ecee8793si5605031pgg.875.2023.10.13.16.48.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 16:48:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=w77lEzLp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 549DB832C65F; Fri, 13 Oct 2023 16:48:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232762AbjJMXs0 (ORCPT + 99 others); Fri, 13 Oct 2023 19:48:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232666AbjJMXsW (ORCPT ); Fri, 13 Oct 2023 19:48:22 -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 0FA57CE for ; Fri, 13 Oct 2023 16:48:18 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-5a81a80097fso20596817b3.3 for ; Fri, 13 Oct 2023 16:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1697240897; x=1697845697; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:from:to:cc:subject:date:message-id:reply-to; bh=B0H/DWogKBB461msJyCD0Uj3l81698KKVi8MC7sVdKQ=; b=w77lEzLp0DzMA4VU506ejzPsLowH/C3zewUTTJXPYF1euMFrkthvNnVc3xMy9Ym7+g SrIQP4zA9ggCNfR2OUu22a+t0Z09nOOLx0H5OeCYlJhpuGJsELpyA3Omth8Ni+P4NOve ltKrE1I5YCRBQJ7udxwO+JmP1eT6vLn1NlgbrWtb6B+UQ1EqjwYRnD1Girf1jrzmtt9N DSq8t9s/eAxVAQW+VUfKS0hUWvnV3eGOIcv+mbRzRLBFe8okM6r5lpPhaP03s3Q70tZv NLhOvp4Zh4h98uT32e7p7piWcUcEV/0xJHB9Ij0g8fnoSfV7oVFN84Elcm78B9LS61+z w23g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697240897; x=1697845697; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=B0H/DWogKBB461msJyCD0Uj3l81698KKVi8MC7sVdKQ=; b=FagpdHTRLQMFwYze/RB9XHFRYvKSiv5msDxRmHF+Mw0lzYZrXnVft3bd9qXRnmioPK iiAWlvezk8Ex5Fxq9fNH97o221aCnN0rhDD3VVv1WtJ2aP+OOjxxEOQiCmTwRJFx/9Pv 495762eAweM3FEm+jCOUSQr9ydYuJCuMkK7/HMUvbn+fz71E83GuHwv/EC+UtMRSZSno 3xJOOc3hs/zSuHcXyaJMV3zGyEcuGAcxgygr8uzS4zOk7QVXmKvME32EP9TmjTnuv0ZL pv7utdZQRmQq1Nx1MQgUwtGn1nUAshXSzORsyYK/z8oZkG/0qUbki+U/pIfIxRAqi9Iz JTjw== X-Gm-Message-State: AOJu0YycRVS4IP6h2zOSnEhXcGKTzSTPiRS+g4T5ags6Fh5xiTmOkSGW 6j03xhJKSiVOZdFT66zOM2JX9kTEK2E= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a0d:ec46:0:b0:59b:eea4:a5a6 with SMTP id r6-20020a0dec46000000b0059beea4a5a6mr550473ywn.0.1697240897278; Fri, 13 Oct 2023 16:48:17 -0700 (PDT) Reply-To: Sean Christopherson Date: Fri, 13 Oct 2023 16:48:08 -0700 In-Reply-To: <20231013234808.1115781-1-seanjc@google.com> Mime-Version: 1.0 References: <20231013234808.1115781-1-seanjc@google.com> X-Mailer: git-send-email 2.42.0.655.g421f12c284-goog Message-ID: <20231013234808.1115781-2-seanjc@google.com> Subject: [GIT PULL] KVM: x86: Selftests fixes for 6.6 From: Sean Christopherson To: Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Sean Christopherson Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 13 Oct 2023 16:48:54 -0700 (PDT) Please pull a fix, a cleanup, and a workaround for 6.6. The guest printf change really should go into 6.6, as it fixes an issue introduced in 6.6 that causes affected guest asserts to print garbage. The other two changes are much less urgent, but I couldn't think of a any reason to hold them back. The following changes since commit 5804c19b80bf625c6a9925317f845e497434d6d3: Merge tag 'kvm-riscv-fixes-6.6-1' of https://github.com/kvm-riscv/linux into HEAD (2023-09-23 05:35:55 -0400) are available in the Git repository at: https://github.com/kvm-x86/linux.git tags/kvm-x86-selftests-6.6-fixes for you to fetch changes up to 6313e096dbfaf1377ba8f5f8ccd720cc36c576c6: KVM: selftests: Zero-initialize entire test_result in memslot perf test (2023-10-05 19:23:47 -0700) ---------------------------------------------------------------- KVM selftests fixes for 6.6: - Play nice with %llx when formatting guest printf and assert statements. - Clean up stale test metadata. - Zero-initialize structures in memslot perf test to workaround a suspected "may be used uninitialized" false positives from GCC. ---------------------------------------------------------------- Like Xu (1): KVM: selftests: Remove obsolete and incorrect test case metadata Sean Christopherson (2): KVM: selftests: Treat %llx like %lx when formatting guest printf KVM: selftests: Zero-initialize entire test_result in memslot perf test tools/testing/selftests/kvm/include/ucall_common.h | 2 -- tools/testing/selftests/kvm/lib/guest_sprintf.c | 7 +++++++ tools/testing/selftests/kvm/lib/x86_64/apic.c | 2 -- tools/testing/selftests/kvm/memslot_perf_test.c | 9 +++------ tools/testing/selftests/kvm/x86_64/hyperv_svm_test.c | 2 -- tools/testing/selftests/kvm/x86_64/nx_huge_pages_test.c | 2 -- tools/testing/selftests/kvm/x86_64/nx_huge_pages_test.sh | 1 - tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c | 4 ---- tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c | 4 ---- 9 files changed, 10 insertions(+), 23 deletions(-)