From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::d2e; helo=mail-io1-xd2e.google.com; envelope-from=tmaimon77@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="WzMvrCEy"; dkim-atps=neutral Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 43fjrZ0vSnzDqXM for ; Wed, 16 Jan 2019 21:20:13 +1100 (AEDT) Received: by mail-io1-xd2e.google.com with SMTP id l14so4466216ioj.5 for ; Wed, 16 Jan 2019 02:20:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KSTFWUOow4V0jxg1ei+VGwqrvIR9QARRoxa/tiOS9yY=; b=WzMvrCEyUhyBhjlPkf8KQ4SEWQq3kax9gj8ZhcTmbDmJQDuhCUHi3dMCsBx22iw22x 3G+w30nbTsEg9VhyU4ycNAAg/beDuvCEG/dqJZFVx7mUEO0Mg8aQ/voHDRGzUg2F01mZ BltQuQTbEp3rO14ioAp8Uj0a099ZukGlDjqIHThtEGj3TszGRepGkLAkOY7H0G9ePpHs zlgbfimNR5YmSVgk2kEsi+QPinqV+JVySr2Y2o0+KMf+FcygpMAaqaF2r9CMRpzwzKJ1 RuE5ZnyItpbgFzI9MNdRQJh79Mq9PoJd6y5wpjZglfyGkOskBNPFtyLCH8NZBuLlmRZ6 Ofdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KSTFWUOow4V0jxg1ei+VGwqrvIR9QARRoxa/tiOS9yY=; b=V6BuPPplse4HvWEzbHEOjzXWX3nJ0aX6xessjmhyOd6rsiCkSnqwmIaQbOwEPXK1NW 24J+DsON0/0koBdOqFEIyGCp4UewjasQ4Z+djquRZp82cm3YdZZyxxX0dS+vWnKwUsai rRb7RPcH5GjZJp+qtirR/cc+2uhawb3qKwkD5SW3Z+h46Afo81JulEX9W1ruBmHmjYP+ Tap95pmxI45K3SXMneRww1/5Ee8/C6Xya9/+qo+xYZZ35Vkd9aD6Fe5Cn/96NulZM8/H AwQIV1UhOanRw/wddtqC2RaSHZzBItaevw0LM1GWyICk225iNsuyZqzQplRiH00wUox7 5FsQ== X-Gm-Message-State: AJcUukfGcLbNHW611nMzITcEK1OoGO1t70AXaUhyr7oBBJm2xqfHob2w fTwYZH8fiHuFl/LPuJF8dmSY65/uxJf8Ad6QHwWdBVff X-Google-Smtp-Source: ALg8bN7813nbG4FPqz6eLTGyXuJknF49e+eMkacNs05jo7k3Cp0mW1QzsoCd+lrTiBvTawh5vaYAU5ce4lEMBl+IP+E= X-Received: by 2002:a5d:9650:: with SMTP id d16mr4487546ios.289.1547634011733; Wed, 16 Jan 2019 02:20:11 -0800 (PST) MIME-Version: 1.0 References: <20190114130710.427600-1-tmaimon77@gmail.com> In-Reply-To: From: Tomer Maimon Date: Wed, 16 Jan 2019 12:26:30 +0200 Message-ID: Subject: Re: [linux dev-4.19 00/15] dd NPCM7xx patches to dev-4.19 To: Joel Stanley Cc: OpenBMC Maillist Content-Type: multipart/alternative; boundary="000000000000830537057f909f28" X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2019 10:20:15 -0000 --000000000000830537057f909f28 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Joel, Thanks a lot for applying the patches On Wed, 16 Jan 2019 at 01:46, Joel Stanley wrote: > Hi Tomer, > > On Tue, 15 Jan 2019 at 00:07, Tomer Maimon wrote: > > > > Hi Joel, > > > > Please add the following NPCM7xx patches to dev-4.19: > > I applied your series and it does not compile. I am using the > npcm7xx_defconfig you included: > > arm-linux-gnueabi-ld: drivers/i2c/busses/i2c-npcm7xx.o: in function > `npcm_smb_calc_crc8': > drivers/i2c/busses/i2c-npcm7xx.c:423: undefined reference to `crc8' > arm-linux-gnueabi-ld: drivers/i2c/busses/i2c-npcm7xx.o: in function > `__npcm_i2c_init': > drivers/i2c/busses/i2c-npcm7xx.c:1668: undefined reference to > `crc8_populate_lsb' > drivers/i2c/busses/i2c-npcm7xx.c:1669: undefined reference to > `crc8_populate_msb' > > Please test the patchset exactly as you intend to send before sending it. > > I did test the patches with https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads/8-2-201= 8-08 (gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabi) So I do not understand why you get this failures > In this case you needed to add `selects CRC8` to > drivers/i2c/busses/Kconfig. > > You also have some warnings. Please send follow up patches ASAP to > resolve these: > > ../drivers/iio/adc/npcm_adc.c: In function =E2=80=98npcm_adc_probe=E2=80= =99: > ../drivers/iio/adc/npcm_adc.c:301:9: warning: =E2=80=98ret=E2=80=99 may b= e used > uninitialized in this function [-Wmaybe-uninitialized] > return ret; > ^~~ > > About the ADC patch you are right, somehow I didn't send the latest code of the ADC driver. I will send it today. > arch/arm/boot/dts/nuvoton-npcm750-evb.dtb: Warning (pci_bridge): > /ahb/axi-pcie@e1000000: node name is not "pci" or "pcie" > arch/arm/boot/dts/nuvoton-npcm750-evb.dtb: Warning > (pci_device_bus_num): Failed prerequisite 'pci_bridge' > > In the patch set you can find patch [linux dev-4.19 15/15] dts: npcm7xx: Modify NPCM7xx device tree It's fix the above warnings and modify other node. please apply it. > I have done this for you and the tree now builds. I've merged the > patches into dev-4.19 and will push out once I've finished testing. > > Cheers, > > Joel > I will make sure to send all the fixes today. Thanks a lot, Tomer --000000000000830537057f909f28 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Joel,

