Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: perf: Address some html build warnings

Fix following html build warnings:
Documentation/admin-guide/perf/hisi-pmu.rst:61: WARNING: Unexpected indentation.
Documentation/admin-guide/perf/hisi-pmu.rst:62: WARNING: Block quote ends without a blank line; unexpected unindent.
Documentation/admin-guide/perf/hisi-pmu.rst:69: WARNING: Unexpected indentation.
Documentation/admin-guide/perf/hisi-pmu.rst:70: WARNING: Block quote ends without a blank line; unexpected unindent.
Documentation/admin-guide/perf/hisi-pmu.rst:83: WARNING: Unexpected indentation.

Fixes: 9b86b1b41e0f ("docs: perf: Add new description on HiSilicon uncore PMU v2")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Qi Liu <liuqi115@huawei.com>
Link: https://lore.kernel.org/r/1617021121-31450-1-git-send-email-liuqi115@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>

authored by

Qi Liu and committed by
Will Deacon
b88f5e97 9b86b1b4

+8 -3
+8 -3
Documentation/admin-guide/perf/hisi-pmu.rst
··· 57 57 as PMU v1, but some new functions are added to the hardware. 58 58 59 59 (a) L3C PMU supports filtering by core/thread within the cluster which can be 60 - specified as a bitmap. 60 + specified as a bitmap:: 61 + 61 62 $# perf stat -a -e hisi_sccl3_l3c0/config=0x02,tt_core=0x3/ sleep 5 63 + 62 64 This will only count the operations from core/thread 0 and 1 in this cluster. 63 65 64 66 (b) Tracetag allow the user to chose to count only read, write or atomic 65 67 operations via the tt_req parameeter in perf. The default value counts all 66 68 operations. tt_req is 3bits, 3'b100 represents read operations, 3'b101 67 69 represents write operations, 3'b110 represents atomic store operations and 68 - 3'b111 represents atomic non-store operations, other values are reserved. 70 + 3'b111 represents atomic non-store operations, other values are reserved:: 71 + 69 72 $# perf stat -a -e hisi_sccl3_l3c0/config=0x02,tt_req=0x4/ sleep 5 73 + 70 74 This will only count the read operations in this cluster. 71 75 72 76 (c) Datasrc allows the user to check where the data comes from. It is 5 bits. ··· 83 79 5'b10000: comes from cross-socket DDR; 84 80 etc, it is mainly helpful to find that the data source is nearest from the CPU 85 81 cores. If datasrc_cfg is used in the multi-chips, the datasrc_skt shall be 86 - configured in perf command. 82 + configured in perf command:: 83 + 87 84 $# perf stat -a -e hisi_sccl3_l3c0/config=0xb9,datasrc_cfg=0xE/, 88 85 hisi_sccl3_l3c0/config=0xb9,datasrc_cfg=0xF/ sleep 5 89 86