#
#asahi-dev · 2022-11-30 21:50
svennice!
#asahi-dev · 2022-11-30 21:50
jannausven: already started working on that
#asahi-dev · 2022-11-30 21:49
svenjannau: I think it's just easier to use I2CRegMapTracer tbh. this tree has still all my old very hacky dcpext tracing before I cleaned that up
#asahi-dev · 2022-11-30 21:49
amarioguy2sven: have fun dealing with the untracked stuff :D
#asahi-dev · 2022-11-30 21:48
svenuh oh
#asahi-dev · 2022-11-30 21:48
sven1890
#asahi-dev · 2022-11-30 21:48
sven$ git diff --cached | wc -l
#asahi-dev · 2022-11-30 21:46
svenhuh, do I have some stray commit in that tree somehow
#asahi-dev · 2022-11-30 21:45
svenmaybe we should just use povik's I2CRegMapTracer. that thing seems to have the best chance of working correctly ;)
#asahi-dev · 2022-11-30 21:45
jannaumissing I2CTransactionMode
#asahi-dev · 2022-11-30 21:44
svenhttps://github.com/AsahiLinux/m1n1/blob/main/proxyclient/m1n1/trace/i2c.py
#asahi-dev · 2022-11-30 21:44
svenuh
#asahi-dev · 2022-11-30 21:44
svenhuh
#asahi-dev · 2022-11-30 21:44
jannausven: missing m1n1.trace.i2c (and m1n1.hw.atc_dpxbar which looks unused)
#asahi-dev · 2022-11-30 21:42
povikyou probably want zero there then
#asahi-dev · 2022-11-30 21:42
svenah. I don't think tps has that
#asahi-dev · 2022-11-30 21:42
povik(if there's one)
#asahi-dev · 2022-11-30 21:42
povikthe register that switches pages
#asahi-dev · 2022-11-30 21:41
svenwhat's a page register?
#asahi-dev · 2022-11-30 21:41
povik^ should probably be a comment somewhere
#asahi-dev · 2022-11-30 21:41
povikfirst number is the number of adress bytes in page register, second the number of address bytes sent with each transactions
#asahi-dev · 2022-11-30 21:40
svencouldn't immediately figure out what ADDRESSING means and then just did the raw transactions myself
#asahi-dev · 2022-11-30 21:39
svenI think it actually was I2CRegMapDev
#asahi-dev · 2022-11-30 21:38
povikhah
#asahi-dev · 2022-11-30 21:38
svenhrm, i think i tried that I2CRegMapTracer at some point but it wouldn't work correctly for the tps chip and I was too lazy to figure out why
#asahi-dev · 2022-11-30 21:38
jannauI count at least 3. I think hv/trace_tps6598x.py is written by me but I only a vague recollection of it. maybe author names in copyright notices are useful
#asahi-dev · 2022-11-30 21:37
povik(let me plug I2CRegMapTracer if you are going to write yet another one)
#asahi-dev · 2022-11-30 21:35
svenhow many untracked tps tracer do we have :D
#asahi-dev · 2022-11-30 21:35
svenlol
#asahi-dev · 2022-11-30 21:35
jannauno, untracked file my tree
#asahi-dev · 2022-11-30 21:34
svenI just found that uncommited trace_tps.py
#asahi-dev · 2022-11-30 21:34
svenhuh, does that exist?
#asahi-dev · 2022-11-30 21:33
jannauhmm, did I miss hv/trace_tps6598x.py
#asahi-dev · 2022-11-30 21:32
svenmight also get things slightly wrong
#asahi-dev · 2022-11-30 21:32
svenjannau: https://f.svpe.de/c3d0e0a630b9e3efca96b58f1c108a73ad54c8023009b38648a56d196433789d_trace_tps.py no idea if that's any better than the hv.py hack
#asahi-dev · 2022-11-30 21:32
jannauit worked to some degree but I wouldn't rule out that got things slightly wrong
#asahi-dev · 2022-11-30 21:30
svenlet me check if I have something else in my local tree
#asahi-dev · 2022-11-30 21:30
svenhm... i vaguely remember tracing it, so maybe that hack works?
#asahi-dev · 2022-11-30 21:29
jannausven: do you have an i2c/smbus tracer? I still have a hack directly integrated in hv.py but I can't remember if it was broken or not
#asahi-dev · 2022-11-30 21:15
svenmarcan: https://github.com/AsahiLinux/linux/commits/atcphc-20221130 should fix any conflicts once you rebase on torvald's tree with the dwc3 race and some of the tipd stuff fixed. the old role switch quirk and atcphy stuff won't apply cleanly anymore otherwise
#asahi-dev · 2022-11-30 20:54
amarioguy2anyways my bad for bringing that up
#asahi-dev · 2022-11-30 20:53
amarioguy2...side note i really need to stop bringing up ideas that are 99% certain to not ever happen moving forward...
#asahi-dev · 2022-11-30 20:33
amarioguy2puts that idea on ice
#asahi-dev · 2022-11-30 20:33
amarioguy2again tho definitely no motivation to move away from DT atm so...
#asahi-dev · 2022-11-30 20:33
amarioguy2believe that table has an enum for irqchips
#asahi-dev · 2022-11-30 20:32
amarioguy2chaosprincess: there *is* the CSRT table
#asahi-dev · 2022-11-30 20:31
amarioguy2obviously i'm not saying that it should happen or even that it will lol
#asahi-dev · 2022-11-30 20:31
amarioguy2re acpi - meant it more in a hypothetical sense like if it were to ever happen for whatever reason
#asahi-dev · 2022-11-30 19:41
svenacpi really is the smallest problem even for that
#asahi-dev · 2022-11-30 19:35
Tramtristgood ol winders

plus ›