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
apritzel_ has quit [Ping timeout: 268 seconds]
jclsn has quit [Ping timeout: 252 seconds]
jclsn has joined #armlinux
heat has quit [Ping timeout: 252 seconds]
hanetzer has joined #armlinux
rfs613 has quit [Remote host closed the connection]
amitk has joined #armlinux
hanetzer has quit [Ping timeout: 252 seconds]
hanetzer has joined #armlinux
apritzel_ has joined #armlinux
apritzel_ has quit [Ping timeout: 252 seconds]
elastic_dog has quit [Ping timeout: 252 seconds]
elastic_1 has joined #armlinux
elastic_1 is now known as elastic_dog
headless has joined #armlinux
hanetzer has quit [Ping timeout: 252 seconds]
iivanov has joined #armlinux
hanetzer has joined #armlinux
monstr has joined #armlinux
sszy has joined #armlinux
hanetzer has quit [Ping timeout: 272 seconds]
hanetzer has joined #armlinux
cleger has joined #armlinux
guillaume_g has joined #armlinux
iivanov has quit [Remote host closed the connection]
iivanov has joined #armlinux
cmarinas has quit [Ping timeout: 248 seconds]
cbeznea has joined #armlinux
cmarinas has joined #armlinux
ggardet has joined #armlinux
guillaume_g has quit [Ping timeout: 252 seconds]
ggardet is now known as guillaume_g
headless has quit [Ping timeout: 272 seconds]
headless has joined #armlinux
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
amitk_ has joined #armlinux
amitk has quit [Ping timeout: 265 seconds]
frieder has joined #armlinux
<mwalle> krzk: robher: re https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20221202151204.3318592-4-michael@walle.cc/, any updates on this? it is marked as changes requested in PW, so I just want to make sure it doesn't get lost
cbeznea has quit [Ping timeout: 260 seconds]
<krzk> mwalle changes requested means it is expected to see next version, so the ball is on your side
<mwalle> krzk: there's need for a discussion (at least that's how is see it), see my last mail there. So I'm not sure, what else I'm supposed to do
<mwalle> (except for waiting for an answer from you or rob, but since it is marked as changes requested, I'm not sure there will be any. hence i just asked :)
<krzk> It's still not correct. You wrote there "Arguable, but you can interpret "use broken-interrupts" as no-op if there are no broken interrupts." - but that's not how DTS works. You cannot add properties which are not describing hardware assuming these are "no-ops"
<krzk> mwalle: the dts describes the hardware here, so if there are broken interrupts, but interrupts are not broken, it is not proper description anymore.
<krzk> mwalle what is more, once broken interrupts are in some DTS - given kernel will always interpret them as broken or always ignore, right? How do you see the "opt-in" to work (in respect of the ABI)?
cbeznea has joined #armlinux
<robmur01> FWIW it does seem a bit backwards to me for a DT property to state that whoever consumes the DT "can live with the consequences"... How does the DT know?
<robmur01> especially if consumers who don't actually know what they're doing are just going to see the standard property, try to use it as expected, and have a bad time
<robmur01> basically it isn't workable to have a property that says "hey, that thing over there isn't what it looks like"
<mwalle> krzk: ok i see your point. and maybe that property has a wrong name, but ultimately, it's just a hint that the systems designer wants to use the interrupts even if they don't work as expected, because they work on that particular hardware.
<mwalle> krzk: the interrupt line is there but it's broken, there are device trees out there with that property, so all we can do is to not use the interrupts for that PHY
<mwalle> krzk: but as a systems designer who is aware of the consequences and knowing that they don't apply to my board, how could i then tell the driver to use it anyway
<mwalle> robmur01: the board designer knows, for example, because maybe the interrupt isn't shared. maybe this could also be deduced by the driver. mh.
cbeznea has quit [Read error: Connection reset by peer]
<krzk> mwalle if you can move any of this into the kernel (auto-detection), then it's better. Anyway, in general I could find the use of that property, especially if commit msg includes some of our talk. However you still have robher concerns about missing compatible and that schema cannot validate such binding.
<mwalle> krzk: I'd need to know if the interrupt line is a shared one. But I don't think thats possible, because it could be shared at any later time, i.e. when other drivers registers for that irq
<krzk> mwalle: hm, don't you need to put SHARED flag if any driver shares it? IOW, if there is SHARED flag you assume it is shared?
<mwalle> krzk: regaring the compatibility, does that only apply to the example? as mentioned in my mail, that seems to be a problem of any network phy bindings, see for example the qca,ar803x.yaml
<mwalle> krzk: the shared flag only means that this irq *can* be shared with others (which also sets this flag), no? But I'd need to know (in advance) if this line is actually shared on that board
<krzk> mwalle: qca,ar803 would have the same problem. If it was referenced from other bindings, this would solve the problem.
<mwalle> krzk: what other bindings? Could you give an example? TBH, I don't know how the custom properties are supposed to work. I was under the impression that you can just mix and combine them in one node. Eg. you could have qca,.. and maxlinear,.. in one node.
<mwalle> krzk: yes I know, that would imply that there is one device tree for two different board variants, one with a maxlinear phy and one with a qca phy
cbeznea has joined #armlinux
<mwalle> krzk: IMHO that is a real use case. with the chip shortage lately, some OEMs switch to different PHYs. Which should work because they are probed automatically, unless of course they have some device tree properties...
<mwalle> krzk: I don't think qca,ar803x.yaml is the only one. I think any phy bindings have that problem. 'grep "ref.*ethernet-phy.yaml" Documentation/devicetree/bindings/net/*yaml'
apritzel has joined #armlinux
headless has quit [Quit: Konversation terminated!]
ggardet has joined #armlinux
<krzk> mwalle: bindings for parent device node should reference specific phy then, not ethernet-phy.
guillaume_g has quit [Ping timeout: 252 seconds]
haritz has joined #armlinux
haritz has joined #armlinux
haritz has quit [Changing host]
rfs613 has joined #armlinux
naoki has quit [Quit: naoki]
torez has joined #armlinux
cmarinas has quit [Ping timeout: 252 seconds]
heat has joined #armlinux
<robher> mwalle: the kernel could walk all the interrupt properties and determine if an interrupt is shared. (assuming a complete DT)
<geertu> mwalle: oh, shared interrupts
<mwalle> krzk: so an mdio bus controller should reference all available phys? i mean there could be any phy on that bus
<mwalle> robher: mh, I see, nice idea. would that be something for drivers/of/ ?
<robher> mwalle: Yeah, unless we can do the same thing with ACPI and then there should be a common interface.
<robher> Though the backend for DT would still probably live in drivers/of/
apritzel has quit [Ping timeout: 260 seconds]
ggardet has quit [Quit: Konversation terminated!]
cmarinas has joined #armlinux
cmarinas has quit [Client Quit]
cmarinas has joined #armlinux
headless has joined #armlinux
frieder has quit [Remote host closed the connection]
cleger has quit [Quit: Leaving]
<robmur01> not sure it's practical for ACPI, since it would involve rounding up GSIVs from all manner of vendor-defined static tables, not just the namespace
apritzel_ has joined #armlinux
Arch1 has joined #armlinux
monstr has quit [Quit: Leaving]
<Arch1> hello
Arch1 has left #armlinux [#armlinux]
plappermaul has joined #armlinux
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
prabhakarlad has quit [Quit: Client closed]
heat has quit [Remote host closed the connection]
heat has joined #armlinux
headless has quit [Quit: Konversation terminated!]
elastic_1 has joined #armlinux
elastic_1 is now known as elastic_dog
elastic_dog is now known as Guest9115
plappermaul has quit [Quit: Client closed]
headless has joined #armlinux
torez has quit [Quit: torez]
prabhakarlad has joined #armlinux
iivanov has quit [Quit: Leaving...]
cbeznea has quit [Ping timeout: 268 seconds]
naoki has joined #armlinux
headless has quit [Quit: Konversation terminated!]
hanetzer has quit [Ping timeout: 252 seconds]
hanetzer has joined #armlinux
Misotauros has quit [Ping timeout: 260 seconds]
Misotauros has joined #armlinux
heat_ has joined #armlinux
heat has quit [Ping timeout: 256 seconds]