Re: [PATCH 1/5] ARM: vexpress: Get rid of MMIO_P2V

2012-01-12 Thread Ryan Harkin
On Wed, 2011-11-16 at 17:30 +, Pawel Moll wrote: On Wed, 2011-11-16 at 17:28 +, Dave Martin wrote: Is there anything else blocking the building of legacy and RS1 memory maps into a single kernel? (I'm still hazy on how all the remapping stuff works, myself.) This works

Re: [PATCH 1/5] ARM: vexpress: Get rid of MMIO_P2V

2011-11-18 Thread Pawel Moll
On Thu, 2011-11-17 at 15:43 +, Russell King - ARM Linux wrote: +/* Tile's peripherals static mappings should start here */ +#define V2T_PERIPH 0xf820 +#define V2T_PERIPH_P2V(offset) ((void __iomem *)(V2T_PERIPH | (offset))) + Please get rid of these blank lines at the end of

Re: [PATCH 1/5] ARM: vexpress: Get rid of MMIO_P2V

2011-11-18 Thread Russell King - ARM Linux
On Fri, Nov 18, 2011 at 12:20:48PM +, Pawel Moll wrote: On Thu, 2011-11-17 at 15:43 +, Russell King - ARM Linux wrote: +/* Tile's peripherals static mappings should start here */ +#define V2T_PERIPH 0xf820 +#define V2T_PERIPH_P2V(offset) ((void __iomem *)(V2T_PERIPH |

Re: [PATCH 1/5] ARM: vexpress: Get rid of MMIO_P2V

2011-11-17 Thread Russell King - ARM Linux
On Fri, Nov 11, 2011 at 06:27:02PM +, Pawel Moll wrote: @@ -17,3 +14,12 @@ struct amba_device name##_device = { \ .irq= IRQ_##base, \ /* .dma = DMA_##base,*/ \ } + +/* 2MB large area for motherboard's peripherals static

Re: [PATCH 1/5] ARM: vexpress: Get rid of MMIO_P2V

2011-11-16 Thread Dave Martin
On Wed, Nov 16, 2011 at 04:16:45PM +, Pawel Moll wrote: On Wed, 2011-11-16 at 15:35 +, Dave Martin wrote: On Fri, Nov 11, 2011 at 06:27:02PM +, Pawel Moll wrote: This patch gets rid of the MMIO_P2V and __MMPIO_P2V macros, defining constant virtual base for motherboard and tile

Re: [PATCH 1/5] ARM: vexpress: Get rid of MMIO_P2V

2011-11-16 Thread Pawel Moll
On Wed, 2011-11-16 at 17:28 +, Dave Martin wrote: Is there anything else blocking the building of legacy and RS1 memory maps into a single kernel? (I'm still hazy on how all the remapping stuff works, myself.) This works now - I have a single binary kernel that works on both A9