From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB0D8C433F5 for ; Thu, 21 Apr 2022 18:35:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1391416AbiDUSie (ORCPT ); Thu, 21 Apr 2022 14:38:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1391404AbiDUSi2 (ORCPT ); Thu, 21 Apr 2022 14:38:28 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8CA693057E for ; Thu, 21 Apr 2022 11:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650566137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lD3idtDd7NCL34P0gct5UJAjxUjJHC0DJflfQTN0p9Y=; b=WzXq+PslL/uK2s+w2SYpZXdGM+XcEn6iMP7qyOzwR1SaJ5kO0w4CzxVQnSvL/TTKyd3Re6 lrq6MEaVfFPbKbyCvQXgQO9xOMYM39t7qFWAfYmYXg6vZ5eU0DZ2Z+l+flBVHIxXBIWZYi 2PLPfliNIRDbzeQeXUJIBzcyoD4uETc= Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-42-qlmV2IVXMI-gZiNjxoXBQQ-1; Thu, 21 Apr 2022 14:35:36 -0400 X-MC-Unique: qlmV2IVXMI-gZiNjxoXBQQ-1 Received: by mail-io1-f71.google.com with SMTP id t1-20020a056602140100b0065393cc1dc3so3869727iov.5 for ; Thu, 21 Apr 2022 11:35:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=lD3idtDd7NCL34P0gct5UJAjxUjJHC0DJflfQTN0p9Y=; b=hxMnAxVza9l/n9+204xH33+IHR27MK6OvyPqCBa75ZG3EYqZVyKqk3M+aG2/7F7tiJ IlqWY8avHDoY2XgezSTYxPyNtAI+/ClEr4nvLSx6mVxpzkjvbtozFliIP3TpM0KjWFsx UVjeElqH1SerG9XNF7HELmW0vEILJmycepjoIHhTqMzwYhJWiTVHPOrsYWm8C7dBhcbu ayYhkZh6zADj8duDaYDG8wn78JAbVPMOyWEoOZoNxvBprFTKCXCwZoIgE4zCBBlTEdEv e3k+NLC2j+iAuy4kPiVtCLxllwbk33aBW64D8QWh1ABr4jkeO/cxwhql2+REs43RD0xT qsYg== X-Gm-Message-State: AOAM532T/evbCoRFi5q9QoKa9OTK0AcLWY9evzvL+63YU/ffpYmSeZuU rj0KZbbSL7JcQ2tC01uEdx0hzLETu/RY7OulowzkL2l7zAhvDXq3TDQoyFzfWUb5IAeDqgYBL4V N380BqcG1pwRaxTM6wqzfsI5C X-Received: by 2002:a92:ca48:0:b0:2cd:63e9:81b1 with SMTP id q8-20020a92ca48000000b002cd63e981b1mr423946ilo.17.1650566135748; Thu, 21 Apr 2022 11:35:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzjxVMafCVT6sXTxD41ACNCtxSKenuGT1XbA+oKeoBEXeyn+wkrOZt3LF1GmIC5S2VnNfh3Q== X-Received: by 2002:a92:ca48:0:b0:2cd:63e9:81b1 with SMTP id q8-20020a92ca48000000b002cd63e981b1mr423934ilo.17.1650566135540; Thu, 21 Apr 2022 11:35:35 -0700 (PDT) Received: from xz-m1.local (cpec09435e3e0ee-cmc09435e3e0ec.cpe.net.cable.rogers.com. [99.241.198.116]) by smtp.gmail.com with ESMTPSA id h8-20020a92d088000000b002cbe5d18e21sm12325242ilh.31.2022.04.21.11.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 11:35:35 -0700 (PDT) Date: Thu, 21 Apr 2022 14:35:33 -0400 From: Peter Xu To: Ben Gardon Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Paolo Bonzini , Sean Christopherson , David Matlack , Jim Mattson , David Dunn , Jing Zhang , Junaid Shahid Subject: Re: [PATCH v6 07/10] KVM: x86: Fix errant brace in KVM capability handling Message-ID: References: <20220420173513.1217360-1-bgardon@google.com> <20220420173513.1217360-8-bgardon@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220420173513.1217360-8-bgardon@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 20, 2022 at 10:35:10AM -0700, Ben Gardon wrote: > The braces around the KVM_CAP_XSAVE2 block also surround the > KVM_CAP_PMU_CAPABILITY block, likely the result of a merge issue. Simply > move the curly brace back to where it belongs. > > Fixes: ba7bb663f5547 ("KVM: x86: Provide per VM capability for disabling PMU virtualization") > > Reviewed-by: David Matlack > Signed-off-by: Ben Gardon Reviewed-by: Peter Xu -- Peter Xu