[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH 06/10] iommu/ipmmu-vmsa: Add utlb_offset_base


  • To: Oleksandr Tyshchenko <olekstysh@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
  • Date: Tue, 14 Dec 2021 12:07:23 +0000
  • Accept-language: ja-JP, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KAAonJQdAc7aQfXPD2alQm8jM9VZWLKpyhWrVw2c8AM=; b=EcioW0BtikiWt2GEdpM5vOKSTytkGYGLH9obCHoulMJbp5d1A55Rnro3kRZTN2iK5mq7PP1MSwSHglDa+RQiY1xNv/cF3EqzSpJqOmrBmtDP1Jua4EUm7CPtYfR8Zy1xIaiKherZhq6iJg0Rzk6LqWOntOGF91XPc9tBXt4ca/RrKIrDCzdHJVhFeCSstHANFyXPItIBCuKcjODi8HoumqQ7NxE4vR3ddxXZKbmRH39AMXeKPjcwepaS3i3KSy0cGsWACjIs5Er0mTRK9dRtHtNgnnnR7mMwnKXctE0asjXxA95RzQS52TTJFMGrjWt2v/RX0qubDcJtyXSQ5zAaQA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UYU6HRAs26/rosbWFMkzwMALOLLLS1EJKqcbCuLqSD9HW7vITymu1xB3UpX4OjfUFeqyRSKwk16K3+jr+NL4V9h3W/W9cO6U+arh7vjDBKOxwe9AKAZo7FGjalWZQgYvv4uYojKx5JNS23n0QPNB/lsVQIPkhF9SwR5DLlAM1YF+crh94QfckYew/MJhzpuZr35W3kh/89lBJUlb/w4bZoFY9xg3JpQ+qLd9hwMQS/2rjFb3Lrlw/SWqf4hX5r2XxzUksdxI+lmzBMQDPncF+6J9zvy6bKUeSQ0Q75dBeHZHzkdYH777dt9z5Tm1PRf9dphoqMDSqZO0H+Fbgmh2hQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com;
  • Cc: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>
  • Delivery-date: Tue, 14 Dec 2021 12:09:20 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHX47d6c2c4q5ZGtk6fn0XsGVxVaqwx+WZQ
  • Thread-topic: [PATCH 06/10] iommu/ipmmu-vmsa: Add utlb_offset_base

Hello Oleksandr-san,

> From: Oleksandr Tyshchenko, Sent: Sunday, November 28, 2021 2:52 AM
> 
> From: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>
> 
> This is a non-verbatim port of corresponding Linux upsteam commit:
> 1289f7f15001c7ed36be6d23cb145c1d5feacdc8
> 
> Original commit message:
>  commit 1289f7f15001c7ed36be6d23cb145c1d5feacdc8
>  Author: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
>  Date:   Wed Nov 6 11:35:50 2019 +0900
> 
>   iommu/ipmmu-vmsa: Add utlb_offset_base
> 
>   Since we will have changed memory mapping of the IPMMU in the future,
>   this patch adds a utlb_offset_base into struct ipmmu_features
>   for IMUCTR and IMUASID registers. No behavior change.
> 
>   Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
>   Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx>
>   Signed-off-by: Joerg Roedel <jroedel@xxxxxxx>
> 
> **********
> 
> This is a prereq work needed to add support for S4 series easily
> in the future.
> 
> Almost the same change as original commit makes, but without updating
> struct ipmmu_features_default which Xen driver doesn't have (there is
> no support of old Arm32 based Gen2 SoCs).
> 
> No change in behavior.
> 
> Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>

Thank you for the patch!

Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>

Best regards,
Yoshihiro Shimoda


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.