Jason Wang
940e552786
intel-iommu: convert VTD_PE_GET_FPD_ERR() to be a function
...
We used to have a macro for VTD_PE_GET_FPD_ERR() but it has an
internal goto which prevents it from being reused. This patch convert
that macro to a dedicated function and let the caller to decide what
to do (e.g using goto or not). This makes sure it can be re-used for
other function that requires fault reporting.
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20221028061436.30093-4-jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Yi Liu <yi.l.liu@intel.com>
2022-11-07 14:08:17 -05:00
..
2022-10-25 11:37:17 -04:00
2022-11-07 14:08:17 -05:00
2022-07-18 13:20:14 +01:00
2022-10-31 11:32:07 +01:00
2022-11-07 14:08:17 -05:00
2022-06-11 11:44:50 +02:00
2022-04-06 14:31:55 +02:00
2022-10-31 06:28:43 -04:00
2022-10-22 23:15:40 +02:00
2022-11-07 14:08:17 -05:00
2021-04-09 16:05:16 -04:00
2021-05-02 17:24:51 +02:00
2022-11-07 13:12:19 -05:00
2022-11-07 14:00:29 -05:00
2022-10-24 13:41:10 +02:00
2022-10-17 16:15:09 -03:00
2022-10-31 11:32:07 +01:00
2022-10-27 10:27:23 +01:00
2022-10-24 11:20:15 +02:00
2022-11-07 14:08:17 -05:00
2022-10-31 18:48:23 +00:00
2022-07-18 19:28:46 +01:00
2022-10-31 18:48:23 +00:00
2021-09-30 13:42:10 +01:00
2022-08-01 06:40:50 -05:00
2022-11-07 14:08:17 -05:00
2022-10-14 14:29:50 +10:00
2022-10-27 11:34:31 +01:00
2022-11-07 13:12:19 -05:00
2022-09-21 19:59:56 +02:00
2022-10-31 11:32:56 +01:00
2022-10-31 18:48:23 +00:00
2022-11-07 14:08:17 -05:00
2022-10-17 16:15:10 -03:00
2021-09-30 13:42:10 +01:00
2022-11-07 14:08:17 -05:00
2022-10-31 18:48:23 +00:00
2022-10-27 11:34:31 +01:00
2022-11-07 14:08:17 -05:00
2022-11-07 13:12:19 -05:00
2022-10-31 18:48:23 +00:00
2021-05-02 17:24:50 +02:00
2022-10-31 18:48:23 +00:00
2022-11-07 14:08:17 -05:00
2022-11-07 14:08:17 -05:00
2022-10-27 11:34:31 +01:00
2022-09-04 07:02:56 +01:00
2022-10-27 11:34:31 +01:00
2022-10-31 06:19:54 -04:00
2022-10-18 13:58:04 +02:00
2022-10-28 13:26:20 -03:00
2022-07-14 16:24:38 +02:00
2022-03-21 15:44:44 +01:00
2022-10-09 16:38:45 -04:00
2022-05-12 12:29:44 +02:00
2022-10-31 11:32:07 +01:00
2022-10-24 11:20:15 +02:00
2022-10-27 10:27:23 +01:00
2022-09-09 17:55:59 -04:00
2021-07-20 20:10:21 +02:00
2022-10-31 20:37:58 +00:00
2022-11-07 14:08:17 -05:00
2022-11-07 14:08:17 -05:00
2022-09-29 11:40:28 +02:00
2022-09-27 14:23:23 +01:00
2022-05-09 08:21:14 +02:00
2022-05-06 15:27:40 -07:00
2022-06-06 18:09:03 +00:00
2022-06-06 18:09:03 +00:00