Patchwork [GIT,PULL] pending DT patches and cleanup for map_io for v3.2 merge window

login
register
mail settings
Submitter Tony Lindgren
Date Oct. 24, 2011, 9:17 a.m.
Message ID <20111024091704.GF31337@atomide.com>
Download mbox
Permalink /patch/121302/
State New
Headers show

Pull-request

git://github.com/tmlind/linux.git sram-map-io

Comments

Tony Lindgren - Oct. 24, 2011, 9:17 a.m.
Arnd,

As discussed in the ARM kernel meeting yesterday, here's are
the pending omap things to pull for v3.2 merge window.

These would be nice to get still in as other people's work
such as Nico's map_io changes need #2 below.

1. Initial DT support posted few weeks ago

   Please see the earlier pull request at:

   http://lkml.org/lkml/2011/10/4/441

2. Cleanup for map_io posted few weeks ago

   This depends on the #1 above, and also requires
   the ioremap_exec patch. Russell said he has applied
   into devel-stable (But not pushed out yet?).

   When you have the ioremap_exec patch from Russell,
   please pull this from:

   git://github.com/tmlind/linux.git sram-map-io

   Pull request against #1 attached below.

Regards,

Tony


The following changes since commit 3ae3e253db7385238dd9d6c67c085afa3e770a56:
  Tony Lindgren (1):
        Merge branch 'for_3.2/3_omap_devicetree' of git://gitorious.org/omap-pm/linux into dt

are available in the git repository at:

  git://github.com/tmlind/linux.git sram-map-io

Tony Lindgren (6):
      ARM: OMAP1: Use generic map_io, init_early and init_irq
      ARM: OMAP: Avoid cpu_is_omapxxxx usage until map_io is done
      ARM: OMAP: Remove calls to SRAM allocations for framebuffer
      ARM: OMAP: Map SRAM later on with ioremap_exec()
      ARM: OMAP: Move set_globals initialization to happen in init_early
      ARM: OMAP: Warn if omap_ioremap is called before SoC detection

 arch/arm/mach-omap1/board-ams-delta.c    |   16 +---
 arch/arm/mach-omap1/board-fsample.c      |   76 +++++++++---------
 arch/arm/mach-omap1/board-generic.c      |   16 +---
 arch/arm/mach-omap1/board-h2.c           |   16 +---
 arch/arm/mach-omap1/board-h3.c           |   16 +---
 arch/arm/mach-omap1/board-htcherald.c    |   12 +--
 arch/arm/mach-omap1/board-innovator.c    |   36 ++++-----
 arch/arm/mach-omap1/board-nokia770.c     |   34 +++-----
 arch/arm/mach-omap1/board-osk.c          |   16 +---
 arch/arm/mach-omap1/board-palmte.c       |   16 +---
 arch/arm/mach-omap1/board-palmtt.c       |   16 +---
 arch/arm/mach-omap1/board-palmz71.c      |   18 +----
 arch/arm/mach-omap1/board-perseus2.c     |   75 +++++++++---------
 arch/arm/mach-omap1/board-sx1.c          |   17 +---
 arch/arm/mach-omap1/board-voiceblue.c    |   16 +---
 arch/arm/mach-omap1/devices.c            |    3 +
 arch/arm/mach-omap1/io.c                 |   57 ++++++--------
 arch/arm/mach-omap2/board-omap3beagle.c  |    7 +--
 arch/arm/mach-omap2/board-ti8168evm.c    |    1 -
 arch/arm/mach-omap2/common.c             |   50 ++++++------
 arch/arm/mach-omap2/control.c            |   16 +---
 arch/arm/mach-omap2/io.c                 |  127 +++++++++++++++---------------
 arch/arm/mach-omap2/io.h                 |    7 --
 arch/arm/mach-omap2/omap-smp.c           |    7 +-
 arch/arm/mach-omap2/prcm.c               |   19 ++---
 arch/arm/mach-omap2/sdrc.c               |   13 +--
 arch/arm/plat-omap/include/plat/common.h |   17 +++--
 arch/arm/plat-omap/include/plat/io.h     |   29 ++++++-
 arch/arm/plat-omap/io.c                  |   10 +++
 arch/arm/plat-omap/sram.c                |   85 +++++---------------
 30 files changed, 335 insertions(+), 509 deletions(-)
