diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2020-02-14 17:51:11 +0000 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2020-06-22 12:50:35 -0500 |
commit | 1509a1324048d90913de11674d68c0b43a3a555e (patch) | |
tree | b4cedd69728bfa62db86ec2c9cabd453fff4b23c /module-common.c | |
parent | 0b487ea66409be1984ed55d3de71000ac363644f (diff) |
target/arm: Correct definition of PMCRDP
The PMCR_EL0.DP bit is bit 5, which is 0x20, not 0x10. 0x10 is 'X'.
Correct our #define of PMCRDP and add the missing PMCRX.
We do have the correct behaviour for handling the DP bit being
set, so this fixes a guest-visible bug.
Fixes: 033614c47de
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200214175116.9164-17-peter.maydell@linaro.org
(cherry picked from commit a1ed04dd79aabb9dbeeb5fa7d49f1a3de0357553)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions