public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] StandaloneMmPkg: Fix check buffer address failed issue from TF-A
@ 2024-11-03 16:46 Dhaval Sharma
  0 siblings, 0 replies; only message in thread
From: Dhaval Sharma @ 2024-11-03 16:46 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]

Hi Ming/Sami,
I am working on adding RISCV standalone MM support along with yong.li@intel.com. Since some part of this code is common for all arch, I had a question on this particular patch https://gitlab.ba.rivosinc.com/rv/sw/int/fw/cpu/edk2/-/commit/5496c763aaddc4a47639d4652abe23aa3419263a submitted by you. I wanted to understand the implication before I align implementation with RISCV64 if you could help with that.
The question is as follows:
I see there are couple of places where non secure buffer pointer is being communicated to MM. gEfiStandaloneMmNonSecureBufferGuid and gMmCommBufferHobGuid. Unless I have mistaken, the purpose of both buffers is similar. I wonder do we expect MM to comprehend them differently?
MmEntryPoint() now uses mMmCommunicationBuffer derived from gMmCommBufferHobGuid. CheckBufferAddr() uses mNsCommBuffer which is derived from gEfiStandaloneMmNonSecureBufferGuid. Can you please help clarify?
=D


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120702): https://edk2.groups.io/g/devel/message/120702
Mute This Topic: https://groups.io/mt/109369870/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 2030 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-03 16:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-03 16:46 [edk2-devel] StandaloneMmPkg: Fix check buffer address failed issue from TF-A Dhaval Sharma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox