#
…

2022-04-15

00:20robinp has joined #asahi-dev
00:22yuyichao_ has quit [Ping timeout: 480 seconds]
00:37yuyichao_ has joined #asahi-dev
01:31chadmed_ok so do i need to disable SIP on the macos install the kernel im trying to boot came from? the panic im actually getting is rootvp not authenticated
01:31chadmed_looking at bsd_init.c seems to suggest this happens if the kernel cant confirm that the boot volume was sealed
01:34chadmed_oh yeah would help to RTFM :/
02:03RevHelix has quit [Read error: Connection reset by peer]
02:03RevHelix has joined #asahi-dev
02:27RevHelix has quit [Quit: I am going to make my own channel, with blackjack and hookers!]
02:31RevHelix has joined #asahi-dev
02:39user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:47RevHelix has quit [Quit: I am going to make my own channel, with blackjack and hookers!]
02:48phiologe has joined #asahi-dev
02:50RevHelix has joined #asahi-dev
02:51PhilippvK has quit [Ping timeout: 480 seconds]
03:26user982492 has joined #asahi-dev
04:02kov has quit [Quit: Coyote finally caught me]
04:06chadmed_can i make the SIO tracer mask kb/touchpad noise? i can see it tracing the touch id DMA addresses but theres so much noise from the touchpad and kb that i cant really make sense of what its doing
04:20gladiac is now known as Guest1974
04:20gladiac has joined #asahi-dev
04:26Guest1974 has quit [Ping timeout: 480 seconds]
05:40jannauchadmed_: see how the keyboard is handed. msg.EP refers to the dma-channels property in the ADT
05:41chadmed_yeah i figured that part out and got it to stop dumping the data packets, but it still prints every ack and io completion. not so big of a deal though since i can just use sed to get rid of those lines from the file im logging to
05:41jannautouch id is be 0x18 / 0x19
05:42chadmed_yeah ive got it tracing the sensor fine (until i put my finger on it) i just wanted to tidy up the output
05:42chadmed_next chore is figuring out why putting my finger on it dumps me out of the hv with an unmapped iova
05:46jannaucomment the iomon.poll() and an iomon more specific for mesa
05:47jannaunot sure the iomem handling of the sio tracer is complete, I did what was necessary to get the keyboard tracer to work
05:49jannau'smartio_debug=0xff' as boot args is helpful, should report the EP in decimal
05:52jannauwoot, a gdbserver for m1n1 pull request
06:12nicolas17 has quit [Ping timeout: 480 seconds]
06:22RevHelix has quit [Quit: I am going to make my own channel, with blackjack and hookers!]
06:25RevHelix has joined #asahi-dev
06:26the_lanetly_052___ has joined #asahi-dev
06:27the_lanetly_052__ has quit [Read error: Connection reset by peer]
07:13user982492_ has joined #asahi-dev
07:13user982492 has quit [Read error: Connection reset by peer]
07:22greguu has quit [Ping timeout: 480 seconds]
07:28poviknow that i got familiar with dmaengine, i have bit of an itch to write driver the sio driver
07:28povikdo we need it for anything?
07:28povik(except hdmi audio, that is)
07:31jluthra has quit [Remote host closed the connection]
07:31jluthra has joined #asahi-dev
07:35jannauapple uses it as "DMA" replacement for "large" (256 byte) SPI transfers for keyboard/touchpad
07:35jannautouch id seems to have larger SPI transfers, see #asahi-re
07:36jannauand s/hdmi audiio/dp audio/ I assume
07:37povikyou assume right
07:37poviki don't know what would be the difference exactly
07:37povikbut if we support it, audio will come out through the hdmi on my mac mini :-p
07:39povikjannau: have you seen anything about how the audio stream is set up on the DCP side?
07:40povikwith the SPI i assume we can do the large transfers without SIO, it's just an efficiency issue
07:42jannauI think displayport only carries linear pcm and no encoded audio
07:43jannauyes, SPI works fine without SIO and the large transfers for touch id should not be a problem either
07:44jannauI haven't seen any audio related things in DCP yet but I haven't looked
07:46the_lanetly_052___ has quit [Remote host closed the connection]
07:47the_lanetly_052___ has joined #asahi-dev
07:47povikif you stumble upon something let me know!
07:54jannauI see nothing in the annotated Calls for the dcp endpoint so it's probably in a different endpoint. "av" maybe or "mcdp29xx"
07:55jannauif it is using HDMI audio over the dp to hdmi converter
07:57povikthese are different endpoints in AP/DCP communication?
07:57povikah MCDP29000 will be the converter
08:02Major_Biscuit has joined #asahi-dev
08:23alexsv has joined #asahi-dev
08:23jannauyes, that are different endpoints in DCP's rtkit interface
08:24user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:33Major_Biscuit has quit [Ping timeout: 480 seconds]
08:33user982492 has joined #asahi-dev
08:44Major_Biscuit has joined #asahi-dev
10:01chadmed_ has quit [Read error: No route to host]
10:03chadmed has joined #asahi-dev
10:07RevHelix has quit [Ping timeout: 480 seconds]
10:22user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:23user982492 has joined #asahi-dev
10:24user982492 has quit []
10:54kameks has joined #asahi-dev
11:00kov has joined #asahi-dev
12:20Major_Biscuit has quit [Ping timeout: 480 seconds]
12:26svenyeah, though for us the mux will be inside the phy driver
12:33Major_Biscuit has joined #asahi-dev
12:44dubiousness has left #asahi-dev [#asahi-dev]
13:26kameks has quit [Read error: Connection reset by peer]
13:40yuyichao_ has quit [Ping timeout: 480 seconds]
13:58yuyichao_ has joined #asahi-dev
14:02millenialhacker has joined #asahi-dev
14:03millenialhacker has quit []
14:04millenialhacker has joined #asahi-dev
14:14millenialhackerHi guys, I want to add unofficial instalation guide for Gentoo, I already published an article today in Medium but want to add the link to Asahi Wiki, a regular PR works?
14:14j`eyit's a wiki, add it!
14:16jannaumillenialhacker: no need for a pr, you can just edit it but I think you can't push to the wiki repository
14:16mpsj`ey: what you think about adding alpine there
14:16j`eymps: up to you, youre maintaining the kernel/m1n1 ;)
14:17mpsj`ey: yes, but I'm asking what is your opinion
14:17j`eymps: go for it!
14:18mpsj`ey: ok, have to add latest changes first and then ask someone who have github account (I don't have)
14:24millenialhackerCool, will do it once I emerge a browser into my Gentoo installation :D
14:26Tom[m]12345678910 has joined #asahi-dev
14:31marcansven: in today's stream, AGX has its own syslog ring buffers. 6 of them.
14:31marcanand doesn't use the RTKit syslog.
14:31sven*sigh*
14:31marcanand also syslog is the only channel with more than one ring buffer on AGX. because of course.
14:31marcanand also its ring buffer base address is a special case
14:32marcanpoor lina...
14:35sveni'm also very confused what mbox_client_peek_data is actually supposed to be used for. most other drivers just seem to return true if there's a pending message
14:35svenbut uhhh.... i don't really see where that would help at all if you don't poll those messages as well
14:35marcansven: remember when I said different drivers interpret the mbox API differently and it's all an insane broken mess and I hate it?
14:36svenyeah, but i don't even get the intention behind peek data
14:36svenlike, what am i supposed to do with that information?
14:37marcanthe problem is the doc comment for that function is stupid
14:37marcan * mbox_client_peek_data - A way for client driver to pull data
14:37marcan * received from remote by the controller.
14:37marcansounds vague and reasonable
14:37marcan * A poke to controller driver for any received data.
14:37marcan * The data is actually passed onto client via the
14:37marcan * mbox_chan_received_data()
14:37marcanuhhh okay
14:37marcan * Return: True, if controller has, and is going to push after this,
14:37marcan * some data.
14:37marcan * False, if controller doesn't have any data to be read.
14:37marcan*after* this?
14:37marcanand now everyone is confused.
14:37svenyeah, that's what makes it so weird
14:37marcanit's just broken and wrong.
14:37sven*poll* data makes a lot of sense, but ugh
14:37marcanthe only way it makes any sense is if it polls data on the spot
14:38marcanthe name is dumb too
14:38marcanhave I mentioned I hate mailbox?
14:39marcansven: bcm-flexrm-mailbox.c does what I do
14:39svenah, true
14:39marcanall the others don't, and clearly implement peek_data for no reason because it makes no sense, i.e. for everyone else it's cargo cult
14:40svenand that's probably also the only thing where it's actually used (drivers/dma/bcm-sba-raid.c)
14:40marcanso we have a clearly badly defined API and people cargo culting drivers that implement it with no users and no reviewer pointing out how stupid this all is
15:03marcansven: see mailbox/i-hate-mailbox
15:03marcanhaven't even compile tested it
15:03marcanI'm going to let the kernel robot do its thing and fire it off because I hate this so much
15:20chengsun has quit [Ping timeout: 480 seconds]
15:37Major_Biscuit has quit [Ping timeout: 480 seconds]
15:40Major_Biscuit has joined #asahi-dev
15:51c10l684 has quit [Ping timeout: 480 seconds]
15:54c10l684 has joined #asahi-dev
16:00psykose has quit [Remote host closed the connection]
16:01psykose has joined #asahi-dev
16:17c10l684 has quit []
16:18c10l684 has joined #asahi-dev
16:36millenialhacker has quit [Quit: Konversation terminated!]
16:37millenialhacker has joined #asahi-dev
16:38c10l684 has quit []
16:41Major_Biscuit has quit [Ping timeout: 480 seconds]
16:41c10l684 has joined #asahi-dev
16:42roxfan has quit [Ping timeout: 480 seconds]
16:52Major_Biscuit has joined #asahi-dev
16:53coversine has quit [Quit: Konversation terminated!]
16:58millenialhacker has quit [Remote host closed the connection]
17:00Major_Biscuit has quit [Ping timeout: 480 seconds]
17:02millenialhacker has joined #asahi-dev
17:17nicolas17 has joined #asahi-dev
17:29akemin_dayo has quit [Ping timeout: 480 seconds]
17:36akemin_dayo has joined #asahi-dev
17:36millenialhacker has quit [Remote host closed the connection]
17:37millenialhacker has joined #asahi-dev
17:39___nick___ has joined #asahi-dev
17:40___nick___ has quit []
17:42___nick___ has joined #asahi-dev
17:59c10l684 has quit [Ping timeout: 480 seconds]
18:19user982492 has joined #asahi-dev
18:30c10l684 has joined #asahi-dev
18:34roxfan has joined #asahi-dev
18:40user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:40user982492 has joined #asahi-dev
19:57user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:00c10l684 has quit []
20:03c10l684 has joined #asahi-dev
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:08user982492 has joined #asahi-dev
20:33Major_Biscuit has joined #asahi-dev
20:42Major_Biscuit has quit []
20:44user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:19user982492 has joined #asahi-dev
21:23StefanHoffmeister[m] has joined #asahi-dev
21:27user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:40user982492 has joined #asahi-dev
22:16c10l684 has quit [Ping timeout: 480 seconds]
22:41c10l684 has joined #asahi-dev
23:09user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:27alexsv has quit [Ping timeout: 480 seconds]
…