Skip to content

ARM: bcm: SCM and L2 cache code cleanup

Alex Elder linux-arm-kernel lkml 2 versions – Applied

Status from this message: Applied the series to mach-bcm for-3.16/cleanup

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 1 replyApplied
  2. v110 patches 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/10ARM: bcm: use memory accessors for ioremapped areaarch/arm/mach-bcm/bcm_kona_smc.c+5 -50 replies
2/10ARM: bcm: err, don't BUG() on SMC init failuresarch/arm/mach-bcm/bcm_kona_smc.c+10 -40 replies
3/10ARM: bcm: clean up SMC codearch/arm/mach-bcm/bcm_kona_smc.c arch/arm/mach-bcm/bcm_kona_smc.h+24 -670 replies
4/10ARM: bcm: have bcm_kona_smc() return request resultarch/arm/mach-bcm/bcm_kona_smc.c arch/arm/mach-bcm/kona.c+12 -80 replies
5/10ARM: bcm: don't special-case CPU 0 in bcm_kona_smc()arch/arm/mach-bcm/bcm_kona_smc.c+1 -60 replies
6/10ARM: bcm: config option for l2 cache supportarch/arm/mach-bcm/Kconfig arch/arm/mach-bcm/Makefile arch/arm/mach-bcm/kona.c +1 more+20 -50 replies
7/10ARM: bcm: tidy up a few includesarch/arm/mach-bcm/board_bcm21664.c arch/arm/mach-bcm/kona.c arch/arm/mach-bcm/kona.h+5 -60 replies
8/10ARM: bcm: use inline assembly for "smc" requestarch/arm/mach-bcm/Makefile arch/arm/mach-bcm/bcm_kona_smc.c arch/arm/mach-bcm/bcm_kona_smc.h +1 more+49 -510 replies
9/10ARM: bcm: rewrite commentary for bcm_kona_do_smc()arch/arm/mach-bcm/bcm_kona_smc.c+28 -100 replies
10/10ARM: bcm: rename "kona.h" and "kona.c"arch/arm/mach-bcm/Makefile arch/arm/mach-bcm/board_bcm21664.c arch/arm/mach-bcm/board_bcm281xx.c +2 more+3 -30 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchTim KrygerMarkus MayerMatt Porter
1/10R-b R-b R-b
2/10R-b R-b R-b
3/10R-b R-b R-b
4/10R-b R-b R-b
5/10R-b R-b R-b
6/10R-b R-b R-b
7/10R-b
8/10R-b R-b R-b
9/10R-b R-b R-b
10/10R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/10] ARM: bcm: SCM and L2 cache code cleanup

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%)
Signature · 1 line
1.9.1