Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1329908 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2016-02-09 06:00 +0100 |
| Last post | 2016-02-09 15:10 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
linux-next: manual merge of the akpm tree with the tip tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-02-09 06:00 +0100
Re: linux-next: manual merge of the akpm tree with the tip tree Matt Fleming <matt@codeblueprint.co.uk> - 2016-02-09 15:10 +0100
Re: linux-next: manual merge of the akpm tree with the tip tree Ingo Molnar <mingo@kernel.org> - 2016-02-09 15:10 +0100
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2016-02-09 06:00 +0100 |
| Subject | linux-next: manual merge of the akpm tree with the tip tree |
| Message-ID | <r08z8-7uB-13@gated-at.bofh.it> |
Hi Andrew,
Today's linux-next merge of the akpm tree got a conflict in:
arch/x86/platform/efi/efi.c
between commit:
1e82b9479070 ("x86/efi: Show actual ending addresses in efi_print_memmap")
from the tip tree and commit:
e0532ef9f825 ("x86/efi: print size and base in binary units in efi_print_memmap")
from the akpm tree.
I fixed it up (see below) and can carry the fix as necessary (no action
is required).
--
Cheers,
Stephen Rothwell
diff --cc arch/x86/platform/efi/efi.c
index e80826e6f3a9,122584ec27ef..000000000000
--- a/arch/x86/platform/efi/efi.c
+++ b/arch/x86/platform/efi/efi.c
@@@ -232,14 -241,14 +241,14 @@@ void __init efi_print_memmap(void
for (p = memmap.map, i = 0;
p < memmap.map_end;
p += memmap.desc_size, i++) {
- char buf[64];
+ efi_memory_desc_t *md = p;
+ u64 size = md->num_pages << EFI_PAGE_SHIFT;
+ char buf[64], buf3[32];
- md = p;
- pr_info("mem%02u: %s range=[0x%016llx-0x%016llx] (%lluMB)\n",
+ pr_info("mem%02u: %s range=[0x%016llx-0x%016llx] (%s)\n",
i, efi_md_typeattr_format(buf, sizeof(buf), md),
- md->phys_addr,
- md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT) - 1,
- (md->num_pages >> (20 - EFI_PAGE_SHIFT)));
- md->phys_addr, md->phys_addr + size,
++ md->phys_addr, md->phys_addr + size -1,
+ efi_size_format(buf3, sizeof(buf3), size));
}
#endif /* EFI_DEBUG */
}
[toc] | [next] | [standalone]
| From | Matt Fleming <matt@codeblueprint.co.uk> |
|---|---|
| Date | 2016-02-09 15:10 +0100 |
| Message-ID | <r0h9o-56j-9@gated-at.bofh.it> |
| In reply to | #1329908 |
On Tue, 09 Feb, at 03:50:24PM, Stephen Rothwell wrote:
> Hi Andrew,
>
> Today's linux-next merge of the akpm tree got a conflict in:
>
> arch/x86/platform/efi/efi.c
>
> between commit:
>
> 1e82b9479070 ("x86/efi: Show actual ending addresses in efi_print_memmap")
>
> from the tip tree and commit:
>
> e0532ef9f825 ("x86/efi: print size and base in binary units in efi_print_memmap")
>
> from the akpm tree.
>
> I fixed it up (see below) and can carry the fix as necessary (no action
> is required).
I think Andrew agreed to drop this patch from his tree,
https://lkml.kernel.org/r/20160122151100.GA3747@codeblueprint.co.uk
[toc] | [prev] | [next] | [standalone]
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Date | 2016-02-09 15:10 +0100 |
| Message-ID | <r0h9o-56j-15@gated-at.bofh.it> |
| In reply to | #1330262 |
* Matt Fleming <matt@codeblueprint.co.uk> wrote:
> On Tue, 09 Feb, at 03:50:24PM, Stephen Rothwell wrote:
> > Hi Andrew,
> >
> > Today's linux-next merge of the akpm tree got a conflict in:
> >
> > arch/x86/platform/efi/efi.c
> >
> > between commit:
> >
> > 1e82b9479070 ("x86/efi: Show actual ending addresses in efi_print_memmap")
> >
> > from the tip tree and commit:
> >
> > e0532ef9f825 ("x86/efi: print size and base in binary units in efi_print_memmap")
> >
> > from the akpm tree.
> >
> > I fixed it up (see below) and can carry the fix as necessary (no action
> > is required).
>
> I think Andrew agreed to drop this patch from his tree,
>
> https://lkml.kernel.org/r/20160122151100.GA3747@codeblueprint.co.uk
... and I tried to follow up on the original submission to still preserve this
change, as it's no doubt useful to produce easier to read bootup messages.
Thanks,
Ingo
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web