Re: [edk2-devel] Possible [BUG] PeiCore: HOBs after cache-as-RAM teardown

2021-07-13 Thread Benjamin Doron
Hi Michael, I had missed the fact that the HobList pointer is updated in the entry to PEI core when ShadowedPeiCore is NULL. It had seemed odd to me that nobody else experienced issues, so in hindsight, that wouldn't have been the problem. I'm still not sure why CurrentWriteOffset is zeroed, whi

Re: [edk2-devel] Possible [BUG] PeiCore: HOBs after cache-as-RAM teardown

2021-07-08 Thread Michael Kubacki
Hi Benjamin, Based on what you've described, I'll try to provide my best guess as to what is happening without actually debugging it. Ultimately, I will need to submit a patch to update PeiSerialPortLibSpiFlash. Are you're aware, gPchSpiPpiGuid is installed in Silicon/Intel/KabylakeSiliconPk

[edk2-devel] Possible [BUG] PeiCore: HOBs after cache-as-RAM teardown

2021-07-06 Thread Benjamin Doron
Hi all, I'm working on root-causing an issue where I'm unable to retrieve any debug logs after cache-as-RAM teardown on my MinPlatform board port for GSoC 2021. I'm using KabylakeOpenBoardPkg/PeiSerialPortLibSpiFlash. My best guess at the moment is that it's related to HOBs, which this SerialPo