Tony Lindgren - Oct. 28, 2011, 9:39 a.m.
* Tony Lindgren <tony@atomide.com> [111024 10:42]:
> Arnd,
> 
> As discussed in the ARM kernel meeting yesterday, here's are
> the pending omap things to pull for v3.2 merge window.
> 
> These would be nice to get still in as other people's work
> such as Nico's map_io changes need #2 below.
> 
> 1. Initial DT support posted few weeks ago
> 
>    Please see the earlier pull request at:
> 
>    http://lkml.org/lkml/2011/10/4/441
> 
> 2. Cleanup for map_io posted few weeks ago
> 
>    This depends on the #1 above, and also requires
>    the ioremap_exec patch. Russell said he has applied
>    into devel-stable (But not pushed out yet?).
> 
>    When you have the ioremap_exec patch from Russell,
>    please pull this from:
> 
>    git://github.com/tmlind/linux.git sram-map-io

FYI, the ioremap_exec patch seems is available as commit
6c5482d53f195d3ca61c9ec1be25b0f4a92575fe (ARM: 7129/1:
Add __arm_ioremap_exec for mapping external memory)
in Russell's for-linus branch.
 
>    Pull request against #1 attached below.
> 
> Regards,
> 
> Tony
> 
> 
> The following changes since commit 3ae3e253db7385238dd9d6c67c085afa3e770a56:
>   Tony Lindgren (1):
>         Merge branch 'for_3.2/3_omap_devicetree' of git://gitorious.org/omap-pm/linux into dt
> 
> are available in the git repository at:
> 
>   git://github.com/tmlind/linux.git sram-map-io
> 
> Tony Lindgren (6):
>       ARM: OMAP1: Use generic map_io, init_early and init_irq
>       ARM: OMAP: Avoid cpu_is_omapxxxx usage until map_io is done
>       ARM: OMAP: Remove calls to SRAM allocations for framebuffer
>       ARM: OMAP: Map SRAM later on with ioremap_exec()
>       ARM: OMAP: Move set_globals initialization to happen in init_early
>       ARM: OMAP: Warn if omap_ioremap is called before SoC detection
> 
>  arch/arm/mach-omap1/board-ams-delta.c    |   16 +---
>  arch/arm/mach-omap1/board-fsample.c      |   76 +++++++++---------
>  arch/arm/mach-omap1/board-generic.c      |   16 +---
>  arch/arm/mach-omap1/board-h2.c           |   16 +---
>  arch/arm/mach-omap1/board-h3.c           |   16 +---
>  arch/arm/mach-omap1/board-htcherald.c    |   12 +--
>  arch/arm/mach-omap1/board-innovator.c    |   36 ++++-----
>  arch/arm/mach-omap1/board-nokia770.c     |   34 +++-----
>  arch/arm/mach-omap1/board-osk.c          |   16 +---
>  arch/arm/mach-omap1/board-palmte.c       |   16 +---
>  arch/arm/mach-omap1/board-palmtt.c       |   16 +---
>  arch/arm/mach-omap1/board-palmz71.c      |   18 +----
>  arch/arm/mach-omap1/board-perseus2.c     |   75 +++++++++---------
>  arch/arm/mach-omap1/board-sx1.c          |   17 +---
>  arch/arm/mach-omap1/board-voiceblue.c    |   16 +---
>  arch/arm/mach-omap1/devices.c            |    3 +
>  arch/arm/mach-omap1/io.c                 |   57 ++++++--------
>  arch/arm/mach-omap2/board-omap3beagle.c  |    7 +--
>  arch/arm/mach-omap2/board-ti8168evm.c    |    1 -
>  arch/arm/mach-omap2/common.c             |   50 ++++++------
>  arch/arm/mach-omap2/control.c            |   16 +---
>  arch/arm/mach-omap2/io.c                 |  127 +++++++++++++++---------------
>  arch/arm/mach-omap2/io.h                 |    7 --
>  arch/arm/mach-omap2/omap-smp.c           |    7 +-
>  arch/arm/mach-omap2/prcm.c               |   19 ++---
>  arch/arm/mach-omap2/sdrc.c               |   13 +--
>  arch/arm/plat-omap/include/plat/common.h |   17 +++--
>  arch/arm/plat-omap/include/plat/io.h     |   29 ++++++-
>  arch/arm/plat-omap/io.c                  |   10 +++
>  arch/arm/plat-omap/sram.c                |   85 +++++---------------
>  30 files changed, 335 insertions(+), 509 deletions(-)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Russell King - ARM Linux - Oct. 28, 2011, 10:09 a.m.
On Fri, Oct 28, 2011 at 11:39:21AM +0200, Tony Lindgren wrote:
> FYI, the ioremap_exec patch seems is available as commit
> 6c5482d53f195d3ca61c9ec1be25b0f4a92575fe (ARM: 7129/1:
> Add __arm_ioremap_exec for mapping external memory)
> in Russell's for-linus branch.

