Attention is currently required from: Tim Wawrzynczak, Angel Pons, Arthur Heymans, Kyösti Mälkki, Patrick Rudolph.
Hello Nico Huber, Tim Wawrzynczak, Arthur Heymans, Kyösti Mälkki, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/56058
to look at the new patch set (#2).
Change subject: device: Extend `devtree_die()` log information
......................................................................
device: Extend `devtree_die()` log information
If the `config_of()` function is called with a non-NULL `dev` argument,
but its `chip_info` member is NULL, it is possible to print information
about `dev` to make debugging easier. Pass `dev` to `devtree_die()` and
call the `dev_path()` function with it.
Change-Id: I62f93bd7a4a4e55a84c1436e57e48804de730080
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/device/device_const.c
M src/include/device/device.h
2 files changed, 7 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/56058/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/56058
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I62f93bd7a4a4e55a84c1436e57e48804de730080
Gerrit-Change-Number: 56058
Gerrit-PatchSet: 2
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Nico Huber, Tim Wawrzynczak, Arthur Heymans, Kyösti Mälkki, Patrick Rudolph.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56058 )
Change subject: device: Extend `devtree_die()` log information
......................................................................
Patch Set 1:
(1 comment)
File src/device/device_const.c:
https://review.coreboot.org/c/coreboot/+/56058/comment/fa4897af_c34edd7c
PS1, Line 316: die("DEVTREE: dev %s or chip_info is NULL\n", dev_path(dev));
> This would look very confusing: […]
Like this?
if (dev)
die("DEVTREE: chip_info of dev %s is NULL\n", dev_path(dev));
else
die("DEVTREE: dev is NULL\n");
--
To view, visit https://review.coreboot.org/c/coreboot/+/56058
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I62f93bd7a4a4e55a84c1436e57e48804de730080
Gerrit-Change-Number: 56058
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Sun, 04 Jul 2021 10:15:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment
Attention is currently required from: Tim Wawrzynczak, Angel Pons, Arthur Heymans, Kyösti Mälkki, Patrick Rudolph.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56058 )
Change subject: device: Extend `devtree_die()` log information
......................................................................
Patch Set 1:
(1 comment)
File src/device/device_const.c:
https://review.coreboot.org/c/coreboot/+/56058/comment/957cbb32_f70a6e56
PS1, Line 316: die("DEVTREE: dev %s or chip_info is NULL\n", dev_path(dev));
This would look very confusing:
DEVTREE: dev <null> or chip_info is NULL
Maybe make it individual die() statements?
--
To view, visit https://review.coreboot.org/c/coreboot/+/56058
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I62f93bd7a4a4e55a84c1436e57e48804de730080
Gerrit-Change-Number: 56058
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Sun, 04 Jul 2021 10:12:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Tim Wawrzynczak, Angel Pons, Arthur Heymans, Patrick Rudolph.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56057 )
Change subject: device: Reflow strings in printk statements
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/56057
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5284429ca6d07debf2d6c4fdbffa286140fb7694
Gerrit-Change-Number: 56057
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Sun, 04 Jul 2021 10:08:01 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/56058 )
Change subject: device: Extend `devtree_die()` log information
......................................................................
device: Extend `devtree_die()` log information
If the `config_of()` function is called with a non-NULL `dev` argument,
but its `chip_info` member is NULL, it is possible to print information
about `dev` to make debugging easier. Pass `dev` to `devtree_die()` and
call the `dev_path()` function with it.
Change-Id: I62f93bd7a4a4e55a84c1436e57e48804de730080
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/device/device_const.c
M src/include/device/device.h
2 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/56058/1
diff --git a/src/device/device_const.c b/src/device/device_const.c
index 7e7f2f1..c01efe4 100644
--- a/src/device/device_const.c
+++ b/src/device/device_const.c
@@ -311,9 +311,9 @@
printk(BIOS_ERR, "BUG: %s requests hidden 00:%02x.%u\n", func, devfn >> 3, devfn & 7);
}
-void __noreturn devtree_die(void)
+void __noreturn devtree_die(const struct device *dev)
{
- die("DEVTREE: dev or chip_info is NULL\n");
+ die("DEVTREE: dev %s or chip_info is NULL\n", dev_path(dev));
}
/**
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 8f0650f..4100a5d 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -364,7 +364,7 @@
/* Robust discovery of chip_info. */
void devtree_bug(const char *func, pci_devfn_t devfn);
-void __noreturn devtree_die(void);
+void __noreturn devtree_die(const struct device *dev);
/*
* Dies if `dev` or `dev->chip_info` are NULL. Returns `dev->chip_info` otherwise.
@@ -377,7 +377,7 @@
if (dev && dev->chip_info)
return dev->chip_info;
- devtree_die();
+ devtree_die(dev);
}
/*
--
To view, visit https://review.coreboot.org/c/coreboot/+/56058
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I62f93bd7a4a4e55a84c1436e57e48804de730080
Gerrit-Change-Number: 56058
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: newchange
Attention is currently required from: Paul Menzel.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56056 )
Change subject: util/board_status: Do not display grep message
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/56056/comment/8d007625_5dc3895b
PS1, Line 14: Datei oder Verzeichnis nicht gefunden
No such file or directory
--
To view, visit https://review.coreboot.org/c/coreboot/+/56056
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib5400d4bd17e957b4cc1bf75bbd332d60ad226f5
Gerrit-Change-Number: 56056
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-CC: Martin Roth <martinroth(a)google.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Comment-Date: Sun, 04 Jul 2021 09:24:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Jason Glenesk, Raul Rangel, Marshall Dawson, Felix Held.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/55857 )
Change subject: soc/amd/common/block/lpc/spi_dma: Implement readat_async
......................................................................
Patch Set 5:
(1 comment)
File src/soc/amd/common/block/lpc/spi_dma.c:
https://review.coreboot.org/c/coreboot/+/55857/comment/b363b882_29adcdcb
PS5, Line 34: * can always move the number to a Kconfig if necessary. */
Please use one of the recommended multi-line comment styles [1].
[1]: https://doc.coreboot.org/contributing/coding_style.html#commenting
--
To view, visit https://review.coreboot.org/c/coreboot/+/55857
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0be555956581fd82bbe1482d8afa8828c61aaa00
Gerrit-Change-Number: 55857
Gerrit-PatchSet: 5
Gerrit-Owner: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Sun, 04 Jul 2021 07:35:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment