Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1419035rwl; Wed, 5 Apr 2023 17:21:36 -0700 (PDT) X-Google-Smtp-Source: AKy350ZdyJZT3+fK2A+2Kv6Ylulwwb3InAqj3Gcr2jSFZfcP8mhZkW898tByEQEgdYRyZG9vfAo/ X-Received: by 2002:a17:906:c4b:b0:8b2:7567:9c30 with SMTP id t11-20020a1709060c4b00b008b275679c30mr4758748ejf.59.1680740496510; Wed, 05 Apr 2023 17:21:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680740496; cv=none; d=google.com; s=arc-20160816; b=oa9SRE4ClhNY2/L5wF9f+AkszaZ4qpMgeRfMUHYdnOSuQ5vvCeZ1IZztNpd5sT09rJ EZI7HIDr5cTaBP5ZV0eRG78g6N1r3/WxHQWwuVVSL2/42TB1ELfHGqjFLEdOfjWQfB36 Bxf3QDDsplnj9dehY7XjDrxCZtB+e701uCuA7NFMRojmx4YnbLMFQqanSFRAHugEJi8N EM49GsPmxEe94hFp+eIUXxBp0oRgHvAJMnqOL9OJHM3cgNTaRzn6VRvdN6MqpQYUC4Ia oX6duKfAylB3WWOaHUm/+RFlRTDtehWi7GujVM8R58jwN6bjLfEsfb4x7t3rDOQS61XU tZvg== 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=cWlTF2KX/SLscX0Kn9NLj6T2D2vSbjVY278n3hbFYjY=; b=mFW2bWdeUZmQk5fsJwW8CFAeLRSuI6Dj2mnmMf4l2yAs7epMaC+p53ETSl7zHxyY53 hW7HD336Qa/kEWPIPiOenoaWeE1i7R9uOdTIX0CsAZ+hFhpk/IYCCG1ufiI7O4CNHS6r eJhrU3veLQeDfLYFx7u68CvMx7NhBfGOd+0Yv6BV543xWxK24VEXrIpVfHFux9O6FR1L AEQHUcagge3R8mfXVcP5vBagA39RK1wwoAq64YnufC9A1ahERyxnLcc0+ssb4HV3EDU+ U9IOSwjj9lpPtNiZM235KMRsUnV6KxEZouWCvLeuB99mZ8Jc8P46iihAjWWcyLGeue5B RTcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=Su2D1+qU; 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 o25-20020a170906289900b0093defbd6274si38039ejd.1019.2023.04.05.17.21.11; Wed, 05 Apr 2023 17:21:36 -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=Su2D1+qU; 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 S233923AbjDFATC (ORCPT + 99 others); Wed, 5 Apr 2023 20:19:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbjDFATA (ORCPT ); Wed, 5 Apr 2023 20:19:00 -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 D6411659E for ; Wed, 5 Apr 2023 17:18:59 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-54c060d7cdfso17095667b3.13 for ; Wed, 05 Apr 2023 17:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1680740339; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=cWlTF2KX/SLscX0Kn9NLj6T2D2vSbjVY278n3hbFYjY=; b=Su2D1+qUf7Ph7eETWK8SAUW7jHWbOHfiOGnPWly+EXs6AMreGK9jAxeB1sMb/OMOPY kb81oTWVp7qPJ2XaqWMTwg/It/LOWezEc3rfAp0sKBaL+3W33vnN2uAad8mK04NnX8v1 wgAS00fxMs0Eaz+vby2VZhRvD404NTgE/9a45xFXzFfTi/U2c5pggtcuLB/TcYR1JJDC xNKoRnTU0wNG29j38mxAbaJJb0Ufgh/SdVrwZsC3vIzS1COrjLhtGDoK464jKbYW9zC+ TYvQ2qipOJbnx1veLjZWyA5PJ0blbodGz5ZfUzySMc7nrWDz1f4UI9YX21mBsZcMeCPm Hr3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680740339; 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=cWlTF2KX/SLscX0Kn9NLj6T2D2vSbjVY278n3hbFYjY=; b=gdEHaetBFOBeuCthizW8Afp3inS9qQCoymvXkBmIOBuDVY99jAvM1wmK1lZa69FB9h lX0vYH2ROhqdvfFnBcEggsnlX3ggmmTf5AM/6Eo9/rXYK/scAJrMR6qRcG5idX5A5VZj Yl73HR57Xb5HrBo1GtjqnkYi4ilafIZnGwgDnzrUn7ZjmvffExTOF+iW7Sz9n+05Mbtk CNEmr2ADkgUZw2IXWvY0zkKPJgweIx1JkG3NGAqOVyd9Ofsx5hlfAYZV2jGgINUw06K7 eBd970VTqLOG+PHwcY/M3EzBtYnOOBlUmcTC/VZEhFrVPE9zmrSrXaE9XZtJqpo5DZMr rpig== X-Gm-Message-State: AAQBX9d8V7wgyS09UdLZb7eEenJ4hvcY7PRJMAu4uVKMQhluAAgCSYNn ziHJJnI2Y320b8ChRTXUxAJm32s+KaU= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:6902:12c7:b0:b26:884:c35e with SMTP id j7-20020a05690212c700b00b260884c35emr835123ybu.4.1680740339147; Wed, 05 Apr 2023 17:18:59 -0700 (PDT) Date: Wed, 5 Apr 2023 17:18:20 -0700 In-Reply-To: <20230405101350.259000-1-gehao@kylinos.cn> Mime-Version: 1.0 References: <20230405101350.259000-1-gehao@kylinos.cn> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog Message-ID: <168074029572.706923.3161914837229872289.b4-ty@google.com> Subject: Re: [RESEND PATCH] kvm/selftests: Close opened file descriptor in stable_tsc_check_supported() From: Sean Christopherson To: Sean Christopherson , pbonzini@redhat.com, shuah@kernel.org, dmatlack@google.com, coltonlewis@google.com, vipinsh@google.com, Hao Ge Cc: kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, gehao618@163.com 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 Wed, 05 Apr 2023 18:13:50 +0800, Hao Ge wrote: > Close the "current_clocksource" file descriptor before > returning or exiting from stable_tsc_check_supported() > in vmx_nested_tsc_scaling_test > > Applied to kvm-x86 selftests, thanks! [1/1] kvm/selftests: Close opened file descriptor in stable_tsc_check_supported() https://github.com/kvm-x86/linux/commit/771214507387 -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes