marcan changed the topic of #asahi-re to: Asahi Linux: porting Linux to Apple Silicon macs | Hardware / boot process / firmware interface reverse engineering | WARNING: this channel (only) may contain binary reverse engineering discussion | RE policy: https://alx.sh/re (MANDATORY READ) | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-re
alula_ has joined #asahi-re
alula__ has quit [Ping timeout: 246 seconds]
alula_ has quit [Ping timeout: 265 seconds]
DragoonAethis has quit [Ping timeout: 246 seconds]
solarkraft has quit [Ping timeout: 256 seconds]
DarthCloud has quit [*.net *.split]
solarkraft has joined #asahi-re
DragoonAethis has joined #asahi-re
DarthCloud has joined #asahi-re
vup2 is now known as vup
modwizcode has quit [Quit: Later]
modwizcode has joined #asahi-re
snalty_ has joined #asahi-re
snalty has quit [Ping timeout: 240 seconds]
taziden has quit [Ping timeout: 264 seconds]
Tokamak has quit [Ping timeout: 240 seconds]
Tokamak has joined #asahi-re
lucid_0x80 has joined #asahi-re
alula_ has joined #asahi-re
taziden has joined #asahi-re
rustylerp has joined #asahi-re
snalty_ has quit [Ping timeout: 265 seconds]
Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<never_released> davidrysk[m]: fabric has a 16MB cache
<never_released> and then RAM is common to all the SoC
snalty has joined #asahi-re
ts170[m] has quit [*.net *.split]
tarik02[m] has quit [*.net *.split]
rockinrobstar[m] has quit [*.net *.split]
ConeOfAttack[m] has quit [*.net *.split]
smist08[m] has quit [*.net *.split]
nutmanja[m] has quit [*.net *.split]
mcnight[m] has quit [*.net *.split]
Bastian[m]1 has quit [*.net *.split]
_alice has quit [*.net *.split]
winocm has quit [*.net *.split]
clayfreeman has quit [*.net *.split]
rockinrobstar[m] has joined #asahi-re
mcnight[m] has joined #asahi-re
smist08[m] has joined #asahi-re
tarik02[m] has joined #asahi-re
nutmanja[m] has joined #asahi-re
ConeOfAttack[m] has joined #asahi-re
ts170[m] has joined #asahi-re
clayfreeman has joined #asahi-re
Bastian[m]1 has joined #asahi-re
_alice has joined #asahi-re
winocm has joined #asahi-re
rockinrobstar[m] has quit [Ping timeout: 242 seconds]
smist08[m] has quit [Ping timeout: 242 seconds]
tarik02[m] has quit [Ping timeout: 242 seconds]
nutmanja[m] has quit [Ping timeout: 242 seconds]
ts170[m] has quit [Ping timeout: 242 seconds]
mcnight[m] has quit [Ping timeout: 242 seconds]
ConeOfAttack[m] has quit [Ping timeout: 242 seconds]
Bastian[m]1 has quit [Ping timeout: 242 seconds]
_alice has quit [Ping timeout: 242 seconds]
winocm has quit [Ping timeout: 242 seconds]
hwatwasthat[m] has quit [Ping timeout: 240 seconds]
hypergenesis[m] has quit [Ping timeout: 268 seconds]
konradybcio has quit [Ping timeout: 244 seconds]
nhlism[m] has quit [Ping timeout: 244 seconds]
reispflanze[m] has quit [Ping timeout: 244 seconds]
wolf511[m] has quit [Ping timeout: 244 seconds]
jinen[m] has quit [Ping timeout: 244 seconds]
os[m] has quit [Ping timeout: 244 seconds]
svenpeter has quit [Ping timeout: 244 seconds]
liur[m] has quit [Ping timeout: 244 seconds]
davidrysk[m] has quit [Ping timeout: 244 seconds]
thecake21[m] has quit [Ping timeout: 268 seconds]
asmon[m] has quit [Ping timeout: 268 seconds]
enverb[m] has quit [Ping timeout: 268 seconds]
shawnj2[m] has quit [Ping timeout: 268 seconds]
sumoon[m] has quit [Ping timeout: 240 seconds]
bjornjulander[m] has quit [Ping timeout: 240 seconds]
Jamie[m] has quit [Ping timeout: 240 seconds]
flokk[m] has quit [Ping timeout: 240 seconds]
skillfulman23[m] has quit [Ping timeout: 240 seconds]
mofux[m] has quit [Ping timeout: 240 seconds]
ah-[m] has quit [Ping timeout: 240 seconds]
jrmuizel[m] has quit [Ping timeout: 240 seconds]
ronyrus[m] has quit [Ping timeout: 240 seconds]
khronokernel[m] has quit [Ping timeout: 240 seconds]
fl35[m] has quit [Ping timeout: 240 seconds]
hipboi[m] has quit [Ping timeout: 240 seconds]
emily has quit [Ping timeout: 240 seconds]
brentr123[m] has quit [Ping timeout: 246 seconds]
redbluescreen[m] has quit [Ping timeout: 246 seconds]
josiahmendes[m] has quit [Ping timeout: 246 seconds]
jevinskie[m] has quit [Ping timeout: 246 seconds]
bakk[m] has quit [Ping timeout: 246 seconds]
fried_dede[m] has quit [Ping timeout: 260 seconds]
nufflee[m] has quit [Ping timeout: 260 seconds]
xerpi[m] has quit [Ping timeout: 260 seconds]
TellowKrinkle[m] has quit [Ping timeout: 260 seconds]
rootspring[m] has quit [Ping timeout: 260 seconds]
mellotron1[m] has quit [Ping timeout: 260 seconds]
citruscitrus[m] has quit [Ping timeout: 260 seconds]
delroth[m] has quit [Ping timeout: 260 seconds]
blazra has quit [Ping timeout: 260 seconds]
bylaws has quit [Ping timeout: 260 seconds]
Jasper[m] has quit [Ping timeout: 240 seconds]
bastilian has quit [Ping timeout: 268 seconds]
DrGit[m] has quit [Ping timeout: 268 seconds]
maor26 has joined #asahi-re
bisko has quit [Quit: Textual IRC Client: www.textualapp.com]
hipboi[m] has joined #asahi-re
Bastian[m]1 has joined #asahi-re
shawnj2[m] has joined #asahi-re
wolf511[m] has joined #asahi-re
jinen[m] has joined #asahi-re
blazra has joined #asahi-re
rootspring[m] has joined #asahi-re
smist08[m] has joined #asahi-re
khronokernel[m] has joined #asahi-re
jevinskie[m] has joined #asahi-re
emily has joined #asahi-re
reispflanze[m] has joined #asahi-re
hwatwasthat[m] has joined #asahi-re
bjornjulander[m] has joined #asahi-re
delroth[m] has joined #asahi-re
flokk[m] has joined #asahi-re
thecake21[m] has joined #asahi-re
konradybcio has joined #asahi-re
liur[m] has joined #asahi-re
sumoon[m] has joined #asahi-re
enverb[m] has joined #asahi-re
brentr123[m] has joined #asahi-re
mofux[m] has joined #asahi-re
ts170[m] has joined #asahi-re
josiahmendes[m] has joined #asahi-re
TellowKrinkle[m] has joined #asahi-re
_alice has joined #asahi-re
tarik02[m] has joined #asahi-re
fl35[m] has joined #asahi-re
fried_dede[m] has joined #asahi-re
ConeOfAttack[m] has joined #asahi-re
nufflee[m] has joined #asahi-re
redbluescreen[m] has joined #asahi-re
davidrysk[m] has joined #asahi-re
os[m] has joined #asahi-re
Jasper[m] has joined #asahi-re
winocm has joined #asahi-re
DrGit[m] has joined #asahi-re
hypergenesis[m] has joined #asahi-re
rockinrobstar[m] has joined #asahi-re
bakk[m] has joined #asahi-re
asmon[m] has joined #asahi-re
Jamie[m] has joined #asahi-re
nutmanja[m] has joined #asahi-re
nhlism[m] has joined #asahi-re
ah-[m] has joined #asahi-re
ronyrus[m] has joined #asahi-re
mcnight[m] has joined #asahi-re
xerpi[m] has joined #asahi-re
mellotron1[m] has joined #asahi-re
skillfulman23[m] has joined #asahi-re
bastilian has joined #asahi-re
citruscitrus[m] has joined #asahi-re
bylaws has joined #asahi-re
svenpeter has joined #asahi-re
jrmuizel[m] has joined #asahi-re
jamesmunns[m] has joined #asahi-re
wiloon has joined #asahi-re
lewurm has quit [Quit: leaving]
vimal has quit [Remote host closed the connection]
vimal has joined #asahi-re
q3k|m has quit [Quit: killed]
vimal has quit [Remote host closed the connection]
vimal has joined #asahi-re
wiloon has quit [Quit: Connection closed for inactivity]
justMaku has joined #asahi-re
<davidrysk[m]> never_released: 16MB cache, interesting
<davidrysk[m]> yeah but fabric cache is closer to L3-level while RAM is RAM
q3k|m has joined #asahi-re
mjeanson has joined #asahi-re
justMaku has quit [Quit: Client limit exceeded: 150]
<Bluerise> marcan: from a friend who works on arm stuff:
<Bluerise> 'during power collapse, WFI could remove all register contents.'
<Bluerise> 'the issue is that WFI is not expected to power collapse unless an external register (power control) enables it.'
<Bluerise> 'if it power collapses, the resume mechanism may be 'interesting''
<marcan> Bluerise: this is why there is a register for this
<marcan> I already told never_released that we should go that way
<marcan> agraf suggested this too
<marcan> set the register to only clockgate on wfi
<marcan> then in a cpuidle driver, when we need to go into deeper sleep, flip the bit, wfi, flip back
<marcan> with the appropriate register saving
<davidrysk[m]> Bluerise: I'm wondering if iBoot leaves the power control register in the enabled state
dumenci has joined #asahi-re
lucid_0x80 has quit [Ping timeout: 265 seconds]
mrkiko has joined #asahi-re
iparaskev[m] has joined #asahi-re
mrkiko has left #asahi-re [#asahi-re]
rustylerp has quit [Ping timeout: 256 seconds]
Tokamak has joined #asahi-re
segher has joined #asahi-re
segher has quit [Ping timeout: 240 seconds]
dumenci has quit [Ping timeout: 256 seconds]
<never_released> davidrysk[m]: iBoot has it at the destroy-state-on-WFI default
<modwizcode> is there a reason that's the default?
<sven> because apple only has to care about xnu :)
<sven> we could probably just set it to clockgate only in pongoos/m1n1/whatever bootloader we end up using
<sven> (at least for now)
<modwizcode> oh sorry I thought you meant it's an ARM default to be in that state which didn't make sense to me.
<jix> do other arm cores even implement optional power down via wfi at all, or is that an apple only thing?
<modwizcode> Yeah the A57 TRM talks about it that's where I read about it in the first place
ransom has joined #asahi-re
<opticron> pretty sure it applies to the A53 as well
<never_released> jix: other cores do
<never_released> well at least _some_ of them
<never_released> what Apple does is within the spec
<modwizcode> Yeah I think it's standardized (at least that it can happen) although I cannot find the part where it talked about losing register state but I know I saw a thing about that too.
<opticron> yeah, I don't remember reading about register state when I read about WFI, but I could have glossed over it
<never_released> opticron: explicitly not covered.
<never_released> > The architecture does not define the exact nature of the low-power state, except that the execution of a WFI
<never_released> instruction must not cause a loss of memory coherency.
<never_released> no more details
<modwizcode> Ah that's the note I was looking for
vimal has quit [Ping timeout: 265 seconds]
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tokamak has quit [Ping timeout: 240 seconds]
ransom has joined #asahi-re
Tokamak has joined #asahi-re
Tokamak_ has joined #asahi-re
danb91 has joined #asahi-re
danb91 has quit [Client Quit]
Tokamak has quit [Ping timeout: 265 seconds]
danb91 has joined #asahi-re
Tokamak_ has quit [Ping timeout: 260 seconds]
Tokamak has joined #asahi-re
artemist has quit [Ping timeout: 264 seconds]
Tokamak has quit [Ping timeout: 240 seconds]
<danb91> hi all, i've just started following asahi and I’ve been looking through the GPU code and bloom’s articles (congrats on getting the triangle up!). Do we know yet how IOConnectCallMethod is sending data to the GPU (i.e. what MMIO addresses, etc)?
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tokamak_ has joined #asahi-re
ransom has joined #asahi-re
artemist has joined #asahi-re
Tokamak has joined #asahi-re
<roxfan> afaik nothing specific yet, but you can probably find some info in ioreg output or device tree
<roxfan> iirc someone here made device tree dumper
Tokamak_ has quit [Ping timeout: 265 seconds]
Tokamak_ has joined #asahi-re
Tokamak has quit [Ping timeout: 272 seconds]
<danb91> roxfan will look for that. thanks!
danb91 has quit [Remote host closed the connection]
Tokamak has joined #asahi-re
Tokamak_ has quit [Ping timeout: 246 seconds]
Tokamak_ has joined #asahi-re
Tokamak has quit [Ping timeout: 256 seconds]
Bastian[m]1 is now known as Bastian[m]
ransom has quit [Quit: Textual IRC Client: www.textualapp.com]
Tokamak_ has quit [Ping timeout: 272 seconds]
Tokamak has joined #asahi-re
Tokamak has quit [Read error: Connection reset by peer]
Tokamak has joined #asahi-re
Tokamak has quit [Read error: Connection reset by peer]
danb91 has joined #asahi-re
maor26 has quit [Ping timeout: 272 seconds]