ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
aratuk has quit []
noface99 has joined #asahi-dev
jhan has quit [Ping timeout: 480 seconds]
jhan has joined #asahi-dev
jhan has quit [Ping timeout: 480 seconds]
jhan has joined #asahi-dev
jhan has quit [Ping timeout: 480 seconds]
jhan has joined #asahi-dev
user982492 has joined #asahi-dev
jhan has quit [Remote host closed the connection]
dax has joined #asahi-dev
Hibyehello has quit [Ping timeout: 480 seconds]
zef has joined #asahi-dev
zef_ has quit [Ping timeout: 480 seconds]
jhan has joined #asahi-dev
Hibyehello has joined #asahi-dev
Hibyehello_ has joined #asahi-dev
Hibyehello has quit [Ping timeout: 480 seconds]
kesslerd has quit [Remote host closed the connection]
Hibyehello_ has quit [Ping timeout: 480 seconds]
Hibyehello has joined #asahi-dev
Hibyehello has quit [Ping timeout: 480 seconds]
jhan has quit [Remote host closed the connection]
snowcra5h has quit [Remote host closed the connection]
snowcra5h has joined #asahi-dev
jhan_ has joined #asahi-dev
jhan has joined #asahi-dev
jhan_ has quit [Read error: Connection reset by peer]
jhan has quit [Read error: Connection reset by peer]
<j`ey_>
but I thought there was that issue with windows doing an SMC early on, so maybe that's not the case anymore
<maz>
interesting. I wonder what they hacked in the kernel to make that work.
<jannau>
iirc just an emulated PMUv3
<amarioguy>
j`ey_, maz: i was involved in making that work to some degree, yes emulated pmuv3
<j`ey_>
yup
<amarioguy>
i'm updating asahi docs to document that hacr bit
<amarioguy>
(gonna be a small PR too, to add it to m1n1's apple regs json)
<maz>
ah, so that the PMUv3 sysregs don't undef at EL1?
<amarioguy>
yep
<maz>
but then what do you return from EL2?
<amarioguy>
maz: in my case specifically (bare metal or as close to it as possible) i just return the data from Apple's proprietary PMCs
<amarioguy>
what imbushuo did was similar but i think he returned some derived data, i'll have to ask him in a sec to see what specifically he returned
<amarioguy>
but generally the same deal - we return stuff from cycle counter (PMC0), and i'm not sure if windows needs more than the cycle counter
<maz>
amarioguy: nice hack, but if we're going to support this upstream, it will have to be robust and provide something that is compatible with the architecture. do you have a pointer to this funky register that makes the PMU registers trap?
<amarioguy>
HACR_EL2, bit 56
<maz>
I was hoping for a bit more than a bit number! ;-) what does it trap? does it allow PMU counting at EL1? how does MDCR_EL2.HPMN affects this?
<amarioguy>
maz: ahh gotcha, i'll verify that stuff tonight then
<amarioguy>
not at a mac atm :/
<maz>
amarioguy: thanks. if you could dump your discovery in some publicly visible page, that'd be great (and saves me discussions with $LEGAL).
<amarioguy>
maz: yes will do
<amarioguy>
would the asahi arm sysreg docs page work for that or would you need it somewhere a bit more visible?
amarioguy has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
snyanz has joined #asahi-dev
TheLink7 has joined #asahi-dev
VinDuv_ has joined #asahi-dev
thevar1able_ has joined #asahi-dev
m42uko_ has joined #asahi-dev
psykose_ has joined #asahi-dev
snuck has joined #asahi-dev
m5zs7k_ has joined #asahi-dev
johey_ has joined #asahi-dev
maz_ has joined #asahi-dev
merry_ has joined #asahi-dev
TellowKrinkle_ has joined #asahi-dev
grange_c68 has joined #asahi-dev
fugi1 has joined #asahi-dev
milek7_ has joined #asahi-dev
Mary6 has joined #asahi-dev
jnn has joined #asahi-dev
pbsds3 has joined #asahi-dev
antonio__ has joined #asahi-dev
lawrence6 has joined #asahi-dev
V_ has joined #asahi-dev
minecrell4 has joined #asahi-dev
akemin-dayo has joined #asahi-dev
vup2 has joined #asahi-dev
dabaum|2er0_ has joined #asahi-dev
merry has quit [Ping timeout: 480 seconds]
TellowKrinkle has quit [Ping timeout: 480 seconds]
ah- has quit [Remote host closed the connection]
Fanfwe has quit [Read error: Connection reset by peer]
ckb has quit [Read error: Connection reset by peer]
kettenis_ has joined #asahi-dev
lewurm_ has quit [Remote host closed the connection]
thasti_ has quit [Remote host closed the connection]
ah-_ has joined #asahi-dev
lewurm has joined #asahi-dev
kettenis has quit [Remote host closed the connection]
thasti has joined #asahi-dev
ckb has joined #asahi-dev
stipa_ has joined #asahi-dev
Esmil has quit [Remote host closed the connection]
kit_ty_kate2 has joined #asahi-dev
zef has quit [Remote host closed the connection]
Esmil has joined #asahi-dev
ChaosPrincess has quit [Remote host closed the connection]
arekm has quit [Remote host closed the connection]
zef has joined #asahi-dev
sneak has quit [Write error: connection closed]
arekm has joined #asahi-dev
ChaosPrincess has joined #asahi-dev
j`ey_ has quit [Remote host closed the connection]
j`ey has joined #asahi-dev
grange_c6 has quit [Read error: Connection reset by peer]
m42uko has quit [Write error: connection closed]
grange_c68 is now known as grange_c6
thevar1able has quit [Ping timeout: 480 seconds]
milek7 has quit [Read error: Connection reset by peer]
kit_ty_kate1 has quit [Read error: Connection reset by peer]
j`ey has quit [reticulum.oftc.net helix.oftc.net]
Esmil has quit [reticulum.oftc.net helix.oftc.net]
kit_ty_kate2 has quit [reticulum.oftc.net helix.oftc.net]
snyanz has quit [reticulum.oftc.net helix.oftc.net]
nyilas has quit [reticulum.oftc.net helix.oftc.net]
bisko has quit [reticulum.oftc.net helix.oftc.net]
mixi has quit [reticulum.oftc.net helix.oftc.net]
stipa_ has quit [reticulum.oftc.net helix.oftc.net]
psykose has quit [reticulum.oftc.net helix.oftc.net]
Mary has quit [reticulum.oftc.net helix.oftc.net]
fugi has quit [reticulum.oftc.net helix.oftc.net]
johey has quit [reticulum.oftc.net helix.oftc.net]
TheLink has quit [reticulum.oftc.net helix.oftc.net]
V has quit [reticulum.oftc.net helix.oftc.net]
m5zs7k has quit [reticulum.oftc.net helix.oftc.net]
pbsds has quit [reticulum.oftc.net helix.oftc.net]
lucus has quit [reticulum.oftc.net helix.oftc.net]
maz has quit [reticulum.oftc.net helix.oftc.net]
stipa has quit [reticulum.oftc.net helix.oftc.net]
akemin_dayo has quit [reticulum.oftc.net helix.oftc.net]
minecrell has quit [reticulum.oftc.net helix.oftc.net]
VinDuv has quit [reticulum.oftc.net helix.oftc.net]
vup has quit [reticulum.oftc.net helix.oftc.net]
jn has quit [reticulum.oftc.net helix.oftc.net]
lawrence has quit [reticulum.oftc.net helix.oftc.net]
manawyrm has quit [reticulum.oftc.net helix.oftc.net]
Shiz has quit [reticulum.oftc.net helix.oftc.net]
agraf has quit [reticulum.oftc.net helix.oftc.net]
dabaum|2er0 has quit [reticulum.oftc.net helix.oftc.net]
TheLink7 is now known as TheLink
VinDuv_ is now known as VinDuv
fugi1 is now known as fugi
lawrence6 is now known as lawrence
Fanfwe has joined #asahi-dev
psykose has joined #asahi-dev
j`ey has joined #asahi-dev
johey has joined #asahi-dev
pbsds has joined #asahi-dev
Mary has joined #asahi-dev
V has joined #asahi-dev
akemin_dayo has joined #asahi-dev
lucus has joined #asahi-dev
vup has joined #asahi-dev
manawyrm has joined #asahi-dev
minecrell has joined #asahi-dev
jn has joined #asahi-dev
agraf has joined #asahi-dev
Shiz has joined #asahi-dev
dabaum|2er0 has joined #asahi-dev
lucus16 has joined #asahi-dev
stipa_ has joined #asahi-dev
snyanz has joined #asahi-dev
mixi has joined #asahi-dev
kit_ty_kate2 has joined #asahi-dev
nyilas has joined #asahi-dev
Esmil has joined #asahi-dev
minecrell has quit [Max SendQ exceeded]
V has quit [Max SendQ exceeded]
snyanz has quit [Ping timeout: 494 seconds]
psykose has quit [Ping timeout: 484 seconds]
nyilas has quit [Ping timeout: 484 seconds]
Mary has quit [Ping timeout: 484 seconds]
dabaum|2er0 has quit [Ping timeout: 484 seconds]
johey has quit [Ping timeout: 484 seconds]
akemin_dayo has quit [Ping timeout: 484 seconds]
pbsds has quit [Ping timeout: 484 seconds]
jn has quit [Ping timeout: 484 seconds]
lucus has quit [Ping timeout: 484 seconds]
vup has quit [Ping timeout: 484 seconds]
TellowKrinkle_ is now known as TellowKrinkle
psykose_ has quit [Remote host closed the connection]
amarioguy has quit [Ping timeout: 480 seconds]
j`ey_ has joined #asahi-dev
stipa has joined #asahi-dev
mixi_ has joined #asahi-dev
j`ey has quit [Remote host closed the connection]
stipa_ has quit [Read error: Connection reset by peer]
mixi has quit [Ping timeout: 480 seconds]
kit_ty_kate3 has joined #asahi-dev
Esmil has quit [Remote host closed the connection]
kit_ty_kate2 has quit [Read error: Connection reset by peer]
Esmil has joined #asahi-dev
manawyrm has quit [reticulum.oftc.net helix.oftc.net]
lucus16 has quit [reticulum.oftc.net helix.oftc.net]
Shiz has quit [reticulum.oftc.net helix.oftc.net]
agraf has quit [reticulum.oftc.net helix.oftc.net]
Shiz has joined #asahi-dev
manawyrm has joined #asahi-dev
lucus has joined #asahi-dev
lucus16 has joined #asahi-dev
agraf has joined #asahi-dev
lucus16 has quit [Ping timeout: 482 seconds]
minecrell4 has quit []
minecrell has joined #asahi-dev
aratuk has joined #asahi-dev
roxfan has joined #asahi-dev
aratuk has quit []
antonio__ has quit [Remote host closed the connection]
aratuk has joined #asahi-dev
hightower2 has quit [Remote host closed the connection]
psanford has quit [Ping timeout: 480 seconds]
minecrell9 has joined #asahi-dev
minecrell has quit [reticulum.oftc.net helix.oftc.net]
manawyrm has quit [reticulum.oftc.net helix.oftc.net]
lucus has quit [reticulum.oftc.net helix.oftc.net]
Shiz has quit [reticulum.oftc.net helix.oftc.net]
agraf has quit [reticulum.oftc.net helix.oftc.net]
manawyrm has joined #asahi-dev
agraf has joined #asahi-dev
Shiz has joined #asahi-dev
lucus16 has joined #asahi-dev
aratuk has quit [Remote host closed the connection]
aratuk has joined #asahi-dev
aratuk has quit [Remote host closed the connection]
aratuk has joined #asahi-dev
minecrell9 has quit []
minecrell9 has joined #asahi-dev
aratuk has quit [Remote host closed the connection]
Mary6 has quit []
Mary6 has joined #asahi-dev
psanford has joined #asahi-dev
aratuk has joined #asahi-dev
aratuk has quit [Ping timeout: 480 seconds]
jole_ has quit [Remote host closed the connection]