On 19. Apr 2023, at 23:55, Ard Biesheuvel <a...@kernel.org> wrote:
That makes so much more sense now! I expected one of three things to happen: 1) The write actually succeeds (after all, this is a VM, this might actually be the case for x86 OVMF) 2) The write is silently discarded 3) The write causes an exception I certainly did not expect *this*. When we initially tried to debug this, we attempted to use watchpoints to no avail, expecting it to be regular memory corruption. As those didn’t fire, we messed with function alignment and discovered the reported bug (which we didn’t really even trigger to begin with, it appears!). I suppose fixing its alignment meant some code that’s important down the line is fetched earlier as part of some flash unit and that’s why it started to work after fixing it. Whew.
That’s actually something I proposed to debug the issue early on, but we’re all so-so with ARM experience, so we never got to that with the limited time we could spare. Praise to you!
I‘d love to confirm all this, but I can’t spare the time. I blindly trust you and will try to submit V3 within this week. Best regards, Marvin
_._,_._,_
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#103259) |
|
Mute This Topic
| New Topic _._,_._,_
|
- Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introd... Ard Biesheuvel
- Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introd... Marvin Häuser
- Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introd... Ard Biesheuvel
- Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introd... Marvin Häuser
- Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introd... Ard Biesheuvel
- Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introd... Marvin Häuser
- Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introd... Ard Biesheuvel
- Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introd... Marvin Häuser
- Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introd... Marvin Häuser
- Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introd... Ard Biesheuvel
- Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introd... Marvin Häuser
- Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introd... Pedro Falcato