linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the kvm-ppc tree with the kvm tree
@ 2012-09-04  5:04 Stephen Rothwell
  0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2012-09-04  5:04 UTC (permalink / raw)
  To: Alexander Graf
  Cc: linux-next, linux-kernel, Xiao Guangrong, Avi Kivity,
	Bharat Bhushan, Scott Wood, Liu Yu

[-- Attachment #1: Type: text/plain, Size: 897 bytes --]

Hi Alexander,

Today's linux-next merge of the kvm-ppc tree got a conflict in
include/linux/kvm.h between commit 4d8b81abc47b ("KVM: introduce readonly
memslot") from the kvm tree and commit 1db21d25a11b ("KVM: PPC: booke:
Add watchdog emulation") from the kvm-ppc tree.

I fixed it up (see below) and can carry the fix as necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc include/linux/kvm.h
index d808694,f4f5be8..0000000
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@@ -622,9 -621,7 +625,10 @@@ struct kvm_ppc_smmu_info 
  #define KVM_CAP_PPC_GET_SMMU_INFO 78
  #define KVM_CAP_S390_COW 79
  #define KVM_CAP_PPC_ALLOC_HTAB 80
 -#define KVM_CAP_PPC_BOOKE_WATCHDOG 81
 +#ifdef __KVM_HAVE_READONLY_MEM
 +#define KVM_CAP_READONLY_MEM 81
 +#endif
++#define KVM_CAP_PPC_BOOKE_WATCHDOG 82
  
  #ifdef KVM_CAP_IRQ_ROUTING
  

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* linux-next: manual merge of the kvm-ppc tree with the kvm tree
@ 2017-04-07  4:06 Stephen Rothwell
  0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2017-04-07  4:06 UTC (permalink / raw)
  To: Paul Mackerras, Marcelo Tosatti, Gleb Natapov, KVM
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Alexey Kardashevskiy, James Hogan

Hi Paul,

Today's linux-next merge of the kvm-ppc tree got a conflict in:

  include/uapi/linux/kvm.h

between commit:

  a8a3c426772e ("KVM: MIPS: Add VZ & TE capabilities")

from the kvm tree and commit:

  2e60acebefd8 ("KVM: PPC: Reserve KVM_CAP_SPAPR_TCE_VFIO capability number")

from the kvm-ppc tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc include/uapi/linux/kvm.h
index 1e1a6c728a18,0f8a5e6528aa..000000000000
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@@ -887,9 -883,7 +887,10 @@@ struct kvm_ppc_resize_hpt 
  #define KVM_CAP_PPC_MMU_RADIX 134
  #define KVM_CAP_PPC_MMU_HASH_V3 135
  #define KVM_CAP_IMMEDIATE_EXIT 136
 -#define KVM_CAP_SPAPR_TCE_VFIO 137
 +#define KVM_CAP_MIPS_VZ 137
 +#define KVM_CAP_MIPS_TE 138
 +#define KVM_CAP_MIPS_64BIT 139
++#define KVM_CAP_SPAPR_TCE_VFIO 140
  
  #ifdef KVM_CAP_IRQ_ROUTING
  

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: linux-next: manual merge of the kvm-ppc tree with the kvm tree
  2014-08-05 11:39     ` Paolo Bonzini
@ 2014-08-05 12:06       ` Stephen Rothwell
  0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2014-08-05 12:06 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: James Hogan, Alexander Graf, Marcelo Tosatti, Gleb Natapov,
	linux-next, linux-kernel, Alexey Kardashevskiy

[-- Attachment #1: Type: text/plain, Size: 652 bytes --]

Hi Paolo,

On Tue, 05 Aug 2014 13:39:39 +0200 Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> Il 05/08/2014 12:13, Stephen Rothwell ha scritto:
> >> > And I suppose it'd be nice to replace tabs with spaces for consistency
> >> > (since that's one of the things bf5590f37919 did).
> >> > 
> >> > How about this fixup patch?
> > Thanks for that I have applied it to my merge resolution.
> 
> I've now merged kvm-ppc and kvm-arm into kvm, so everything should be
> fixed tomorrow.  All conficts should be gone, and the build failure on
> PPC too.

Excellent, thanks

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: linux-next: manual merge of the kvm-ppc tree with the kvm tree
  2014-08-05 10:13   ` Stephen Rothwell
@ 2014-08-05 11:39     ` Paolo Bonzini
  2014-08-05 12:06       ` Stephen Rothwell
  0 siblings, 1 reply; 10+ messages in thread
From: Paolo Bonzini @ 2014-08-05 11:39 UTC (permalink / raw)
  To: Stephen Rothwell, James Hogan
  Cc: Alexander Graf, Marcelo Tosatti, Gleb Natapov, linux-next,
	linux-kernel, Alexey Kardashevskiy

Il 05/08/2014 12:13, Stephen Rothwell ha scritto:
>> > And I suppose it'd be nice to replace tabs with spaces for consistency
>> > (since that's one of the things bf5590f37919 did).
>> > 
>> > How about this fixup patch?
> Thanks for that I have applied it to my merge resolution.

I've now merged kvm-ppc and kvm-arm into kvm, so everything should be
fixed tomorrow.  All conficts should be gone, and the build failure on
PPC too.

Thanks for your work on linux-next, Stephen.

Paolo

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: linux-next: manual merge of the kvm-ppc tree with the kvm tree
  2014-08-05 10:00 ` James Hogan
@ 2014-08-05 10:13   ` Stephen Rothwell
  2014-08-05 11:39     ` Paolo Bonzini
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2014-08-05 10:13 UTC (permalink / raw)
  To: James Hogan
  Cc: Alexander Graf, Marcelo Tosatti, Gleb Natapov, linux-next,
	linux-kernel, Paolo Bonzini, Alexey Kardashevskiy

[-- Attachment #1: Type: text/plain, Size: 606 bytes --]

Hi James,

On Tue, 5 Aug 2014 11:00:36 +0100 James Hogan <james.hogan@imgtec.com> wrote:
>
> On 04/08/14 09:04, Stephen Rothwell wrote:
> >  +  PPC   | KVM_REG_PPC_LPCR              | 64
> 
> I think due to a0840240c0c6 this one should be s/64/32/.
> 
> > ++  PPC   | KVM_REG_PPC_LPCR_64		| 64
> 
> And I suppose it'd be nice to replace tabs with spaces for consistency
> (since that's one of the things bf5590f37919 did).
> 
> How about this fixup patch?

Thanks for that I have applied it to my merge resolution.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: linux-next: manual merge of the kvm-ppc tree with the kvm tree
  2014-08-04  8:04 Stephen Rothwell
@ 2014-08-05 10:00 ` James Hogan
  2014-08-05 10:13   ` Stephen Rothwell
  0 siblings, 1 reply; 10+ messages in thread
From: James Hogan @ 2014-08-05 10:00 UTC (permalink / raw)
  To: Stephen Rothwell, Alexander Graf, Marcelo Tosatti, Gleb Natapov
  Cc: linux-next, linux-kernel, Paolo Bonzini, Alexey Kardashevskiy

Hi Stephen,

On 04/08/14 09:04, Stephen Rothwell wrote:
>  +  PPC   | KVM_REG_PPC_LPCR              | 64

I think due to a0840240c0c6 this one should be s/64/32/.

> ++  PPC   | KVM_REG_PPC_LPCR_64		| 64

And I suppose it'd be nice to replace tabs with spaces for consistency
(since that's one of the things bf5590f37919 did).

How about this fixup patch?

Cheers
James

diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt
index dc226e1867e1..2863f02b0efb 100644
--- a/Documentation/virtual/kvm/api.txt
+++ b/Documentation/virtual/kvm/api.txt
@@ -1895,8 +1895,8 @@ registers, find a list below:
   PPC   | KVM_REG_PPC_PID               | 64
   PPC   | KVM_REG_PPC_ACOP              | 64
   PPC   | KVM_REG_PPC_VRSAVE            | 32
-  PPC   | KVM_REG_PPC_LPCR              | 64
-  PPC   | KVM_REG_PPC_LPCR_64		| 64
+  PPC   | KVM_REG_PPC_LPCR              | 32
+  PPC   | KVM_REG_PPC_LPCR_64           | 64
   PPC   | KVM_REG_PPC_PPR               | 64
   PPC   | KVM_REG_PPC_ARCH_COMPAT       | 32
   PPC   | KVM_REG_PPC_DABRX             | 32

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* linux-next: manual merge of the kvm-ppc tree with the kvm tree
@ 2014-08-04  8:04 Stephen Rothwell
  2014-08-05 10:00 ` James Hogan
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2014-08-04  8:04 UTC (permalink / raw)
  To: Alexander Graf, Marcelo Tosatti, Gleb Natapov
  Cc: linux-next, linux-kernel, James Hogan, Paolo Bonzini,
	Alexey Kardashevskiy

[-- Attachment #1: Type: text/plain, Size: 15093 bytes --]

Hi Alexander,

Today's linux-next merge of the kvm-ppc tree got a conflict in
Documentation/virtual/kvm/api.txt between commit bf5590f37919 ("KVM:
Reformat KVM_SET_ONE_REG register documentation") from the kvm tree and
commit a0840240c0c6 ("KVM: PPC: Book3S: Fix LPCR one_reg interface")
from the kvm-ppc tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc Documentation/virtual/kvm/api.txt
index 68cda1fc3d52,a21ff2265c21..000000000000
--- a/Documentation/virtual/kvm/api.txt
+++ b/Documentation/virtual/kvm/api.txt
@@@ -1797,151 -1777,123 +1800,152 @@@ and architecture specific registers. Ea
  and their own constants and width. To keep track of the implemented
  registers, find a list below:
  
 -  Arch  |       Register        | Width (bits)
 -        |                       |
 -  PPC   | KVM_REG_PPC_HIOR      | 64
 -  PPC   | KVM_REG_PPC_IAC1      | 64
 -  PPC   | KVM_REG_PPC_IAC2      | 64
 -  PPC   | KVM_REG_PPC_IAC3      | 64
 -  PPC   | KVM_REG_PPC_IAC4      | 64
 -  PPC   | KVM_REG_PPC_DAC1      | 64
 -  PPC   | KVM_REG_PPC_DAC2      | 64
 -  PPC   | KVM_REG_PPC_DABR      | 64
 -  PPC   | KVM_REG_PPC_DSCR      | 64
 -  PPC   | KVM_REG_PPC_PURR      | 64
 -  PPC   | KVM_REG_PPC_SPURR     | 64
 -  PPC   | KVM_REG_PPC_DAR       | 64
 -  PPC   | KVM_REG_PPC_DSISR     | 32
 -  PPC   | KVM_REG_PPC_AMR       | 64
 -  PPC   | KVM_REG_PPC_UAMOR     | 64
 -  PPC   | KVM_REG_PPC_MMCR0     | 64
 -  PPC   | KVM_REG_PPC_MMCR1     | 64
 -  PPC   | KVM_REG_PPC_MMCRA     | 64
 -  PPC   | KVM_REG_PPC_MMCR2     | 64
 -  PPC   | KVM_REG_PPC_MMCRS     | 64
 -  PPC   | KVM_REG_PPC_SIAR      | 64
 -  PPC   | KVM_REG_PPC_SDAR      | 64
 -  PPC   | KVM_REG_PPC_SIER      | 64
 -  PPC   | KVM_REG_PPC_PMC1      | 32
 -  PPC   | KVM_REG_PPC_PMC2      | 32
 -  PPC   | KVM_REG_PPC_PMC3      | 32
 -  PPC   | KVM_REG_PPC_PMC4      | 32
 -  PPC   | KVM_REG_PPC_PMC5      | 32
 -  PPC   | KVM_REG_PPC_PMC6      | 32
 -  PPC   | KVM_REG_PPC_PMC7      | 32
 -  PPC   | KVM_REG_PPC_PMC8      | 32
 -  PPC   | KVM_REG_PPC_FPR0      | 64
 +  Arch  |           Register            | Width (bits)
 +        |                               |
 +  PPC   | KVM_REG_PPC_HIOR              | 64
 +  PPC   | KVM_REG_PPC_IAC1              | 64
 +  PPC   | KVM_REG_PPC_IAC2              | 64
 +  PPC   | KVM_REG_PPC_IAC3              | 64
 +  PPC   | KVM_REG_PPC_IAC4              | 64
 +  PPC   | KVM_REG_PPC_DAC1              | 64
 +  PPC   | KVM_REG_PPC_DAC2              | 64
 +  PPC   | KVM_REG_PPC_DABR              | 64
 +  PPC   | KVM_REG_PPC_DSCR              | 64
 +  PPC   | KVM_REG_PPC_PURR              | 64
 +  PPC   | KVM_REG_PPC_SPURR             | 64
 +  PPC   | KVM_REG_PPC_DAR               | 64
 +  PPC   | KVM_REG_PPC_DSISR             | 32
 +  PPC   | KVM_REG_PPC_AMR               | 64
 +  PPC   | KVM_REG_PPC_UAMOR             | 64
 +  PPC   | KVM_REG_PPC_MMCR0             | 64
 +  PPC   | KVM_REG_PPC_MMCR1             | 64
 +  PPC   | KVM_REG_PPC_MMCRA             | 64
 +  PPC   | KVM_REG_PPC_MMCR2             | 64
 +  PPC   | KVM_REG_PPC_MMCRS             | 64
 +  PPC   | KVM_REG_PPC_SIAR              | 64
 +  PPC   | KVM_REG_PPC_SDAR              | 64
 +  PPC   | KVM_REG_PPC_SIER              | 64
 +  PPC   | KVM_REG_PPC_PMC1              | 32
 +  PPC   | KVM_REG_PPC_PMC2              | 32
 +  PPC   | KVM_REG_PPC_PMC3              | 32
 +  PPC   | KVM_REG_PPC_PMC4              | 32
 +  PPC   | KVM_REG_PPC_PMC5              | 32
 +  PPC   | KVM_REG_PPC_PMC6              | 32
 +  PPC   | KVM_REG_PPC_PMC7              | 32
 +  PPC   | KVM_REG_PPC_PMC8              | 32
 +  PPC   | KVM_REG_PPC_FPR0              | 64
 +          ...
 +  PPC   | KVM_REG_PPC_FPR31             | 64
 +  PPC   | KVM_REG_PPC_VR0               | 128
            ...
 -  PPC   | KVM_REG_PPC_FPR31     | 64
 -  PPC   | KVM_REG_PPC_VR0       | 128
 +  PPC   | KVM_REG_PPC_VR31              | 128
 +  PPC   | KVM_REG_PPC_VSR0              | 128
            ...
 -  PPC   | KVM_REG_PPC_VR31      | 128
 -  PPC   | KVM_REG_PPC_VSR0      | 128
 +  PPC   | KVM_REG_PPC_VSR31             | 128
 +  PPC   | KVM_REG_PPC_FPSCR             | 64
 +  PPC   | KVM_REG_PPC_VSCR              | 32
 +  PPC   | KVM_REG_PPC_VPA_ADDR          | 64
 +  PPC   | KVM_REG_PPC_VPA_SLB           | 128
 +  PPC   | KVM_REG_PPC_VPA_DTL           | 128
 +  PPC   | KVM_REG_PPC_EPCR              | 32
 +  PPC   | KVM_REG_PPC_EPR               | 32
 +  PPC   | KVM_REG_PPC_TCR               | 32
 +  PPC   | KVM_REG_PPC_TSR               | 32
 +  PPC   | KVM_REG_PPC_OR_TSR            | 32
 +  PPC   | KVM_REG_PPC_CLEAR_TSR         | 32
 +  PPC   | KVM_REG_PPC_MAS0              | 32
 +  PPC   | KVM_REG_PPC_MAS1              | 32
 +  PPC   | KVM_REG_PPC_MAS2              | 64
 +  PPC   | KVM_REG_PPC_MAS7_3            | 64
 +  PPC   | KVM_REG_PPC_MAS4              | 32
 +  PPC   | KVM_REG_PPC_MAS6              | 32
 +  PPC   | KVM_REG_PPC_MMUCFG            | 32
 +  PPC   | KVM_REG_PPC_TLB0CFG           | 32
 +  PPC   | KVM_REG_PPC_TLB1CFG           | 32
 +  PPC   | KVM_REG_PPC_TLB2CFG           | 32
 +  PPC   | KVM_REG_PPC_TLB3CFG           | 32
 +  PPC   | KVM_REG_PPC_TLB0PS            | 32
 +  PPC   | KVM_REG_PPC_TLB1PS            | 32
 +  PPC   | KVM_REG_PPC_TLB2PS            | 32
 +  PPC   | KVM_REG_PPC_TLB3PS            | 32
 +  PPC   | KVM_REG_PPC_EPTCFG            | 32
 +  PPC   | KVM_REG_PPC_ICP_STATE         | 64
 +  PPC   | KVM_REG_PPC_TB_OFFSET         | 64
 +  PPC   | KVM_REG_PPC_SPMC1             | 32
 +  PPC   | KVM_REG_PPC_SPMC2             | 32
 +  PPC   | KVM_REG_PPC_IAMR              | 64
 +  PPC   | KVM_REG_PPC_TFHAR             | 64
 +  PPC   | KVM_REG_PPC_TFIAR             | 64
 +  PPC   | KVM_REG_PPC_TEXASR            | 64
 +  PPC   | KVM_REG_PPC_FSCR              | 64
 +  PPC   | KVM_REG_PPC_PSPB              | 32
 +  PPC   | KVM_REG_PPC_EBBHR             | 64
 +  PPC   | KVM_REG_PPC_EBBRR             | 64
 +  PPC   | KVM_REG_PPC_BESCR             | 64
 +  PPC   | KVM_REG_PPC_TAR               | 64
 +  PPC   | KVM_REG_PPC_DPDES             | 64
 +  PPC   | KVM_REG_PPC_DAWR              | 64
 +  PPC   | KVM_REG_PPC_DAWRX             | 64
 +  PPC   | KVM_REG_PPC_CIABR             | 64
 +  PPC   | KVM_REG_PPC_IC                | 64
 +  PPC   | KVM_REG_PPC_VTB               | 64
 +  PPC   | KVM_REG_PPC_CSIGR             | 64
 +  PPC   | KVM_REG_PPC_TACR              | 64
 +  PPC   | KVM_REG_PPC_TCSCR             | 64
 +  PPC   | KVM_REG_PPC_PID               | 64
 +  PPC   | KVM_REG_PPC_ACOP              | 64
 +  PPC   | KVM_REG_PPC_VRSAVE            | 32
 +  PPC   | KVM_REG_PPC_LPCR              | 64
++  PPC   | KVM_REG_PPC_LPCR_64		| 64
 +  PPC   | KVM_REG_PPC_PPR               | 64
 +  PPC   | KVM_REG_PPC_ARCH_COMPAT       | 32
 +  PPC   | KVM_REG_PPC_DABRX             | 32
 +  PPC   | KVM_REG_PPC_WORT              | 64
 +  PPC   | KVM_REG_PPC_TM_GPR0           | 64
            ...
 -  PPC   | KVM_REG_PPC_VSR31     | 128
 -  PPC   | KVM_REG_PPC_FPSCR     | 64
 -  PPC   | KVM_REG_PPC_VSCR      | 32
 -  PPC   | KVM_REG_PPC_VPA_ADDR  | 64
 -  PPC   | KVM_REG_PPC_VPA_SLB   | 128
 -  PPC   | KVM_REG_PPC_VPA_DTL   | 128
 -  PPC   | KVM_REG_PPC_EPCR	| 32
 -  PPC   | KVM_REG_PPC_EPR	| 32
 -  PPC   | KVM_REG_PPC_TCR	| 32
 -  PPC   | KVM_REG_PPC_TSR	| 32
 -  PPC   | KVM_REG_PPC_OR_TSR	| 32
 -  PPC   | KVM_REG_PPC_CLEAR_TSR	| 32
 -  PPC   | KVM_REG_PPC_MAS0	| 32
 -  PPC   | KVM_REG_PPC_MAS1	| 32
 -  PPC   | KVM_REG_PPC_MAS2	| 64
 -  PPC   | KVM_REG_PPC_MAS7_3	| 64
 -  PPC   | KVM_REG_PPC_MAS4	| 32
 -  PPC   | KVM_REG_PPC_MAS6	| 32
 -  PPC   | KVM_REG_PPC_MMUCFG	| 32
 -  PPC   | KVM_REG_PPC_TLB0CFG	| 32
 -  PPC   | KVM_REG_PPC_TLB1CFG	| 32
 -  PPC   | KVM_REG_PPC_TLB2CFG	| 32
 -  PPC   | KVM_REG_PPC_TLB3CFG	| 32
 -  PPC   | KVM_REG_PPC_TLB0PS	| 32
 -  PPC   | KVM_REG_PPC_TLB1PS	| 32
 -  PPC   | KVM_REG_PPC_TLB2PS	| 32
 -  PPC   | KVM_REG_PPC_TLB3PS	| 32
 -  PPC   | KVM_REG_PPC_EPTCFG	| 32
 -  PPC   | KVM_REG_PPC_ICP_STATE | 64
 -  PPC   | KVM_REG_PPC_TB_OFFSET	| 64
 -  PPC   | KVM_REG_PPC_SPMC1	| 32
 -  PPC   | KVM_REG_PPC_SPMC2	| 32
 -  PPC   | KVM_REG_PPC_IAMR	| 64
 -  PPC   | KVM_REG_PPC_TFHAR	| 64
 -  PPC   | KVM_REG_PPC_TFIAR	| 64
 -  PPC   | KVM_REG_PPC_TEXASR	| 64
 -  PPC   | KVM_REG_PPC_FSCR	| 64
 -  PPC   | KVM_REG_PPC_PSPB	| 32
 -  PPC   | KVM_REG_PPC_EBBHR	| 64
 -  PPC   | KVM_REG_PPC_EBBRR	| 64
 -  PPC   | KVM_REG_PPC_BESCR	| 64
 -  PPC   | KVM_REG_PPC_TAR	| 64
 -  PPC   | KVM_REG_PPC_DPDES	| 64
 -  PPC   | KVM_REG_PPC_DAWR	| 64
 -  PPC   | KVM_REG_PPC_DAWRX	| 64
 -  PPC   | KVM_REG_PPC_CIABR	| 64
 -  PPC   | KVM_REG_PPC_IC	| 64
 -  PPC   | KVM_REG_PPC_VTB	| 64
 -  PPC   | KVM_REG_PPC_CSIGR	| 64
 -  PPC   | KVM_REG_PPC_TACR	| 64
 -  PPC   | KVM_REG_PPC_TCSCR	| 64
 -  PPC   | KVM_REG_PPC_PID	| 64
 -  PPC   | KVM_REG_PPC_ACOP	| 64
 -  PPC   | KVM_REG_PPC_VRSAVE	| 32
 -  PPC   | KVM_REG_PPC_LPCR	| 32
 -  PPC   | KVM_REG_PPC_LPCR_64	| 64
 -  PPC   | KVM_REG_PPC_PPR	| 64
 -  PPC   | KVM_REG_PPC_ARCH_COMPAT 32
 -  PPC   | KVM_REG_PPC_DABRX     | 32
 -  PPC   | KVM_REG_PPC_WORT      | 64
 -  PPC   | KVM_REG_PPC_TM_GPR0	| 64
 +  PPC   | KVM_REG_PPC_TM_GPR31          | 64
 +  PPC   | KVM_REG_PPC_TM_VSR0           | 128
            ...
 -  PPC   | KVM_REG_PPC_TM_GPR31	| 64
 -  PPC   | KVM_REG_PPC_TM_VSR0	| 128
 +  PPC   | KVM_REG_PPC_TM_VSR63          | 128
 +  PPC   | KVM_REG_PPC_TM_CR             | 64
 +  PPC   | KVM_REG_PPC_TM_LR             | 64
 +  PPC   | KVM_REG_PPC_TM_CTR            | 64
 +  PPC   | KVM_REG_PPC_TM_FPSCR          | 64
 +  PPC   | KVM_REG_PPC_TM_AMR            | 64
 +  PPC   | KVM_REG_PPC_TM_PPR            | 64
 +  PPC   | KVM_REG_PPC_TM_VRSAVE         | 64
 +  PPC   | KVM_REG_PPC_TM_VSCR           | 32
 +  PPC   | KVM_REG_PPC_TM_DSCR           | 64
 +  PPC   | KVM_REG_PPC_TM_TAR            | 64
 +        |                               |
 +  MIPS  | KVM_REG_MIPS_R0               | 64
            ...
 -  PPC   | KVM_REG_PPC_TM_VSR63	| 128
 -  PPC   | KVM_REG_PPC_TM_CR	| 64
 -  PPC   | KVM_REG_PPC_TM_LR	| 64
 -  PPC   | KVM_REG_PPC_TM_CTR	| 64
 -  PPC   | KVM_REG_PPC_TM_FPSCR	| 64
 -  PPC   | KVM_REG_PPC_TM_AMR	| 64
 -  PPC   | KVM_REG_PPC_TM_PPR	| 64
 -  PPC   | KVM_REG_PPC_TM_VRSAVE	| 64
 -  PPC   | KVM_REG_PPC_TM_VSCR	| 32
 -  PPC   | KVM_REG_PPC_TM_DSCR	| 64
 -  PPC   | KVM_REG_PPC_TM_TAR	| 64
 +  MIPS  | KVM_REG_MIPS_R31              | 64
 +  MIPS  | KVM_REG_MIPS_HI               | 64
 +  MIPS  | KVM_REG_MIPS_LO               | 64
 +  MIPS  | KVM_REG_MIPS_PC               | 64
 +  MIPS  | KVM_REG_MIPS_CP0_INDEX        | 32
 +  MIPS  | KVM_REG_MIPS_CP0_CONTEXT      | 64
 +  MIPS  | KVM_REG_MIPS_CP0_USERLOCAL    | 64
 +  MIPS  | KVM_REG_MIPS_CP0_PAGEMASK     | 32
 +  MIPS  | KVM_REG_MIPS_CP0_WIRED        | 32
 +  MIPS  | KVM_REG_MIPS_CP0_HWRENA       | 32
 +  MIPS  | KVM_REG_MIPS_CP0_BADVADDR     | 64
 +  MIPS  | KVM_REG_MIPS_CP0_COUNT        | 32
 +  MIPS  | KVM_REG_MIPS_CP0_ENTRYHI      | 64
 +  MIPS  | KVM_REG_MIPS_CP0_COMPARE      | 32
 +  MIPS  | KVM_REG_MIPS_CP0_STATUS       | 32
 +  MIPS  | KVM_REG_MIPS_CP0_CAUSE        | 32
 +  MIPS  | KVM_REG_MIPS_CP0_EPC          | 64
 +  MIPS  | KVM_REG_MIPS_CP0_CONFIG       | 32
 +  MIPS  | KVM_REG_MIPS_CP0_CONFIG1      | 32
 +  MIPS  | KVM_REG_MIPS_CP0_CONFIG2      | 32
 +  MIPS  | KVM_REG_MIPS_CP0_CONFIG3      | 32
 +  MIPS  | KVM_REG_MIPS_CP0_CONFIG7      | 32
 +  MIPS  | KVM_REG_MIPS_CP0_ERROREPC     | 64
 +  MIPS  | KVM_REG_MIPS_COUNT_CTL        | 64
 +  MIPS  | KVM_REG_MIPS_COUNT_RESUME     | 64
 +  MIPS  | KVM_REG_MIPS_COUNT_HZ         | 64
  
  ARM registers are mapped using the lower 32 bits.  The upper 16 of that
  is the register group type, or coprocessor number:
@@@ -2931,13 -2867,12 +2935,13 @@@ The fields in each entry are defined a
           this function/index combination
  
  
- 6. Capabilities that can be enabled
- -----------------------------------
+ 6. Capabilities that can be enabled on vCPUs
+ --------------------------------------------
  
 -There are certain capabilities that change the behavior of the virtual CPU when
 -enabled. To enable them, please see section 4.37. Below you can find a list of
 -capabilities and what their effect on the vCPU is when enabling them.
 +There are certain capabilities that change the behavior of the virtual CPU or
 +the virtual machine when enabled. To enable them, please see section 4.37.
 +Below you can find a list of capabilities and what their effect on the vCPU or
 +the virtual machine is when enabling them.
  
  The following information is provided along with the description:
  
@@@ -3083,11 -3007,43 +3087,51 @@@ Parameters: args[0] is the XICS device 
  
  This capability connects the vcpu to an in-kernel XICS device.
  
 +6.8 KVM_CAP_S390_IRQCHIP
 +
 +Architectures: s390
 +Target: vm
 +Parameters: none
 +
 +This capability enables the in-kernel irqchip for s390. Please refer to
 +"4.24 KVM_CREATE_IRQCHIP" for details.
+ 
+ 7. Capabilities that can be enabled on VMs
+ ------------------------------------------
+ 
+ There are certain capabilities that change the behavior of the virtual
+ machine when enabled. To enable them, please see section 4.37. Below
+ you can find a list of capabilities and what their effect on the VM
+ is when enabling them.
+ 
+ The following information is provided along with the description:
+ 
+   Architectures: which instruction set architectures provide this ioctl.
+       x86 includes both i386 and x86_64.
+ 
+   Parameters: what parameters are accepted by the capability.
+ 
+   Returns: the return value.  General error numbers (EBADF, ENOMEM, EINVAL)
+       are not detailed, but errors with specific meanings are.
+ 
+ 
+ 7.1 KVM_CAP_PPC_ENABLE_HCALL
+ 
+ Architectures: ppc
+ Parameters: args[0] is the sPAPR hcall number
+ 	    args[1] is 0 to disable, 1 to enable in-kernel handling
+ 
+ This capability controls whether individual sPAPR hypercalls (hcalls)
+ get handled by the kernel or not.  Enabling or disabling in-kernel
+ handling of an hcall is effective across the VM.  On creation, an
+ initial set of hcalls are enabled for in-kernel handling, which
+ consists of those hcalls for which in-kernel handlers were implemented
+ before this capability was implemented.  If disabled, the kernel will
+ not to attempt to handle the hcall, but will always exit to userspace
+ to handle it.  Note that it may not make sense to enable some and
+ disable others of a group of related hcalls, but KVM does not prevent
+ userspace from doing that.
+ 
+ If the hcall number specified is not one that has an in-kernel
+ implementation, the KVM_ENABLE_CAP ioctl will fail with an EINVAL
+ error.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* linux-next: manual merge of the kvm-ppc tree with the kvm tree
@ 2014-07-28  6:53 Stephen Rothwell
  0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2014-07-28  6:53 UTC (permalink / raw)
  To: Alexander Graf, Marcelo Tosatti, Gleb Natapov
  Cc: linux-next, linux-kernel, Cornelia Huck, Christian Borntraeger,
	Paul Mackerras

[-- Attachment #1: Type: text/plain, Size: 3695 bytes --]

Hi Alexander,

Today's linux-next merge of the kvm-ppc tree got a conflict in
Documentation/virtual/kvm/api.txt between commit 8a366a4bae15 ("KVM:
s390: document KVM_CAP_S390_IRQCHIP") from the kvm tree and commit
dfc17cc2ded1 ("KVM: PPC: Book3S: Controls for in-kernel sPAPR hypercall
handling") from the kvm-ppc tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc Documentation/virtual/kvm/api.txt
index 68cda1fc3d52,69553183ef0f..000000000000
--- a/Documentation/virtual/kvm/api.txt
+++ b/Documentation/virtual/kvm/api.txt
@@@ -2931,13 -2863,12 +2931,13 @@@ The fields in each entry are defined a
           this function/index combination
  
  
- 6. Capabilities that can be enabled
- -----------------------------------
+ 6. Capabilities that can be enabled on vCPUs
+ --------------------------------------------
  
 -There are certain capabilities that change the behavior of the virtual CPU when
 -enabled. To enable them, please see section 4.37. Below you can find a list of
 -capabilities and what their effect on the vCPU is when enabling them.
 +There are certain capabilities that change the behavior of the virtual CPU or
 +the virtual machine when enabled. To enable them, please see section 4.37.
 +Below you can find a list of capabilities and what their effect on the vCPU or
 +the virtual machine is when enabling them.
  
  The following information is provided along with the description:
  
@@@ -3083,11 -3003,43 +3083,51 @@@ Parameters: args[0] is the XICS device 
  
  This capability connects the vcpu to an in-kernel XICS device.
  
 +6.8 KVM_CAP_S390_IRQCHIP
 +
 +Architectures: s390
 +Target: vm
 +Parameters: none
 +
 +This capability enables the in-kernel irqchip for s390. Please refer to
 +"4.24 KVM_CREATE_IRQCHIP" for details.
+ 
+ 7. Capabilities that can be enabled on VMs
+ ------------------------------------------
+ 
+ There are certain capabilities that change the behavior of the virtual
+ machine when enabled. To enable them, please see section 4.37. Below
+ you can find a list of capabilities and what their effect on the VM
+ is when enabling them.
+ 
+ The following information is provided along with the description:
+ 
+   Architectures: which instruction set architectures provide this ioctl.
+       x86 includes both i386 and x86_64.
+ 
+   Parameters: what parameters are accepted by the capability.
+ 
+   Returns: the return value.  General error numbers (EBADF, ENOMEM, EINVAL)
+       are not detailed, but errors with specific meanings are.
+ 
+ 
+ 7.1 KVM_CAP_PPC_ENABLE_HCALL
+ 
+ Architectures: ppc
+ Parameters: args[0] is the sPAPR hcall number
+ 	    args[1] is 0 to disable, 1 to enable in-kernel handling
+ 
+ This capability controls whether individual sPAPR hypercalls (hcalls)
+ get handled by the kernel or not.  Enabling or disabling in-kernel
+ handling of an hcall is effective across the VM.  On creation, an
+ initial set of hcalls are enabled for in-kernel handling, which
+ consists of those hcalls for which in-kernel handlers were implemented
+ before this capability was implemented.  If disabled, the kernel will
+ not to attempt to handle the hcall, but will always exit to userspace
+ to handle it.  Note that it may not make sense to enable some and
+ disable others of a group of related hcalls, but KVM does not prevent
+ userspace from doing that.
+ 
+ If the hcall number specified is not one that has an in-kernel
+ implementation, the KVM_ENABLE_CAP ioctl will fail with an EINVAL
+ error.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* linux-next: manual merge of the kvm-ppc tree with the kvm tree
@ 2012-10-12  2:12 Stephen Rothwell
  0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2012-10-12  2:12 UTC (permalink / raw)
  To: Alexander Graf
  Cc: linux-next, linux-kernel, Avi Kivity, Marcelo Tosatti,
	Benjamin Herrenschmidt, Paul Mackerras, linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 671 bytes --]

Hi Alexander,

Today's linux-next merge of the kvm-ppc tree got a conflict in
arch/powerpc/kvm/44x_emulate.c between commits from the kvm tree and
the same patches plus another commit from the kvm-ppc tree.

I just used the kvm-ppc tree version.

This happened because
	1) you rebased/rewrote your tree before it was merged into the kvm tree
	2) left the old version in your kvm-ppc-next branch
	3) added some more commits to your kvm-ppc-next branch

Don't do that!

Unfortunately, the best thing you can do now is to rebase your
kvm-ppc-next branch on top of the kvm tree.  :-(

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* linux-next: manual merge of the kvm-ppc tree with the kvm tree
@ 2012-05-21  5:21 Stephen Rothwell
  0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2012-05-21  5:21 UTC (permalink / raw)
  To: Alexander Graf
  Cc: linux-next, linux-kernel, Christian Borntraeger, Avi Kivity,
	Marcelo Tosatti, Paul Mackerras

[-- Attachment #1: Type: text/plain, Size: 884 bytes --]

Hi Alexander,

Today's linux-next merge of the kvm-ppc tree got a conflict in
include/linux/kvm.h between commit 1526bf9ccf31 ("KVM: s390: add
capability indicating COW support") from the kvm tree and commit
6e8fce2c6cd3 ("KVM: PPC: Book3S HV: Make the guest hash table size
configurable") from the kvm-ppc tree.

I fixed it up (see below) and can carry the fix as necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc include/linux/kvm.h
index 09f2b3a,fcc98df..0000000
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@@ -616,7 -616,7 +616,8 @@@ struct kvm_ppc_smmu_info 
  #define KVM_CAP_KVMCLOCK_CTRL 76
  #define KVM_CAP_SIGNAL_MSI 77
  #define KVM_CAP_PPC_GET_SMMU_INFO 78
 -#define KVM_CAP_PPC_ALLOC_HTAB 79
 +#define KVM_CAP_S390_COW 79
++#define KVM_CAP_PPC_ALLOC_HTAB 80
  
  #ifdef KVM_CAP_IRQ_ROUTING
  

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-04-07  4:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-04  5:04 linux-next: manual merge of the kvm-ppc tree with the kvm tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2017-04-07  4:06 Stephen Rothwell
2014-08-04  8:04 Stephen Rothwell
2014-08-05 10:00 ` James Hogan
2014-08-05 10:13   ` Stephen Rothwell
2014-08-05 11:39     ` Paolo Bonzini
2014-08-05 12:06       ` Stephen Rothwell
2014-07-28  6:53 Stephen Rothwell
2012-10-12  2:12 Stephen Rothwell
2012-05-21  5:21 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).