marcan changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
titanous has quit [Ping timeout: 260 seconds]
brinly has quit [Ping timeout: 264 seconds]
sirn has quit [Ping timeout: 244 seconds]
HeN has quit [Read error: Connection reset by peer]
sferrini has quit [Ping timeout: 264 seconds]
eric_engestrom has quit [Ping timeout: 264 seconds]
titanous has joined #asahi-dev
HeN has joined #asahi-dev
sferrini has joined #asahi-dev
jkkm has quit [Ping timeout: 260 seconds]
sirn has joined #asahi-dev
hatf0 has quit [Ping timeout: 264 seconds]
narmstrong has quit [Ping timeout: 264 seconds]
brinly has joined #asahi-dev
eric_engestrom has joined #asahi-dev
hatf0 has joined #asahi-dev
narmstrong has joined #asahi-dev
jkkm has joined #asahi-dev
acelogic has joined #asahi-dev
DanB91 has joined #asahi-dev
DanB91 has quit [Ping timeout: 264 seconds]
amw2 has joined #asahi-dev
Namidairo has quit [Read error: Connection reset by peer]
Namidairo has joined #asahi-dev
acelogic has quit [Remote host closed the connection]
acelogic has joined #asahi-dev
DanB91 has joined #asahi-dev
amw2 has quit [Ping timeout: 246 seconds]
DanB91 has quit [Ping timeout: 260 seconds]
Esmil has quit [Ping timeout: 256 seconds]
Esmil has joined #asahi-dev
amw2 has joined #asahi-dev
DarthCloud has quit [Remote host closed the connection]
DarthCloud has joined #asahi-dev
amw2 has quit [Ping timeout: 256 seconds]
DanB91 has joined #asahi-dev
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi-dev
amw2 has joined #asahi-dev
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi-dev
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi-dev
amw2 has quit [Ping timeout: 240 seconds]
amw2 has joined #asahi-dev
PhilippvK_ has joined #asahi-dev
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 240 seconds]
DanB91 has quit [Ping timeout: 260 seconds]
PhilippvK_ has joined #asahi-dev
PhilippvK has quit [Ping timeout: 240 seconds]
PhilippvK has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 256 seconds]
amw2 has quit [Ping timeout: 260 seconds]
PhilippvK_ has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 246 seconds]
amw2 has joined #asahi-dev
PhilippvK_ has joined #asahi-dev
amw2 has quit [Ping timeout: 246 seconds]
tiagom has joined #asahi-dev
tiagom has quit [Quit: leaving]
tiagom has joined #asahi-dev
tiagom has quit [Client Quit]
tiagom has joined #asahi-dev
tiagom has left #asahi-dev [#asahi-dev]
tiagom has joined #asahi-dev
tiagom has left #asahi-dev [#asahi-dev]
tiagom has joined #asahi-dev
tiagom has quit [Quit: leaving]
tiagom has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 272 seconds]
tiagom has quit [Client Quit]
tiagom has joined #asahi-dev
tiagom has quit [Quit: leaving]
<winocm> marcan: fwiw, S3 is actually system register, S2 is debug register, S1 is system operation, -- https://gist.github.com/SciresM/edee7a2e388480e0df43b7bacf94ca33#file-arm64-py-L1971, and refer to SysReg_xml from ARM, the ISA specification. https://developer.arm.com/-/media/developer/products/architecture/armv8-a-architecture/2019-12/SysReg_xml_v86A-2019-12.tar.gz
<winocm> I miss bushing, and Wii/GC.
PhilippvK_ has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 240 seconds]
VinDuv has joined #asahi-dev
DanB91 has joined #asahi-dev
_whitelogger has joined #asahi-dev
pdrew has left #asahi-dev ["WeeChat 2.8"]
PhilippvK_ has joined #asahi-dev
VinDuv has quit [Quit: Leaving.]
PhilippvK_ has quit [Ping timeout: 260 seconds]
PhilippvK_ has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 244 seconds]
acelogic has quit [Ping timeout: 240 seconds]
<fridtjof[m]> EnAFP obviously enables secret hardware acceleration for the Apple Filing Protocol
pipothebit has joined #asahi-dev
<dhewg> needs mmu and caches
pipothebit has quit [Quit: Ping timeout (120 seconds)]
Necrosporus has quit [Remote host closed the connection]
DanB91 has joined #asahi-dev
DanB91 has quit [Ping timeout: 272 seconds]
phiologe has joined #asahi-dev
phiologe has quit [Ping timeout: 246 seconds]
nexysno has joined #asahi-dev
dstzd has quit [Ping timeout: 246 seconds]
rafaelmartins has quit [Ping timeout: 260 seconds]
rafaelmartins has joined #asahi-dev
DanB91 has joined #asahi-dev
indigoomega021 has joined #asahi-dev
indigoomega021 has quit [Client Quit]
phiologe has joined #asahi-dev
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi-dev
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi-dev
phiologe has quit [Ping timeout: 264 seconds]
dstzd has joined #asahi-dev
jix has quit [Ping timeout: 265 seconds]
jix has joined #asahi-dev
theracermaster6 has joined #asahi-dev
theracermaster has quit [Quit: Ping timeout (120 seconds)]
krzywix has quit [Quit: Sayonara!]
theracermaster6 is now known as theracermaster
krzywix- has joined #asahi-dev
dottedmag has quit [Quit: QUIT]
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi-dev
dottedmag has joined #asahi-dev
dottedmag has joined #asahi-dev
DanB91 has quit [Ping timeout: 272 seconds]
tiagom has joined #asahi-dev
tiagom has quit [Client Quit]
nexysno has quit [Remote host closed the connection]
DanB91 has joined #asahi-dev
phiologe has joined #asahi-dev
phiologe has quit [Ping timeout: 272 seconds]
<modwizcode> bit offtopic, but I've been working on the qemu support and I found yesterday a bug in the exynos uart driver. Fixing the bug stopped qemu from dropping incoming data when the fifo isn't enabled, but causes the RX loop to stall really really bad.
<modwizcode> I can't find any particular reason for it to be so bad. It's not buffered well but it should not be creating nearly this much overhead.
<modwizcode> anyone have any experience with this? It's just a busy wait loop on the "RX present" register but it seems like there's some artificial delay in there I can't find. The TX path has no issue whatsoever
<jn__> did you look at the uart driver as it appears in the latest linux release, or asahi's patched version?
<modwizcode> Those all enable the FIFO iirc (or properly use interrupts) which has completely different behavior
<modwizcode> (patched version?)
<modwizcode> oh patched linux
<modwizcode> anyway yeah those all use the FIFO and/or interrupts which have different behavior
<modwizcode> Like I just tested enabling the fifo in uart_init in m1n1 and unlike before things seem to work almost as expected because the fifo code also reports to the normal status registers somewhat
<modwizcode> Although if I send it a write that's at all bigger than the buffer it recieves no data but that could be a quirk of how netcat works for the simpler testing
<modwizcode> It seems like it might be a deeper qemu thing because I can see it spinning on the RX status register in qemu by enabling traces and it's getting cleared in both FIFO&non-FIFO paths meaning that everything has been "processed" the whole behavior is very strange and seems broken
<modwizcode> It could be that due to some quirk of the way the emulated exynos uart is implemented it causes issues with qemu, I wouldn't doubt it.
DanB91 has quit [Ping timeout: 272 seconds]
DanB91 has joined #asahi-dev
bisko has joined #asahi-dev
PhilippvK_ has joined #asahi-dev
ransom has joined #asahi-dev
maor26 has joined #asahi-dev
izzyisles[m] has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 256 seconds]
PhilippvK_ has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 240 seconds]
phiologe has joined #asahi-dev
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi-dev
DanB91 has quit [Ping timeout: 240 seconds]
phiologe has quit [Ping timeout: 260 seconds]
DanB91 has joined #asahi-dev
VinDuv has joined #asahi-dev
ransom has quit [Quit: Textual IRC Client: www.textualapp.com]
DarthCloud has quit [*.net *.split]
DragoonAethis has quit [Ping timeout: 272 seconds]
amw2 has joined #asahi-dev
DragoonAethis has joined #asahi-dev
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi-dev
DanB91 has quit [Ping timeout: 240 seconds]
DanB91 has joined #asahi-dev
DanB91 has quit [Remote host closed the connection]
DanB91 has joined #asahi-dev
DanB91 has quit [Ping timeout: 260 seconds]
<marcan> modwizcode: the FIFO is enabled on real hardware I believe
<marcan> already by the time m1n1 runs
<marcan> I can try disabling it
PhilippvK_ has joined #asahi-dev
<modwizcode> marcan: Yeah that's what I kinda figured
<modwizcode> I'd be very interested in the io speed with it out
<modwizcode> *off
<modwizcode> But I think I mostly tracked down the actual issue to a qemu thing, basically multicore code-gen seems to have some issue where io never gets polled again. So it ends up polling only in these like once per 0.5s chunks, which with a buffer of 1 (without fifo) is unbelievably slow.
<marcan> ah heh
<modwizcode> If you run single threaded codegen or weirdly enable the monitor on stdio and then type random crap in on multithreaded it works
<modwizcode> so whatever the monitor does kicks it when you type.
<modwizcode> I'm still trying to find that, but of course that's not really a m1n1/asahi problem it's some kind of qemu problem. My solution was to hack in a like 16KB buffer, as long as your buffer is big enough to fit a whole write transaction, and the vcpu is scheduled in time to read it before the next one is pushed, the problem disappears :p
DarthCloud has joined #asahi-dev
theracermaster has quit [Quit: The Lounge - https://thelounge.chat]
theracermaster has joined #asahi-dev
amw2 has quit [Ping timeout: 246 seconds]
PhilippvK_ has quit [Ping timeout: 256 seconds]
Milo has joined #asahi-dev
Milo has quit [Client Quit]
Milo has joined #asahi-dev
Milo has quit [Client Quit]
Isacc has joined #asahi-dev
Isacc has quit [Client Quit]
DanB91 has joined #asahi-dev
DanB91 has quit [Ping timeout: 246 seconds]
Milo has joined #asahi-dev
PhilippvK_ has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 240 seconds]
phiologe has joined #asahi-dev
VinDuv has quit [Read error: Connection reset by peer]
VinDuv has joined #asahi-dev
phiologe has quit [Ping timeout: 240 seconds]
VinDuv has quit [Quit: Leaving.]
HeN has quit [Read error: Connection reset by peer]
nkaretnikov has quit [Read error: Connection reset by peer]
narmstrong has quit [Read error: Connection reset by peer]
eric_engestrom has quit [Read error: Connection reset by peer]
sferrini has quit [Read error: Connection reset by peer]
titanous has quit [Ping timeout: 240 seconds]
phiologe has joined #asahi-dev
titanous_ has joined #asahi-dev
sferrini has joined #asahi-dev
jkkm has quit [Ping timeout: 265 seconds]
sirn has quit [Ping timeout: 240 seconds]
narmstrong has joined #asahi-dev
nkaretnikov has joined #asahi-dev
eric_engestrom has joined #asahi-dev
HeN has joined #asahi-dev
jkkm has joined #asahi-dev
sirn has joined #asahi-dev
phiologe has quit [Ping timeout: 264 seconds]
PhilippvK_ has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 265 seconds]
PhilippvK_ has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 260 seconds]
arekm has quit [Ping timeout: 246 seconds]
Milo has quit [Read error: Connection reset by peer]
maor26 has quit [Ping timeout: 240 seconds]
arekm has joined #asahi-dev
PhilippvK_ has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 264 seconds]
phiologe has joined #asahi-dev
phiologe has quit [Ping timeout: 240 seconds]
Esmil has quit [Ping timeout: 256 seconds]
Esmil has joined #asahi-dev
PhilippvK_ has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 265 seconds]
r3n has quit [Remote host closed the connection]
PhilippvK_ has joined #asahi-dev
PhilippvK_ has quit [Ping timeout: 246 seconds]
phiologe has joined #asahi-dev
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #asahi-dev
phiologe has quit [Ping timeout: 256 seconds]
phiologe has joined #asahi-dev
phiologe has quit [Ping timeout: 260 seconds]