Re: [U-Boot] [PATCH v2 1/2] arm: at91: wdt: Convert watchdog driver to dm/dt

2018-09-22 Thread Petr Vorel
Hi Prasanthi, > Convert the Watchdog driver for AT91SAM9x processors to support > the driver model and device tree. > Signed-off-by: Prasanthi Chellakumar > --- > arch/arm/mach-at91/include/mach/at91_wdt.h | 12 +++- > drivers/watchdog/Kconfig | 7 ++ > drivers/watchdog/Mak

Re: [U-Boot] [PATCH v2 2/2] arm: at91: wdt: Convert watchdog config to Kconfig

2018-09-22 Thread Petr Vorel
Hi Prasanthi, > Convert "CONFIG_AT91SAM9_WATCHDOG" to new "CONFIG_WDT_AT91" > Kconfig option to support driver model and device tree. > Signed-off-by: Prasanthi Chellakumar > --- > README| 3 --- > arch/arm/dts/at91sam9260-smartweb.dts | 1 + > arch/arm/dts/at91s

Re: [U-Boot] [PATCH 02/11] efi_loader: Initial HII protocols

2018-09-22 Thread Heinrich Schuchardt
On 10/10/2017 02:22 PM, Rob Clark wrote: > From: Leif Lindholm > > Enough implementation of the following protocols to run Shell.efi and > SCT.efi: > > EfiHiiConfigRoutingProtocolGuid > EfiHiiDatabaseProtocol > EfiHiiStringProtocol The i386 Shell.efi also tries to open these before failin

[U-Boot] [PATCH v1 1/2] WIP: serial: Introduce ->getinfo() callback

2018-09-22 Thread Andy Shevchenko
TBD Signed-off-by: Andy Shevchenko --- drivers/serial/ns16550.c | 14 ++ drivers/serial/serial-uclass.c | 21 + include/common.h | 3 +++ include/serial.h | 14 ++ 4 files changed, 52 insertions(+) diff --git a/drive

[U-Boot] [PATCH v1 2/2] WIP: x86: acpi: Generate SPCR table

2018-09-22 Thread Andy Shevchenko
TBD Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/acpi_table.h | 25 ++ arch/x86/lib/acpi_table.c | 82 +++ 2 files changed, 107 insertions(+) diff --git a/arch/x86/include/asm/acpi_table.h b/arch/x86/include/asm/acpi_table.h index 95fae036

[U-Boot] [PATCH v1 0/2] ACPI: Generate SPCR table

2018-09-22 Thread Andy Shevchenko
This is a WIP series (I have no time to continue with it, so, that's why WIP) to enable SPCR table generation in U-Boot. This table is useful to get early console in Linux for debugging purposes. The benefit of using it is not only for x86, but also for arm64 community (actually they introduced sup

Re: [U-Boot] [PATCH v2 07/13] x86: Fix signed shift overflow in MSR_IA32_APICBASE_BASE

2018-09-22 Thread Eugeniu Rosca
Hi Bin, jFYI, I've created https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87392 ("UBSAN behavior on left-shifting 1 into the sign bit is dependent on C standard"), to get some recommendation from GCC guys how to handle these warnings in U-Boot. Regards, Eugeniu.

Re: [U-Boot] [PATCH v3 2/3] efi_loader: ARM: run EFI payloads non-secure

2018-09-22 Thread Heinrich Schuchardt
On 09/01/2018 12:21 PM, Alexander Graf wrote: > > > On 31.08.18 20:45, Mark Kettenis wrote: >>> From: Heinrich Schuchardt >>> Date: Fri, 31 Aug 2018 19:37:25 +0200 >>> >>> On 06/14/2018 12:41 AM, Mark Kettenis wrote: If desired (and possible) switch into HYP mode or non-secure SVC mode

[U-Boot] [PATCH 1/1] efi_loader: refactor loaded image handle

2018-09-22 Thread Heinrich Schuchardt
Currently we expect the loaded image handle to point to the loaded image protocol. Additionally we have appended private fields to the protocol. With the patch the handle points to a loaded image object and the private fields are added here. This matches how we handle the net and the gop object.

[U-Boot] [PATCH 1/1] efi_loader: avoid out of bound access in efi_get_variable()

2018-09-22 Thread Heinrich Schuchardt
In efi_get_variable() a string is longer than the allocated space which results in overwriting the linked list of malloc(). The prefixes used for variables are 41 characters long, e.g. efi_67029eb5-0af2-f6b1-da53-fcb566dd1ce6_ Change PREFIX_LEN to 41. Fixes: faff21556748 ("efi_loader: remove lim

[U-Boot] [PATCH 1/1] efi_selftest: test qemu-arm(64)_defconfig

2018-09-22 Thread Heinrich Schuchardt
We should run the EFI selftest on both a 32bit and a 64bit ARM platform on Travis to catch possible errors. Signed-off-by: Heinrich Schuchardt --- configs/qemu_arm64_defconfig | 1 + configs/qemu_arm_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/qemu_arm64_defconfig b

Re: [U-Boot] [PATCH v3 2/3] efi_loader: ARM: run EFI payloads non-secure

2018-09-22 Thread Jonathan Gray
On Sun, Sep 23, 2018 at 01:30:11AM +0200, Heinrich Schuchardt wrote: > On 09/01/2018 12:21 PM, Alexander Graf wrote: > > > > > > On 31.08.18 20:45, Mark Kettenis wrote: > >>> From: Heinrich Schuchardt > >>> Date: Fri, 31 Aug 2018 19:37:25 +0200 > >>> > >>> On 06/14/2018 12:41 AM, Mark Kettenis w

Re: [U-Boot] [PATCH v3 2/3] efi_loader: ARM: run EFI payloads non-secure

2018-09-22 Thread Heinrich Schuchardt
On 09/23/2018 04:39 AM, Jonathan Gray wrote: > On Sun, Sep 23, 2018 at 01:30:11AM +0200, Heinrich Schuchardt wrote: >> On 09/01/2018 12:21 PM, Alexander Graf wrote: >>> >>> >>> On 31.08.18 20:45, Mark Kettenis wrote: > From: Heinrich Schuchardt > Date: Fri, 31 Aug 2018 19:37:25 +0200 >