From patchwork Fri Jan 20 12:35:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bagas Sanjaya X-Patchwork-Id: 13109742 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 8D6B7C05027 for ; Fri, 20 Jan 2023 12:36:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229936AbjATMga (ORCPT ); Fri, 20 Jan 2023 07:36:30 -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 ); 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-Google-Smtp-Source: AMrXdXvVos2ggTL5T7HwbpOP+GXCUldlSyFLCZin7OjMSnh1W6yxJ50nEOUR/Xc6pUbJWCAKcPjonA== 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 To: Freedesktop DRI List , Linux Kernel Mailing List , Linux Documentation , Linux KVM , Linux Next Mailing List Cc: Oded Gabbay , Jonathan Corbet , Paolo Bonzini , Jeffrey Hugo , Ofir Bitton , Sean Christopherson , Aaron Lewis , Bagas Sanjaya , Stephen Rothwell 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 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 Signed-off-by: Bagas Sanjaya --- 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.