Re: [U-Boot] [PATCH v2 01/13] x86: doc: Fix reference to EFI doc in U-Boot

2018-06-13 Thread Bin Meng
Hi Heinrich, On Wed, Jun 13, 2018 at 7:06 AM, Bin Meng wrote: > Hi Heinrich, > > On Wed, Jun 13, 2018 at 12:04 AM, Heinrich Schuchardt > wrote: >> On 06/12/2018 05:36 PM, Bin Meng wrote: >>> Since commit f3b5056c4e72 ("efi_loader: split README.efi into two >>> separate documents"), the original

Re: [U-Boot] [PATCH 1/4] lib: fdtdec: Fill initial ram top with DDR start value from dt

2018-06-13 Thread Siva Durga Prasad Paladugu
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Saturday, June 09, 2018 3:29 AM > To: Michal Simek > Cc: Siva Durga Prasad Paladugu ; U-Boot Mailing List > ; Tom Rini > Subject: Re: [PATCH 1/4] lib: fdtdec: Fill initial ram

[U-Boot] [UBOOT PATCH] spi: zynq_qspi: Fixed incorrect return value error

2018-06-13 Thread Vipul Kumar
This patch replaced "return 0" with "return status" to fix the incorrect return value error reported by the coverity. Signed-off-by: Vipul Kumar --- drivers/spi/zynq_qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/zynq_qspi.c b/drivers/spi/zynq_qspi.c index

[U-Boot] [PATCH] microblaze: Add new syscalls io_pgetevents and rseq

2018-06-13 Thread Michal Simek
Wire up new syscalls io_pgetevents and rseq. Signed-off-by: Michal Simek --- arch/microblaze/include/asm/unistd.h | 2 +- arch/microblaze/include/uapi/asm/unistd.h | 2 ++ arch/microblaze/kernel/syscall_table.S| 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/m

[U-Boot] [PATCH v2] usb: sunxi: access ahb_reset0_cfg in CCM using its offset

2018-06-13 Thread Vasily Khoruzhick
struct sunxi_ccm_reg doesn't have ahb_reset0_cfg on sun4i and sun5i, thus compilation fails with: drivers/usb/host/ohci-sunxi.c:96:26: error: 'struct sunxi_ccm_reg' has no member named 'ahb_reset0_cfg' Access this reg using its offset to fix this issue. Fixes commit 1ed9c1118 ("usb: sunxi: ehci:

Re: [U-Boot] [PATCH] usb: sunxi: don't touch reset bits in ccm if CONFIG_SUNXI_GEN_SUN6I is not defined

