linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Add ioremap_exec enhancements
@ 2014-11-26 21:13 Dave Gerlach
  2014-11-26 21:14 ` [RFC PATCH 1/2] asm-generic: io: Add exec versions of ioremap Dave Gerlach
  2014-11-26 21:14 ` [RFC PATCH 2/2] lib: devres: Add exec versions of devm_ioremap_resource and friends Dave Gerlach
  0 siblings, 2 replies; 5+ messages in thread
From: Dave Gerlach @ 2014-11-26 21:13 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

Some platforms need the ability to ioremap memory for use with small
chunks of code, like in certain PM applications that run from sram.

This series provides a common way to call an arch's ioremap_exec, which
currently only exists for ARM, so that we can use it in the generic
sram driver in a forthcoming patch.

This patch is part of a patch series split into several smaller sets
for introducing suspend on AM335x. I plan to use it to copy several
pieces of ASM code from an EMIF driver and the SoC PM code to run from
SRAM on the SoC. I have pushed a branch here [1] based on v3.18-rc6
with all required patches so that the higher level plan for these
patches can be seen.

Regards,
Dave

[1] https://github.com/dgerlach/linux-pm/tree/rfc-pm-am335x-v3.18-rc6

Russ Dill (2):
  asm-generic: io: Add exec versions of ioremap
  lib: devres: Add exec versions of devm_ioremap_resource and friends

 arch/arm/include/asm/io.h   |   2 +
 include/asm-generic/iomap.h |   5 ++
 include/linux/device.h      |  19 ++++++-
 include/linux/io.h          |   9 +++-
 lib/devres.c                | 125 ++++++++++++++++++++++++++++++++++++++++++--
 5 files changed, 154 insertions(+), 6 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-27  9:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-26 21:13 [RFC PATCH 0/2] Add ioremap_exec enhancements Dave Gerlach
2014-11-26 21:14 ` [RFC PATCH 1/2] asm-generic: io: Add exec versions of ioremap Dave Gerlach
2014-11-26 21:32   ` Arnd Bergmann
2014-11-26 21:14 ` [RFC PATCH 2/2] lib: devres: Add exec versions of devm_ioremap_resource and friends Dave Gerlach
2014-11-27  9:41   ` Geert Uytterhoeven

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).