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
nsaenz has quit [Ping timeout: 265 seconds]
apritzel has quit [Ping timeout: 245 seconds]
jclsn has quit [Ping timeout: 276 seconds]
jclsn has joined #armlinux
heat has quit [Remote host closed the connection]
ellyq__ has joined #armlinux
ellyq has quit [Ping timeout: 252 seconds]
cbeznea has joined #armlinux
rvalue has quit [Ping timeout: 252 seconds]
rvalue has joined #armlinux
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 248 seconds]
monstr has joined #armlinux
vingu has quit [Quit: Leaving.]
vingu has joined #armlinux
gclement has joined #armlinux
luispm has joined #armlinux
<abelvesa_> krzk: sorry for the late reply. Correct me if I'm wrong, but I think there might be cases where a driver will make use of _END/_NUM and then someone adding new clock binding IDs in the header and forget to update the _END/_NUM in the driver.
mwalle has joined #armlinux
<krzk> abelvesa_: sure, but that's irrelevant to the question here, to the bindings. Bindings have nothing to do with such mistakes
<krzk> abelvesa_: you can also add comments or checks for that, if you want to address such risk
<abelvesa_> krzk: right, but kinda makes the reviewing harder
<krzk> again, not a comment to keep something in the bindings
<abelvesa_> always checking if the driver _END/_NUM has been updated
<krzk> this is real issue, but not a reason to add to the bindings something which is not supposed to be a binding and ABI
<abelvesa_> krzk: I see
<abelvesa_> krzk: I think what I will do is I will drop the _END/_NUM alltogether. If it's not in the bindings then the drivers shouldn't need it.
<abelvesa_> krzk: need to check if it can be done for all i.MX clocks drivers first
<krzk> abelvesa_: yeah, the bes tif the driver could use size determined automatically during build time
<geertu> abelvesa_: Just use the last entry instead of the _END entry in the driver? If new entries are added, the driver must be updated anyway to make use of them. And testing the new additions should fail if the previously used end marker was not updated?
<abelvesa_> geertu: yes, that's what I was thinking as well
<geertu> If your driver does an OOB array access if DT specifies an invalid entry, you have other problems to fix...
<abelvesa_> will do that
<abelvesa_> geertu: usually the clocks do not get dropped, especially from the bindings header
<abelvesa_> as it breaks the abi
frieder has joined #armlinux
<geertu> abelvesa_: Sorry, I don't understand where this dropping comment comes from?
<abelvesa_> geertu: the DT will only use an invalid entry if the bindings header has dropped a clock ID
<geertu> abelvesa_: Or when using a new DTB with an old kernel. Or when using a literal number in the DT ;-)
<abelvesa_> geertu: yes, but those we never considered valid scenarios anyway, right ? :)
lag has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
lag has joined #armlinux
<geertu> abelvesa_: They should not cause OOB.
lag has quit [Client Quit]
lag has joined #armlinux
nsaenz has joined #armlinux
frieder has quit [Ping timeout: 252 seconds]
frieder has joined #armlinux
gclement has quit [Ping timeout: 252 seconds]
iivanov has joined #armlinux
headless has joined #armlinux
gclement has joined #armlinux
<arnd> abelvesa_: I'm pretty sure on imx, stm32 or zynq there are tons of boards with vendor-provided dtb that are expected to just work with upstream kernels and not get upstreamed. On other platforms the bindings the bindings were never complete enough to allow that
<LeSpocky> fwiw, I know at least a hand full of at91 based boards with not-upstreamed vendor dtb, which just work with mainline kernel
apritzel has joined #armlinux
headless has quit [Quit: Konversation terminated!]
sszy has joined #armlinux
<krzk> arnd: LeSpocky: oh cool, I will store above quotes because people all the time question my "out of tree users" of bindings/ABI etc.
<LeSpocky> ^^
<LeSpocky> getting a new board to run is basically just creating a new dts, include the soc dtsi, add a few nodes and you're done, I mean that was the idea behind device tree, wasn't it?
amitk has joined #armlinux
iivanov has quit [Remote host closed the connection]
<krzk> LeSpocky: Idea is to upstream things. People, including me, do not care about stuff not being in the upstream. DTS and bindings create here an exception, but I would not call that exception as "idea behind". It's just acceptable exception.
<krzk> So you want to be sure we won't break your boards? Upstream them. Or participate in discussions, set a lei/lore filter etc. Otherwise it is just best effort from our side.
iivanov has joined #armlinux
biju has joined #armlinux
<LeSpocky> krzk: think we are talking about different things here, but in general agreed
iivanov has quit [Ping timeout: 255 seconds]
iivanov has joined #armlinux
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
headless has joined #armlinux
mripard has quit [Quit: mripard]
mripard has joined #armlinux
dmart has joined #armlinux
headless has quit [Quit: Konversation terminated!]
iivanov has quit [Remote host closed the connection]
headless has joined #armlinux
monstr has quit [Remote host closed the connection]
gclement has quit [Ping timeout: 244 seconds]
iivanov has joined #armlinux
heat has joined #armlinux
iivanov has quit [Ping timeout: 252 seconds]
frieder has quit [Remote host closed the connection]
iivanov has joined #armlinux
iivanov has quit [Ping timeout: 244 seconds]
iivanov has joined #armlinux
iivanov has quit [Ping timeout: 264 seconds]
prabhakalad has quit [Ping timeout: 252 seconds]
prabhakalad has joined #armlinux
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
spew has joined #armlinux
iivanov has joined #armlinux
iivanov has quit [Ping timeout: 245 seconds]
iivanov has joined #armlinux
iivanov has quit [Ping timeout: 252 seconds]
apritzel has quit [Remote host closed the connection]
apritzel has joined #armlinux
apritzel has quit [Ping timeout: 252 seconds]
robmur01 has quit [Read error: Connection reset by peer]
robmur01 has joined #armlinux
iivanov has joined #armlinux
iivanov has quit [Ping timeout: 260 seconds]
iivanov has joined #armlinux
mvaittin has joined #armlinux
mvaittin has quit [Ping timeout: 265 seconds]
biju has quit [Quit: Konversation terminated!]
iivanov has quit [Remote host closed the connection]
apritzel has joined #armlinux
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
cbeznea has quit [Ping timeout: 252 seconds]
iivanov has joined #armlinux
iivanov has quit [Ping timeout: 252 seconds]
iivanov has joined #armlinux
headless has quit [Quit: Konversation terminated!]
iivanov has quit [Ping timeout: 276 seconds]
amitk_ has joined #armlinux
amitk has quit [Ping timeout: 248 seconds]
iivanov has joined #armlinux
iivanov has quit [Ping timeout: 252 seconds]
haritz has quit [Ping timeout: 272 seconds]
haritz has joined #armlinux
haritz has quit [Changing host]
haritz has joined #armlinux
iivanov has joined #armlinux
iivanov has quit [Ping timeout: 245 seconds]
iivanov has joined #armlinux
apritzel has quit [Ping timeout: 245 seconds]
iivanov has quit [Ping timeout: 245 seconds]