qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 3/3] hw/intc: Add NULL pointer check on LoongArch ipi devi


From: Richard Henderson
Subject: Re: [PATCH v2 3/3] hw/intc: Add NULL pointer check on LoongArch ipi device
Date: Sun, 14 May 2023 03:02:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

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<gaosong@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.henderson@linaro.org>

r~



reply via email to

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