[Skiboot] [PATCH 2/2] PHB3: Remove unnecessary message in phb3_sm_fundamental_reset()
Gavin Shan
gwshan at linux.vnet.ibm.com
Thu Oct 1 11:10:42 AEST 2015
This removes below unnecessary message in phb3_sm_fundamental_reset()
as there already has on subsequent message indicating the situation.
Performing PERST...
Also, this decreases the outputing level of all messages in this
function to DEBUG.
Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
---
hw/phb3.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hw/phb3.c b/hw/phb3.c
index 822aa87..71c64be 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -2223,7 +2223,7 @@ static int64_t phb3_sm_fundamental_reset(struct phb3 *p)
/* Handle boot time skipping of reset */
if (p->skip_perst && p->state == PHB3_STATE_FUNCTIONAL) {
- PHBINF(p, "Cold boot, skipping PERST assertion\n");
+ PHBDBG(p, "Cold boot, skipping PERST assertion\n");
p->state = PHB3_STATE_FRESET_ASSERT_DELAY;
/* PERST skipping happens only once */
p->skip_perst = false;
@@ -2241,7 +2241,6 @@ static int64_t phb3_sm_fundamental_reset(struct phb3 *p)
}
/* Assert PERST */
- PHBINF(p, "Performing PERST...\n");
reg = in_be64(p->regs + PHB_RESET);
reg &= ~0x2000000000000000ul;
out_be64(p->regs + PHB_RESET, reg);
--
2.1.0
More information about the Skiboot
mailing list