On 5/12/23 03:04, Song Gao wrote:
When ipi mailbox is used, cpu_index is decoded from iocsr register. cpu maybe does not exist. This patch adss NULL pointer check on ipi device.Signed-off-by: Song Gao<gaos...@loongson.cn> --- hw/intc/loongarch_ipi.c | 40 +++++++++++++++++++++++++++++----------- hw/intc/trace-events | 1 + 2 files changed, 30 insertions(+), 11 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~