[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/9] cleanup error handling in kvmppc_read_int_cpu_dt()

From: Daniel Henrique Barboza
Subject: [PATCH 0/9] cleanup error handling in kvmppc_read_int_cpu_dt()
Date: Thu, 30 Jun 2022 16:42:40 -0300


This series is a cleanup that fixes the issues observed by Markus
Armbruster in the review of jianchunfu's patch:


I've also included jianchunfu's patch, with the relevant bits, in the

Daniel Henrique Barboza (8):
  target/ppc/kvm.c: do not return -1 on uint64_t return
  target/ppc: add errp to kvmppc_read_int_cpu_dt()
  target/ppc: use g_autofree in kvmppc_read_int_cpu_dt()
  target/ppc: use Error pointer in kvmppc_get_clockfreq()
  ppc440_bamboo.c: handle clock freq read error in load_device_tree
  sam460ex.c: use CPU_FREQ if unable to read DT clock
  e500.c: use PLATFORM_CLK_FREQ_HZ if unable to read clock freq from DT
  spapr.c: handle clock freq read errors in spapr_dt_cpu()

jianchunfu (1):
  target/ppc: Add error reporting when opening file fails

 hw/ppc/e500.c          |  8 +++++++-
 hw/ppc/ppc440_bamboo.c | 17 ++++++++++++++---
 hw/ppc/sam460ex.c      |  8 +++++++-
 hw/ppc/spapr.c         | 12 +++++++++++-
 include/hw/ppc/spapr.h |  1 +
 target/ppc/kvm.c       | 33 +++++++++++++++++----------------
 target/ppc/kvm_ppc.h   |  2 +-
 7 files changed, 58 insertions(+), 23 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]