ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
user982492 has joined #asahi-dev
user982492_ has joined #asahi-dev
user982492 has quit [Ping timeout: 480 seconds]
user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jbowen has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
<marcan> jeffmiw: do you mind if I take it over a bit this week? (of course whatever way we end up submitting it you'd be credited)
user982492 has joined #asahi-dev
riker77_ has joined #asahi-dev
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
<marcan> heh, apparently there have been a couple attempts at introducing a shutdown callback chain with priorities for linux, most recently https://patchwork.ozlabs.org/project/linux-tegra/cover/20211007060253.17049-1-digetx@gmail.com/
<marcan> sounds like I should probably try pulling that in and poking Dmitry about it
<marcan> that would allow us to have the SMC and PMU drivers play together without an explicit dep
jbowen has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
<marcan> ok, going to grab a bite and stream a bit after that
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
Graypup_ has quit [Quit: meow]
Graypup_ has joined #asahi-dev
kov has quit [Quit: Coyote finally caught me]
phiologe has joined #asahi-dev
PhilippvK has quit [Ping timeout: 480 seconds]
M0x8FF[m] has joined #asahi-dev
<Glanzmann> marcan: Good morning.
Glanzmann has quit [Quit: leaving]
sheepgoose has quit [Ping timeout: 480 seconds]
willemml has joined #asahi-dev
jbowen has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
cynthia has quit [Server closed connection]
willemml has quit [Quit: willemml]
cynthia has joined #asahi-dev
el0y has quit [Server closed connection]
willemml has joined #asahi-dev
gladiac is now known as Guest2064
gladiac has joined #asahi-dev
Guest2064 has quit [Ping timeout: 480 seconds]
gladiac is now known as Guest2065
gladiac has joined #asahi-dev
Guest2065 has quit [Ping timeout: 480 seconds]
kov has joined #asahi-dev
gladiac is now known as Guest2067
gladiac has joined #asahi-dev
<jeffmiw> marcan: no problem at all
Guest2067 has quit [Ping timeout: 480 seconds]
<jeffmiw> I'll focus cleaning up what I have for spmi & rtc for now
jbowen has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
<jeffmiw> I just pushed the clean-up I had pending. The key one found yesterday is the removal of the regmap fast_io as it was making the kernel crash on mbp 2020.
<chadmed> are the byte swaps actually totally unnecessary?
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alicela1n has quit [Server closed connection]
alicela1n has joined #asahi-dev
jeffmiw has quit [Ping timeout: 480 seconds]
abilash1994[m] has quit [Server closed connection]
abilash1994[m] has joined #asahi-dev
willemml has quit [Quit: willemml]
Major_Biscuit has joined #asahi-dev
jevinskie[m] has quit [Server closed connection]
jevinskie[m] has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
Major_Biscuit has quit [Ping timeout: 480 seconds]
V has quit [Ping timeout: 480 seconds]
V has joined #asahi-dev
gladiac is now known as Guest2082
gladiac has joined #asahi-dev
Guest2082 has quit [Ping timeout: 480 seconds]
V has quit [Remote host closed the connection]
V has joined #asahi-dev
V has quit [Remote host closed the connection]
V has joined #asahi-dev
V has quit [Remote host closed the connection]
V has joined #asahi-dev
jeffmiw has joined #asahi-dev
VinDuv_ has joined #asahi-dev
VinDuv has quit [Ping timeout: 480 seconds]
VinDuv_ is now known as VinDuv
Gaspare has joined #asahi-dev
jeffmiw has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-dev
Gaspare has quit [Read error: No route to host]
yuyichao has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi-dev
maxim[m] has quit [Server closed connection]
maxim[m] has joined #asahi-dev
user982492 has joined #asahi-dev
jbowen has joined #asahi-dev
balrog has quit [Ping timeout: 480 seconds]
nsklaus_ has joined #asahi-dev
nsklaus has quit [Ping timeout: 480 seconds]
_andy_t_ has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
MajorBiscuit has quit [Quit: WeeChat 3.4]
jbowen has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jbowen has joined #asahi-dev
Glanzmann has joined #asahi-dev
user982492 has joined #asahi-dev
<sven> jannau: where were those rtkit/nvme changes you did again?
<sven> thanks!
Mary has quit [Quit: Ping timeout (120 seconds)]
os has quit [Quit: Ping timeout (120 seconds)]
Mary has joined #asahi-dev
balrog has joined #asahi-dev
os has joined #asahi-dev
<jannau> I was planning to adapt smc to to the changed smc API tonight
<sven> sounds good :)
<sven> marcan: ^— feel free to pull that into nvme once you rebase asahi, those changes look good to me
<sven> let’s see if I can find my nvme WIP branch again. I vaguely remember fixing something else as well
___nick___ has joined #asahi-dev
<jannau> I find `git branch --sort=committerdate` helpful for finding lost branches
___nick___ has joined #asahi-dev
<sven> Ah, that’s useful! Thanks!
commandoline_ has joined #asahi-dev
trouter- has joined #asahi-dev
<ChaosPrincess> would be nice if spi fixups were also to be pulled into the asahi branch
southey has joined #asahi-dev
nico_32_ has joined #asahi-dev
maz_ has joined #asahi-dev
Shiz has quit [charon.oftc.net helix.oftc.net]
trouter has quit [charon.oftc.net helix.oftc.net]
commandoline has quit [charon.oftc.net helix.oftc.net]
NightsOnly[m] has quit [charon.oftc.net helix.oftc.net]
ChristianOndaatje[m] has quit [charon.oftc.net helix.oftc.net]
Stary has quit [charon.oftc.net helix.oftc.net]
krirogn[m] has quit [charon.oftc.net helix.oftc.net]
DarkShadow4444 has quit [charon.oftc.net helix.oftc.net]
nafod has quit [charon.oftc.net helix.oftc.net]
mr_sq[m] has quit [charon.oftc.net helix.oftc.net]
nico_32 has quit [charon.oftc.net helix.oftc.net]
KrushnaDeore[m] has quit [charon.oftc.net helix.oftc.net]
pikabo[m] has quit [charon.oftc.net helix.oftc.net]
fetsorn[m] has quit [charon.oftc.net helix.oftc.net]
c1truz[m] has quit [charon.oftc.net helix.oftc.net]
etsukata[m] has quit [charon.oftc.net helix.oftc.net]
gamble[m] has quit [charon.oftc.net helix.oftc.net]
kdrag0n[m] has quit [charon.oftc.net helix.oftc.net]
obflv[m] has quit [charon.oftc.net helix.oftc.net]
ograff has quit [charon.oftc.net helix.oftc.net]
stelleg[m] has quit [charon.oftc.net helix.oftc.net]
kdwk-l[m] has quit [charon.oftc.net helix.oftc.net]
bngs[m] has quit [charon.oftc.net helix.oftc.net]
ar has quit [charon.oftc.net helix.oftc.net]
dnjmis[m] has quit [charon.oftc.net helix.oftc.net]
cgv[m] has quit [charon.oftc.net helix.oftc.net]
bpalmer4[m] has quit [charon.oftc.net helix.oftc.net]
arnidg[m] has quit [charon.oftc.net helix.oftc.net]
daniel0611[m] has quit [charon.oftc.net helix.oftc.net]
hectour[m] has quit [charon.oftc.net helix.oftc.net]
jix has quit [charon.oftc.net helix.oftc.net]
alexanderwillner[m] has quit [charon.oftc.net helix.oftc.net]
denden[m] has quit [charon.oftc.net helix.oftc.net]
brentr123[m] has quit [charon.oftc.net helix.oftc.net]
daftfrog[m] has quit [charon.oftc.net helix.oftc.net]
gpanders[m] has quit [charon.oftc.net helix.oftc.net]
joerosenberg[m] has quit [charon.oftc.net helix.oftc.net]
mofux[m] has quit [charon.oftc.net helix.oftc.net]
nilsi[m] has quit [charon.oftc.net helix.oftc.net]
not_a_weeaboo[m] has quit [charon.oftc.net helix.oftc.net]
quentin[m] has quit [charon.oftc.net helix.oftc.net]
rgort10[m] has quit [charon.oftc.net helix.oftc.net]
unevenrhombus[m] has quit [charon.oftc.net helix.oftc.net]
thebrinkoftomorrow[m] has quit [charon.oftc.net helix.oftc.net]
vivg[m] has quit [charon.oftc.net helix.oftc.net]
simjnd[m] has quit [charon.oftc.net helix.oftc.net]
s-urabe[m] has quit [charon.oftc.net helix.oftc.net]
dottedmag has quit [charon.oftc.net helix.oftc.net]
TellowKrinkle[m] has quit [charon.oftc.net helix.oftc.net]
user1tt[m] has quit [charon.oftc.net helix.oftc.net]
tophevich[m] has quit [charon.oftc.net helix.oftc.net]
rkjnsn[m] has quit [charon.oftc.net helix.oftc.net]
shaman_br[m] has quit [charon.oftc.net helix.oftc.net]
JacksonR[m] has quit [charon.oftc.net helix.oftc.net]
sajattack[m] has quit [charon.oftc.net helix.oftc.net]
maz has quit [charon.oftc.net helix.oftc.net]
vup has quit [charon.oftc.net helix.oftc.net]
fridtjof[m] has quit [charon.oftc.net helix.oftc.net]
unrelentingtech has quit [charon.oftc.net helix.oftc.net]
leah2 has quit [charon.oftc.net helix.oftc.net]
N3ros[m] has quit [charon.oftc.net helix.oftc.net]
gpanders has quit [charon.oftc.net helix.oftc.net]
foxtrot has quit [charon.oftc.net helix.oftc.net]
dottedmag has joined #asahi-dev
agraf has joined #asahi-dev
ar has joined #asahi-dev
fetsorn[m] has joined #asahi-dev
ChristianOndaatje[m] has joined #asahi-dev
Stary has joined #asahi-dev
krirogn[m] has joined #asahi-dev
nafod has joined #asahi-dev
DarkShadow4444 has joined #asahi-dev
kdwk-l[m] has joined #asahi-dev
vup has joined #asahi-dev
NightsOnly[m] has joined #asahi-dev
daniel0611[m] has joined #asahi-dev
denden[m] has joined #asahi-dev
simjnd[m] has joined #asahi-dev
JacksonR[m] has joined #asahi-dev
shaman_br[m] has joined #asahi-dev
sajattack[m] has joined #asahi-dev
s-urabe[m] has joined #asahi-dev
rkjnsn[m] has joined #asahi-dev
quentin[m] has joined #asahi-dev
rgort10[m] has joined #asahi-dev
ograff has joined #asahi-dev
obflv[m] has joined #asahi-dev
not_a_weeaboo[m] has joined #asahi-dev
mofux[m] has joined #asahi-dev
nilsi[m] has joined #asahi-dev
kdrag0n[m] has joined #asahi-dev
joerosenberg[m] has joined #asahi-dev
gpanders has joined #asahi-dev
gamble[m] has joined #asahi-dev
gpanders[m] has joined #asahi-dev
fridtjof[m] has joined #asahi-dev
hectour[m] has joined #asahi-dev
etsukata[m] has joined #asahi-dev
leah2 has joined #asahi-dev
KrushnaDeore[m] has joined #asahi-dev
mr_sq[m] has joined #asahi-dev
unevenrhombus[m] has joined #asahi-dev
jix has joined #asahi-dev
pikabo[m] has joined #asahi-dev
vivg[m] has joined #asahi-dev
unrelentingtech has joined #asahi-dev
N3ros[m] has joined #asahi-dev
user1tt[m] has joined #asahi-dev
tophevich[m] has joined #asahi-dev
stelleg[m] has joined #asahi-dev
thebrinkoftomorrow[m] has joined #asahi-dev
TellowKrinkle[m] has joined #asahi-dev
dnjmis[m] has joined #asahi-dev
cgv[m] has joined #asahi-dev
daftfrog[m] has joined #asahi-dev
alexanderwillner[m] has joined #asahi-dev
bngs[m] has joined #asahi-dev
arnidg[m] has joined #asahi-dev
brentr123[m] has joined #asahi-dev
bpalmer4[m] has joined #asahi-dev
c1truz[m] has joined #asahi-dev
Shiz has joined #asahi-dev
m6wiq has joined #asahi-dev
nafod has quit [Ping timeout: 480 seconds]
nafod has joined #asahi-dev
alexanderwillner[m] has quit [Server closed connection]
alexanderwillner[m] has joined #asahi-dev
arnidg[m] has quit [Server closed connection]
arnidg[m] has joined #asahi-dev
bngs[m] has quit [Server closed connection]
bngs[m] has joined #asahi-dev
bpalmer4[m] has quit [Server closed connection]
bpalmer4[m] has joined #asahi-dev
brentr123[m] has quit [Server closed connection]
brentr123[m] has joined #asahi-dev
c1truz[m] has quit [Server closed connection]
c1truz[m] has joined #asahi-dev
cgv[m] has quit [Server closed connection]
cgv[m] has joined #asahi-dev
daftfrog[m] has quit [Server closed connection]
daftfrog[m] has joined #asahi-dev
dnjmis[m] has quit [Server closed connection]
dnjmis[m] has joined #asahi-dev
etsukata[m] has quit [Server closed connection]
etsukata[m] has joined #asahi-dev
hectour[m] has quit [Server closed connection]
hectour[m] has joined #asahi-dev
fridtjof[m] has quit [Server closed connection]
fridtjof[m] has joined #asahi-dev
gamble[m] has quit [Server closed connection]
gamble[m] has joined #asahi-dev
gpanders has quit [Server closed connection]
gpanders has joined #asahi-dev
gpanders[m] has quit [Server closed connection]
gpanders[m] has joined #asahi-dev
gpanders is now known as Guest2154
joerosenberg[m] has quit [Server closed connection]
joerosenberg[m] has joined #asahi-dev
Guest2154 has quit []
kdrag0n[m] has quit [Server closed connection]
enick_688 has joined #asahi-dev
kdrag0n[m] has joined #asahi-dev
mofux[m] has quit [Server closed connection]
mofux[m] has joined #asahi-dev
nilsi[m] has quit [Server closed connection]
nilsi[m] has joined #asahi-dev
not_a_weeaboo[m] has quit [Server closed connection]
not_a_weeaboo[m] has joined #asahi-dev
obflv[m] has quit [Server closed connection]
obflv[m] has joined #asahi-dev
ograff has quit [Server closed connection]
enick_688 is now known as andg
ograff has joined #asahi-dev
quentin[m] has quit [Server closed connection]
quentin[m] has joined #asahi-dev
andg is now known as gpanders
rgort10[m] has quit [Server closed connection]
rgort10[m] has joined #asahi-dev
rkjnsn[m] has quit [Server closed connection]
rkjnsn[m] has joined #asahi-dev
s-urabe[m] has quit [Server closed connection]
s-urabe[m] has joined #asahi-dev
sajattack[m] has quit [Server closed connection]
sajattack[m] has joined #asahi-dev
shaman_br[m] has quit [Server closed connection]
shaman_br[m] has joined #asahi-dev
simjnd[m] has quit [Server closed connection]
simjnd[m] has joined #asahi-dev
JacksonR[m] has quit [Server closed connection]
JacksonR[m] has joined #asahi-dev
stelleg[m] has quit [Server closed connection]
stelleg[m] has joined #asahi-dev
TellowKrinkle[m] has quit [Server closed connection]
TellowKrinkle[m] has joined #asahi-dev
thebrinkoftomorrow[m] has quit [Server closed connection]
thebrinkoftomorrow[m] has joined #asahi-dev
tophevich[m] has quit [Server closed connection]
tophevich[m] has joined #asahi-dev
unevenrhombus[m] has quit [Server closed connection]
unevenrhombus[m] has joined #asahi-dev
unrelentingtech has quit [Server closed connection]
unrelentingtech has joined #asahi-dev
user1tt[m] has quit [Server closed connection]
user1tt[m] has joined #asahi-dev
vivg[m] has quit [Server closed connection]
vivg[m] has joined #asahi-dev
jbowen has quit [Ping timeout: 480 seconds]
<povik> opened m1n1 PR with audio capture: https://github.com/AsahiLinux/m1n1/pull/162
<alyssa> =D
<povik> you happy?
<alyssa> povik: careful, soon the M1 will have better sound support than my mainlined-by-the-vendor laptop ;-p
<povik> don't know what to think about that
<sven> sounds like a good goal for everything we do here :p
<povik> also wrote this cute thing: https://github.com/AsahiLinux/m1n1/pull/163
<sven> Lol :D
<sven> imho hacks like that are perfectly fine in proxyclient/
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<povik> you call my dynamic linker a hack?!
___nick___ has quit [Ping timeout: 480 seconds]
<alyssa> + f.write(".data : { *(.got .data .data.* .rodata .rodata.* .bss .bss.*) }\n")
<povik> sven: ah, now it's official
<sven> alyssa: thanks for making my case! :D
<povik> imo the greatest hack is two lines below
<povik> for sym in self.symbols:
<povik> f.write(f"{sym[1]} = 0x{sym[0]:x};\n")
<povik> the full symbol table is dumped into the linker script
m6wiq has quit []
m6wiq has joined #asahi-dev
<jannau> kettenis: usb-c works after adding the t6000 dart compatible
<jannau> no idea why spi and spi-hid-kbd don't work, as far as I can see they are not even considered
<kettenis> cool, that means the t6000 dart supports bypass the same way
<kettenis> you saw my reply to the dynamic memory diff?
<jannau> yes, all good points and fixed locally
<jannau> thanks
saddsaasd has joined #asahi-dev
<kettenis> I have a 14" m1 pro coming, but it'll be a while until it gets delivered
<kettenis> but if usb works, you can use an external keyboard ;)
<kettenis> and if you look at the spi stuff, you can review my pending diffs ;)
* saddsaasd https://worldhacker.org/index.php/irc-server/ COME TO Us , Let's Learn 0day together ... . everyone welcome , after audit ... . United Nations Candidate open now ...
<kettenis> I know it isn't perfect; perhaps the timings are just a bit off
<j`ey> kettenis: ay nice, on the pro
saddsaasd has quit [autokilled: This host violated network policy. Mail support@oftc.net if you feel this in error. (2022-02-07 21:40:15)]
<jannau> kettenis: as far as I can tell it is not even probed
<jannau> I don't think the timing is different between m1 and m1 pro/max
<jannau> I developed the linux driver folly on the 14" max and the same code works on the air and 13"
m6wiq has quit []
<kettenis> so maybe it is just a device tree thing?
m6wiq has joined #asahi-dev
<jannau> probably but I don't see anything. I guess I could again try to remove all the power-domains
<kettenis> yeah, those are annoying since there are too many of them :(
<jannau> no change
user982492 has joined #asahi-dev
<kettenis> btw, serial console definitely works when running u-boot under the hypervisor here
<kettenis> (on the 13" mbp that is)
<jannau> serial console works without problems after fixing the m1n1 dm-preloc code
<kettenis> ah then you can use "dm tree" and scroll back and see if the apple_spi and apple_spi_kbd drivers are listed and probed
<jannau> they are listed but not probed
<jannau> device tree as seen by u-boot: https://paste.debian.net/1229959/
<kettenis> so that means the compatible strings match
<jannau> err, sorry, they are not in dm tree, they are in dm driver
<kettenis> ah, that means they're not bound
<kettenis> hmm, one of the pinctrl has "apple,t8103-pinctrl" as a compatible for the t6000
<kettenis> that's not quite right
<kettenis> (but shouldn't be a problem)
<jannau> pinctrl nodes are all listed but only pinctrl_smc is probed
<jannau> the pinconfigs are also listed
psydroid[m]1 is now known as psydroid
<jannau> but only one has apple_gpio
<jannau> probably number of gpio limit problem
<kettenis> ah, yes, I think I understand
<kettenis> the apple_gpio driver is only bound when the "parent" apple_pinctrl is probed
<kettenis> that probably doesn't happen because none of the pins are referenced
<kettenis> so the spien-gpio isn't found and the keyboard probe fails
<jannau> apple_spi_kbd_probe() is never called as far as I can tell
<jannau> I also do not see why pinctrl_smc is probed. that one is not used at all
<kettenis> can you try the patch I just pushed to the t6000 branch?
<jannau> apple_gpio for all pinctrl nodes but still no spi or keyboard and still only a single pinctrl probed
<jannau> it probes only the first pinctrl in the dts
<kettenis> ok, well, it's zzz time here
<jannau> here as well
<jannau> good night
<kettenis> you too
yuyichao has quit [Ping timeout: 480 seconds]