ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
Pali has quit [Quit: Pali]
Nact has joined #armlinux
jwerner has quit [Quit: leaving]
torez has joined #armlinux
mraynal has quit [Read error: Connection reset by peer]
apritzel_ has quit [Ping timeout: 252 seconds]
mraynal has joined #armlinux
alpernebbi has quit [Ping timeout: 255 seconds]
alpernebbi has joined #armlinux
Guest8314 has quit [Ping timeout: 260 seconds]
nsc has joined #armlinux
nsc is now known as Guest5421
heat has quit [Read error: Connection reset by peer]
heat has joined #armlinux
jclsn has quit [Ping timeout: 248 seconds]
jclsn has joined #armlinux
heat_ has joined #armlinux
heat has quit [Read error: Connection reset by peer]
heat_ is now known as heat
hanetzer has joined #armlinux
heat has quit [Ping timeout: 246 seconds]
iivanov has joined #armlinux
amitk_ has joined #armlinux
apritzel_ has joined #armlinux
elastic_dog has quit [Read error: Connection reset by peer]
elastic_dog has joined #armlinux
guillaume_g has joined #armlinux
apritzel_ has quit [Ping timeout: 255 seconds]
frieder has joined #armlinux
viorel_suman has joined #armlinux
cleger has joined #armlinux
bitterlollipop has joined #armlinux
headless has joined #armlinux
bitterlollipop has quit [Quit: bitterlollipop]
sszy has joined #armlinux
Lucanis has quit [Ping timeout: 248 seconds]
bitterlollipop has joined #armlinux
bitterlollipop has quit [Quit: system sleep - ZZZzzz...]
<robmur01>
I believe in most cases the NIU clocks are just regular "bus" clocks that simply need to be kept ungated whenever the device is in use - it's only those few specific ones with weird internal cross-dependencies that need more fiddly clock API work
<robmur01>
but no, I'm not aware of anyone doing anything in that area
<CounterPillow>
Alright, thanks
<CounterPillow>
I assume the Collabora people working on the SoC are gonna run into this head first, since they're now at a point where quite a few of these weirder clocks will come into play
<CounterPillow>
I have negative infinity experience with the clock subsystem but since (according to rockchip) the NIU path and clock tree are completely independent, their suggestion of adding another device tree property to model this doesn't sound too outlandish
<CounterPillow>
or turn clocks into a DAG with the graph schema but I am ready to get absolutely blasted for that idea
<robmur01>
yeah, I guess it might potentially be possible to model with the interconnect API, if that can somehow be aware of all the clocks required for a given path.
<robmur01>
However AFAIK there's no means to make the interconnect stuff automatic without consumer drivers having to explicitly request it
<CounterPillow>
Yeah that's not the greatest
<CounterPillow>
I take it that ideally the SoC's CRU just implicitly does the NIU stuff when a driver prepare-enables a clock that needs it
<lag>
Anyone know where to find Jiri Kosina?
<broonie>
lag: he's jikos when he's on IRC.
<lag>
broonie: Lovely, thanks Mark
<robmur01>
CounterPillow: perhaps my view should be that ideally people use Arm Ltd. interconnects, which don't have such absurdly fine-grained clock gating anyway :D
<robmur01>
but as I alluded to previously, if you know that the only reason to enable clock A is to access the bus, which you know will also require clock B, then it seems most pragmatic to just hide that knowledge in the clock driver, even if it's not a "real" clock tree dependency
<CounterPillow>
Alright
<CounterPillow>
so in other words, properly implement the GATE_LINK define that clk-rk3588.c just defines to GATE right now :)
<robmur01>
indeed, on the face of it that sounds promising :)
<CounterPillow>
Looks like right now the linked clocks are marked as critical, so any issues I ran into with touching usb regs locking up the SoC probably weren't related to NIU not being implemented, unless there's a bug in the CRU regs it writes to
macromorgan is now known as Guest9127
macromorgan has joined #armlinux
Guest9127 has quit [Killed (cadmium.libera.chat (Nickname regained by services))]
Guest9127 has joined #armlinux
macromorgan is now known as Guest795
Guest9127 is now known as macromorgan
Guest795 has quit [Client Quit]
macromorgan has quit [Killed (erbium.libera.chat (Nickname regained by services))]
macromorgan has joined #armlinux
Guest3143 has joined #armlinux
macromorgan is now known as Guest2941
Guest3143 is now known as macromorgan
Guest2941 has quit [Client Quit]
macromorgan has quit [Client Quit]
macromorgan has joined #armlinux
amitk_ has joined #armlinux
amitk has quit [Ping timeout: 248 seconds]
guillaume_g has quit [Quit: Konversation terminated!]
prabhakarlad has joined #armlinux
headless has joined #armlinux
heat has joined #armlinux
frieder has quit [Remote host closed the connection]
prabhakarlad has quit [Ping timeout: 260 seconds]
tlwoerner has quit [Remote host closed the connection]