This patch provides documentation of the early_ioremap() functionality,
including its implementation and usage instructions.
Signed-off-by: Leif Lindholm
---
Documentation/arm/00-INDEX |2 ++
Documentation/arm/early_ioremap.txt | 12
2 files changed, 14 insertions
This patch provides documentation of the [U]EFI runtime services and
configuration features.
Signed-off-by: Leif Lindholm
---
Documentation/arm/00-INDEX |3 +++
Documentation/arm/uefi.txt | 39 +++
2 files changed, 42 insertions(+)
create mode 100644
This patch implements basic support for UEFI runtime services in the
ARM architecture - a requirement for using efibootmgr to read and update
the system boot configuration.
It also locates any presented SMBIOS configuration table and stores it
for potential later use by DMI.
Signed-off-by: Leif
Since the efi_set_virtual_address_map call has strict init ordering
requirements, add an explicit hook in the required place.
Signed-off-by: Leif Lindholm
---
init/main.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/init/main.c b/init/main.c
index 9484f4b..c61706e 100644
services on ARM
platforms, as well as the basic underlying EFI support. It also defines a
mechanism by which the required information is passed from the bootloader
to the kernel via FDT entries.
This patchset depends on the previously submitted early_ioremap() patchset.
Leif Lindholm (4
efi_lookup_mapped_addr is a handy helper function for translating
a physical address to the corresponding virtual one by scanning
through memmap.map.
This patch breaks it out into a new file for use elsewhere.
Signed-off-by: Leif Lindholm
---
arch/x86/platform/efi/efi.c | 28
On Wed, Jun 26, 2013 at 02:20:23PM +0100, Grant Likely wrote:
> On Wed, Jun 26, 2013 at 12:42 AM, Stephen Warren
> wrote:
> > the properties) should be part of a file in
> > Documentation/devicetree/bindings/ (arm/uefi.txt?).
> >
> > What node are these properties expected to be contained
On Wed, Jun 26, 2013 at 02:13:39PM +0100, Grant Likely wrote:
> > diff --git a/Documentation/arm/uefi.txt b/Documentation/arm/uefi.txt
> > +It (early) parses the FDT for the following parameters:
>
> Need to state which node these properties can be found in. I recommend /chosen
Will do.
> I
On Wed, Jun 26, 2013 at 02:32:17PM +0100, Matt Fleming wrote:
> On Tue, 25 Jun, at 07:11:01PM, Leif Lindholm wrote:
> > efi_lookup_mapped_addr is a handy helper function for translating
> > a physical address to the corresponding virtual one by scanning
> > through memmap.map
o locates any presented SMBIOS configuration table and stores it
> > for potential later use by DMI.
> >
> > Signed-off-by: Leif Lindholm
> > ---
> > arch/arm/Kconfig | 15 ++
> > arch/arm/include/asm/efi.h | 22 +++
> > ar
On Wed, Jun 26, 2013 at 08:52:09PM +0200, Arnd Bergmann wrote:
> I made a similar suggestion to extending the use of fixmap recently, see
> "Re: SCU registers mapping for CA9/CA5 cores". Russell pointed out that
> fixmap is intentionally limited to just kmap_atomic uses at the moment
> and
On Wed, Jun 26, 2013 at 12:32:30PM -0600, Stephen Warren wrote:
> >> What about ARMv8? Is the intention to have a separate definition for the
> >> UEFI bindings on ARMv8, so that compatibility isn't an issue? What if a
> >> future version of UEFI allows LPAE usage?
> >
> > It is unlikely that
On Wed, Jun 26, 2013 at 11:23:50PM +0200, Arnd Bergmann wrote:
> > Is this an issue here, since (unlike x86) this early_ioremap only works
> > before paging_init()?
>
> The main problem is that the total fixmap size is only around 900kb,
> and we want to reserve at least 64kb per cpu for
On Thu, Jun 27, 2013 at 12:13:55AM +0200, Arnd Bergmann wrote:
> > Sorry, I still don't get it. Are you saying that kmap_atomic is
> > available before kmap_init() (in paging_init())?
> >
> > If not, all of my mappings are discarded (well, abandoned to be more
> > correct), so I don't see how it
On Thu, Jun 27, 2013 at 02:32:19AM +0100, Matthew Garrett wrote:
> On Wed, Jun 26, 2013 at 07:38:19AM -0700, James Bottomley wrote:
> > The fixed virtual address scheme currently being looked at for x86_64 to
> > make SetVirtualAddressMap() kexec invariant doesn't work on 32 bit
> > because the
On Thu, Jun 27, 2013 at 10:47:21AM +0200, Arnd Bergmann wrote:
> > No, the purpose is just like for x86 - do early parsing of things like
> > the UEFI system and configuration tables, DMI and ACPI, in order to
> > populate global structs and stuff.
>
> But are those tables actually in MMIO
d RESERVED (but don't map them).
- Rename 'efi' -> 'uefi' within this new port (leaving core code as is).
Leif Lindholm (5):
arm: break part of __soft_restart out into separate function
arm: add new asm macro update_sctlr
Documentation: arm: add UEFI support documentation
arm: Add [U]EFI run
This patch provides documentation of the [U]EFI runtime service and
configuration features for the arm architecture.
Cc: Rob Landley
Cc: linux-...@vger.kernel.org
Signed-off-by: Leif Lindholm
Acked-by: Grant Likely
---
Documentation/arm/00-INDEX |3 +++
Documentation/arm/uefi.txt | 61
This patch implements basic support for UEFI runtime services in the
ARM architecture - a requirement for using efibootmgr to read and update
the system boot configuration.
It uses the generic configuration table scanning to populate ACPI and
SMBIOS pointers.
Signed-off-by: Leif Lindholm
Since the efi_set_virtual_address_map call has strict init ordering
requirements, add an explicit hook in the required place.
Signed-off-by: Leif Lindholm
Acked-by: Grant Likely
---
init/main.c |4
1 file changed, 4 insertions(+)
diff --git a/init/main.c b/init/main.c
index febc511
A new macro for setting/clearing bits in the SCTLR.
Signed-off-by: Leif Lindholm
Suggested-by: Will Deacon
---
arch/arm/include/asm/assembler.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/include/asm/assembler.h b/arch/arm/include/asm/assembler.h
index 5c22851
Certain operations can be considered mandatory for any piece of code
preparing to switch off the MMU. Break this out into separate function
dmap_prepare().
Signed-off-by: Leif Lindholm
Suggested-by: Will Deacon
---
arch/arm/include/asm/idmap.h |1 +
arch/arm/kernel/process.c| 12
On Mon, Jan 13, 2014 at 07:29:06PM +0100, Arnd Bergmann wrote:
> On Saturday 11 January 2014, Leif Lindholm wrote:
> > diff --git a/init/main.c b/init/main.c
> > index febc511..1331829 100644
> > --- a/init/main.c
> > +++ b/init/main.c
> > @@ -905,6 +905,
On Mon, Jan 13, 2014 at 07:43:09PM +0100, Arnd Bergmann wrote:
> > This patch implements basic support for UEFI runtime services in the
> > ARM architecture - a requirement for using efibootmgr to read and update
> > the system boot configuration.
> >
> > It uses the generic configuration table
On Tue, Jan 14, 2014 at 07:52:32AM +0100, Arnd Bergmann wrote:
> > > > It uses the generic configuration table scanning to populate ACPI and
> > > > SMBIOS pointers.
> > >
> > > As far as I'm concerned there are no plans to have ACPI support on ARM32,
> > > so I wonder what the code to populate
On 14 January 2014 13:26, Arnd Bergmann wrote:
>> > > Are you suggesting that I should #ifndef ARM in common code, or that I
>> > > should neglect to document what the common code will do with data it is
>> > > given by UEFI?
>> >
>> > It would probably be good to document the fact that it won't
On Tue, Jan 14, 2014 at 06:16:58PM -0800, Roy Franz wrote:
> >>> + .align 3
> >>> +pe_header:
> >>> + .ascii "PE"
> >>> + .short 0
> >>> +
> >>> +coff_header:
> >>> + .short 0x01c2 @ ARM or Thumb
> >>
> >> Could you explain why you are using 0x1c2
On Mon, Feb 03, 2014 at 10:34:15AM +, Will Deacon wrote:
> On Thu, Jan 30, 2014 at 01:12:47PM +0000, Leif Lindholm wrote:
> > Oh, that's neat - thanks!
> >
> > Well, given that, I can think of two less horrible options:
> > 1)
> > .macro u
On Mon, Feb 03, 2014 at 04:00:51PM +, Will Deacon wrote:
> > > > With the two call sites in uefi_phys.S as:
> > > >
> > > > ldr r5, =(CR_M)
> > > > update_sctlrr12, , r5
> > > > and
> > > > ldr r4, =(CR_I | CR_C | CR_M)
> > > > update_sctlrr12,
On Mon, Feb 03, 2014 at 04:57:18PM +, Will Deacon wrote:
> > mov[tw]: why?
> > Then we end up battling different available immediate fields in A32/T32
> > instruction sets and v5/v6/v7 architecture versions.
>
> I was making the assumption that UEFI was going to be v7 only... is this not
>
>
> Signed-off-by: Laura Abbott
On VExpress TC2:
Tested-by: Leif Lindholm
(Applies also to 1/2, of course.)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.ke
From: "H. Peter Anvin"
Improve the conversion of the UTF-16 EFI command line
to UTF-8 for passing to the kernel.
Signed-off-by: Roy Franz
Signed-off-by: H. Peter Anvin
Signed-off-by: Leif Lindholm
---
arch/x86/boot/compressed/eboot.c |3 +-
drivers/firmware/efi/
From: Ard Biesheuvel
Loading unauthenticated FDT blobs directly from storage is a security hazard,
so this should only be allowed when running with UEFI Secure Boot disabled.
Signed-off-by: Ard Biesheuvel
Signed-off-by: Leif Lindholm
---
drivers/firmware/efi/arm-stub.c|4
From: Mark Salter
This patch adds EFI runtime support for arm64. The runtime support allows
the kernel to access various EFI runtime services provided by EFI firmware.
Things like reboot, real time clock, EFI boot variables, and others.
Signed-off-by: Mark Salter
Signed-off-by: Leif Lindholm
Add bswapsdi2.S, fdt_empty_tree.c and fdt_sw.c to ignore list.
Signed-off-by: Leif Lindholm
---
arch/arm/boot/compressed/.gitignore |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/compressed/.gitignore
b/arch/arm/boot/compressed/.gitignore
index 47279aa..cc3487e 100644
From: Mark Salter
CONFIG_LIBFDT support does not include fdt_empty_tree.c which is
needed by arm64 EFI stub. Add it to libfdt_files.
Signed-off-by: Mark Salter
Signed-off-by: Leif Lindholm
---
lib/Makefile |3 ++-
lib/fdt_empty_tree.c |2 ++
2 files changed, 4 insertions
for UEFI. This patch adds a create_id_mapping() function which reuses
the core code of the existing create_mapping().
Signed-off-by: Mark Salter
Signed-off-by: Leif Lindholm
---
arch/arm64/include/asm/mmu.h |2 ++
arch/arm64/mm/mmu.c | 66 ++
2
s not used by
the zImage interface.
Signed-off-by: Roy Franz
Signed-off-by: Leif Lindholm
Acked-by: Grant Likely
---
arch/arm/Kconfig | 11 +++
arch/arm/boot/compressed/Makefile | 17 -
arch/arm/boot/compressed/efi-header.S | 117
arc
From: Mark Salter
Add explanation of arm64 EFI stub and kernel image header changes
needed to masquerade as a PE/COFF application.
Signed-off-by: Mark Salter
Signed-off-by: Leif Lindholm
Acked-by: Grant Likely
CC: linux-...@vger.kernel.org
CC: Rob Landley
---
Documentation/arm64
-off-by: Ard Biesheuvel
Signed-off-by: Mark Salter
Signed-off-by: Leif Lindholm
---
arch/arm64/Kconfig| 10
arch/arm64/kernel/Makefile|3 ++
arch/arm64/kernel/efi-entry.S | 93 ++
arch/arm64/kernel/efi-stub.c | 67
This patch provides documentation of the [U]EFI runtime service and
configuration features for the arm architecture.
Changes since v1/v2:
- Complete rewrite.
- New FDT bindings.
Cc: Rob Landley
Cc: linux-...@vger.kernel.org
Signed-off-by: Leif Lindholm
Signed-off-by: Leif Lindholm
Acked
copied
from the arch/x86/boot/string.c file used by the x86 decompressor.
Signed-off-by: Roy Franz
Signed-off-by: Leif Lindholm
Reviewed-by: Grant Likely
---
arch/arm/boot/compressed/string.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/compressed
From: Roy Franz
Add the get_dram_base() function and efi_call_physN() macros
that are shared by arm/arm64.
Signed-off-by: Roy Franz
Signed-off-by: Leif Lindholm
---
drivers/firmware/efi/efi-stub-helper.c | 63 +---
1 file changed, 50 insertions(+), 13 deletions
bindings.
- Preserve regions marked RESERVED (but don't map them).
- Rename 'efi' -> 'uefi' within this new port (leaving core code as is).
Signed-off-by: Leif Lindholm
Reviewed-by: Grant Likely
---
arch/arm/Kconfig| 16 ++
arch/arm/include/asm/uefi.h | 28 +++
arch/arm/ker
From: Roy Franz
This patch adds the EFI stub entry point that is shared
by the arm/arm64 architectures. Each arch will implement
the handle_kernel_image() function that handles the arch
specific load address and boot protocol requirements.
Signed-off-by: Roy Franz
Signed-off-by: Leif Lindholm
From: Roy Franz
Update efi-stub.txt documentation to be more general
and not x86 specific. Add ARM only "dtb=" command
line option description.
Signed-off-by: Roy Franz
Signed-off-by: Leif Lindholm
Acked-by: Grant Likely
---
Documentation/efi-stub.txt | 27
From: Roy Franz
Add a wrapper for printk to standardize the prefix for informational and
error messages from the EFI stub.
Signed-off-by: Roy Franz
Signed-off-by: Leif Lindholm
---
drivers/firmware/efi/efi-stub-helper.c | 25 ++---
1 file changed, 14 insertions(+), 11
Certain operations can be considered mandatory for any piece of code
preparing to switch off the MMU. Break this out into separate function
idmap_prepare().
Signed-off-by: Leif Lindholm
Suggested-by: Will Deacon
Acked-by: Will Deacon
---
arch/arm/include/asm/idmap.h |1 +
arch/arm/kernel
: ignore dtb= when UEFI SecureBoot is enabled
H. Peter Anvin (1):
Improve cmdline conversion
Leif Lindholm (6):
arm: break part of __soft_restart out into separate function
arm: add new asm macro update_sctlr
Documentation: arm: add UEFI support documentation
arm: Add [U]EFI runtime
-by: Mark Salter
Signed-off-by: Leif Lindholm
---
drivers/firmware/efi/Kconfig |7
drivers/firmware/efi/efi.c | 79 ++
include/linux/efi.h |9 +
3 files changed, 95 insertions(+)
diff --git a/drivers/firmware/efi/Kconfig b
A new macro for setting/clearing bits in the SCTLR.
Signed-off-by: Leif Lindholm
Suggested-by: Will Deacon
Cc: Will Deacon
---
arch/arm/include/asm/assembler.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/include/asm/assembler.h b/arch/arm/include/asm
is also built with -fno-stack-protector.
Signed-off-by: Roy Franz
Signed-off-by: Leif Lindholm
---
arch/arm/boot/compressed/Makefile |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/compressed/Makefile
b/arch/arm/boot/compressed/Makefile
index 1415411..5fc32ae
Since the efi_set_virtual_address_map call has strict init ordering
requirements, add an explicit hook in the required place.
Signed-off-by: Leif Lindholm
Acked-by: Grant Likely
---
init/main.c |4
1 file changed, 4 insertions(+)
diff --git a/init/main.c b/init/main.c
index 2fd9cef
-helper.c.
Signed-off-by: Roy Franz
Signed-off-by: Leif Lindholm
Acked-by: Grant Likely
---
drivers/firmware/efi/fdt.c | 247
include/linux/efi.h|3 +
2 files changed, 250 insertions(+)
create mode 100644 drivers/firmware/efi/fdt.c
diff
On Wed, Jan 22, 2014 at 11:20:55AM +, Will Deacon wrote:
> > +#ifdef CONFIG_CPU_CP15
> > +/* Macro for setting/clearing bits in sctlr */
> > + .macro update_sctlr, set:req, clear:req, tmp:req, tmp2:req
> > + mrc p15, 0, \tmp, c1, c0, 0
> > + ldr \tmp2, =\set
> > + orr \tmp,
On Wed, Jan 29, 2014 at 03:58:44PM -0500, Mark Salter wrote:
> > (i.e. conditionalise on whether an optional parameter was provided),
> > so my attempt of refactoring actually ends up using an additional
> > register:
> >
>
> Register parameters are just strings, so how about this:
>
>
Hi Arnd,
Thank you for your comments.
On Fri, Dec 06, 2013 at 02:59:48AM +0100, Arnd Bergmann wrote:
> On Thursday 28 November 2013, Leif Lindholm wrote:
> > @@ -898,6 +900,10 @@ void __init setup_arch(char **cmdline_p)
> > sanity_check_meminfo();
> > arm_
Apologies for late feedback.
On Fri, Nov 29, 2013 at 05:05:12PM -0500, Mark Salter wrote:
> diff --git a/arch/arm64/kernel/efi.c b/arch/arm64/kernel/efi.c
> new file mode 100644
> index 000..1bad8a7
> --- /dev/null
> +++ b/arch/arm64/kernel/efi.c
> @@ -0,0 +1,507 @@
> +/*
> + * Extensible
__early_set_fixmap does not do any synchronization when called to set a
fixmap entry. Add call to flush_vmap_cache().
Tested on hardware.
Signed-off-by: Leif Lindholm
Tested-by: Graeme Gregory
Cc: Steve Capper
---
arch/arm64/mm/ioremap.c |5 +++--
1 file changed, 3 insertions(+), 2
On Fri, Jun 06, 2014 at 10:37:29AM -0400, Mark Salter wrote:
> On Fri, 2014-06-06 at 11:29 +0100, Leif Lindholm wrote:
> > __early_set_fixmap does not do any synchronization when called to set a
> > fixmap entry. Add call to flush_vmap_cache().
> >
> > Tested on ha
On Mon, Jun 09, 2014 at 12:03:56PM +0100, Catalin Marinas wrote:
> > > > > __early_set_fixmap does not do any synchronization when called to set
> > > > > a
> > > > > fixmap entry. Add call to flush_vmap_cache().
>
> Did you hit a problem or it was just for safety?
This fixes an abort when
This is the set of patches from the arm/arm64 UEFI support that are not
in fact architecture specific. This set depends on other EFI patches
already in linux-next.
H. Peter Anvin (1):
efi: x86: Improve cmdline conversion
Leif Lindholm (1):
efi: efi-stub-helper cleanup
Mark Salter (1):
efi
From: "H. Peter Anvin"
Improve the conversion of the UTF-16 EFI command line
to UTF-8 for passing to the kernel.
Signed-off-by: Roy Franz
Signed-off-by: H. Peter Anvin
Signed-off-by: Leif Lindholm
---
arch/x86/boot/compressed/eboot.c |3 +-
drivers/firmware/efi/efi-stu
From: Roy Franz
Add a wrapper for printk to standardize the prefix for informational and
error messages from the EFI stub.
Signed-off-by: Roy Franz
Signed-off-by: Leif Lindholm
---
drivers/firmware/efi/efi-stub-helper.c | 13 -
1 file changed, 8 insertions(+), 5 deletions
From: Roy Franz
Add the get_dram_base() function, shared by arm/arm64.
Signed-off-by: Roy Franz
Signed-off-by: Leif Lindholm
---
drivers/firmware/efi/efi-stub-helper.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/drivers/firmware/efi/efi-stub-helper.c
-off-by: Mark Salter
Signed-off-by: Leif Lindholm
---
include/linux/efi.h |6 ++
1 file changed, 6 insertions(+)
diff --git a/include/linux/efi.h b/include/linux/efi.h
index 6c100ff..82d0abb 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -863,6 +863,12 @@ extern int
not always
pick this up. Initialize to NULL to remove the resulting warning.
Signed-off-by: Leif Lindholm
---
drivers/firmware/efi/efi-stub-helper.c | 16 +++-
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/drivers/firmware/efi/efi-stub-helper.c
b/drivers/firmware
From: Mark Salter
Add explanation of arm64 EFI stub and kernel image header changes
needed to masquerade as a PE/COFF application.
Signed-off-by: Mark Salter
Signed-off-by: Leif Lindholm
Acked-by: Grant Likely
CC: linux-...@vger.kernel.org
CC: Rob Landley
---
Documentation/arm64
From: Ard Biesheuvel
Loading unauthenticated FDT blobs directly from storage is a security hazard,
so this should only be allowed when running with UEFI Secure Boot disabled.
Signed-off-by: Ard Biesheuvel
Signed-off-by: Leif Lindholm
Cc: Catalin Marinas
Cc: Matt Fleming
---
drivers
From: Mark Salter
This patch adds EFI runtime support for arm64. The runtime support allows
the kernel to access various EFI runtime services provided by EFI firmware.
Things like reboot, real time clock, EFI boot variables, and others.
Signed-off-by: Mark Salter
Signed-off-by: Leif Lindholm
-off-by: Ard Biesheuvel
Signed-off-by: Mark Salter
Signed-off-by: Leif Lindholm
Cc: Catalin Marinas
Cc: Matt Fleming
---
arch/arm64/Kconfig | 14 +++
arch/arm64/kernel/Makefile |3 +
arch/arm64/kernel/efi-entry.S | 100
arch/arm64/kernel/efi-stub.c
This patch provides documentation of the [U]EFI runtime service and
configuration features for the arm architecture.
Cc: Rob Landley
Cc: linux-...@vger.kernel.org
Signed-off-by: Leif Lindholm
Acked-by: Grant Likely
---
Documentation/arm/00-INDEX |2 ++
Documentation/arm/uefi.txt | 64
they are interdependent.
- EFI_DEVICE_TREE_GUID renamed DEVICE_TREE_GUID.
- Minor cleanups.
Ard Biesheuvel (1):
efi/arm64: ignore dtb= when UEFI SecureBoot is enabled
Leif Lindholm (1):
doc: arm: add UEFI support documentation
Mark Salter (6):
lib: add fdt_empty_tree.c
efi: add helper function to get
-helper.c.
Signed-off-by: Roy Franz
Signed-off-by: Leif Lindholm
Acked-by: Grant Likely
Cc: Matt Fleming
---
drivers/firmware/efi/fdt.c | 269
include/linux/efi.h|3 +
2 files changed, 272 insertions(+)
create mode 100644 drivers
for UEFI. This patch adds a create_id_mapping() function which reuses
the core code of the existing create_mapping().
Signed-off-by: Mark Salter
Signed-off-by: Leif Lindholm
Cc: Catalin Marinas
---
arch/arm64/include/asm/mmu.h |2 ++
arch/arm64/mm/mmu.c | 65
From: Mark Salter
CONFIG_LIBFDT support does not include fdt_empty_tree.c which is
needed by arm64 EFI stub. Add it to libfdt_files.
Signed-off-by: Mark Salter
Signed-off-by: Leif Lindholm
Cc: Andrew Morton
---
lib/Makefile |3 ++-
lib/fdt_empty_tree.c |2 ++
2 files changed
-by: Mark Salter
Signed-off-by: Leif Lindholm
Cc: Matt Fleming
---
drivers/firmware/efi/Kconfig |7
drivers/firmware/efi/efi.c | 79 ++
include/linux/efi.h |9 +
3 files changed, 95 insertions(+)
diff --git a/drivers/firmware
From: Roy Franz
Update efi-stub.txt documentation to be more general
and not x86 specific. Add ARM only "dtb=" command
line option description.
Signed-off-by: Roy Franz
Signed-off-by: Leif Lindholm
Acked-by: Grant Likely
---
Documentation/efi-stub.txt | 27
-kernel@vger.kernel.org
Cc: Mark Rutland
Leif Lindholm (3):
arm: dts: add device_type="memory" for ste-ccu8540
mips: dts: add device_type="memory" where missing
of: Handle memory@0 node on PPC32 only
arch/arm/boot/dts/ste-ccu8540.dts |1 +
arch/mips/lantiq/dts/eas
The current .dts for ste-ccu8540 lacks a 'device_type = "memory"' for
its memory node, relying on an old ppc quirk in order to discover its
memory. Add this, to permit that quirk to be made ppc only.
Signed-off-by: Leif Lindholm
Cc: linux-arm-ker...@lists.infradead.org
C
A few platforms lack a 'device_type = "memory"' for their memory
nodes, relying on an old ppc quirk in order to discover its memory.
Add this, to permit that quirk to be made ppc only.
Signed-off-by: Leif Lindholm
Cc: linux-m...@linux-mips.org
Cc: devicet...@vger.kernel.org
Cc: John C
In order to deal with an firmware bug on a specific ppc32 platform
(longtrail), early_init_dt_scan_memory() looks for a node called
memory@0 on all platforms. Restrict this quirk to ppc32 kernels only.
Signed-off-by: Leif Lindholm
Cc: linuxppc-...@lists.ozlabs.org
Cc: Grant Likely
Cc: Mark
On Thu, Apr 17, 2014 at 07:43:13PM -0500, Rob Herring wrote:
> On Thu, Apr 17, 2014 at 12:41 PM, Leif Lindholm
> wrote:
> > drivers/of/fdt.c contains a workaround for a missing memory type
> > entry on longtrail firmware. Make that quirk PPC32 only, and while
> > at it
Hi Geert,
On Fri, Apr 18, 2014 at 10:04:15AM +0200, Geert Uytterhoeven wrote:
> On Thu, Apr 17, 2014 at 7:42 PM, Leif Lindholm
> wrote:
> > In order to deal with an firmware bug on a specific ppc32 platform
> > (longtrail), early_init_dt_scan_memory() looks for a node called
&
On Fri, Apr 18, 2014 at 10:37:58AM -0500, Rob Herring wrote:
> >> But why do you need this?
> >
> > Apart from the current code permitting recreating a 15+ year old
> > firmware bug into completely new platform ports?
>
> I would prefer to see a "WARN_ON(!IS_ENABLED(CONFIG_PPC32));" added here.
On Fri, Apr 18, 2014 at 04:28:17PM -0500, Rob Herring wrote:
> >> > Apart from the current code permitting recreating a 15+ year old
> >> > firmware bug into completely new platform ports?
> >>
> >> I would prefer to see a "WARN_ON(!IS_ENABLED(CONFIG_PPC32));" added here.
> >
> > In addition to,
On Tue, Apr 22, 2014 at 02:08:29PM +0100, Grant Likely wrote:
> > I would prefer to see a "WARN_ON(!IS_ENABLED(CONFIG_PPC32));" added here.
>
> I completely agree.
OK. So do we keep this around on unaffected architectures in perpetuity?
Or can there be some cut-off date when the majority of
On Fri, Jun 20, 2014 at 10:28:48AM +0100, Catalin Marinas wrote:
> On Fri, Jun 20, 2014 at 10:00:08AM +0100, Matt Fleming wrote:
> > Please pull the following compiler warning fix. Sorry, I've been pretty
> > slow in getting this pull request sent. Multiple people have reported
> > hitting it and
On Fri, Jun 20, 2014 at 02:49:38PM +0100, Matt Fleming wrote:
> On Fri, 20 Jun, at 02:39:19PM, Leif Lindholm wrote:
> >
> > I did post an alternative patch for one half of this a week before
> > anyone else, but that one seems to have been ignored, even by gmane:
> > h
On Wed, Aug 06, 2014 at 04:38:25PM +0800, Dave Young wrote:
>
> Adding a noefi boot param like in X86 to disable efi runtime services support.
>
> This will be useful for debugging uefi problems. Also it will be useful
> for later kexec/kdump work. Kexec on uefi support in X86 depends on a fixed
On Wed, Aug 06, 2014 at 02:20:21PM +0100, Matt Fleming wrote:
> > Since this is really turning an x86-specific feature into a generic
> > one, could it be moved to core code?
> > Maybe an efi.mask, reusing the efi_enabled defines, with an
> > efi_disabled macro?
>
> Why the new efi_disabled()
On Wed, Aug 06, 2014 at 03:18:14PM +0100, Matt Fleming wrote:
> On Wed, 06 Aug, at 04:10:45PM, Ard Biesheuvel wrote:
> >
> > Shouldn't we clear the bit here if we failed to enable runtime
> > services for some reason? Other code may test the bit assuming that it
> > signifies that runtime
LK(ITCM_OFFSET, (unsigned long) itcm_end),
> #endif
> - MLK(FIXADDR_START, FIXADDR_TOP),
> + MLK(FIXADDR_START, FIXADDR_END),
> MLM(VMALLOC_START, VMALLOC_END),
> MLM(PAGE_OFFSET, (unsigned long)high_me
I'm afraid Aleksey is no longer assigned to Linaro (you will probably
have seen a bounce).
On Mon, Sep 11, 2017 at 11:11:49AM +0200, Andreas Schwab wrote:
> On Sep 27 2016, Aleksey Makarov wrote:
>
> > 'ARM Server Base Boot Requiremets' [1] mentions SPCR (Serial Port
> > Console Redirection
On Mon, Sep 11, 2017 at 02:28:20PM +0200, Andreas Schwab wrote:
> On Sep 11 2017, Graeme Gregory wrote:
>
> > Considering the SPCR table in question seems mildly insane, you could
> > always unload the SPCR in grub.
>
> How do you "unload the SPCR"? But in any case, console= should always
>
On Tue, Oct 10, 2017 at 11:23:32AM +0100, Mark Rutland wrote:
> On Tue, Oct 10, 2017 at 11:15:39AM +0100, Sudeep Holla wrote:
> > (+Mark, Grant)
> >
> > On 09/10/17 18:16, Chris Metcalf wrote:
> > > The Mellanox BlueField SoC firmware supports a safe upgrade mode as
> > > part of the flow where
On Tue, Jul 02, 2019 at 03:48:48PM -0700, Rob Clark wrote:
> > > There is one kernel, and there
> > > are N distro's, so debugging a users "I don't get a screen at boot"
> > > problem because their distro missed some shim patch really just
> > > doesn't seem like a headache I want to have.
> >
> >
On Fri, Nov 28, 2014 at 03:25:12PM +, Grant Likely wrote:
> On Fri, 28 Nov 2014 11:34:28 +
> , Leif Lindholm
> wrote:
> > On Fri, Nov 28, 2014 at 12:44:03AM +, Grant Likely wrote:
> > > > + separator = strchr(path, ':');
> >
variables, over
the legacy efivars interface, also build it by default as a module if
CONFIG_EFI.
Signed-off-by: Leif Lindholm
---
fs/Kconfig | 2 +-
fs/efivarfs/Kconfig | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/Kconfig b/fs/Kconfig
index 664991a..a6bb
ur build and we
> probably want to do something like unconditionally select
> CONFIG_EFI_ARM_STUB when CONFIG_EFI_STUB=y.
For arm64:
Tested-by: Leif Lindholm
> ---
>
> From 8054c405f0acc8ecb74b7e29675a1e6894afedb0 Mon Sep 17 00:00:00 2001
> From: Matt Fleming
> Date: Tue,
301 - 400 of 499 matches
Mail list logo