Skip to content

ARM: shmobile: Add early debugging support using SCIF(A)

Arnd Bergmann linux-arm-kernel linux-sh 2 versions – New

Get series with b4
b4 am 1602253.050FQygs2a@wuerfel

Versions newest first · linked by author and title

  1. v4 Latest0 of 2 patches 0 repliesNew
  2. v11 patch 0 repliesSuperseded

Patches in v4 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchArnd Bergmann
SeriesA-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] ARM: shmobile: Add early debugging support using SCIF(A)
Quoted 16 lines · On Friday 14 November 2014 16:49:45 Geert Uytterhoeven wrote:

Hi Simon, Magnus, Arnd,

This patch series adds serial port debug macros for the SCIF(A) serial ports. This includes all supported shmobile SoCs, except for EMEV2.

It contains 2 patches, which are two alternative versions:
- The first patch keeps on using the identity mapping set up by .map_io() on platforms I cannot test myself (sh7372 and r8a7779),
- The second one converts the remaining platforms to use debug_ll_io_init(), which allowed to get rid of the #ifdef in renesas-scif.S, and consolidate more config options.

Both versions work fine on r8a7791/koelsch (multiplatform), r8a7740/armadillo (legacy and reference), and sh73a0/kzm9g (legacy, reference, and multiplatform), also with a multiplatform kernel based on shmobile_defconfig.

Quoted 5 lines

I'd appreciate if you could test the second one on sh7372 and r8a7779, and if it works, apply it.

Else, please apply the first version. We can do incremental conversions later, as discussed before.

Both versions look good to me,

I do notice that strictly speaking you break alphabetical ordering by putting DEBUG_R8A* and DEBUG_RCAR* after DEBUG_RK*, but it does seem way more reasonable like this.

Arnd