From: Julien Grall <julien.grall@linaro.org>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel@lists.xenproject.org,
Daniel De Graaf <dgdegra@tycho.nsa.gov>,
stefano.stabellini@citrix.com, ian.campbell@citrix.com,
tim@xen.org
Subject: Re: [PATCH v3 2/4] xen/xsm: Add xsm_core_init function
Date: Fri, 21 Mar 2014 14:02:05 +0000 [thread overview]
Message-ID: <532C465D.4060106@linaro.org> (raw)
In-Reply-To: <532C4F380200007800126978@nat28.tlf.novell.com>
Hi Jan,
On 03/21/2014 01:39 PM, Jan Beulich wrote:
>>>> On 21.03.14 at 14:05, Julien Grall <julien.grall@linaro.org> wrote:
>> --- a/xen/xsm/xsm_core.c
>> +++ b/xen/xsm/xsm_core.c
>> @@ -43,6 +43,21 @@ static void __init do_xsm_initcalls(void)
>> }
>> }
>>
>> +static int __init xsm_core_init(void)
>> +{
>> + if ( verify(&dummy_xsm_ops) )
>> + {
>> + printk("%s could not verify "
>> + "dummy_xsm_ops structure.\n", __FUNCTION__);
>> + return -EIO;
>> + }
>> +
>> + xsm_ops = &dummy_xsm_ops;
>> + do_xsm_initcalls();
>> +
>> + return 0;
>> +}
>> +
>> #ifdef CONFIG_MULTIBOOT
>> int __init xsm_multiboot_init(unsigned long *module_map,
>> const multiboot_info_t *mbi,
>> @@ -63,16 +78,7 @@ int __init xsm_multiboot_init(unsigned long *module_map,
>> }
>> }
>>
>> - if ( verify(&dummy_xsm_ops) )
>> - {
>> - bootstrap_map(NULL);
>
> So where did that call go?
After xsm_core_init (see below).
>> - printk("%s could not verify "
>> - "dummy_xsm_ops structure.\n", __FUNCTION__);
>> - return -EIO;
>> - }
>> -
>> - xsm_ops = &dummy_xsm_ops;
>> - do_xsm_initcalls();
>> + ret = xsm_core_init();
>> bootstrap_map(NULL);
Just here.
Regards,
--
Julien Grall
next prev parent reply other threads:[~2014-03-21 14:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-21 13:05 [PATCH v3 0/4] xen/arm: Add support for XSM Julien Grall
2014-03-21 13:05 ` [PATCH v3 1/4] xen/xsm: Don't use multiboot by default to initialize XSM Julien Grall
2014-03-21 13:05 ` [PATCH v3 2/4] xen/xsm: Add xsm_core_init function Julien Grall
2014-03-21 13:39 ` Jan Beulich
2014-03-21 14:02 ` Julien Grall [this message]
2014-03-21 14:46 ` Jan Beulich
2014-03-21 14:16 ` Daniel De Graaf
2014-03-21 13:05 ` [PATCH v3 3/4] xen/xsm: Add support for device tree Julien Grall
2014-03-21 14:12 ` Ian Campbell
2014-03-21 14:20 ` Julien Grall
2014-03-21 14:21 ` Julien Grall
2014-03-21 15:53 ` Ian Campbell
2014-03-21 13:05 ` [PATCH v3 4/4] xen/arm: Add support for XSM Julien Grall
2014-03-21 13:14 ` Julien Grall
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=532C465D.4060106@linaro.org \
--to=julien.grall@linaro.org \
--cc=JBeulich@suse.com \
--cc=dgdegra@tycho.nsa.gov \
--cc=ian.campbell@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 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).