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
bret has joined #armlinux
apritzel_ has quit [Ping timeout: 276 seconds]
rfs613 has quit [Ping timeout: 255 seconds]
rfs613 has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
hanetzer has quit [Ping timeout: 265 seconds]
hanetzer has joined #armlinux
haritz has quit [Read error: Connection reset by peer]
haritz has joined #armlinux
haritz has joined #armlinux
haritz has quit [Changing host]
bret has quit [Ping timeout: 255 seconds]
jclsn has quit [Ping timeout: 250 seconds]
jclsn has joined #armlinux
bret has joined #armlinux
elastic_dog has quit [Ping timeout: 248 seconds]
elastic_dog has joined #armlinux
heat has quit [Ping timeout: 265 seconds]
heat has joined #armlinux
iivanov has joined #armlinux
cbeznea has joined #armlinux
amitk has joined #armlinux
heat has quit [Remote host closed the connection]
heat_ has joined #armlinux
m5zs7k has quit [Ping timeout: 255 seconds]
xvmt has quit [Ping timeout: 255 seconds]
agraf has quit [Ping timeout: 255 seconds]
benh has quit [Ping timeout: 255 seconds]
vkoul has quit [Ping timeout: 255 seconds]
Patater has quit [Ping timeout: 255 seconds]
rfs613 has quit [Quit: restart]
xvmt_ has joined #armlinux
agraf_ has joined #armlinux
benh_ has joined #armlinux
m5zs7k_ has joined #armlinux
agraf_ is now known as agraf
rfs613 has joined #armlinux
xvmt_ is now known as xvmt
Patater has joined #armlinux
vkoul has joined #armlinux
m5zs7k_ is now known as m5zs7k
luispm has joined #armlinux
guillaume_g has joined #armlinux
viorel_suman has joined #armlinux
frieder has joined #armlinux
monstr has joined #armlinux
bps has joined #armlinux
bps has joined #armlinux
bps has quit [Changing host]
heat has joined #armlinux
heat_ has quit [Ping timeout: 240 seconds]
headless has joined #armlinux
heat has quit [Ping timeout: 248 seconds]
prabhakarlad has joined #armlinux
sszy has joined #armlinux
apritzel has joined #armlinux
iivanov has quit [Ping timeout: 240 seconds]
monstr has quit [Remote host closed the connection]
iivanov has joined #armlinux
monstr has joined #armlinux
elastic_dog has quit [Ping timeout: 252 seconds]
elastic_dog has joined #armlinux
sakman_ has quit [Remote host closed the connection]
sakman_ has joined #armlinux
cbeznea has quit [Quit: Leaving.]
cbeznea has joined #armlinux
<robmur01> HdkR: not quite Altra, but my eMAG has a WX5100 and it's behaving OK with standard Ubuntu kernels (other than HDMI audio last time I tried that, but that appeared to be the HDA driver having bizarre behaviour hard-coded for !x86)
<robmur01> what hacks did LX2160 require?
<HdkR> robmur01: Requires changing some IO WC memory to straight IO which hits unaligned access faults when newer GPUs try to load their firmware
<robmur01> ah, OK, that's liable to be a general arm64 thing then
<HdkR> They also have a patch for mesa to push some buffers through GTT if it is under 1MB which is hilariously bad
<HdkR> It would be shame if I nab an Ampere and then I can't use a GPU in it
<HdkR> If the IO coherency is still busted on Ampere then it will be hard to justify
monstr has quit [Remote host closed the connection]
monstr has joined #armlinux
lag has quit [Quit: ZNC - https://znc.in]
lag has joined #armlinux
headless has quit [Quit: Konversation terminated!]
<robmur01> coherency should be less of an issue on Altra due to how CMN-600 works
<robmur01> how any given PCIe IP handles unaligned accesses will remain more of a crapshoot
monstr has quit [Remote host closed the connection]
monstr has joined #armlinux
monstr has quit [Remote host closed the connection]
<HdkR> Hm
monstr has joined #armlinux
<HdkR> Terrified of sticking an RX 6900XT in to the thing and it not working. Wasting many many thousands of monies
monstr has quit [Remote host closed the connection]
monstr has joined #armlinux
<HdkR> Which I guess if Grace uses the same CMN then I can't expect things to work there either
<robmur01> that does sound like an expensive way of running llvmpipe on top of EFI GOP, even if it would have plenty of CPU grunt for that :D
<HdkR> eesh, that would be rough
<robmur01> Grace is all about its own GPU though, no?
<HdkR> Grace is the CPU side component, where Grace+Hopper is the combo thingy
<HdkR> NVIDIA showed off a Grace+Grace config which would more match what I want
<robmur01> Ah, that was it. These days I struggle to remember what all our own codenames refer to, let alone anyone else's...
<HdkR> Orin was also a platform I tried testing but rebuilding NVIDIA's kernel is a nightmare so I gave up on it
<HdkR> and that platform can't use VFIO to just stick things in to a VM with passthrough
<robmur01> Was that the one that's mainly just a dodgy DT? I debugged some NVIDIA VFIO thing on-list recently.
<HdkR> Not sure, from a user's perspective it would generate virtual PCIe bridges that wouldn't ever bind to the vfio group
<HdkR> IOMMU grouping looked like it was working correctly
monstr has quit [Remote host closed the connection]
<HdkR> Ouch
<HdkR> `So if you want to try SR-IOV on an ARM-based platform, don't use an NVIDIA Orin board` Yea, same board then
<HdkR> Same behaviour I saw as well
<robmur01> although IIRC the SoC has like 10 distinct root complexes, so it kind of looks "assign entire RC to a VM" might have actually been a considered usage model :/
<robmur01> *looks like
monstr has joined #armlinux
<HdkR> It certainly is a wacky AI/Car SoC
<HdkR> Maybe I'll just wait until there is some Neoverse-V3 or V4 thing on the market instead
<robmur01> or maybe Intel starts licensing PCIe IP for the true "works like x86" experience :D
<HdkR> haha
<bjdooks> someone got a good deal on designware pcie?
<geertu> bjdooks: shimoda-san, I guess?
Perflosopher has quit [Ping timeout: 246 seconds]
Perflosopher has joined #armlinux
frieder has quit [Ping timeout: 264 seconds]
amitk has quit [Ping timeout: 240 seconds]
<ukleinek> robher: I don't understand the dtc docs for -@. It says to generate a __local_fixups__ node, but either I don't understand something or the code disagrees?!
frieder has joined #armlinux
<robher> ukleinek: Does your overlay have a reference to a phandle node defined within the overlay?
<ukleinek> robher: I don't have an overlay
<ukleinek> robher: prototype patch: https://paste.debian.net/hidden/9b91686f/
milkylainen has quit [Quit: aaa!]
<robher> ukleinek: No idea if that's correct or not offhand. Send it to the DTC list. I thought just having /plugin/ was enough to generate both types of fixup nodes.
<ukleinek> robher: For some reason I want a __local_fixups__ in a normal dtb, but actually that is orthogonal to the documentation strangeness. Will write a mail. Thanks
viorel_suman has quit [Quit: WeeChat 3.6]
PobodysNerfect_ has joined #armlinux
matthias_bgg has joined #armlinux
PobodysNerfect has quit [Ping timeout: 255 seconds]
<marcan> hm, I just ran into a thing and I'm surprised nobody else has yet...
<marcan> as far as I can tell, the genpd core unconditionally powers off genpds in the suspend (not RPM) path once all dependent devices have been suspended, and there is no way for the device to prevent that without aborting the whole suspend cycle
<marcan> ... which is a bit of a problem for the UART driver if it has a power domain and no_console_suspend was passed, since then it'll get powered down anyway and then everything explodes on the next kernel message.
<marcan> am I missing something?
<marcan> in general, forcing genpds not to power off from the device driver seems like a desirable thing. e.g. right now we don't support proper save/restore for PCIe in s2idle, which is fine as long as those PDs never power off. that's worked around right now at the PD level (marking it always-on in the DT), but that means once we *do* implement this and remove that, older PCIe drivers will break on newer ...
<marcan> ... DTs.
<marcan> having the driver blocking genpd poweroff on suspend directly would make a lot more sense here too
PobodysNerfect_ has quit [Quit: Gone to sleep. ZZZzzz…]
heat has joined #armlinux
PobodysNerfect has joined #armlinux
sszy has quit [Ping timeout: 255 seconds]
amitk has joined #armlinux
guillaume_g has quit [Quit: Konversation terminated!]
<geertu> marcan: there should be some no_console_suspend handling, lemme check
<geertu> marcan: drivers/soc/renesas/rmobile-sysc.c has rmobile_pd_suspend_console() { return console_suspend_enabled ? 0 : -EBUSY; }
frieder has quit [Remote host closed the connection]
<geertu> which relies on the PM Domain that contains of_stdout to be handled special
<marcan> uh. so we need to special case this in the *power domain driver*?
<marcan> that seems completely backwards, the driver that knows about the console is the serial driver
<marcan> I don't want to start adding hacks to the (trivially simple) genpd driver we have for stuff like this
<marcan> if we want to do pcie properly etc, it'll become a giant mess when everything is now nicely described in the DT
<marcan> surely there *ought* to be a way for drivers to request their genpds not be powered down on suspend
<geertu> marcan: For wake-irqs, there is indeed such a mechanism
<marcan> yeah, device_wakeup_path / genpd_is_active_wakeup
<marcan> how inappropriate would it be to abuse that for stuff that needs to stay on? :p
<geertu> drivers/tty/serial/serial_core.c has some "console_suspend_enabled && uart_console(uport)" checks
<marcan> yeah, that doesn't do anything though
<marcan> it doesn't actually block the genpd suspend
monstr has quit [Remote host closed the connection]
<marcan> geertu: honestly, I almost feel like that wakeup_path stuff should just be renamed to powered_in_sleep or similar. it's basically exactly what I want, just named after a more specific use case than mine.
milkylainen has joined #armlinux
amitk has quit [Ping timeout: 248 seconds]
heat_ has joined #armlinux
heat has quit [Read error: Connection reset by peer]
amitk has joined #armlinux
apritzel has quit [Ping timeout: 255 seconds]
heat_ is now known as heat
headless has joined #armlinux
cbeznea has quit [Quit: Leaving.]
sakman_ is now known as sakman
cbeznea has joined #armlinux
amitk has quit [Ping timeout: 240 seconds]
afa has joined #armlinux
afa has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
a3f_ has joined #armlinux
chipxxx has joined #armlinux
a3f is now known as a3f[m]
a3f_ is now known as a3f
apritzel_ has joined #armlinux
heat has quit [Ping timeout: 248 seconds]
heat has joined #armlinux
d4ve has joined #armlinux
apritzel_ has quit [Ping timeout: 248 seconds]
apritzel_ has joined #armlinux
cbeznea has quit [Quit: Leaving.]
headless has quit [Quit: Konversation terminated!]
amitk has joined #armlinux
amitk__ has quit [Ping timeout: 248 seconds]
chipxxx has quit [Quit: Leaving]
chipxxx has joined #armlinux
chipxxx has quit [Remote host closed the connection]
chipxxx has joined #armlinux
chipxxx has quit [Quit: Leaving]
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
apritzel_ has quit [Ping timeout: 240 seconds]