From: Krzysztof Kozlowski <krzk@kernel.org>
To: Pengpeng Hou <pengpeng@iscas.ac.cn>
Cc: Paul Cercueil <paul@crapouillou.net>,
linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] memory: jz4780-nemc: publish drvdata before creating children
Date: Thu, 3 Dec 2026 11:17:31 +0100 [thread overview]
Message-ID: <40c474ed-1b2e-41d8-9729-657414e523a8@kernel.org> (raw)
In-Reply-To: <20261203035213.66415-1-pengpeng@iscas.ac.cn>
On 03/12/2026 04:52, Pengpeng Hou wrote:
> Hi Krzysztof,
>
> You're right that I combined two different changes. The children are
> created individually with of_platform_device_create(); that doesn't
> set OF_POPULATED_BUS on the parent. My of_platform_depopulate() call
> isn't the inverse of that registration.
>
> The drvdata ordering is separate: a child can probe during device
> registration, before the parent reaches platform_set_drvdata(). My
> evidence for that ordering is source inspection, not a failing board
> test. I'll drop the teardown change rather than claim it fixes removal.
>
What are you referring to? Half year old email without any context?
Best regards,
Krzysztof
prev parent reply other threads:[~2026-12-03 10:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-16 0:57 [PATCH] memory: jz4780-nemc: publish drvdata before creating children Pengpeng Hou
2026-06-30 17:22 ` Krzysztof Kozlowski
2026-12-03 3:52 ` Pengpeng Hou
2026-12-03 10:17 ` Krzysztof Kozlowski [this message]
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=40c474ed-1b2e-41d8-9729-657414e523a8@kernel.org \
--to=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=paul@crapouillou.net \
--cc=pengpeng@iscas.ac.cn \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox