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

Re: [XEN PATCH v7 1/5] xen/vpci: Clear all vpci status of device


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Oleksii K. <oleksii.kurochko@xxxxxxxxx>
  • From: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
  • Date: Wed, 15 May 2024 10:27:05 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • 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=miWKji/1XntNKyYIcFoAx/UroAi6DyHJuVvRVQCCt7A=; b=TtMew6jD/3kCQzeEq9QQeHewSC2cgdqRLwQWizRMoDH0zwjNzHwvP3RhlqEFRkvst/nhp2Ax4uPn5S92nhz5yIqXcrHkFl2TU/IPLRts64JPlOweuiXkvFtC0iASoBJjlC1L3UDzpkp48VY1EienAaoexX/ee2uON3Zq2XUv/oJ/i4t8XHDn6zcgCZObpJMOPwe3ioYM6j6uixz1VtR6oa55Muos5Jv0KlevD+Yh0rG1tfgtzhDXxkv1lRQy/m+anlFjK80o5wYvfVZkQ2IVwMe75Jhsh4KzbGB3aNLp7QQUsS/cAJ/a3sVcSyrbTHKQC7QYjjhd5PNPU/FUFJ2UgA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nRN/NWowAMa0CcFnVMuLoFG15i/j0niUdCQym4mqB7EPiN1JqQWnw72b1YTB5BX6bLeXkPreJVulTtnr27Xgks/aZ8M4eOfsdzXy93C/MhhKSI4c+9kmspfmX8N4CnWT/ceKhwBQ+2DPwP+onLNzKkLLdKynzTCzpjzTmGpqx8yuU6zzUHYLEl6dFkSf/7YBAeT0V734SnWRyjhffOXelEQSP8WnyoxIw/y7mhT/OeGxuZ7JkqpoufczX1M5PhTCYWREvSHqWp82UjkOewBYwpEWAzVD2FVMKrD08RicrqdZ1J6+23PqeE5JpkLKb+kM4x/rc9z5eEiEayIZHytWJw==
  • Cc: Jiqian Chen <Jiqian.Chen@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, "George Dunlap" <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, "Stefano Stabellini" <sstabellini@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, "Daniel P . Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Huang Rui <Ray.Huang@xxxxxxx>
  • Delivery-date: Wed, 15 May 2024 14:27:23 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 4/18/24 23:53, Jiqian Chen wrote:
> When a device has been reset on dom0 side, the vpci on Xen
> side won't get notification, so the cached state in vpci is
> all out of date compare with the real device state.
> To solve that problem, add a new hypercall to clear all vpci
> device state. When the state of device is reset on dom0 side,
> dom0 can call this hypercall to notify vpci.
> 
> Signed-off-by: Huang Rui <ray.huang@xxxxxxx>
> Signed-off-by: Jiqian Chen <Jiqian.Chen@xxxxxxx>
> Reviewed-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>

Could we consider this patch for 4.19? It's independent of the rest of
this series, and it fixes a real issue observed on both Arm and x86. The
Linux counterpart has already been merged in linux-next [0].

[0] 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20240515&id=b272722511d5e8ae580f01830687b8a6b2717f01



 


Rackspace

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