And is in mainline.
Arnd Bergmann - Oct. 30, 2011, 11:39 p.m.
On Monday 24 October 2011, Tony Lindgren wrote:
> As discussed in the ARM kernel meeting yesterday, here's are
> the pending omap things to pull for v3.2 merge window.

Hi Tony,

I finally got to pull these.

> These would be nice to get still in as other people's work
> such as Nico's map_io changes need #2 below.
> 
> 1. Initial DT support posted few weeks ago
> 
>    Please see the earlier pull request at:
> 
>    http://lkml.org/lkml/2011/10/4/441

Looks good. I've missed this initially because I had not yet managed
to go through that mail thread (randconfig patches) again and pick
up the patches that got an Ack. The pull request was right in the
middle of 100 other unread emails...

> 2. Cleanup for map_io posted few weeks ago
> 
>    This depends on the #1 above, and also requires
>    the ioremap_exec patch. Russell said he has applied
>    into devel-stable (But not pushed out yet?).
> 
>    When you have the ioremap_exec patch from Russell,
>    please pull this from:
> 
>    git://github.com/tmlind/linux.git sram-map-io
> 
>    Pull request against #1 attached below.

This had systematic but trivial conflicts against the memory.h
series, which I fixed up. There was also a conflict with 009426a0e
"ARM: omap: Setup consistent dma size at boot time" from Tixy.
That patch added a call to omap_init_consistent_dma_size in a function
that you removed. I have resolved the conflict by adding that call to
omap1_init_early and omap_common_init_early, but I have no idea if that
is a correct resolution. Please check.

	Arnd

	Arnd
Tony Lindgren - Nov. 1, 2011, 5 p.m.
* Arnd Bergmann <arnd@arndb.de> [111030 16:05]:
> On Monday 24 October 2011, Tony Lindgren wrote:
> > As discussed in the ARM kernel meeting yesterday, here's are
> > the pending omap things to pull for v3.2 merge window.
> 
> Hi Tony,
> 
> I finally got to pull these.

Great, thanks.
 
> > These would be nice to get still in as other people's work
> > such as Nico's map_io changes need #2 below.
> > 
> > 1. Initial DT support posted few weeks ago
> > 
> >    Please see the earlier pull request at:
> > 
> >    http://lkml.org/lkml/2011/10/4/441
> 
> Looks good. I've missed this initially because I had not yet managed
> to go through that mail thread (randconfig patches) again and pick
> up the patches that got an Ack. The pull request was right in the
> middle of 100 other unread emails...

I guess it's not a good idea to reply with a pull request, have to
remember to keep them separate..
 
> > 2. Cleanup for map_io posted few weeks ago
> > 
> >    This depends on the #1 above, and also requires
> >    the ioremap_exec patch. Russell said he has applied
> >    into devel-stable (But not pushed out yet?).
> > 
> >    When you have the ioremap_exec patch from Russell,
> >    please pull this from:
> > 
> >    git://github.com/tmlind/linux.git sram-map-io
> > 
> >    Pull request against #1 attached below.
> 
> This had systematic but trivial conflicts against the memory.h
> series, which I fixed up. There was also a conflict with 009426a0e
> "ARM: omap: Setup consistent dma size at boot time" from Tixy.
> That patch added a call to omap_init_consistent_dma_size in a function
> that you removed. I have resolved the conflict by adding that call to
> omap1_init_early and omap_common_init_early, but I have no idea if that
> is a correct resolution. Please check.

Thanks, looks good and still boots on the machines I tested.

Regards,

Tony