Message ID | 20230120123534.137413-4-bagasdotme@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Documentation fixes for linux-next (Jan 20) | expand |
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.
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(+)