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
chrisl has joined #asahi-dev
Halian has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
hdbngr has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
Halian has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Halian has joined #asahi-dev
opticron has quit [Read error: Connection reset by peer]
opticron has joined #asahi-dev
chrisl has joined #asahi-dev
tobhe has joined #asahi-dev
hexdump0815 has joined #asahi-dev
hexdump01 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
tobhe_ has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
hdbngr has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
nora has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
nora_ has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Remote host closed the connection]
JayBeeFOSS has joined #asahi-dev
Larwive has joined #asahi-dev
Graypup_ has quit [Quit: meow]
Graypup_ has joined #asahi-dev
chrisl has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
Halian has quit [Remote host closed the connection]
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
Halian has joined #asahi-dev
Graypup_ has quit [Quit: meow]
Graypup_ has joined #asahi-dev
chrisl has joined #asahi-dev
hdbngr has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
WindowPain has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
Calandracas has joined #asahi-dev
Calandracas_ has quit [Read error: Connection reset by peer]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
mattia013_ has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
<sven> alright, nvmem for atcphy sent out. time to address the SMC review comments now
hdbngr has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
<nickchan> currently cleaning up some apple nvme code after that i should check out the m1n1 chicken bits pr
pb17 has joined #asahi-dev
mattia013_ has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
kettenis1 has joined #asahi-dev
kettenis_ has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
aditya has joined #asahi-dev
<nickchan> okay cleaned up a11's nvme code
<nickchan> sven: after cleaning up I see it is just the other mode which is already mentioned in the driver https://github.com/AsahiLinux/linux/blob/8dc6d00309e5feeca4f3f802976c0b7c9c406a49/drivers/nvme/host/apple.c#L1110
<sven> the pcie driver has quirks for that other mode I think
<sven> but assume it's a pcie device ofc
chrisl has joined #asahi-dev
hdbngr has joined #asahi-dev
<nickchan> NVME_QUIRK_128_BYTES_SQES
<nickchan> wow that must be talking about T2
chrisl has quit [Ping timeout: 480 seconds]
<sven> yup
hdbngr has quit [Ping timeout: 480 seconds]
<sven> iirc my original version re-used those quirks when I added platform support to pci.c
<sven> the NVMe maintainers didn’t like that very much though
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
kaazoo has joined #asahi-dev
kaazoo has left #asahi-dev [#asahi-dev]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
aditya has quit [Quit: Connection closed for inactivity]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
<nickchan> Ok the chickens pr is absolutely not fine on A11
<nickchan> TTY> L2C_ERR_ADR: 0x110000208150100
<nickchan> looks like "Turning off the last core in a cluster kills our register accesses"
chrisl has quit [Ping timeout: 480 seconds]
<nickchan> okay so the register accesses are getting killed in what's supposedly a not-deep-sleep
<nickchan> a11 is HAS_CLUSTER false in xnu
<nickchan> uh how about mindlessly changing the sequence to match xnu sources' sleep
hdbngr has joined #asahi-dev
<nickchan> and there's some workarounds in those sources
hdbngr has quit [Ping timeout: 480 seconds]
<sven> https://github.com/AsahiLinux/linux/commits/sven/smc-v5/ smc v5 with review comments addressed
hdbngr has joined #asahi-dev
<sven> nickchan: that entire sleep function looks suspicious to me anyway. the isb; wfi in a loop makes no sense to me e.g.
hdbngr has quit [Ping timeout: 480 seconds]
lynndotpy has quit [Quit: bye bye]
lynndotpy has joined #asahi-dev
<nickchan> sven: the xnu sources stated that the global sleep register must not be modified when there are CPUs in wfi
chrisl has joined #asahi-dev
hdbngr has joined #asahi-dev
<nickchan> okay sleeping also doesn't work without that pr right now
<nickchan> a non deep sleep but i am quite sure that it was okay at one point
chrisl has quit [Ping timeout: 480 seconds]
<nickchan> ugh in any case i don't think i really care about what happens on that code path
<nickchan> until i want to bother with idle in linux of course
<nickchan> i will make sure it works for booting and secondary start i guess
hdbngr has quit [Ping timeout: 480 seconds]
<nickchan> sven: In any case at least the chickens PR does not have any *new* regressions on A7, A9, A10, A11
<sven> :D
<nickchan> sven: clear the wfi retention disable bit on startup on cores that supports arch retention and it should be good
<sven> have we cleared the before?
<nickchan> sven: they were not cleared before
<sven> then i'm not gonna add that to that PR
<nickchan> and the deep sleep serror issues above is only a11 since a10 and below only has one cluster and obviously cpu0 is not in sleep
<nickchan> i will send the pmu support series again i guess to fix that one W=1 compile warning that syzbot complained about
<nickchan> even though the original driver already has like 10 W=1 warnings already
hdbngr has joined #asahi-dev
<sven> lol, yeah, I noticed those as well when I compiled smc with W=1 like lee requested earlier today :D
hdbngr has quit [Ping timeout: 480 seconds]
<nickchan> it also only happens in gcc
<jannau> we probably should not return 'FIELD_GET(SMC_RESULT, smc->cmd_ret);' negated and interpret it as errno. That ought to be the place the -132/ERFKILL is coming from
<sven> I think i fixed that in v5
<sven> result = FIELD_GET(SMC_RESULT, smc->cmd_ret);
<sven> if (result)
<sven> return -EIO;
<jannau> ack, just started writing a review for v4
<sven> https://github.com/AsahiLinux/linux/commits/sven/smc-v5/ is what i have for v5 right now fwiw
<sven> mostly lee's and alyssa's comments addressed plus some drive-by fixes
<jannau> yes, I did look. Same change I've done locally for the downstream tree
<sven> ack, i'll wait for your review then. was planning to send out v5 tomorrow probably
<jannau> I stopped. I'll read over the v5 on github instead
bacarrdy has joined #asahi-dev
<kettenis1> why did the PMIC compatible have to change?
kettenis1 is now known as kettenis
Larwive has quit [Read error: Connection reset by peer]
Larwive has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
<jannau> I've pushed asahi-6.14.6-1 to github. this get's rid of the annoying / confusing "property voltage_min not supported: -132" from macsmc ac power and supports systemd's RebootWatchdog default time out
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
Extern has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
yuka has quit [Remote host closed the connection]
hdbngr has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
yuka has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has left #asahi-dev [#asahi-dev]
hdbngr has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
hdbngr has joined #asahi-dev
chrisl has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
FritzerMcQ has joined #asahi-dev
FritzerMcQ has quit [Remote host closed the connection]
Larwive has quit [Ping timeout: 480 seconds]
FritzerMcQ has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
FritzerMcQ has quit [Remote host closed the connection]
hdbngr has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Remote host closed the connection]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
Lyude has quit [Ping timeout: 480 seconds]
Extern has quit [Quit: WeeChat 4.6.2]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
<flokli> ty, I can confirm the noise is gone from the logs :-)
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Remote host closed the connection]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev