* linux-next: manual merge of the ixp4xx tree with the arm-soc tree
@ 2012-09-20 6:32 Stephen Rothwell
2012-09-20 15:31 ` Arnd Bergmann
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2012-09-20 6:32 UTC (permalink / raw)
To: "Krzysztof Hałasa"
Cc: linux-next, linux-kernel, Olof Johansson, Arnd Bergmann,
linux-arm-kernel
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: manual merge of the ixp4xx tree with the arm-soc tree
2012-09-20 6:32 linux-next: manual merge of the ixp4xx tree with the arm-soc tree Stephen Rothwell
@ 2012-09-20 15:31 ` Arnd Bergmann
0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2012-09-20 15:31 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Krzysztof Hałasa, linux-next, linux-kernel, Olof Johansson,
linux-arm-kernel
On Thursday 20 September 2012, Stephen Rothwell wrote:
> 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).
Ok, thanks!
This conflict will go away once Krzysztof's patches make it into arm-soc.
Arnd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-20 15:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-20 6:32 linux-next: manual merge of the ixp4xx tree with the arm-soc tree Stephen Rothwell
2012-09-20 15:31 ` Arnd Bergmann
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).