#asahi-dev · 2023-12-28 21:33
jannegI don't think so#asahi-dev · 2023-12-28 21:29
svenis that dp only atcphy still connected to a tipd chip?#asahi-dev · 2023-12-28 21:24
kettenisprobably not the solution you'r looking for#asahi-dev · 2023-12-28 21:23
kettenisright, although in the rk3588 case PCIE and SATA are mutually exclusive#asahi-dev · 2023-12-28 21:20
jannegI think atcphy does already the same. that's used to get usb2, usb3 and dp phys from the single atcphy, see atcphy_xlate()#asahi-dev · 2023-12-28 21:15
kettenissee for example how the "rockchip,rk3588-naneng-combphy" is switched between PCIE and SATA mode for certain boards#asahi-dev · 2023-12-28 21:11
kettenissome SoCs use additional cells in the PHY specification to set the mode#asahi-dev · 2023-12-28 21:07
jannegbut since I have the phy_set_mode call anyway to turn dptx-phy on that was the most abvious hack to make configure atcphy#asahi-dev · 2023-12-28 21:06
jannegnot sure what the best solution for the dp-only phy is. I was also thinking about using the the typec_switch/mux directly to configure atc-phy to dp-only in normal orientation#asahi-dev · 2023-12-28 20:57
svenok, i'll take a look#asahi-dev · 2023-12-28 20:56
jannegI still need to find a better solution for that#asahi-dev · 2023-12-28 20:56
jannegignore the dcp->index that is required for dptx-phy since that has an integrated mux to select the dcp source#asahi-dev · 2023-12-28 20:54
jannegthere is a `phy_set_mode_ext(dptx->atcphy, PHY_MODE_DP, dcp->index);` in dptxep.c#asahi-dev · 2023-12-28 20:53
svenhaven't read that far yet. i've only looked at the atcphy code 'cause i'm merging your changes with my local new code#asahi-dev · 2023-12-28 20:53
jannegcan't we do the mode switching I did from dcp via phy_set_mode() conditionally #asahi-dev · 2023-12-28 20:51
svenok, guess that means we have no other choice than that apple,mode-fixed-dp property :/#asahi-dev · 2023-12-28 20:50
jannegsven: yes, both mac studios use atcphy3 for usb-c (on the first die)#asahi-dev · 2023-12-28 20:45
svenjanneg: just to confirm: atcphy3 is used on e.g. j314 only for dp2hdmi but there are other t600x machines where that same atcphy3 is connected to a regular type c port?#asahi-dev · 2023-12-28 12:52
ketteniscreated a PR with a possible fix for the backlight resume issue#asahi-dev · 2023-12-28 12:51
kettenisthe DPMS issue I reported earlier is gone so I guess one of the commits that changed how modesets were triggered fixed that#asahi-dev · 2023-12-28 12:49
kettenisfully caught up with asahi-wip for the OpenBSD port of the dcp driver now#asahi-dev · 2023-12-27 22:38
jeisomOk. I didn't see anything in the history so I thought I share.#asahi-dev · 2023-12-27 22:34
kettenissince our OSes don't implement PPL, you don't really need to exploit this interesting hardware feature if you want to do something bad#asahi-dev · 2023-12-27 22:29
kettenishttps://securelist.com/operation-triangulation-the-last-hardware-mystery/111669/#asahi-dev · 2023-12-27 22:29
ArcaneNibbleit's been discussed repeatedly heh#asahi-dev · 2023-12-27 22:26
jeisomIDK if this is relevant, but there is an article on Ars about a hardware mmio zero-day exploit for 4 years that affects iPhones and m1 and m2.#asahi-dev · 2023-12-27 11:08
jannegstarting now#asahi-dev · 2023-12-27 10:36
PaulFertserWorth announcing on main non-dev channel probably?#asahi-dev · 2023-12-27 10:09
jannegstream will be here https://streaming.media.ccc.de/37c3/eins#asahi-dev · 2023-12-27 10:07
jannegtalk on how apple silicon usb-c access applies to the iphone 15 in 55 minutes at 37C3: https://events.ccc.de/congress/2023/hub/en/event/apple_s_iphone_15_under_the_c/#asahi-dev · 2023-12-26 23:14
jannegthanks#asahi-dev · 2023-12-26 23:09
vadorovskyjanneg: thanks! it applies to upstream, will send it to the ml then#asahi-dev · 2023-12-26 23:07
jannegvadorovsky: hej, if the patch applies to upstream u-boot please send it to the u-boot ml, if not please create a github pr#asahi-dev · 2023-12-26 23:01
vadorovsky(the patch is just a simple fix to get it building with clang, I'm trying out building asahi-gentoo with llvm+musl :v)#asahi-dev · 2023-12-26 23:00
vadorovskywhere should I send it? to asahi fork on github as a PR or to the upstream gitlab repo?#asahi-dev · 2023-12-26 23:00
vadorovskyhttps://github.com/vadorovsky/u-boot/commit/3d8fc8615b22d42551f65be17351d03a11bff4e9#asahi-dev · 2023-12-26 23:00
vadorovskyhi! quick question - I would like to submit a little patch to u-boot, related to the apple pcie driver#asahi-dev · 2023-12-26 19:20
kettenisso older code with the latest dtb#asahi-dev · 2023-12-26 19:19
kettenisjanneg: ah, thanks, I'm still working on crossing the apple,dma-addr bump#asahi-dev · 2023-12-26 19:00
jannegkettenis: see https://github.com/AsahiLinux/linux/commit/00f0043a5d78919cf14aee3999592b66792115d4#asahi-dev · 2023-12-26 18:58
jannegi.e. we can't have it as reg since it must not be mapped to the second's dies MMIO range via ranges#asahi-dev · 2023-12-26 18:57
jannegthe disp-4 register got moved to "apple,bw-scratch" because it is apple's wisdom always pmgr on die0#asahi-dev · 2023-12-26 18:55
jannegkettenis: or most probably incompatible driver and dtb#asahi-dev · 2023-12-26 18:47
jannegkettenis: I can't remember having seen that ever. which device and OS firmware?#asahi-dev · 2023-12-26 18:21
kettenisare we missing a register region on t600x?#asahi-dev · 2023-12-26 18:21
kettenisjaaneg: dcpep_cb_map_reg *WARNING* attempted to read invalid reg index 4#asahi-dev · 2023-12-26 14:50
kettenisbut there vm-size for dart-disp0 is 0xfffff0000 such that it includes the dcp range#asahi-dev · 2023-12-26 12:43
jannegt8112 make the inconsistency even more obvious, see vm-base for dart-disp0 (0) and dart-dcp (0x800000000)#asahi-dev · 2023-12-26 12:41
jannegthat is already present in the adt. on t8103 it's based on asc-dram-mask in the ADT which only applies to dcp#asahi-dev · 2023-12-26 12:33
kettenisbut on t8103 for example, the apple,dma-range windows of those two DARTs do not overlap