summaryrefslogtreecommitdiffstats
path: root/scripts/device-crash-test
diff options
context:
space:
mode:
authorDaniel Henrique Barboza2021-10-18 03:01:22 +0200
committerDavid Gibson2021-10-21 02:42:47 +0200
commitcedf706956e7440653b18ac2c2a9452b8d710577 (patch)
tree3664a9a7ee24c076316f7a37275679756c6306be /scripts/device-crash-test
parenttarget/ppc: add user read/write functions for MMCR2 (diff)
downloadqemu-cedf706956e7440653b18ac2c2a9452b8d710577.tar.gz
qemu-cedf706956e7440653b18ac2c2a9452b8d710577.tar.xz
qemu-cedf706956e7440653b18ac2c2a9452b8d710577.zip
target/ppc: adding user read/write functions for PMCs
Problem state needs to be able to read and write the PMU counters, otherwise it won't be aware of any sampling result that the PMU produces after a Perf run. This patch does that in a similar fashion as already done in the previous patches. PMCs 5 and 6 have a special condition, aside from the constraints that are common with PMCs 1-4, where they are not part of the PMU if MMCR0_PMCC is 0b11. Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20211018010133.315842-5-danielhb413@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/device-crash-test')
0 files changed, 0 insertions, 0 deletions