Mostafa Saleh
bcc919e756
hw/arm/smmuv3: Refactor stage-1 PTW
...
In preparation for adding stage-2 support, rename smmu_ptw_64 to
smmu_ptw_64_s1 and refactor some of the code so it can be reused in
stage-2 page table walk.
Remove AA64 check from PTW as decode_cd already ensures that AA64 is
used, otherwise it faults with C_BAD_CD.
A stage member is added to SMMUPTWEventInfo to differentiate
between stage-1 and stage-2 ptw faults.
Add stage argument to trace_smmu_ptw_level be consistent with other
trace events.
Signed-off-by: Mostafa Saleh <smostafa@google.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Message-id: 20230516203327.2051088-4-smostafa@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2023-05-30 13:02:53 +01:00
..
2023-04-20 10:21:13 +01:00
2023-04-20 10:21:14 +01:00
2022-12-14 16:19:35 +01:00
2022-09-14 11:19:40 +01:00
2023-02-07 09:02:05 +01:00
2023-03-02 13:57:50 +01:00
2023-03-07 16:53:18 +01:00
2023-03-02 13:57:50 +01:00
2023-03-02 13:57:50 +01:00
2023-05-02 15:47:40 +01:00
2023-05-02 15:47:40 +01:00
2023-05-02 15:47:40 +01:00
2023-05-02 15:47:40 +01:00
2023-03-22 15:06:57 +00:00
2023-03-22 15:06:57 +00:00
2021-12-15 10:35:26 +00:00
2022-04-21 17:03:51 +04:00
2022-02-08 10:56:28 +00:00
2023-04-20 10:21:13 +01:00
2023-03-02 13:57:50 +01:00
2023-05-30 13:02:53 +01:00
2023-04-20 10:46:19 +01:00
2023-04-20 10:46:35 +01:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2023-01-12 17:03:14 +00:00
2022-02-08 10:56:28 +00:00
2022-02-08 10:56:28 +00:00
2021-12-15 08:38:16 +01:00
2023-05-10 16:02:58 +01:00
2022-02-08 10:56:28 +00:00
2023-01-12 17:03:14 +00:00
2023-04-20 10:46:29 +01:00
2023-04-20 10:46:43 +01:00
2023-02-07 09:02:05 +01:00
2022-09-14 11:19:40 +01:00
2023-02-27 13:27:05 +00:00
2023-02-27 13:27:05 +00:00
2021-09-01 11:08:21 +01:00
2023-02-07 09:02:04 +01:00
2022-09-14 11:19:40 +01:00
2023-04-20 10:21:13 +01:00
2022-09-14 11:19:40 +01:00
2022-09-14 11:19:40 +01:00
2023-03-22 15:06:57 +00:00
2023-02-16 16:00:48 +00:00
2021-09-01 11:08:21 +01:00
2023-03-22 15:06:57 +00:00
2023-01-12 16:50:19 +00:00
2023-04-20 10:21:13 +01:00
2023-04-20 10:21:13 +01:00
2023-03-22 15:06:57 +00:00
2023-03-22 15:06:57 +00:00
2023-03-22 15:06:57 +00:00
2022-05-05 09:35:50 +01:00
2023-01-12 17:03:14 +00:00
2023-05-02 15:47:41 +01:00
2023-01-23 13:32:38 +00:00
2022-02-08 10:56:28 +00:00
2023-05-26 09:10:49 +02:00
2023-05-30 13:02:53 +01:00
2021-03-12 12:40:10 +00:00
2023-05-30 13:02:53 +01:00
2023-05-30 13:02:53 +01:00
2023-01-12 17:03:14 +00:00
2023-02-27 13:27:05 +00:00
2021-09-01 11:08:19 +01:00
2021-09-01 11:08:19 +01:00
2023-01-12 16:50:18 +00:00
2022-09-14 11:19:40 +01:00
2023-01-18 11:14:34 +01:00
2023-01-12 17:03:14 +00:00
2023-05-30 13:02:53 +01:00
2023-01-23 13:32:38 +00:00
2023-05-18 11:39:33 +01:00
2023-04-20 10:21:13 +01:00
2023-05-26 09:10:49 +02:00
2022-02-08 10:56:28 +00:00
2023-04-20 10:21:13 +01:00
2023-02-08 07:28:05 +01:00
2022-02-08 10:56:27 +00:00
2022-09-29 17:40:01 +01:00
2023-01-12 17:03:14 +00:00