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

Re: [Xen-devel] [PATCH V2] iommu/arm: Don't allow the same micro-TLB to be shared between domains


  • To: Oleksandr Tyshchenko <olekstysh@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
  • Date: Mon, 24 Feb 2020 23:18:40 +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-SenderADCheck; bh=OEUzubGUs1sPoUFA8gkh7nWVVPlZ+Qz+4oLiw9Tonew=; b=cKUE953f6AtwHQtr74RkdIWxhsCM0WCpsWuuNRHKrMN4lWpRf4cM8V3BR6EZAseXCikPR8H443bz32e2JF9p0PBWuB8gMFA18YeeaQLJhHBKdpDaKB0tsCG0XnvquoAWy1MY3weNVhpJTpNiv03ysM3B4V202z73pH7xG/xnb7WZQ7WqHAx6mq5AopYLvC0qLZh3GGEEIlWAdf7lev9b7lLFf0dnnH57a4+DPxhFagbGNne+siK3ehpjWBqRcvO1i1bWd4BZ/cOiSYG7CRd8M9U9P2nNNkqJp3FLnx5ST96qa0nanSOete1s1vRAxB6PdG2qUu1QAWDOPMBAT7ZJVA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IIFiDt6zVP3bJ3/bC5ZdPajL7n4RVF4lH7jfADQWmurm4kWPv7SQ+kV+RrPeZpkrgN+p0xc5q9z+B7ZiRWZGN4y710L+suvGpAvZhD3krsvAqNgwVN16HQLEIhHcBckubFYX2eI84waGzkEKNhUDb0gIsBjNJvWP1131+J81LgRCXUDB9AsYmxcNNXLmz800jcMVk7MIp/pa4+reIXodg35FC/4kPa2L0yde4FkOrGj8aXRUxnOdKbNyP2BYsBEd636XcZWigWnalp6kSTaAs3X8WzbhkjQ9R+iPIYDdmJGYg4jonMVDNQzEzYv6EGalBTVLD14idObyqmgi9cyjAA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=yoshihiro.shimoda.uh@xxxxxxxxxxx;
  • Cc: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx>
  • Delivery-date: Mon, 24 Feb 2020 23:19:08 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHV5aO6Hf58YyJtEUexQIy/H5HDm6grBdQw
  • Thread-topic: [PATCH V2] iommu/arm: Don't allow the same micro-TLB to be shared between domains

Hi Oleksandr-san,

> From: Oleksandr Tyshchenko, Sent: Tuesday, February 18, 2020 12:06 AM
> 
> For the IPMMU-VMSA we need to prevent the use cases where devices
> which use the same micro-TLB are assigned to different Xen domains
> (micro-TLB cannot be shared between multiple Xen domains, since it
> points to the context bank to use for the page walk).
> 
> As each Xen domain uses individual context bank pointed by context_id,
> we can potentially recognize that use case by comparing current and new
> context_id for the already enabled micro-TLB and prevent different
> context bank from being set.
> 
> Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>
> 
> ---
> 
> CC: Julien Grall <julien@xxxxxxx>
> CC: Stefano Stabellini <sstabellini@xxxxxxxxxx>
> CC: Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx>
> CC: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>

Thank you for the patch!

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

Best regards,
Yoshihiro Shimoda


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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