[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] vfio: container: Fix missing allocation of VFIOSpaprContaine
From: |
Shivaprasad G Bhat |
Subject: |
Re: [PATCH] vfio: container: Fix missing allocation of VFIOSpaprContainer |
Date: |
Wed, 26 Jun 2024 09:26:16 +0530 |
User-agent: |
Mozilla Thunderbird |
On 6/21/24 8:40 PM, Cédric Le Goater wrote:
On 6/21/24 4:47 PM, Shivaprasad G Bhat wrote:
On 6/21/24 2:19 PM, Cédric Le Goater wrote:
Could you please describe the host/guest OS, hypervisor, processor
and adapter ?
Here is the environment info,
pSeries:
Host : Power10 PowerVM Lpar
Kernel: Upstream 6.10.0-rc4 + VFIO fixes posted at
171810893836.1721.2640631616827396553.stgit@linux.ibm.com
Great. You should report there too and probably send a PR to Alex to
contribute your changes to the vfio tests.
Could you clarify which tree you are referring to ? I see his tree
https://github.com/awilliam/tests is bit old and updated recently, however
I have been using those tests for my unit testing.
Hypervisor : KVM on PowerVM &
OK. So, this is using the newer nested v2 implementation.
Yes. However, this was working for userspace before too with limitations
like DMA windows were being borrowed, and no customization
of window size etc.
With the
legacy XICS IRQ controller or XIVE ? in-kernel device or emulated ?
Emulated XIVE.
also tried without KVM using TCG
Ah nice. Good to know that real HW passthrough works in TCG also.
Guest : 6.8.5-301.fc40.ppc64le Fedora 40 distro kernel
Adapter: Non-Volatile memory controller: Samsung Electronics Co Ltd
NVMe SSD Controller PM173X
PowerNV:
Host: Power9 Baremetal
Kernel: kernel-core-6.9.4-200 - Fedora 40 distro kernel
Is there a requirement on the kernel version ? Would an older debian
6.1 work for instance ?
This went through cycles of breakage and fixes. It worked on 5.18(not sure
about older ones before that), and broke afterwards. Recently fixed
and working from 6.4, broken on 6.7. Fixed and working in 6.8
onwards now.
Hypervisor: KVM
Guest : 6.8.5-301.fc40.ppc64le - Fedora 40 distro kernel
Adapter: Non-Volatile memory controller: Samsung Electronics Co Ltd
NVMe SSD Controller PM173X
Nice. XIVE I suppose.
Yes.
What about TCG ?
Yes, TCG too works, missed to mention.
Thanks,
Shivaprasad
Thanks a lot,
C.