ChanServ 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
kenzie has quit [Quit: The Lounge - https://thelounge.chat]
kenzie has joined #asahi-dev
chadmed has joined #asahi-dev
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doggkruse has joined #asahi-dev
phiologe has joined #asahi-dev
PhilippvK has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
janithpet[m] has joined #asahi-dev
the_lanetly_052 has joined #asahi-dev
nicolas17 has quit [Ping timeout: 480 seconds]
sven has quit [Remote host closed the connection]
sven has joined #asahi-dev
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leah2 has joined #asahi-dev
the_lanetly_052 has quit [Ping timeout: 480 seconds]
the_lanetly_052 has joined #asahi-dev
the_lanetly_052 has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-dev
maz has joined #asahi-dev
maz is now known as Guest1154
Guest1154 is now known as maz
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
joske has joined #asahi-dev
kov has joined #asahi-dev
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
kameks has joined #asahi-dev
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
pzcz has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
jakebot has quit [Read error: Connection reset by peer]
jakebot has joined #asahi-dev
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
yuyichao has quit [Ping timeout: 480 seconds]
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
kameks has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
nyx_o has quit [Quit: WeeChat 3.4]
nyx_o has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-dev
alcazar has joined #asahi-dev
joske has quit [Remote host closed the connection]
axboe has joined #asahi-dev
nicolas17 has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
doggkruse has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi-dev
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
___nick___ has quit []
MajorBiscuit has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
<sven> marcan: is there any register in AICv1 that tells me the current hardware state of an interrupt (even if that interrupt is disabled)
<sven> looks like AIC_HW_STATE = AIC + 0x4200 might be what i want
alcazar has joined #asahi-dev
<sven> hrm, or maybe not
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
<marcan> sven: yes, that is what you want
<marcan> it exists in AICv2 too
alcazar has quit [Ping timeout: 480 seconds]
<sven> hrm, i must be doing something very dumb then
<sven> read32(AIC_HW_STATE + (4*(590/32))) & (590%32); <-- that should give me the state of interrupt 590, shouldn't it?
<sven> OHHHH
<sven> duh
<sven> read32(AIC_HW_STATE + (4 * (590 / 32))) & (1 << (590 % 32)); <-- let's try that again, this looks correct now, doesn't it?
<j`ey> yep
<sven> why does it claim the nvme irq is asserted before i even boot the processor then :(
<jannau> in m1n1 or linux? maybe iboot/m1n1 doesn't clear the irq after shutdown
<sven> m1n1
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
<marcan> sven: leftover IRQ flag bits from iBoot?
dubiousness has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
<sven> hrm, but how do I ack that thing then? And shouldn’t the state disappear when I e.g. write to the cq doorbell or disable the irq at the nvme level?
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-dev
alcazar has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
herbas_ has joined #asahi-dev
<jannau> dcp working Thierry's latest iommu map reserved memory bindings proposal
alcazar has quit [Ping timeout: 480 seconds]
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has joined #asahi-dev
alcazar has joined #asahi-dev
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kettenis> sven: by writing the appropriate bit to AIC_SW_CLR?
alcazar has quit [Ping timeout: 480 seconds]
herbas_ has quit [Remote host closed the connection]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
r0ni has joined #asahi-dev
<marcan> kettenis: no, that's for fake software IRQs
<marcan> the IRQ should be cleared at the NVMe side
atsalyuk has joined #asahi-dev
alcazar has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
yuyichao has quit [Quit: Konversation terminated!]
yuyichao has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
<kettenis> ah wait, I'm misinterpreting my oqn code
<kettenis> s/oqn/own/
MajorBiscuit has joined #asahi-dev
boardwalk has joined #asahi-dev
<sven> hm. I bet this is something incredibly dumb that I’ll realize a few days from now :/
MajorBiscuit has quit []
alcazar has joined #asahi-dev
___nick___ has quit [Ping timeout: 480 seconds]
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
<marcan> sven: remember we both hail from fail0verflow, it's in our genes
alcazar has joined #asahi-dev
Telvana has quit []
Telvana has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
Telvana has quit [Remote host closed the connection]
Telvana has joined #asahi-dev
* bluetail[m] wants to be as cool as marcan an sven
alcazar has joined #asahi-dev
* bluetail[m] * wants to be as cool as marcan and sven
* bluetail[m] * wants to be as cool as marcan and sven and all the other contributors
alcazar has quit [Ping timeout: 480 seconds]
atsalyuk has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
atsalyuk has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alexsv has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
<alexsv> Dear Asahi developers! Thanks a lot for your valuable work on the project!
<alexsv> Is this part documented somewhere?
<alexsv> I'd like to contribute to the external display support (on macbook air m1).
<alexsv> What's the situation here and how could I help with some kernel developer experience?
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
alcazar has quit [Ping timeout: 480 seconds]
alcazar has joined #asahi-dev
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]