All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: Tyrone Ting <warp5tw@gmail.com>
Cc: avifishman70@gmail.com, tmaimon77@gmail.com,
	tali.perry1@gmail.com, venture@google.com, yuenn@google.com,
	benjaminfair@google.com, robh+dt@kernel.org,
	semen.protsenko@linaro.org, yangyicong@hisilicon.com,
	wsa@kernel.org, jie.deng@intel.com, sven@svenpeter.dev,
	bence98@sch.bme.hu, christophe.leroy@csgroup.eu,
	lukas.bulwahn@gmail.com, olof@lixom.net, arnd@arndb.de,
	digetx@gmail.com, andriy.shevchenko@linux.intel.com,
	tali.perry@nuvoton.com, Avi.Fishman@nuvoton.com,
	tomer.maimon@nuvoton.com, KWLIU@nuvoton.com, JJLIU0@nuvoton.com,
	kfting@nuvoton.com, openbmc@lists.ozlabs.org,
	linux-i2c@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 00/11] i2c: npcm: Bug fixes timeout, spurious interrupts
Date: Mon, 21 Feb 2022 09:32:25 +0100	[thread overview]
Message-ID: <5ce0f6a6-4a5f-4f25-3cc6-ab0f24bf15cf@canonical.com> (raw)
In-Reply-To: <CACD3sJaXeWLu6=oLgxJcU9R+A1J+jB7xKaGcDFwYxof33yj17Q@mail.gmail.com>

On 21/02/2022 09:16, Tyrone Ting wrote:
> Hi Krzysztof:
> 
> Thank you for your comments and please find my reply next to your comments.
> 
> Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> 於 2022年2月20日
> 週日 下午5:30寫道:
>>
>> On 20/02/2022 04:53, Tyrone Ting wrote:
>>> From: Tyrone Ting <kfting@nuvoton.com>
>>>
>>> This patchset includes the following fixes:
>>>
>>> - Add dt-bindings description for NPCM845.
>>> - Bug fix for timeout calculation.
>>> - Better handling of spurious interrupts.
>>> - Fix for event type in slave mode.
>>> - Removal of own slave addresses [2:10].
>>> - Support for next gen BMC (NPCM845).
>>>
>>> The NPCM I2C driver is tested on NPCM750 and NPCM845 evaluation boards.
>>>
>>> Addressed comments from:
>>>  - Jonathan Neuschäfer : https://lkml.org/lkml/2022/2/7/670
>>>  - Krzysztof Kozlowski : https://lkml.org/lkml/2022/2/7/760
>>
>> How did you address the ABI change comment? I still see you break the
>> ABI with the introduction of a new, required property.
>>
> 
> I add the new, required property "nuvoton,sys-mgr" in the file
> nuvoton-common-npcm7xx.dtsi.
> The file nuvoton-common-npcm7xx.dtsi is required by the existing
> upstream NPCM devicetree files.
> It is also updated and committed in this patch set [PATCH v2 01/11]
> arm: dts: add new property for NPCM i2c module.
> Please let me know if I misunderstand the meaning of "breaking the ABI".
> Thank you again.

Breaking the ABI means that old DTS stop working with new kernel. Your
change breaks old (and out-of-tree) DTS.

What is more, your change is not bisectable because DTS goes via
separate branch or tree than driver change.

You need to keep old code as fallback, if getting nuvoton,sys-mgr fails.

Best regards,
Krzysztof

WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: Tyrone Ting <warp5tw@gmail.com>
Cc: tmaimon77@gmail.com, devicetree@vger.kernel.org,
	tali.perry1@gmail.com, linux-i2c@vger.kernel.org,
	digetx@gmail.com, benjaminfair@google.com,
	openbmc@lists.ozlabs.org, JJLIU0@nuvoton.com,
	christophe.leroy@csgroup.eu, lukas.bulwahn@gmail.com,
	tomer.maimon@nuvoton.com, KWLIU@nuvoton.com, bence98@sch.bme.hu,
	arnd@arndb.de, sven@svenpeter.dev, robh+dt@kernel.org,
	Avi.Fishman@nuvoton.com, andriy.shevchenko@linux.intel.com,
	semen.protsenko@linaro.org, jie.deng@intel.com,
	avifishman70@gmail.com, venture@google.com,
	yangyicong@hisilicon.com, linux-kernel@vger.kernel.org,
	wsa@kernel.org, kfting@nuvoton.com, tali.perry@nuvoton.com,
	olof@lixom.net
