All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix some issues when using amdgpu on XEN PVH dom0
@ 2024-11-05  6:05 Jiqian Chen
  2024-11-05  6:05 ` [PATCH 1/2] drm/amdgpu: set passthrough mode for xen pvh/hvm Jiqian Chen
  2024-11-05  6:05 ` [PATCH 2/2] drm/amdgpu: Bypass resizing bars for PVH dom0 Jiqian Chen
  0 siblings, 2 replies; 10+ messages in thread
From: Jiqian Chen @ 2024-11-05  6:05 UTC (permalink / raw)
  To: Alex Deucher, Christian König, Xinhui Pan
  Cc: amd-gfx, linux-kernel, Pierre-Eric Pelloux-Prayer, Jiqian Chen

Hi all,
These two patches are to fix issues we encountered when using amdgpu on PVH dom0 with Xen hypervisor.
Patch 1 is to fix a address problem that PVH type domain does a second address translation for pcidev, then causes the address to be not physical address, so we need to set amdgpu to be passthrough mode.
Patch 2 is because PVH type domain uses VPCI of Xen, but VPCI doesn't support Resizable Bar capability, so just return success when discrete GPU tries to
resize bars.

Best regards,
Jiqian Chen.

Huang Rui (1):
  drm/amdgpu: set passthrough mode for xen pvh/hvm

Jiqian Chen (1):
  drm/amdgpu: Bypass resizing bars for PVH dom0

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c   | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-11-13  8:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-05  6:05 [PATCH 0/2] Fix some issues when using amdgpu on XEN PVH dom0 Jiqian Chen
2024-11-05  6:05 ` [PATCH 1/2] drm/amdgpu: set passthrough mode for xen pvh/hvm Jiqian Chen
2024-11-13  8:13   ` Chen, Jiqian
2024-11-05  6:05 ` [PATCH 2/2] drm/amdgpu: Bypass resizing bars for PVH dom0 Jiqian Chen
2024-11-05 11:58   ` kernel test robot
2024-11-05 13:42   ` Christian König
2024-11-06  3:20     ` Chen, Jiqian
2024-11-06 15:50       ` Christian König
2024-11-07  2:17         ` Chen, Jiqian
2024-11-05 16:49   ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.