2021-04-10
00:02odmir has joined #asahi
00:05odmir has quit [Remote host closed the connection]
00:05odmir has joined #asahi
00:30odmir has quit [Remote host closed the connection]
00:31odmir has joined #asahi
00:34raster has joined #asahi
00:42troseman has joined #asahi
00:47odmir has quit [Ping timeout: 268 seconds]
01:03odmir has joined #asahi
01:05raster has quit [Quit: Gettin' stinky!]
01:23Emantor has joined #asahi
01:31jeffmiw_ has joined #asahi
01:36jeffmiw_ has quit [Ping timeout: 260 seconds]
01:36odmir has quit [Ping timeout: 240 seconds]
01:51solarkraft has joined #asahi
02:20odmir has joined #asahi
02:25odmir has quit [Ping timeout: 240 seconds]
02:29stblassitude has joined #asahi
02:51odmir has joined #asahi
02:57odmir has quit [Remote host closed the connection]
02:58odmir has joined #asahi
02:59phiologe has joined #asahi
03:09marvin24 has quit [Ping timeout: 250 seconds]
03:09marvin24 has joined #asahi
03:20Necrosporus has quit [Read error: Connection reset by peer]
03:21Necrosporus has joined #asahi
03:22odmir has quit [Remote host closed the connection]
04:17phiologe has quit [*.net *.split]
04:17Emantor has quit [*.net *.split]
04:17Empus has quit [*.net *.split]
04:17bendoin_ has quit [*.net *.split]
04:17ponikrf[m] has quit [*.net *.split]
04:17wagood[m] has quit [*.net *.split]
04:17devinvs[m] has quit [*.net *.split]
04:17clover[m] has quit [*.net *.split]
04:17hypergenesis[m] has quit [*.net *.split]
04:17Bastian[m] has quit [*.net *.split]
04:17mrkajetanp has quit [*.net *.split]
04:17kakobrekla has quit [*.net *.split]
04:17Augur[m] has quit [*.net *.split]
04:17wicast has quit [*.net *.split]
04:17the-mentor3 has quit [*.net *.split]
04:17Necrosporus has quit [*.net *.split]
04:17h_ro[m] has quit [*.net *.split]
04:17M1f4a9[m] has quit [*.net *.split]
04:17m1kr0[m] has quit [*.net *.split]
04:17M3zh[m] has quit [*.net *.split]
04:17fstokesman[m] has quit [*.net *.split]
04:17pipcet[m] has quit [*.net *.split]
04:17rockinrobstar[m] has quit [*.net *.split]
04:17mandresic[m] has quit [*.net *.split]
04:17bylaws has quit [*.net *.split]
04:17emily has quit [*.net *.split]
04:17Jasper[m] has quit [*.net *.split]
04:17arnd has quit [*.net *.split]
04:17stblassitude has quit [*.net *.split]
04:18Z750 has joined #asahi
04:18phiologe has joined #asahi
04:18Necrosporus has joined #asahi
04:18stblassitude has joined #asahi
04:18Emantor has joined #asahi
04:18Empus has joined #asahi
04:18the-mentor3 has joined #asahi
04:18bendoin_ has joined #asahi
04:18Augur[m] has joined #asahi
04:18wicast has joined #asahi
04:18h_ro[m] has joined #asahi
04:18mandresic[m] has joined #asahi
04:18rockinrobstar[m] has joined #asahi
04:18M1f4a9[m] has joined #asahi
04:18ponikrf[m] has joined #asahi
04:18clover[m] has joined #asahi
04:18Bastian[m] has joined #asahi
04:18wagood[m] has joined #asahi
04:18devinvs[m] has joined #asahi
04:18M3zh[m] has joined #asahi
04:18m1kr0[m] has joined #asahi
04:18fstokesman[m] has joined #asahi
04:18pipcet[m] has joined #asahi
04:18mrkajetanp has joined #asahi
04:18hypergenesis[m] has joined #asahi
04:18emily has joined #asahi
04:18Jasper[m] has joined #asahi
04:18kakobrekla has joined #asahi
04:18bylaws has joined #asahi
04:18bkero has joined #asahi
04:18arnd has joined #asahi
04:18pent1ckel has joined #asahi
04:18jaXvi has joined #asahi
04:18baryluk has joined #asahi
04:18bdju has joined #asahi
04:18kit_ty_kate has joined #asahi
04:18stemnic has joined #asahi
04:18flying_sausages has joined #asahi
04:18roxfan has joined #asahi
04:18cdesai has joined #asahi
04:18tbodt has joined #asahi
04:18PendulumSwinger has joined #asahi
04:18jhol has joined #asahi
04:18Hakon has joined #asahi
04:18comex has joined #asahi
04:18awesomebing1 has joined #asahi
04:18hatf0 has joined #asahi
04:18robher has joined #asahi
04:18NekomimiScience has joined #asahi
04:18Helikopt1 has joined #asahi
04:18prusnak has joined #asahi
04:18GaveUp has joined #asahi
04:18kkd has joined #asahi
04:18XeR has joined #asahi
04:18Lightsword has joined #asahi
04:18radex1 has joined #asahi
04:18gruetzkopf has joined #asahi
04:18Cynthia has joined #asahi
04:18doof has joined #asahi
04:18ar has joined #asahi
04:18JTL has joined #asahi
04:18jordan_ has joined #asahi
04:18jabashque has joined #asahi
04:18DarkShadow44 has joined #asahi
04:18_andy_t_ has joined #asahi
04:18sorear has joined #asahi
04:18larbob has joined #asahi
04:18lethalbit has joined #asahi
04:18ml has joined #asahi
04:18Swant has joined #asahi
04:18dottedmag has joined #asahi
04:18jato has joined #asahi
04:18coderobe has joined #asahi
04:18krzywix- has joined #asahi
04:18Janhouse has joined #asahi
04:18Behemoth has joined #asahi
04:18tomtastic has joined #asahi
04:18marcan has joined #asahi
04:18inglor has joined #asahi
04:18zkrx has joined #asahi
04:18mxw39 has joined #asahi
04:18bpye has joined #asahi
04:18shenki has joined #asahi
04:18anarsoul has joined #asahi
04:18tardyp has joined #asahi
04:18TomJepp has joined #asahi
04:18HotSwap has joined #asahi
04:18Yuzu has joined #asahi
04:18leah2 has joined #asahi
04:18yorick has joined #asahi
04:18DragoonAethis has joined #asahi
04:18scooby2 has joined #asahi
04:18x56_ has joined #asahi
04:18Simonx22 has joined #asahi
04:18tarzeau_ has joined #asahi
04:18Stary has joined #asahi
04:18jn__ has joined #asahi
04:18thresh has joined #asahi
04:18riatre has joined #asahi
04:18mort has joined #asahi
04:18_jannau_ has joined #asahi
04:18rossy has joined #asahi
04:18nemith has joined #asahi
04:18saintdev has joined #asahi
04:18puhitaku has joined #asahi
04:18jonmason has joined #asahi
04:18sbingner has joined #asahi
04:18tmbinc has joined #asahi
04:18linkmauve has joined #asahi
04:18eichin has joined #asahi
04:18jkkm has joined #asahi
04:18awordnot has joined #asahi
04:18niv has joined #asahi
04:18Baughn has joined #asahi
04:18nspaced has joined #asahi
04:18diddledan has joined #asahi
04:18hrnz has joined #asahi
04:18steev has joined #asahi
04:18abff has joined #asahi
04:18dgb has joined #asahi
04:18rafaelmartins has joined #asahi
04:18hspak has joined #asahi
04:18bisko has joined #asahi
04:18commandoline has joined #asahi
04:18_ghost_ has joined #asahi
04:18Graypup_ has joined #asahi
04:18ifthenelse has joined #asahi
04:18nmg has joined #asahi
04:18OatmealDome has joined #asahi
04:18robinp has joined #asahi
04:18zarvox has joined #asahi
04:18narmstrong has joined #asahi
04:18nkaretnikov has joined #asahi
04:18mrkajetanp has quit [Max SendQ exceeded]
04:18mort has quit [Max SendQ exceeded]
04:18mort has joined #asahi
04:19ewlsh[m] has quit [Ping timeout: 245 seconds]
04:19bfredl has quit [Ping timeout: 245 seconds]
04:19winocm has quit [Ping timeout: 245 seconds]
04:19Bastian[m] has quit [Ping timeout: 258 seconds]
04:19m1kr0[m] has quit [Ping timeout: 244 seconds]
04:19rockinrobstar[m] has quit [Ping timeout: 244 seconds]
04:20emily has quit [Ping timeout: 244 seconds]
04:20davidrysk[m] has quit [Ping timeout: 252 seconds]
04:20notafile has quit [Max SendQ exceeded]
04:20meiji163[m] has quit [Ping timeout: 260 seconds]
04:20cepheus has quit [Ping timeout: 245 seconds]
04:20dyniec[m] has quit [Ping timeout: 244 seconds]
04:20noc0lour1 has quit [Ping timeout: 244 seconds]
04:20Eighth_Doctor has quit [Ping timeout: 248 seconds]
04:20mofux[m] has quit [Ping timeout: 245 seconds]
04:20JakeVossen[m] has quit [Ping timeout: 276 seconds]
04:20fridtjof[m] has quit [Ping timeout: 245 seconds]
04:20rann has quit [Ping timeout: 245 seconds]
04:20blazra has quit [Ping timeout: 245 seconds]
04:20uartman[m] has quit [Ping timeout: 245 seconds]
04:20Lockna[m] has quit [Ping timeout: 252 seconds]
04:20user1tt[m] has quit [Ping timeout: 252 seconds]
04:20foxlet has quit [Ping timeout: 252 seconds]
04:20M1f4a9[m] has quit [Ping timeout: 245 seconds]
04:20M3zh[m] has quit [Ping timeout: 245 seconds]
04:20bylaws has quit [Ping timeout: 245 seconds]
04:20jryans has quit [Max SendQ exceeded]
04:21brentr123[m] has quit [Ping timeout: 248 seconds]
04:21HeN has quit [Ping timeout: 260 seconds]
04:21konradybcio has quit [Ping timeout: 245 seconds]
04:21PixelyIon[m] has quit [Ping timeout: 245 seconds]
04:21ldhacker[m] has quit [Ping timeout: 245 seconds]
04:21kharit[m] has quit [Ping timeout: 245 seconds]
04:21mandresic[m] has quit [Ping timeout: 245 seconds]
04:21h_ro[m] has quit [Ping timeout: 245 seconds]
04:21fstokesman[m] has quit [Ping timeout: 245 seconds]
04:21pipcet[m] has quit [Ping timeout: 245 seconds]
04:21Jasper[m] has quit [Ping timeout: 245 seconds]
04:21ryanhrob[m] has quit [Ping timeout: 246 seconds]
04:21Jaehyuk[m] has quit [Ping timeout: 246 seconds]
04:21izzyisles[m] has quit [Ping timeout: 246 seconds]
04:21nickray has quit [Ping timeout: 246 seconds]
04:21Augur[m] has quit [Ping timeout: 258 seconds]
04:21simjnd[m] has quit [Ping timeout: 276 seconds]
04:21pakl[m] has quit [Ping timeout: 276 seconds]
04:21svenpeter has quit [Ping timeout: 276 seconds]
04:21JJJollyjim has quit [Ping timeout: 276 seconds]
04:21ponikrf[m] has quit [Ping timeout: 258 seconds]
04:21devinvs[m] has quit [Ping timeout: 258 seconds]
04:21hypergenesis[m] has quit [Ping timeout: 258 seconds]
04:21clover[m] has quit [Ping timeout: 258 seconds]
04:21wagood[m] has quit [Ping timeout: 258 seconds]
04:21The_DarkFire_[m] has quit [Ping timeout: 252 seconds]
04:21d_u_f_f[m] has quit [Ping timeout: 252 seconds]
04:21Serentty has quit [Ping timeout: 245 seconds]
04:21iilmer[m] has quit [Ping timeout: 248 seconds]
04:21hothotleg[m] has quit [Ping timeout: 248 seconds]
04:21jamesmunns[m] has quit [Ping timeout: 248 seconds]
04:21rkjnsn[m] has quit [Ping timeout: 246 seconds]
04:21HeN has joined #asahi
04:22ivanmedoedov[m] has quit [Ping timeout: 276 seconds]
04:22manu1volta[m] has quit [Ping timeout: 276 seconds]
04:23_alice has quit [Ping timeout: 252 seconds]
04:23WhyNotHugo has quit [Ping timeout: 252 seconds]
04:24WhyNotHugo has joined #asahi
04:27rann has joined #asahi
04:31troseman has quit [Ping timeout: 265 seconds]
04:53d_u_f_f[m] has joined #asahi
05:03foxlet has joined #asahi
05:03Jasper[m] has joined #asahi
05:03nickray has joined #asahi
05:03svenpeter has joined #asahi
05:03bylaws has joined #asahi
05:03JakeVossen[m] has joined #asahi
05:03jryans has joined #asahi
05:03JJJollyjim has joined #asahi
05:03dyniec[m] has joined #asahi
05:03emily has joined #asahi
05:03winocm has joined #asahi
05:03user1tt[m] has joined #asahi
05:03Eighth_Doctor has joined #asahi
05:03fridtjof[m] has joined #asahi
05:03jamesmunns[m] has joined #asahi
05:03notafile has joined #asahi
05:03_alice has joined #asahi
05:03blazra has joined #asahi
05:03mrkajetanp has joined #asahi
05:03konradybcio has joined #asahi
05:03pakl[m] has joined #asahi
05:03bfredl has joined #asahi
05:03cepheus has joined #asahi
05:03noc0lour1 has joined #asahi
05:03pipcet[m] has joined #asahi
05:03izzyisles[m] has joined #asahi
05:03hothotleg[m] has joined #asahi
05:03uartman[m] has joined #asahi
05:03iilmer[m] has joined #asahi
05:03kharit[m] has joined #asahi
05:03ldhacker[m] has joined #asahi
05:03meiji163[m] has joined #asahi
05:03M3zh[m] has joined #asahi
05:03brentr123[m] has joined #asahi
05:03The_DarkFire_[m] has joined #asahi
05:03fstokesman[m] has joined #asahi
05:03Bastian[m] has joined #asahi
05:03hypergenesis[m] has joined #asahi
05:03manu1volta[m] has joined #asahi
05:03mofux[m] has joined #asahi
05:03PixelyIon[m] has joined #asahi
05:03m1kr0[m] has joined #asahi
05:03clover[m] has joined #asahi
05:03devinvs[m] has joined #asahi
05:03Serentty has joined #asahi
05:03ryanhrob[m] has joined #asahi
05:03rkjnsn[m] has joined #asahi
05:03Augur[m] has joined #asahi
05:03Lockna[m] has joined #asahi
05:03M1f4a9[m] has joined #asahi
05:03ewlsh[m] has joined #asahi
05:03Jaehyuk[m] has joined #asahi
05:03ponikrf[m] has joined #asahi
05:03mandresic[m] has joined #asahi
05:03h_ro[m] has joined #asahi
05:03simjnd[m] has joined #asahi
05:03wagood[m] has joined #asahi
05:03rockinrobstar[m] has joined #asahi
05:03davidrysk[m] has joined #asahi
05:03ivanmedoedov[m] has joined #asahi
05:19VinDuv has joined #asahi
05:57vlixa has quit [Remote host closed the connection]
07:33_rjeffman has joined #asahi
07:56mort has quit [Changing host]
07:56mort has joined #asahi
08:22abff has left #asahi ["later"]
09:00JakeVossen[m] has quit [Quit: Idle for 30+ days]
09:00Glanzmann has joined #asahi
09:37ephe_meral1 has joined #asahi
09:44choozy has joined #asahi
10:01totebagel has joined #asahi
10:20jeffmiw_ has joined #asahi
10:24jeffmiw_ has quit [Ping timeout: 252 seconds]
10:31vlixa has joined #asahi
10:43klaus has joined #asahi
10:56raster has joined #asahi
10:59Glanzmann has quit [Quit: leaving]
11:47nico_32 has joined #asahi
12:05glibc has joined #asahi
12:20jeffmiw_ has joined #asahi
12:20jeffmiw_ has quit [Client Quit]
13:05suskun has joined #asahi
13:05suskun has quit [Remote host closed the connection]
13:16ArnoldSebastian[ has joined #asahi
13:18choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
13:41vlixa has quit [Remote host closed the connection]
14:31vimal has joined #asahi
14:36_whitelogger has joined #asahi
14:39vlixa has joined #asahi
15:00choozy has joined #asahi
15:24odmir has joined #asahi
15:29odmir has quit [Ping timeout: 260 seconds]
15:36plainbits has joined #asahi
16:00M1f4a9[m] has quit [Quit: Idle for 30+ days]
16:00simjnd[m] has quit [Quit: Idle for 30+ days]
16:00mandresic[m] has quit [Quit: Idle for 30+ days]
17:16klaus_ has joined #asahi
17:20klaus_ has quit [Client Quit]
17:24jeffmiwI'm trying to see how to setup m1n1 as an EL2 hypervisor, from my understanding we shall set HCR_EL2.E2H(Bit 34) to zero for that, I have been trying to change this first with a proxy shell, then in exception_initialize but for some reason it does work
17:25jeffmiwthere must be a pre-condition to be able to change it but I did not find it. If anyone has an idead on where to dig ?
17:26j`eyjeffmiw: see https://lore.kernel.org/linux-arm-kernel/20210408131010.1109027-3-maz@kernel.org/
17:29klaus_ has joined #asahi
17:29klaus has quit [Quit: Textual IRC Client: www.textualapp.com]
17:55tomboy64 has quit [*.net *.split]
17:55arekm has quit [*.net *.split]
17:55_blasty`_ has quit [*.net *.split]
17:55vijfhoek has quit [*.net *.split]
17:55eta has quit [*.net *.split]
17:55Shiz has quit [*.net *.split]
17:55ch3sh1r3c4t has quit [*.net *.split]
17:55anuejn has quit [*.net *.split]
17:55zorun has quit [*.net *.split]
17:55Ziemas has quit [*.net *.split]
17:55rbenua has quit [*.net *.split]
17:55segher has quit [*.net *.split]
17:55jannau has quit [*.net *.split]
17:55vafanlignarde has quit [*.net *.split]
17:56_blasty`_ has joined #asahi
17:56eta has joined #asahi
17:56arekm has joined #asahi
17:56Shiz has joined #asahi
17:56vafanlignarde has joined #asahi
17:56anuejn has joined #asahi
17:56Ziemas has joined #asahi
17:56ch3sh1r3c4t has joined #asahi
17:56jannau has joined #asahi
17:56rbenua has joined #asahi
17:56vijfhoek has joined #asahi
17:56tomboy64 has joined #asahi
17:56zorun has joined #asahi
17:56segher has joined #asahi
18:05plainbits has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:10plainbits has joined #asahi
18:11odmir has joined #asahi
18:13klaus has joined #asahi
18:17klaus_ has quit [Ping timeout: 240 seconds]
18:20plainbits has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:05plainbits has joined #asahi
19:29marcanjeffmiw: m1n1 can already be a "hypervisor", you can boot m1n1 as a "guest" with chainload.py --el1
19:30marcanand then boot linux under that (only works in single-cpu mode because there's no real virtualization of the SMP spinup stuff, so the other cores come up in EL2 and that breaks)
19:30odmir has quit [Remote host closed the connection]
19:31odmir has joined #asahi
19:34ephe_meral1 has quit [Ping timeout: 250 seconds]
19:35ephe_meral1 has joined #asahi
19:35odmir has quit [Ping timeout: 240 seconds]
19:37plainbits has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:40klaus has quit [Quit: Lost terminal]
19:40plainbits has joined #asahi
19:41kettenis_I'll send a pull request after https://github.com/AsahiLinux/m1n1/pull/44 has been merged
19:42plainbits has quit [Client Quit]
19:44klaus has joined #asahi
20:01odmir has joined #asahi
20:02Bublik has joined #asahi
20:03Bublik_ has quit [Ping timeout: 248 seconds]
20:04ephe_meral1 has quit [Ping timeout: 258 seconds]
20:19jeffmiwmarcan: I did play a bit with chainload.py --el1, still, I'm trying to make a small step to hypervise something
20:20jeffmiwI was thinking to have m1n1 keeping the usb interface (I do not have the serial interface stuff, only usb) and then boot linux and virtualize the uart to do somekind of mmio tracing
20:21jeffmiwonce I have that, I was thinking to do the same with macos, so we can trace registers to help reverse eng without having to disassemble and risking copyright infringement
20:22jeffmiwand I was on the plan to use the HCR_EL2.E2H to have type 1 like virtualization for that
20:23jeffmiwnow I'm rethinking the appraoch with E2H set to 1 , looking at the memory map to try to do this basic mmiotrace experiment
20:29jeffmiwmarcan: yes this is what I understood and found so powerful, i decided to try to give it a try
20:30jeffmiwdon't worry I'm still catching up with all the work you have done, it took me hours to understand the armv8 virtualization stuff on top of the page tables :)
20:33ephe_meral1 has joined #asahi
20:33marcanI have a fairly well cooked idea in my head, just don't want to end up overlapping and ending up with wasted time :)
20:34marcanthe setup that --el1 does is correct, you just need to enable the second-stage page tables (VM mode) like you would with E2H=0
20:35svenhttps://github.com/AsahiLinux/m1n1/pull/45 that one first, after that you'll get the usb one :)
20:36odmir has quit [Ping timeout: 265 seconds]
20:36svennot much changes for the usb one fwiw, i've just split the dart and pmgr stuff out because kettenis_ needed the first and i had updates for the second
20:38marcan(honestly, I don't really care too much about details with m1n1; anything broken we can fix, as long as the basic approach is fine)
20:38marcan(e.g. your framebuffer scrolling thing is definitely weird enough to get complaints; stuff like this is fine :p)
20:41marcanwill review the FB stuff tomorrow too, but go over the diff a bit, there's at least one random blank line added and also some of the fix commits could use squashing
20:41marcanI expect to do some munging over the blue between fb / usb / serial / proxy after this is all merged anyway, it needs a rethink
20:42jeffmiwmarcan: yes working to do some VM memory map and trying it, looking at VTCR_EL2 and VTTBR_EL2 before turning on HCR_EL2.VM to 1
20:42kettenis_for framebuffer scrolling trying to avoid reading back the framebuffer contents is typically a good idea
20:44marcansven: this reminds me, on paper we prooobably need to unmap some high RAM at some point, need to figure out what the sane way of determining what the hole is
20:45marcanbecause right now the CPU is allowed to speculate into a carveout there that blows up IIRC
20:47svenhm, true. i do remember hitting something before the end of ram once after chainload m1n1 too often
20:49marcanbut then again all this ties in with the xnu loading stuff for mmiotrace, I need to just write code that can rebuild the adt/bootargs/stuff anyway
20:50marcanthere's no formal coding style other than the rules in that .clang-format file (which I update sometimes) and basically following the style of the rest of the code
20:51odmir has joined #asahi
20:51marcanI do enforce the clang-format thing, even when it does the "wrong" thing it's better to leave the formatting to a tool than agonize over doing things manually
20:53VinDuv has quit [Quit: Leaving.]
20:54raster has quit [Quit: Gettin' stinky!]
21:01klaus has quit [Quit: Lost terminal]
21:05sveni think the CI workflow should also just give you a diff to make clang-format happy otherwise
21:23odmir has quit [Ping timeout: 240 seconds]
21:23ephe_meral1 has quit [Ping timeout: 250 seconds]
21:33aratuk has joined #asahi
21:37aratuk has quit [Client Quit]
22:03mxw39 has quit [Quit: Konversation terminated!]
22:04mxw39 has joined #asahi
22:15odmir has joined #asahi
22:19danqo has joined #asahi
22:26jeffmiw_ has joined #asahi
22:45odmir has quit [Remote host closed the connection]
22:46odmir has joined #asahi
22:51odmir has quit [Ping timeout: 268 seconds]
22:53choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
23:05odmir has joined #asahi
23:15bgianf has joined #asahi