devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Diederik de Haas <didi.debian@cknow.org>
To: Dragan Simic <dsimic@manjaro.org>, Alexey Charkov <alchark@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Heiko Stuebner <heiko@sntech.de>,
	linux-rockchip@lists.infradead.org,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	Chen-Yu Tsai <wens@kernel.org>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/5] RK3588 and Rock 5B dts additions: thermal, OPP and fan
Date: Sat, 20 Apr 2024 19:53:58 +0200	[thread overview]
Message-ID: <3068718.7t0mGDVaCv@bagend> (raw)
In-Reply-To: <9f4c7615a6685ac42dccdbe35e57c357@manjaro.org>


[-- Attachment #1.1: Type: text/plain, Size: 1318 bytes --]

Hi Dragan and Alexey,

On Wednesday, 10 April 2024 11:28:09 CEST Dragan Simic wrote:
> > Can you rebase this patch set on Heiko's for-next branch [1]?
> > And then also fix the ordering of the nodes and the elements within
> > those nodes so that they match the current conventions?
> 
> Ah, thanks, this is a good reminder about the proposal for the plan
> for moving forward, which I promised to send a while ago. :)
> 
> > [1]
> > https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/l
> > og/?h=for-next

I build a (Debian) kernel based off 6.9-rc4 + a whole bunch of patches, 
including this patch series. I got someone on #debian-arm to try it out on a 
Rock 5B and the dmesg output showed a number of items wrt thermal and OPP.

Some items that I filtered out from that dmesg output:

[    3.211716] hwmon hwmon0: temp1_input not attached to any thermal zone
[    3.908339] panthor fb000000.gpu: EM: OPP:900000 is inefficient
[   10.473061] cpu cpu0: EM: OPP:600000 is inefficient
[   10.473233] energy_model: Accessing cpu4 policy failed
[   10.585236] rockchip-thermal fec00000.tsadc: Missing rockchip,grf property

Attached is the full list of items I collected from that dmesg output which 
seem worth investigating. 

Maybe useful to investigate when moving forward?

Cheers,
  Diederik

[-- Attachment #1.2: rock-5b-dmesg-issues.txt --]
[-- Type: text/plain, Size: 5767 bytes --]

Radxa 5B issues (dmesg on https://termbin.com/e170):

[    2.863508] rockchip-spi feb20000.spi: Runtime PM usage count underflow!

[    2.915650] rtc-hym8563 6-0051: no valid clock/calendar values available
[    2.915949] rtc-hym8563 6-0051: registered as rtc0
[    2.916945] rtc-hym8563 6-0051: no valid clock/calendar values available
[    2.916950] rtc-hym8563 6-0051: hctosys: unable to read the hardware clock

[    2.994580] rockchip-drm display-subsystem: [drm:rockchip_drm_platform_probe [rockchipdrm]] *ERROR* No available vop found for display-subsystem.
[    3.101020] rockchip-dw-pcie a40000000.pcie: PCIe Gen.3 x4 link up
[    3.101308] rockchip-dw-pcie a40000000.pcie: PCI host bridge to bus 0000:00
[    3.101316] pci_bus 0000:00: root bus resource [bus 00-0f]
[    3.101324] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xf0100000-0xf01fffff])
[    3.101329] pci_bus 0000:00: root bus resource [mem 0xf0200000-0xf0ffffff]
[    3.101335] pci_bus 0000:00: root bus resource [mem 0x900000000-0x93fffffff] (bus address [0x40000000-0x7fffffff])
[    3.101357] pci 0000:00:00.0: [1d87:3588] type 01 class 0x060400 PCIe Root Port
[    3.101369] pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x3fffffff]
[    3.101377] pci 0000:00:00.0: BAR 1 [mem 0x00000000-0x3fffffff]
[    3.101384] pci 0000:00:00.0: ROM [mem 0x00000000-0x0000ffff pref]
[    3.101389] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.101396] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    3.101402] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    3.101410] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[    3.101452] pci 0000:00:00.0: supports D1 D2
[    3.101457] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.103848] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[    3.103921] pci 0000:01:00.0: [144d:a809] type 00 class 0x010802 PCIe Endpoint
[    3.103987] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit]
[    3.116969] pci 0000:00:00.0: BAR 0 [mem 0x900000000-0x93fffffff]: assigned
[    3.116983] pci 0000:00:00.0: BAR 1 [mem size 0x40000000]: can't assign; no space
[    3.116990] pci 0000:00:00.0: BAR 1 [mem size 0x40000000]: failed to assign
[    3.116995] pci 0000:00:00.0: bridge window [mem 0xf0200000-0xf02fffff]: assigned
[    3.117001] pci 0000:00:00.0: ROM [mem 0xf0300000-0xf030ffff pref]: assigned
[    3.117009] pci 0000:01:00.0: BAR 0 [mem 0xf0200000-0xf0203fff 64bit]: assigned
[    3.117042] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.117048] pci 0000:00:00.0:   bridge window [mem 0xf0200000-0xf02fffff]

