ing smp_muxed_ipi_message_pass and then invoke icp_native_cause_ipi_rm
to cause the actual IPI.
The function requires kvm_hstate.xics_phys to have been initialized
with the physical address of XICS.
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/xics.h |
-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/smp.c| 11 +
arch/powerpc/kvm/book3s_hv_rm_xics.c | 81 ++--
arch/powerpc/kvm/powerpc.c | 10 +
3 files changed, 99 insertions(+), 3 deletions(-)
diff
Update the core host state in kvmppc_host_rm_ops whenever
the primary thread of the core enters the guest or returns
back.
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/kvm/book3s_hv.c | 44
1 file changed, 44 inse
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/kvm_ppc.h | 31
arch/powerpc/kvm/book3s_hv.c | 70
arch/powerpc/kvm/book3s_hv_builtin.c | 3 ++
3 files changed, 104 insertions(+)
diff --git a/arch
all smp_muxed_ipi_set_message to set the message instead
of doing it directly inside the routine.
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/smp.h | 1 +
arch/powerpc/kernel/smp.c | 9 -
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/arc
support 4 messages and all 4 are already taken.
Define a fifth message PPC_MSG_RM_HOST_ACTION for this
purpose.
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/smp.h | 3 +++
arch/powerpc/kernel/smp.c | 8
2 files changed, 7 insertions
The kvmppc_host_rm_ops structure keeps track of which cores are
are in the host by maintaining a bitmask of active/runnable
online CPUs that have not entered the guest. This patch adds
support to manage the bitmask when a CPU is offlined or onlined
in the host.
Signed-off-by: Suresh Warrier <w
to control this feature.
The default value for this tunable is 1 - that is enable the feature.
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/kvm_ppc.h | 1 +
arch/powerpc/kvm/book3s_hv.c | 11 +++
arch/powerpc/kvm/book3s_hv_rm_xics.
-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/kvm_ppc.h | 1 +
arch/powerpc/kvm/book3s_hv.c | 2 ++
arch/powerpc/kvm/book3s_hv_rm_xics.c | 36
3 files changed, 39 insertions(+)
diff --git a/arch/powerpc/inclu
.
* Broke up real mode IPI messaging function into two pieces - one
to set the message and one to cause the IPI. New function
icp_native_cause_ipi_rm added to arch/powerpc/sysdev/xics/icp-native.c
Suresh Warrier (9):
powerpc/smp: Support more IPI messages
powerpc/smp: Add
-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/kvm_ppc.h | 1 +
arch/powerpc/kvm/book3s_hv.c | 2 ++
arch/powerpc/kvm/book3s_hv_rm_xics.c | 36
3 files changed, 39 insertions(+)
diff --git a/arch/powerpc/inclu
ide the routine.
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/smp.h | 1 +
arch/powerpc/kernel/smp.c | 9 -
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h
inde
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/kvm_ppc.h | 31
arch/powerpc/kvm/book3s_hv.c | 70
arch/powerpc/kvm/book3s_hv_builtin.c | 3 ++
3 files changed, 104 insertions(+)
diff --git a/arch
-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/smp.c| 11 +
arch/powerpc/kvm/book3s_hv_rm_xics.c | 81 ++--
arch/powerpc/kvm/powerpc.c | 10 +
3 files changed, 99 insertions(+), 3 deletions(-)
diff
The kvmppc_host_rm_ops structure keeps track of which cores are
are in the host by maintaining a bitmask of active/runnable
online CPUs that have not entered the guest. This patch adds
support to manage the bitmask when a CPU is offlined or onlined
in the host.
Signed-off-by: Suresh Warrier <w
support 4 messages and all 4 are already taken.
Define a fifth message PPC_MSG_RM_HOST_ACTION for this
purpose.
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/smp.h | 3 +++
arch/powerpc/kernel/smp.c | 8
2 files changed, 7 insertions
Update the core host state in kvmppc_host_rm_ops whenever
the primary thread of the core enters the guest or returns
back.
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/kvm/book3s_hv.c | 44
1 file changed, 44 inse
Function to cause an IPI. Requires kvm_hstate.xics_phys
to be initialized with physical address of XICS.
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/xics.h | 1 +
arch/powerpc/sysdev/xics/icp-native.c | 19 +++
2 files c
to control this feature.
The default value for this tunable is 1 - that is enable the feature.
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/kvm_ppc.h | 1 +
arch/powerpc/kvm/book3s_hv.c | 11 +++
arch/powerpc/kvm/book3s_hv_rm_xics.
and one to cause the IPI. New function
icp_native_cause_ipi_rm added to arch/powerpc/sysdev/xics/icp-native.c
Suresh Warrier (9):
powerpc/smp: Support more IPI messages
powerpc/smp: Add smp_muxed_ipi_set_message
powerpc/powernv: Add icp_native_cause_ipi_rm
KVM: PPC: Book3S HV: Host-side RM
-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/smp.c| 11 +
arch/powerpc/kvm/book3s_hv_rm_xics.c | 81 ++--
arch/powerpc/kvm/powerpc.c | 10 +
3 files changed, 99 insertions(+), 3 deletions(-)
diff
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/kvm_ppc.h | 31
arch/powerpc/kvm/book3s_hv.c | 70
arch/powerpc/kvm/book3s_hv_builtin.c | 3 ++
3 files changed, 104 insertions(+)
diff --git a/arch
-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/kvm_ppc.h | 1 +
arch/powerpc/kvm/book3s_hv.c | 2 ++
arch/powerpc/kvm/book3s_hv_rm_xics.c | 36
3 files changed, 39 insertions(+)
diff --git a/arch/powerpc/inclu
Update the core host state in kvmppc_host_rm_ops whenever
the primary thread of the core enters the guest or returns
back.
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/kvm/book3s_hv.c | 44
1 file changed, 44 inse
The kvmppc_host_rm_ops structure keeps track of which cores are
are in the host by maintaining a bitmask of active/runnable
online CPUs that have not entered the guest. This patch adds
support to manage the bitmask when a CPU is offlined or onlined
in the host.
Signed-off-by: Suresh Warrier <w
the
number of supported IPI messages to 8 and which also defines
the PPC_MSG_RM_HOST_ACTION message.
Suresh Warrier (6):
KVM: PPC: Book3S HV: Host-side RM data structures
KVM: PPC: Book3S HV: Manage core host state
KVM: PPC: Book3S HV: kvmppc_host_rm_ops - handle offlining CPUs
KVM: PPC: Book3S HV
to control this feature.
The default value for this tunable is 1 - that is enable the feature.
Signed-off-by: Suresh Warrier <warr...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/kvm_ppc.h | 1 +
arch/powerpc/kvm/book3s_hv.c | 11 +++
arch/powerpc/kvm/book3s_hv_rm_xics.
27 matches
Mail list logo