2018-06-13 Thread Jagan Teki
On Thu, Jun 14, 2018 at 11:06 AM, Vasily Khoruzhick wrote: > On Wed, Jun 13, 2018 at 10:29 PM, Jagan Teki wrote: >> On Thu, Jun 14, 2018 at 9:01 AM, Vasily Khoruzhick >> wrote: >>> On Wed, Jun 13, 2018 at 8:23 PM, Chen-Yu Tsai wrote: >>> > + if (priv->cfg->has_reset) { > +#ifdef

Re: [U-Boot] [PATCH] usb: sunxi: don't touch reset bits in ccm if CONFIG_SUNXI_GEN_SUN6I is not defined

2018-06-13 Thread Vasily Khoruzhick
On Wed, Jun 13, 2018 at 10:29 PM, Jagan Teki wrote: > On Thu, Jun 14, 2018 at 9:01 AM, Vasily Khoruzhick wrote: >> On Wed, Jun 13, 2018 at 8:23 PM, Chen-Yu Tsai wrote: >> + if (priv->cfg->has_reset) { +#ifdef CONFIG_SUNXI_GEN_SUN6I >>> >>> The "has_reset" field is supposed to dea

Re: [U-Boot] [PATCH] usb: sunxi: don't touch reset bits in ccm if CONFIG_SUNXI_GEN_SUN6I is not defined

2018-06-13 Thread Jagan Teki
On Thu, Jun 14, 2018 at 9:01 AM, Vasily Khoruzhick wrote: > On Wed, Jun 13, 2018 at 8:23 PM, Chen-Yu Tsai wrote: > >>> + if (priv->cfg->has_reset) { >>> +#ifdef CONFIG_SUNXI_GEN_SUN6I >> >> The "has_reset" field is supposed to deal with this. Is it not working? > > There's no ahb_reset0_cfg

[U-Boot] [PATCH] clk: rmobile: Add R8A77995 RPC clock

2018-06-13 Thread Marek Vasut
Add missing RPC entry into the R8A77995 clock driver tables. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/r8a77995-cpg-mssr.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c b/drivers/clk/renesas/r8a77995-cpg-mssr.c i

[U-Boot] [PATCH] ARM: rmobile: Enable RPCHF on Draak

2018-06-13 Thread Marek Vasut
Enable the Renesas RPC HF driver on R8A77995 D3 Draak. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a77995_draak_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/r8a77995_draak_defconfig b/configs/r8a77995_draak_defconfig index d3cccec8fc..f451950add 10064

Re: [U-Boot] [PATCH] usb: sunxi: don't touch reset bits in ccm if CONFIG_SUNXI_GEN_SUN6I is not defined

2018-06-13 Thread Vasily Khoruzhick
On Wed, Jun 13, 2018 at 8:23 PM, Chen-Yu Tsai wrote: >> + if (priv->cfg->has_reset) { >> +#ifdef CONFIG_SUNXI_GEN_SUN6I > > The "has_reset" field is supposed to deal with this. Is it not working? There's no ahb_reset0_cfg in ccm on sun4i and sun5i, so compilation fails with drivers/usb/ho

Re: [U-Boot] [PATCH] usb: sunxi: don't touch reset bits in ccm if CONFIG_SUNXI_GEN_SUN6I is not defined

2018-06-13 Thread Chen-Yu Tsai
On Thu, Jun 14, 2018 at 11:04 AM, Vasily Khoruzhick wrote: > CCM in sun4i and sun5i doesn't have reset. > > Fixes commit 1ed9c1118 ("usb: sunxi: ehci: get rid of ifdefs") > and commit 56830cee3 ("usb: sunxi: ohci: get rid of ifdefs") > > Signed-off-by: Vasily Khoruzhick > --- > drivers/usb/host/

[U-Boot] [PATCH] usb: sunxi: don't touch reset bits in ccm if CONFIG_SUNXI_GEN_SUN6I is not defined

2018-06-13 Thread Vasily Khoruzhick
CCM in sun4i and sun5i doesn't have reset. Fixes commit 1ed9c1118 ("usb: sunxi: ehci: get rid of ifdefs") and commit 56830cee3 ("usb: sunxi: ohci: get rid of ifdefs") Signed-off-by: Vasily Khoruzhick --- drivers/usb/host/ehci-sunxi.c | 10 -- drivers/usb/host/ohci-sunxi.c | 10 -

[U-Boot] [PATCH 1/2] Revert "powerpc/p1_p2_rdb_pc: Fix endian access issue on EHCI intinalization"

2018-06-13 Thread Ran Wang
There was an EHCI endian accessor issue. Now it's fixed by commit 9829ce2ff25c ("usb: ehci: Fix accessors for big-endian platforms and descriptors"). Revert commit 0f2296bab141 ("powerpc/p1_p2_rdb_pc: Fix endian access issue on EHCI intinalization") due to it fix that issue in a wrong way. Actual

[U-Boot] [PATCH 2/2] Revert "powerpc/T104xRDB: Fix endian access issue on EHCI intinalization"

2018-06-13 Thread Ran Wang
There was an EHCI endian accessor issue. Now it's fixed by commit 9829ce2ff25c ("usb: ehci: Fix accessors for big-endian platforms and descriptors") Revert commit e6a727fffec7b2002e ("powerpc/T104xRDB: Fix endian access issue on EHCI intinalization") due to it fix that issue in a wrong way. Actua

[U-Boot] [PATCH v6 5/5] net: designware: Add reset ctrl to driver

2018-06-13 Thread Ley Foon Tan
Add code to reset all reset signals as in Ethernet DT node. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Signed-off-by: Ley F

[U-Boot] [PATCH v6 4/5] serial: ns16550: Add reset ctrl to driver

2018-06-13 Thread Ley Foon Tan
Add code to reset all reset signals as in serial DT node. A reset property is an optional feature, so do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Signed-off-by: Ley Foon Tan Reviewed-by: Marek Vas

[U-Boot] [PATCH v6 2/5] include: reset: Change to use CONFIG_IS_ENABLED(DM_RESET)

2018-06-13 Thread Ley Foon Tan
Change to use CONFIG_IS_ENABLED(DM_RESET), so this can work in SPL build (CONFIG_SPL_DM_RESET) and U-boot build (CONFIG_DM_RESET). Signed-off-by: Ley Foon Tan --- include/reset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/reset.h b/include/reset.h index 201bafc..

[U-Boot] [PATCH v6 3/5] mmc: dwmmc: socfpga: Add reset ctrl to driver

2018-06-13 Thread Ley Foon Tan
Add code to reset all reset signals as in mmc DT node. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Signed-off-by: Ley Foon T

[U-Boot] [PATCH v6 1/5] reset: Rename CONFIG_SPL_RESET_SUPPORT to CONFIG_SPL_DM_RESET

2018-06-13 Thread Ley Foon Tan
Rename CONFIG_SPL_RESET_SUPPORT to CONFIG_SPL_DM_RESET, so can use CONFIG_IS_ENABLED(DM_RESET) checking in reset.h later. Signed-off-by: Ley Foon Tan --- arch/arm/mach-stm32mp/Kconfig | 2 +- common/spl/Kconfig| 2 +- drivers/Makefile | 2 +- 3 files changed, 3 insertion

[U-Boot] [PATCH v6 0/5] drivers: Add reset ctrl to drivers

2018-06-13 Thread Ley Foon Tan
Add reset ctrl to dwmmc socfpga, designware Ethernet and ns16550 serial drivers. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of res

[U-Boot] [PATCH 2/2] configs: dragonboard410c: remove env partition offset

2018-06-13 Thread Ramon Fried
BOOT2 is not partitioned, no need for partition offset. Signed-off-by: Ramon Fried --- arch/arm/dts/dragonboard410c-uboot.dtsi | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/dts/dragonboard410c-uboot.dtsi b/arch/arm/dts/dragonboard410c-uboot.dtsi index b968f5eb68..5675086c91 10

[U-Boot] [PATCH 1/2] configs: db410c: Set eMMC env partition to BOOT2

2018-06-13 Thread Ramon Fried
BOOT2 partition is empty and free for using to store the environment. Use that instead of the default user partition. Signed-off-by: Ramon Fried --- include/configs/dragonboard410c.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonbo

[U-Boot] [PATCH] configs: db410c: Set eMMC env partition to BOOT2

2018-06-13 Thread Ramon Fried
BOOT2 partition is empty and free for using to store the environment. Use that instead of the default user partition. Signed-off-by: Ramon Fried --- include/configs/dragonboard410c.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonbo

Re: [U-Boot] [PATCH v2] x86: Add 64-bit setjmp/longjmp implementation

2018-06-13 Thread Ivan Gorinov
On Tue, Jun 12, 2018 at 05:57:34PM +0200, Heinrich Schuchardt wrote: > On 06/06/2018 08:28 PM, Ivan Gorinov wrote: > > Add setjmp/longjmp functions for x86_64. > > The FPU control word and MXCSR control bits are preserved across calls. > > With this patch > > make mrproper && make qemu-x86_64_def

[U-Boot] [PATCH v5] x86: use EFI calling convention for efi_main on x86_64

2018-06-13 Thread Ivan Gorinov
UEFI specifies the calling convention used in Microsoft compilers; first arguments of a function are passed in (%rcx, %rdx, %r8, %r9). All other compilers use System V ABI by default, passing first integer arguments of a function in (%rdi, %rsi, %rdx, %rcx, %r8, %r9). These ABI also specify diffe

[U-Boot] [PATCH v5] x86: use EFI calling convention for efi_main on x86_64

2018-06-13 Thread Ivan Gorinov
UEFI specifies the calling convention used in Microsoft compilers; first arguments of a function are passed in (%rcx, %rdx, %r8, %r9). All other compilers use System V ABI by default, passing first integer arguments of a function in (%rdi, %rsi, %rdx, %rcx, %r8, %r9). These ABI also specify diffe

Re: [U-Boot] [PATCH 2/4] ARM: Introduce ability to enable invalidate of BTB with ICIALLU on Cortex-A15 for CVE-2017-5715

2018-06-13 Thread Marek Vasut
On 06/13/2018 11:32 PM, Nishanth Menon wrote: > On 15:46-20180613, Tom Rini wrote: >> On Wed, Jun 13, 2018 at 08:32:15AM -0500, Nishanth Menon wrote: >>> On 23:05-20180612, Marek Vasut wrote: >>>> On 06/12/2018 10:24 PM, Nishanth Menon

[U-Boot] [PATCH v3 3/3] Revert "efi_loader: no support for ARMV7_NONSEC=y"

2018-06-13 Thread Mark Kettenis
This reverts commit c524997acb3d322e1bbd36c06ad02ef589705e7c. Booting ARMv7 in non-secure mode using bootefi works now. Signed-off-by: Mark Kettenis --- doc/README.uefi| 2 -- lib/efi_loader/Kconfig | 2 -- 2 files changed, 4 deletions(-) diff --git a/doc/README.uefi b/doc/README.uefi

Re: [U-Boot] [PATCH 1/2] net: Add option to prefer bootp/dhcp serverip

2018-06-13 Thread Joe Hershberger
On Wed, Jun 13, 2018 at 3:46 AM, Rick Chen wrote: > Hi Joe and Alex > > > After trace, I found that in store_net_params( ) > if CONFIG_BOOTP_SERVERIP is not define, > net_boot_file_name will be replaced by bp->bp_file > > copy_filename(net_boot_file_name, bp->bp_file,sizeof(net_boot_file_name)); >

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

2018-06-13 Thread Mark Kettenis
If desired (and possible) switch into HYP mode or non-secure SVC mode before calling the entry point of an EFI application. This allows U-Boot to provide a usable PSCI implementation and makes it possible to boot kernels into hypervisor mode using an EFI bootloader. Based on diffs from Heinrich S

[U-Boot] [PATCH v3 1/3] ARM: HYP/non-sec: migrate stack

2018-06-13 Thread Mark Kettenis
The current code that switches into HYP mode doesn't bother to set up a stack for HYP mode. This doesn't work for EFI applications as they expect a usable stack. Fix this by migrating the stack pointer from SP_svc to SP_hyp while in Monitor mode. This restores the stack pointer when we drop into

[U-Boot] [PATCH v3 0/3] efi_loader: ARM: add support for ARMV7_NONSEC=y

2018-06-13 Thread Mark Kettenis
This series makes it possible to run EFI applications in non-secure mode. It allows me to run OpenBSD on the Technexion PICO-PI-IMX7 and Banana Pi boards using the PSCI implementation provided by U-Boot. The second version avoids using r3 to pass the original stack pointer. For some reason that r

Re: [U-Boot] [PATCH 0/3] efi_loader: ARM: add support for ARMV7_NONSEC=y

2018-06-13 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Tue, 12 Jun 2018 20:00:28 +0200 > > On 06/12/2018 07:27 PM, Mark Kettenis wrote: > > This series makes it possible to run EFI applications in non-secure > > mode. It allows me to run OpenBSD on the imx7d-pico-pi board while > > using the PSCI implementation pr

[U-Boot] [PATCH v2 0/3] efi_loader: ARM: add support for ARMV7_NONSEC=y

2018-06-13 Thread Mark Kettenis
This series makes it possible to run EFI applications in non-secure mode. It allows me to run OpenBSD on the Technexion PICO-PI-IMX7 and Banana Pi boards using the PSCI implementation provided by U-Boot. This second version avoid using r3 to pass the original stack pointer. For some reason that r

[U-Boot] [PATCH v2 3/3] Revert "efi_loader: no support for ARMV7_NONSEC=y"

2018-06-13 Thread Mark Kettenis
This reverts commit c524997acb3d322e1bbd36c06ad02ef589705e7c. Booting ARMv7 in non-secure mode using bootefi works now. Signed-off-by: Mark Kettenis --- doc/README.uefi| 2 -- lib/efi_loader/Kconfig | 2 -- 2 files changed, 4 deletions(-) diff --git a/doc/README.uefi b/doc/README.uefi

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

2018-06-13 Thread Mark Kettenis
If desired (and possible) switch into HYP mode or non-secure SVC mode before calling the entry point of an EFI application. This allows U-Boot to provide a usable PSCI implementation and makes it possible to boot kernels into hypervisor mode using an EFI bootloader. Based on diffs from Heinrich S

[U-Boot] [PATCH v2 1/3] ARM: HYP/non-sec: migrate stack

2018-06-13 Thread Mark Kettenis
The current code that switches into HYP mode doesn't bother to set up a stack for HYP mode. This doesn't work for EFI applications as they expect a usable stack. Fix this by migrating the stack pointer from SP_svc to SP_hyp while in Monitor mode. This restores the stack pointer when we drop into

Re: [U-Boot] [PATCH 3/4] ARM: mach-omap2: omap5/dra7: Enable ACTLR[0] (Enable invalidates of BTB) to facilitate CVE_2017-5715 WA in OS

2018-06-13 Thread Russell King - ARM Linux
On Wed, Jun 13, 2018 at 10:36:56PM +0200, Marek Vasut wrote: > On 06/13/2018 07:36 PM, Russell King - ARM Linux wrote: > > On Wed, Jun 13, 2018 at 01:06:13AM +0200, Marek Vasut wrote: > >> On 06/12/2018 10:24 PM, Nishanth Menon wrote: > >>> Enable CVE_2017_5715 and since we have our own v7_arch_cp1

Re: [U-Boot] [PATCH 2/4] ARM: Introduce ability to enable invalidate of BTB with ICIALLU on Cortex-A15 for CVE-2017-5715

2018-06-13 Thread Florian Fainelli
On 06/13/2018 06:37 AM, Nishanth Menon wrote: > On 00:30-20180613, Florian Fainelli wrote: >> On June 12, 2018 1:24:09 PM PDT, Nishanth Menon wrote: >>> As recommended by Arm in [1], ACTLR[0] (Enable invalidates of BTB) >>> needs to be set[2] for BTB to be invalidate

Re: [U-Boot] [PATCH 2/4] ARM: Introduce ability to enable invalidate of BTB with ICIALLU on Cortex-A15 for CVE-2017-5715

2018-06-13 Thread Nishanth Menon
On 15:46-20180613, Tom Rini wrote: > On Wed, Jun 13, 2018 at 08:32:15AM -0500, Nishanth Menon wrote: > > On 23:05-20180612, Marek Vasut wrote: > > > On 06/12/2018 10:24 PM, Nishanth Menon wrote: > > [..] > > > > +#ifdef CONFIG_ARM_CORTEX_A15_CVE_2017_5715 > &

Re: [U-Boot] [PATCH 3/4] ARM: mach-omap2: omap5/dra7: Enable ACTLR[0] (Enable invalidates of BTB) to facilitate CVE_2017-5715 WA in OS

2018-06-13 Thread Nishanth Menon
On 20:36-20180613, Marek Vasut wrote: > On 06/13/2018 07:36 PM, Russell King - ARM Linux wrote: > > On Wed, Jun 13, 2018 at 01:06:13AM +0200, Marek Vasut wrote: > >> On 06/12/2018 10:24 PM, Nishanth Menon wrote: > >>> Enable CVE_2017_5715 and since we hav

Re: [U-Boot] [PATCH 3/4] ARM: mach-omap2: omap5/dra7: Enable ACTLR[0] (Enable invalidates of BTB) to facilitate CVE_2017-5715 WA in OS

2018-06-13 Thread Marek Vasut
On 06/13/2018 07:36 PM, Russell King - ARM Linux wrote: > On Wed, Jun 13, 2018 at 01:06:13AM +0200, Marek Vasut wrote: >> On 06/12/2018 10:24 PM, Nishanth Menon wrote: >>> Enable CVE_2017_5715 and since we have our own v7_arch_cp15_set_acr >>> function to setup the bits, we are able to override the

[U-Boot] [PATCH 4/4] ARM: dts: rmobile: Enable SDHI on E3 Ebisu

2018-06-13 Thread Marek Vasut
Enable SDHI on R8A77990 E3 Ebisu in DT. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77990-ebisu.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/dts/r8a77990-ebisu.dts b/arch/arm/dts/r8a77990-ebisu.dts index ad4923888d..08991bb5c6 100644

[U-Boot] [PATCH 2/4] ARM: dts: rmobile: Add SCIF2 pinmux to E3 Ebisu

2018-06-13 Thread Marek Vasut
Add SCIF2 pinmux nodes to R8A77990 E3 Ebisu. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77990-ebisu.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/dts/r8a77990-ebisu.dts b/arch/arm/dts/r8a77990-ebisu.dts index 8fd9fd1b4d..ad4923888d

[U-Boot] [PATCH 3/4] ARM: dts: rmobile: Add initial SDHI nodes to R8A77990 E3

2018-06-13 Thread Marek Vasut
Add SDHI nodes to R8A77990 E3 SoC to allow SDHI operation. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77990.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/dts/r8a77990.dtsi b/arch/arm/dts/r8a77990.dtsi index 4f77be2a60..6d2d

[U-Boot] [PATCH 1/4] ARM: dts: rmobile: Add Renesas RPC HF/QSPI DT node to R8A77990

2018-06-13 Thread Marek Vasut
Add device tree nodes for the Renesas RPC HF/QSPI controller to R8A77990 E3. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77990.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/r8a77990.dtsi b/arch/arm/dts/r8a77990.dtsi index be4f519711..4f77

[U-Boot] [PATCH] clk: rmobile: Add R8A77990 RPC clock

2018-06-13 Thread Marek Vasut
Add missing RPC entry into the R8A77990 clock driver tables. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/r8a77990-cpg-mssr.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/clk/renesas/r8a77990-cpg-mssr.c b/drivers/clk/renesas/r8a77990-cpg-mssr.c i

Re: [U-Boot] [U-Boot, v4, 2/2] test/py: add test for whitelist of variables while importing environment

2018-06-13 Thread Tom Rini
On Wed, Jun 13, 2018 at 08:53:12PM +0200, Quentin Schulz wrote: > Hi Tom, > > On Wed, Jun 13, 2018 at 11:43:32AM -0400, Tom Rini wrote: > > On Mon, Jun 04, 2018 at 11:47:30AM +0200, Quentin Schulz wrote: > > > > > This tests that the importing of an environment with a specified > > > whitelist wo

Re: [U-Boot] net: zynq_gem: Fix return type for phy...()

2018-06-13 Thread Joe Hershberger
Hi Michal, https://patchwork.ozlabs.org/patch/928736/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] mvebu: neta: align DMA buffers

2018-06-13 Thread Joe Hershberger
Hi Baruch, https://patchwork.ozlabs.org/patch/922540/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: designware: set the PS bit when resetting DMA bus in MII configuration

2018-06-13 Thread Joe Hershberger
Hi Quentin, https://patchwork.ozlabs.org/patch/924934/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: zynq_gem: Initialize phyreg variable

2018-06-13 Thread Joe Hershberger
Hi Michal, https://patchwork.ozlabs.org/patch/928754/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: mv88e61xx: Force CPU port link up

2018-06-13 Thread Joe Hershberger
Hi Chris, https://patchwork.ozlabs.org/patch/924667/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: mvgbe: extract common code for SMI wait

2018-06-13 Thread Joe Hershberger
Hi Chris, https://patchwork.ozlabs.org/patch/927112/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: nfs: don't fail when nfs_read_reply returns -NFS_RPC_DROP

2018-06-13 Thread Joe Hershberger
Hi Vasily, https://patchwork.ozlabs.org/patch/913047/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: sunxi: Correct MAC address register order

2018-06-13 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/907230/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: gem: Check return value from memalign/malloc

2018-06-13 Thread Joe Hershberger
Hi Michal, https://patchwork.ozlabs.org/patch/928884/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: add Socionext AVE ethernet driver support

2018-06-13 Thread Joe Hershberger
Hi Kunihiko, https://patchwork.ozlabs.org/patch/919761/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: include/phy.h: add new mode for internal phy

2018-06-13 Thread Joe Hershberger
Hi Radu, https://patchwork.ozlabs.org/patch/917806/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] drivers/net/vsc9953: Initialize action RAM in VCAP complex

2018-06-13 Thread Joe Hershberger
Hi Kunihiko, https://patchwork.ozlabs.org/patch/915965/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] tsec: Fix reading phy registers from DT

2018-06-13 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/905736/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Protect net_state from reentrant net_loop()

2018-06-13 Thread Joe Hershberger
Hi Leonid, https://patchwork.ozlabs.org/patch/910202/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: cpsw: ti: Reap completed packets before stopping interface

2018-06-13 Thread Joe Hershberger
Hi Alex, https://patchwork.ozlabs.org/patch/912382/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Express LINK_LOCAL dependency on LIB_RAND

2018-06-13 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/906803/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net/phy/cortina: Add support for CS4223 PHY

2018-06-13 Thread Joe Hershberger
Hi Vicentiu, https://patchwork.ozlabs.org/patch/907515/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Initialize as many ethernet devices as possible

2018-06-13 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/905737/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Always align tx packets

2018-06-13 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/892179/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] Pull request: u-boot-net.git master

2018-06-13 Thread Joe Hershberger
Hi Tom, The following changes since commit acaee30608ce203289a180d664b7f0abb2e64ee7: ARM: DTS: resync a3517.dtsi with Linux 4.17 (2018-06-13 07:49:14 -0400) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to 5b2c9a6ce3ce66796e8c37

Re: [U-Boot] [U-Boot, v4, 2/2] test/py: add test for whitelist of variables while importing environment

2018-06-13 Thread Stephen Warren
On 06/13/2018 12:53 PM, Quentin Schulz wrote: Hi Tom, On Wed, Jun 13, 2018 at 11:43:32AM -0400, Tom Rini wrote: On Mon, Jun 04, 2018 at 11:47:30AM +0200, Quentin Schulz wrote: This tests that the importing of an environment with a specified whitelist works as intended. If there are variables

Re: [U-Boot] [U-Boot, v4, 2/2] test/py: add test for whitelist of variables while importing environment

2018-06-13 Thread Quentin Schulz
Hi Tom, On Wed, Jun 13, 2018 at 11:43:32AM -0400, Tom Rini wrote: > On Mon, Jun 04, 2018 at 11:47:30AM +0200, Quentin Schulz wrote: > > > This tests that the importing of an environment with a specified > > whitelist works as intended. > > > > If there are variables passed as parameter to the en

Re: [U-Boot] [PATCH] net: gem: Check return value from mealign/malloc

2018-06-13 Thread Joe Hershberger
On Wed, Jun 13, 2018 at 8:20 AM, Michal Simek wrote: > Functions can return NULL in case of error that's why checking return > value is needed. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH] net: zynq_gem: Initialize phyreg variable

2018-06-13 Thread Joe Hershberger
On Wed, Jun 13, 2018 at 3:33 AM, Michal Simek wrote: > In case of phyread()/phy_setup_op() timeout code is working with > uninitialized phyreg variable. Initialize this variable to make sure > that code it not working with random value. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH] net: zynq_gem: Fix return type for phy...()

2018-06-13 Thread Joe Hershberger
On Wed, Jun 13, 2018 at 3:00 AM, Michal Simek wrote: > wait_for_bit_le32 returns negative value on failure. Fix phy...() to > handle these failures properly. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@list

Re: [U-Boot] [PATCH 2/4] soc: qualcomm: Add Shared Memory Manager driver

2018-06-13 Thread Ramon Fried
On June 9, 2018 2:17:45 PM GMT+03:00, Heinrich Schuchardt wrote: >On 06/09/2018 12:29 PM, Ramon Fried wrote: >> On Sat, Jun 9, 2018 at 1:12 PM, Heinrich Schuchardt > wrote: >>> On 06/09/2018 01:06 PM, Ramon Fried wrote: The Shared Memory Manager driver implements an interface for >allocating

Re: [U-Boot] [PATCH 3/4] ARM: mach-omap2: omap5/dra7: Enable ACTLR[0] (Enable invalidates of BTB) to facilitate CVE_2017-5715 WA in OS

2018-06-13 Thread Russell King - ARM Linux
On Wed, Jun 13, 2018 at 01:06:13AM +0200, Marek Vasut wrote: > On 06/12/2018 10:24 PM, Nishanth Menon wrote: > > Enable CVE_2017_5715 and since we have our own v7_arch_cp15_set_acr > > function to setup the bits, we are able to override the settings. > > > > Without this enabled, Linux kernel repo

Re: [U-Boot] [PATCH v5 2/5] include: reset: Change to use CONFIG_IS_ENABLED(DM_RESET)

2018-06-13 Thread Joe Hershberger
On Tue, Jun 12, 2018 at 9:23 PM, Ley Foon Tan wrote: > On Wed, Jun 13, 2018 at 5:02 AM, Joe Hershberger > wrote: >> On Mon, Jun 4, 2018 at 2:19 AM, Ley Foon Tan wrote: >>> Change to use CONFIG_IS_ENABLED(DM_RESET), so this can work in SPL >>> build (CONFIG_SPL_DM_RESET) and U-boot build (CONFIG

Re: [U-Boot] [PATCH 2/4] soc: qualcomm: Add Shared Memory Manager driver

2018-06-13 Thread Ramon Fried
On June 13, 2018 4:29:03 AM GMT+03:00, Simon Glass wrote: >Hi Ramon, > >On 12 June 2018 at 02:50, Ramon Fried wrote: >> On June 11, 2018 10:38:45 PM GMT+03:00, Simon Glass > wrote: >>>Hi Ramon, >>> >>>On 11 June 2018 at 13:14, Ramon Fried wrote: On Mon, Jun 11, 2018 at 5:53 PM, Si

Re: [U-Boot] [PATCH v2 4/5] lib: Import hexdump.c from Linux

2018-06-13 Thread Alexey Brodkin
On Wed, 2018-06-13 at 10:24 +0200, Mario Six wrote: > Hi Alexey, > > On Mon, Jun 4, 2018 at 6:05 PM, Alexey Brodkin > wrote: > > Hi Mario, > > > > On Wed, 2018-05-23 at 14:09 +0200, Mario Six wrote: > > > Especially for commands, it is useful to be able to turn a hexadecimal > > > string into it

Re: [U-Boot] [PATCH 2/4] ARM: Introduce ability to enable invalidate of BTB with ICIALLU on Cortex-A15 for CVE-2017-5715

2018-06-13 Thread Tom Rini
On Wed, Jun 13, 2018 at 08:32:15AM -0500, Nishanth Menon wrote: > On 23:05-20180612, Marek Vasut wrote: > > On 06/12/2018 10:24 PM, Nishanth Menon wrote: > [..] > > > +#ifdef CONFIG_ARM_CORTEX_A15_CVE_2017_5715 > > > + mrc p15, 0, r0, c1, c0, 1 @ read auxilary control register > > > + orr

Re: [U-Boot] [U-Boot, v4, 2/2] test/py: add test for whitelist of variables while importing environment

2018-06-13 Thread Tom Rini
On Mon, Jun 04, 2018 at 11:47:30AM +0200, Quentin Schulz wrote: > This tests that the importing of an environment with a specified > whitelist works as intended. > > If there are variables passed as parameter to the env import command, >those only should be imported in the current environment

Re: [U-Boot] env: Add !ENV_IS_IN_EXT4 dependency to ENV_IS_NOWHERE

2018-06-13 Thread Tom Rini
On Fri, Jun 08, 2018 at 07:10:27AM +, Alex Kiernan wrote: > If ENV_IS_IN_EXT4 is set you shouldn't be able to select ENV_IS_NOWHERE. > > Signed-off-by: Alex Kiernan > Reviewed-by: Simon Glass > Tested-by: Petr Vorel Applied to u-boot/master, thanks! -- Tom signature.asc Description: P

Re: [U-Boot] [U-Boot, v2] script: Make get_default_envs.sh script exclude tools/env

2018-06-13 Thread Tom Rini
On Tue, Jun 05, 2018 at 02:28:54PM +0900, Seung-Woo Kim wrote: > If building envtools, there is env directory in tools directory. > Make the get_default_envs.sh script exclude tools/env directory. > > Signed-off-by: Seung-Woo Kim Applied to u-boot/master, thanks! -- Tom signature.asc Descri

Re: [U-Boot] AM3517_EVM: Fix Environmental location

2018-06-13 Thread Tom Rini
On Wed, Jun 06, 2018 at 02:39:50PM -0500, Adam Ford wrote: > The am3517-evm boards stores the environment in NAND, but after merging > various configs, the board was trying to load environment variables from > FAT which would ultimately fail and cause some chatter. > > This patch removes the ENV_

Re: [U-Boot] [U-Boot,v3] lib: Add hexdump

2018-06-13 Thread Tom Rini
On Tue, Jun 05, 2018 at 05:17:57PM +0300, Alexey Brodkin wrote: > Often during debugging session it's very interesting to see > what data we were dealing with. For example what we write or read > to/from memory or peripherals. > > This change introduces functions that allow to dump binary > data

Re: [U-Boot] ARM: am3517_evm: Enable SPL_OF_CONTROL and SPL_OF_PLATDATA

2018-06-13 Thread Tom Rini
On Fri, Jun 08, 2018 at 09:22:30AM -0500, Adam Ford wrote: > The SPL doesn't have much room, so in order to support OF_CONTROL > in SPL, we need the extra functionality of SPL_OF_PLATDATA. > > Adding these features allows us to remove a small part of code without > losing the serial port during S

Re: [U-Boot] [U-Boot,2/2] dra76: fix HDMI HPD pinmux

2018-06-13 Thread Tom Rini
On Fri, Jun 08, 2018 at 12:51:20PM +0300, Tomi Valkeinen wrote: > The pin used for HDMI HPD should be set to GPIO mode on DRA76, similarly > to all the other DRA7 and AM5 SoCs. > > Signed-off-by: Tomi Valkeinen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signatur

Re: [U-Boot] [U-Boot,u-boot] ARM64: meson: Sync DT with Linux 4.17

2018-06-13 Thread Tom Rini
On Tue, Jun 05, 2018 at 10:10:44AM +0200, Neil Armstrong wrote: > Synchronize the Linux Device Tree for Amlogic Meson GX boards from Linux > 4.17.0 > > This will enable USB on Amlogic Meson GXL Boards like Khadas VIM, P212 or > LibreTech-CC. > > Signed-off-by: Neil Armstrong Applied to u-boot

Re: [U-Boot] fs: btrfs: Fix not all CHUNK_ITEMs being read from CHUNK_TREE

2018-06-13 Thread Tom Rini
On Tue, Jun 05, 2018 at 01:11:01PM +0300, Yevgeny Popovych wrote: > This causes errors when translating logical addresses to physical: > btrfs_map_logical_to_physical: Cannot map logical address to physical > btrfs_file_read: Error reading extent > > The behavior of btrfs_map_logical_to_phys

Re: [U-Boot] [U-Boot,1/2] dra7/am5: remove CEC pin pull-up

2018-06-13 Thread Tom Rini
On Fri, Jun 08, 2018 at 12:51:19PM +0300, Tomi Valkeinen wrote: > HDMI CEC pins are set to pull-up, but CEC requires no pull. Fix this. > > Signed-off-by: Tomi Valkeinen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] ARM: DTS: resync a3517.dtsi with Linux 4.17

2018-06-13 Thread Tom Rini
On Fri, Jun 08, 2018 at 09:26:30AM -0500, Adam Ford wrote: > Linux 4.17 was just released with some minor changes to the > am3517.dtsi. This patch re-syncs the file. > > Signed-off-by: Adam Ford > > diff --git a/arch/arm/dts/am3517.dtsi b/arch/arm/dts/am3517.dtsi > index 00da3f2c40..ca294914bb

Re: [U-Boot] tools: env: Use getline rather than fgets when reading config/script

2018-06-13 Thread Tom Rini
On Thu, Jun 07, 2018 at 12:20:05PM +, Alex Kiernan wrote: > When reading the config file, or a script file, use getline rather than > fgets so line lengths aren't limited by the size of a compiled in buffer > (128 characters for config, 1024 for scripts). > > Rename 'dump' to 'line' so it's c

Re: [U-Boot] u-boot: Fix several typos

2018-06-13 Thread Tom Rini
On Thu, Jun 07, 2018 at 07:47:19PM +0530, Shyam Saini wrote: > 's/environemnt/environment/' and > 's/Environemnt/Environment/' > > Signed-off-by: Shyam Saini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] doc: cmd: bubt: drop duplicated text

2018-06-13 Thread Tom Rini
On Sun, Jun 03, 2018 at 04:19:31PM +0300, Baruch Siach wrote: > This commit removes text that is exact duplicated of the text above. > > Cc: Konstantin Porotchkin > Signed-off-by: Baruch Siach > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] fs: fat: fix wrong casting to unsigned value of sect_to_cluster()

