Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577287 > unrolled thread

linux-next: manual merge of the kvm-ppc tree with the powerpc tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-02-09 04:50 +0100
Last post2017-02-09 13:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: manual merge of the kvm-ppc tree with the powerpc tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-02-09 04:50 +0100
    Re: linux-next: manual merge of the kvm-ppc tree with the powerpc tree Michael Ellerman <mpe@ellerman.id.au> - 2017-02-09 13:10 +0100

#1577287 — linux-next: manual merge of the kvm-ppc tree with the powerpc tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-02-09 04:50 +0100
Subjectlinux-next: manual merge of the kvm-ppc tree with the powerpc tree
Message-ID<t8NU6-LX-7@gated-at.bofh.it>
Hi Paul,

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

  arch/powerpc/include/asm/opal.h
  arch/powerpc/platforms/powernv/opal-wrappers.S

between commit:

  1d0761d2557d ("powerpc/powernv: Initialise nest mmu")

from the powerpc tree and commit:

  ab9bad0ead9a ("powerpc/powernv: Remove separate entry for OPAL real mode calls")

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 arch/powerpc/include/asm/opal.h
index 08ddea966601,16efe7406776..000000000000
--- a/arch/powerpc/include/asm/opal.h
+++ b/arch/powerpc/include/asm/opal.h
@@@ -228,11 -225,6 +225,7 @@@ int64_t opal_int_set_mfrr(uint32_t cpu
  int64_t opal_pci_tce_kill(uint64_t phb_id, uint32_t kill_type,
  			  uint32_t pe_num, uint32_t tce_size,
  			  uint64_t dma_addr, uint32_t npages);
- int64_t opal_rm_pci_tce_kill(uint64_t phb_id, uint32_t kill_type,
- 			     uint32_t pe_num, uint32_t tce_size,
- 			     uint64_t dma_addr, uint32_t npages);
 +int64_t opal_nmmu_set_ptcr(uint64_t chip_id, uint64_t ptcr);
  
  /* Internal functions */
  extern int early_init_dt_scan_opal(unsigned long node, const char *uname,
diff --cc arch/powerpc/platforms/powernv/opal-wrappers.S
index f7c19c9c57ed,28799e557348..000000000000
--- a/arch/powerpc/platforms/powernv/opal-wrappers.S
+++ b/arch/powerpc/platforms/powernv/opal-wrappers.S
@@@ -304,12 -296,7 +296,8 @@@ OPAL_CALL(opal_pci_get_presence_state
  OPAL_CALL(opal_pci_get_power_state,		OPAL_PCI_GET_POWER_STATE);
  OPAL_CALL(opal_pci_set_power_state,		OPAL_PCI_SET_POWER_STATE);
  OPAL_CALL(opal_int_get_xirr,			OPAL_INT_GET_XIRR);
- OPAL_CALL_REAL(opal_rm_int_get_xirr,		OPAL_INT_GET_XIRR);
  OPAL_CALL(opal_int_set_cppr,			OPAL_INT_SET_CPPR);
  OPAL_CALL(opal_int_eoi,				OPAL_INT_EOI);
- OPAL_CALL_REAL(opal_rm_int_eoi,			OPAL_INT_EOI);
  OPAL_CALL(opal_int_set_mfrr,			OPAL_INT_SET_MFRR);
- OPAL_CALL_REAL(opal_rm_int_set_mfrr,		OPAL_INT_SET_MFRR);
  OPAL_CALL(opal_pci_tce_kill,			OPAL_PCI_TCE_KILL);
 +OPAL_CALL(opal_nmmu_set_ptcr,			OPAL_NMMU_SET_PTCR);
- OPAL_CALL_REAL(opal_rm_pci_tce_kill,		OPAL_PCI_TCE_KILL);

[toc] | [next] | [standalone]


#1577511

FromMichael Ellerman <mpe@ellerman.id.au>
Date2017-02-09 13:10 +0100
Message-ID<t8VHX-5Z8-7@gated-at.bofh.it>
In reply to#1577287
Stephen Rothwell <sfr@canb.auug.org.au> writes:

> Hi Paul,
>
> Today's linux-next merge of the kvm-ppc tree got conflicts in:
>
>   arch/powerpc/include/asm/opal.h
>   arch/powerpc/platforms/powernv/opal-wrappers.S
>
> between commit:
>
>   1d0761d2557d ("powerpc/powernv: Initialise nest mmu")
>
> from the powerpc tree and commit:
>
>   ab9bad0ead9a ("powerpc/powernv: Remove separate entry for OPAL real mode calls")
>
> from the kvm-ppc tree.

Thanks.

This will go away when I merge the ppc-kvm topic branch.

cheers

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web