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
hanetzer has quit [Ping timeout: 255 seconds]
heat has quit [Ping timeout: 252 seconds]
hanetzer has joined #armlinux
DarkL0rd has quit [Remote host closed the connection]
Guest722 has quit [Killed (zinc.libera.chat (Nickname regained by services))]
DarkL0rd has joined #armlinux
DarkL0rd has quit [Read error: Connection reset by peer]
DarkL0rd has joined #armlinux
DarkL0rd has quit [Ping timeout: 272 seconds]
robclark has quit [*.net *.split]
marex has quit [*.net *.split]
Stary has quit [*.net *.split]
jtf has quit [*.net *.split]
broonie has quit [*.net *.split]
broonie has joined #armlinux
robclark has joined #armlinux
marex has joined #armlinux
jtf has joined #armlinux
Stary has joined #armlinux
chipxxx has quit [Remote host closed the connection]
_whitelogger has joined #armlinux
arnd has joined #armlinux
Bitweasil has joined #armlinux
chipxxx has joined #armlinux
apritzel has joined #armlinux
apritzel has quit [Ping timeout: 260 seconds]
Misotauros has quit [Ping timeout: 246 seconds]
shoragan has quit [Ping timeout: 264 seconds]
shoragan has joined #armlinux
Misotauros has joined #armlinux
Misotauros has quit [Ping timeout: 276 seconds]
cmarinas has joined #armlinux
Misotauros has joined #armlinux
headless has joined #armlinux
<hanetzer>
bjdooks: managed to get it workin :)
Pali has joined #armlinux
_alice is now known as lili
Grimler has quit [Read error: Connection reset by peer]
Grimler has joined #armlinux
Grimler has quit [Client Quit]
rvalue has quit [Ping timeout: 272 seconds]
rvalue has joined #armlinux
rvalue has quit [Ping timeout: 276 seconds]
CounterPumpkin has quit [Quit: Bye.]
CounterPillow has joined #armlinux
rvalue has joined #armlinux
nsaenz has joined #armlinux
headless has quit [Quit: Konversation terminated!]
<punit>
Out of curiosity just checked what DS20L looks like - seems like you'd need an isolated server room to keep the jet engine like exhaust / cooling noise.
* punit
wonders if maz is running a datacenter on the side :-)
<Xogium>
punit: maybe, more scary possibility is, the datacenter runs maz
<Xogium>
;p
<punit>
hehe
<Xogium>
slightly OT, but what is your take on risc-v ? I wonder how worth it it is... I mean, I have so many boards already in here that I guess the only thing I'd do with a risc-v one would be bring up :D wouldn't have much idea of what to do with it other than this. Also there are probably not that many of them able to run linux, I think I only saw maybe 2 or 3
<Xogium>
I meant this as a general question btw not just punit
<psydroid>
everything that works on arm should work on risc-v too
<psydroid>
at least eventually
<hanetzer>
hrm. so the sd/mmc controller on this soc. it appears to be the same controller as drivers/mmc/host/dw_mmc*, but datasheets and vendor source only show a single clock, where the designware stuff says it requires two clocks, ciu and biu
<jn>
hanetzer: it seems plausible that the module's ciu and biu clocks might be connected to the same clock line from the SoC's clock generator
<jn>
what do these names mean, and what are the requirements for these clocks (like minimum/maximum rates or relations to buses)?
<hanetzer>
bus interface unit and card interface unit; the req for both is mentioned in the yaml for it.
<hanetzer>
and the driver is 'hard wired' to req both :P
<Xogium>
psydroid: neat
<jn>
hmm, there are vendor integration specific bindings (e.g. for rockchip, rockchip-dw-mshc.yaml), so there is some wiggle room to do things differently
<jn>
hanetzer: anyway, assuming for the moment, that both module clocks are supplied by the same SoC clock, it should suffice to specify this SoC clock as both biu and ciu
<jn>
i haven't read the HiSi documentation to confirm if that's an accurate representation, though
<jn>
Xogium: the SBI story in RISC-V is a bit annoying, but other than that, it's just another RISC ISA. it does its job, what matters is implementation quality
<Xogium>
jn: yeah I figured that was about it
<Xogium>
but I'm not sure if its really that great to have it apparently more open
<hanetzer>
jn: well, the doc for this only has one clock per mmc interface in its crg regs.
<hanetzer>
guess I'll give that a go :)
<jn>
hanetzer: what does it say about ciu and biu on the MMC side?
<hanetzer>
nothing major in the docs.
Grimler has joined #armlinux
<jn>
Xogium: the benefits of RISC-V's openness are quite obscure to most users. software developers can't benefit from it, because having a published specification isn't RISC-V's innovation. OS/driver developers can't benefit from it, because having any kind of openness on the SoC is not in the scope of RISC-V. SoC integrators get questionable benefit because they still have to get a bunch of peripherals (but a RISC-V core might be a tiny bit cheaper than an
<jn>
ARM core). the real benefit comes when you want to develop a new CPU core, which very few people attempt.
<hanetzer>
jn: there's references to it that match references in other hisi socs that do implement both, but it strikes me as copypasta from the synopsis databook (which I really wish was publicly available lmao)
<Xogium>
right
<Xogium>
even st doesn't do that
<Xogium>
developing cpu cores, I mean. They make SoC, but that's it
<jn>
hanetzer: hmm. seems reasonable to describe it in the DT as ciu and biu being supplied by the same CRG clock, perhaps with a comment about the uncertainty of the situation
<hanetzer>
yeh
CounterPillow is now known as CounterPumpkin
cmarinas has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
cmarinas_ has joined #armlinux
<hanetzer>
heh. enabling the dma controller driver borks bootup. probably need some soc specific glue code or figuring out the dma-channel-mask bits
chipxxx has quit [Ping timeout: 246 seconds]
chipxxx has joined #armlinux
<hanetzer>
like, it ends up getting to udevd[71]: startting eudev-3.2.11 and then hangs apparently :)
<hanetzer>
the regs and vendor code very much resemble the k3-dma driver
cmarinas_ has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
elastic_1 has joined #armlinux
elastic_1 is now known as elastic_dog
elastic_dog has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
<hanetzer>
as a test, I enabled K3_DMA but removed the dma data from uart0; output continues, however input fails.
cmarinas has joined #armlinux
cmarinas has quit [Client Quit]
headless has joined #armlinux
chip_x has joined #armlinux
chipxxx has quit [Ping timeout: 276 seconds]
DarkL0rd has joined #armlinux
<hanetzer>
ah no. something about the boot prior put the serial in a weird state.
DarkL0rd has quit [Remote host closed the connection]
DarkL0rd has joined #armlinux
headless has quit [Quit: Konversation terminated!]
chip_x has quit [Ping timeout: 276 seconds]
chipxxx has joined #armlinux
cmarinas has joined #armlinux
cmarinas has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
DarkL0rd has quit [Remote host closed the connection]
cmarinas has joined #armlinux
DarkL0rd has joined #armlinux
DarkL0rd has quit [Ping timeout: 272 seconds]
DarkL0rd has joined #armlinux
<hanetzer>
so, I'm under the assumption there's no particular special handling for having multiple uarts in one device? Reason I ask is as a test I flipped uart1/uart2 to status = "okay"; and they don't seem to have probed
apritzel has joined #armlinux
rvalue has quit [Ping timeout: 272 seconds]
DarkL0rd has quit [Remote host closed the connection]
DarkL0rd has joined #armlinux
altf2o has quit [Remote host closed the connection]
altf2o has joined #armlinux
rvalue has joined #armlinux
apritzel has quit [Ping timeout: 260 seconds]
DarkL0rd has quit [Remote host closed the connection]
DarkL0rd has joined #armlinux
headless has joined #armlinux
heat has joined #armlinux
altf2o has quit [Remote host closed the connection]
altf2o has joined #armlinux
Caterpillar has joined #armlinux
pg12_ has quit [Quit: pg12_]
<hanetzer>
oh yay, got a use-after-free in the hisi-femac driver
cmarinas has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
apritzel has joined #armlinux
cmarinas has joined #armlinux
pg12 has joined #armlinux
<hanetzer>
ahh there we go. my dumb ass forgot to add the second clock to the uart nodes. thank you dtbs_check :)
headless has quit [Quit: Konversation terminated!]
heat_ has joined #armlinux
heat has quit [Ping timeout: 276 seconds]
cmarinas has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
cmarinas has joined #armlinux
heat_ is now known as heat
cmarinas has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
cmarinas has joined #armlinux
DarkL0rd has quit [Read error: Connection reset by peer]
DarkL0rd has joined #armlinux
altf2o has quit [Ping timeout: 250 seconds]
elastic_dog has joined #armlinux
heat has quit [Remote host closed the connection]
haritz has quit [Remote host closed the connection]