#
…

2021-12-07

00:52leah has quit [Quit: WeeChat 3.3]
00:55slicey has joined #asahi-dev
01:14marcanjannau: the t6000 support was added later and not everywhere yet
01:16marcansorry about that :(
01:34yuyichao has quit [Ping timeout: 480 seconds]
01:53leah has joined #asahi-dev
02:33yuyichao has joined #asahi-dev
03:22kov has quit [Quit: Coyote finally caught me]
03:46kov has joined #asahi-dev
03:50marcansven: if you have a chance, can you send out the watchdog patch with the MAINTAINERS split? I think it's ready for Guenter to merge otherwise
03:53slicey has quit [Quit: zzz]
03:54marcanactually, I'll go ahead and merge in the binding already
03:58PhilippvK has joined #asahi-dev
04:01phiologe has quit [Ping timeout: 480 seconds]
04:23leah2 has quit [Ping timeout: 480 seconds]
04:30leah2 has joined #asahi-dev
05:04bmrgz[m] has joined #asahi-dev
06:32jannaumarcan: no problem. I should have checked earlier. I saw it was handled in from_adt() and assumed it was ok
07:12the_lanetly_052__ has quit [Ping timeout: 480 seconds]
07:15marcan... I'm an idiot. sigh.
07:15marcanjannau: thanks
08:03the_lanetly_052 has joined #asahi-dev
08:45svenmarcan: sure, i'll do it this evening
08:46sveni can also include the commit that adds the watchdog node while i'm at it
10:10aleasto has joined #asahi-dev
10:23aleasto has quit [Quit: Konversation terminated!]
10:23aleasto has joined #asahi-dev
10:26aleasto has quit [Remote host closed the connection]
10:26aleasto has joined #asahi-dev
10:26aleasto has quit [Remote host closed the connection]
10:27aleasto has joined #asahi-dev
11:45the_lanetly_052__ has joined #asahi-dev
11:48the_lanetly_052 has quit [Ping timeout: 480 seconds]
11:58marcanjust pushed aic2 with a cleaned up take on the AICv2 support. There's one thing missing: I'm not sure how to get the true supported die count from the hardware :/ (to compute all the register offsets properly)
11:58marcanI have a guess but I'm not sure if it's right...
12:03mazworse case, make it explicit in DT.
12:06j_eymarcan: 'start_off' looks unused fca0a653bb4b9a161781b0dd01e0eadd83ecf904
12:09the_lanetly_052__ has quit [Ping timeout: 480 seconds]
12:12marcanah yeah, that gets used in the next commit
12:12marcanmaz: yeah, heh
12:12marcanwhat apple do instead is... specify the event register offset in the DT
12:12marcanwhich I think I like even less
12:13marcan(that's the only register which would have to be computed based on max dies; its location seems to be after all the IRQ control registers, rounded to page size)
12:34Gaspare has joined #asahi-dev
12:46Gaspare has quit [Ping timeout: 480 seconds]
13:29mazmarcan: we need to find a way to expose the E/P affinities in DT one way or another.
13:29mazso that the PMU interrupts can be discriminated.
14:02leah has quit [Quit: WeeChat 3.3]
14:05marcanmaz: I was going to ask about that; isn't it the same IRQ anyway? why does the PMU driver need separate IRQs for E/P if they're percpu anyway?
14:26Dcow has quit [Remote host closed the connection]
14:27Dcow_ has joined #asahi-dev
14:37yuyichao has quit [Ping timeout: 480 seconds]
14:41marcanalso, looks like the PERST changes haven't been merged yet? is anything holding that up?
14:46_jannau_a discussion about how the dts change is handled was but it looks on track now https://lore.kernel.org/linux-arm-kernel/20211207101621.GA466@lpieralisi/
14:50marcangood to hear that
15:06yuyichao has joined #asahi-dev
15:44PhilippvK has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
15:47phiologe has joined #asahi-dev
16:07mazmarcan: that's the standard big-little horror. the core PMU code uses the interrupt affinity to find out about the PMUs that are compatible. E/P PMUs are obviously incompatible (they count different things), so you have to segregate them.
16:09mazotherwise, you can't tell. they all have the same programming model, and count events similarly numbered. but the semantics of the events are can be radically different (they are on ARM cores, less so on Apple).
16:09marcanaside: just pushed a bunch of DT schema changes to asahi, enough to keep the checker happy about all the t6k stuff except NVMe/SART. cc kettenis in case you want to take a look; I'll probably fire off all the easy ones (everything but AIC2) as a series tomorrow
16:10marcanmaz: using IRQ affinity just seems like such a hack for this...
16:11marcanbut anyway, I think Apple are probably going to stick with that Aff2 thing for quite a while, they use it all over the place (and so does m1n1)
16:11marcanso I'm okay with going with that
16:12mazmarcan: big-little is a terrible hack overall. shame it has spread...
16:15kettenismaz: now that it has spread to x86, you can share te pain with lots more people ;)
16:16roxfanwhere in x86?
16:16arroxfan: new intel stuff
16:16j_eyalder lake
16:16arbut at least one x86 cpu vendor still claims they won't do big.little ;)
16:17marcanit's so amazing it broke some game DRM because it thought you were randomly swapping out your CPU
16:17marcan... and apparently Intel's official workaround is a BIOS hack to use the scroll lock key to disable half the cores. yes, really.
16:18mazthe positive thing is that someone found a use for this key!
16:18marcanhey, I use it to trigger my screen lock!
16:18aryou can also do the windows equivalent of taskset
16:18marcanscroll lock, screen lock, close enough right?
16:19arto pin the game in question to p-cores
16:20mazmy laptop has a dedicated 'print screen' key. I use it to locate the mouse pointer...
16:20marcanI use Pause to trigger krunner (i.e. quick run app/command)
16:20marcanPrint screen does trigger screen capture
16:21marcanthough... I have to shamefully admit I've gotten too used to the macOS command-shift-{3,4} thing, and I've started to replicate it on my Linux installs...
16:22marcanwill be convenient once I actually move to these laptops though, since those definitely don't have a Print Screen key
16:22roxfanwill they have diffrent cacheline sizes?
16:23marcanok, off to sleep. Finally managed to catch up on a bunch of kernel stuff today... I believe tomorrow I have a SPI reversing stream to do, and a couple more kernel mails to read/send out.
16:43PhilippvK has joined #asahi-dev
16:45phiologe has quit [Ping timeout: 480 seconds]
16:49phiologe has joined #asahi-dev
16:51PhilippvK has quit [Ping timeout: 480 seconds]
17:06klaus has quit [Quit: Lost terminal]
17:48___nick___ has joined #asahi-dev
18:14PhilippvK has joined #asahi-dev
18:17phiologe has quit [Ping timeout: 480 seconds]
18:22leah has joined #asahi-dev
19:46___nick___ has quit []
19:48___nick___ has joined #asahi-dev
20:16aleasto has quit [Ping timeout: 480 seconds]
20:20klaus has joined #asahi-dev
20:46___nick___ has quit []
20:48___nick___ has joined #asahi-dev
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:19mini has joined #asahi-dev
21:21mini has quit []
21:23mini has joined #asahi-dev
22:41yuyichao_ has joined #asahi-dev
22:45yuyichao has quit [Ping timeout: 480 seconds]
23:13yuyichao has joined #asahi-dev
23:17yuyichao_ has quit [Ping timeout: 480 seconds]
…