#
✕ nick:modwizcode
#asahi-dev · 2021-01-31 05:39
modwizcodenight all
#asahi-dev · 2021-01-31 05:39
modwizcodeAnyway I better get to bed before someone gets mad at me
#asahi-dev · 2021-01-31 05:37
modwizcodeI used to sort of know it when I was reversing wii stuff
#asahi-dev · 2021-01-31 05:37
modwizcode*er each subop
#asahi-dev · 2021-01-31 05:37
modwizcodeThe documents have a sort of saneness as to what each register mean
#asahi-dev · 2021-01-31 05:37
modwizcodeNo I like that version!
#asahi-dev · 2021-01-31 05:31
modwizcodeexample of horrible arm instruction "tlbi vmalls12e1is"
#asahi-dev · 2021-01-31 05:28
modwizcodeoh interesting
#asahi-dev · 2021-01-31 05:27
modwizcodeLOL. did you see my question about the SYS_CYC_OVRD bits? I'm guessing CYC refers to cyclone, but what's the deal with those and IRQs?
#asahi-dev · 2021-01-31 05:26
modwizcodeI wonder if not poking these bits at all would leave you with a functional core enough to work around it
#asahi-dev · 2021-01-31 05:25
modwizcodehmm maybe I'm not enough aware of those yet
#asahi-dev · 2021-01-31 05:25
modwizcodeI mean also though I wonder how much of this complexity the typical arm core even has.
#asahi-dev · 2021-01-31 05:24
modwizcodeYeah that's interesting
#asahi-dev · 2021-01-31 05:24
modwizcodeI know that all cpus are like this, but knowing what's going to be broken ahead of time is a skill.
#asahi-dev · 2021-01-31 05:23
modwizcodeTo understand them completely with how much tweaking can be done at a microarchitectural level. Like I said I'm sort of in awe that they had the foresight to have so many of these be tweakable.
#asahi-dev · 2021-01-31 05:23
modwizcodeYeah it's basically impossible I think
#asahi-dev · 2021-01-31 05:22
modwizcodethat's amazing
#asahi-dev · 2021-01-31 05:14
modwizcodealso is ther eany more details about what SYS_CYC_OVRD does? From m1n1 it seems like it masks interrupts somehow? Why do they have a second place to mask interrupts?
#asahi-dev · 2021-01-31 05:13
modwizcodeI don't know how to interpret that but I'll take it
#asahi-dev · 2021-01-31 05:12
modwizcodemarcan: do the barriers you added before print_regs calls have visible effects?
#asahi-dev · 2021-01-31 05:11
modwizcodeARMs docs also do something I find really insufferable which is instead of documenting how enabling one bit that affects others does it, it documents in every other bit how that bit is affected. Which spreads out the meaning of things like the E2H bit into everything. The best part is the E2H bit documentation says "See E2H bit for more details"
#asahi-dev · 2021-01-31 05:09
modwizcodeoh god they're like the ethernet people
#asahi-dev · 2021-01-31 05:09
modwizcodeExcept when PPC decided to be little endian
#asahi-dev · 2021-01-31 05:09
modwizcodeIt makes no sense at all
#asahi-dev · 2021-01-31 05:09
modwizcodeOh god ARM's hypervisor thing I thought was going to make sense and it totally doesn't
#asahi-dev · 2021-01-31 05:07
modwizcodeApple's stuff is mostly just model specific registers to poke at and disable/enable added functionality they've got from what I can tell, marcan probably knows more
#asahi-dev · 2021-01-31 05:07
modwizcode*ARM
#asahi-dev · 2021-01-31 05:07
modwizcodeMost of it's arms
#asahi-dev · 2021-01-31 05:07
modwizcodepoint of unification, point of coherance sort of make sense, but then you have inner shared, outer shared.
#asahi-dev · 2021-01-31 05:06
modwizcodeYeah I was looking at the MMU enable to make sure I didn't have to touch it and I was like what are these arguments
#asahi-dev · 2021-01-31 05:06
modwizcodeThanks for getting me the registers btw
#asahi-dev · 2021-01-31 05:06
modwizcodeAlthough I've used it less
#asahi-dev · 2021-01-31 05:06
modwizcodeI like PPC's assembly syntax better
#asahi-dev · 2021-01-31 05:06
modwizcodeYeah same here lol
#asahi-dev · 2021-01-31 05:06
modwizcodeI should just pull open the actual architecture reference PDF which is 1000x better but I'm lazy
#asahi-dev · 2021-01-31 05:05
modwizcodety
#asahi-dev · 2021-01-31 05:05
modwizcodearm 64 is such a weird architecture, there's so much crap that's shoved in using the MSR type functionality, and they have crazy names for everything. The TLB flush instruction has insane argumentation. (I think it's the tlb flush one?)
#asahi-dev · 2021-01-31 05:03
modwizcodeand there's a few others I might need but those ones I know I need now
#asahi-dev · 2021-01-31 05:03
modwizcodeID_AA64MMFR[0-3]_EL1
#asahi-dev · 2021-01-31 05:03
modwizcodeDo you have a dump of the ID registers handy by any chance?
#asahi-dev · 2021-01-31 05:02
modwizcodeyour patch setting TTBR1_EL2 faulted under emulator and I realized that I needed to set some id bits to enable the EL2 virtualization extension fully.
#asahi-dev · 2021-01-31 04:59
modwizcodeYeah okay that makes sense
#asahi-dev · 2021-01-31 04:59
modwizcodeohhhh
#asahi-dev · 2021-01-31 04:59
modwizcodewait what is SError? I thought it meant secure until now but then I thought it was sync.
#asahi-dev · 2021-01-31 04:58
modwizcodeRight so I was wondering if they disable that, but thing still work, is it just subtly broken?
#asahi-dev · 2021-01-31 04:57
modwizcodeI feel like I've seen that note you screenshotted there
#asahi-dev · 2021-01-31 04:56
modwizcodeI didn't realize you meant literally... return
#asahi-dev · 2021-01-31 04:56
modwizcodeOh
#asahi-dev · 2021-01-31 04:56
modwizcodeI'm more impressed that they can disable all the broken stuff
#asahi-dev · 2021-01-31 04:56
modwizcodeDid it give you a signal that it was an instruction path?

plus ›