marcan changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
Null_A_ has quit [Remote host closed the connection]
Null_A has joined #asahi-dev
Null_A has quit [Ping timeout: 480 seconds]
Null_A has joined #asahi-dev
Null_A has quit [Ping timeout: 480 seconds]
Null_A has joined #asahi-dev
riker77_ has joined #asahi-dev
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
Null_A has quit [Read error: Connection timed out]
Null_A has joined #asahi-dev
Null_A has quit [Ping timeout: 480 seconds]
Null_A has joined #asahi-dev
Null_A has quit [Ping timeout: 480 seconds]
kettenis has quit [Remote host closed the connection]
kettenis has joined #asahi-dev
Null_A has joined #asahi-dev
user982492 has joined #asahi-dev
Null_A has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Null_A has joined #asahi-dev
eiln has joined #asahi-dev
<eiln> i've got power figured out
<eiln> in adt ane's power-gates/clock-gates field indexes 302 which is ANE_SYS_V
<eiln> ANE_SYS_V lists ANE_SYS as its parent
<eiln> but every other field in ANE_SYS_V is zeroed out
<eiln> hence the adt parser doesn't detect it properly and ends up calling ANE_SYS only
<eiln> ANE_SYS_V is actually a stream of sub-power domains @ 0x8 offsets that turns on the whole engine
<eiln> specifically ANE_SYS enables only a small subset of mmio
<eiln> just enough to read the device major/minor code and write to the power tunables region
<eiln> but the rest of the mmio (the part that does work) needs the sub-power domains on (duh)
<eiln> sub-pows move as a whole and no one should be messing with those
<eiln> so i've added all 6 sub-pows as normal power domains
<eiln> these differ by device btw since t8103 base is +0xc000 and t6xxx east/south both caps at 0xc000 so pls help me fill that out
<eiln> so i think the dt patches are appropriate
<eiln> on that note i've got a basic mmapper working in the kernel :P
<eiln> also ISP-SYS-V works the same way except it's like 12 consec domains
<eiln> so to whoever's doing that ur probably gonna need this
Null_A has quit [Ping timeout: 480 seconds]
<eiln> the domains are masked in a certain order
<eiln> but i haven't had issues w/ the current pmgr driver so i think it's fine
<eiln> regarding runtime pm/sleep
<eiln> logs say ambiguous stuff liek "powerup success! woke up from sleep!"
<eiln> but even soft poweroff doesn't restore regs/L2 ~~thankfully~~
<eiln> this explains the missing values in the pmgr tracer
Null_A has joined #asahi-dev
eiln has quit [Remote host closed the connection]
Null_A has quit [Ping timeout: 480 seconds]
Null_A has joined #asahi-dev
Null_A has quit [Ping timeout: 480 seconds]
Null_A has joined #asahi-dev
Null_A has quit [Ping timeout: 480 seconds]
Null_A has joined #asahi-dev
Null_A has quit [Ping timeout: 480 seconds]
SSJ_GZ has joined #asahi-dev
WindowPain has joined #asahi-dev
WindowPain_ has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-dev
javier_varez_ has joined #asahi-dev
bcrumb has joined #asahi-dev
bcrumb has quit [Quit: WeeChat 3.7.1]
tired- has joined #asahi-dev
tired has quit [Read error: Connection reset by peer]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
bcrumb has joined #asahi-dev
bcrumb_ has joined #asahi-dev
bcrumb has quit [Ping timeout: 480 seconds]
<kettenis> sven: in the Linux "apple,efuses" driver, what guarantees that the address you're reading from is 32-bit aligned?
<sven> the nvmem core has word_size and stride iirc
<kettenis> ah, it is handled by the midlayer; thanks
<sven> yeah, iirc I had to fix some bug in there as well when accessing bits past 8 inside the 32bit fuse
<sven> … and I think that patch series was ignored :(
<sven> guess I’ll just send it again once I also submit atcphy
ah- has quit [Ping timeout: 480 seconds]
leitao has joined #asahi-dev
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi-dev
Stary has quit [Read error: Connection reset by peer]
leitao has quit [Ping timeout: 480 seconds]
Stary has joined #asahi-dev
zalyx has quit [Quit: later alligator]
zalyx has joined #asahi-dev
zalyx has quit []
zalyx has joined #asahi-dev
tired- has quit [Quit: /]
tired has joined #asahi-dev
landscape15 has joined #asahi-dev
landscape15 has quit [Remote host closed the connection]
landscape15 has joined #asahi-dev
landscape15 has quit [Quit: Igloo IRC: https://iglooirc.com]
<zzywysm_> sven: is the bug fixed in the asahi tree?
<sven> "the bug"?
<zzywysm_> "yeah, iirc I had to fix some bug in there as well when accessing bits past 8 inside the 32bit fuse"
<sven> ofc, usb3 wouldn't work otherwise
user982492 has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
mini0n has joined #asahi-dev
bcrumb has joined #asahi-dev
bcrumb_ has quit [Ping timeout: 480 seconds]
bcrumb has quit [Quit: WeeChat 3.7.1]
bcrumb has joined #asahi-dev
bcrumb has quit []
bcrumb has joined #asahi-dev
bcrumb has quit []
bcrumb has joined #asahi-dev
bcrumb has quit [Quit: WeeChat 3.7.1]
bcrumb has joined #asahi-dev
bcrumb has quit []
bcrumb has joined #asahi-dev
bcrumb has quit []
bcrumb has joined #asahi-dev
princesszoey has quit [Quit: The Lounge - https://thelounge.chat]
bcrumb has quit [Quit: WeeChat 3.7.1]
renato has joined #asahi-dev
renato is now known as renatorabelo
pthariensflame has joined #asahi-dev
pthariensflame has quit []
sam___ has joined #asahi-dev
<sam___> Hello
<sam___> I'm looking to support development of the project on an M2 air I'd be getting soon, is there an ideal minimum storage size SSD I should be getting?
mofux has joined #asahi-dev
<j`ey> sam___: not really. just depends if you think you will have multiple installs etc
<sam___> j`ey: I see, so then maybe 256gb is my choice
<sam___> Not sure how many installs are necessary for development work outside of having macOS itself and then Asahi of course
mofux has quit []
<j`ey> only 1 is needed really
<sam___> Sounds good, thanks!
<sam___> As for ram I'm thinking of 16GB, 24 seems like a bit much
user982492_ has joined #asahi-dev
user982492 has quit [Ping timeout: 480 seconds]
SSJ_GZ has quit [Ping timeout: 480 seconds]
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf has joined #asahi-dev
<Dcow> the ssd is slower on 256Gb model. Also, macOS uses a lot of disk space, so I wouldn't recommend to have 256Gb model for multiple os instances
mini is now known as mini_
<j`ey> yeah you probably want 70-100G for macOS
<jannau> marcan: dcp pull request: https://github.com/AsahiLinux/linux/pull/89
<jannau> marcan: spihid pull request: https://github.com/AsahiLinux/linux/pull/88 minor fixes and suspend/resume support
<jannau> spihid wakeup by keypress does not work as far as I can see as because the pinctrl driver can not act as wakeup source
user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<j`ey> looks like pinctrl needs a irq_set_wake
<j`ey> might be as simple as https://termbin.com/ne5tc but also needs something in the DT, to mark it as a wakeup source