Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1528134 > unrolled thread
| Started by | David Gibson <david@gibson.dropbear.id.au> |
|---|---|
| First post | 2016-11-23 06:20 +0100 |
| Last post | 2016-11-24 04:40 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 0/2] Preliminary cleanups for HPT resizing David Gibson <david@gibson.dropbear.id.au> - 2016-11-23 06:20 +0100
[PATCH 1/2] kvm: Move KVM_PPC_PVINFO_FLAGS_EV_IDLE definition next to its structure David Gibson <david@gibson.dropbear.id.au> - 2016-11-23 06:20 +0100
Re: [PATCH 0/2] Preliminary cleanups for HPT resizing Paul Mackerras <paulus@ozlabs.org> - 2016-11-24 04:40 +0100
| From | David Gibson <david@gibson.dropbear.id.au> |
|---|---|
| Date | 2016-11-23 06:20 +0100 |
| Subject | [PATCH 0/2] Preliminary cleanups for HPT resizing |
| Message-ID | <sGy8p-t6-3@gated-at.bofh.it> |
Hi Paul,
I'm still chasing this confusion about the CAS bit to send the real
HPT resizing patches. However, in the meantime, here are some
preliminary cleanups.
These cleanups stand on their own, although I wrote them in the
context of writing the HPT resizing code, and are prerequisites for
those patches.
David Gibson (2):
kvm: Move KVM_PPC_PVINFO_FLAGS_EV_IDLE definition next to its
structure
powerpc/kvm: Corectly report KVM_CAP_PPC_ALLOC_HTAB
arch/powerpc/kvm/powerpc.c | 5 ++++-
include/uapi/linux/kvm.h | 5 +++--
2 files changed, 7 insertions(+), 3 deletions(-)
--
2.7.4
[toc] | [next] | [standalone]
| From | David Gibson <david@gibson.dropbear.id.au> |
|---|---|
| Date | 2016-11-23 06:20 +0100 |
| Subject | [PATCH 1/2] kvm: Move KVM_PPC_PVINFO_FLAGS_EV_IDLE definition next to its structure |
| Message-ID | <sGy8p-t6-11@gated-at.bofh.it> |
| In reply to | #1528134 |
The KVM_PPC_PVINFO_FLAGS_EV_IDLE macro defines a bit for use in the flags
field of struct kvm_ppc_pvinfo. However, changes since that was introduced
have moved it away from that structure definition, which is confusing.
Move it back next to the structure it belongs with.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
---
include/uapi/linux/kvm.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index 4ee67cb..cac48ed 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -651,6 +651,9 @@ struct kvm_enable_cap {
};
/* for KVM_PPC_GET_PVINFO */
+
+#define KVM_PPC_PVINFO_FLAGS_EV_IDLE (1<<0)
+
struct kvm_ppc_pvinfo {
/* out */
__u32 flags;
@@ -682,8 +685,6 @@ struct kvm_ppc_smmu_info {
struct kvm_ppc_one_seg_page_size sps[KVM_PPC_PAGE_SIZES_MAX_SZ];
};
-#define KVM_PPC_PVINFO_FLAGS_EV_IDLE (1<<0)
-
#define KVMIO 0xAE
/* machine type bits, to be used as argument to KVM_CREATE_VM */
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Paul Mackerras <paulus@ozlabs.org> |
|---|---|
| Date | 2016-11-24 04:40 +0100 |
| Message-ID | <sGT3b-5oq-1@gated-at.bofh.it> |
| In reply to | #1528134 |
On Wed, Nov 23, 2016 at 04:14:05PM +1100, David Gibson wrote: > Hi Paul, > > I'm still chasing this confusion about the CAS bit to send the real > HPT resizing patches. However, in the meantime, here are some > preliminary cleanups. > > These cleanups stand on their own, although I wrote them in the > context of writing the HPT resizing code, and are prerequisites for > those patches. > > David Gibson (2): > kvm: Move KVM_PPC_PVINFO_FLAGS_EV_IDLE definition next to its > structure > powerpc/kvm: Corectly report KVM_CAP_PPC_ALLOC_HTAB > > arch/powerpc/kvm/powerpc.c | 5 ++++- > include/uapi/linux/kvm.h | 5 +++-- > 2 files changed, 7 insertions(+), 3 deletions(-) Thanks, series applied to my kvm-ppc-next branch. Paul.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web