#
…

2022-07-31

00:35chadmed_ has joined #asahi-alt
00:37chadmed_ has quit []
00:37chadmed_ has joined #asahi-alt
00:37chadmed_ has quit [Remote host closed the connection]
00:38chadmed_ has joined #asahi-alt
00:43Manouchehri_ has joined #asahi-alt
00:43alethkit_ has joined #asahi-alt
00:43tsujp_ has joined #asahi-alt
00:43d4ve_ has joined #asahi-alt
00:43_alice_ has joined #asahi-alt
00:46alethkit has quit [synthon.oftc.net larich.oftc.net]
00:46d4ve has quit [synthon.oftc.net larich.oftc.net]
00:46tsujp has quit [synthon.oftc.net larich.oftc.net]
00:46Manouchehri has quit [synthon.oftc.net larich.oftc.net]
00:46tpw_rules has quit [synthon.oftc.net larich.oftc.net]
00:46_alice has quit [synthon.oftc.net larich.oftc.net]
00:47d4ve_ is now known as d4ve
00:47alethkit_ is now known as alethkit
00:49tpw_rules has joined #asahi-alt
01:49chadmed_ has quit [Quit: Konversation terminated!]
02:43amwGlanzmann: I'm guessing the sven patch is 047108dcf191 : iommu/io-pgtable: Add DART PTE support for t6000
02:48amwAlso trying to understand the page support we have grep -e 'ARM64_.*K_PAGES'
02:48amw/boot/config-5.18.0-asahi-00002-g6ebad5e5a0ca:CONFIG_ARM64_4K_PAGES=y
02:48amw/boot/config-5.18.0-asahi-00002-g6ebad5e5a0ca:CONFIG_ARM64_4K_PAGES=y
02:48amw/boot/config-5.19.0-rc7-asahi:CONFIG_ARM64_4K_PAGES=y
02:49amwconfig-2022-07-19-16k.txt => CONFIG_ARM64_16K_PAGES=y
02:49amwstock-asahi-config.txt => CONFIG_ARM64_16K_PAGES=y also
02:50amwYes your latest m1-debian kernel has 4K pages and is missing that iommu patch - not sure what the other trade offs are of different page sizes
02:53mini0n has joined #asahi-alt
03:19chadmedthe 4K pages allow broken programs to work at the cost of severely reduced performance
03:19amwchadmed: So good if you can skip it for your system
03:20chadmedyou can skip them on every system
03:21chadmedthe SoC and DARTs are all 16K aligned natively and almost all software built for aarch64 works properly without the patches
03:22chadmedthe patches are only useful if youre using fex/box{86,64} or you use a ton of electron crap that never gets updated (electron works with 16k pages as of a recent version)
03:23amwok - thanks I think I'll drop the 4k and see if my WiFi starts working again...
03:24chadmedif youre building your own kernel it's probably best to start with the stock asahi config and make sure that works before you start ripping stuff out you think you wont need
03:41amwI'm working from Glanzmann's base -> so I'll start ripping things out of that - I think the 4k page patch wasn't working for me some how
04:05amwGlanzmann: Removing the build/linux directory and rebuilding fresh works !
04:07amwI think the iommu patch failed to applied - because the build kernel didn't have the -g41547 suffix
04:07chadmedwhat version of the kernel are you working off
04:08amwI think it failed to apply because it wasn't a fresh checkout and some how that broke the patch - which was hidden in the script?
04:09amwIt is github.com/AsahiLinux/linux -b asahi with 3 patches (including 4k-iommu)
04:11chadmedwhat are the other patches
04:12amwjust disble Read message crc mismatch in spi hid apple driver
04:13chadmedyeah cool ok
04:13chadmedi dont think dirty builds append the commit anymore fwiw
04:13chadmeditll be your custom tag with a + next to it
04:13chadmede.g. i have 5.19.0-rc7-asahi-clang+
04:13chadmedbecause i applied some patches to the devicetrees
04:14chadmedbesides if all your software works fine with 16K pages just dont apply the 4K patch
04:15amwYep - thinking of doing another one with that patch switched off and switch to 16K
04:23amwUmm it looks like the -g42547d6c5 is generated by scm_version() in linux/scripts/setlocalversion to the -g + 12 digits of the git hash if it is not an exact -rcN version
04:24amwSo yep I think some how I lost the 4K iommu patch et al patches now to build the plain with out 4k!
04:31chadmed has quit [Quit: Konversation terminated!]
04:45chadmed has joined #asahi-alt
05:05amwYep - switching to 4K pages and dropping the iommu patch and WiFi works fine!
05:15_alice_ is now known as _alice
05:19mini0n has quit []
07:16amwGlanzmann: Do you have any idea if Debian bookworm will support M1 hardware?
08:32chadmed has quit [Quit: Konversation terminated!]
14:09mini0n has joined #asahi-alt
17:43mini0n has quit []
18:30mini0n has joined #asahi-alt
18:47mini0n has quit []
23:07mini0n has joined #asahi-alt
…