Re: [PATCH v4 4/6] arm: add early_ioremap support

2014-02-26 Thread Rob Herring
On Wed, Feb 26, 2014 at 8:59 AM, Mark Salter wrote: > On Tue, 2014-02-25 at 23:48 -0600, Rob Herring wrote: >> > +#define NR_FIX_BTMAPS 32 >> > +#define FIX_BTMAPS_SLOTS 7 >> > +#define TOTAL_FIX_BTMAPS (NR_FIX_BTMAPS * FIX_BTMAPS_SLOTS) >> > +#define FIX_BTMAP_END

Re: [PATCH v4 4/6] arm: add early_ioremap support

2014-02-26 Thread Mark Salter
On Tue, 2014-02-25 at 23:48 -0600, Rob Herring wrote: > > +#define NR_FIX_BTMAPS 32 > > +#define FIX_BTMAPS_SLOTS 7 > > +#define TOTAL_FIX_BTMAPS (NR_FIX_BTMAPS * FIX_BTMAPS_SLOTS) > > +#define FIX_BTMAP_END FIX_KMAP_BEGIN > > +#define FIX_BTMAP_BEGIN

Re: [PATCH v4 4/6] arm: add early_ioremap support

2014-02-26 Thread Leif Lindholm
Hi Rob, Thanks for having a look. Since I'm at least partially responsible for the below, I'll respond before Mark wakes up. On Tue, Feb 25, 2014 at 11:48:19PM -0600, Rob Herring wrote: > On Wed, Feb 12, 2014 at 2:56 PM, Mark Salter wrote: > > This patch uses the generic early_ioremap code to

Re: [PATCH v4 4/6] arm: add early_ioremap support

2014-02-26 Thread Leif Lindholm
Hi Rob, Thanks for having a look. Since I'm at least partially responsible for the below, I'll respond before Mark wakes up. On Tue, Feb 25, 2014 at 11:48:19PM -0600, Rob Herring wrote: On Wed, Feb 12, 2014 at 2:56 PM, Mark Salter msal...@redhat.com wrote: This patch uses the generic

Re: [PATCH v4 4/6] arm: add early_ioremap support

2014-02-26 Thread Mark Salter
On Tue, 2014-02-25 at 23:48 -0600, Rob Herring wrote: +#define NR_FIX_BTMAPS 32 +#define FIX_BTMAPS_SLOTS 7 +#define TOTAL_FIX_BTMAPS (NR_FIX_BTMAPS * FIX_BTMAPS_SLOTS) +#define FIX_BTMAP_END FIX_KMAP_BEGIN +#define FIX_BTMAP_BEGIN

Re: [PATCH v4 4/6] arm: add early_ioremap support

2014-02-26 Thread Rob Herring
On Wed, Feb 26, 2014 at 8:59 AM, Mark Salter msal...@redhat.com wrote: On Tue, 2014-02-25 at 23:48 -0600, Rob Herring wrote: +#define NR_FIX_BTMAPS 32 +#define FIX_BTMAPS_SLOTS 7 +#define TOTAL_FIX_BTMAPS (NR_FIX_BTMAPS * FIX_BTMAPS_SLOTS) +#define FIX_BTMAP_END

Re: [PATCH v4 4/6] arm: add early_ioremap support

2014-02-25 Thread Rob Herring
On Wed, Feb 12, 2014 at 2:56 PM, Mark Salter wrote: > This patch uses the generic early_ioremap code to implement > early_ioremap for ARM. The ARM-specific bits come mostly from > an earlier patch from Leif Lindholm > here: This doesn't actually work for me. The PTE flags are not correct and

Re: [PATCH v4 4/6] arm: add early_ioremap support

2014-02-25 Thread Rob Herring
On Wed, Feb 12, 2014 at 2:56 PM, Mark Salter msal...@redhat.com wrote: This patch uses the generic early_ioremap code to implement early_ioremap for ARM. The ARM-specific bits come mostly from an earlier patch from Leif Lindholm leif.lindh...@linaro.org here: This doesn't actually work for

[PATCH v4 4/6] arm: add early_ioremap support

2014-02-12 Thread Mark Salter
This patch uses the generic early_ioremap code to implement early_ioremap for ARM. The ARM-specific bits come mostly from an earlier patch from Leif Lindholm here: https://lkml.org/lkml/2013/10/3/279 Signed-off-by: Mark Salter Tested-by: Leif Lindholm Acked-by: Catalin Marinas ---

[PATCH v4 4/6] arm: add early_ioremap support

2014-02-12 Thread Mark Salter
This patch uses the generic early_ioremap code to implement early_ioremap for ARM. The ARM-specific bits come mostly from an earlier patch from Leif Lindholm leif.lindh...@linaro.org here: https://lkml.org/lkml/2013/10/3/279 Signed-off-by: Mark Salter msal...@redhat.com Tested-by: Leif