2021-01-06
00:18crucifix has quit [Quit: Leaving]
00:18damia has quit [Quit: damia]
00:25tibo has joined #asahi-re
00:28bastian[m] has joined #asahi-re
00:33maxweisel has joined #asahi-re
00:38maxweisel has quit []
00:41tibo has quit [Remote host closed the connection]
00:42konradybcio has joined #asahi-re
00:44bear24rw has quit [Remote host closed the connection]
00:49bear24rw has joined #asahi-re
01:03henni has quit [Read error: Connection reset by peer]
01:05maxweisel has joined #asahi-re
01:10tibo1 has joined #asahi-re
01:15_alice has joined #asahi-re
01:24konstanter has quit [Ping timeout: 245 seconds]
01:25tibo1 has quit [Ping timeout: 258 seconds]
01:40tibo1 has joined #asahi-re
01:52tibo1 has quit [Ping timeout: 272 seconds]
01:52sbingner has joined #asahi-re
01:57tibo1 has joined #asahi-re
02:01tibo1 has quit [Client Quit]
02:04maxweisel has quit [Ping timeout: 246 seconds]
02:16neunon has joined #asahi-re
02:49JTL has joined #asahi-re
02:59ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:20threedpro has joined #asahi-re
03:21twodpro has joined #asahi-re
03:22twodpro has quit [Client Quit]
03:22threedpro has quit [Client Quit]
03:23threedpro has joined #asahi-re
03:27Ziemas has joined #asahi-re
03:40ransom has joined #asahi-re
04:36yuyangchee98 has joined #asahi-re
04:46yuyangchee98 has quit [Remote host closed the connection]
04:54ransom_ has joined #asahi-re
04:54ransom has quit [Read error: Connection reset by peer]
04:59mjg59 has joined #asahi-re
05:24ransom has joined #asahi-re
05:25ransom_ has quit [Ping timeout: 265 seconds]
06:33anthonyo_ has joined #asahi-re
06:35anthonyo_ has quit [Client Quit]
06:46ransom has quit [Ping timeout: 240 seconds]
06:52ransom has joined #asahi-re
06:52ransom has quit [Client Quit]
07:16browzing has joined #asahi-re
07:16browzing has quit [Client Quit]
07:18browzing has joined #asahi-re
07:33aratuk has joined #asahi-re
07:39browzing has quit [Ping timeout: 256 seconds]
07:42browzing has joined #asahi-re
07:46bear24rw has quit [Remote host closed the connection]
07:46bear24rw has joined #asahi-re
07:49jobbe has joined #asahi-re
07:54bear24rw has quit [Ping timeout: 264 seconds]
08:10tardyp has joined #asahi-re
08:14bostjan has joined #asahi-re
08:20Core1672 has joined #asahi-re
08:26browzing has quit [Quit: WeeChat 3.0]
08:26browzing has joined #asahi-re
08:40massoud has joined #asahi-re
08:41browzing has quit [Read error: Connection reset by peer]
08:41browzing has joined #asahi-re
08:55modmuss50 has joined #asahi-re
09:13mrasmus has joined #asahi-re
09:23Thomas__ has joined #asahi-re
09:39aratuk has quit [Remote host closed the connection]
09:51puhitaku has joined #asahi-re
09:58XeR has joined #asahi-re
10:10puhitaku_ has joined #asahi-re
10:11puhitaku has quit [Quit: WeeChat 3.0]
10:11puhitaku_ is now known as puhitaku
10:24justMaku has joined #asahi-re
10:38riatre has joined #asahi-re
11:05nevergirls has joined #asahi-re
11:20konradybcio has quit [Quit: Bridge terminating on SIGTERM]
11:20bastian[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20blazra[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20kevincox[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20os[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20svenpeter[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20mofux[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20delroth[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20nufflee[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20_alice has quit [Quit: Bridge terminating on SIGTERM]
11:20Jasper[m] has quit [Quit: Bridge terminating on SIGTERM]
11:20mcnight[m] has quit [Quit: Bridge terminating on SIGTERM]
11:21davidrysk[m] has quit [Quit: Bridge terminating on SIGTERM]
11:21josiahmendes[m] has quit [Quit: Bridge terminating on SIGTERM]
11:24nevergirls has quit [Quit: leaving]
11:30Guest93913 has joined #asahi-re
11:40aratuk has joined #asahi-re
11:44aratuk has quit [Ping timeout: 240 seconds]
11:55bastian[m] has joined #asahi-re
11:55delroth[m] has joined #asahi-re
11:55svenpeter[m] has joined #asahi-re
11:55mofux[m] has joined #asahi-re
11:55davidrysk[m] has joined #asahi-re
11:55mcnight[m] has joined #asahi-re
11:55Jasper[m] has joined #asahi-re
11:55konradybcio has joined #asahi-re
11:55blazra[m] has joined #asahi-re
11:55josiahmendes[m] has joined #asahi-re
11:55os[m] has joined #asahi-re
11:55kevincox[m] has joined #asahi-re
11:55nufflee[m] has joined #asahi-re
12:01browzing has quit [Ping timeout: 260 seconds]
12:10kevincox[m] has left #asahi-re ["User left"]
12:50Axenntio has joined #asahi-re
12:52Core1672 has quit [Read error: Connection reset by peer]
12:52Core1672 has joined #asahi-re
12:53Axenntio has quit [Remote host closed the connection]
12:53Axenntio has joined #asahi-re
12:53Axenntio has quit [Remote host closed the connection]
12:56sharpiro has quit [Ping timeout: 240 seconds]
13:05browzing has joined #asahi-re
13:11browzing has quit [Ping timeout: 272 seconds]
13:25amotta has joined #asahi-re
13:38keystone[m] has joined #asahi-re
13:39rwhitby has left #asahi-re ["AndroIRC - Android IRC Client ( http://www.androirc.com )"]
13:41aratuk has joined #asahi-re
13:42rwhitby has joined #asahi-re
13:45aratuk has quit [Ping timeout: 256 seconds]
13:58keystone[m] has quit [Quit: authenticating]
13:58keystone[m] has joined #asahi-re
14:00aratuk has joined #asahi-re
14:04aratuk has quit [Ping timeout: 246 seconds]
14:07keystone[m] has left #asahi-re ["User left"]
14:12diz3y has joined #asahi-re
14:15vup2 has joined #asahi-re
14:29amotta has quit [Quit: amotta]
14:36jannau has joined #asahi-re
14:36Necrosporusmarcan, time to test if the other mac can be connected with USB cable? Also, can you do anything with connected mac from linux anyway?
14:39anuejn has joined #asahi-re
14:51Core1672 has quit [Ping timeout: 240 seconds]
15:02DarthCloud has quit [Ping timeout: 240 seconds]
15:07DarthCloud has joined #asahi-re
15:27roxfan2 has joined #asahi-re
15:28roxfan has quit [Ping timeout: 246 seconds]
16:01bear24rw has joined #asahi-re
16:01aratuk has joined #asahi-re
16:05bear24rw has quit [Ping timeout: 256 seconds]
16:06aratuk has quit [Ping timeout: 264 seconds]
16:11danilonc has joined #asahi-re
16:12konstater has joined #asahi-re
16:13dlnx`` has joined #asahi-re
16:22Necrosporusmarcan, I was talking about newest mac you have picture of in your page, which also M1, Air, I guess?
16:23NecrosporusOr this one is pro and other was air
16:23NecrosporusAre they significally different except air has regular F1-F12 keys and pro has touchbar?
16:26Necrosporuspro has more battery and faster fan?
16:26davidrysk[m]it has a fan
16:27davidrysk[m]pro can sustain higher CPU speeds indefinitely; air throttles after 10 minutes or so
16:31marcanI'm not going to be testing random things on them just in case they happen to be different, that's not an efficient use of time ;)
16:32davidrysk[m]marcan: meaning, outside of the touch bar, right? :)
16:32davidrysk[m]right, okay
16:32davidrysk[m]I expect that to be the case
16:32marcanI'm interested in the obvious differences, and then only later, since the Mini is the first target
16:32NecrosporusHm, regarding network device, does it react same way when you plug mac side to different port or messages in linux dmesg are identical?
16:33marcanhaven't tested it yet but it's probably the same, since it's xHCI and this is a user feature
16:35NecrosporusHow do you know it's network device? Does it show in ifconfig (ip a) on linux side when you plug it in?
16:47NecrosporusSo, you need to write some code which iBoot is going to load to a certain memory address and which will need to execute certain instructions to connect to UART and send debug output
16:47NecrosporusDo you know yet which memory address it's going to be loaded to, what instructions do you need to send bytes via UART?
16:58bear24rw has joined #asahi-re
17:07browzing has joined #asahi-re
17:11browzing has quit [Ping timeout: 246 seconds]
17:15browzing has joined #asahi-re
17:19browzing has quit [Ping timeout: 246 seconds]
17:32davidrysk[m]diz3y: there it appears that systems with a XNU_MONITOR have EL3
17:32davidrysk[m](looking at xnu-src)
17:33davidrysk[m]that seems to be T8020 (A12), so probably T8101 (M1) as well
17:33davidrysk[m]now, how is the XNU monitor implemented and how does one interact with it
17:36davidrysk[m]there's an APRR_EL1_PPL register...
17:36davidrysk[m]it seems the monitor is used to implement the kernel page protection layer
17:36davidrysk[m]https://googleprojectzero.blogspot.com/2020/07/the-core-of-apple-is-ppl-breaking-xnu.html
17:37davidrysk[m]and there are includes to <arm64/ppl/*>, the directory which is missing
17:39davidrysk[m]pmap_remove_options_internal seems to be implemented in osfmk/arm/pmap.c though
17:47browzing has joined #asahi-re
17:49roxfan2 is now known as roxfan
17:53browzing has quit [Ping timeout: 272 seconds]
17:58dottedmag has joined #asahi-re
18:00browzing has joined #asahi-re
18:02aratuk has joined #asahi-re
18:06aratuk has quit [Ping timeout: 256 seconds]
18:13ransom has joined #asahi-re
18:14Guest93913 has quit [Quit: authenticating]
18:15Guest93913 has joined #asahi-re
18:15Guest93913 is now known as _alice
18:17rjeli has joined #asahi-re
18:50davidrysk[m]marcan: there is no EL3? XNU sourcecode says otherwise
18:50bostjan has quit [Read error: Connection reset by peer]
18:52davidrysk[m]but yeah, none of that other junk
18:54marcanxnu-6153.141.1/pexpert/pexpert/arm64/hurricane.h:#define NO_MONITOR 1 /* No EL3 for this CPU -- ever */
18:57davidrysk[m]in the Hurricane chip, while there seemingly is in others.
18:58davidrysk[m]ah, so they replaced it with their own thing, perhaps
18:58davidrysk[m]what context does the XNU monitor run in on the newer ones?
18:59marcanxnu-7195.50.7.100.1/EXTERNAL_HEADERS/img4/runtime.h: * the kernel-proper. On architectures which do not have an xnu monitor, this
18:59davidrysk[m]ah, they're using APRR for it instead
19:00davidrysk[m]yet the xnu monitor defines in xnu-7195.50.7.100.1/pexpert/pexpert/arm64/board_config.h are enabled for the newer chips
19:00aratuk has joined #asahi-re
19:04marcandavidrysk[m]: did the XNU monitor ever run in EL3? those defines are only enabled in post-hurricane CPUs anyway
19:05davidrysk[m]I mean, it seems like the best way to tell if EL3 exists is by querying the ID_AA64DFR0_EL1 register
19:05davidrysk[m]the H7 and H8 includes have `#define MONITOR 1 /* Use EL3 monitor */`
19:05aratuk has quit [Ping timeout: 264 seconds]
19:05davidrysk[m]and then H9 says "none, ever"
19:06davidrysk[m]H7 is typhoon, H8 is twister, H9 is hurricane
19:07davidrysk[m]oh! hm
19:08davidrysk[m]hm you may be right. night :)
19:09davidrysk[m]performance and efficiency
19:09davidrysk[m]okay that's fun
19:10davidrysk[m]if MONITOR is defined, it does some call to initialize the EL3 "monitor". There's a comment that "WFI power gating may not operate correctly" if this is not done
19:12davidrysk[m]why would they have even spent the effort on implementing EL3 in the first place though
19:13davidrysk[m]roxfan: all of Apple's 64-bit ARM processor designs are in-house
19:21bear24rw has quit [Remote host closed the connection]
19:30winocm has joined #asahi-re
19:39bear24rw has joined #asahi-re
20:07NekomimiScience has joined #asahi-re
20:10mogery has joined #asahi-re
20:13feuerrot has joined #asahi-re
21:01aratuk has joined #asahi-re
21:05aratuk has quit [Ping timeout: 256 seconds]
21:10mogery has quit [Read error: Connection reset by peer]
21:17threedpro has quit [Read error: Connection reset by peer]
22:05konstater has quit [Remote host closed the connection]
22:07ransom has quit [Read error: Connection reset by peer]
22:09ransom has joined #asahi-re
22:22diz3yhm, an NV SoC would have n * Denver + n * A57 on the same SoC, I suspect they should have same architectural features
22:26j`ey(Patches here for supporting it https://lore.kernel.org/linux-arm-kernel/20201208132835.6151-1-will@kernel.org/)
22:40_whitelogger has joined #asahi-re
22:46ransom has quit [Ping timeout: 240 seconds]
22:52ransom has joined #asahi-re
23:00bostjan has joined #asahi-re
23:01davidrysk[m]roxfan: the first Apple ARMv8 chips had A32, the newer ones don't
23:02aratuk has joined #asahi-re
23:06aratuk has quit [Ping timeout: 246 seconds]
23:14Yuzui believe that's the case of ThunderX as well, despite being a totally unrelated core otherwise
23:19sharpiro has joined #asahi-re
23:58bostjan has quit [Quit: Leaving]