#asahi · 2021-02-14 15:38
marcane.g. obviously current kernels *have* to break with future devicetrees once I introduce real clock/power drivers and make the UART use those#asahi · 2021-02-14 15:38
marcanclocks/power/iommu especially#asahi · 2021-02-14 15:38
marcanbut I don't think we can really avoid breaking compat with older kernels and newer devicetrees until all those core drivers have stabilized for a bit anyway#asahi · 2021-02-14 15:37
marcanyeah, of course, especially in the longer term#asahi · 2021-02-14 15:36
marcanso as long as the iommu support goes in first, then the dts update in the kernel, the kernel itself would be consistent#asahi · 2021-02-14 15:36
marcanah, but that'd be for using older kernels with newer devicetrees#asahi · 2021-02-14 15:33
marcanarnd: do you have an example of how this can end up breaking compat?#asahi · 2021-02-14 15:33
marcanhm, looks like it's mostly just referencing the iommu from peripherals#asahi · 2021-02-14 15:29
marcanI need to look into how the iommu stuff works for socs... that's going to be coming up pretty soon anyway#asahi · 2021-02-14 15:19
marcanI don't really expect any major dependencies after this; I think the vast majority of drivers that will go in after this point will communicate through existing kernel abstractions#asahi · 2021-02-14 15:17
marcanthe samsung_tty stuff basically stands alone, other than the Kconfig test; but the AIC driver depends on sysreg_apple.h at least#asahi · 2021-02-14 15:15
marcangiven there are some dependencies involved, the first method might make more sense here? though it could be broken up into at least a few semi-independent pieces#asahi · 2021-02-14 15:12
marcanyup, no problem; I wasn't really expecting to make 5.12#asahi · 2021-02-14 12:57
marcanrunning the dt bindings check now and going to grab some dinner :) I'll probably send it a bit later today and defer the nonposted-mmio binding for v3#asahi · 2021-02-14 12:54
marcanI need to check that I didn't miss any review comments, but this should be pretty close to v2: https://github.com/AsahiLinux/linux/tree/upstream-bringup-v2 (cc maz too)#asahi · 2021-02-14 12:53
marcankettenis, arnd: yeah, it's a property of the bus, though potentially any bus#asahi · 2021-02-14 11:14
marcanrobher: I'm not sure where the [non]posted-mmio property should be documented in the DT bindings. the simple-bus definition is part of the spec, not the bindings in the kernel tree... the property is really part of the common address resolution code#asahi · 2021-02-14 08:17
marcanyeah, all good here, thanks for checking :)#asahi · 2021-02-13 15:22
marcanarnd: great! I'll give it a shot :)#asahi · 2021-02-12 18:02
marcanmaz: I actually think I can implement the big.LITTLE penguins entirely in the generic fb logo code, since all that is plumbed into scheduler APIs these days, so you're safe from that patch :)#asahi · 2021-02-12 17:59
marcanoff to sleep; v2 will be out tomorrow evening :)#asahi · 2021-02-12 17:57
marcanI never really intended for this initramfs to be used for anything but trivial tests so I didn't bother with that#asahi · 2021-02-12 17:57
marcanyou can fix that by messing with spawning a getty or whatever, this is all standard linux on embedded system stuff#asahi · 2021-02-12 17:57
marcanas expected then#asahi · 2021-02-12 17:56
marcanlike if you run `cat` I would expect ^D to work but not ^C#asahi · 2021-02-12 17:55
marcanI'm actually kind of surprised it does, given there's no real getty going on here (`can't access tty; job control turned off`)#asahi · 2021-02-12 17:52
marcanprint('--- TTY mode | Quit: CTRL+] | Menu: CTRL+T ---')#asahi · 2021-02-12 17:51
marcanit tells you#asahi · 2021-02-12 17:49
marcanmerged#asahi · 2021-02-12 17:47
marcanhaven't cleared my inbox today yet!#asahi · 2021-02-12 17:47
marcan15 hours ago, cut me some slack :)#asahi · 2021-02-12 17:47
marcanoh I missed that, lol#asahi · 2021-02-12 17:47
marcanthe tty_mode() thing in proxy.py needs to be extended to do bidirectional forwarding, feel free to hack at it if you feel like it#asahi · 2021-02-12 17:46
marcanlike picocom or something#asahi · 2021-02-12 17:46
marcanyes, but you need to quite linux.py and use some normal terminal emulator#asahi · 2021-02-12 17:44
marcan:)#asahi · 2021-02-12 17:42
marcanyou can get rid of keep_bootcon, obviously serial works#asahi · 2021-02-12 17:41
marcanthe file is updated at the URL, I checked#asahi · 2021-02-12 17:40
marcanthat's still the old initramfs#asahi · 2021-02-12 17:31
marcanbut until that point it helps debug#asahi · 2021-02-12 17:31
marcanif you get duplicated logs at the end you can get rid of the keep_bootcon; it means the normal console works#asahi · 2021-02-12 17:30
marcanalso, use -b 'earlycon console=ttySAC0,1500000 console=tty0 debug keep_bootcon'#asahi · 2021-02-12 17:30
marcanthere's some mismatch right now for that branch#asahi · 2021-02-12 17:30
marcanand use apple-j274.dtb from the kernel build tree, not m1n1#asahi · 2021-02-12 17:30
marcantry upstream-bringup-v2-wip#asahi · 2021-02-12 17:29
marcanwhich kernel branch is this? main?#asahi · 2021-02-12 17:29
marcananyway, that aside, it looks like your serial port isn't working. that's probably that stupid bug I fixed the other day.#asahi · 2021-02-12 17:27
marcanGlanzmann: re-download from the same URL#asahi · 2021-02-12 17:27
marcanthat was.... a PS4 initramfs.#asahi · 2021-02-12 17:26
marcanthat is the wrong initramfs