marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
gruetzko- is now known as gruetzkopf
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
_whitelogger has joined #asahi
marvin24 has joined #asahi
aquijoule_ has joined #asahi
richbridger has quit [Ping timeout: 480 seconds]
<marcan> (stream moved to after lunch)
TheJollyRoger has quit [Remote host closed the connection]
TheJollyRoger has joined #asahi
bgb_ has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
<Dementor[m]> <marcan "(stream moved to after lunch)"> What are you going to work on? More hypervisor stuff?
<marcan> Byeah
bgb has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
VinDuv has joined #asahi
VinDuv has quit []
VinDuv has joined #asahi
VinDuv has quit [Quit: Leaving.]
tomtastic_ has quit [Read error: Connection reset by peer]
tomtastic has joined #asahi
bastilian[m] has joined #asahi
manawyrm has joined #asahi
_whitelogger has joined #asahi
cdesai has quit [Quit: cdesai]
cdesai has joined #asahi
coderobe has joined #asahi
minimaul is now known as mini
ihaveamac has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
<kettenis> managed to get the dwc3 controller working (in host mode) in u-boot
Shiz has quit [Remote host closed the connection]
<sven> can you use a port twice there?
<sven> (i.e. disconnect a device and connect it again)
<kettenis> probably not
<kettenis> usb doesn't really support hotplug
<kettenis> u-boot I mean
<kettenis> so you'd have to run a command to rescan the usb bus
<kettenis> I can try that in a bit
<kettenis> part of the magic to getting it work is sending a 'SSPS' command to the type-C PD controller
<kettenis> that apparently takes it out of "boot" mode and into normal "S0" mode
<sven> yeah, i know :-)
<sven> just wondering if reusing a port works because i couldn't get that to work in either device or host mode
<sven> (without manually resetting dwc3)
<kettenis> will look at that in a bit
<kettenis> need to do some shopping first
<kettenis> plug/unplug and rescan works in u-boot, but I guess rescanning invokes a dwc3 reset
choozy has joined #asahi
m42uko has joined #asahi
bgb has joined #asahi
truelai has joined #asahi
zopieux has joined #asahi
Gue______ has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
bgb has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
bgb has joined #asahi
VinDuv has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<kettenis> sven: got dwc3 working in OpenBSD as well
<sven> nice. i assume bsd itself needs almost no changes if you just do the phy init in u-boot?
<kettenis> I have a type-C to type-A dongle in the mix
<kettenis> if I unplug and replug on the type-A side everything works like charm
<kettenis> if I unplug the dongle from the machine devices detach like they should
<kettenis> but plugging the dongle back in doesn't do anything
<sven> yeah, that sounds just like what i saw
<sven> marcan did some experiments where he just disconnected the D+/D- lines and that worked just fine as well
<marcan> IIRC it was dropping vbus that breaks it here, yeah
<kettenis> to make it work I had to tackkle the dual DART issue
<sven> dwc3 also works in bypass mode fwiw
<kettenis> oh, that might be interesting for u-boot
<sven> the linux driver ignores dma-ranges and only uses 32bit addresses by default
<sven> but if you force it to use the full 64bit address space and set the two bypass bits in the dart TCR it'll work fine
choozy has joined #asahi
spot[m] has joined #asahi
Shiz has joined #asahi
<sven> kettenis: https://f.svpe.de/f8ea95271af6bec833d5448efe87d2addca671993c9be1c92e8dcd464368bed7_0000-cover-letter.patch is that enough stressing that we really want to express the clock topology in the device tree or can you think of more points why this is a good idea that i should add?
<kettenis> looks good to me
VinDuv has quit [Quit: Leaving.]
Shiz_ has joined #asahi
Shiz has quit []
Shiz_ has quit []
Shiz has joined #asahi
<sven> alright, sent
<sven> now back to the DART
<sven> kettenis: does u-boot take care of the usb phy init for host mode? then i can probably get away with just adding the dwc3 device nodes in the dart patchset so that it actually becomes useful for something
choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<kettenis> sven: u-boot doesn't really do any apple-specific stuff for dwc3
<kettenis> seems to be happy with whatever m1n1 has done
<sven> huh, really?
<sven> even for host mode?
<kettenis> I wouldn't mix the usb stuff in the dart diff though
<sven> fair enough
<kettenis> for the dwc3 usb controller we probably need a "glue" node that has a "snps,dwc3" node as a child
<sven> do we really need the glue node?
<kettenis> mybe not
<kettenis> corellium needs it for tunables playback
<sven> i think we'll eventually only need a phy driver
<kettenis> I suppose we can always add one later if it turns out we need it
<kettenis> in that case adding a snps,dwc3 node to the dart diff may not be a bad idea after all
VinDuv has joined #asahi
kettenis_ has joined #asahi
kettenis is now known as Guest4788
kettenis_ is now known as kettenis
Guest4788 has quit [Ping timeout: 480 seconds]
Matt_B has quit [Remote host closed the connection]
haterade[m] has joined #asahi
VinDuv has quit [Quit: Leaving.]
inglor has joined #asahi
kettenis has quit [Ping timeout: 480 seconds]
kettenis has joined #asahi
choozy has joined #asahi
Gue______ has quit [Ping timeout: 480 seconds]
truelai has quit [Ping timeout: 480 seconds]
emptynine has joined #asahi
choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
akemin_dayo has quit [Ping timeout: 480 seconds]
akemin_dayo has joined #asahi
tomtastic has quit [Ping timeout: 480 seconds]
tomtastic has joined #asahi
balrog has quit [Quit: Bye]
balrog has joined #asahi
brinly has joined #asahi
<brinly> @marcan which exact kernel was the ssd wear issue fixed in?
<brinly> the KDKS are out, and I have a dev account