2022-01-20
00:06jbowen has quit [Ping timeout: 480 seconds]
00:07aleasto has quit [Quit: Konversation terminated!]
00:28yuyichao_ has quit [Ping timeout: 480 seconds]
01:58jbowen has joined #asahi-dev
02:06jbowen has quit [Ping timeout: 480 seconds]
02:12yuyichao_ has joined #asahi-dev
03:01skipwich has quit [Quit: DISCONNECT]
03:01skipwich has joined #asahi-dev
03:12TaherAli[m] has joined #asahi-dev
03:16TaherAli[m] is now known as null-nop[m]
03:26phiologe has joined #asahi-dev
03:29PhilippvK has quit [Ping timeout: 480 seconds]
03:58jbowen has joined #asahi-dev
04:03kov has quit [Quit: Coyote finally caught me]
04:03kov has joined #asahi-dev
04:06jbowen has quit [Ping timeout: 480 seconds]
04:24marcanI switched universities 3 times across 2 countries, then got tired of all that nonsense and signed up for an online uni that wouldn't force me to attend classes on stuff I already knew ¯\_(ツ)_/¯
04:25marcanthe only time that piece of paper has ever been useful was when I moved to japan (though I'm glad I got it now)
04:26marcankrbtgt: someone actually wanted me to mentor their master's thesis on reversing ANE... but unfortunately I don't trust myself with that level of commitment :(
04:26marcan(maybe in a year or two when things settle down a bit more I'd be comfortable with that kind of thing?)
04:55user982492 has joined #asahi-dev
05:11kenzie35 has joined #asahi-dev
05:11bpye6 has joined #asahi-dev
05:13yuyichao has joined #asahi-dev
05:13al3xtjames1 has joined #asahi-dev
05:13al3xtjames has quit [Quit: Ping timeout (120 seconds)]
05:13aead has quit [Quit: ZNC - https://znc.in]
05:13kenzie3 has quit []
05:13al3xtjames1 is now known as al3xtjames
05:13bpye has quit [Quit: Ping timeout (120 seconds)]
05:13aead has joined #asahi-dev
05:13yuyichao_ has quit [Remote host closed the connection]
05:13bpye6 is now known as bpye
05:58jbowen has joined #asahi-dev
06:06jbowen has quit [Ping timeout: 480 seconds]
06:11sajattack[m]my 2 year degree took 5 years if you count the floundering and dropping out of a 4 year program
07:58jbowen has joined #asahi-dev
08:07jbowen has quit [Ping timeout: 480 seconds]
08:50ChaosPrincessdoes anyone have pointers on how to reverse engineer SPI protocols? im having a problem where spi is essentially a byte stream and it would be real nice to have a way to figure out packet boundaries. figured it out for TX, kinda, but RX is still a problem
08:53ChaosPrincessoh, right, forgot about cs existing
08:53ChaosPrincessthanks
08:53ChaosPrincessi used a write to TXCOUNT register to delimit packet boundaries and it mostly worked
08:53ChaosPrincesskinda
08:55_jannau_ChaosPrincess: does the touchbar uses a similar protocol as keyboard/trackpad? 256 byte packets and a 4 byte status message after writes
08:55ChaosPrincessnot sure yet
08:56ChaosPrincesson boot it sends something that looks like firmware
08:56ChaosPrincessso im trying to find out where that comes from
08:56_jannau_not sure if that makes sense for the display updates but it could make sense for the touch events
08:57ChaosPrincesstouch and display live on two different spi buses
08:58ChaosPrincessthis is a trace of the touchbar booting up
08:58ChaosPrincess(only tx)
08:58marcanIIRC the touch bar uses some kind of hid-over-spi, but it might be a *different* hid-over-spi
08:59ChaosPrincessthere is also something display-related that lives on spi bus
09:00ChaosPrincessAppleParadeDP855TCON
09:00ChaosPrincessthat thing lives on spi4
09:01ChaosPrincess_jannau_: to me it looks like alternating 64 and 16 byte packets
09:48MajorBiscuit has joined #asahi-dev
09:58jbowen has joined #asahi-dev
10:00___nick___ has joined #asahi-dev
10:00___nick___ has quit []
10:02___nick___ has joined #asahi-dev
10:03FireFox317 has quit [Ping timeout: 480 seconds]
10:06jbowen has quit [Ping timeout: 480 seconds]
10:07aleasto has joined #asahi-dev
10:12bisko has joined #asahi-dev
10:35FireFox317 has joined #asahi-dev
11:18user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:39kgarrington has joined #asahi-dev
11:40kgarrington has quit [Remote host closed the connection]
12:05svenlooks like the NVMMU is actually the starting point for nvme commands. if i write A to that linear sq db the controller will look up TCB[A] and take the command_id from there and then look at SQ[TCB[A].command_id]. not that that matters much.
12:25sventhe only thing that's still strange is that there only is a single register to invalidate an entry in the NVMMU that seems to index into *both* TCB buffers
12:30sveni don't really understand why that TCB structure is separate for the admin and the io queue while they share that single invalidate register
12:49svenyeah, macos always sets the slot_id to the command_id and just uses that single invalidation register
12:49sveni'm mostly just curious because it's rather weird to have mostly separate structures for the two queues but them have them share that invalidation register
15:03yuyichao has quit [Ping timeout: 480 seconds]
15:21gladiac is now known as Guest1168
15:21gladiac has joined #asahi-dev
15:25jbowen has joined #asahi-dev
15:27Guest1168 has quit [Ping timeout: 480 seconds]
15:35yuyichao has joined #asahi-dev
15:39jbowen has quit [Ping timeout: 480 seconds]
15:49jbowen has joined #asahi-dev
15:57jbowen has quit [Ping timeout: 480 seconds]
16:04jbowen has joined #asahi-dev
17:14ghishadow[m] has left #asahi-dev [#asahi-dev]
17:43MajorBiscuit has quit [Ping timeout: 480 seconds]
17:51MajorBiscuit has joined #asahi-dev
18:01MajorBiscuit has quit [Ping timeout: 480 seconds]
18:21gladiac is now known as Guest1180
18:21gladiac has joined #asahi-dev
18:27Guest1180 has quit [Ping timeout: 480 seconds]
20:02user982492 has joined #asahi-dev
20:24jannaufinally a dcp crashlog, not that the crashlog info would be helpful in figuring out why dcp crashes on unplug
20:30svenhm, I think you’ll need the quirk because you’re not supposed to reply to pre-allocated buffers
20:36jannauI thought so. we could decide based on that save the buffer's ownership in struct apple_rtkit_shmem
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:36jbowen has quit [Quit: leaving]
22:24user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:09flying_sausages has quit [Ping timeout: 480 seconds]
23:21flying_sausages has joined #asahi-dev
23:31user982492 has joined #asahi-dev
23:33aleasto has quit [Quit: Konversation terminated!]
23:35aleasto has joined #asahi-dev
23:39user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:41user982492 has joined #asahi-dev
23:45aleasto has quit [Remote host closed the connection]
23:47aleasto has joined #asahi-dev
23:54aleasto has quit [Remote host closed the connection]
23:56aleasto has joined #asahi-dev