Generic Linux architectural discussions
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Generalize fncpy availability
@ 2017-06-16 21:28 Florian Fainelli
  2017-06-16 21:28 ` Florian Fainelli
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Florian Fainelli @ 2017-06-16 21:28 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: bcm-kernel-feedback-list, Florian Fainelli, Russell King,
	Catalin Marinas, Will Deacon, Arnd Bergmann, Greg Kroah-Hartman,
	open list, open list:GENERIC INCLUDE/ASM HEADER FILES,
	Dave Gerlach, Tony Lindgren, Keerthy J, Alexandre Belloni,
	linux-omap, Shawn Guo

Hi all,

This patch series makes ARM's fncpy() implementation more generic (dropping the
Thumb-specifics) and available in an asm-generic header file.

Tested on a Broadcom ARM64 STB platform with code that is written to SRAM.

Changes in v2:
- leave the ARM implementation where it is
- make the generic truly generic (no)

This is helpful in making SoC-specific power management code become true drivers
that can be shared between different architectures.

Thanks!

Florian Fainelli (4):
  ARM: fncpy: Rename include guards
  asm-generic: Provide a fncpy() implementation
  arm64: Provide a fncpy implementation
  misc: sram: Allow ARM64 to select SRAM_EXEC

 arch/arm/include/asm/fncpy.h   |  6 +--
 arch/arm64/include/asm/fncpy.h |  6 +++
 drivers/misc/Kconfig           |  2 +-
 include/asm-generic/fncpy.h    | 93 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 103 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm64/include/asm/fncpy.h
 create mode 100644 include/asm-generic/fncpy.h

-- 
2.9.3

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

end of thread, other threads:[~2017-06-16 21:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-16 21:28 [PATCH v2 0/4] Generalize fncpy availability Florian Fainelli
2017-06-16 21:28 ` Florian Fainelli
2017-06-16 21:28 ` [PATCH v2 1/4] ARM: fncpy: Rename include guards Florian Fainelli
2017-06-16 21:28   ` Florian Fainelli
2017-06-16 21:28 ` [PATCH v2 2/4] asm-generic: Provide a fncpy() implementation Florian Fainelli
2017-06-16 21:28   ` Florian Fainelli
2017-06-16 21:28 ` [PATCH v2 3/4] arm64: Provide a fncpy implementation Florian Fainelli
2017-06-16 21:28   ` Florian Fainelli
2017-06-16 21:28 ` [PATCH v2 4/4] misc: sram: Allow ARM64 to select SRAM_EXEC Florian Fainelli
2017-06-16 21:28   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox