All of lore.kernel.org
 help / color / mirror / Atom feed
From: biju.das@bp.renesas.com (Biju Das)
To: cip-dev@lists.cip-project.org
Subject: [cip-dev] Linux 4.4.126-cip22
Date: Wed, 2 May 2018 11:57:57 +0000	[thread overview]
Message-ID: <OSBPR01MB210351466FB6BAFF9EB81977B8800@OSBPR01MB2103.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <b552bb6e-df2a-9a0d-3f24-430435886246@monom.org>

Hi Daniel,

> -----Original Message-----
> From: Daniel Wagner [mailto:wagi at monom.org]
> Sent: 02 May 2018 07:36
> To: Biju Das <biju.das@bp.renesas.com>
> Cc: Chris Paterson <Chris.Paterson2@renesas.com>; Fabrizio Castro
> <fabrizio.castro@bp.renesas.com>; Ben Hutchings
> <ben.hutchings@codethink.co.uk>; cip-dev at lists.cip-project.org
> Subject: Re: [cip-dev] Linux 4.4.126-cip22
>
> Good Morning Biju,
>
> On 04/30/2018 12:18 PM, Biju Das wrote:
> > Hi Daniel,
> >
> > We are trying to figure out the kernel defconfig  used for this build error.
>
> Great!
> >  From the logs you have provided, I am not able to locate
> "CONFIG_SERIAL_SH_SCI=m" in any of cip kernel config file for x86 (branch:-
> v4.4.126-cip22).
> >
> > We planned to enable some more  kernel-config option in shmobile
> defconfig (for eg:- CAN,SGTL5000 etc..) in future.
> >
> > We would like to avoid the build error like the below one in future. So can
> you please help us in locating the defconfig file?
>
> I got this by triggering the CI build on [1]. Though from the report I'd say it
> was triggered by running allmodconfig on x86_64.
>
>
> Let's try it on x85_64:
>
> $ make O=/tmp/build-test allmodconfig
> $ grep CONFIG_SERIAL_SH_SCI /tmp/build-test/.config
> CONFIG_SERIAL_SH_SCI=m
> CONFIG_SERIAL_SH_SCI_NR_UARTS=2
> CONFIG_SERIAL_SH_SCI_DMA=y
>
>
> On ARM I get the same:
>
> $ CROSS_COMPILE=arm-linux-gnu- make ARCH=arm O=/tmp/build-test
> allmodconfig $ grep CONFIG_SERIAL_SH_SCI /tmp/build-test/.config
> CONFIG_SERIAL_SH_SCI=m
> CONFIG_SERIAL_SH_SCI_NR_UARTS=2
> CONFIG_SERIAL_SH_SCI_DMA=y
>
>
> And now for shmobile_defconfig:
>
> $ CROSS_COMPILE=arm-linux-gnu- make ARCH=arm O=/tmp/build-test
> shmobile_defconfig $ grep CONFIG_SERIAL_SH_SCI /tmp/build-test/.config
> CONFIG_SERIAL_SH_SCI=y
> CONFIG_SERIAL_SH_SCI_NR_UARTS=20
> CONFIG_SERIAL_SH_SCI_CONSOLE=y
> # CONFIG_SERIAL_SH_SCI_DMA is not set
>
>
> I'd say you need also to build with allmodconfig the kernel to trigger this
> problem.

Thanks for the information.

I have reproduced this issue  and  the build issue is fixed by applying below
suggested patches as mentioned by you.

1) 4f71a2e0a2826 ("serial: mctrl_gpio: export mctrl_gpio_disable_ms and mctrl_gpio_init")
2) 82a3f87f6e80e0 ("serial: mctrl_gpio: Add missing module license"

Regards,
Biju

> >> -----Original Message-----
> >> From: cip-dev-bounces at lists.cip-project.org [mailto:cip-dev-
> >> bounces at lists.cip-project.org] On Behalf Of Daniel Wagner
> >> Sent: 27 April 2018 12:24
> >> To: Ben Hutchings <ben.hutchings@codethink.co.uk>
> >> Cc: cip-dev at lists.cip-project.org
> >> Subject: Re: [cip-dev] Linux 4.4.126-cip22
> >>
> >> Hi Ben,
> >>
> >> On 04/11/2018 10:10 PM, Ben Hutchings wrote:
> >>> On Wed, 2018-04-11 at 20:54 +0100, Ben Hutchings wrote:
> >>> [...]
> >>>> I also tagged an intermediate version 4.4.120-cip21 before merging
> >>>> from 4.4-stable.
> >>>
> >>> Sorry, that intermediate version was actually 4.4.126-cip21.  It
> >>> includes the stable changes but not the improvements to Renesas
> >>> hardware support that are in -cip22.
> >>
> >> While working on the cip-rt spin I got following error from our ci
> >> build
> >> server:
> >>
> >> Errors:
> >> -------
> >>       all annotations:
> >>       ~~~~~~~~~~~~~~~~
> >>       ERROR: "mctrl_gpio_disable_ms" [drivers/tty/serial/sh-sci.ko]
> undefined!
> >>
> >>       ERROR: "mctrl_gpio_init" [drivers/tty/serial/sh-sci.ko] undefined!
> >>
> >>
> >> I think this was introduced by 8bac17a7f510 ("serial: sh-sci: Add
> >> support for GPIO-controlled modem lines"). serial_mcrtl_gpio.h
> >> provides for GPIOLIB and !GPIOLIB an implementation.
> >>
> >> I am slightly confused, though I haven't spend a lot of time yet to
> >> figure out what's going on.
> >>
> >> Thanks,
> >> Daniel
> >
> >
> >
> > Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne
> End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under
> Registered No. 04586709.
> >



Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.

  reply	other threads:[~2018-05-02 11:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-11 19:54 [cip-dev] Linux 4.4.126-cip22 Ben Hutchings
2018-04-11 20:10 ` Ben Hutchings
2018-04-27 11:23   ` Daniel Wagner
2018-04-27 11:33     ` Daniel Wagner
2018-04-27 12:10       ` Daniel Wagner
2018-04-27 13:29         ` Daniel Wagner
2018-05-04 14:55           ` Ben Hutchings
     [not found]     ` <TYAPR01MB228513B0546B4029878033C9B7820@TYAPR01MB2285.jpnprd01.prod.outlook.com>
2018-04-30 10:18       ` Biju Das
2018-05-02  6:35         ` Daniel Wagner
2018-05-02 11:57           ` Biju Das [this message]
2018-05-02 13:17             ` Daniel Wagner

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=OSBPR01MB210351466FB6BAFF9EB81977B8800@OSBPR01MB2103.jpnprd01.prod.outlook.com \
    --to=biju.das@bp.renesas.com \
    --cc=cip-dev@lists.cip-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.