From: Xiangkai Yang yangxiangkai@huawei.com
virtCCA feature
Xiangkai Yang (1): clean code
drivers/iommu/arm/arm-smmu-v3/arm-s-smmu-v3.c | 3 ++- virt/kvm/vfio.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-)
From: Xiangkai Yang yangxiangkai@huawei.com
virtcca inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IADD42
--------------------------------
virtCCA feature Signed-off-by: Xiangkai Yang yangxiangkai@huawei.com --- drivers/iommu/arm/arm-smmu-v3/arm-s-smmu-v3.c | 3 ++- virt/kvm/vfio.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-s-smmu-v3.c b/drivers/iommu/arm/arm-smmu-v3/arm-s-smmu-v3.c index e3978967f1..fe93ea5d40 100644 --- a/drivers/iommu/arm/arm-smmu-v3/arm-s-smmu-v3.c +++ b/drivers/iommu/arm/arm-smmu-v3/arm-s-smmu-v3.c @@ -520,7 +520,8 @@ u32 arm_smmu_tmi_dev_attach(struct arm_smmu_domain *arm_smmu_domain, break; if (j < i) continue; - ret = tmi_dev_attach(sid, virtcca_cvm->rd, arm_smmu_domain->smmu->id); + ret = tmi_dev_attach(sid, virtcca_cvm->rd, + arm_smmu_domain->smmu->id); if (ret) { kvm_err("dev protected failed!\n"); ret = -ENXIO; diff --git a/virt/kvm/vfio.c b/virt/kvm/vfio.c index 6c99956ee7..8acd7b4251 100644 --- a/virt/kvm/vfio.c +++ b/virt/kvm/vfio.c @@ -246,7 +246,6 @@ static int kvm_vfio_file_del(struct kvm_device *dev, unsigned int fd)
return ret; } - #ifdef CONFIG_SPAPR_TCE_IOMMU static int kvm_vfio_file_set_spapr_tce(struct kvm_device *dev, void __user *arg)
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,转换为PR失败! 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/W... 失败原因:应用补丁/补丁集失败,Patch failed at 0001 clean code 建议解决方法:请查看失败原因, 确认补丁是否可以应用在当前期望分支的最新代码上
FeedBack: The patch(es) which you have sent to kernel@openeuler.org has been converted to PR failed! Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/W... Failed Reason: apply patch(es) failed, Patch failed at 0001 clean code Suggest Solution: please checkout if the failed patch(es) can work on the newest codes in expected branch