mbox series

[GIT,PULL] Renesas ARM Based SoC Defconfig Updates for v4.19

Message ID cover.1532086504.git.horms+renesas@verge.net.au
State New
Headers show
Series [GIT,PULL] Renesas ARM Based SoC Defconfig Updates for v4.19 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-arm-defconfig-for-v4.19

Message

Simon Horman July 20, 2018, 12:03 p.m. UTC
Hi Olof, Hi Kevin, Hi Arnd,

Please consider these Renesas ARM based SoC defconfig updates for v4.19.


The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40:

  Linux 4.18-rc1 (2018-06-17 08:04:49 +0900)

are available in the git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-arm-defconfig-for-v4.19

for you to fetch changes up to e82c98d0448c60706a8024d460eadb9d7402dcba:

  ARM: multi_v7_defconfig: Enable support for RZN1D-DB (2018-07-13 10:15:20 +0200)

----------------------------------------------------------------
Renesas ARM Based SoC Defconfig Updates for v4.19

multi_v7_defconfig and shmobile_defconfig Enhancement:

* Enable support for recently upstreamed RZN1D-DB board
  in multi_v7_defconfig and shmobile_defconfig. This is
  to give better test coverage.

shmobile_defconfig Clean-Up:

* Drop NET_VENDOR_<FOO>=n

  This reduces the size of the defconfig without any change in the
  resulting kernel config.

shmobile_defconfig Enhancements:

* Set CONFIG_LOCALVERSION to shmobile_defconfig

  This follows what appears to be common practice in defconfigs
  and allows easier management of the kernel flavour at run-time.

* Disable long deprecated /sbin/hotplug helper

* Enable reset controller support

  This is to give better test coverage.
  This may be used by reset controller support in the Renesas CPG/MSSR
  driver when used by R-Car Gen2 and RZ/G1 SoCs.

* Enable MTD command line partition parsing

  This is in preparation for removing MTD partitioning from the DTs.
  The arguments for moving partition information from DT to the command
  line are:
  - Partitions do not describe the hardware itself
  - Using the command line offers greater flexibility

----------------------------------------------------------------
Geert Uytterhoeven (6):
      ARM: shmobile: defconfig: Drop NET_VENDOR_<FOO>=n
      ARM: shmobile: defconfig: Enable reset controller support
      ARM: shmobile: defconfig: Enable support for RZN1D-DB
      ARM: shmobile: defconfig: Disable /sbin/hotplug fork-bomb
      ARM: shmobile: defconfig: Set CONFIG_LOCALVERSION
      ARM: multi_v7_defconfig: Enable support for RZN1D-DB

Marek Vasut (1):
      ARM: shmobile: defconfig: Enable MTD command line partition parsing

 arch/arm/configs/multi_v7_defconfig |  1 +
 arch/arm/configs/shmobile_defconfig | 19 +++++--------------
 2 files changed, 6 insertions(+), 14 deletions(-)

Comments

Olof Johansson July 21, 2018, 10:03 p.m. UTC | #1
On Fri, Jul 20, 2018 at 02:03:54PM +0200, Simon Horman wrote:
> Hi Olof, Hi Kevin, Hi Arnd,
> 
> Please consider these Renesas ARM based SoC defconfig updates for v4.19.
> 
> 
> The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40:
> 
>   Linux 4.18-rc1 (2018-06-17 08:04:49 +0900)
> 
> are available in the git repository at:
> 
>   https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-arm-defconfig-for-v4.19
> 
> for you to fetch changes up to e82c98d0448c60706a8024d460eadb9d7402dcba:
> 
>   ARM: multi_v7_defconfig: Enable support for RZN1D-DB (2018-07-13 10:15:20 +0200)
> 
> ----------------------------------------------------------------
> Renesas ARM Based SoC Defconfig Updates for v4.19
> 
> multi_v7_defconfig and shmobile_defconfig Enhancement:
> 
> * Enable support for recently upstreamed RZN1D-DB board
>   in multi_v7_defconfig and shmobile_defconfig. This is
>   to give better test coverage.
> 
> shmobile_defconfig Clean-Up:
> 
> * Drop NET_VENDOR_<FOO>=n
> 
>   This reduces the size of the defconfig without any change in the
>   resulting kernel config.
> 
> shmobile_defconfig Enhancements:
> 
> * Set CONFIG_LOCALVERSION to shmobile_defconfig
> 
>   This follows what appears to be common practice in defconfigs
>   and allows easier management of the kernel flavour at run-time.

