All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chen Baozi <baozich@gmail.com>
To: Julien Grall <julien.grall@citrix.com>
Cc: xen-devel@lists.xenproject.org, tim@xen.org,
	ian.campbell@citrix.com, stefano.stabellini@citrix.com
Subject: Re: [PATCH] xen/arm: gic-v3: Implement correctly the callback send_SGI
Date: Sat, 9 May 2015 21:13:28 +0800	[thread overview]
Message-ID: <20150509131328.GA12647@cbz-thinkpad> (raw)
In-Reply-To: <1431104472-23616-1-git-send-email-julien.grall@citrix.com>

On Fri, May 08, 2015 at 06:01:12PM +0100, Julien Grall wrote:
> Currently, the GICv3 driver is only able to send an SGI when the cpumask
> is provided. Although with the modes SGI_TARGET_OTHERS and SGI_TARGET_SELF,
> no cpumask is provided. Any usage of those modes will crash the hypersivor.
> 
> Rename gicv3_send_sgi to gicv3_send_sgi_list and implement the
> different modes:
>     - SGI_TARGET_OTHERS: Set the Interrupt Routing Mode (bit 40) to 1
>     (see Table 4 on Section 4.2.6 PRD03-GENC-010745 24.0)
>     - SGI_TARGET_SELF: Unlike GICv2, the GICv3 SGI registers don't
>     provide a specific field. So use gicv3_send_sgi_list and pass
>     the cpumask of the current CPU
>     - SGI_TARGET_LIST: Directly call gicv3_send_sgi_list with the given
>     cpumask
> 
> Also, use WRITE_SYSREG64 to write into ICC_SGI1R_EL1 the access is
> 64-bit on all the architectures.
> 
> Reported-by: Chen Baozi <baozich@gmail.com>
> Signed-off-by: Julien Grall <julien.grall@citrix.com>
Tested-by: Chen Baozi <baozich@gmail.com>

Cheers,

Baozi.

  reply	other threads:[~2015-05-09 13:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-08 17:01 [PATCH] xen/arm: gic-v3: Implement correctly the callback send_SGI Julien Grall
2015-05-09 13:13 ` Chen Baozi [this message]
2015-05-21 14:50   ` Ian Campbell
  -- strict thread matches above, loose matches on Subject: below --
2015-04-27 18:31 Julien Grall
2015-04-28 10:00 ` Stefano Stabellini
2015-04-28 10:31   ` Julien Grall
2015-05-08 14:02     ` Ian Campbell
2015-05-08 14:27       ` Julien Grall
2015-05-08 15:51         ` Ian Campbell
2015-05-08 14:01 ` Ian Campbell
2015-05-08 14:34   ` Julien Grall
2015-05-08 15:51     ` Ian Campbell
2015-05-08 16:55       ` Julien Grall
2015-05-11  8:34         ` Ian Campbell

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=20150509131328.GA12647@cbz-thinkpad \
    --to=baozich@gmail.com \
    --cc=ian.campbell@citrix.com \
    --cc=julien.grall@citrix.com \
    --cc=stefano.stabellini@citrix.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.