<chadmed_>
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
<chadmed_>
looking at bsd_init.c seems to suggest this happens if the kernel cant confirm that the boot volume was sealed
<chadmed_>
oh yeah would help to RTFM :/
RevHelix has quit [Read error: Connection reset by peer]
RevHelix has joined #asahi-dev
RevHelix has quit [Quit: I am going to make my own channel, with blackjack and hookers!]
RevHelix has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RevHelix has quit [Quit: I am going to make my own channel, with blackjack and hookers!]
phiologe has joined #asahi-dev
RevHelix has joined #asahi-dev
PhilippvK has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi-dev
kov has quit [Quit: Coyote finally caught me]
<chadmed_>
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
gladiac is now known as Guest1974
gladiac has joined #asahi-dev
Guest1974 has quit [Ping timeout: 480 seconds]
<jannau>
chadmed_: see how the keyboard is handed. msg.EP refers to the dma-channels property in the ADT
<chadmed_>
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
<jannau>
touch id is be 0x18 / 0x19
<chadmed_>
yeah ive got it tracing the sensor fine (until i put my finger on it) i just wanted to tidy up the output
<chadmed_>
next chore is figuring out why putting my finger on it dumps me out of the hv with an unmapped iova
<jannau>
comment the iomon.poll() and an iomon more specific for mesa
<jannau>
not sure the iomem handling of the sio tracer is complete, I did what was necessary to get the keyboard tracer to work
<jannau>
'smartio_debug=0xff' as boot args is helpful, should report the EP in decimal
<jannau>
woot, a gdbserver for m1n1 pull request
nicolas17 has quit [Ping timeout: 480 seconds]
RevHelix has quit [Quit: I am going to make my own channel, with blackjack and hookers!]
RevHelix has joined #asahi-dev
the_lanetly_052___ has joined #asahi-dev
the_lanetly_052__ has quit [Read error: Connection reset by peer]
user982492_ has joined #asahi-dev
user982492 has quit [Read error: Connection reset by peer]
greguu has quit [Ping timeout: 480 seconds]
<povik>
now that i got familiar with dmaengine, i have bit of an itch to write driver the sio driver
<povik>
do we need it for anything?
<povik>
(except hdmi audio, that is)
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
<jannau>
apple uses it as "DMA" replacement for "large" (256 byte) SPI transfers for keyboard/touchpad
<jannau>
touch id seems to have larger SPI transfers, see #asahi-re
<jannau>
and s/hdmi audiio/dp audio/ I assume
<povik>
you assume right
<povik>
i don't know what would be the difference exactly
<povik>
but if we support it, audio will come out through the hdmi on my mac mini :-p
<povik>
jannau: have you seen anything about how the audio stream is set up on the DCP side?
<povik>
with the SPI i assume we can do the large transfers without SIO, it's just an efficiency issue
<jannau>
I think displayport only carries linear pcm and no encoded audio
<jannau>
yes, SPI works fine without SIO and the large transfers for touch id should not be a problem either
<jannau>
I haven't seen any audio related things in DCP yet but I haven't looked
the_lanetly_052___ has quit [Remote host closed the connection]
the_lanetly_052___ has joined #asahi-dev
<povik>
if you stumble upon something let me know!
<jannau>
I see nothing in the annotated Calls for the dcp endpoint so it's probably in a different endpoint. "av" maybe or "mcdp29xx"
<jannau>
if it is using HDMI audio over the dp to hdmi converter
<povik>
these are different endpoints in AP/DCP communication?
<povik>
ah MCDP29000 will be the converter
Major_Biscuit has joined #asahi-dev
alexsv has joined #asahi-dev
<jannau>
yes, that are different endpoints in DCP's rtkit interface
user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Major_Biscuit has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi-dev
Major_Biscuit has joined #asahi-dev
chadmed_ has quit [Read error: No route to host]
chadmed has joined #asahi-dev
RevHelix has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Major_Biscuit has quit [Ping timeout: 480 seconds]
<sven>
yeah, though for us the mux will be inside the phy driver
Major_Biscuit has joined #asahi-dev
dubiousness has left #asahi-dev [#asahi-dev]
kameks has quit [Read error: Connection reset by peer]
yuyichao_ has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi-dev
millenialhacker has joined #asahi-dev
millenialhacker has quit []
millenialhacker has joined #asahi-dev
<millenialhacker>
Hi 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?
<sven>
i'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
<sven>
but uhhh.... i don't really see where that would help at all if you don't poll those messages as well
<marcan>
sven: remember when I said different drivers interpret the mbox API differently and it's all an insane broken mess and I hate it?
<marcan>
yeah.
<sven>
yeah, but i don't even get the intention behind peek data
<sven>
like, what am i supposed to do with that information?
<marcan>
the problem is the doc comment for that function is stupid
<marcan>
* mbox_client_peek_data - A way for client driver to pull data
<marcan>
* received from remote by the controller.
<marcan>
sounds vague and reasonable
<marcan>
* A poke to controller driver for any received data.
<marcan>
* The data is actually passed onto client via the
<marcan>
* mbox_chan_received_data()
<marcan>
uhhh okay
<marcan>
* Return: True, if controller has, and is going to push after this,
<marcan>
* some data.
<marcan>
* False, if controller doesn't have any data to be read.
<marcan>
*after* this?
<marcan>
and now everyone is confused.
<sven>
yeah, that's what makes it so weird
<marcan>
it's just broken and wrong.
<sven>
*poll* data makes a lot of sense, but ugh
<marcan>
the only way it makes any sense is if it polls data on the spot
<marcan>
the name is dumb too
<marcan>
yes
<marcan>
exactly
<marcan>
have I mentioned I hate mailbox?
<marcan>
sven: bcm-flexrm-mailbox.c does what I do
<sven>
ah, true
<marcan>
all 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
<sven>
and that's probably also the only thing where it's actually used (drivers/dma/bcm-sba-raid.c)
<marcan>
yup.
<marcan>
so 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
<marcan>
*sigh*
<marcan>
sven: see mailbox/i-hate-mailbox
<marcan>
haven't even compile tested it
<marcan>
I'm going to let the kernel robot do its thing and fire it off because I hate this so much
chengsun has quit [Ping timeout: 480 seconds]
<sven>
:D
Major_Biscuit has quit [Ping timeout: 480 seconds]
Major_Biscuit has joined #asahi-dev
c10l684 has quit [Ping timeout: 480 seconds]
c10l684 has joined #asahi-dev
psykose has quit [Remote host closed the connection]
psykose has joined #asahi-dev
c10l684 has quit []
c10l684 has joined #asahi-dev
millenialhacker has quit [Quit: Konversation terminated!]
millenialhacker has joined #asahi-dev
c10l684 has quit []
Major_Biscuit has quit [Ping timeout: 480 seconds]
c10l684 has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
Major_Biscuit has joined #asahi-dev
coversine has quit [Quit: Konversation terminated!]
millenialhacker has quit [Remote host closed the connection]
Major_Biscuit has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
nicolas17 has joined #asahi-dev
akemin_dayo has quit [Ping timeout: 480 seconds]
akemin_dayo has joined #asahi-dev
millenialhacker has quit [Remote host closed the connection]
millenialhacker has joined #asahi-dev
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
c10l684 has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi-dev
c10l684 has joined #asahi-dev
roxfan has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c10l684 has quit []
c10l684 has joined #asahi-dev
___nick___ has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi-dev
Major_Biscuit has joined #asahi-dev
Major_Biscuit has quit []
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
StefanHoffmeister[m] has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
c10l684 has quit [Ping timeout: 480 seconds]
c10l684 has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]