#asahi-dev · 2022-08-19 21:21
amarioguyalright lemme try that#asahi-dev · 2022-08-19 21:20
amarioguya bit to take in, and yea looked at the past comments, i mistakenly added the lock to the wrong place#asahi-dev · 2022-08-19 21:19
amarioguyalright#asahi-dev · 2022-08-19 21:15
amarioguyif the lock ends up being needed, i'll add it back in#asahi-dev · 2022-08-19 21:15
amarioguylemme try without the lock first#asahi-dev · 2022-08-19 21:10
amarioguyalright noted lemme apply the changes now#asahi-dev · 2022-08-19 21:09
amarioguythe probe func in the platform file?#asahi-dev · 2022-08-19 21:08
amarioguyalright removing that#asahi-dev · 2022-08-19 21:08
amarioguyahhhh so adding the lock wasn't necessary#asahi-dev · 2022-08-19 21:07
amarioguygotcha i think that's the major issue here#asahi-dev · 2022-08-19 21:07
amarioguyah lemme try the other way around - i assumed IMASK worked the same as SMSTA where 1 = masked/disabled and 0 = unmasked/enabled#asahi-dev · 2022-08-19 20:31
amarioguyalso getting a call trace every so often#asahi-dev · 2022-08-19 20:30
amarioguyprolly just gonna stick with this one moving forward btw but no guarantees#asahi-dev · 2022-08-19 20:30
amarioguyyes it's a new branch because i didn't feel like rebasing my previous branch lol#asahi-dev · 2022-08-19 20:29
amarioguy(changes here, it's the latest commit - https://github.com/amarioguy/linux/tree/pasemi-i2c-changes)#asahi-dev · 2022-08-19 20:25
amarioguy(the best part is that rcu-torture is casually reminding me that it's starting/ending an episode all the time lol)#asahi-dev · 2022-08-19 20:25
amarioguyalright so i've made further changes to the i2c driver and while asahi linux boots according to the feedback i got last time, i get a kernel oops fairly early on and the boot process is *slow* like many minutes and i'm not even at login screen (i'm suspecting a major interrupt storm)#asahi-dev · 2022-08-16 15:19
amarioguyah perfect#asahi-dev · 2022-08-16 15:03
amarioguybtw a bit confused on something, since i'm placing the completion in the smbus struct how would i be able to complete the action inside the irq handler (i'm not sure if i can pass the smbus struct to the irq handler)#asahi-dev · 2022-08-12 14:22
amarioguyalright makes sense just wanted to make sure of that#asahi-dev · 2022-08-12 14:15
amarioguysven: when locking the i2c bus before unmasking the interrupt do we want to lock a segment or the root adapter?#asahi-dev · 2022-08-04 20:54
amarioguyon i2c irq stuff - just giving a heads up i'll be working on improving the patchset tomorrow (to everyone who sent me comments on the commits, thanks! i got them all, and i'm working on it, just trying to juggle projects here lol)#asahi-dev · 2022-08-03 03:19
amarioguyyou just specify /Volumes/[os install volume name here]#asahi-dev · 2022-08-03 03:19
amarioguyyou don't need to mount it#asahi-dev · 2022-08-03 03:19
amarioguywhen rOS starts#asahi-dev · 2022-08-03 03:18
amarioguyit's already mounted#asahi-dev · 2022-08-03 03:18
amarioguythat just goes on the end of the command#asahi-dev · 2022-08-03 03:18
amarioguyforgot to add you needed to specify --volume /Volumes/[os volume name here]#asahi-dev · 2022-08-03 03:17
amarioguythat is admittedly my bad#asahi-dev · 2022-08-03 03:17
amarioguyalso all macOS installs are mounted under /Volumes already#asahi-dev · 2022-08-03 03:17
amarioguynik875[m] path to m1n1 bin is the path to the m1n1 binary#asahi-dev · 2022-07-30 12:11
amarioguysorry had to reconnect lol it was using my alt username for some reason#asahi-dev · 2022-07-25 23:04
amarioguyah noted, definitely adjusting that#asahi-dev · 2022-07-25 23:02
amarioguypovik: thanks, saw some of them coming in as they were made#asahi-dev · 2022-07-25 22:39
amarioguy(do bear with me lol not the most familiar with linux patch review)#asahi-dev · 2022-07-25 22:34
amarioguyit's just the latest commit, do comb over the changes when you can#asahi-dev · 2022-07-25 22:33
amarioguysven: made a fork (since i can't write to asahilinux/linux directly) and this is the branch containing the changes#asahi-dev · 2022-07-25 22:33
amarioguyhttps://github.com/amarioguy/linux/tree/pasemi-i2c-irq-changes#asahi-dev · 2022-07-25 22:18
amarioguyyea prolly gonna make a branch or smth beforehand lol#asahi-dev · 2022-07-25 21:58
amarioguylol i just realized i actually forgot to set the IRQ mask.. slight facepalm there (i assume it works the same as the SMSTA register where a 0 bit unmasks interrupts?)#asahi-dev · 2022-07-25 21:35
amarioguywill do#asahi-dev · 2022-07-25 21:34
amarioguyalright gotcha, should be on the asahi mailing list soon enough#asahi-dev · 2022-07-25 21:30
amarioguyhow do i submit my changes for review?#asahi-dev · 2022-07-25 21:30
amarioguysven: i looked over my code again and *it seems* for now at least the rough draft of the i2c changes are done for the most part#asahi-dev · 2022-07-15 13:30
amarioguychadmed: gotcha that makes sense#asahi-dev · 2022-07-14 23:17
amarioguyi'll try some more this weekend (sorry for being slow on the i2c stuff btw, my main project's taken a lot of time as is lol)#asahi-dev · 2022-07-14 23:16
amarioguythough i'd need to kinda put the i2c stuff on hold or hand it off to someone else if anyone else wanted to pick it up (I did most the initial work however due to root fs mounting issues i've had trouble actually testing the changes out)#asahi-dev · 2022-07-14 23:16
amarioguyi wouldn't mind doing some work on PSCI with whoever is responsible for that atm#asahi-dev · 2022-07-14 23:05
amarioguyto be clear this is primarily just an idea i have atm, i'm not committed to the idea if there is a reason that it won't fly#asahi-dev · 2022-07-14 23:04
amarioguyotherwise i don't see why the things we would be assigning to an EFI runtime service couldn't also be done using the GXF levels