From: Florian Fainelli <f.fainelli@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Cc: bcm-kernel-feedback-list@broadcom.com,
Florian Fainelli <f.fainelli@gmail.com>,
Russell King <linux@armlinux.org.uk>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will.deacon@arm.com>, Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
open list <linux-kernel@vger.kernel.org>,
"open list:GENERIC INCLUDE/ASM HEADER FILES"
<linux-arch@vger.kernel.org>, Dave Gerlach <d-gerlach@ti.com>,
Tony Lindgren <tony@atomide.com>, Keerthy J <j-keerthy@ti.com>,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
linux-omap@vger.kernel.org, Shawn Guo <shawnguo@kernel.org>
Subject: [PATCH v2 0/4] Generalize fncpy availability
Date: Fri, 16 Jun 2017 14:28:04 -0700 [thread overview]
Message-ID: <20170616212808.19073-1-f.fainelli@gmail.com> (raw)
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
next reply other threads:[~2017-06-16 21:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-16 21:28 Florian Fainelli [this message]
2017-06-16 21:28 ` [PATCH v2 0/4] Generalize fncpy availability 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170616212808.19073-1-f.fainelli@gmail.com \
--to=f.fainelli@gmail.com \
--cc=alexandre.belloni@free-electrons.com \
--cc=arnd@arndb.de \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=catalin.marinas@arm.com \
--cc=d-gerlach@ti.com \
--cc=gregkh@linuxfoundation.org \
--cc=j-keerthy@ti.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=shawnguo@kernel.org \
--cc=tony@atomide.com \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox