#
✕ nick:marcan
#asahi · 2021-02-16 17:28
marcanassuming there aren't feature bits
#asahi · 2021-02-16 17:28
marcanhmm... in that case I guess we're back to looking at the apple,arm-platform compatible for any non-DT-instantiated proprietary stuff, if we want to make kvm's life easy
#asahi · 2021-02-16 17:27
marcanmodwizcode: I brute-forced all the registers, found nothing
#asahi · 2021-02-16 17:27
marcanmaz: what's the policy for MIDR values for kvm guests?
#asahi · 2021-02-16 17:26
marcanif they cared about sensible design they'd have had a damn FIQ status/mask register
#asahi · 2021-02-16 17:26
marcanwe know they're not allergic to those
#asahi · 2021-02-16 17:26
marcanalso probably, with a pile of hacks
#asahi · 2021-02-16 17:26
marcanprobably vGIC, given that they have one, but I wonder too
#asahi · 2021-02-16 17:25
marcanthis needs more discussion and I don't know what specific policy there is here for kvm but... on the face of it, if you're going to claim to be an M1, you ought to be implementing all the M1 vendor regs; at the *very* least all the userspace-visible ones, and PMCs can be made userspace-visible, and those can deliver FIQs, soooo :-)
#asahi · 2021-02-16 17:24
marcansince there's a bunch of proprietary stuff in system registers which is arguably tied to the CPU type
#asahi · 2021-02-16 17:24
marcanand also, given the way FIQs work on these things, you'd better implement them if you're going to claim you're these CPUs by ID
#asahi · 2021-02-16 17:22
marcaneither way, as maz said we're probably changing this anyway
#asahi · 2021-02-16 17:22
marcanyeah, but the panic on fiq thing is presumably largely there so we find out when some system is delivering FIQs when it shouldn't; the specific case of a GIC-based VM on M1 is a pretty small subset of that :)
#asahi · 2021-02-16 17:20
marcanthis is all pretty hypothetical :)
#asahi · 2021-02-16 17:19
marcanA VM would be using GIC anyway, so if it asks for a group-0 interrupt, it would get one... and end up at the handler anyway... but it wouldn't ask for one...
#asahi · 2021-02-16 15:57
marcancc rwhitby :)
#asahi · 2021-02-16 15:56
marcanI have a bunch of ideas but nothing concrete written down, so a lot of the beginning will be sketching out the details of the architecture and specific parts used
#asahi · 2021-02-16 15:56
marcanTomorrow at 2PM JST, I'm going to start working on that USB-PD/serial interface thing: https://www.youtube.com/watch?v=1zuULubtdQk (scheduled)
#asahi · 2021-02-16 08:58
marcanGaelan: saw it on twitter :)
#asahi · 2021-02-16 07:53
marcanthat would make sense I'd say - it powers on the nvme when you wake up the computer, and powers it down when it goes into sleep mode, and short wakes do not count
#asahi · 2021-02-16 07:52
marcanand so usage periods <1hr before a sleep event are not counted
#asahi · 2021-02-16 07:52
marcanit's also possible the thing is literally counting integer hours
#asahi · 2021-02-16 07:52
marcanbut maybe certain sleep modes do not count towards power on hours, but do not count as a power cycle
#asahi · 2021-02-16 07:51
marcanthough 216 power cycles seems low for that
#asahi · 2021-02-16 07:51
marcanthe way mobile devices get non-terrible battery life is by aggressively putting everything into low power mode when not in use
#asahi · 2021-02-16 07:50
marcanGlanzmann: it's probably sleep mode, yes
#asahi · 2021-02-16 04:13
marcanirradiated_lemmi: the wiki is deliberately open; if abuse becomes a problem we'll figure out what to do about it
#asahi · 2021-02-15 18:14
marcanarnd: good to know :)
#asahi · 2021-02-15 16:32
marcanI'm not happy with having to touch sparc in there...
#asahi · 2021-02-15 16:28
marcanso only sparc64 doesn't use any of the generic headers, weirdly enough
#asahi · 2021-02-15 16:24
marcanah, okay, figured it out
#asahi · 2021-02-15 16:22
marcanthis looks somewhat broken already...
#asahi · 2021-02-15 16:16
marcans/k/c
#asahi · 2021-02-15 16:16
marcanoh, sparc64 does not, spark32 does. bizarre...
#asahi · 2021-02-15 16:14
marcannor do alpha, hexagon, parisc, sh, sparc either. huh.
#asahi · 2021-02-15 16:13
marcanTIL that mips does not include the generic io.h...
#asahi · 2021-02-15 15:52
marcanthat's a good one indeed
#asahi · 2021-02-15 15:52
marcanah yeah, github has a bunch of neat poorly documented tricks like that
#asahi · 2021-02-15 15:27
marcanfeedback so far is in https://github.com/AsahiLinux/linux/tree/upstream-bringup-v3
#asahi · 2021-02-15 15:22
marcanarnd, kettenis: we don't need the baud rate, the driver knows how to keep it. I just removed it.
#asahi · 2021-02-15 15:15
marcanmodwizcode: v2 was CCed to 13 people fwiw, not counting myself or mailing lists
#asahi · 2021-02-15 14:31
marcanI'll check to see if I can make it just keep the existing baud rate, and switch to 115200 otherwise
#asahi · 2021-02-15 13:50
marcanfor inline replies trimming is kind of implied, no?
#asahi · 2021-02-15 13:50
marcanno inline replies?
#asahi · 2021-02-15 13:48
marcanI use thunderbird myself fwiw
#asahi · 2021-02-15 13:48
marcanah, didn't know that. neat.
#asahi · 2021-02-15 13:38
marcan(sorry for the newbie questions)
#asahi · 2021-02-15 13:14
marcane.g. the simplefb change is only a change to the binding (documenting already supported modes and adding a compatible), but sending the entire series to everyone involved in fb/drm seems excessive for that? I don't really know how this usually goes
#asahi · 2021-02-15 13:12
marcanarnd: is there a good way to map out who needs to be CCed from get_maintainers output? or just everyone? (that's a lot of people)
#asahi · 2021-02-15 13:10
marcanah, right

plus ›