#
✕ nick:sven
#asahi-dev · 2022-04-19 11:00
svenj`ey: uhh.. i'm a bit confused. tunable->{offset,size} should be u32 and tunable_info->reg_size is size_t and unsigned as well.
#asahi-dev · 2022-04-19 10:23
svenj`ey: huh, let me fix that
#asahi-dev · 2022-04-19 10:23
svenDcow: thunderbolt
#asahi-dev · 2022-04-19 10:23
svenim just annoyed I have to write another converter and can’t just reuse the one that already exists
#asahi-dev · 2022-04-19 10:22
svenmarcan: yes, that already happens for the atcphy ones
#asahi-dev · 2022-04-19 10:00
svenin other news, acio ofc has another tunable format compared to atcphy *sigh*
#asahi-dev · 2022-04-19 09:37
svenyeah, just dt-bindings and SART/rtkit now :)
#asahi-dev · 2022-04-19 07:44
svensounds like we have the same dell display :D
#asahi-dev · 2022-04-18 16:52
svensounds like it’s a good way to grow that skillset then ;)
#asahi-dev · 2022-04-18 16:40
sventhat pdf you linked is not related to what apple calls SMMU
#asahi-dev · 2022-04-18 16:38
svendon’t bother, it just has the same name
#asahi-dev · 2022-04-18 15:59
sven:/
#asahi-dev · 2022-04-18 15:58
svenand trad/bulk is that weird usb thing iirc (two darts where half of the transaction go through the first and the others to the second but the boundary didn’t make any sense)
#asahi-dev · 2022-04-18 15:57
svenSMMU was that weird thing where you could see something like the cache in the MMIO
#asahi-dev · 2022-04-18 15:47
svenmaybe it’s the same hack used for usb but with six instead of two darts :D
#asahi-dev · 2022-04-18 15:44
svena ton of dart instances? Wtf did they do there?!
#asahi-dev · 2022-04-18 15:08
svenunless you're playing around with thunderbolt it'll be asc
#asahi-dev · 2022-04-18 12:49
svensomeone should merge them
#asahi-dev · 2022-04-18 12:49
svenunfortunately it’s separate from the regular one :(
#asahi-dev · 2022-04-18 12:49
svenit’s been merged recently I think
#asahi-dev · 2022-04-18 12:03
sven:/
#asahi-dev · 2022-04-18 11:47
sven^--
#asahi-dev · 2022-04-18 11:45
sven64+32 bit actually, but both read/written with a 64bit read/write
#asahi-dev · 2022-04-18 11:45
svenwell, actually 1x 64bit and 1x 42bit or or so + some status bits so that it's a 64bit read anyway
#asahi-dev · 2022-04-18 11:44
sven8 bytes is probably a good assumption
#asahi-dev · 2022-04-18 11:44
svenmy memory's a bit fuzzy, but I think the HW requires 64bit reads/writes to advance the FIFO.
#asahi-dev · 2022-04-18 11:40
svenwouldn't surprise me if there's a _third_ way to start these things
#asahi-dev · 2022-04-18 11:39
svenor maybe just trace whatever macos does
#asahi-dev · 2022-04-18 11:39
svenpovik: maybe it needs to be brought up with the same message like SMC?
#asahi-dev · 2022-04-18 11:38
svenmillenialhacker: start with an empty regmap and add registers when you figure them out. that's usually how those are created
#asahi-dev · 2022-04-17 17:20
svenAt least you can file radars about bugs ;)
#asahi-dev · 2022-04-17 17:19
sventhe diskutil UI is pretty confusing. It’s probably meant for the average mac user which leads to some weird trade offs
#asahi-dev · 2022-04-17 16:53
sven~70-80gb should work
#asahi-dev · 2022-04-17 16:53
sveniirc I had the same issue with 50gb, it worked for a while and then failed sometime in the process
#asahi-dev · 2022-04-16 22:43
svenah! this should also be in -re please
#asahi-dev · 2022-04-16 22:43
svensure, but how does that relate to i2c?
#asahi-dev · 2022-04-16 22:40
svenwhat makes you think i2c?
#asahi-dev · 2022-04-16 22:39
svenpretty sure we would’ve seen the camera already if it was on the pcie bus
#asahi-dev · 2022-04-16 22:38
svendart is also used for just about every other device than can DMA
#asahi-dev · 2022-04-16 22:13
svenso any DMA transaction from a pcie device uses the page tables configured inside dart to get the actual physical address
#asahi-dev · 2022-04-16 22:12
svendart is the iommu for any pcie device
#asahi-dev · 2022-04-16 09:08
sventhe mac will run xnu under that HV and the other machine will be used to control the HV
#asahi-dev · 2022-04-16 09:08
svenyes
#asahi-dev · 2022-04-16 08:39
svenhttps://lore.kernel.org/linux-nvme/20220415142055.30873-1-sven@svenpeter.dev/T/
#asahi-dev · 2022-04-16 08:38
svensure
#asahi-dev · 2022-04-15 15:25
sven:D
#asahi-dev · 2022-04-15 14:40
svenand that's probably also the only thing where it's actually used (drivers/dma/bcm-sba-raid.c)
#asahi-dev · 2022-04-15 14:39
svenah, true
#asahi-dev · 2022-04-15 14:37
sven*poll* data makes a lot of sense, but ugh
#asahi-dev · 2022-04-15 14:37
svenyeah, that's what makes it so weird

plus ›