#
#asahi-dev · 2024-09-05 14:13
nickchanmaz: was trying to edit arch/arm64/kernel/cpu_errata.c but I guess not
#asahi-dev · 2024-09-05 13:57
maznickchan: I'd expect something along those lines: https://paste.debian.net/1328522/ (completely untested, of course)
#asahi-dev · 2024-09-05 13:43
mazbut that's beside the point. you can only run 32bit once you reach userspace. so this doesn't need to be an early decision, like the E2H0 is.
#asahi-dev · 2024-09-05 13:43
nickchanhigh powered p-states is ok, low ones aren't
#asahi-dev · 2024-09-05 13:42
nickchanright the issue is basically the core can only exec 32 bit in certain p-states
#asahi-dev · 2024-09-05 13:42
nickchanmaz: cleaner than adding a gross a10 midr check in id_aa64pfr0_32bit_el1 in cpufeature.h
#asahi-dev · 2024-09-05 13:41
mazs/any/and/
#asahi-dev · 2024-09-05 13:41
mazany can't you just treat 32bit EL0 as an erratum or something along those lines? there is no need to do it early, as the prospect of running a 32bit task is pretty far down the boot process.
#asahi-dev · 2024-09-05 13:40
mazin the end, the MIDR-based early override was a wrong good idea, and I addressed the problem differently.
#asahi-dev · 2024-09-05 13:39
maznickchan: cleaner than?
#asahi-dev · 2024-09-05 13:38
nickchanhttps://lore.kernel.org/linux-arm-kernel/20231127114559.990314-11-maz@kernel.org/
#asahi-dev · 2024-09-05 13:37
nickchanmaz: am looking for some cleaner ways to disable 32-bit EL0 for A10, and I think I need to use your MIDR-based override patch
#asahi-dev · 2024-09-02 20:12
kj1243Is it possible to build and test on the m3?
#asahi-dev · 2024-09-02 20:12
kj1243Hi, I just wanted to ask how I can help develop for the m3 mac since i have one
#asahi-dev · 2024-09-02 03:21
nickchanjust don't init when it's not set
#asahi-dev · 2024-09-02 03:21
nickchanAIDR_EL1<2> is the feature bit for state retention
#asahi-dev · 2024-09-02 03:20
nickchanjannau: for cpuidle after checking apple,arm-platform
#asahi-dev · 2024-09-01 16:08
sventhen they’ll hit linux-next
#asahi-dev · 2024-09-01 16:08
sventhe irqchip maintainers will take a look at them and then merge them into their tree if they’re happy
#asahi-dev · 2024-09-01 16:07
sventhey will be eventually
#asahi-dev · 2024-09-01 16:05
nickchanstaged for
#asahi-dev · 2024-09-01 16:05
nickchansven: perhaps the aic patches can be staged linux-next
#asahi-dev · 2024-09-01 15:59
IAmRasputinthat's good to hear, it would be nice for all of this code to eventually live in the mainline tree
#asahi-dev · 2024-09-01 15:57
sventhe commits inside the kernel are usually also small and logically connected changes. that also helps a lot with avoiding issues during merge conflicts
#asahi-dev · 2024-09-01 15:56
svenmost changes are to our local drivers, those usually don’t cause any issues
#asahi-dev · 2024-09-01 15:42
IAmRasputinthe asahi tree in github seems like it's diverged a ton from the upstream tree. Is getting that merged into mainline going to be a nightmare? Or is there some magic process for making that happen without the merge equivalent of a train derailment?
#asahi-dev · 2024-09-01 12:58
nickchanfrom adt mmio and interrupts are also different
#asahi-dev · 2024-09-01 12:55
nickchanlikely need to do some pinmux just like atv4k
#asahi-dev · 2024-09-01 12:54
nickchanpongoOS serial on broken on t2 too, and that probably should be fixed first
#asahi-dev · 2024-09-01 12:54
nickchant2 linux or m1n1 confirmed to not work will need to investigate
#asahi-dev · 2024-09-01 07:55
LarstiQchadmed_: oooh, looking forward to edid
#asahi-dev · 2024-09-01 07:47
chadmed_is sommelier presenting a 1280x720 x11 server to its clients a known issue?
#asahi-dev · 2024-09-01 07:44
chadmed_edid stuff works nicely, both my dell 2721dgfs have builtin profiles which almost perfectly match the display-p3 icc
#asahi-dev · 2024-08-31 19:50
nicolas17"The A11 uses a new second-generation performance controller, which permits the A11 to use all six cores simultaneously, unlike its predecessor the A10."
#asahi-dev · 2024-08-31 19:44
nicolas17chadmed: "Unlike most implementations of big.LITTLE, such as the Snapdragon 820 or Exynos 8890, only one core type can be active at a time, either the high-performance or low-power cores, but not both. Thus, the A10 Fusion appears to software and benchmarks as a dual core chip."
#asahi-dev · 2024-08-31 19:02
nickchanfor tracing on a7-a11 currently im thinking of hijacking a core and use the debug registers to debug the other cores
#asahi-dev · 2024-08-31 15:58
nickchanokay it's res0 at least on the iPhone X
#asahi-dev · 2024-08-31 15:13
nickchanim actually not super sure need to check
#asahi-dev · 2024-08-31 15:10
nickchanremember to clear the bit after testing! otherwise you will get the a7-a11 behavior even on m1
#asahi-dev · 2024-08-31 15:09
nickchanon a7-a11 it is res0
#asahi-dev · 2024-08-31 15:09
nickchanon the asi mac this can be set
#asahi-dev · 2024-08-31 15:09
nickchanthis is the disable wfi retention bits
#asahi-dev · 2024-08-31 15:08
nickchanjannau: you can also do a runtime check by checking whether bit 0 of s3_5_c15_c5_0 is RES0
#asahi-dev · 2024-08-31 15:07
nickchannow because this is a downstream driver
#asahi-dev · 2024-08-31 14:57
nickchanfor difference between s8000 and s8003: midr is different and the chicken bits to be applied is also different
#asahi-dev · 2024-08-31 14:55
nickchanapple,s5l8960x || apple,t7000 || apple,t7001 || apple,s8000 || apple,s8001 || apple,s8003 || apple,t8010 || apple,t8011 || apple,t8012 || apple,t8015
#asahi-dev · 2024-08-31 14:54
nickchanso full list to exclude:
#asahi-dev · 2024-08-31 14:54
nickchanall skus will only been given its own soc-specific compatible and not some compatible of a similar soc as far as soc-based compatibles go
#asahi-dev · 2024-08-31 14:53
nickchangiven that the t6001 machines were not given the t6000 compatibles
#asahi-dev · 2024-08-31 14:50
nickchanand finally apple,t8012 would be for the T2

plus ›