From: Daniel De Graaf <dgdegra@tycho.nsa.gov>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH 0/3] XSM PIRQ and rcu_lock_target cleanup
Date: Wed, 23 Jan 2013 09:37:54 -0500 [thread overview]
Message-ID: <50FFF5C2.103@tycho.nsa.gov> (raw)
In-Reply-To: <1358501009.13856.110.camel@zakaz.uk.xensource.com>
On 01/18/2013 04:23 AM, Ian Campbell wrote:
> On Thu, 2013-01-17 at 18:55 +0000, Daniel De Graaf wrote:
>> These three patches finish up the XSM IS_PRIV reworking, in addition to
>> the patches posted by Ian and Lars fixing things for ARM. I did not
>> include a patch removing the rcu_lock_target_domain_by_id function
>> because it's still referenced in ARM at the moment, but it looks like
>> those locations are being changed (or will be changed in the future).
>
> Am I right that the appropriate transformation is:
> rc = rcu_lock_target_domain_by_id(domid, &d);
> becomes:
> d = rcu_lock_domain_by_any_id(a.domid);
> if ( d == NULL )
> return -ESRCH;
>
> rc = xsm_SOMETHING(XSM_TARGET, d, PARAMS);
> if ( rc )
> ... unlock .. return or goto err
>
> Ian.
>
Yes, this is correct. Looking at today's xen-unstable, only the
XENMAPSPACE_gmfn_foreign mapping needs a new ARM-only XSM hook.
--
Daniel De Graaf
National Security Agency
next prev parent reply other threads:[~2013-01-23 14:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-17 18:55 [PATCH 0/3] XSM PIRQ and rcu_lock_target cleanup Daniel De Graaf
2013-01-17 18:55 ` [PATCH 1/3] hvm: wire up domctl and xsm hypercalls Daniel De Graaf
2013-01-17 18:55 ` [PATCH 2/3] xen/arch/x86: complete XSM hooks on irq/pirq mappings Daniel De Graaf
2013-01-17 18:55 ` [PATCH 3/3] xen/arch/arm: add XSM hook to HVMOP_{get, set}_param Daniel De Graaf
2013-01-18 9:19 ` Ian Campbell
2013-01-31 9:16 ` Ian Campbell
2013-02-05 10:59 ` Ian Campbell
2013-02-05 11:31 ` Stefano Stabellini
2013-02-05 11:46 ` Ian Campbell
2013-01-23 9:20 ` Keir Fraser
2013-01-23 14:24 ` [PATCH v2 " Daniel De Graaf
2013-01-18 9:23 ` [PATCH 0/3] XSM PIRQ and rcu_lock_target cleanup Ian Campbell
2013-01-23 14:37 ` Daniel De Graaf [this message]
2013-01-23 14:43 ` Ian Campbell
2013-01-23 14:51 ` Daniel De Graaf
2013-01-23 14:57 ` 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=50FFF5C2.103@tycho.nsa.gov \
--to=dgdegra@tycho.nsa.gov \
--cc=Ian.Campbell@citrix.com \
--cc=xen-devel@lists.xen.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.