#
✕ nick:nickchan
#asahi-dev · 2024-10-10 13:34
nickchanokay wait it is also used for affinities
#asahi-dev · 2024-10-10 13:24
nickchanmaybe it is fine if I just if the warning on !use_fast_ipi
#asahi-dev · 2024-10-10 13:24
nickchanIn fact the warning is only there for AIC version 1
#asahi-dev · 2024-10-10 13:23
nickchanthe system i am talking about is fast ipi capable
#asahi-dev · 2024-10-10 13:23
nickchanonly in slow ipi aic gets the logical cpu id
#asahi-dev · 2024-10-10 13:23
nickchanin fast ipi aic gets a value based on the cpu mpidr
#asahi-dev · 2024-10-10 13:21
nickchanI looked at the aic drivers again it seems the mismatch only mattered if slow ipi is being used
#asahi-dev · 2024-10-10 13:19
nickchanall I need is a mapping between AIC_WHOAMI and smp_processor_id
#asahi-dev · 2024-10-10 13:18
nickchanokay i think a10 wouldn't explode yet
#asahi-dev · 2024-10-10 12:56
nickchanokay, not right now because cpufreq doesn't exist
#asahi-dev · 2024-10-10 12:53
nickchanso I guess I need to add another hack
#asahi-dev · 2024-10-10 12:53
nickchanmaz: if i fix this then a10 would explode
#asahi-dev · 2024-10-10 12:38
nickchanwhich causes issues
#asahi-dev · 2024-10-10 12:38
nickchanthe kernel always believes it boots on cpu0
#asahi-dev · 2024-10-10 12:38
nickchannot sure how to resolve it though
#asahi-dev · 2024-10-10 12:38
nickchanI am running into this warning because the system boots on CPU4 (pcluster core 0)
#asahi-dev · 2024-10-10 12:37
nickchanhttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/irqchip/irq-apple-aic.c#n865
#asahi-dev · 2024-10-08 08:32
nickchanso what I see is XNU set the bit to avoid problems but when doing cache maintanence unset it, do the instructions, then set it again
#asahi-dev · 2024-10-08 08:32
nickchanBut cache maintenance on a7 needs the bit unset it
#asahi-dev · 2024-10-08 08:31
nickchanso it is more likely that something is going to be broken without the bit set
#asahi-dev · 2024-10-08 08:30
nickchanmaz: these bits are set by xnu on every core as well even on a7
#asahi-dev · 2024-10-08 05:59
nickchanon all cores
#asahi-dev · 2024-10-08 05:58
nickchanmarcan: so... why is HID4_DISABLE_DC_MVA set by default anyways
#asahi-dev · 2024-10-08 05:36
nickchanin summary: dc cvac does nothing and dc civac does nothing unless a bit in a register is flipped
#asahi-dev · 2024-10-08 05:29
nickchanI *don't* think this needs a workaround in linux yet
#asahi-dev · 2024-10-08 05:18
nickchanI wish
#asahi-dev · 2024-10-08 05:18
nickchan> Cyclone UM 5.3.8.3
#asahi-dev · 2024-10-08 05:18
nickchanhttps://github.com/asdfugil/m1n1-idevice/blob/dddc18bca071fd98dd47ec6f63c7ca042f5007a1/src/utils.c#L213
#asahi-dev · 2024-10-08 04:58
nickchannot just at init
#asahi-dev · 2024-10-08 04:58
nickchanthat needs runtime tunable flipping
#asahi-dev · 2024-10-08 04:57
nickchanokay yeah it's an erratum
#asahi-dev · 2024-10-08 04:38
nickchana lot of corellium-isms turns out to be required... on these old cores
#asahi-dev · 2024-10-08 02:41
nickchancurrently dealing with some cache issues on A7 that might be a Cyclone erratum...
#asahi-dev · 2024-10-07 06:59
nickchanthe new way to split device trees should ease adding more nodes in the future
#asahi-dev · 2024-10-07 06:58
nickchannow the a7-a11 pmgr stuff is figured out downstream I will give the device tree series another spin today
#asahi-dev · 2024-10-02 16:47
nickchanit is uart6
#asahi-dev · 2024-10-02 16:47
nickchanApple TV HD debug console is *not* uart0
#asahi-dev · 2024-10-02 16:47
nickchanfun
#asahi-dev · 2024-10-02 06:40
nickchanwouldn't want to declare it until something else in the dt needs it
#asahi-dev · 2024-10-02 06:40
nickchantoo cursed to declare it now
#asahi-dev · 2024-10-02 06:40
nickchanam also thinking of stripping cpu-map from the A11 device tree
#asahi-dev · 2024-10-01 17:09
nickchanso it will include the base SoC dtsi directly, anyways
#asahi-dev · 2024-10-01 17:09
nickchanand there is only one Apple TV for the SoC that have it
#asahi-dev · 2024-10-01 17:09
nickchanbut then it does not matter since apple tv is defintiely not an handheld
#asahi-dev · 2024-10-01 17:08
nickchanchaos_princess: is apple tv a desktop ?
#asahi-dev · 2024-10-01 17:06
nickchanwell it does not really matter, t7000-iphone-ipad-ipod.dtsi it is then
#asahi-dev · 2024-10-01 17:06
nickchanfor each soc probably want a common dtsi for iphone ipad and ipod not sure what to name it though
#asahi-dev · 2024-10-01 17:03
nickchanespecially the framebuffer the power domains for the framebuffer on Apple TV is not going to be the same as the one on iPhone
#asahi-dev · 2024-10-01 17:03
nickchanbut namely framebuffer memory and reserved-memory does not go into the SoC dtsi
#asahi-dev · 2024-10-01 17:02
nickchanafter looking into a7-a11 devices some more I probably want to split the device trees in a different way, so a v6 is happening

plus ›