From: Marc Zyngier <maz@kernel.org>
To: "Heiko Stübner" <heiko@sntech.de>
Cc: Enric Balletbo i Serra <enric.balletbo@collabora.com>,
MyungJoo Ham <myungjoo.ham@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PM / devfreq: rk3399_dmc: Fix kernel oops when rockchip,pmu is absent
Date: Tue, 23 Jun 2020 11:33:11 +0100 [thread overview]
Message-ID: <4d623262e58f38fb466f5f58c22321b2@kernel.org> (raw)
In-Reply-To: <7555251.hpBSmtosxn@diego>
On 2020-06-23 09:55, Heiko Stübner wrote:
> Am Montag, 22. Juni 2020, 17:07:52 CEST schrieb Marc Zyngier:
[...]
>> maz@fine-girl:~$ sudo dtc -I dtb /sys/firmware/fdt 2>/dev/null | grep
>> -A
>> 5 dmc
>> dmc {
>> u-boot,dm-pre-reloc;
>> compatible = "rockchip,rk3399-dmc";
>> devfreq-events = <0xc8>;
>>
>> [followed by a ton of timings...]
>>
>> It is definitely coming from u-boot (I don't provide any DTB
>> otherwise,
>> and you can find the corresponding node and timings in the u-boot
>> tree).
>
> which is probably the source of the problem :-) .
>
> I'm pretty sure the "reviewed" binding in the kernel doesn't match the
> dt-nodes used in uboot.
and the driver doesn't match the binding either. Frankly, this is badly
messed up.
> While u-boot these days syncs the main devicetrees from Linux, the
> memory
> setup stuff is pretty specific to uboot (and lives in separate dtsi
> files).
>
> And I guess you're the only one feeding uboot's dtb to Linux directly,
> hence
> nobody else did encounter this before ;-) .
I'm not "feeding" it directly. I'm using the expected DT distribution
mechanism, which is the boot firmware. Nobody should ever have to
provide
their own DT to the kernel.
Thanks,
M. (starting to like ACPI more and more every day)
--
Jazz is not dead. It just smells funny...
prev parent reply other threads:[~2020-06-23 10:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-13 10:24 [PATCH] PM / devfreq: rk3399_dmc: Fix kernel oops when rockchip,pmu is absent Marc Zyngier
2020-06-22 13:31 ` Marc Zyngier
2020-06-22 13:54 ` Heiko Stübner
2020-06-22 15:07 ` Marc Zyngier
2020-06-23 8:55 ` Heiko Stübner
2020-06-23 10:33 ` Marc Zyngier [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=4d623262e58f38fb466f5f58c22321b2@kernel.org \
--to=maz@kernel.org \
--cc=cw00.choi@samsung.com \
--cc=enric.balletbo@collabora.com \
--cc=heiko@sntech.de \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=myungjoo.ham@samsung.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).