#
…

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:42marcanNecrosporus: I already mentioned the Intel macs do not support the USB OTG feature
14:42marcanLinux doesn't like the network interface; I'm not going to spend time on this now
14:43marcan(for M1 macs)
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:26j`eyand battery + fan
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:28justMakuDefault Air configuration also has one less GPU core
16:30marcanNecrosporus: all the M1 macs should behave the same in this respect
16:31marcanit's the same SoC
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:32marcanI mean things that they share should be the same
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:32marcanif it turns out something is weird or different we'll find out in due course
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:33marcanonly debug features have port variability
16:33marcanapple doesn't go telling users to plug into this or that port
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:35marcanI said it was NCM
16:35marcanlsusb showed that in the descriptors
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:00Shizthe necessar/w 58
17:00Shizwhoops.
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:33diz3ydavidrysk[m]: hey, cool
17:33davidrysk[m]now, how is the XNU monitor implemented and how does one interact with it
17:34diz3y*totally guessing* via SMC calls? ;)
17:34diz3yARM people love multi-layered cross-EL calls.. like PSCI/etc
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: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 sourcecode says there is no EL3, and there never will be
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:58marcanolder ones, yes
18:58marcanpretty sure not on newer ones
18:58davidrysk[m]ah, so they replaced it with their own thing, perhaps
18:58marcanno, they do not use and never want EL3
18:58marcanEL3 is a terrible idea
18:58marcanthere is no replacement
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:59marcanso there is no xnu monitor
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:01roxfanthere's PPL too
19:03Blueriseroxfan: weren't you there for iDroid times?
19:03roxfannot sure what's that
19:03Bluerisenevermind :)
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:05marcananyway, off to sleep :p
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:07marcanbut look at xnu-7195.50.7.100.1/pexpert/pexpert/arm64/board_config.h
19:07marcanthose are for H11+
19:07marcanMONITOR and XNU_MONITOR seem to be different things
19:08marcanI don't think XNU_MONITOR has anything to do with EL3
19:08marcananyway, sleep :)
19:08davidrysk[m]hm you may be right. night :)
19:09jn__what do "P-Core" and "E-Core" mean?
19:09davidrysk[m]performance and efficiency
19:09jn__ah, thx
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:13roxfanit came from ARM?
19:13davidrysk[m]roxfan: all of Apple's 64-bit ARM processor designs are in-house
19:14roxfansure but they do have to be (sowewhat) compatible with ARM's specs
19:15j`eyEL3 is optional
19:15opticronI don't think the ARMv8 spec requirees EL2 or EL3
19:15roxfanwell, maybe they thought it would work at first
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:08diz3yopticron: you're right, they are optioal
22:09ransom has joined #asahi-re
22:09opticronthe AArch32 mode is also optional
22:13roxfaniirc first nvidia or Qualcomm ARMv8 chips didn't have A32
22:22diz3yhm, an NV SoC would have n * Denver + n * A57 on the same SoC, I suspect they should have same architectural features
22:23diz3ybut not sure
22:26j`eyyou can have SoC where's only some CPU's have AArch32 at EL0
22:27diz3yah, wow
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:02* roxfanused to own a 5s
23:04opticronI could have sworn the first NV and QC armv8 chips had A32
23:04* opticrongoes to figure it out
23:05j`eynot having A32 is recent i think
23:06opticronQC's first was SD808 which was bog standard A53/A57 which definitely has A32
23:06roxfani've heard corellium had trouble running 32-bit apps because of this issue
23:06aratuk has quit [Ping timeout: 246 seconds]
23:06roxfanthey used some "server arm" thingy I think
23:07opticronDenver also had A32 because it was directly paired with A57s
23:07YuzuDenver K1 had no A57's
23:08opticronyeah, but those were A32-only not armv8
23:08Yuzuno they weren't
23:09YuzuDenver K1 was aarch64
23:09YuzuA15 K1 was aarch32
23:09opticronsorry, I was mixing denver k1 with tegra k1
23:09YuzuTegra K1-32 was A15, K1-64 was Denver
23:10jn__Tegra 124 vs 132
23:12opticronyeah, I remember the thunderx2 having that interesting attribute
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]
…