I replied to the multi-versions of defconfig for this patch -- it's not a good
way to solve the problem of detecting config at runtime. Please drop this
patch. See:

https://lore.kernel.org/lkml/CAOesGMgkU6yBRpAsED2fPyuAo9Tc=YprndGdkmBVrc+0783VwQ@mail.gmail.com/


-Olof
Geert Uytterhoeven July 23, 2018, 9:11 a.m. UTC | #2
Hi Olof,

On Sun, Jul 22, 2018 at 12:27 AM Olof Johansson <olof@lixom.net> wrote:
> On Fri, Jul 20, 2018 at 02:03:54PM +0200, Simon Horman wrote:
> > Please consider these Renesas ARM based SoC defconfig updates for v4.19.

> > * Set CONFIG_LOCALVERSION to shmobile_defconfig
> >
> >   This follows what appears to be common practice in defconfigs
> >   and allows easier management of the kernel flavour at run-time.
>
> I replied to the multi-versions of defconfig for this patch -- it's not a good
> way to solve the problem of detecting config at runtime. Please drop this
> patch. See:
>
> https://lore.kernel.org/lkml/CAOesGMgkU6yBRpAsED2fPyuAo9Tc=YprndGdkmBVrc+0783VwQ@mail.gmail.com/

One more comment to the rescue: it does complicate regression testing,
as the test software running on the DUT has no easy way to distinguish
between e.g. shmobile_defconfig and multi_v7_defconfig (and whatever
other board-specific configs I use for testing).
Yes, I can have these as local patches in my tree (of course I already have ;-),
but when bisecting, I have to remember to (un)apply them in every step.

Thanks!

Gr{oetje,eeting}s,

                        Geert
Simon Horman July 23, 2018, 11:17 a.m. UTC | #3
On Sat, Jul 21, 2018 at 03:03:43PM -0700, Olof Johansson wrote:
> On Fri, Jul 20, 2018 at 02:03:54PM +0200, Simon Horman wrote:
> > Hi Olof, Hi Kevin, Hi Arnd,
> > 
> > Please consider these Renesas ARM based SoC defconfig updates for v4.19.
> > 
> > 
> > The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40:
> > 
> >   Linux 4.18-rc1 (2018-06-17 08:04:49 +0900)
> > 
> > are available in the git repository at:
> > 
> >   https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-arm-defconfig-for-v4.19
> > 
> > for you to fetch changes up to e82c98d0448c60706a8024d460eadb9d7402dcba:
> > 
> >   ARM: multi_v7_defconfig: Enable support for RZN1D-DB (2018-07-13 10:15:20 +0200)
> > 
> > ----------------------------------------------------------------
> > Renesas ARM Based SoC Defconfig Updates for v4.19
> > 
> > multi_v7_defconfig and shmobile_defconfig Enhancement:
> > 
> > * Enable support for recently upstreamed RZN1D-DB board
> >   in multi_v7_defconfig and shmobile_defconfig. This is
> >   to give better test coverage.
> > 
> > shmobile_defconfig Clean-Up:
> > 
> > * Drop NET_VENDOR_<FOO>=n
> > 
> >   This reduces the size of the defconfig without any change in the
> >   resulting kernel config.
> > 
> > shmobile_defconfig Enhancements:
> > 
> > * Set CONFIG_LOCALVERSION to shmobile_defconfig
> > 
> >   This follows what appears to be common practice in defconfigs
> >   and allows easier management of the kernel flavour at run-time.
> 
> I replied to the multi-versions of defconfig for this patch -- it's not a good
> way to solve the problem of detecting config at runtime. Please drop this
> patch. See:
> 
> https://lore.kernel.org/lkml/CAOesGMgkU6yBRpAsED2fPyuAo9Tc=YprndGdkmBVrc+0783VwQ@mail.gmail.com/

