Tim Deegan
2013-Feb-14 12:37 UTC
[PATCH] arm: comment the use of second_linear_offset() in mm.c
# HG changeset patch # User Tim Deegan <tim@xen.org> # Date 1360845361 0 # Node ID 4b01cc2c2c1f4836e7fb34a58bc13e125d67969e # Parent 6ad763d9f964859d045380baef43edf18399bdb0 arm: comment the use of second_linear_offset() in mm.c Signed-off-by: Tim Deegan <tim@xen.org> diff -r 6ad763d9f964 -r 4b01cc2c2c1f xen/arch/arm/mm.c --- a/xen/arch/arm/mm.c Thu Feb 14 11:07:07 2013 +0000 +++ b/xen/arch/arm/mm.c Thu Feb 14 12:36:01 2013 +0000 @@ -41,6 +41,9 @@ struct domain *dom_xen, *dom_io, *dom_co /* Static start-of-day pagetables that we use before the allocators are up */ lpae_t xen_pgtable[LPAE_ENTRIES] __attribute__((__aligned__(4096))); +/* N.B. The second-level table is 4 contiguous pages long, and covers + * all addresses from 0 to 0xffffffff. Offsets into it are calculated + * with second_linear_offset(), not second_table_offset(). */ lpae_t xen_second[LPAE_ENTRIES*4] __attribute__((__aligned__(4096*4))); lpae_t xen_fixmap[LPAE_ENTRIES] __attribute__((__aligned__(4096))); static lpae_t xen_xenmap[LPAE_ENTRIES] __attribute__((__aligned__(4096)));
Ian Campbell
2013-Feb-15 13:35 UTC
Re: [PATCH] arm: comment the use of second_linear_offset() in mm.c
On Thu, 2013-02-14 at 12:37 +0000, Tim Deegan wrote:> # HG changeset patch > # User Tim Deegan <tim@xen.org> > # Date 1360845361 0 > # Node ID 4b01cc2c2c1f4836e7fb34a58bc13e125d67969e > # Parent 6ad763d9f964859d045380baef43edf18399bdb0 > arm: comment the use of second_linear_offset() in mm.c > > Signed-off-by: Tim Deegan <tim@xen.org>Acked + applied, thanks.