From: "Gerd Hoffmann" <kraxel@redhat.com>
To: devel@edk2.groups.io, preisner@cs.fau.de
Subject: Re: [edk2-devel] Questions regarding NVDIMM and OVMF
Date: Tue, 9 Jul 2024 16:48:27 +0200 [thread overview]
Message-ID: <sbcr3qs2wikwbotis3ehxipovmo7fkdrhvrhw4g63zvsfmw3r4@2nl4hfzdzwgp> (raw)
In-Reply-To: <108b8e09-7d9f-411a-8384-1a8c0e0fcd07@cs.fau.de>
Hi,
> Do you have any pointers for implementing the support of nvdimm in
> edk2/OVMF? Or is it not feasible and I need to also look at adding it
> directly into QEMU
qemu. Add e820_add_entry() calls.
Possibly edk2 too.
Not sure how linux is supposed to figure the memory in question is
nvdimm not ram. Is there a e820 type for nvdimm? If so then
PlatformAddHobCB() in OvmfPkg/Library/PlatformInitLib/MemDetect.c needs
some code to handle it.
In any case you I don't think you want qemu announce the nvdimm device
twice. So it should be registered either via acpi/nfit, or via e820
table (which gets passed from qemu to firmware via 'etc/e820' fw_cfg
file), but probably not both.
HTH & take care,
Gerd
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119850): https://edk2.groups.io/g/devel/message/119850
Mute This Topic: https://groups.io/mt/107122508/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2024-07-09 14:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-08 21:55 [edk2-devel] Questions regarding NVDIMM and OVMF Thomas Preisner
2024-07-09 14:48 ` Gerd Hoffmann [this message]
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=sbcr3qs2wikwbotis3ehxipovmo7fkdrhvrhw4g63zvsfmw3r4@2nl4hfzdzwgp \
--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