2022-02-08
00:17user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:38gabuscus_ has joined #asahi-dev
00:44gabuscus has quit [Ping timeout: 480 seconds]
00:45jbowen has joined #asahi-dev
00:47gabuscus has joined #asahi-dev
00:52gabuscus_ has quit [Ping timeout: 480 seconds]
00:53gabuscus_ has joined #asahi-dev
00:54jbowen has quit [Ping timeout: 480 seconds]
00:57yuyichao has joined #asahi-dev
01:00gabuscus has quit [Ping timeout: 480 seconds]
01:04gabuscus has joined #asahi-dev
01:06thevar1able has joined #asahi-dev
01:07gabuscus_ has quit [Ping timeout: 480 seconds]
01:13thevar1able has quit [Quit: Textual IRC Client: www.textualapp.com]
01:29gabuscus_ has joined #asahi-dev
01:30gabuscus has quit [Ping timeout: 480 seconds]
02:13user982492 has joined #asahi-dev
02:29willemml has joined #asahi-dev
02:36riker77_ has joined #asahi-dev
02:37willemml has quit [Ping timeout: 480 seconds]
02:41riker77 has quit [Ping timeout: 480 seconds]
02:41riker77_ is now known as riker77
02:46jbowen has joined #asahi-dev
02:47user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:54jbowen has quit [Ping timeout: 480 seconds]
03:00user982492 has joined #asahi-dev
03:46kov has quit [Quit: Coyote finally caught me]
03:56PhilippvK has joined #asahi-dev
03:59phiologe has quit [Ping timeout: 480 seconds]
04:01kov has joined #asahi-dev
04:46jbowen has joined #asahi-dev
04:48user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:54jbowen has quit [Ping timeout: 480 seconds]
06:09duc4405[m] has joined #asahi-dev
06:11duc4405[m] is now known as ducc[m]
06:12N3ros[m] has quit [Server closed connection]
06:12N3ros[m] has joined #asahi-dev
06:46jbowen has joined #asahi-dev
06:49sunyiynus[m] has joined #asahi-dev
06:50leah2 has quit [Server closed connection]
06:50leah2 has joined #asahi-dev
06:54fetsorn[m] has quit [Server closed connection]
06:54fetsorn[m] has joined #asahi-dev
06:54jbowen has quit [Ping timeout: 480 seconds]
07:02ar has quit [Server closed connection]
07:02ar has joined #asahi-dev
07:10daniel0611[m] has quit [Server closed connection]
07:10daniel0611[m] has joined #asahi-dev
07:14pikabo[m] has quit [Server closed connection]
07:14pikabo[m] has joined #asahi-dev
07:17denden[m] has quit [Server closed connection]
07:17denden[m] has joined #asahi-dev
07:37bpye6 has joined #asahi-dev
07:40bpye has quit [Ping timeout: 480 seconds]
07:40bpye6 is now known as bpye
08:05maz_ is now known as maz
08:25KrushnaDeore[m] has quit [Server closed connection]
08:25KrushnaDeore[m] has joined #asahi-dev
08:31MajorBiscuit has joined #asahi-dev
08:44jix has quit [Server closed connection]
08:44jix has joined #asahi-dev
08:46jbowen has joined #asahi-dev
08:47mr_sq[m] has quit [Server closed connection]
08:47mr_sq[m] has joined #asahi-dev
08:54jbowen has quit [Ping timeout: 480 seconds]
09:01kdwk-l[m] has quit [Server closed connection]
09:01kdwk-l[m] has joined #asahi-dev
10:04boardwalk has quit [Quit: Ping timeout (120 seconds)]
10:05boardwalk has joined #asahi-dev
10:15vup has quit [Server closed connection]
11:16_jannau_marcan: when you recreate the asahi branch the next time please add the two fixups from https://github.com/jannau/linux/commits/bits/090-spi-hid to bits/090-spi-hid
11:20marcanI need to look into how apple's driver handles discrepancies; it's supposedly one driver but it might just have a big table or something
11:24DarkShadow4444 has quit [Server closed connection]
11:24DarkShadow44 has joined #asahi-dev
11:25krirogn[m] has quit [Server closed connection]
11:25krirogn[m] has joined #asahi-dev
11:33Stary has quit [Server closed connection]
11:33Stary has joined #asahi-dev
11:42ChristianOndaatje[m] has quit [Server closed connection]
11:42ChristianOndaatje[m] has joined #asahi-dev
11:55marcankettenis: ok, so the magic SPMI register is actually the info-leg_scrpad offset from the ADT, plus 0xf
11:57kettenisso the way this implemented now is that you have a base driver which really only provides the regmap
12:01marcanit seems apple does it all in one big kext and I don't even see the hardware name strings anywhere
12:04NightsOnly[m] has quit [Server closed connection]
12:05NightsOnly[m] has joined #asahi-dev
12:14marcanon m1pro machines there's two Mavericks, one Viper (with multiple buck controllers controlled by it), and three Monacos (CLVRs)
12:15kettenisAnd we probably should not add the SPMI controllers that are used by the coprocessors to the device tree
12:15marcanit does support multiple masters, and they well might implement multiple logical masters over one set of pins for this purpose
12:16marcanjust has a list of supported devices and reads a device ID, but other than that, it's just the regmap
12:18marcanfwiw, it seems these chips are by Dialog, but I can't find any references to public SPMI PMUs by them
12:19kettenisthe way the RTC works is a bit strange; bet Apple had a huge finger in the design of that part
12:22marcanit's mostly RTC, a few scratchpad/etc registers for boot/shutdown mode, and that's about it I think?
12:22marcanfault detection/etc? but those could just come from scratchpad regs since presumably faults cause the system to shut down
12:50marcanI think we're pretty much on the same page here; tomorrow I'll clean up the existing code and bindings and see how that goes?
12:53kettenis(he's starting to look at suspend/resume, starting with creating a better way to hook that functionality up in a machine-independent way)
12:54marcanyeah... we need PSCI but without privilege mode changes for one... which is a whole bike shed to paint with the kernel folks too
12:58arndmarcan, kettenis: I don't have a reference, but when ardb said how he'd recommend doing it with EFI, it all seemed rather sensible to me
12:59marcanthat works except it means then this logic needs to be in u-boot, not m1n1, or we need yet another interface there
13:00arndthere are apparently multiple ways that UEFI has for providing services to the OS, and ardb had a clear recommendation which one of those it should be, but I don't remember what that was
13:01marcanyeah, though if this is just for sleep and CPU power control I think I can live with that
13:02kettenishaving m1n1 scribble something into the device tree and making u-boot turn that into the appropriate EFI table shouldn't be too difficult
13:03ketteniswe just have to make sure the assumptions on things like the MMU state and interrupts match what ardb was thinking about for the UEFI interface
13:05marcanthen ultimately it'd just be something like passing a PSCI entrypoint and some description of reserved memory ranges to u-boot
13:08shenki has joined #asahi-dev
13:09marcantangentially, I was also thinking about m1n1 chainloads, and how we might need to shave a versioning yak there
13:09marcanbecause if we start chainloading m1n1 so that distro packages can update it, we also need to make sure distro packages don't *downgrade* it
13:09marcansince for new machine support / old distros you definitely want whatever version is installed initially to stay until the distro catches up
13:10null has joined #asahi-dev
13:12marcankettenis: incidentally, I should be putting out a progress report soon, so if you want to write up a blurb on u-boot/openbsd... :)
13:32ViniciusSantos[m] is now known as vimsos[m]
14:42vup has joined #asahi-dev
14:42c10l3 has joined #asahi-dev
14:43c10l has quit [Ping timeout: 480 seconds]
14:50yuyichao has quit [Ping timeout: 480 seconds]
15:11jbowen has joined #asahi-dev
15:26yuyichao has joined #asahi-dev
16:20the_lanetly_052 has joined #asahi-dev
16:59the_lanetly_052__ has joined #asahi-dev
17:01the_lanetly_052 has quit [Read error: Connection reset by peer]
17:12the_lanetly_052__ has quit [Ping timeout: 480 seconds]
18:06nsklaus has joined #asahi-dev
18:11nsklaus_ has quit [Ping timeout: 480 seconds]
18:14the_lanetly_052__ has joined #asahi-dev
18:28MajorBiscuit has quit [Ping timeout: 480 seconds]
18:42jbowen has quit [Ping timeout: 480 seconds]
19:03jbowen has joined #asahi-dev
19:23timokrgr has quit [Quit: User left the chat]
19:24the_lanetly_052__ has quit [Ping timeout: 480 seconds]
19:24timokrgr has joined #asahi-dev
19:34m6wiq has quit [Quit: The Lounge - https://thelounge.chat]
19:50___nick___ has joined #asahi-dev
19:57dhewg has quit [Server closed connection]
19:57dhewg has joined #asahi-dev
20:07jbowen has quit [Ping timeout: 480 seconds]
20:10mrkajetanp has quit [Server closed connection]
20:10mrkajetanp has joined #asahi-dev
20:26jbowen has joined #asahi-dev
20:30hramrach has joined #asahi-dev
20:36maximus64 has quit [Server closed connection]
20:42user982492 has joined #asahi-dev
20:48___nick___ has quit []
20:50___nick___ has joined #asahi-dev
20:53milek7 has quit [Server closed connection]
20:53milek7 has joined #asahi-dev
20:58int16h has joined #asahi-dev
21:06tpw_ruleskettenis: do you know what's happened to my efi timer patch? i am not real sure of the process
21:06jeffmiw has joined #asahi-dev
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:08int16hHello! I've just acquired a T6000/J314s so thought I'd see if I would poke around XD. I am, however, struggling to get a kernel to boot - the furthest it gets is: 'Preparing to run next stage at 0x1000dc00000...' before the proxyclient bailing and the log on the MBP screen clearing - I've applied the patches as described in the wiki::quickstart (and asahi.txt quickstart). Am I missing something? :D
21:08tpw_rulesi hope you meant friendly. should i just reply to the last email in the thread, or resend the patch?
21:09cynthia has quit [Quit: WeeChat 3.3]
21:09cynthia has joined #asahi-dev
21:09int16h( I'm chainloading the newly compiled m1n1.macho, then: pcie_enable_devices.py, then: proxyclient/tools/linux.py -b "net.ifnames=0 earlycon console=tty0 console=tty0 debug net.ifnames=0 rw root=/dev/nvm0n1p5
21:09int16hrootwait rootfstype=ext4" ../linux/arch/arm64/boot/Image.gz ../linux/arch/arm64/boot/dts/apple/t6000-j314s.dtb )
21:10jannaumarcan: please also take the two fixups in https://github.com/jannau/linux/commits/bits/010-devicetree replacing status = "ok" with the spec complient "okay" or "disabled" for the falsh
21:20jbowen has quit [Ping timeout: 480 seconds]
21:41psydroid has quit [Server closed connection]
21:42psydroid has joined #asahi-dev
21:42jeffmiwmarcan: trying to catch up here about spmi/rtc, I was planning to clean-up my patches with checkpatch.pl to get them ready to submit but not sure if it still makes sense if you have worked and rewritten a lot. let me know what makes sense to do knowing I may progress slowly because of limited time. thx
21:53jeffmiw has quit [Ping timeout: 480 seconds]
22:07trouter- has quit [Quit: ZNC 1.8.2 - https://znc.in]
22:07trouter has joined #asahi-dev
22:09ah-[m] has quit [Server closed connection]
22:09ah-[m] has joined #asahi-dev
22:09ella-0[m] has joined #asahi-dev
22:28int16h_ has joined #asahi-dev
22:29int16h has quit [Ping timeout: 480 seconds]
22:38int16h_ is now known as int16h
22:49h_ro[m] has quit [Server closed connection]
22:49h_ro[m] has joined #asahi-dev
22:50user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:57user982492 has joined #asahi-dev
23:03user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:27foxlet has joined #asahi-dev
23:29yuyichao has quit [Ping timeout: 480 seconds]
23:40PthariensFlame[m] has quit [Server closed connection]
23:40PthariensFlame[m] has joined #asahi-dev
23:43happy-dude[m] has quit [Server closed connection]
23:43happy-dude[m] has joined #asahi-dev