linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: "\"Krzysztof Hałasa\"" <khc@pm.waw.pl>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
	Olof Johansson <olof@lixom.net>, Arnd Bergmann <arnd@arndb.de>,
	linux-arm-kernel@lists.infradead.org
Subject: linux-next: manual merge of the ixp4xx tree with the arm-soc tree
Date: Thu, 20 Sep 2012 16:32:27 +1000	[thread overview]
Message-ID: <20120920163227.c6d8f1559b9cde971a376abf@canb.auug.org.au> (raw)

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

Hi Krzysztof,

Today's linux-next merge of the ixp4xx tree got conflicts in
arch/arm/mach-ixp4xx/common.c and
arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h between commit
13ec32f47cb4 ("ARM: ixp4xx: use __iomem pointers for MMIO") from the
arm-soc tree and commits 43690ab7543a ("IXP4xx: Always ioremap() Queue
Manager MMIO region at boot") and f62736b567ff ("IXP4xx: map CPU config
registers within VMALLOC region") from the ixp4xx 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 arch/arm/mach-ixp4xx/common.c
index fdf91a1,8f75b25..0000000
--- a/arch/arm/mach-ixp4xx/common.c
+++ b/arch/arm/mach-ixp4xx/common.c
@@@ -67,15 -67,12 +67,12 @@@ static struct map_desc ixp4xx_io_desc[
  		.pfn		= __phys_to_pfn(IXP4XX_PCI_CFG_BASE_PHYS),
  		.length		= IXP4XX_PCI_CFG_REGION_SIZE,
  		.type		= MT_DEVICE
- 	},
- #ifdef CONFIG_DEBUG_LL
- 	{	/* Debug UART mapping */
- 		.virtual	= (unsigned long)IXP4XX_DEBUG_UART_BASE_VIRT,
- 		.pfn		= __phys_to_pfn(IXP4XX_DEBUG_UART_BASE_PHYS),
- 		.length		= IXP4XX_DEBUG_UART_REGION_SIZE,
+ 	}, {	/* Queue Manager */
 -		.virtual	= IXP4XX_QMGR_BASE_VIRT,
++		.virtual	= (unsigned long)IXP4XX_QMGR_BASE_VIRT,
+ 		.pfn		= __phys_to_pfn(IXP4XX_QMGR_BASE_PHYS),
+ 		.length		= IXP4XX_QMGR_REGION_SIZE,
  		.type		= MT_DEVICE
- 	}
- #endif
+ 	},
  };
  
  void __init ixp4xx_map_io(void)
diff --cc arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h
index eb68b61,d7f6032..0000000
--- a/arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h
+++ b/arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h
@@@ -42,39 -42,31 +42,31 @@@
  /*
   * Queue Manager
   */
- #define IXP4XX_QMGR_BASE_PHYS		(0x60000000)
- #define IXP4XX_QMGR_REGION_SIZE		(0x00004000)
+ #define IXP4XX_QMGR_BASE_PHYS		0x60000000
 -#define IXP4XX_QMGR_BASE_VIRT		0xFEF15000
++#define IXP4XX_QMGR_BASE_VIRT		IOMEM(0xFEF15000)
+ #define IXP4XX_QMGR_REGION_SIZE		0x00004000
  
  /*
-  * Expansion BUS Configuration registers
+  * Peripheral space, including debug UART. Must be section-aligned so that
+  * it can be used with the low-level debug code.
   */
- #define IXP4XX_EXP_CFG_BASE_PHYS	(0xC4000000)
- #define IXP4XX_EXP_CFG_BASE_VIRT	IOMEM(0xFFBFE000)
- #define IXP4XX_EXP_CFG_REGION_SIZE	(0x00001000)
+ #define IXP4XX_PERIPHERAL_BASE_PHYS	0xC8000000
 -#define IXP4XX_PERIPHERAL_BASE_VIRT	0xFEF00000
++#define IXP4XX_PERIPHERAL_BASE_VIRT	IOMEM(0xFEF00000)
+ #define IXP4XX_PERIPHERAL_REGION_SIZE	0x00013000
  
  /*
   * PCI Config registers
   */
- #define IXP4XX_PCI_CFG_BASE_PHYS	(0xC0000000)
- #define	IXP4XX_PCI_CFG_BASE_VIRT	IOMEM(0xFFBFF000)
- #define IXP4XX_PCI_CFG_REGION_SIZE	(0x00001000)
- 
- /*
-  * Peripheral space
-  */
- #define IXP4XX_PERIPHERAL_BASE_PHYS	(0xC8000000)
- #define IXP4XX_PERIPHERAL_BASE_VIRT	IOMEM(0xFFBEB000)
- #define IXP4XX_PERIPHERAL_REGION_SIZE	(0x00013000)
+ #define IXP4XX_PCI_CFG_BASE_PHYS	0xC0000000
 -#define IXP4XX_PCI_CFG_BASE_VIRT	0xFEF13000
++#define IXP4XX_PCI_CFG_BASE_VIRT	IOMEM(0xFEF13000)
+ #define IXP4XX_PCI_CFG_REGION_SIZE	0x00001000
  
  /*
-  * Debug UART
-  *
-  * This is basically a remap of UART1 into a region that is section
-  * aligned so that it * can be used with the low-level debug code.
+  * Expansion BUS Configuration registers
   */
- #define	IXP4XX_DEBUG_UART_BASE_PHYS	(0xC8000000)
- #define	IXP4XX_DEBUG_UART_BASE_VIRT	IOMEM(0xffb00000)
- #define	IXP4XX_DEBUG_UART_REGION_SIZE	(0x00001000)
+ #define IXP4XX_EXP_CFG_BASE_PHYS	0xC4000000
 -#define IXP4XX_EXP_CFG_BASE_VIRT	0xFEF14000
++#define IXP4XX_EXP_CFG_BASE_VIRT	IOMEM(0xFEF14000)
+ #define IXP4XX_EXP_CFG_REGION_SIZE	0x00001000
  
  #define IXP4XX_EXP_CS0_OFFSET	0x00
  #define IXP4XX_EXP_CS1_OFFSET   0x04

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

             reply	other threads:[~2012-09-20  6:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20  6:32 Stephen Rothwell [this message]
2012-09-20 15:31 ` linux-next: manual merge of the ixp4xx tree with the arm-soc tree Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120920163227.c6d8f1559b9cde971a376abf@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=arnd@arndb.de \
    --cc=khc@pm.waw.pl \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=olof@lixom.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).