aboutsummaryrefslogtreecommitdiff
path: root/hdata/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'hdata/memory.c')
-rw-r--r--hdata/memory.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hdata/memory.c b/hdata/memory.c
index ca21da8..a8b9955 100644
--- a/hdata/memory.c
+++ b/hdata/memory.c
@@ -214,6 +214,12 @@ static void add_bus_freq_to_ram_area(struct dt_node *ram_node, u32 chip_id)
timebase = HDIF_get_idata(pcia, SPPCIA_IDATA_TIMEBASE, &size);
if (!timebase || size < sizeof(*timebase)) {
+ /**
+ * @fwts-label HDATBadTimebaseSize
+ * @fwts-advice HDAT described an invalid size for timebase,
+ * which means there's a disagreement between HDAT and OPAL.
+ * This is most certainly a firmware bug.
+ */
prlog(PR_ERR, "HDAT: Bad timebase size %u @ %p\n", size,
timebase);
return;