2018-06-13 Thread Tom Rini
On Mon, Jun 04, 2018 at 08:45:54PM +0900, Seung-Woo Kim wrote: > After the commit 265edc03d5a1 ("fs/fat: Clean up open-coded sector > <-> cluster conversions"), it is hung up writing new file to FAT16 > disk with more than 19 files in armv7. It is because result value > of sect_to_cluster() is not

Re: [U-Boot] [U-Boot, 4/4] configs: pcm051: Use am335x-wega-rdk.dtb as fdtfile

2018-06-13 Thread Tom Rini
On Sat, Jun 02, 2018 at 08:22:28PM +0300, Matwey V. Kornilov wrote: > In upstream Linux kernel, the fdtfile > for this specific board is called am335x-wega-rdk.dtb > > Signed-off-by: Matwey V. Kornilov Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot, v2] include/linux/byteorder: Sync to latest Linux definitions

2018-06-13 Thread Tom Rini
On Mon, Jun 04, 2018 at 04:20:50AM +0300, Ramon Fried wrote: > generic.h has changed in Linux and new addtionals functions were > added. > > This commit takes the latest and greatest from Linux (v4.17-rc5) > to aid with porting drivers that utilize these functions. > > Signed-off-by: Ramon Fried

Re: [U-Boot] [U-Boot, 3/4] configs: pcm051: Use DEFAULT_LINUX_BOOT_ENV instead of hardcoded values

2018-06-13 Thread Tom Rini
On Sat, Jun 02, 2018 at 08:22:27PM +0300, Matwey V. Kornilov wrote: > It appears that DEFAULT_LINUX_BOOT_ENV can be used to boot pcm051 board. > > Signed-off-by: Matwey V. Kornilov Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 2/4] configs: pcm051: Use DEFAULT_MMC_TI_ARGS instead of hardcoded duplicates

2018-06-13 Thread Tom Rini
On Sat, Jun 02, 2018 at 08:22:26PM +0300, Matwey V. Kornilov wrote: > Signed-off-by: Matwey V. Kornilov Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.den

Re: [U-Boot] [U-Boot,1/4] configs: pcm051: Support distro bootcmds

2018-06-13 Thread Tom Rini
On Sat, Jun 02, 2018 at 08:22:25PM +0300, Matwey V. Kornilov wrote: > Add support for distro bootcmds. > > Signed-off-by: Matwey V. Kornilov Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

  1   2   >