On 12/5/23 12: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

"adds"

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: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to