[    3.211716] hwmon hwmon0: temp1_input not attached to any thermal zone
[    3.211775] hwmon hwmon0: temp2_input not attached to any thermal zone
[    3.211823] hwmon hwmon0: temp3_input not attached to any thermal zone

[    3.327532] pci 0002:20:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring

[    3.908339] panthor fb000000.gpu: EM: OPP:900000 is inefficient
[    3.908349] panthor fb000000.gpu: EM: OPP:800000 is inefficient
[    3.908354] panthor fb000000.gpu: EM: OPP:700000 is inefficient
[    3.908358] panthor fb000000.gpu: EM: OPP:600000 is inefficient
[    3.908361] panthor fb000000.gpu: EM: OPP:500000 is inefficient
[    3.908365] panthor fb000000.gpu: EM: OPP:400000 is inefficient
[    3.908369] panthor fb000000.gpu: EM: OPP:300000 is inefficient

[    3.920149] [drm] Initialized panthor 1.0.0 20230801 for fb000000.gpu on minor 0

[    4.483910] dwmmc_rockchip fe2d0000.mmc: Busy; trying anyway
[    5.213383] mmc_host mmc2: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000)
[    5.228057] mmc_host mmc2: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)

[    7.072323] dwmmc_rockchip fe2d0000.mmc: Busy; trying anyway
[    7.801690] mmc_host mmc2: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000)
[    7.816350] mmc_host mmc2: Bus speed (slot 0) = 187500Hz (slot req 187500Hz, actual 187500HZ div = 0)
[    8.369904] dwmmc_rockchip fe2d0000.mmc: Busy; trying anyway
[    9.099376] mmc_host mmc2: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000)
[    9.101395] mmc2: Failed to initialize a non-removable card

