qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Song Gao <gaosong@loongson.cn>, qemu-devel@nongnu.org
Cc: philmd@linaro.org, maobibo@loongson.cn, yangxiaojuan@loongson.cn
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	[thread overview]
Message-ID: <136af23c-558b-614a-92d3-91efd8fd00e3@linaro.org> (raw)
In-Reply-To: <20230512100421.1867848-4-gaosong@loongson.cn>

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~


      parent reply	other threads:[~2023-05-14 10:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-12 10:04 [PATCH v2 0/3] LoongArch machine support Set max 256 cpus Song Gao
2023-05-12 10:04 ` [PATCH v2 1/3] hw/loongarch/virt: Modify ipi as percpu device Song Gao
2023-05-12 17:18   ` Philippe Mathieu-Daudé
2023-05-12 10:04 ` [PATCH v2 2/3] hw/loongarch/virt: Set max 256 cpus support on loongarch virt machine Song Gao
2023-05-12 10:04 ` [PATCH v2 3/3] hw/intc: Add NULL pointer check on LoongArch ipi device Song Gao
2023-05-12 13:24   ` Philippe Mathieu-Daudé
2023-05-14 10:02   ` Richard Henderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=136af23c-558b-614a-92d3-91efd8fd00e3@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=gaosong@loongson.cn \
    --cc=maobibo@loongson.cn \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=yangxiaojuan@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).