-Original Message-
From: Alexander Graf [mailto:ag...@suse.de]
Sent: Thursday, April 10, 2014 10:57 AM
To: Peter Maydell
Cc: Juan Quintela; KVM devel mailing list; qemu list; Yoder Stuart-
B08248; Alistair Francis; Peter Crosthwaite; Christoffer Dall
Subject: Re: [Qemu-devel] KVM
alex.william...@redhat.com
---
Reviewed-by: Stuart Yoder stuart.yo...@freescale.com
Phillips kim.phill...@freescale.com
---
Reviewed-by: Stuart Yoder stuart.yo...@freescale.com
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
, Mar 26, 2014 at 01:40:32AM +, Stuart Yoder wrote:
Hi Greg,
We (Linaro, Freescale, Virtual Open Systems) are trying get an
issue
closed that has been perculating for a while around creating a
mechanism
that will allow kernel drivers like vfio can bind to devices of
any type
-Original Message-
From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org]
Sent: Thursday, December 19, 2013 2:34 PM
To: Wood Scott-B07421
Cc: Kim Phillips; linux-ker...@vger.kernel.org; kvm@vger.kernel.org;
Bhushan Bharat-R65777; Yoder Stuart-B08248;
:43 -0800, Greg Kroah-Hartman wrote:
On Thu, Dec 19, 2013 at 09:06:21PM +, Stuart Yoder wrote:
-Original Message-
From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org]
Sent: Thursday, December 19, 2013 2:34 PM
To: Wood Scott-B07421
Cc: Kim
I will look into this. However, can we rely to have access to all
device resources through platform abstractions, for every type of
platform device
The only resources we care about in vfio are mappable regions
and irqs. So, yes I think we can rely on access to those
resources.
It seems
flag to allow binding via sysfs
only
http://www.spinics.net/lists/kvm/msg97198.html
[PATCH 2/4] driver core: platform: allow platform drivers to bind to any device
http://www.spinics.net/lists/kvm/msg97195.html
If you have any issues, we would like to get them addressed.
Thanks,
Stuart Yoder
On Mon, Jun 24, 2013 at 3:01 PM, Christoffer Dall
christoffer.d...@linaro.org wrote:
On Mon, Jun 24, 2013 at 10:08:08AM +0200, Mario Smarduch wrote:
On 6/15/2013 5:47 PM, Paolo Bonzini wrote:
Il 13/06/2013 11:19, Mario Smarduch ha scritto:
Updated Device Passthrough Patch.
- optimized
On Thu, Apr 11, 2013 at 1:33 PM, Kumar Gala ga...@kernel.crashing.org wrote:
On Apr 5, 2013, at 2:53 AM, Bhushan Bharat-R65777 wrote:
Hi Kumar/Benh,
After further looking into the code I think that if we correct the vector
range below in DebugDebug handler then we do not need the change I
So the patch should look something like this (on a 3.8 kernel):
diff --git a/arch/powerpc/kernel/head_booke.h b/arch/powerpc/kernel/head_booke.h
index 5f051ee..92b675a 100644
--- a/arch/powerpc/kernel/head_booke.h
+++ b/arch/powerpc/kernel/head_booke.h
@@ -286,13 +286,13 @@ label:
andis.
So the patch should look something like this (on a 3.8 kernel):
diff --git a/arch/powerpc/kernel/head_booke.h b/arch/powerpc/kernel/head_booke.h
index 5f051ee..92b675a 100644
--- a/arch/powerpc/kernel/head_booke.h
+++ b/arch/powerpc/kernel/head_booke.h
@@ -286,13 +286,13 @@ label:
andis.
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
arch/powerpc/kvm/emulate.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c
index 7a73b6f..631a265 100644
--- a/arch/powerpc
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
arch/powerpc/kvm/emulate.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c
index 7a73b6f..631a265 100644
--- a/arch/powerpc
Type1 is arbitrary. It might as well be named brown and this one
can be
blue.
The difference is that type1 seems to refer to hardware that can do
arbitrary 4K page mappings, possibly constrained by an aperture but
nothing else. More than one IOMMU can reasonably fit that. The odds
On Tue, Apr 2, 2013 at 5:50 PM, Scott Wood scottw...@freescale.com wrote:
On 04/02/2013 04:38:45 PM, Alex Williamson wrote:
On Tue, 2013-04-02 at 16:08 -0500, Stuart Yoder wrote:
On Tue, Apr 2, 2013 at 3:57 PM, Scott Wood scottw...@freescale.com
wrote:
C. Explicit mapping using
Would is be possible for userspace to simply leave room for MSI bank
mapping (how much room could be determined by something like
VFIO_IOMMU_GET_MSI_BANK_COUNT) then document the API that userspace can
DMA_MAP starting at the 0x0 address of the aperture, growing up, and
VFIO will map banks on
On Wed, Apr 3, 2013 at 2:18 PM, Scott Wood scottw...@freescale.com wrote:
On 04/03/2013 02:09:45 PM, Stuart Yoder wrote:
Would is be possible for userspace to simply leave room for MSI bank
mapping (how much room could be determined by something like
VFIO_IOMMU_GET_MSI_BANK_COUNT
On Tue, Apr 2, 2013 at 2:39 PM, Scott Wood scottw...@freescale.com wrote:
On 04/02/2013 12:32:00 PM, Yoder Stuart-B08248 wrote:
Alex,
We are in the process of implementing vfio-pci support for the Freescale
IOMMU (PAMU). It is an aperture/window-based IOMMU and is quite different
than x86,
On Tue, Apr 2, 2013 at 3:32 PM, Alex Williamson
alex.william...@redhat.com wrote:
2. MSI window mappings
The more problematic question is how to deal with MSIs. We need to
create mappings for up to 3 MSI banks that a device may need to target
to generate interrupts. The Linux MSI
On Tue, Apr 2, 2013 at 3:47 PM, Scott Wood scottw...@freescale.com wrote:
On 04/02/2013 03:38:42 PM, Stuart Yoder wrote:
On Tue, Apr 2, 2013 at 2:39 PM, Scott Wood scottw...@freescale.com
wrote:
On 04/02/2013 12:32:00 PM, Yoder Stuart-B08248 wrote:
Alex,
We are in the process
On Tue, Apr 2, 2013 at 3:57 PM, Scott Wood scottw...@freescale.com wrote:
This could also be done as another type2 ioctl extension.
Again, what is type2, specifically? If someone else is adding their own
IOMMU that is kind of, sort of like PAMU, how would they know if it's close
enough?
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-removed KVM prefix to patch subject, patch is not KVM specific
arch/powerpc/kernel/epapr_hcalls.S |2 ++
arch/powerpc/kernel/idle_book3e.S | 32 ++--
2
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-removed KVM prefix to patch subject, patch is not KVM specific
arch/powerpc/kernel/epapr_hcalls.S |2 ++
arch/powerpc/kernel/idle_book3e.S | 32 ++--
2
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v3
-whitespace cleanup, deleted stray comma, added comment
arch/powerpc/kernel/epapr_hcalls.S |2 ++
arch/powerpc/kernel/idle_book3e.S | 32 ++--
2
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v2
-macro'ized loop in idle_book3e.S to avoid code
duplication, paravirt loop is now in idle_book3e.S
arch/powerpc/kernel/epapr_hcalls.S |2 ++
arch/powerpc/kernel
From: Stuart Yoder stuart.yo...@freescale.com
loop was derived from book3e_idle()
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
arch/powerpc/kernel/epapr_hcalls.S | 63
1 file changed, 63 insertions(+)
diff --git a/arch/powerpc/kernel
From: Stuart Yoder stuart.yo...@freescale.com
loop was derived from book3e_idle()
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
arch/powerpc/kernel/epapr_hcalls.S | 63
1 file changed, 63 insertions(+)
diff --git a/arch/powerpc/kernel
From: Scott Wood scottw...@freescale.com
Signed-off-by: Scott Wood scottw...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v12: no changes
arch/powerpc/sysdev/fsl_msi.c |9 +++--
arch/powerpc/sysdev/fsl_soc.c |2 ++
2 files changed, 9 insertions(+), 2
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v12: no changes
arch/powerpc/include/asm/epapr_hcalls.h |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/include/asm/epapr_hcalls.h
b/arch/powerpc
From: Stuart Yoder stuart.yo...@freescale.com
v12 has a couple of updates to address feedback
-use new CURRENT_THREAD_INFO macro in epapr_hcalls.S
-use EV_HCALL_TOKEN to create epapr hcall token
A prerequisite to applying this patch is the patch:
PPC: use CURRENT_THREAD_INFO instead
From: Liu Yu-B13201 yu@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v12: no changes
arch/powerpc/include/asm/epapr_hcalls.h | 22 +-
arch/powerpc/include/asm/fsl_hcalls.h | 36
From: Liu Yu-B13201 yu@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
[varun: 64-bit changes]
Signed-off-by: Varun Sethi varun.se...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v12: use new CURRENT_THREAD_INFO macro
arch/powerpc/include/asm
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v12: no changes
arch/powerpc/include/asm/kvm_para.h | 21 +++--
arch/powerpc/kernel/kvm.c |2 +-
arch/powerpc/kvm/powerpc.c | 10 +-
3
From: Liu Yu-B13201 yu@freescale.com
And add a new flag definition in kvm_ppc_pvinfo to indicate
whether the host supports the EV_IDLE hcall.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: cleanup,fixes for conditions allowing idle]
Signed-off-by: Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
[stuart: factored this out from idle hcall support in host patch]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v12: no changes
arch/powerpc/kvm/powerpc.c | 10 +-
1 files changed, 9
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v12: no changes
arch/powerpc/platforms/Kconfig |1 +
drivers/tty/Kconfig|1 +
drivers/virt/Kconfig |1 +
3 files changed, 3 insertions(+), 0 deletions
From: Stuart Yoder stuart.yo...@freescale.com
v12 has a couple of updates to address feedback
-use new CURRENT_THREAD_INFO macro in epapr_hcalls.S
-use EV_HCALL_TOKEN to create epapr hcall token
A prerequisite to applying this patch is the patch:
PPC: use CURRENT_THREAD_INFO instead
From: Liu Yu-B13201 yu@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v12: no changes
arch/powerpc/include/asm/epapr_hcalls.h | 22 +-
arch/powerpc/include/asm/fsl_hcalls.h | 36
From: Liu Yu-B13201 yu@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
[varun: 64-bit changes]
Signed-off-by: Varun Sethi varun.se...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v12: use new CURRENT_THREAD_INFO macro
arch/powerpc/include/asm
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v12: no changes
arch/powerpc/include/asm/kvm_para.h | 21 +++--
arch/powerpc/kernel/kvm.c |2 +-
arch/powerpc/kvm/powerpc.c | 10 +-
3
From: Liu Yu-B13201 yu@freescale.com
And add a new flag definition in kvm_ppc_pvinfo to indicate
whether the host supports the EV_IDLE hcall.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: cleanup,fixes for conditions allowing idle]
Signed-off-by: Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
[stuart: factored this out from idle hcall support in host patch]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v12: no changes
arch/powerpc/kvm/powerpc.c | 10 +-
1 files changed, 9
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v12: no changes
arch/powerpc/platforms/Kconfig |1 +
drivers/tty/Kconfig|1 +
drivers/virt/Kconfig |1 +
3 files changed, 3 insertions(+), 0 deletions
From: Stuart Yoder stuart.yo...@freescale.com
This is a reworked version of the v10 patchset I sent out back
in March, address the comments, plus adding some additional
fixes found in further testing.
Liu Yu-B13201 (3):
KVM: PPC: Add support for ePAPR idle hcall in host kernel
KVM: PPC
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-this is a new patch in v11
arch/powerpc/include/asm/epapr_hcalls.h |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/include/asm/epapr_hcalls.h
b/arch
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v11:
-as per Alex's comments, created a KVM hcall macro to
simplify code creating hcall tokens
-used macro for success return code
arch/powerpc/include/asm/kvm_para.h | 21
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
[stuart: factored this out from idle hcall support in host patch]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v11
-split this code out into a separate patch as per the review
comments
From: Liu Yu-B13201 yu@freescale.com
And add a new flag definition in kvm_ppc_pvinfo to indicate
whether the host supports the EV_IDLE hcall.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: cleanup,fixes for conditions allowing idle]
Signed-off-by: Stuart Yoder
From: Liu Yu-B13201 yu@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
[varun: 64-bit changes]
Signed-off-by: Varun Sethi varun.se...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v11:
-added comment about origin of idle instruction sequence
-update
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-new in v11-- this patch is needed so the dependencies are correct
for all users of epapr hcalls, without it there will be build issues
after hardcoded opcodes for hcalls are removed
arch
From: Scott Wood scottw...@freescale.com
Signed-off-by: Scott Wood scottw...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-new in v11-- this is derived from an internal patch from Scott,
without it there will be build issues after hardcoded opcodes for
hcalls
From: Liu Yu-B13201 yu@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v11: no changes
arch/powerpc/include/asm/epapr_hcalls.h | 22 +-
arch/powerpc/include/asm/fsl_hcalls.h | 36
From: Stuart Yoder stuart.yo...@freescale.com
This is a reworked version of the v10 patchset I sent out back
in March, address the comments, plus adding some additional
fixes found in further testing.
Liu Yu-B13201 (3):
KVM: PPC: Add support for ePAPR idle hcall in host kernel
KVM: PPC
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-this is a new patch in v11
arch/powerpc/include/asm/epapr_hcalls.h |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/include/asm/epapr_hcalls.h
b/arch
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v11:
-as per Alex's comments, created a KVM hcall macro to
simplify code creating hcall tokens
-used macro for success return code
arch/powerpc/include/asm/kvm_para.h | 21
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
[stuart: factored this out from idle hcall support in host patch]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v11
-split this code out into a separate patch as per the review
comments
From: Liu Yu-B13201 yu@freescale.com
And add a new flag definition in kvm_ppc_pvinfo to indicate
whether the host supports the EV_IDLE hcall.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: cleanup,fixes for conditions allowing idle]
Signed-off-by: Stuart Yoder
From: Liu Yu-B13201 yu@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
[varun: 64-bit changes]
Signed-off-by: Varun Sethi varun.se...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v11:
-added comment about origin of idle instruction sequence
-update
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-new in v11-- this patch is needed so the dependencies are correct
for all users of epapr hcalls, without it there will be build issues
after hardcoded opcodes for hcalls are removed
arch
From: Scott Wood scottw...@freescale.com
Signed-off-by: Scott Wood scottw...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-new in v11-- this is derived from an internal patch from Scott,
without it there will be build issues after hardcoded opcodes for
hcalls
From: Liu Yu-B13201 yu@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v11: no changes
arch/powerpc/include/asm/epapr_hcalls.h | 22 +-
arch/powerpc/include/asm/fsl_hcalls.h | 36
On Tue, Apr 17, 2012 at 4:54 PM, Alexander Lyakas
alex.bols...@gmail.com wrote:
Greetings everybody,
Can anybody please point me to code/documentation regarding the
following questions I have:
- What does it actually mean using -smp N option, in terms of CPU
sharing between the host and the
On Thu, Apr 5, 2012 at 1:52 PM, Steven wangwangk...@gmail.com wrote:
Hi, Daniel,
Thanks for your quick response. However, the ps -eLf show 4 threads
for the VM and I checked 4 threads have the same tgid.
But the VM I created is with -smp 2 option. Could you explain this? Thanks.
info cpus in
On Wed, Mar 7, 2012 at 5:27 PM, Alexander Graf ag...@suse.de wrote:
#define KVM_SC_MAGIC_R0 0x4b564d21 /* KVM! */
-#define HC_VENDOR_KVM (42 16)
+
+#include asm/epapr_hcalls.h
+
+/* ePAPR Hypercall Vendor ID */
+#define HC_VENDOR_EPAPR
+early_initcall(epapr_paravirt_init);
Just want to double-check. Are you 100% sure that this gets called before
kvm_guest_init()?
Yes, kvm_guest_init is a postcore_initcall, which comes after early.
Some printks confirmed this.
Stuart
--
To unsubscribe from this list: send the line
From: Stuart Yoder stuart.yo...@freescale.com
v10:
-patchset is now 5 patches, using the epapr header
definitions is split out into a separate patch
-patch titles and descriptions are also updated
-cleanup as per review comments addressed
Liu Yu-B13201 (4):
KVM: PPC: Factor out
From: Liu Yu-B13201 yu@freescale.com
epapr paravirtualization support is now a Kconfig
selectable option
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: misc minor fixes, description update]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v10
-update
From: Liu Yu-B13201 yu@freescale.com
And add a new flag definition in kvm_ppc_pvinfo to indicate
whether the host supports the EV_IDLE hcall.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: cleanup,fixes for conditions allowing idle]
Signed-off-by: Stuart Yoder
From: Liu Yu-B13201 yu@freescale.com
Also, select ePAPR kconfig option for all users of ePAPR hcalls.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: kconfig fixes]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v10: update patch subject/description
From: Liu Yu-B13201 yu@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
[stuart: update patch description]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v10:
-add spaces as per comments
-use PPC_LL/PPC_STL for long accesses
arch/powerpc/include/asm/epapr_hcalls.h
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
arch/powerpc/include/asm/kvm_para.h | 19 +--
arch/powerpc/kernel/kvm.c |2 +-
arch/powerpc/kvm/powerpc.c | 10 +-
3 files changed, 15
On Wed, Mar 7, 2012 at 5:27 PM, Alexander Graf ag...@suse.de wrote:
#define KVM_SC_MAGIC_R0 0x4b564d21 /* KVM! */
-#define HC_VENDOR_KVM (42 16)
+
+#include asm/epapr_hcalls.h
+
+/* ePAPR Hypercall Vendor ID */
+#define HC_VENDOR_EPAPR
+early_initcall(epapr_paravirt_init);
Just want to double-check. Are you 100% sure that this gets called before
kvm_guest_init()?
Yes, kvm_guest_init is a postcore_initcall, which comes after early.
Some printks confirmed this.
Stuart
--
To unsubscribe from this list: send the line
From: Stuart Yoder stuart.yo...@freescale.com
v10:
-patchset is now 5 patches, using the epapr header
definitions is split out into a separate patch
-patch titles and descriptions are also updated
-cleanup as per review comments addressed
Liu Yu-B13201 (4):
KVM: PPC: Factor out
From: Liu Yu-B13201 yu@freescale.com
epapr paravirtualization support is now a Kconfig
selectable option
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: misc minor fixes, description update]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v10
-update
From: Liu Yu-B13201 yu@freescale.com
And add a new flag definition in kvm_ppc_pvinfo to indicate
whether the host supports the EV_IDLE hcall.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: cleanup,fixes for conditions allowing idle]
Signed-off-by: Stuart Yoder
From: Liu Yu-B13201 yu@freescale.com
Also, select ePAPR kconfig option for all users of ePAPR hcalls.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: kconfig fixes]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v10: update patch subject/description
From: Liu Yu-B13201 yu@freescale.com
Signed-off-by: Liu Yu yu@freescale.com
[stuart: update patch description]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v10:
-add spaces as per comments
-use PPC_LL/PPC_STL for long accesses
arch/powerpc/include/asm/epapr_hcalls.h
From: Stuart Yoder stuart.yo...@freescale.com
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
arch/powerpc/include/asm/kvm_para.h | 19 +--
arch/powerpc/kernel/kvm.c |2 +-
arch/powerpc/kvm/powerpc.c | 10 +-
3 files changed, 15
From: Liu Yu-B13201 yu@freescale.com
Discard the old way that invoke hypercall,
instead, use epapr paravirt.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: kconfig fixes]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v8: no changes
arch/powerpc
From: Liu Yu-B13201 yu@freescale.com
And add a new flag definition in kvm_ppc_pvinfo to indicate
whether host support EV_IDLE hcall.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: fixes for conditions allowing idle]
Signed-off-by: Stuart Yoder stuart.yo
From: Liu Yu-B13201 yu@freescale.com
from the kvm guest paravirt init code.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: misc minor fixes]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v8: no changes
arch/powerpc/include/asm/epapr_hcalls.h |2
From: Liu Yu-B13201 yu@freescale.com
If the guest hypervisor node contains has-idle property.
Signed-off-by: Liu Yu yu@freescale.com
---
-v8: no changes
arch/powerpc/include/asm/epapr_hcalls.h | 11 ++-
arch/powerpc/kernel/epapr_hcalls.S | 27
From: Stuart Yoder stuart.yo...@freescale.com
-v8
-updates hcall instruction for e500mc
Liu Yu-B13201 (4):
KVM: PPC: epapr: Factor out the epapr init
KVM: PPC: epapr: Add idle hcall support for host
KVM: PPC: epapr: install ev_idle hcall for e500 guest
KVM: PPC: epapr: Update other
From: Liu Yu-B13201 yu@freescale.com
from the kvm guest paravirt init code.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: misc minor fixes]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v9: no changes
arch/powerpc/include/asm/epapr_hcalls.h |2
From: Liu Yu-B13201 yu@freescale.com
Discard the old way that invoke hypercall,
instead, use epapr paravirt.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: kconfig fixes]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v9: no changes
arch/powerpc/include
From: Liu Yu-B13201 yu@freescale.com
And add a new flag definition in kvm_ppc_pvinfo to indicate
whether host support EV_IDLE hcall.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: fixes for conditions allowing idle]
Signed-off-by: Stuart Yoder stuart.yo
From: Stuart Yoder stuart.yo...@freescale.com
-v9
-pad hcall instruction array with nops
Liu Yu-B13201 (4):
KVM: PPC: epapr: Factor out the epapr init
KVM: PPC: epapr: Add idle hcall support for host
KVM: PPC: epapr: install ev_idle hcall for e500 guest
KVM: PPC: epapr: Update other
From: Liu Yu-B13201 yu@freescale.com
If the guest hypervisor node contains has-idle property.
Signed-off-by: Liu Yu yu@freescale.com
---
v9: no changes
arch/powerpc/include/asm/epapr_hcalls.h | 11 ++-
arch/powerpc/kernel/epapr_hcalls.S | 27 +++
From: Liu Yu-B13201 yu@freescale.com
Discard the old way that invoke hypercall,
instead, use epapr paravirt.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: kconfig fixes]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v8: no changes
arch/powerpc
From: Liu Yu-B13201 yu@freescale.com
And add a new flag definition in kvm_ppc_pvinfo to indicate
whether host support EV_IDLE hcall.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: fixes for conditions allowing idle]
Signed-off-by: Stuart Yoder stuart.yo
From: Liu Yu-B13201 yu@freescale.com
from the kvm guest paravirt init code.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: misc minor fixes]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v8: no changes
arch/powerpc/include/asm/epapr_hcalls.h |2
From: Liu Yu-B13201 yu@freescale.com
If the guest hypervisor node contains has-idle property.
Signed-off-by: Liu Yu yu@freescale.com
---
-v8: no changes
arch/powerpc/include/asm/epapr_hcalls.h | 11 ++-
arch/powerpc/kernel/epapr_hcalls.S | 27
From: Liu Yu-B13201 yu@freescale.com
from the kvm guest paravirt init code.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: misc minor fixes]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
-v9: no changes
arch/powerpc/include/asm/epapr_hcalls.h |2
From: Liu Yu-B13201 yu@freescale.com
Discard the old way that invoke hypercall,
instead, use epapr paravirt.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: kconfig fixes]
Signed-off-by: Stuart Yoder stuart.yo...@freescale.com
---
v9: no changes
arch/powerpc/include
From: Liu Yu-B13201 yu@freescale.com
And add a new flag definition in kvm_ppc_pvinfo to indicate
whether host support EV_IDLE hcall.
Signed-off-by: Liu Yu yu@freescale.com
[stuart.yo...@freescale.com: fixes for conditions allowing idle]
Signed-off-by: Stuart Yoder stuart.yo
From: Stuart Yoder stuart.yo...@freescale.com
-v9
-pad hcall instruction array with nops
Liu Yu-B13201 (4):
KVM: PPC: epapr: Factor out the epapr init
KVM: PPC: epapr: Add idle hcall support for host
KVM: PPC: epapr: install ev_idle hcall for e500 guest
KVM: PPC: epapr: Update other
From: Liu Yu-B13201 yu@freescale.com
If the guest hypervisor node contains has-idle property.
Signed-off-by: Liu Yu yu@freescale.com
---
v9: no changes
arch/powerpc/include/asm/epapr_hcalls.h | 11 ++-
arch/powerpc/kernel/epapr_hcalls.S | 27 +++
From: Stuart Yoder stuart.yo...@freescale.com
-version 7 of this patchset
-version 7 changes
KVM: PPC: epapr: Factor out the epapr init
-used ENODEV return code in epapr_paravirt_init
-improved error checkign logic as per review comments
-fixed spelling errors
KVM: PPC
1 - 100 of 129 matches
Mail list logo