2021-03-28
00:00choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
00:05jeffmiw has joined #asahi
00:09jeffmiw has quit [Ping timeout: 252 seconds]
00:16raster has quit [Quit: Gettin' stinky!]
00:21bishopdynamics has joined #asahi
00:27bishopdynamics has quit [Quit: My machine has gone to sleep. ZZZzzz…]
00:44solarkraft has joined #asahi
00:46Nazral has joined #asahi
01:03troseman has joined #asahi
01:05troseman_ has joined #asahi
01:09troseman has quit [Ping timeout: 246 seconds]
01:27anarsoul has quit [Ping timeout: 245 seconds]
01:32anarsoul has joined #asahi
01:37solarkraft_ has joined #asahi
01:38solarkraft has quit [Ping timeout: 268 seconds]
01:42odmir has quit [Remote host closed the connection]
01:43odmir has joined #asahi
01:45troseman_ has quit [Quit: Leaving]
01:45troseman has joined #asahi
01:46riker77_ has joined #asahi
01:48odmir has quit [Ping timeout: 246 seconds]
01:48riker77 has quit [Ping timeout: 276 seconds]
01:48riker77_ is now known as riker77
02:00zkrx has quit [Ping timeout: 240 seconds]
02:14odmir has joined #asahi
02:21zkrx has joined #asahi
02:31solarkraft has joined #asahi
02:32solarkraft_ has quit [Ping timeout: 268 seconds]
02:41odmir has quit [Ping timeout: 246 seconds]
02:47PhilippvK has joined #asahi
02:47phiologe has quit [Ping timeout: 276 seconds]
02:58odmir has joined #asahi
03:08solarkraft_ has joined #asahi
03:09solarkraft has quit [Ping timeout: 265 seconds]
03:17marvin24 has quit [Ping timeout: 245 seconds]
03:18marvin24 has joined #asahi
03:25odmir has quit [Remote host closed the connection]
03:57rwhitby has joined #asahi
04:36troseman has quit [Quit: Leaving]
05:07solarkraft_ has quit [Read error: Connection reset by peer]
05:08solarkraft has joined #asahi
05:24solarkraft has quit [Ping timeout: 240 seconds]
05:43VinDuv has joined #asahi
07:03jeffmiw has joined #asahi
07:08jeffmiw has quit [Ping timeout: 265 seconds]
07:15marshmallow has quit [Ping timeout: 246 seconds]
07:50marcanmaz: I did mention that the mask registers don't work if TGE=1, right? so if Linux leaves the guest timers active when context switching out of the VM, that won't work
07:52vimal has quit [Ping timeout: 252 seconds]
08:15vimal has joined #asahi
08:17vimal has quit [Max SendQ exceeded]
08:17vimal has joined #asahi
08:22sirn has quit [Quit: Connection closed for inactivity]
09:00izzyisles[m] has quit [Quit: Idle for 30+ days]
09:53VinDuv has quit [Quit: Leaving.]
10:14uartman[m] has joined #asahi
10:42raster has joined #asahi
10:52mazmarcan: not really. I ran a little experiment to try a find when the ISR_EL1.F bit gets cleared.
10:52marcanfyi, I ended up adding EL1 support to the AIC driver since it turned out pretty easy (just guarding some stuff and mapping the IRQs differently in the translate function)
10:53marcanit's good enoug to boot after a chainload.py --el1 to m1n1, with nosmp (nosmp because I don't virtualize CPU spin-up, so the secondaries come up in EL2 and that explodes)
10:56marcanand with everything idle, and the timers masked, setting up a timer to fire you see it raising a FIQ in EL2?
10:57mazthat's not the point. FIQ acts as a edge triggered interrupt, and the ack is the read of the CNT registerse.
11:04marcanI will say I *used* to think the mask register did some weird edge triggered stuff, until I realized I was missing an isb after setting TGE=0, and what I was seeing it was it not taking effect until after the first exception was taken
11:10marcanmaz: is it possible that TGE gets flipped to 1 at some point with the guest timers still firing? in that case you would get FIQs delivered to EL2
11:11marcanthough that's about the masking, I certainly can't explain any kind of edge-triggered-like behavior for the HV timers
11:15mazmarcan: we do restore the timers with TGE=1, always. but if it was a level, that interrupt would keep firing forever, because I'm not using this mask *at all*.
11:21svenmarcan: you'll do nvme next, right? any objections if i take a stab at i2c and that ti chip then to get closer to working usb? or is there anything else you think should come first?
11:22marcanremember we had the vGIC issue with not being able to control the hardware state when using the funny list register, right?
11:31VinDuv has joined #asahi
11:38mazI wonder if I'm being tricked by the FIQ handler dealing with both HV and guest timers *in that order*.
11:40mazif the mask is actually a mask, and that the guest timer is pending, we are still going to process the interrupt.
11:41marcanI tried actually firing a FIQ (DAIF clear) and just reading (not writing) the timer registers there, and I still get a FIQ storm
11:42marcanand... yeah, the AIC code should not be dispatching guest IRQs if the masks are set, should it
11:53marshmallow has joined #asahi
12:16inglor has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
12:17inglor has joined #asahi
12:43choozy has joined #asahi
13:00solarkraft has joined #asahi
13:06odmir has joined #asahi
13:13Namidairo has quit [Ping timeout: 252 seconds]
13:24kit_ty_kate has joined #asahi
13:33Namidairo has joined #asahi
13:33solarkraft_ has joined #asahi
13:33solarkraft has quit [Ping timeout: 240 seconds]
13:41marcanmaz: should I send out those two VHE fix patches at the head of v4, or do you want to keep discussion of those to your thread?
13:52jeffmiw has joined #asahi
13:56jeffmiw has quit [Ping timeout: 246 seconds]
14:15solarkraft_ has quit [Ping timeout: 246 seconds]
14:34solarkraft has joined #asahi
14:35solarkraft has quit [Client Quit]
14:41solarkraft has joined #asahi
15:09odmir has quit [Remote host closed the connection]
15:15PhilippvK has quit [Ping timeout: 252 seconds]
15:15phiologe has joined #asahi
15:18choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
15:40odmir has joined #asahi
15:44dshep_ has left #asahi ["WeeChat 2.1"]
15:49VinDuv has quit [Quit: Leaving.]
16:00blazra has quit [Quit: Idle for 30+ days]
16:14goosteady has joined #asahi
16:14VinDuv has joined #asahi
16:16choozy has joined #asahi
16:20goosteadyThis is such an exciting project. I got my wife an M1 Air and am so jealous but I am not running MacOS.
16:24odmir has quit [Ping timeout: 240 seconds]
16:37odmir has joined #asahi
16:39odmir has quit [Remote host closed the connection]
16:39odmir has joined #asahi
17:01greg_newton has joined #asahi
17:04goosteady has quit [Ping timeout: 260 seconds]
17:30blazra has joined #asahi
17:31raster has quit [Quit: Gettin' stinky!]
17:56raster has joined #asahi
18:19kettenis has quit [Ping timeout: 260 seconds]
18:21kettenis_ has joined #asahi
18:27kettenis_ has quit [Ping timeout: 252 seconds]
18:30JusticeEX has quit [Quit: leaving]
18:45kettenis1 has joined #asahi
18:47djhworld has joined #asahi
19:04ephe_meral has joined #asahi
19:23odmir has quit [Remote host closed the connection]
19:24odmir has joined #asahi
19:29odmir has quit [Ping timeout: 268 seconds]
19:53PeterEaston has joined #asahi
19:53TheJollyRoger has quit [Ping timeout: 240 seconds]
19:56odmir has joined #asahi
20:12ephe_meral has quit [Ping timeout: 246 seconds]
20:19odmir has quit [Ping timeout: 240 seconds]
20:38bishopdynamics has joined #asahi
20:38bishopdynamics has quit [Client Quit]
20:46odmir has joined #asahi
20:52odmir has quit [Ping timeout: 246 seconds]
21:03VinDuv has quit [Quit: Leaving.]
21:07odmir has joined #asahi
21:31odmir has quit [Ping timeout: 240 seconds]
21:31jeffmiw has joined #asahi
21:35jeffmiw has quit [Ping timeout: 240 seconds]
21:53Fanfwe has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
21:55Fanfwe has joined #asahi
21:59Fanfwe has quit [Client Quit]
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01yrlf has joined #asahi
22:02Fanfwe has joined #asahi
22:14odmir has joined #asahi
22:18odmir has quit [Ping timeout: 246 seconds]
22:52choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
23:06karlyeurl has quit [Quit: You think water moves fast? You should see ice.]
23:29macc24 has quit [Ping timeout: 250 seconds]
23:32odmir has joined #asahi
23:44phiologe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
23:44phiologe has joined #asahi
23:48raster has quit [Quit: Gettin' stinky!]