[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/5] ppc/spapr: Add FWNMI machine check delivery warnings
From: |
Nicholas Piggin |
Subject: |
Re: [PATCH 3/5] ppc/spapr: Add FWNMI machine check delivery warnings |
Date: |
Thu, 19 Mar 2020 12:28:02 +1000 |
User-agent: |
astroid/0.15.0 (https://github.com/astroidmail/astroid) |
Greg Kurz's on March 17, 2020 10:20 pm:
> On Tue, 17 Mar 2020 15:02:13 +1000
> Nicholas Piggin <address@hidden> wrote:
>
>> Add some messages which explain problems and guest misbehaviour that
>> may be difficult to diagnose in rare cases of machine checks.
>>
>> Signed-off-by: Nicholas Piggin <address@hidden>
>> ---
>> hw/ppc/spapr_events.c | 4 ++++
>> hw/ppc/spapr_rtas.c | 4 ++++
>> 2 files changed, 8 insertions(+)
>>
>> diff --git a/hw/ppc/spapr_events.c b/hw/ppc/spapr_events.c
>> index 05337f0671..d35151eeb0 100644
>> --- a/hw/ppc/spapr_events.c
>> +++ b/hw/ppc/spapr_events.c
>> @@ -807,6 +807,8 @@ static void spapr_mce_dispatch_elog(PowerPCCPU *cpu,
>> bool recovered)
>> /* get rtas addr from fdt */
>> rtas_addr = spapr_get_rtas_addr();
>> if (!rtas_addr) {
>> + warn_report("FWNMI: Unable to deliver machine check to guest: "
>> + "rtas_addr not found.");
>
> Why a warning and not an error ?
>
> Also maybe change the string to fit on one line ?
Not sure, I guess it should be.
Thanks,
Nick
- [PATCH 0/5] FWNMI follow up patches, Nicholas Piggin, 2020/03/17
- [PATCH 1/5] ppc/spapr: KVM FWNMI should not be enabled until guest requests it, Nicholas Piggin, 2020/03/17
- [PATCH 2/5] ppc/spapr: Improve FWNMI machine check delivery corner case comments, Nicholas Piggin, 2020/03/17
- [PATCH 3/5] ppc/spapr: Add FWNMI machine check delivery warnings, Nicholas Piggin, 2020/03/17
- [PATCH 4/5] ppc/spapr: Don't kill the guest if a recovered FWNMI machine check delivery fails, Nicholas Piggin, 2020/03/17
- [PATCH 5/5] target/ppc: Implement simple monitor mce injection, Nicholas Piggin, 2020/03/17