[linux-next,3/3] kvm: x86/pmu: Add blank line separator before KVM_CAP_PMU_EVENT_MASKED_EVENTS code path list
Message ID | 20230120123534.137413-4-bagasdotme@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp174624wrn; Fri, 20 Jan 2023 04:40:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXtaNmFWEEr89m7zuatyN6DSO6Riu5aMNbD+Ji4vV14U0B814FEiPMSeJ3csHnaDoxE4N7eM X-Received: by 2002:a17:90b:3891:b0:22b:b3de:1c64 with SMTP id mu17-20020a17090b389100b0022bb3de1c64mr1254530pjb.35.1674218437441; Fri, 20 Jan 2023 04:40:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674218437; cv=none; d=google.com; s=arc-20160816; b=QJZwONzbgaoceOSnqNrECwUHfCH+VWgWISjOjtD2mdBoUDs/wkLsGvtzO3M5R5l32j f2jzJOtnFR2dCSJtzIYa08KN+nNbPA26WUv/ZUocwaWq7+2JFstQ5EyoxL8SVKBOOGHo HXr1kRmJ0qOlHDZpHew1xWbCipS1p0D/Glq0dBR2Tfe0wLIJb5jCQJS/cAkzlQwf83f/ eKSZOX1G71D8GGuzVyYtq/im8+hI6e2gArYseL5W2AFtyVxorC0oU2WBMr0ZXWnCnOuh VyeS4Hs/Wk15uUes3jNiJGHcTVTdq/Pmw9oWLSUaUralLdBka1U0Up1p6iOl5KhhY2q1 +P0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EMRe8eLbb8kiHFG5rJAk+PE3/E/OOzFPOQcaCCbQAoA=; b=YVY5OiB51WEwVSH1pcfL2znCBf+VvJsWrgjxwr5nOThYmOu80n2+Psz5ucybx4BYGZ 02xYvlleeU6MfbDmWOm7GwoD0t4ufBi1kQNd+nhKPM+9EX5GmfGTP0du4VlIAKTjPXoQ cY62MKDxfB0f7a6x3fG3GaR09xlD/5n616Y/kvPBC2JYeYmqNuSAF0dUBOzmkYohmw3x hbapw3PFgOBMLNwJKCqSz6H0xNTvwv6lxxBwJJz1G45VqTDzu+qBw0QEjozoDnnqSs9f ANUwwOtgBjc3iXl9nqw13u8abZkBNDar79IpTXlB/QLUYI5xVnkmkDUWClynvfNkF0in eXTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=h9ZDQEpd; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a13-20020a17090a8c0d00b002293c88719dsi2243715pjo.100.2023.01.20.04.40.25; Fri, 20 Jan 2023 04:40:37 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=h9ZDQEpd; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230285AbjATMgg (ORCPT <rfc822;literming00@gmail.com> + 99 others); Fri, 20 Jan 2023 07:36:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230182AbjATMgQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 20 Jan 2023 07:36:16 -0500 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 701E8BFF42; Fri, 20 Jan 2023 04:35:52 -0800 (PST) Received: by mail-pj1-x102c.google.com with SMTP id s13-20020a17090a6e4d00b0022900843652so8944517pjm.1; Fri, 20 Jan 2023 04:35:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EMRe8eLbb8kiHFG5rJAk+PE3/E/OOzFPOQcaCCbQAoA=; b=h9ZDQEpdJpvry7XWWAXJlAu+RImAffJ6mJRokPSxuAcl2ojeIUAJU0hYBM87Wef3Y8 qcYv78OCB4+F0a2EHi0QexCUL6KQ0DtM1FFTJEVsXO11eHp0daCIkA4LMm0Opmi+FPN3 jhn32UKAz8788V4RxXr8quDOe1L/wp0akqP6LII6QaCnyU271LrAxphlEh1tXgYq6pYP QuW5RwUWCDp2ACemGyrEa02k6zfNs9MnZC8GkkI6LUp5eX8Ct37FpjcEQEeWK4iX6BHf YoUFBXj0jO4eAJ2UdSeXQVt/b85CUCo/eEy8yh/UYWZvoGkemlhiTVLDWdEd1GEuoE2H 6q2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EMRe8eLbb8kiHFG5rJAk+PE3/E/OOzFPOQcaCCbQAoA=; b=Pq5U0ZhHPJgl+aDWO3Ay8yMC9WwUSlhrfi5DV/LdToaPIGutms69RcaUtWdL1cxg9X GEUYI1vgYXGPrMc+C52GO0hxLKLMgk3QvgzZDXrRjKbcl2zkE3KY9YEbfyQN+oll52t4 5xjIn9WbnOQcJbAKiHuXEwzsjuuFN7FqoQnG1+YJLyzaDtJRooJGYy1Oq3Jormvbg1WZ jgq742PsAzDNSQ/2tcvYsRy2y1CfOamH3yYM7TqAS+znnE1We/63PFjB40Hu9dteipr0 G8aX3mdJ8AzRaeNNKQLUdgGuM4PC+C6wmoqJ8l4DR8SPQukQG6Ez0CMKL1o3cxn8jd/N suJg== X-Gm-Message-State: AFqh2kprPkizOjdGknyWdz/hT/Kk41msDk1p8er/M7L06lDryQV603ZR HFaTCHcI6lItOFlbyQXVgFU= X-Received: by 2002:a05:6a21:398b:b0:b6:a58c:d01 with SMTP id ad11-20020a056a21398b00b000b6a58c0d01mr16824076pzc.30.1674218144599; Fri, 20 Jan 2023 04:35:44 -0800 (PST) Received: from debian.me (subs02-180-214-232-6.three.co.id. [180.214.232.6]) by smtp.gmail.com with ESMTPSA id z189-20020a6233c6000000b0058de3516c3esm5534003pfz.142.2023.01.20.04.35.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 04:35:42 -0800 (PST) Received: by debian.me (Postfix, from userid 1000) id 2CA5310189D; Fri, 20 Jan 2023 19:35:37 +0700 (WIB) From: Bagas Sanjaya <bagasdotme@gmail.com> To: Freedesktop DRI List <dri-devel@lists.freedesktop.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Documentation <linux-doc@vger.kernel.org>, Linux KVM <kvm@vger.kernel.org>, Linux Next Mailing List <linux-next@vger.kernel.org> Cc: Oded Gabbay <ogabbay@kernel.org>, Jonathan Corbet <corbet@lwn.net>, Paolo Bonzini <pbonzini@redhat.com>, Jeffrey Hugo <quic_jhugo@quicinc.com>, Ofir Bitton <obitton@habana.ai>, Sean Christopherson <seanjc@google.com>, Aaron Lewis <aaronlewis@google.com>, Bagas Sanjaya <bagasdotme@gmail.com>, Stephen Rothwell <sfr@canb.auug.org.au> Subject: [PATCH linux-next 3/3] kvm: x86/pmu: Add blank line separator before KVM_CAP_PMU_EVENT_MASKED_EVENTS code path list Date: Fri, 20 Jan 2023 19:35:34 +0700 Message-Id: <20230120123534.137413-4-bagasdotme@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230120123534.137413-1-bagasdotme@gmail.com> References: <20230120123534.137413-1-bagasdotme@gmail.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1281; i=bagasdotme@gmail.com; h=from:subject; bh=ztjmBXMVnQA+Q8YPslWD2ffuuyTaZSosFKC4Wud/mqs=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDMmnuqblvYpfyPXs1e8DP07fz4sKKRN5eY/58eVV/IEWT1Vv Kmzf31HKwiDGxSArpsgyKZGv6fQuI5EL7WsdYeawMoEMYeDiFICJnLvGyLBLoHBL85E3pyuuRp/+xf +y3l5IOY01q1D5xHmXgHn8/rcYGf4FlBw+lH5Gneue8eWN89Sf5jfYbNh89/ir5stxBk9Ou7EBAA== X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS autolearn=no 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755545271958653326?= X-GMAIL-MSGID: =?utf-8?q?1755545271958653326?= |
Series |
Documentation fixes for linux-next (Jan 20)
|
|
Commit Message
Bagas Sanjaya
Jan. 20, 2023, 12:35 p.m. UTC
Stephen Rothwell reported htmldocs warning when merging kvm-x86 tree:
Documentation/virt/kvm/api.rst:5070: ERROR: Unexpected indentation.
Fix the warning by adding a blank line separator before
KVM_CAP_PMU_EVENT_MASKED_EVENTS code path list to determine guest access.
Link: https://lore.kernel.org/linux-next/20230120130927.3100f935@canb.auug.org.au/
Fixes: 651daa44b11c0e ("kvm: x86/pmu: Introduce masked events to the pmu event filter")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
Documentation/virt/kvm/api.rst | 1 +
1 file changed, 1 insertion(+)
Comments
On Fri, Jan 20, 2023, Bagas Sanjaya wrote: > Stephen Rothwell reported htmldocs warning when merging kvm-x86 tree: > > Documentation/virt/kvm/api.rst:5070: ERROR: Unexpected indentation. > > Fix the warning by adding a blank line separator before > KVM_CAP_PMU_EVENT_MASKED_EVENTS code path list to determine guest access. > > Link: https://lore.kernel.org/linux-next/20230120130927.3100f935@canb.auug.org.au/ > Fixes: 651daa44b11c0e ("kvm: x86/pmu: Introduce masked events to the pmu event filter") > Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> > Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> > --- > Documentation/virt/kvm/api.rst | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst > index a477186c57c193..83e3acc9e3211d 100644 > --- a/Documentation/virt/kvm/api.rst > +++ b/Documentation/virt/kvm/api.rst > @@ -5067,6 +5067,7 @@ An encoded event will follow this layout:: > > When the guest attempts to program the PMU, these steps are followed in > determining if the guest should have access: > + > 1. Match the event select from the guest against the filter events. > 2. If a match is found, match the guest's unit mask to the mask and match > values of the included filter events. > -- Squashed this into the offending commit, thanks!
diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst index a477186c57c193..83e3acc9e3211d 100644 --- a/Documentation/virt/kvm/api.rst +++ b/Documentation/virt/kvm/api.rst @@ -5067,6 +5067,7 @@ An encoded event will follow this layout:: When the guest attempts to program the PMU, these steps are followed in determining if the guest should have access: + 1. Match the event select from the guest against the filter events. 2. If a match is found, match the guest's unit mask to the mask and match values of the included filter events.