[   10.473061] cpu cpu0: EM: OPP:600000 is inefficient
[   10.473075] cpu cpu0: EM: OPP:408000 is inefficient
[   10.473227] cpu cpu0: EM: created perf domain
[   10.473233] energy_model: Accessing cpu4 policy failed
[   10.483901] cpu cpu4: EM: OPP:2352000 is inefficient
[   10.483914] cpu cpu4: EM: OPP:2304000 is inefficient
[   10.483918] cpu cpu4: EM: OPP:2256000 is inefficient
[   10.483923] cpu cpu4: EM: OPP:1008000 is inefficient
[   10.483926] cpu cpu4: EM: OPP:816000 is inefficient
[   10.483930] cpu cpu4: EM: OPP:600000 is inefficient
[   10.483934] cpu cpu4: EM: OPP:408000 is inefficient
[   10.484193] cpu cpu4: EM: created perf domain
[   10.484199] energy_model: Accessing cpu6 policy failed
[   10.488907] cpu cpu6: EM: OPP:2352000 is inefficient
[   10.488917] cpu cpu6: EM: OPP:2304000 is inefficient
[   10.488921] cpu cpu6: EM: OPP:2256000 is inefficient
[   10.488925] cpu cpu6: EM: OPP:1008000 is inefficient
[   10.488928] cpu cpu6: EM: OPP:816000 is inefficient
[   10.488932] cpu cpu6: EM: OPP:600000 is inefficient
[   10.488936] cpu cpu6: EM: OPP:408000 is inefficient
[   10.489175] cpu cpu6: EM: created perf domain
[   10.489179] energy_model: updating cpu0 cpu_cap=397 old capacity=530
[   10.489186] cpu cpu0: EM: OPP:816000 is inefficient
[   10.489190] cpu cpu0: EM: OPP:600000 is inefficient
[   10.489194] cpu cpu0: EM: OPP:408000 is inefficient
[   10.585236] rockchip-thermal fec00000.tsadc: Missing rockchip,grf property

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2024-04-20 17:54 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-29 19:26 [PATCH v3 0/5] RK3588 and Rock 5B dts additions: thermal, OPP and fan Alexey Charkov
2024-02-29 19:26 ` [PATCH v3 1/5] arm64: dts: rockchip: enable built-in thermal monitoring on RK3588 Alexey Charkov
2024-02-29 20:21   ` Dragan Simic
2024-03-01  5:12     ` Alexey Charkov
2024-03-01  5:51       ` Dragan Simic
2024-03-01  8:25         ` Alexey Charkov
2024-03-01  8:52           ` Dragan Simic
2024-03-01  9:24             ` Dragan Simic
2024-03-01 11:10             ` Alexey Charkov
2024-03-01 12:02               ` Chen-Yu Tsai
2024-03-01 13:11                 ` Dragan Simic
2024-03-01 12:34               ` Dragan Simic
2024-02-29 21:11   ` Dragan Simic
2024-03-01  5:20     ` Alexey Charkov
2024-03-01  6:14       ` Dragan Simic
2024-03-01  7:51         ` Alexey Charkov
2024-03-01  8:21           ` Dragan Simic
2024-03-02 11:25   ` Heiko Stuebner
2024-03-02 18:38     ` Dragan Simic
2024-02-29 19:26 ` [PATCH v3 2/5] arm64: dts: rockchip: enable automatic active cooling on Rock 5B Alexey Charkov
2024-02-29 21:25   ` Dragan Simic
2024-03-01  5:21     ` Alexey Charkov
2024-03-01  6:17       ` Dragan Simic
2024-03-01  8:25         ` Dragan Simic
2024-03-01  8:30           ` Alexey Charkov
2024-03-01  9:32             ` Dragan Simic
2024-02-29 19:26 ` [PATCH v3 3/5] arm64: dts: rockchip: Add CPU/memory regulator coupling for RK3588 Alexey Charkov
2024-03-01  8:13   ` Dragan Simic
2024-03-11 10:24     ` Dragan Simic
2024-02-29 19:26 ` [PATCH v3 4/5] arm64: dts: rockchip: Add OPP data for CPU cores on RK3588 Alexey Charkov
2024-03-01  6:31   ` Dragan Simic
2024-02-29 19:26 ` [PATCH v3 5/5] arm64: dts: rockchip: Add further granularity in RK3588 CPU OPPs Alexey Charkov
2024-03-01  6:36   ` Dragan Simic
2024-03-04 17:50 ` [PATCH v3 0/5] RK3588 and Rock 5B dts additions: thermal, OPP and fan Sebastian Reichel
2024-03-05  8:06   ` Alexey Charkov
2024-03-07 12:38     ` Alexey Charkov
2024-03-07 14:21       ` Dragan Simic
2024-03-11  7:08         ` Dragan Simic
2024-03-07 22:16       ` Sebastian Reichel
2024-03-13 16:39         ` Sebastian Reichel
2024-03-13 16:44           ` Dragan Simic
2024-04-10  9:19 ` Diederik de Haas
2024-04-10  9:28   ` Dragan Simic
2024-04-20 17:53     ` Diederik de Haas [this message]
2024-04-21 16:07       ` Dragan Simic

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=3068718.7t0mGDVaCv@bagend \
    --to=didi.debian@cknow.org \
    --cc=alchark@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dsimic@manjaro.org \
    --cc=heiko@sntech.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=robh+dt@kernel.org \
    --cc=viresh.kumar@linaro.org \
    --cc=wens@kernel.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 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).