Re: [PATCH 3.18 00/68] 3.18.52-stable review

From: Alexandre Belloni
Date: Wed May 31 2017 - 15:47:53 EST


Hi,

On 08/05/2017 at 11:13:51 -0700, Kevin Hilman wrote:
> + relevant soc/board maintainers
>
> kernelci.org bot <bot@xxxxxxxxxxxx> writes:
>
> > stable-rc/linux-3.18.y boot: 77 boots: 2 failed, 75 passed (v3.18.51-69-gdab3331ef5e9)
> >
> > Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-3.18.y/kernel/v3.18.51-69-gdab3331ef5e9/
> > Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-3.18.y/kernel/v3.18.51-69-gdab3331ef5e9/
> >
> > Tree: stable-rc
> > Branch: linux-3.18.y
> > Git Describe: v3.18.51-69-gdab3331ef5e9
> > Git Commit: dab3331ef5e9aa7d0fa3a88776051028c2f1ed20
> > Git URL: http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> > Tested: 14 unique boards, 8 SoC families, 20 builds out of 204
> >
> > Boot Failures Detected:
> >
> > arm:
> >
> > at91_dt_defconfig
> > at91sam9261ek: 1 failed lab
>
> Alexandre, can you have a look at this one?
>

Ok, I had a close look at it today. This will simply not work in 3.18,
the at91sam9261ek was fully supported using a board file and partially
supported using a device tree. The USB gadget driver will not work using
device tree on 3.18.

There are multiple solutions:
- Stop trying to boot kernels before v4.0 using DT on at91sam9 boards
- Add a quick fix to ioremap the matrix when using DT.
- Backport 20 or so patches to v3.18

I would personally go for the first solution as there is probably not
much interest in v3.18 on that board.

--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com