[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH V2 3/4] intel-iommu: convert VTD_PE_GET_FPD_ERR() to be a fun
From: |
Tian, Kevin |
Subject: |
RE: [PATCH V2 3/4] intel-iommu: convert VTD_PE_GET_FPD_ERR() to be a function |
Date: |
Thu, 24 Mar 2022 08:26:58 +0000 |
> From: Jason Wang
> Sent: Monday, March 21, 2022 1:54 PM
> @@ -1724,6 +1713,19 @@ out:
> trace_vtd_pt_enable_fast_path(source_id, success);
> }
>
> +static void vtd_qualify_report_fault(IntelIOMMUState *s,
> + int err, bool is_fpd_set,
> + uint16_t source_id,
> + hwaddr addr,
> + bool is_write)
vtd_report_qualified_fault() is clearer.
> +{
> + if (is_fpd_set && vtd_is_qualified_fault(err)) {
> + trace_vtd_fault_disabled();
> + } else {
> + vtd_report_dmar_fault(s, source_id, addr, err, is_write);
> + }
> +}
> +
> /* Map dev to context-entry then do a paging-structures walk to do a iommu
> * translation.
> *
[PATCH V2 3/4] intel-iommu: convert VTD_PE_GET_FPD_ERR() to be a function, Jason Wang, 2022/03/21
- RE: [PATCH V2 3/4] intel-iommu: convert VTD_PE_GET_FPD_ERR() to be a function,
Tian, Kevin <=
[PATCH V2 4/4] intel-iommu: PASID support, Jason Wang, 2022/03/21
- RE: [PATCH V2 4/4] intel-iommu: PASID support, Tian, Kevin, 2022/03/24
- Re: [PATCH V2 4/4] intel-iommu: PASID support, Jason Wang, 2022/03/27
- RE: [PATCH V2 4/4] intel-iommu: PASID support, Tian, Kevin, 2022/03/28
- Re: [PATCH V2 4/4] intel-iommu: PASID support, Jason Wang, 2022/03/29
- RE: [PATCH V2 4/4] intel-iommu: PASID support, Tian, Kevin, 2022/03/30
- Re: [PATCH V2 4/4] intel-iommu: PASID support, Jason Wang, 2022/03/30
RE: [PATCH V2 4/4] intel-iommu: PASID support, Tian, Kevin, 2022/03/28