Subject: Re: [PATCH v2 00/11] i2c: npcm: Bug fixes timeout, spurious interrupts
Date: Mon, 21 Feb 2022 09:32:25 +0100	[thread overview]
Message-ID: <5ce0f6a6-4a5f-4f25-3cc6-ab0f24bf15cf@canonical.com> (raw)
In-Reply-To: <CACD3sJaXeWLu6=oLgxJcU9R+A1J+jB7xKaGcDFwYxof33yj17Q@mail.gmail.com>

On 21/02/2022 09:16, Tyrone Ting wrote:
> Hi Krzysztof:
> 
> Thank you for your comments and please find my reply next to your comments.
> 
> Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> 於 2022年2月20日
> 週日 下午5:30寫道:
>>
>> On 20/02/2022 04:53, Tyrone Ting wrote:
>>> From: Tyrone Ting <kfting@nuvoton.com>
>>>
>>> This patchset includes the following fixes:
>>>
>>> - Add dt-bindings description for NPCM845.
>>> - Bug fix for timeout calculation.
>>> - Better handling of spurious interrupts.
>>> - Fix for event type in slave mode.
>>> - Removal of own slave addresses [2:10].
>>> - Support for next gen BMC (NPCM845).
>>>
>>> The NPCM I2C driver is tested on NPCM750 and NPCM845 evaluation boards.
>>>
>>> Addressed comments from:
>>>  - Jonathan Neuschäfer : https://lkml.org/lkml/2022/2/7/670
>>>  - Krzysztof Kozlowski : https://lkml.org/lkml/2022/2/7/760
>>
>> How did you address the ABI change comment? I still see you break the
>> ABI with the introduction of a new, required property.
>>
> 
> I add the new, required property "nuvoton,sys-mgr" in the file
> nuvoton-common-npcm7xx.dtsi.
> The file nuvoton-common-npcm7xx.dtsi is required by the existing
> upstream NPCM devicetree files.
> It is also updated and committed in this patch set [PATCH v2 01/11]
> arm: dts: add new property for NPCM i2c module.
> Please let me know if I misunderstand the meaning of "breaking the ABI".
> Thank you again.

Breaking the ABI means that old DTS stop working with new kernel. Your
change breaks old (and out-of-tree) DTS.

What is more, your change is not bisectable because DTS goes via
separate branch or tree than driver change.

You need to keep old code as fallback, if getting nuvoton,sys-mgr fails.

