From: elder@linaro.org (Alex Elder)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 00/10] ARM: bcm: SCM and L2 cache code cleanup
Date: Mon, 21 Apr 2014 16:53:01 -0500 [thread overview]
Message-ID: <1398117191-2433-1-git-send-email-elder@linaro.org> (raw)
This series cleans up a number of things in the code that issues
secure monitor ("smc") requests for the bcm281xx and bcm21664 SoC
families. This code is currently used only for enabling the level-2
cache.
There are some bug fixes and other improvements. An assembly
language file containing a single function has been eliminated by
re-implementing the code using inline assembly. Some comments have
been expanded and clarified. Kernel configuration options allow
finer-grained control over how this code gets built. Finally, the
"kona.c" and "kona.h" files are renamed to reflect the fact that
only contain code related to level-2 cache support.
This series is based on v3.15-rc2, and depends on one patch posted
previously:
[PATCH v4] mach-bcm: clean up config and build targets
https://lkml.org/lkml/2014/4/15/303
It is available here:
http://git.linaro.org/landing-teams/working/broadcom/kernel.git
Branch review/bcm-smc-cleanup-v2
-Alex
History:
v2: - Followed two suggestions from Russell King. Rebased to v3.15-rc2
Alex Elder (10):
ARM: bcm: use memory accessors for ioremapped area
ARM: bcm: err, don't BUG() on SMC init failures
ARM: bcm: clean up SMC code
ARM: bcm: have bcm_kona_smc() return request result
ARM: bcm: don't special-case CPU 0 in bcm_kona_smc()
ARM: bcm: config option for l2 cache support
ARM: bcm: tidy up a few includes
ARM: bcm: use inline assembly for "smc" request
ARM: bcm: rewrite commentary for bcm_kona_do_smc()
ARM: bcm: rename "kona.h" and "kona.c"
arch/arm/mach-bcm/Kconfig | 12 ++-
arch/arm/mach-bcm/Makefile | 10 +-
arch/arm/mach-bcm/bcm_kona_smc.c | 136 +++++++++++++++++++-------
arch/arm/mach-bcm/bcm_kona_smc.h | 52 +---------
arch/arm/mach-bcm/bcm_kona_smc_asm.S | 41 --------
arch/arm/mach-bcm/board_bcm21664.c | 5 +-
arch/arm/mach-bcm/board_bcm281xx.c | 2 +-
arch/arm/mach-bcm/{kona.c => kona_l2_cache.c} | 16 +--
arch/arm/mach-bcm/{kona.h => kona_l2_cache.h} | 6 +-
9 files changed, 136 insertions(+), 144 deletions(-)
delete mode 100644 arch/arm/mach-bcm/bcm_kona_smc_asm.S
rename arch/arm/mach-bcm/{kona.c => kona_l2_cache.c} (80%)
rename arch/arm/mach-bcm/{kona.h => kona_l2_cache.h} (80%)
--
1.9.1
next reply other threads:[~2014-04-21 21:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-21 21:53 Alex Elder [this message]
2014-04-21 21:53 ` [PATCH v2 01/10] ARM: bcm: use memory accessors for ioremapped area Alex Elder
2014-04-21 21:53 ` [PATCH v2 02/10] ARM: bcm: err, don't BUG() on SMC init failures Alex Elder
2014-04-21 21:53 ` [PATCH v2 03/10] ARM: bcm: clean up SMC code Alex Elder
2014-04-21 21:53 ` [PATCH v2 04/10] ARM: bcm: have bcm_kona_smc() return request result Alex Elder
2014-04-21 21:53 ` [PATCH v2 05/10] ARM: bcm: don't special-case CPU 0 in bcm_kona_smc() Alex Elder
2014-04-21 21:53 ` [PATCH v2 06/10] ARM: bcm: config option for l2 cache support Alex Elder
2014-04-21 21:53 ` [PATCH v2 07/10] ARM: bcm: tidy up a few includes Alex Elder
2014-04-21 21:53 ` [PATCH v2 08/10] ARM: bcm: use inline assembly for "smc" request Alex Elder
2014-04-21 21:53 ` [PATCH v2 09/10] ARM: bcm: rewrite commentary for bcm_kona_do_smc() Alex Elder
2014-04-21 21:53 ` [PATCH v2 10/10] ARM: bcm: rename "kona.h" and "kona.c" Alex Elder
2014-04-25 13:51 ` [PATCH v2 00/10] ARM: bcm: SCM and L2 cache code cleanup Matt Porter
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=1398117191-2433-1-git-send-email-elder@linaro.org \
--to=elder@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).