Thanks a lot for applying the patches=

On Wed, 16 Jan = 2019 at 01:46, Joel Stanley <joel@jms.id.au> wrote:
Hi Tomer,

On Tue, 15 Jan 2019 at 00:07, Tomer Maimon <tmaimon77@gmail.com> wrote:
>
> Hi Joel,
>
> Please add the following NPCM7xx patches to dev-4.19:

I applied your series and it does not compile. I am using the
npcm7xx_defconfig you included:

arm-linux-gnueabi-ld: drivers/i2c/busses/i2c-npcm7xx.o: in function
`npcm_smb_calc_crc8':
drivers/i2c/busses/i2c-npcm7xx.c:423: undefined reference to `crc8'
arm-linux-gnueabi-ld: drivers/i2c/busses/i2c-npcm7xx.o: in function
`__npcm_i2c_init':
drivers/i2c/busses/i2c-npcm7xx.c:1668: undefined reference to
`crc8_populate_lsb'
drivers/i2c/busses/i2c-npcm7xx.c:1669: undefined reference to
`crc8_populate_msb'

Please test the patchset exactly as you intend to send before sending it.

I did test the patches with
(gcc-arm-8.2-2018.08-x86_64-arm-lin= ux-gnueabi)
So I do not understand why you get this failures
=C2=A0
In this case you needed to add `selects CRC8` to drivers/i2c/busses/Kconfig= .

You also have some warnings. Please send follow up patches ASAP to
resolve these:

../drivers/iio/adc/npcm_adc.c: In function =E2=80=98npcm_adc_probe=E2=80=99= :
../drivers/iio/adc/npcm_adc.c:301:9: warning: =E2=80=98ret=E2=80=99 may be = used
uninitialized in this function [-Wmaybe-uninitialized]
=C2=A0 return ret;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~

About the ADC patch you are right, somehow I didn'= ;t send the latest code of the ADC driver. I will send it today.
= =C2=A0
arch/arm/boot/dts/nuvoton-npcm750-evb.dtb: Warning (pci_bridge):
/ahb/axi-pcie@e1000000: node name is not "pci" or "pcie"= ;
arch/arm/boot/dts/nuvoton-npcm750-evb.dtb: Warning
(pci_device_bus_num): Failed prerequisite 'pci_bridge'

In the patch set you can find patch
[linux dev-4.19 15/15] dts: npcm7xx: Mod= ify NPCM7xx device tree
It's fix the above warnings and modify other node.
please app= ly it.
I have done this for you and the tree now builds. I've merged the
patches into dev-4.19 and will push out once I've finished testing.

Cheers,

Joel

I will make sure to send all the f= ixes today.

Thanks a lot,

Tomer
--000000000000830537057f909f28--