Hello Oleksandr-san,

> From: Oleksandr Tyshchenko, Sent: Sunday, November 28, 2021 2:52 AM
> 
> From: Oleksandr Tyshchenko <[email protected]>
> 
> This is a non-verbatim port of corresponding Linux upsteam commit:
> 16d9454f5e0447f9c19cbf350b35ed377b9f64eb
> 
> Original commit message:
>  commit 16d9454f5e0447f9c19cbf350b35ed377b9f64eb
>  Author: Yoshihiro Shimoda <[email protected]>
>  Date:   Wed Nov 6 11:35:47 2019 +0900
> 
>   iommu/ipmmu-vmsa: Add helper functions for MMU "context" registers
> 
>   Since we will have changed memory mapping of the IPMMU in the future,
>   This patch adds helper functions ipmmu_ctx_{reg,read,write}()
>   for MMU "context" registers. No behavior change.
> 
>   Signed-off-by: Yoshihiro Shimoda <[email protected]>
>   Reviewed-by: Geert Uytterhoeven <[email protected]>
>   Reviewed-by: Niklas Söderlund <[email protected]>
>   Signed-off-by: Joerg Roedel <[email protected]>
> 
> **********
> 
> This is a prereq work needed to add support for S4 series easily
> in the future.
> 
> Besides changes done in the original commit, we also need to update
> an extra call sites which Linux driver doesn't have, but Xen driver
> has such as ipmmu_ctx_write_cache(), etc.
> 
> No change in behavior.
> 
> Signed-off-by: Oleksandr Tyshchenko <[email protected]>

Thank you for the patch!

Reviewed-by: Yoshihiro Shimoda <[email protected]>

Best regards,
Yoshihiro Shimoda

Reply via email to