#
✕ nick:sven
#asahi · 2021-10-18 15:12
svenworks for me
#asahi · 2021-10-18 14:47
svenyou actually cloned yourself? impressive!
#asahi · 2021-10-18 12:44
sven^-- smart! :p
#asahi · 2021-10-18 08:24
svenyou could also write a spi driver and write to that nor flash to disable the bootup sound from linux - but where's the fun in that?
#asahi · 2021-10-18 08:15
sveni hear a dremel or similar tools should work fine for that
#asahi · 2021-10-18 08:02
svenit also doesn't go through DART
#asahi · 2021-10-18 08:02
sventhe nvme page size is 4k
#asahi · 2021-10-18 08:01
svenno
#asahi · 2021-10-18 07:45
svenespecially because all that performance stuff should be handled by the regular linux nvme code
#asahi · 2021-10-18 07:45
svenGlanzmann: huh, that's a surprisingly large difference
#asahi · 2021-10-18 06:27
sventhere's a reason i want to run linux on these machines ;)
#asahi · 2021-10-18 06:26
svenhaven't even tried
#asahi · 2021-10-18 06:23
sveni'll first focus on getting a working version upstream. then i can look into making it faster if required
#asahi · 2021-10-18 06:20
sventhen figure out all the things i did wrong during review and clean those up as well
#asahi · 2021-10-18 06:20
svenclean it up and then submit it
#asahi · 2021-10-18 06:16
svenit's not the "proper" way without sending the shutdown commands first but it'll work fine
#asahi · 2021-10-18 06:15
svenpovik: but can just use marcan's reset controller to make ANS work again after it's been initialized once
#asahi · 2021-10-18 06:15
svenjust want to submit another version of that 4k iommu series first
#asahi · 2021-10-18 06:15
svenbut i'm about to finally get back to nvme
#asahi · 2021-10-18 06:15
svenpovik: those are "documented" somewhere in the logs of this channel :(
#asahi · 2021-10-17 21:19
svenor, if you wanna do it the proper way, send the commands to shutdown ANS2 and then adjust the nvme driver to issue a reset
#asahi · 2021-10-17 21:19
svenif you send the right commands to e.g. ANS2 it will go to hibernation/deep-sleep mode and then the next linux kernel would be able to wake it up again
#asahi · 2021-10-17 21:18
svenokay. so that's not impossible but it's going to be bit messy right now
#asahi · 2021-10-17 21:18
svenok. that's what i was asking :D
#asahi · 2021-10-17 21:15
svenpovik: what does that mean? does it use a literal linux kernel which would probe DCP, ANS and everything else? or does it just implement the kexec protocol?
#asahi · 2021-10-17 21:14
svenpovik: so petitboot is another linux kernel? or how does that work?
#asahi · 2021-10-17 21:13
svenpovik: what exactly is your use case?
#asahi · 2021-10-17 21:10
sventhat'll work for ANS, but i think it didn't work for DCP because DCP then probably speaks the iBoot protocol which we don't know about
#asahi · 2021-10-17 21:10
sventhe "proper" way is to shutdown the nvme co-processor and then use that reset provider marcan implemented
#asahi · 2021-10-17 21:09
svenj_ey: i don't think it does (unless i commited a hack) but that's fixable at least
#asahi · 2021-10-17 21:08
svennvme definitely won't
#asahi · 2021-10-17 21:08
svennope. anything that uses the rtkit library right now will likely not work
#asahi · 2021-10-17 19:20
svenso it's more or less what i said above
#asahi · 2021-10-17 19:20
svenhttps://elixir.bootlin.com/linux/latest/source/drivers/base/dd.c#L35
#asahi · 2021-10-17 19:18
svenuh... maybe? :D
#asahi · 2021-10-17 19:17
sveniirc EPROBE_DEFER effectively moves the device to a "wait list". and whenever another device has successfully probed everything from that "wait list" is tried again
#asahi · 2021-10-17 19:13
svenwhat are you trying to do?
#asahi · 2021-10-17 19:12
sveni don't know what that means
#asahi · 2021-10-17 19:04
svenalyssa: "subsystem stuff"?
#asahi · 2021-10-17 18:39
svenj_ey: yeah :D
#asahi · 2021-10-17 18:37
svenprobably the color of the screen :)
#asahi · 2021-10-17 17:10
svenFixes: youtube.com/watch?v=whatever&t=123s :D
#asahi · 2021-10-17 16:14
svenuh. that function is literally three lines of code, so sure
#asahi · 2021-10-17 16:13
svenyou'll just need a new function to allocate a unmanaged domain that allows larger IOMMU pages
#asahi · 2021-10-17 16:12
sventhat doesn't matter
#asahi · 2021-10-17 16:12
svendepends on what you end up using there
#asahi · 2021-10-17 15:41
svenyeah, dropping minItems fixes it
#asahi · 2021-10-17 15:39
svenah
#asahi · 2021-10-17 15:39
svenhuh, why doesn't it want to apply that patch to my tree :/
#asahi · 2021-10-17 15:37
sveni think i just need to drop the "minItems: 4"

plus ›