Best regards,
Krzysztof

  reply	other threads:[~2022-02-21  8:32 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-20  3:53 [PATCH v2 00/11] i2c: npcm: Bug fixes timeout, spurious interrupts Tyrone Ting
2022-02-20  3:53 ` Tyrone Ting
2022-02-20  3:53 ` [PATCH v2 01/11] arm: dts: add new property for NPCM i2c module Tyrone Ting
2022-02-20  3:53   ` Tyrone Ting
2022-02-20  3:53 ` [PATCH v2 02/11] dt-bindings: i2c: npcm: support NPCM845 Tyrone Ting
2022-02-20  3:53   ` Tyrone Ting
2022-02-21  2:36   ` Rob Herring
2022-02-21  2:36     ` Rob Herring
2022-02-21  8:31     ` Tyrone Ting
2022-02-21  8:31       ` Tyrone Ting
2022-02-22 17:56   ` Rob Herring
2022-02-22 17:56     ` Rob Herring
2022-02-23  3:41     ` Tyrone Ting
2022-02-23  3:41       ` Tyrone Ting
2022-02-20  3:53 ` [PATCH v2 03/11] i2c: npcm: Fix client address calculation Tyrone Ting
2022-02-20  3:53   ` Tyrone Ting
2022-02-20  3:53 ` [PATCH v2 04/11] i2c: npcm: Update gcr property name Tyrone Ting
2022-02-20  3:53   ` Tyrone Ting
2022-02-20  9:32   ` Krzysztof Kozlowski
2022-02-20  9:32     ` Krzysztof Kozlowski
2022-02-21  8:29     ` Tyrone Ting
2022-02-21  8:29       ` Tyrone Ting
2022-02-20  3:53 ` [PATCH v2 05/11] i2c: npcm: Remove unused clock node Tyrone Ting
2022-02-20  3:53   ` Tyrone Ting
2022-02-21 11:49   ` Jonathan Neuschäfer
2022-02-21 11:49     ` Jonathan Neuschäfer
2022-02-22  2:15     ` Tyrone Ting
2022-02-22  2:15       ` Tyrone Ting
2022-02-22 15:58       ` Jonathan Neuschäfer
2022-02-22 15:58         ` Jonathan Neuschäfer
2022-02-23  3:38         ` Tyrone Ting
2022-02-23  3:38           ` Tyrone Ting
2022-02-20  3:53 ` [PATCH v2 06/11] i2c: npcm: Fix timeout calculation Tyrone Ting
2022-02-20  3:53   ` Tyrone Ting
2022-02-20  3:53 ` [PATCH v2 07/11] i2c: npcm: Add tx complete counter Tyrone Ting
2022-02-20  3:53   ` Tyrone Ting
2022-02-20  3:53 ` [PATCH v2 08/11] i2c: npcm: Correct register access width Tyrone Ting
2022-02-20  3:53   ` Tyrone Ting
2022-02-21 11:55   ` Jonathan Neuschäfer
2022-02-21 11:55     ` Jonathan Neuschäfer
2022-02-20  3:53 ` [PATCH v2 09/11] i2c: npcm: Handle spurious interrupts Tyrone Ting
2022-02-20  3:53   ` Tyrone Ting
2022-02-20  3:53 ` [PATCH v2 10/11] i2c: npcm: Remove own slave addresses 2:10 Tyrone Ting
2022-02-20  3:53   ` Tyrone Ting
2022-02-20  3:53 ` [PATCH v2 11/11] i2c: npcm: Support NPCM845 Tyrone Ting
2022-02-20  3:53   ` Tyrone Ting
2022-02-20  9:36   ` Krzysztof Kozlowski
2022-02-20  9:36     ` Krzysztof Kozlowski
2022-02-21  8:33     ` Tyrone Ting
2022-02-21  8:33       ` Tyrone Ting
2022-02-20  9:30 ` [PATCH v2 00/11] i2c: npcm: Bug fixes timeout, spurious interrupts Krzysztof Kozlowski
2022-02-20  9:30   ` Krzysztof Kozlowski
2022-02-21  8:16   ` Tyrone Ting
2022-02-21  8:16     ` Tyrone Ting
2022-02-21  8:32     ` Krzysztof Kozlowski [this message]
2022-02-21  8:32       ` Krzysztof Kozlowski
2022-02-21  8:47       ` Tyrone Ting
2022-02-21  8:47         ` Tyrone Ting
2022-03-01 19:45         ` Wolfram Sang
2022-03-01 19:45           ` Wolfram Sang
2022-03-02 12:53           ` Tyrone Ting

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=5ce0f6a6-4a5f-4f25-3cc6-ab0f24bf15cf@canonical.com \
    --to=krzysztof.kozlowski@canonical.com \
    --cc=Avi.Fishman@nuvoton.com \
    --cc=JJLIU0@nuvoton.com \
    --cc=KWLIU@nuvoton.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=arnd@arndb.de \
    --cc=avifishman70@gmail.com \
    --cc=bence98@sch.bme.hu \
    --cc=benjaminfair@google.com \
    --cc=christophe.leroy@csgroup.eu \
    --cc=devicetree@vger.kernel.org \
    --cc=digetx@gmail.com \
    --cc=jie.deng@intel.com \
    --cc=kfting@nuvoton.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lukas.bulwahn@gmail.com \
    --cc=olof@lixom.net \
    --cc=openbmc@lists.ozlabs.org \
    --cc=robh+dt@kernel.org \
    --cc=semen.protsenko@linaro.org \
    --cc=sven@svenpeter.dev \
    --cc=tali.perry1@gmail.com \
    --cc=tali.perry@nuvoton.com \
    --cc=tmaimon77@gmail.com \
    --cc=tomer.maimon@nuvoton.com \
    --cc=venture@google.com \
    --cc=warp5tw@gmail.com \
    --cc=wsa@kernel.org \
    --cc=yangyicong@hisilicon.com \
    --cc=yuenn@google.com \
    /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.