Attention is currently required from: Anil Kumar K, Bora Guvendik, Jamie Ryu, Jeremy Compostella, Subrata Banik, Wonkyu Kim.
Pratikkumar V Prajapati has posted comments on this change by Wonkyu Kim. ( https://review.coreboot.org/c/coreboot/+/84228?usp=email )
Change subject: src/device: Add more condition to check valid PCI device id
......................................................................
Patch Set 2:
(1 comment)
File src/device/pci_device.c:
https://review.coreboot.org/c/coreboot/+/84228/comment/f6a5406f_1faf5ecb?us… :
PS2, Line 1225: dummy.vendor = id & 0xffff;
: dummy.device = (id >> 16) & 0xffff;
: if ((dummy.vendor == 0x0000) || (dummy.vendor == 0xffff) ||
: (dummy.device == 0x0000) || (dummy.device == 0xffff)) {
: printk(BIOS_SPEW, "device %s [0x%04x/0x%04x] is not found.\n",
: dev_path(&dummy), dummy.vendor, dummy.device);
:
why don't u make an inline function, as this test is used at multiple places?
--
To view, visit https://review.coreboot.org/c/coreboot/+/84228?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Iffabc9037a8af1b2a4ffebdf30199c4f6eae9540
Gerrit-Change-Number: 84228
Gerrit-PatchSet: 2
Gerrit-Owner: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-Reviewer: Jeremy Compostella <jeremy.compostella(a)gmail.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Attention: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Attention: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-Attention: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-Attention: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Attention: Jeremy Compostella <jeremy.compostella(a)gmail.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Comment-Date: Sat, 07 Sep 2024 04:52:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Nicholas Chin has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/84239?usp=email )
Change subject: Doc/rmodules.md: Change header levels
......................................................................
Doc/rmodules.md: Change header levels
Increase the header levels of headers following the initial "Relocatable
Modules (rmodules)" so that there is only one title for the page with
the other headings as subheadings. Also fix header capitalization while
we're here.
Change-Id: I72ae99ba10bf5b2386da2cc702efaf25328d6811
Signed-off-by: Nicholas Chin <nic.c3.14(a)gmail.com>
---
M Documentation/rmodules.md
1 file changed, 5 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/84239/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/84239?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I72ae99ba10bf5b2386da2cc702efaf25328d6811
Gerrit-Change-Number: 84239
Gerrit-PatchSet: 2
Gerrit-Owner: Nicholas Chin <nic.c3.14(a)gmail.com>
Nicholas Chin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84240?usp=email )
Change subject: Doc/rmodules.md: Move to technotes
......................................................................
Doc/rmodules.md: Move to technotes
The content of this page seems to fit the technote category the best, so
move it. This also fixes a "document isn't included in any toctree"
warning from Sphinx since it is now added to the technotes/index.md
toctree.
Change-Id: I86545f4c1a7e1b3ccefa4f6085e764536f33f29c
Signed-off-by: Nicholas Chin <nic.c3.14(a)gmail.com>
---
M Documentation/technotes/index.md
R Documentation/technotes/rmodules.md
2 files changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/84240/1
diff --git a/Documentation/technotes/index.md b/Documentation/technotes/index.md
index e57519f..a787584 100644
--- a/Documentation/technotes/index.md
+++ b/Documentation/technotes/index.md
@@ -9,4 +9,5 @@
Unit Test Code Coverage <2021-05-code-coverage.md>
Address Sanitizer <asan.md>
coreboot Consoles <console.md>
+Relocatable Modules <rmodules.md>
```
diff --git a/Documentation/rmodules.md b/Documentation/technotes/rmodules.md
similarity index 100%
rename from Documentation/rmodules.md
rename to Documentation/technotes/rmodules.md
--
To view, visit https://review.coreboot.org/c/coreboot/+/84240?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I86545f4c1a7e1b3ccefa4f6085e764536f33f29c
Gerrit-Change-Number: 84240
Gerrit-PatchSet: 1
Gerrit-Owner: Nicholas Chin <nic.c3.14(a)gmail.com>
Nicholas Chin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84239?usp=email )
Change subject: Doc/rmodules.md: Fix header levels
......................................................................
Doc/rmodules.md: Fix header levels
Increase the header levels of headers following "Relocatable Modules
(rmodules)" so that there is only one title and the other headings are
subheadings of it. Also fix header capitalization while we're here.
Change-Id: I72ae99ba10bf5b2386da2cc702efaf25328d6811
Signed-off-by: Nicholas Chin <nic.c3.14(a)gmail.com>
---
M Documentation/rmodules.md
1 file changed, 5 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/84239/1
diff --git a/Documentation/rmodules.md b/Documentation/rmodules.md
index 520d184..39c72b6 100644
--- a/Documentation/rmodules.md
+++ b/Documentation/rmodules.md
@@ -15,9 +15,9 @@
based on the location of the binary (which was returned by CBMEM
at runtime).
-# Implementation Details
+## Implementation Details
-## build time
+### Build Time
At build time the rmodtool (util/cbfstool/rmodtool.c) is used to
create relocatable modules. The rmodtool basically takes an ELF
@@ -44,7 +44,7 @@
2. program (.program)
3. relocation entries (.relocs)
-## runtime
+### Runtime
Either rmodule\_load (lib/rmodule.c) is used directly or through the
rmodule\_stage\_load (lib/rmodule.c) wrapper. It is used to load the
@@ -59,7 +59,7 @@
itself is just a simple addition, that adds an offset from where the
image was "supposed" to be at link time, to where it is now relocated.
-## module\_parameters
+### Module\_parameters
module\_parameters is a section inside the rmodule ELF file. Its
basically a way to pass runtime information to an rmodule
@@ -73,7 +73,7 @@
struct smm_runtime smm_runtime;
```
-# x86 why rmodules
+## x86 why rmodules
//TODO
x86: postcar and ramstage cannot conflict with payload regarding
memory placement. Therefore payload location is usually fixed and
--
To view, visit https://review.coreboot.org/c/coreboot/+/84239?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I72ae99ba10bf5b2386da2cc702efaf25328d6811
Gerrit-Change-Number: 84239
Gerrit-PatchSet: 1
Gerrit-Owner: Nicholas Chin <nic.c3.14(a)gmail.com>