#
…

2024-09-05

00:05ellyq has quit []
00:19pb17 has quit [Ping timeout: 480 seconds]
00:49ddxtanx has quit [Quit: Konversation terminated!]
01:00KxCORP58940003 has quit [Quit: Bye!]
01:00KxCORP589400034 has joined #asahi-dev
01:02pb17 has joined #asahi-dev
01:31nora_ has joined #asahi-dev
01:33nora has quit [Ping timeout: 480 seconds]
01:45gladiac has joined #asahi-dev
01:51gladiac2 has quit [Ping timeout: 480 seconds]
01:51gladiac is now known as gladiac2
01:59john-cabaj has joined #asahi-dev
02:04dcavalca85 has quit [Ping timeout: 480 seconds]
02:09jnn has joined #asahi-dev
02:13jn has quit [Ping timeout: 480 seconds]
02:17dcavalca85 has joined #asahi-dev
02:20tobhe_ has joined #asahi-dev
02:27tobhe has quit [Ping timeout: 480 seconds]
03:01pb17 has quit [Ping timeout: 480 seconds]
03:24pthariensflame has joined #asahi-dev
03:29nora has joined #asahi-dev
03:31nora_ has quit [Ping timeout: 480 seconds]
03:46pb17 has joined #asahi-dev
03:51Halian has quit [Quit: Going offline, see ya! (www.adiirc.com)]
03:52Halian has joined #asahi-dev
03:54pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
04:22pounce has quit [Ping timeout: 480 seconds]
04:53john-cabaj1 has joined #asahi-dev
04:55john-cabaj has quit [Ping timeout: 480 seconds]
04:55john-cabaj1 is now known as john-cabaj
05:10pb17 has quit [Ping timeout: 480 seconds]
05:13john-cabaj has quit [Ping timeout: 480 seconds]
05:33yuyichao_ has quit [Ping timeout: 480 seconds]
05:38pb17 has joined #asahi-dev
06:07pounce has joined #asahi-dev
06:15tbodt has quit []
06:15tbodt has joined #asahi-dev
06:24ddxtanx has joined #asahi-dev
06:55pb17 has quit [Ping timeout: 480 seconds]
07:21riatre has quit [Ping timeout: 480 seconds]
07:32pb17 has joined #asahi-dev
07:42kraem has quit [Remote host closed the connection]
07:45kraem has joined #asahi-dev
07:45Halian has quit [Ping timeout: 480 seconds]
07:47Halian has joined #asahi-dev
08:09Halian has quit [Quit: Going offline, see ya! (www.adiirc.com)]
08:36Halian has joined #asahi-dev
08:43chadmed has quit [Quit: Konversation terminated!]
08:43chadmed has joined #asahi-dev
08:56Dan___ has quit [Ping timeout: 480 seconds]
09:01mrkajetanp has joined #asahi-dev
09:09pb17 has quit [Ping timeout: 480 seconds]
09:11chaos_princess has quit [Quit: chaos_princess]
09:12chaos_princess has joined #asahi-dev
09:19pb17 has joined #asahi-dev
09:25Dan___ has joined #asahi-dev
09:44darkapex has quit [Remote host closed the connection]
09:45darkapex has joined #asahi-dev
09:47Dan___ has quit [Remote host closed the connection]
09:48Dan___ has joined #asahi-dev
09:59Dan___ has quit [Ping timeout: 480 seconds]
10:09Dan___ has joined #asahi-dev
10:09mrkajetanp has quit [Ping timeout: 480 seconds]
10:10mrkajetanp has joined #asahi-dev
10:20Dan___ has quit [Ping timeout: 480 seconds]
10:21Dan___ has joined #asahi-dev
10:21mrkajetanp has quit [Ping timeout: 480 seconds]
10:26mervyn has quit [Quit: See you space cowboy...]
10:27mervyn has joined #asahi-dev
10:35Dan___ has quit [Ping timeout: 480 seconds]
10:35mrkajetanp has joined #asahi-dev
10:43Dan___ has joined #asahi-dev
10:50pb17 has quit [Ping timeout: 480 seconds]
11:00Dan___ has quit [Ping timeout: 480 seconds]
11:07Dan___ has joined #asahi-dev
11:10Dementor9 has quit [Ping timeout: 480 seconds]
11:16mrkajetanp has quit [Ping timeout: 480 seconds]
11:32pb17 has joined #asahi-dev
11:43hightower3 has joined #asahi-dev
11:44mrkajetanp has joined #asahi-dev
11:44hightower2 has quit [Ping timeout: 480 seconds]
11:46JayBeeFOSS has quit [Ping timeout: 480 seconds]
11:47JayBeeFOSS has joined #asahi-dev
11:47joshheyse has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
11:52mrkajetanp has quit [Ping timeout: 480 seconds]
12:04mrkajetanp has joined #asahi-dev
12:23Dan___ has quit [Ping timeout: 480 seconds]
13:26pb17 has quit [Ping timeout: 480 seconds]
13:28IAmRasputin1 has joined #asahi-dev
13:29Compassion11 has quit [Ping timeout: 480 seconds]
13:34IAmRasputin1 has left #asahi-dev [#asahi-dev]
13:37nickchanmaz: am looking for some cleaner ways to disable 32-bit EL0 for A10, and I think I need to use your MIDR-based override patch
13:39maznickchan: cleaner than?
13:40mazin the end, the MIDR-based early override was a wrong good idea, and I addressed the problem differently.
13:41mazany can't you just treat 32bit EL0 as an erratum or something along those lines? there is no need to do it early, as the prospect of running a 32bit task is pretty far down the boot process.
13:41mazs/any/and/
13:42nickchanmaz: cleaner than adding a gross a10 midr check in id_aa64pfr0_32bit_el1 in cpufeature.h
13:42nickchanright the issue is basically the core can only exec 32 bit in certain p-states
13:43nickchanhigh powered p-states is ok, low ones aren't
13:43mazbut that's beside the point. you can only run 32bit once you reach userspace. so this doesn't need to be an early decision, like the E2H0 is.
13:54Compassion11 has joined #asahi-dev
13:57maznickchan: I'd expect something along those lines: https://paste.debian.net/1328522/ (completely untested, of course)
14:04john-cabaj has joined #asahi-dev
14:13nickchanmaz: was trying to edit arch/arm64/kernel/cpu_errata.c but I guess not
14:14maznickchan: cpufeatures.c and cpu_errata.c are basically the same thing. I'm at the stage where I consider each new feature as an erratum.
14:16mazhere, you're trying to disable a standard feature rather than flagging a bug that affect a couple of code paths.
14:16mazdoes your wonderful CPU have EL2?
14:24Dan___ has joined #asahi-dev
14:32Dan___ has quit [Ping timeout: 480 seconds]
14:36pb17 has joined #asahi-dev
14:39nickchanmaz: it has EL0 and EL1
14:44maznickchan: right. so you don't even need to hack the EL1 part, and can solely rely EL0 being hidden from the kernel, as you will never run anything AArch32 at EL1.
14:46nickchannone of Apple's arm64 chips supported aarch32 EL1 so yeah it is not needed
14:49r0ni has quit [Ping timeout: 480 seconds]
14:49maznickchan: that's not my point. if the kernel runs at EL1 and there is no EL2, you can't switch to AArch32 at EL1 (switching ISA is always done by a more privileged EL, Apple CPU or not).
15:09nickchanmaz: has_32bit_el0() does not control availability of 32-bit execution
15:10nickchansystem_supports_32bit_el0() in arch/arm64/include/asm/cpufeature.h does
15:10nickchanwhich reads the register value with the function id_aa64pfr0_32bit_el0() also in cpufeature.h
15:12nickchanwait no that functions just says a given pfr0 value has 32 bit el0
15:17nickchanwhat's needed is changing the sanitized value from the pfr0 register
15:18nickchanbecause of the msr emulation that does need to be changed
15:18Dan___ has joined #asahi-dev
15:38john-cabaj1 has joined #asahi-dev
15:43john-cabaj has quit [Ping timeout: 480 seconds]
15:43john-cabaj1 is now known as john-cabaj
15:44DannyB has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
15:49nickchangoing to add an override in system_supports_32bit_el0
16:29mrkajetanp has quit [Ping timeout: 480 seconds]
16:33pb17 has quit [Ping timeout: 480 seconds]
16:34___nick___ has joined #asahi-dev
17:03Dan___ has quit [Remote host closed the connection]
17:11pb17 has joined #asahi-dev
17:59mrkajetanp has joined #asahi-dev
18:05cyrinux has quit []
18:06cyrinux has joined #asahi-dev
18:07mrkajetanp has quit [Ping timeout: 480 seconds]
18:18loki_val has joined #asahi-dev
18:22crabbedhaloablut has quit [Ping timeout: 480 seconds]
18:37gladiac20 has joined #asahi-dev
18:37gladiac20 is now known as gladiac
18:42gladiac2 has quit [Ping timeout: 480 seconds]
18:42gladiac is now known as gladiac2
18:49Halian has quit [Quit: Going offline, see ya! (www.adiirc.com)]
19:07gladiac has joined #asahi-dev
19:13gladiac2 has quit [Ping timeout: 480 seconds]
19:13gladiac is now known as gladiac2
19:20pb17 has quit [Ping timeout: 480 seconds]
19:36___nick___ has quit []
19:38___nick___ has joined #asahi-dev
19:38___nick___ has quit []
19:41___nick___ has joined #asahi-dev
20:00pb17 has joined #asahi-dev
20:03___nick___ has quit [Remote host closed the connection]
20:54ellyq has joined #asahi-dev
20:54ellyq has quit []
20:54ellyq has joined #asahi-dev
21:20pb17 has quit [Ping timeout: 480 seconds]
21:40hightower3 has quit [Remote host closed the connection]
21:44pb17 has joined #asahi-dev
22:22chadmed_ has joined #asahi-dev
22:56mariogrip has quit [Quit: The Lounge - https://thelounge.chat]
23:03mariogrip has joined #asahi-dev
23:09pb17 has quit [Ping timeout: 480 seconds]
23:20darkapex has quit [Remote host closed the connection]
23:20darkapex has joined #asahi-dev
23:24eetgeenappels has joined #asahi-dev
23:33eetgeenappels has quit [Ping timeout: 480 seconds]
23:38pb17 has joined #asahi-dev
…