From: Julien Grall <julien.grall@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
xen-devel@lists.xensource.com
Cc: Ian.Campbell@citrix.com
Subject: Re: [PATCH v6 2/2] xen/arm: support gzip compressed kernels
Date: Tue, 22 Sep 2015 00:03:05 +0100 [thread overview]
Message-ID: <56008CA9.7010209@citrix.com> (raw)
In-Reply-To: <1442875893-21974-2-git-send-email-stefano.stabellini@eu.citrix.com>
Hi Stefano,
On 21/09/2015 23:51, Stefano Stabellini wrote:
> Changes in v6:
> - use vmap to map pages
> - free old module and update mod->start and mod->size from
> kernel_decompress
I was expecting you to drop my Reviewed-by given those changes.
> diff --git a/xen/arch/arm/kernel.c b/xen/arch/arm/kernel.c
> index f641b12..ad7e6bc 100644
> --- a/xen/arch/arm/kernel.c
> +++ b/xen/arch/arm/kernel.c
[...]
> +static __init uint32_t output_length(char *image, unsigned long image_len)
> +{
> + return *(uint32_t *)&image[image_len - 4];
> +}
> +
> +static __init int kernel_decompress(struct bootmodule *mod)
> +{
[...]
> + mfn = _mfn(page_to_mfn(pages));
> + output = __vmap(&mfn, 1 << kernel_order_out, 1, 1, PAGE_HYPERVISOR);
You may want to use vmap here which is a wrapper to __vmap and will
setup the granularity, align, and flags automatically for you.
Regards,
--
Julien Grall
next prev parent reply other threads:[~2015-09-21 23:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-21 22:50 [PATCH v6 0/2] support gzipped kernels on arm Stefano Stabellini
2015-09-21 22:51 ` [PATCH v6 1/2] xen: move perform_gunzip to common Stefano Stabellini
2015-09-21 22:51 ` [PATCH v6 2/2] xen/arm: support gzip compressed kernels Stefano Stabellini
2015-09-21 23:03 ` Julien Grall [this message]
2015-09-22 1:22 ` Stefano Stabellini
2015-09-22 1:35 ` Stefano Stabellini
2015-09-22 9:04 ` Julien Grall
2015-09-22 9:08 ` Julien Grall
2015-09-22 22:18 ` Stefano Stabellini
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=56008CA9.7010209@citrix.com \
--to=julien.grall@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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.