#
✕ nick:marcan
#asahi-re · 2021-01-25 18:58
marcanthat register does not even exist any more
#asahi-re · 2021-01-25 18:58
marcanon stream I said we didn't need any of that migration stuff on this chip
#asahi-re · 2021-01-25 18:42
marcanfor M1 type stuff with both clusters on at once
#asahi-re · 2021-01-25 18:42
marcanlinux can just randomly decide to schedule a process on a different core at any time
#asahi-re · 2021-01-25 18:41
marcanthe migration stuff is necessary for the socs with mutually-exclusive cores
#asahi-re · 2021-01-25 18:41
marcanthere is no need for hardware assistance
#asahi-re · 2021-01-25 18:41
marcanthe scheduler can just do it
#asahi-re · 2021-01-25 18:41
marcandavidrysk[m]: but the cores run in parallel
#asahi-re · 2021-01-23 15:30
marcanhthh_: alyssa says your approach sounds good, just one thing (PM)
#asahi-re · 2021-01-23 05:21
marcanI've asked Alyssa what she thinks about this approach
#asahi-re · 2021-01-23 05:21
marcan(code, I mean)
#asahi-re · 2021-01-23 05:21
marcanthis does mean that you should stay on that side of the clean room, so no contributing to Mesa please :)
#asahi-re · 2021-01-23 05:20
marcanfor long-form register names, I would encourage you to make up your own interpretation about what they do and use that name
#asahi-re · 2021-01-23 05:19
marcanthings like uX / srX are not a problem
#asahi-re · 2021-01-23 05:19
marcanregister names are OK
#asahi-re · 2021-01-23 05:03
marcanalyssa has been doing this completely black-box up to this point, without any internal APIs; we ban outright decompilation of the GPU stack because it's just not needed; using internal APIs to get more information about the ISA is more of a grey area, but if it goes through clean-room docs that should be fine. let's keep it that way.
#asahi-re · 2021-01-23 05:01
marcanbut if LLVMisms from Apple's implementation leak into the docs, that can taint them
#asahi-re · 2021-01-23 05:00
marcanas long as you write clean docs that we can use to write a clean-room implementation, this is valuable work
#asahi-re · 2021-01-23 05:00
marcanhthh_: make sure the documentation strictly documents the instructions, and not anything about what llvm does
#asahi-re · 2021-01-22 16:25
marcanwith the appropriate register saving
#asahi-re · 2021-01-22 16:25
marcanthen in a cpuidle driver, when we need to go into deeper sleep, flip the bit, wfi, flip back
#asahi-re · 2021-01-22 16:25
marcanset the register to only clockgate on wfi
#asahi-re · 2021-01-22 16:24
marcanagraf suggested this too
#asahi-re · 2021-01-22 16:24
marcanI already told never_released that we should go that way
#asahi-re · 2021-01-22 16:24
marcanBluerise: this is why there is a register for this
#asahi-re · 2021-01-18 19:42
marcanit's not an x86 CPU
#asahi-re · 2021-01-18 19:42
marcanno, how would that work?
#asahi-re · 2021-01-18 17:58
marcanwe're starting fresh (and we will keep up with upstream) so we won't have to deal with that mess
#asahi-re · 2021-01-18 17:58
marcanrebasing after being out of date by so much takes forever
#asahi-re · 2021-01-18 17:58
marcanthey're based on some ancient kernel, because they've made no effort to keep up with upstream
#asahi-re · 2021-01-18 17:57
marcanmodwizcode: it makes core changes to the irq subsystem
#asahi-re · 2021-01-18 17:31
marcanguess there's no way in hell they get anything submitted this week
#asahi-re · 2021-01-18 17:31
marcan:-)
#asahi-re · 2021-01-18 17:31
marcanshit like that is why they're going to have a horrible time upstreaming anything
#asahi-re · 2021-01-18 17:31
marcanhttps://lwn.net/Articles/820949/ :D
#asahi-re · 2021-01-18 17:27
marcanwhich requires going through intial setup to establish such credentials
#asahi-re · 2021-01-18 17:27
marcanyou need to use kmutil, which requires credentials for the existing macos partition
#asahi-re · 2021-01-18 17:27
marcancurrently, at least
#asahi-re · 2021-01-18 17:27
marcanyou cannot actually do anything without agreeing to the license
#asahi-re · 2021-01-18 17:02
marcanit pretty much depends on what you want to do. maybe stick around and watch for a bit and see if anything strikes your fancy?
#asahi-re · 2021-01-18 07:09
marcan(since ultimately I have to sign off on anything we upstream, I have to have such a rule to be confident in what I'm signing off on)
#asahi-re · 2021-01-18 07:08
marcan(we only have exceptions for a few people; this is for our protection because it is very easy to get this wrong and accidentally infringe copyright, and there is no good way to know that people approach this properly other than preexisting trust)
#asahi-re · 2021-01-18 07:07
marcanwookey: just keep in mind that we currently ban writing code while doing binary RE, so if you intend to do the latter you need to document your findings and let someone else write the code
#asahi-re · 2021-01-16 20:59
marcannor do we
#asahi-re · 2021-01-16 20:59
marcanasmon[m]: please just stop talking here until you fix the problem, we really can't help you
#asahi-re · 2021-01-16 20:58
marcanbut yeah the AP_BOOT_MODE thing is the not-1TR error
#asahi-re · 2021-01-16 20:58
marcanBluerise: so this is dumb but maybe try doing it on the other macos partition
#asahi-re · 2021-01-16 20:58
marcandon't ask about that here please
#asahi-re · 2021-01-16 20:58
marcanasmon[m]: please fix your networking, the repetition is a problem
#asahi-re · 2021-01-16 20:57
marcanBluerise: oh right, I heard there may be a bug

plus ›