Thanks, I'll repost this pull-request with that patch dropped.
Olof Johansson July 23, 2018, 4:22 p.m. UTC | #4
On Mon, Jul 23, 2018 at 2:11 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> Hi Olof,
>
> On Sun, Jul 22, 2018 at 12:27 AM Olof Johansson <olof@lixom.net> wrote:
>> On Fri, Jul 20, 2018 at 02:03:54PM +0200, Simon Horman wrote:
>> > Please consider these Renesas ARM based SoC defconfig updates for v4.19.
>
>> > * Set CONFIG_LOCALVERSION to shmobile_defconfig
>> >
>> >   This follows what appears to be common practice in defconfigs
>> >   and allows easier management of the kernel flavour at run-time.
>>
>> I replied to the multi-versions of defconfig for this patch -- it's not a good
>> way to solve the problem of detecting config at runtime. Please drop this
>> patch. See:
>>
>> https://lore.kernel.org/lkml/CAOesGMgkU6yBRpAsED2fPyuAo9Tc=YprndGdkmBVrc+0783VwQ@mail.gmail.com/
>
> One more comment to the rescue: it does complicate regression testing,
> as the test software running on the DUT has no easy way to distinguish
> between e.g. shmobile_defconfig and multi_v7_defconfig (and whatever
> other board-specific configs I use for testing).
> Yes, I can have these as local patches in my tree (of course I already have ;-),
> but when bisecting, I have to remember to (un)apply them in every step.

Hi,

It looks like scripts/setlocalversion will look for files named
localversion* in the directory you build in, git won't touch the file
so you don't have to re-apply it every time.

I do see the usefulness for bisect and so on, but there's such a high
chance that people will start changing configs without changing
localversion that the value of it will diminish immediately for
downstream trees. Also, the "local" in localversion sort of indicates
that it shouldn't be set in a central place. :)


-Olof
Geert Uytterhoeven July 23, 2018, 5:16 p.m. UTC | #5
Hi Olof,

On Mon, Jul 23, 2018 at 6:22 PM Olof Johansson <olof@lixom.net> wrote:
> On Mon, Jul 23, 2018 at 2:11 AM, Geert Uytterhoeven
> <geert@linux-m68k.org> wrote:
> >> > * Set CONFIG_LOCALVERSION to shmobile_defconfig
> >> >
> >> >   This follows what appears to be common practice in defconfigs
> >> >   and allows easier management of the kernel flavour at run-time.
> >>
> >> I replied to the multi-versions of defconfig for this patch -- it's not a good
> >> way to solve the problem of detecting config at runtime. Please drop this
> >> patch. See:
> >>
> >> https://lore.kernel.org/lkml/CAOesGMgkU6yBRpAsED2fPyuAo9Tc=YprndGdkmBVrc+0783VwQ@mail.gmail.com/
> >
> > One more comment to the rescue: it does complicate regression testing,
> > as the test software running on the DUT has no easy way to distinguish
> > between e.g. shmobile_defconfig and multi_v7_defconfig (and whatever
> > other board-specific configs I use for testing).
> > Yes, I can have these as local patches in my tree (of course I already have ;-),
> > but when bisecting, I have to remember to (un)apply them in every step.
>
> It looks like scripts/setlocalversion will look for files named
> localversion* in the directory you build in, git won't touch the file
> so you don't have to re-apply it every time.

Thanks a lot, works fine!
I didn't know about that; I started using CONFIG_LOCALVERSION during the
version control dark ages.

Since I use different output directories for different builds anyway, the
file won't ever be removed by git.

Gr{oetje,eeting}s,

                        Geert