Re: [PATCH v3 2/2] KVM: SEV: Configure "ALLOWED_SEV_FEATURES" VMCB Field

2025-02-14 Thread Kim Phillips
On 2/13/25 6:55 PM, Sean Christopherson wrote: On Thu, Feb 13, 2025, Kim Phillips wrote: On 2/11/25 3:46 PM, Sean Christopherson wrote: On Mon, Feb 10, 2025, Tom Lendacky wrote: On 2/7/25 17:34, Kim Phillips wrote: diff --git a/arch/x86/kvm/svm/sev.c b/arch/x86/kvm/svm/sev.c index

Re: [PATCH v3 2/2] KVM: SEV: Configure "ALLOWED_SEV_FEATURES" VMCB Field

2025-02-13 Thread Kim Phillips
On 2/11/25 3:46 PM, Sean Christopherson wrote: On Mon, Feb 10, 2025, Tom Lendacky wrote: On 2/7/25 17:34, Kim Phillips wrote: diff --git a/arch/x86/kvm/svm/sev.c b/arch/x86/kvm/svm/sev.c index a2a794c32050..a9e16792cac0 100644 --- a/arch/x86/kvm/svm/sev.c +++ b/arch/x86/kvm/svm/sev.c @@ -894,9

Re: [RFC] target/i386: sev: Add cmdline option to enable the Allowed SEV Features feature

2025-02-11 Thread Kim Phillips
On 2/10/25 3:24 AM, Daniel P. Berrangé wrote: On Fri, Feb 07, 2025 at 05:33:27PM -0600, Kim Phillips wrote: The Allowed SEV Features feature allows the host kernel to control which SEV features it does not want the guest to enable [1]. This has to be explicitly opted-in by the user because it

[RFC] target/i386: sev: Add cmdline option to enable the Allowed SEV Features feature

2025-02-07 Thread Kim Phillips
tachment.cgi?id=306250 [2] https://github.com/qemu/qemu/commit/4b2288dc6025ba32519ee8d202ca72d565cbbab7 Signed-off-by: Kim Phillips --- qapi/qom.json | 6 - target/i386/sev.c | 60 +++ target/i386/sev.h | 2 ++ 3 files changed, 67 insertions

[PATCH v3 0/2] KVM: SEV: Add support for the ALLOWED_SEV_FEATURES feature

2025-02-07 Thread Kim Phillips
/lkml/20240802015732.3192877-3-kim.phill...@amd.com/ Kim Phillips (1): KVM: SEV: Configure "ALLOWED_SEV_FEATURES" VMCB Field Kishon Vijay Abraham I (1): x86/cpufeatures: Add "Allowed SEV Features" Feature arch/x86/include/asm/cpufeatures.h | 1 + arch/x86/include/as

[PATCH v3 1/2] x86/cpufeatures: Add "Allowed SEV Features" Feature

2025-02-07 Thread Kim Phillips
Abraham I Signed-off-by: Kim Phillips --- arch/x86/include/asm/cpufeatures.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h index 508c0dad116b..a80a4164d110 100644 --- a/arch/x86/include/asm/cpufeatures.h +++ b/arch/x86/i

[PATCH v3 2/2] KVM: SEV: Configure "ALLOWED_SEV_FEATURES" VMCB Field

2025-02-07 Thread Kim Phillips
tachment.cgi?id=306250 Co-developed-by: Kishon Vijay Abraham I Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Kim Phillips --- arch/x86/include/asm/svm.h | 5 - arch/x86/kvm/svm/sev.c | 17 + 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/x86/incl

Re: [Qemu-devel] [RFC v2 4/6] vfio: Add initial IRQ support in QEMU platform device

2014-04-16 Thread Kim Phillips
On Wed, 16 Apr 2014 15:29:35 +0200 Eric Auger wrote: > On 04/11/2014 03:34 AM, Kim Phillips wrote: > > On Wed, 9 Apr 2014 16:33:07 +0100 > > Eric Auger wrote: > >> @@ -108,12 +108,13 @@ static const MemMapEntry a15memmap[] = { > >> /* ...repeating for a tot

Re: [Qemu-devel] [RFC v2 0/6] KVM platform device passthrough

2014-04-10 Thread Kim Phillips
On Wed, 9 Apr 2014 16:33:03 +0100 Eric Auger wrote: > some patches need to be applied on host linux to correct issues > not yet upstreamed. They can be found on vfio-dev branch of > git://git.linaro.org/people/eric.auger/linux.git > > - commit 997691b: enables unmapping stage2 entries on memory

Re: [Qemu-devel] [RFC v2 4/6] vfio: Add initial IRQ support in QEMU platform device

2014-04-10 Thread Kim Phillips
On Wed, 9 Apr 2014 16:33:07 +0100 Eric Auger wrote: > This work is inspired of PCI INTx. The code was prepared to support > multiple IRQs but this was not tested at that stage. Similarly to what > is done on PCI, the device register space is RAM unmapped on IRQ hit > in order to trap the end of i

Re: [Qemu-devel] [RFC 2/2] hw/misc/vfio: add vfio-platform support

2014-03-04 Thread Kim Phillips
On Fri, 28 Feb 2014 11:03:18 -0700 Alex Williamson wrote: > On Tue, 2014-02-25 at 20:37 -0600, Kim Phillips wrote: > > - support allocating a variable number of regions > > - VFIODevice's bars[] become dynamically allocated *regions > > - VFIOBAR's device fd

[Qemu-devel] [RFC 2/2] hw/misc/vfio: add vfio-platform support

2014-02-25 Thread Kim Phillips
f51000.ethernet device - reset is not supported and registration of reset functions is bypassed for platform devices. - there is no standard means of resetting a platform device, unsure if it suffices to be handled at device--VFIO binding time Signed-off-by: Kim Phill

[Qemu-devel] [RFC 0/2] platform device passthrough

2014-02-25 Thread Kim Phillips
git://git.qemu.org/qemu.git and available on the 'platdevpassthrough' branch of: git://git.linaro.org/people/kim.phillips/qemu.git Thanks, Kim Kim Phillips (2): hw/arm/virt: add a Calxeda XGMAC device hw/misc/vfio: add vfio-platform support hw/arm/virt.c | 24 +++- hw/mi

[Qemu-devel] [RFC 1/2] hw/arm/virt: add a Calxeda XGMAC device

2014-02-25 Thread Kim Phillips
development may want interrupt property data filled; here it's omitted for the time being. Not-signed-off-by: Kim Phillips --- hw/arm/virt.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 517f2fe..75edf33 100644 ---