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
prabhakalad has quit [Ping timeout: 252 seconds]
prabhakalad has joined #armlinux
arj has joined #armlinux
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #armlinux
System_Error has quit [Remote host closed the connection]
atorgue has quit [Read error: Connection reset by peer]
atorgue has joined #armlinux
System_Error has joined #armlinux
mriesch has quit [Remote host closed the connection]
mriesch has joined #armlinux
nsaenz has joined #armlinux
CrashTestDummy has joined #armlinux
CrashTestDummy has quit [Client Quit]
balrog has quit [Ping timeout: 252 seconds]
balrog has joined #armlinux
mal`` has quit [Ping timeout: 276 seconds]
nsaenz has quit [Remote host closed the connection]
mal`` has joined #armlinux
dougg3 has quit [Quit: Coyote finally caught me]
dougg3 has joined #armlinux
arj has quit [Ping timeout: 276 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
siak has joined #armlinux
monstr has joined #armlinux
monstr has quit [Ping timeout: 252 seconds]
cbeznea_ has joined #armlinux
Nact has joined #armlinux
mriesch has quit [Remote host closed the connection]
mriesch has joined #armlinux
luispm has joined #armlinux
arj has joined #armlinux
Lucanis_ has quit [Ping timeout: 248 seconds]
gclement has joined #armlinux
arj has quit [Ping timeout: 252 seconds]
mripard has joined #armlinux
<lag>
CounterPillow: There is no documentation to differentiate between; ACPI, I2C, SPI, DT, MFD, Auxbus or raw Platform Device registration because the choice between, at least the last 4, in the list is highly nuanced - often any will do the job
atorgue1 has joined #armlinux
<lag>
Forty-Bot: CounterPillow Auxbus is about 5 years old, MFD has been around for 20 years - personally I don't know anything about auxbus, it looks like a very simple shim layer over the Driver layer - MFD works at the Platform layer (one level down)
atorgue__ has joined #armlinux
<lag>
I believe Auxbus came into fruition because some devices simply do not fit in the Platform Devices realm (like PCI for example) - so pushing them through MFD, which turns the subdevices into Platform Devices was frowned upon
atorgue has quit [Read error: Connection reset by peer]
<lag>
If you have a Platform Device that you wish to split-up into more Platform Devices, then MFD is the canonical choice
atorgue1 has quit [Read error: Connection reset by peer]
<lag>
Again, I can't comment on Auxbus, but MFD is pretty flexible - pinning it down in documentation to work only within a particular remit would be tricky and would, as you've seen from the old articles you referenced become out-of-date pretty quickly
<lag>
I stand by the fact that MFD is still simple enough, even after 20 years, not to require documentation (which would read "splits up multi-function devices, registers them as Platform Devices and handles shared resources")
<lag>
Not asking for advice because you feared not getting a reply (if that was even a consideration before the fact) was not a good decision IMHO
<lag>
Ref: "because none of you do it", who is "you" here? That's a crazy thing to say. This is a community. Plenty of people author documentation when it is applicable. Are you really trying to distance or elevate yourself over it?
sszy has joined #armlinux
arj has joined #armlinux
<CounterPillow>
"Are you really trying to distance or elevate yourself over it?" it's always a community effort when code already merged needs work but always on the submitter to do "while you're at it" when new code that tangentially touches something that needs work, it's not me who's doing the distancing I don't think. FWIW, auxbus is documented, and explains its nuance: https://docs.kernel.org/driver-api/auxiliary_bus.html "These individual devices
<CounterPillow>
split from the core cannot live on the platform bus as they are not physical devices that are controlled by DT/ACPI. The same argument applies for not using MFD in this scenario as MFD relies on individual function devices being physical devices."
<geertu>
CounterPillow: Nice! Several Renesas RZ/* SoCs also use hiword masks in e.g. clock registers (but lots of masks are non-const)
<geertu>
prabhakalad: ^
<CounterPillow>
geertu: so does Intel, and yet I still had to defend the whole idea of this living in a generic header to a maintainer who dismissed it outright as unnecessary and clearly just a vendor-specific convention ;D
arj has quit [Ping timeout: 265 seconds]
<lag>
CounterPillow: I wouldn't reject he documentation if it adds value
<lag>
I could have sworn that linusw__ drafted something up about a decade ago - not sure where that went (or whether I just imagined the whole thing)
headless has joined #armlinux
nsaenz has joined #armlinux
headless has quit [Quit: Konversation terminated!]
siak has quit [Remote host closed the connection]
siak has joined #armlinux
<geertu>
CounterPillow: I am also having a hard time defending non-const field_{prep,get}() variants...
<prabhakalad>
geertu: good point. I will get it switched to constants.
monstr has joined #armlinux
siak has quit [Remote host closed the connection]
<geertu>
prabhakalad: You can't for many, as you access most fields by number
<prabhakalad>
Ah right!
siak has joined #armlinux
siak has quit [Remote host closed the connection]
siak has joined #armlinux
siak has quit [Remote host closed the connection]
monstr has quit [Ping timeout: 252 seconds]
siak has joined #armlinux
siak has quit [Remote host closed the connection]
<robmur01>
CounterPillow: thanks for the reminder that I should revive my series to majorly churn the PMU caps to make them less silly :)
nsaenz_ has joined #armlinux
<robmur01>
(and feel free to hit me up if you just want PMU driver help in a hurry)
<CounterPillow>
robmur01: thanks for the offer <3 I'm currently no longer actively working on that PMU driver as I got snatched by a different project, but I may come back to it in the future
<robmur01>
heh, my interrupt stack is currently upstream work > PMU driver > PMU driver > PMU driver > massive panic
siak has joined #armlinux
nsaenz has quit [Ping timeout: 276 seconds]
HerbY_NL has quit [Ping timeout: 252 seconds]
siak has quit [Remote host closed the connection]
<Xogium>
no oops ? I thought oops always were precursor to panics
siak has joined #armlinux
<Xogium>
or do you mean panic in real life ;)
HerbY_NL has joined #armlinux
siak has quit [Remote host closed the connection]
siak has joined #armlinux
siak has quit [Remote host closed the connection]
<robmur01>
if it carries on being this hot, it's possible I may oops as well :)
atorgue1 has joined #armlinux
<Xogium>
true
atorgue__ has quit [Ping timeout: 248 seconds]
<Xogium>
I'm rather lucky to be in a region where the heat isn't so extreme
<Xogium>
mind you, we're still going to hit 27 today, but 27 is nothing compared to some places
atorgue__ has joined #armlinux
atorgue1 has quit [Read error: Connection reset by peer]
HerbY_NL has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
grahamn has quit [Remote host closed the connection]
haritz has joined #armlinux
haritz has quit [Changing host]
haritz has joined #armlinux
nsaenz has joined #armlinux
nsaenz_ has quit [Read error: Connection reset by peer]
HerbY_NL has joined #armlinux
HerbY_NL has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
HerbY_NL has joined #armlinux
HerbY_NL has quit [Client Quit]
Poltawer has joined #armlinux
nsaenz has quit [Ping timeout: 248 seconds]
HerbY_NL has joined #armlinux
nsaenz has joined #armlinux
HerbY_NL has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nsaenz has quit [Remote host closed the connection]
HerbY_NL has joined #armlinux
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
prabhakalad has quit [Read error: Connection reset by peer]
HerbY_NL has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rvalue- has joined #armlinux
rvalue has quit [Ping timeout: 272 seconds]
rvalue- is now known as rvalue
<Forty-Bot>
CounterPillow: thanks for sending that perf patch; I took a stab at creating a perf driver a while back and had no clue what flags to set
prabhakalad has joined #armlinux
atorgue__ has quit [Quit: Leaving]
headless has joined #armlinux
headless_ has joined #armlinux
headless has quit [Ping timeout: 252 seconds]
headless_ is now known as headless
<lag>
robmur01: 34C where I am over the weekend :'-p
<lag>
robmur01: I thought it would be even hotter down south?
<robmur01>
lag: yikes! My sensor says 31.4 outside right now...
<lag>
robmur01: 31.8C ;-)
<lag>
Same as my inside sensor (I work in a converted garden room at the bottom of my garden!
<lag>
[I really should start proof reading my replies before hitting return] :)