public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Dhaval Sharma" <dhaval@rivosinc.com>
To: devel@edk2.groups.io
Subject: [edk2-devel] StandaloneMmPkg: Fix check buffer address failed issue from TF-A
Date: Sun, 03 Nov 2024 08:46:07 -0800	[thread overview]
Message-ID: <WWzJ.1730652367925698309.X9bm@groups.io> (raw)

[-- 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 --]

                 reply	other threads:[~2024-11-03 16:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=WWzJ.1730652367925698309.X9bm@groups.io \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox