[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 |
Hi,
This series is a cleanup that fixes the issues observed by Markus
Armbruster in the review of jianchunfu's patch:
https://lists.gnu.org/archive/html/qemu-devel/2022-06/msg05393.html
I've also included jianchunfu's patch, with the relevant bits, in the
series.
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(-)
--
2.36.1
- [PATCH 0/9] cleanup error handling in kvmppc_read_int_cpu_dt(),
Daniel Henrique Barboza <=
- [PATCH 1/9] target/ppc/kvm.c: do not return -1 on uint64_t return, Daniel Henrique Barboza, 2022/06/30
- [PATCH 4/9] target/ppc: use g_autofree in kvmppc_read_int_cpu_dt(), Daniel Henrique Barboza, 2022/06/30
- [PATCH 2/9] target/ppc: add errp to kvmppc_read_int_cpu_dt(), Daniel Henrique Barboza, 2022/06/30
- [PATCH 9/9] spapr.c: handle clock freq read errors in spapr_dt_cpu(), Daniel Henrique Barboza, 2022/06/30
- [PATCH 6/9] ppc440_bamboo.c: handle clock freq read error in load_device_tree, Daniel Henrique Barboza, 2022/06/30
- [PATCH 3/9] target/ppc: Add error reporting when opening file fails, Daniel Henrique Barboza, 2022/06/30
- [PATCH 5/9] target/ppc: use Error pointer in kvmppc_get_clockfreq(), Daniel Henrique Barboza, 2022/06/30
- [PATCH 7/9] sam460ex.c: use CPU_FREQ if unable to read DT clock, Daniel Henrique Barboza, 2022/06/30
- [PATCH 8/9] e500.c: use PLATFORM_CLK_FREQ_HZ if unable to read clock freq from DT, Daniel Henrique Barboza, 2022/06/30