marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
<svenpeter>
marcan: huh.. are you sure they are permission ublock masks?
<svenpeter>
that's just weird
<marcan>
svenpeter: they have the same size (32 bits) and are consecutive in the encoding, but no, I don't know for a fact that's what they are
<marcan>
but there's a set of 3 after each of KMASK/UMASK, and then there's a set of 4 readonly ones
<marcan>
which makes me think it's somehow extra masks, like it's selectable or something?
<marcan>
but this is just a guess
<marcan>
and all of them have the usual EL1/2/12 thing
pugguu has joined #asahi
pugguu has quit [Ping timeout: 480 seconds]
VinDuv has joined #asahi
crabbedhaloablut has left #asahi [#asahi]
crabbedhaloablut has joined #asahi
crabbedhaloablut has left #asahi [#asahi]
crabbedhaloablut has joined #asahi
crabbedhaloablut has left #asahi [#asahi]
TheLink is now known as TehLink
crabbedhaloablut has joined #asahi
bmh has joined #asahi
TehLink is now known as TheLink
bmh has quit [Quit: Leaving]
bmh has joined #asahi
tomtastic_ has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
<svenpeter>
strange. no idea what they are
<svenpeter>
can't figure out how to switch to them
<svenpeter>
and flipping bits in there doesn't seem to have any effect
psydroid[m] has joined #asahi
<yrlf>
are they used in the macos mmiotrace?
<svenpeter[m]>
No, and I don’t think the kernel uses them at all.
<svenpeter[m]>
They don’t really matter but I’m still curious what they do ;)
<yrlf>
how likely is it that some registers are left over from something apple intended to add but didn't get working for the M1 release?
<yrlf>
don't have lots of hardware experience, so I don't know if stuff like that is common
<jn>
yrlf: not unlikely, even for CPU features/optimizations (see "chicken bits")
<yrlf>
tough I guess for reverse engineering it's better to assume it does something and if you don't see any behaviour the last resort is that explanation
<jn>
well, if something was left in, it does something
<jn>
something broken maybe, but still something
<jn>
if register address space was allocated for a register which was then not put in, then there's no register there
<jn>
which is a different case
VinDuv has quit [Quit: Leaving.]
<jn>
(ok well, i guess there could also be a register that you can set and/or read, but which doesn't have any other effect ...)
<svenpeter>
it might just be some registers that are only half-implemented in their hw and will be used in a future revision
<svenpeter>
apparently that happened with APRR (see https://siguza.github.io/APRR/, "Registers 6 and 7 appeared on the A11, but the core APRR registers 0 and 1 are present back on the A10 already. (Apple seems to have been planning this for quite a while!)")
klaus_ has joined #asahi
klaus has quit [Ping timeout: 480 seconds]
ifthenelse has joined #asahi
klaus has joined #asahi
klaus has quit [autokilled: This host may be infected. Mail support@oftc.net with questions. BOPM (2021-05-22 13:24:49)]
klaus has joined #asahi
klaus_ has quit [Ping timeout: 480 seconds]
klaus has quit [Ping timeout: 480 seconds]
<marcan>
it's also possible they do work and macos just doesn't use them yet
<marcan>
(see: vGIC)
<marcan>
we know the M1 release was rushed to heck, so I expect the silicon to have quite a few things that were in the design but they never got around to putting in the OS
hir0pro has joined #asahi
hir0pro has quit [Quit: Lost terminal]
hir0pro has joined #asahi
cz3 has joined #asahi
hir0pro has quit [Ping timeout: 480 seconds]
svenpeter is now known as sven
VinDuv has joined #asahi
TheJollyRoger has quit [Ping timeout: 480 seconds]
bmh has quit [Quit: Leaving]
nico_32 has joined #asahi
kubes has joined #asahi
<kettenis>
oh, the weird u-boot/EFI timeout behaviour is related to having a usb keyboard plugged in
<kettenis>
without the keyboard u-boot boots normally
<kettenis>
with the keyboard it takes much longer to time out and boot
nico_32 has quit [Quit: leaving]
nico_32 has joined #asahi
nico_32 is now known as Guest4550
Guest4550 has quit []
nico_32_ has joined #asahi
nico_32_ is now known as nico_32
<krbtgt>
i find it interesting apple rushed it when it feels like they've been planning this a decade