#
…

2021-09-21

00:14alyssa dcp->swap.swap.swap_id = resp->swap_id;
00:14alyssaYo, I heard you like swaps.
01:17___nick___ has quit []
01:19___nick___ has joined #asahi
01:37quarkyalice has quit [Remote host closed the connection]
02:01quarkyalice has joined #asahi
02:21marcanalyssa: I use "debug=0x14e serial=3 apcie=0xffffffef -enable-kprintf-spam wdt=-1"
02:22marcanthat SError seems to be in SEP, which suggests it was shut down when it shouldn't have been?
02:22marcando you get it during boot?
02:22marcanI haven't done much with macos post-SMP, but at least login screen and basic desktop stuff worked fine
02:23marcanalso have you updated to 12.0 yet? :p
02:34quarkyalice_ has joined #asahi
02:44quarkyalice__ has joined #asahi
02:46phiologe has joined #asahi
02:50PhilippvK has quit [Ping timeout: 480 seconds]
02:50quarkyalice_ has quit [Ping timeout: 480 seconds]
03:12quarkyalice__ has quit [Remote host closed the connection]
03:13quarkyalice__ has joined #asahi
03:16marvin24_ has joined #asahi
03:19marvin24 has quit [Ping timeout: 480 seconds]
03:22quarkyalice__ has quit [Ping timeout: 480 seconds]
04:09quarkyalice_ has joined #asahi
04:28quarkyalice_ has quit [Ping timeout: 480 seconds]
04:31chadmed has quit [Quit: Konversation terminated!]
04:35chadmed has joined #asahi
04:49maor26 has joined #asahi
05:07malvo has quit [Read error: Connection reset by peer]
05:07malvo has joined #asahi
05:19maor26 has quit [Quit: Leaving]
06:19marcanjust pushed a bunch of HV changes, though none that have anything to do with alyssa's SError afaict
06:37marcanalyssa: can you build from main and then addr2line the "rel" address in PC: 0x803b7c448 (rel: 0x10448) ?
06:38marcan(after reproducing again after the build of course)
06:44marcanI'm quite confused as to how you got an SError in a SEP address from m1n1 code; would help to know where it happened
06:45marcanthe bad guest exception after that is "expected"; an SError while in m1n1 will corrupt exception state since I don't save it properly before re-enabling SErrors
07:00aleasto has joined #asahi
07:00marcanah, I think I know how it happens
07:01marcanI think the guest can end up triggering multiple SErrors, and then the second one can get delivered in the middle of the HV
07:12marcanah no, it happens with a single one, I didn't realize it's level-triggered
07:22mazmarcan: odd. SError is actually specified as edge.
07:27j_eymarcan: did you see that povik got some audio working yesterday? ^^
07:34awal3 has quit [Ping timeout: 480 seconds]
07:40marcanmaz: nah, only *external aborts* delivered as SErrors are specified as edge
07:40marcanimpdef SErrors can be either
07:40marcanthese are impdefs
07:40marcanj_ey: I did not!
07:47chadmedthats awesome
07:47chadmedthe same amp chips are in the mbps too so with some adapting stereo sound should be possible on the laptops
07:48chadmed which is something amd64 macbooks still dont have
07:48mazmarcan: huh... that's... creative.
08:00frode_0xa has joined #asahi
09:08hablerentand[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08TellowKrinkle[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08RowanGoemans[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08_alice has quit []
09:08ovf[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08nemanjan00[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08izzyisles[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Izumoo[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08haterade[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08ll3macorn[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08parabola[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08dpatterbee[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08fedx[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08fridtjof[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08jammie[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08stttcccccccccccc[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08i509vcb[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08arnidg[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08rowang077[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08MingcongBai[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08bastilian[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08rkjnsn[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08mulderje has quit [Quit: Bridge terminating on SIGTERM]
09:08davay[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08user1tt[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08perigoso[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08ganpa[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08pitust[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08avx3[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08alexanderwillner[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Bastian[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Aaron[m]1 has quit [Quit: Bridge terminating on SIGTERM]
09:08jevinskie[m] has quit []
09:08emilazy has quit [Quit: Bridge terminating on SIGTERM]
09:08h_ro[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08AONeiLL[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08M31j[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08ah-[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08jryans has quit []
09:08Scott[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08TypoKign[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08AndrewLee[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08foxlet has quit [Quit: Bridge terminating on SIGTERM]
09:08uur[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08simjnd[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08PieroDel[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08xerpi[m] has quit []
09:08PthariensFlame[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08ytg has quit [Quit: Bridge terminating on SIGTERM]
09:08Guest4408 has quit []
09:08samfromspace[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08julianp[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08CristianMgheruan-Stanciu[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08psydroid has quit [Quit: Bridge terminating on SIGTERM]
09:08ilovetrains[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Caedus[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Amey has quit [Quit: Bridge terminating on SIGTERM]
09:08fluffypup[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08vivithecanine[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08AlessandroFerrari[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08alessandrorzz[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Ferluci[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08facez[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08M32thSystem[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08marcan[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08ninja[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08alicela1n has quit [Quit: Bridge terminating on SIGTERM]
09:08bfredl[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08AkihikoOdaki[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08rob-3[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08The_DarkFire_[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Davis[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08DanielHuisman[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08PixelyIon[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08YichaoYu[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08c1truz[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08PeterHilgenfeld[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08SocioProphet[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08booffo[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08mofux[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08anfernee[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08mmlb[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08ryanhrob[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08ted[m]1 has quit [Quit: Bridge terminating on SIGTERM]
09:08vasilymilovidov[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08s-urabe[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08noc0lour[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08dgc[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08happy-dude[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Spectrejan[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08quentincestino[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08MagMell[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08spot[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08NikolaCicmil[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08bngs[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Emantor[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08ruach[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08isitaboat[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Dementor[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Serentty[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08LeviLynch[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08andi-[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08maxim[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08sephamorr[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08cavoirom[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08davidrysk[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08blazra[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08angustrau[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08VitorCardoso[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08lockna has quit [Quit: Bridge terminating on SIGTERM]
09:08camr0[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08svenpeter[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08floxf5[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08tophevich[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08pipcet[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08brentr123[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08joerosenberg[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08OrganicPumpkin[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08coin3x[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08landscape15[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08HaoYanQi[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08daftfrog[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08cgv[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08tasild[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08pho[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08citizen1[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08izica has quit [Quit: Bridge terminating on SIGTERM]
09:08elosant[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08besmirich[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08smvg[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08nilsi[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08etsukata[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08digitalfx[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08ChrisHembree[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08kjm99[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Krumble[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08ograff has quit [Quit: Bridge terminating on SIGTERM]
09:08rat-hippo[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08PedroArajo[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08shaman_br[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08rethematrix[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08stelleg[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Xichao[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08ghantaz[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08peerp[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08jthom[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08AnushervonTabarov[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08muscularduckling[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08Rakshit[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08dnjmis[m] has quit [Quit: Bridge terminating on SIGTERM]
09:08sandornagy[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09obflv[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09Santiago[m]1 has quit [Quit: Bridge terminating on SIGTERM]
09:09GenieLotion[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09twoscomplement0b[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09jeh[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09ar88kk[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09PeterB[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09abilash1994[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09ella-0[m] has quit []
09:09EdwardAnd[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09gamble[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09lemonsus[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09idf00[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09yoodee[m] has quit [Quit: Bridge terminating on SIGTERM]
09:09mindw0rk[m] has quit [Quit: Bridge terminating on SIGTERM]
09:19M31j[m] has joined #asahi
09:21nrl^ has joined #asahi
09:31Andalu30 has joined #asahi
10:42mazsven: yup, that fixes it. do you want me to put that in a patch with your name on it?
10:44awal3 has joined #asahi
10:44kettenismaz: haven't seen a reply from you on the msi-controller DT binding conversion that is part of the PCIe DT binding series
10:45ketteniswas planning to send a v5 tonight
10:49mazkettenis: huh, I may have missed tons of emails (just came back from holiday...).
10:52Andalu30 has quit [Quit: Konversation terminated!]
10:53kettenisand the followup one that adds msi-range:
10:54mazthanks. let me get on that.
10:54kettenisanyway, I'll send a v5 that addresses the issues robh pointed out soon
10:55kettenisI'm not entirely happy with the text in the msi-controller binding
10:55awal4 has joined #asahi
10:56kettenisI retained the text from the .txt file, but maybe it needs a bit of a rewrite
10:57awal3 has quit [Ping timeout: 480 seconds]
10:58crucifix has joined #asahi
11:00mazHonestly, it looks good to me. so if you fix RobH's comments as well as the RC range I pointed out last week, we should be good. I'll ack that on the list.
11:01kettenishave some $DAYJOB stuff to do this afternoon, but I'll send it out tonight
11:02ketteniswant to make sure this doesn't end up blocking your Linux driver
11:02mazyeah, same here. I'll push out the PCIe driver v4 as well.
11:03mazI think the PCIe driver may be blocker by the pinctrl driver anyway (no idea what the status of that is).
11:03mazs/blocker/blocked/
11:03j_eymaz: im hoping to send out a first version this week
11:04mazj_ey: ah, cool. if you have a branch hanging somewhere, I could rebase the PCIe driver on top.
11:07j_eymaz: there's been nothing major recently. when I push it out I will make a squashed branch (because it's like 40 commits currently)
11:09kettenismaz: does that mean I should add that Acked-by: line to all the commit messages in the series before resending?
11:09M32thSystem[m] has joined #asahi
11:09Caedus[m] has joined #asahi
11:09EdwardAnd[m] has joined #asahi
11:09Aaron[m]1 has joined #asahi
11:09abilash1994[m] has joined #asahi
11:09ah-[m] has joined #asahi
11:09alessandrorzz[m] has joined #asahi
11:09alexanderwillner[m] has joined #asahi
11:09_alice has joined #asahi
11:09alicela1n has joined #asahi
11:09Amey has joined #asahi
11:09andi-[m] has joined #asahi
11:09AONeiLL[m] has joined #asahi
11:09anfernee[m] has joined #asahi
11:09mazkettenis: yup, that's the idea.
11:09angustrau[m] has joined #asahi
11:09AkihikoOdaki[m] has joined #asahi
11:09ar88kk[m] has joined #asahi
11:09arnidg[m] has joined #asahi
11:09avx3[m] has joined #asahi
11:09davay[m] has joined #asahi
11:09Bastian[m] has joined #asahi
11:10bastilian[m] has joined #asahi
11:10besmirich[m] has joined #asahi
11:10bfredl[m] has joined #asahi
11:10blazra[m] has joined #asahi
11:10bngs[m] has joined #asahi
11:10booffo[m] has joined #asahi
11:10brentr123[m] has joined #asahi
11:10c1truz[m] has joined #asahi
11:10camr0[m] has joined #asahi
11:10AndrewLee[m] has joined #asahi
11:10AnushervonTabarov[m] has joined #asahi
11:10cavoirom[m] has joined #asahi
11:10cgv[m] has joined #asahi
11:10ChrisHembree[m] has joined #asahi
11:10NikolaCicmil[m] has joined #asahi
11:10citizen1[m] has joined #asahi
11:10coin3x[m] has joined #asahi
11:10maz(matrix invasion)
11:10CristianMgheruan-Stanciu[m] has joined #asahi
11:10PeterB[m] has joined #asahi
11:10daftfrog[m] has joined #asahi
11:10DanielHuisman[m] has joined #asahi
11:10davidrysk[m] has joined #asahi
11:10TypoKign[m] has joined #asahi
11:10dgc[m] has joined #asahi
11:10digitalfx[m] has joined #asahi
11:10dnjmis[m] has joined #asahi
11:10dpatterbee[m] has joined #asahi
11:10parabola[m] has joined #asahi
11:10ella-0[m] has joined #asahi
11:10elosant[m] has joined #asahi
11:10Emantor[m] has joined #asahi
11:10emilazy has joined #asahi
11:10etsukata[m] has joined #asahi
11:10facez[m] has joined #asahi
11:10fedx[m] has joined #asahi
11:10LeviLynch[m] has joined #asahi
11:10Ferluci[m] has joined #asahi
11:10AlessandroFerrari[m] has joined #asahi
11:10floxf5[m] has joined #asahi
11:10fluffypup[m] has joined #asahi
11:10foxlet has joined #asahi
11:10fridtjof[m] has joined #asahi
11:10gamble[m] has joined #asahi
11:10ganpa[m] has joined #asahi
11:10GenieLotion[m] has joined #asahi
11:10ghantaz[m] has joined #asahi
11:10go4godvin has joined #asahi
11:10h_ro[m] has joined #asahi
11:10hablerentand[m] has joined #asahi
11:10happy-dude[m] has joined #asahi
11:10haterade[m] has joined #asahi
11:10i509vcb[m] has joined #asahi
11:10idf00[m] has joined #asahi
11:10ilovetrains[m] has joined #asahi
11:10isitaboat[m] has joined #asahi
11:10izica has joined #asahi
11:10Izumoo[m] has joined #asahi
11:10izzyisles[m] has joined #asahi
11:10jammie[m] has joined #asahi
11:10jeh[m] has joined #asahi
11:10jevinskie[m] has joined #asahi
11:10joerosenberg[m] has joined #asahi
11:10jryans has joined #asahi
11:10jthom[m] has joined #asahi
11:10julianp[m] has joined #asahi
11:10kjm99[m] has joined #asahi
11:10mofux[m] has joined #asahi
11:10Krumble[m] has joined #asahi
11:11lockna has joined #asahi
11:11landscape15[m] has joined #asahi
11:11lemonsus[m] has joined #asahi
11:11ll3macorn[m] has joined #asahi
11:11marcan[m] has joined #asahi
11:11maxim[m] has joined #asahi
11:11mindw0rk[m] has joined #asahi
11:11MingcongBai[m] has joined #asahi
11:11mmlb[m] has joined #asahi
11:11mulderje has joined #asahi
11:11muscularduckling[m] has joined #asahi
11:11Santiago[m]1 has joined #asahi
11:11nemanjan00[m] has joined #asahi
11:11nilsi[m] has joined #asahi
11:11ninja[m] has joined #asahi
11:11noc0lour[m] has joined #asahi
11:11obflv[m] has joined #asahi
11:11ograff has joined #asahi
11:11HaoYanQi[m] has joined #asahi
11:11ovf[m] has joined #asahi
11:11OrganicPumpkin[m] has joined #asahi
11:11PedroArajo[m] has joined #asahi
11:11peerp[m] has joined #asahi
11:11perigoso[m] has joined #asahi
11:11PeterHilgenfeld[m] has joined #asahi
11:11pho[m] has joined #asahi
11:11pipcet[m] has joined #asahi
11:11pitust[m] has joined #asahi
11:11PixelyIon[m] has joined #asahi
11:11psydroid[m]1 has joined #asahi
11:11PthariensFlame[m] has joined #asahi
11:11mazj_ey: OK. if you Cc me on your series, I'll try and pull all the strings together.
11:11quentincestino[m] has joined #asahi
11:11rat-hippo[m] has joined #asahi
11:11rethematrix[m] has joined #asahi
11:11rkjnsn[m] has joined #asahi
11:11rob-3[m] has joined #asahi
11:11RowanGoemans[m] has joined #asahi
11:11rowang077[m] has joined #asahi
11:11ruach[m] has joined #asahi
11:11ryanhrob[m] has joined #asahi
11:11s-urabe[m] has joined #asahi
11:11MagMell[m] has joined #asahi
11:11samfromspace[m] has joined #asahi
11:11smvg[m] has joined #asahi
11:11sandornagy[m] has joined #asahi
11:11Scott[m]1 has joined #asahi
11:11sephamorr[m] has joined #asahi
11:11Serentty[m] has joined #asahi
11:11shaman_br[m] has joined #asahi
11:11simjnd[m] has joined #asahi
11:11Davis[m] has joined #asahi
11:11SocioProphet[m] has joined #asahi
11:11j_eymaz: will do, I'll CC all the usual suspects
11:11Spectrejan[m] has joined #asahi
11:11spot[m] has joined #asahi
11:11stelleg[m] has joined #asahi
11:11stttcccccccccccc[m] has joined #asahi
11:11svenpeter has joined #asahi
11:12tasild[m] has joined #asahi
11:12ted[m]1 has joined #asahi
11:12TellowKrinkle[m] has joined #asahi
11:12Dementor[m] has joined #asahi
11:12The_DarkFire_[m] has joined #asahi
11:12Rakshit[m] has joined #asahi
11:12tophevich[m] has joined #asahi
11:12twoscomplement0b[m] has joined #asahi
11:12user1tt[m] has joined #asahi
11:12uur[m] has joined #asahi
11:12vasilymilovidov[m] has joined #asahi
11:12VitorCardoso[m] has joined #asahi
11:12vivithecanine[m] has joined #asahi
11:12xerpi[m] has joined #asahi
11:12Xichao[m] has joined #asahi
11:12yoodee[m] has joined #asahi
11:12ytg has joined #asahi
11:12YichaoYu[m] has joined #asahi
11:12PieroDel[m] has joined #asahi
11:12svenpeter is now known as Guest512
11:12kettenismaz: cool (just to be clear I'll retain the msi-parent, I think it is best to be explicit even though I may have to change the OpenBSD code in the future to handle an implicit MSI parent node)
11:13mazkettenis: works for me.
11:13awal4 has quit [Ping timeout: 480 seconds]
11:27marcanalyssa: well now you have me making major changes to the entire exception handling in m1n1 :p
11:32awal4 has joined #asahi
11:39awal has joined #asahi
11:41awal4 has quit [Ping timeout: 480 seconds]
11:41alyssamarcan: ...oops?
11:45povik has joined #asahi
11:56svenmaz: i think the correct fix is to just drop the iommu_flush_ops completely. this may also have to go into one of the next rcs because it might be possible to hit this even without pci support
12:32awal1 has joined #asahi
12:34awal has quit [Ping timeout: 480 seconds]
12:46awal1 has quit [Ping timeout: 480 seconds]
12:48handlerug has quit [Remote host closed the connection]
12:49handlerug has joined #asahi
12:54marcanalyssa: still no idea *why* you got that SError, but at least now it should be handled properly
12:54marcan(pushed)
12:55marcanhow are you getting it?
12:56marcanpovik: nice job on the audio :)
13:01marcanalyssa: also you can try hv.trace_range(irange(0x24246b000, 0x24246b004)) before start if you're still getting the same fault; that should at least make it precise (i.e. you actually get the faulting instruction in the guest)
13:01marcan(without something like that, SErrors are asynchronous)
13:04awal1 has joined #asahi
13:05povikmarcan: enabled by no small part by your tools
13:21awal1 has quit [Quit: WeeChat 3.2]
13:36mazsven: don't we need this invalidation anyway? it would feel odd to keep TLBs around when we've dropped the PTs. agreed on the need for something to go upstream as a fix.
13:38sventhe invalidation already happens with apple_dart_iotlb_sync and apple_dart_iotlb_sync_map which is called by iommu_map/unmap.
13:38svenright now it would happen twice if those two functions weren't completely broken due to the wrong cookie that gets passed
13:39mazsven: ah, gotcha.
13:39svenyeah.. it's essentially a left-over from v1 when i didn't yet understand the entire iommu api :(
13:40mazwell, I think there are about 4 of you now.
13:40j_eyit certainly seems that way sometimes
13:42j_eywhen i plug my laptop in, with the lid closed it makes a bong, I guess that's the smc?
13:58jbowen has joined #asahi
14:01marcanj_ey: AOP maybe
14:01marcanor just the main OS waking up
14:02j_eymarcan: I get a 'Guest exception: EXCEPTION_LOWER/SYNC' on asahi/pmgr/dev
14:02j_eyI think it's from a WARN/BUG
14:03marcanis it a brk?
14:03marcanif so it's a panic I think
14:03j_eyyeah it's the brk 0x800
14:03j_ey(I've never gotten `bt` to work in m1n1..)
14:04marcanit has to do with kernel configs
14:04marcanno messages before that?
14:04j_ey# CONFIG_RANDOMIZE_BASE is not set, not sure if I need anything else unset
14:05j_eyno messages
14:05marcanCONFIG_ARM64_PTR_AUTH=n if you don't want to set the pac_base by hand. I should really automate that...
14:05marcan*pac_mask
14:06marcanthough actually I have that set and it works fine
14:06marcanj_ey: did you load_system_map()?
14:06j_eyrebuilding with ptr auth off, I dont need it
14:06marcanwhat does bt look like?
14:06j_ey- 0xffffffc01043b48c (_end+0x3fbfff78b48c)
14:06j_ey - 0xffffffc0105efab8 (_end+0x3fbfff93fab8)
14:07marcanah yeah, did you have CONFIG_ARM64_PTR_AUTH_KERNEL on?
14:07j_eyyes PTR_AUTH and PTR_AUTH_KERNEL=y
14:07j_eyI think it was just the default
14:08j_ey(but I disabled them both now)
14:09marcanyeah but it works for me with both of those set
14:09marcanj_ey: ah, is this a 4K or 16K kernel?
14:10j_eywith 47-bit VA
14:11marcanthat's why, I was on 4K
14:11marcananyway, let me fix this
14:12j_eyIm using 16K because it doesn't get as much testing!
14:24j_eymarcan: you might fix this before recompiling the kernel finishes zzZZzz
14:26j_eynope, turning off PTR_AUTH didnt help :(
14:28marcanj_ey: done
14:31j_eymarcan: great!
14:32j_eythe bt has apple_pmgr_ps_probe in it
14:33marcanwhat's above it?
14:34j_eyrefcount_warn_saturate.. I thought it might be a WARN
14:34j_eyI dont know why those lead to brks for me
14:34quarkyalice_ has joined #asahi
14:35marcanhuh, why is that going into printk back into of...
14:41marcanj_ey: anyway, let me see if I can fix that brk business
14:43j_eyIm trying to understand why I hit that, a WARN shouldnt cause it.. (I've seen this with other WARNS)
14:49quarkyalice__ has joined #asahi
14:55quarkyalice_ has quit [Ping timeout: 480 seconds]
14:55quarkyalice_ has joined #asahi
15:01quarkyalice__ has quit [Ping timeout: 480 seconds]
15:25mazsven: yup, that fixes it.
15:27mazsven: in a similar vein, adding the removed device back fails as well: https://paste.debian.net/1212703/
15:27maz(though more gracefully)
15:28svenhm.. weird. let me try to figure out what's going on there
15:37marcanj_ey: BUG() does that
15:37marcanI just added a lower() command to the hv
15:37marcanthat will let you pass the brk through to the guest, so you see the prints
15:37marcanuse keep_bootcon for pmgr stuff, otherwise you probably won't get any output during that critical period
15:40marcanCONFIG_OF_DYNAMIC is what causes it :)
15:40marcan(and it's a bug in my pmgr code)
15:43j_eyWARN also causes the brk though, I do have CONFIG_OF_DYNAMIC, I will try lower()!
15:43marcanfixed it
15:44marcanj_ey: pushed to pmgr/dev
15:45j_eymarcan: so do you have CONFIG_OF_DYNAMIC? wondering why you didnt see it
15:45marcanI did not
15:45marcanwhich is why I didn't
15:46marcanseems CONFIG_OF_OVERLAY is probably how you ended up with that
15:47j_eynot something I intentionally selected
15:47marcanj_ey: also just force-pushed with a better fix :)
15:48marcanI turned it on anyway, seems useful to catch OF refcounting bugs
15:48j_eyI just rebased, lol, guess I'll fetch and do it again
15:48marcan(sorry :p)
15:49quarkyalice_ has quit [Ping timeout: 480 seconds]
15:50nrl^ has quit [Remote host closed the connection]
15:55svenah. i think i know what's going on. let's see.
15:55sveni think the old group reference is still stuck in sid2group
15:56j_eymarcan: boots now. I have to figure out a clock for spi though
15:56marcansee dump_pmgr.py
15:56marcanI should write a script that just spits it all out in DT format :)
15:56j_eygoing to try with refclk first, just to see if that works :p
15:57j_ey(it doesnt)
15:57marcanoh sorry, clock, not pstate
15:58marcan#121: 200000000 2 0xa0/0x23b0400f8: regval: 0x85100000
15:58marcan User: /device-tree/arm-io/spi1.clk[0]
15:58marcansays 200MHz
15:58marcan(that might explain why refclk didn't work, if the target device didn't like a ~10x too fast clock)
16:00kettenisthe i2c blocks do use refclk though isn't it?
16:01marcanyes, IIRC
16:01quarkyalice_ has joined #asahi
16:02kettenisstripping most of the clock stuff out of u-boot now that I have power-domains implemented
16:02quarkyalice_ has quit [Remote host closed the connection]
16:02quarkyalice_ has joined #asahi
16:03marcanjust added a thing to dump_pmgr to also dump the fixed/hardcoded clocks
16:03marcan=== Fixed clocks ===
16:03marcan User: /device-tree/arm-io/i2c1.clk[0]
16:03marcan User: /device-tree/arm-io/uart2.clk[1]
16:03marcan User: /device-tree/arm-io/i2c2.clk[0]
16:03marcan User: /device-tree/arm-io/wdt.clk[0]
16:03marcan User: /device-tree/arm-io/uart0.clk[1]
16:03marcan User: /device-tree/arm-io/i2c0.clk[0]
16:04marcanthat's the only one in use (and it's refclk)
16:04j_eyso spi isnt in there
16:04marcanj_ey: spi is 200MHz as I said
16:04quarkyalice_ has quit [Max SendQ exceeded]
16:04marcanthat's a dynamic clock
16:04j_eyim confused what I should put in the dt for that then
16:04quarkyalice_ has joined #asahi
16:05marcanjust make another fixed clock, call it spiclk or something
16:05svenyeah, i2c uses the 24 mhz refclock
16:05j_eymarcan: well is it dyanmic or fixed? :P
16:06marcanit's dynamic but macos never touches it and we don't even know what the clock mux inputs are for that
16:06quarkyalice_ has quit [Max SendQ exceeded]
16:06marcanso we're treating all the dynamic clocks as static
16:06j_ey(I made another clock, I just realised my issue might be that I messed up the power domains, so double checking)
16:06quarkyalice_ has joined #asahi
16:07marcanif you are chaining all the way up, note that linux will probably try to power down things it shouldn't
16:07marcanyou can try adding always-on; props
16:08j_eyok getting closer, no SError now, but all the SPI packets are corrupted
16:08quarkyalice_ has quit [Remote host closed the connection]
16:09quarkyalice_ has joined #asahi
16:10quarkyalice_ has quit [Remote host closed the connection]
16:10marcanj_ey: is this the keyboard with the corellium driver?
16:11kettenisyou need something to test gpio interrupts ;)
16:12j_eymarcan: first attempt at converting to pstate driver https://paste.gg/p/anonymous/f864f096973f4f298ca0919d160e050a
16:12j_eykettenis: the irqs are working, i can hit keys and see 'corrupted spi packet'!
16:14marcanj_ey: getting the feeling it's refclk after all
16:14marcantry that
16:14marcanapple only lists the 200MHz clock for spi, but that might be a device clock or something, and then the IO clock is still refclk...
16:14j_eyok, I didnt retry that after fixing the power issues
16:15j_eyat least in the old way, I think refclk was the topmost level of the chain of clocks, so it makes snese maybe
16:15marcanyeah, the old way had refclk trickle down to everything
16:15marcanand I just checked and the driver does use the clock
16:15marcanso it would've ended up with refclk
16:15j_eyyup, that works!
16:16ketteniscorrelium defenitely assumes spi is using a 24
16:16kettenisMHz clock
16:17* j_eyremoves always-on
16:17marcanit's probably correct
16:17marcanwe've well established by now that the ADT is a giant mess and doesn't describe the hardware even remotely consistently
16:17j_eyalways-on isn't needed either
16:28j_eymarcan: thanks for all the quick fixes today!
16:28marcanj_ey: btw, I bet the spi has a selectable clock like the uart does
16:28marcan(where it's either the fixed 24M clock or the configurable one, except for the UART that one is configured to 24M anyway)
16:30marcanyou could try poking bits in the control register to see if you can find a clock select where it suddenly works at 200MHz instead :p
16:31j_eymarcan: can you get the data for spi3? what you pasted was spi1, want to make sure it's the same
16:32marcanah, I don't have spi3 because I'm on a mac mini :)
16:32j_eyoh right
16:32marcanyou can run dump_pmgr.py yourself though!
16:33yuyichao has quit [Quit: Konversation terminated!]
16:35j_eyI'll try that in a bit
16:36marcanknowing how the uart block works, that "REG_CONFIG_PIOEN" looks more like IRQ enabled? it's the same bit as the IRQ mode on the samsung spi (S3C2410_SPCON_SMOD_INT)
16:36marcanI wonder if CPHA/CPOL and some of the others are the same as that samsung
16:37marcanI should spend some time poking at spi after I tear down this thing...
16:37svenmaz: https://f.svpe.de/636177e0cd0a06448d05c0380b4bc5b4c7b9a888b62585731849c1aa6a8eb8f4_dart-bugfix.patch compiles but is completely untested, probably wrong and maybe doesn't even fix that issue. can't get pcie to work right now and i'm about to head out: https://f.svpe.de/b745ec0ca275c9438cf98b4c31c46a86ab38c555fc93086d1d6675bf7fe763d9_pcie.txt
16:37j_eymarcan: I watch a Ben Eater video on spi (https://www.youtube.com/watch?v=MCi7dCBhVpQ) but thats about as far as I got
16:37sven(my kernel tree is pretty messed up right now fwiw, so there's a good chance that pcie error is spurious)
16:38j_eymarcan: I have tried doing some random changes and stuff in this driver.. but if you want to redo it completely, I think that might be better
16:38j_eysven: lol, high praise on that patch.
16:39mazsven: I'll have a stab at it.
16:41svenah yes. the memcpy is already wrong
16:41svenshould copy from cfg->stream_maps. maybe.
16:44marcanj_ey: I might spend some time poking at the hardware and figuring out how to redo it more sanely
16:45j_eymarcan: im happy to test with keyboard, since the other obvious spi thing is the nor flash.. and well.. we dunno about that yet :P
16:47marcanwell, my mac minis only have nor...
16:47marcanbut if I brick this thing it'll be a good experiment too :D
16:59j_eymarcan: nothing else really looks similar to that samsung spi
17:05bah_ has joined #asahi
17:06marcanyeah, it's not similar like uart is
17:06marcanbut given the lineage of these chips, it wouldn't be surprising if details are the same
17:07aleasto has quit [Quit: Konversation terminated!]
17:08aleasto has joined #asahi
17:08bah_ has quit []
17:10jbowen has quit [Ping timeout: 480 seconds]
17:10aleasto has quit [Remote host closed the connection]
17:12aleasto has joined #asahi
17:12aleasto has quit [Remote host closed the connection]
17:13aleasto has joined #asahi
17:14aleasto has quit []
17:14aleasto has joined #asahi
17:21jbowen has joined #asahi
17:23aleasto has quit [Ping timeout: 480 seconds]
17:32aleasto has joined #asahi
17:33jbowen has quit [Ping timeout: 480 seconds]
17:36dff has joined #asahi
18:04jbowen has joined #asahi
18:05povikmarcan: re: dump_pmgr.py, should boot clock indices be related to device phandles in ADT?
18:05povikbecause i see what is either a connection between the two or strange coincidence
18:31yuyichao has joined #asahi
18:45yuyichao has quit [Remote host closed the connection]
18:46yuyichao has joined #asahi
18:47yuyichao has quit [Remote host closed the connection]
18:49yuyichao has joined #asahi
18:52yuyichao has quit []
18:54yuyichao has joined #asahi
18:58yuyichao has quit [Remote host closed the connection]
19:00yuyichao has joined #asahi
19:00X-Scale` has joined #asahi
19:04X-Scale has quit [Ping timeout: 480 seconds]
19:04yuyichao has quit [Remote host closed the connection]
19:04yuyichao has joined #asahi
19:07yuyichao has quit [Remote host closed the connection]
19:10yuyichao has joined #asahi
19:11aleasto has quit [Read error: Connection reset by peer]
19:11yuyichao has quit []
19:35yuyichao has joined #asahi
19:43yuyichao has quit [Quit: Konversation terminated!]
19:49yuyichao has joined #asahi
20:00kettenis_ has joined #asahi
20:02kettenis has quit [Ping timeout: 480 seconds]
20:03yuyichao has quit [Quit: Konversation terminated!]
20:05yuyichao has joined #asahi
20:06nskl has quit [Quit: WeeChat 3.2]
20:18yuyichao has quit [Remote host closed the connection]
20:20yuyichao has joined #asahi
20:34nsklaus has joined #asahi
21:02X-Scale has joined #asahi
21:07X-Scale` has quit [Ping timeout: 480 seconds]
21:36jbowen has quit [Quit: leaving]
21:50kettenis_ is now known as kettenis
22:26crucifix has quit []
22:33alyssa"I'm sending this from my arm work e-mail address, however it was done on personal time"
22:34alyssathis is why we negotiate copyright assignment, folks
22:34j_eyjust making it clear I wasnt being paid to look at it :P
22:37j_eyalyssa: note2 is for you :P
22:37TheLink has quit [Quit: ZNC 1.8.2 - https://znc.in]
22:38alyssaj_ey: 😉
22:40alyssaj_ey: what's the deal with pinctrl vs pinmux?
22:40j_eypinctrl includes pinmux, pinctrl is the 'overall' name for it. there's also pinconf
22:40j_eypinconf is about electrical settings (voltage etc), that we dont support
22:41j_eymuxing is well. muxing
22:41j_eynormally you would want to split gpio and pinctrl I think, but theyre all in the same hw block on the m1
22:42j_ey(I mean have drivers/gpio/apple.c and drivers/pinctrl/apple.c)
22:43povikuf, work done
22:43povikalyssa: ^ as promised
22:45alyssapovik: :D
22:45alyssasign-offs usually mean the DCO
22:46alyssabasically "this code is licnesed the way I said it was, and I'm legally allowed to do that"
22:47psykoseis it possible to sign a dco with no name or not
22:47psykosei think i never found a concrete answer
22:49povikright, but i would prefer the project documentation saying so
22:49povikinstead of relying on custom
22:49povikalthough i don't know how strong the custom is
22:50TheLink has joined #asahi
22:50psykosepersonally never seen something saying sign-off that wasn't dco so must be pretty strong :)
22:50povikokay, i will not nitpcik then :)
22:50* povikis adding the sign offs
22:51alyssagit sign off is morally signing your name on the contract that is the DCO, i guess.
22:51alyssa(I am not a lawyer this is not legal advice.)
22:51alyssa(So, er, morally not legally)
22:51psykose(this is not moral advice)
22:52jnat least in linux, where this binding (between S-o-b and DCO) is established in the documentation
22:57alyssapovik: So it looks like you understand ADMAC well but not the other parts used to drive the speaker?
22:57povikpretty much
22:57povikyou don't see into the mca-switch and friends as much you see into the dma
22:58poviki have a lot expectations on what a dma is, less so with the others
22:59alyssapovik: I think there was a kext with the initialism ADMAC ....
23:00poviki will try not to touch any kexts in this life :)
23:02alyssawell, I'm sure when the time comes, there will be a marcan ex machina ;)
23:11TheLink has quit [Read error: Connection reset by peer]
23:12TheLink has joined #asahi
23:12gladiac is now known as Guest592
23:12gladiac has joined #asahi
23:18Guest592 has quit [Ping timeout: 480 seconds]
…