Re: [PATCH 2/2] arm/dma-mapping: Respect NO_KERNEL_MAPPING when we don't have an IOMMU

2015-02-03 Thread Laura Abbott
On 2/3/2015 12:47 AM, Carlo Caione wrote: From: Jasper St. Pierre jstpie...@mecheye.net Even without an iommu, NO_KERNEL_MAPPING is still convenient to save on kernel address space in places where we don't need a kernel mapping. Implement support for it in the two places where we're creating an

Re: [RESEND][PATCHv2 0/3] Fix for buggy u-boot memory banks

2014-07-28 Thread Laura Abbott
On 7/26/2014 2:20 PM, Rob Herring wrote: On Tue, Jul 15, 2014 at 12:03 PM, Laura Abbott lau...@codeaurora.org wrote: Hi, This is a resend of the series to fix the uboot bug exposed by the removal of meminfo. I haven't gotten any acks though. Is the bug with ATAGs that get converted to DT

[RESEND][PATCHv2 0/3] Fix for buggy u-boot memory banks

2014-07-15 Thread Laura Abbott
Hi, This is a resend of the series to fix the uboot bug exposed by the removal of meminfo. I haven't gotten any acks though. Please help with review/acks. Grant/Rob, I'd still like this to go through the devicetree tree if possible. Thanks, Laura -- The Qualcomm Innovation Center, Inc. is a

[RESEND][PATCHv2 3/3] arm: Add devicetree fixup machine function

2014-07-15 Thread Laura Abbott
. In this fixup function for exynos, limit the maximum number of memory regions in the devicetree. Signed-off-by: Laura Abbott lau...@codeaurora.org --- arch/arm/include/asm/mach/arch.h | 1 + arch/arm/kernel/devtree.c| 7 ++- arch/arm/mach-exynos/exynos.c| 10 ++ 3 files changed, 17

[RESEND][PATCHv2 2/3] of: Add memory limiting function for flattened devicetrees

2014-07-15 Thread Laura Abbott
Buggy bootloaders may pass bogus memory entries in the devicetree. Add of_fdt_limit_memory to add an upper bound on the number of entries that can be present in the devicetree. Signed-off-by: Laura Abbott lau...@codeaurora.org --- drivers/of/fdt.c | 48

[RESEND][PATCHv2 1/3] of: Split early_init_dt_scan into two parts

2014-07-15 Thread Laura Abbott
the memory. Signed-off-by: Laura Abbott lau...@codeaurora.org --- drivers/of/fdt.c | 18 +- include/linux/of_fdt.h | 2 ++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index c4cddf0..55bfca9 100644 --- a/drivers/of/fdt.c +++ b

Re: [PATCHv2 1/3] of: Split early_init_dt_scan into two parts

2014-07-07 Thread Laura Abbott
On 7/1/2014 7:03 PM, Laura Abbott wrote: Currently, early_init_dt_scan validates the header, sets the boot params, and scans for chosen/memory all in one function. Split this up into two separate functions (validation/setting boot params in one, scanning in another) to allow for additional

[PATCHv2 2/3] of: Add memory limiting function for flattened devicetrees

2014-07-01 Thread Laura Abbott
Buggy bootloaders may pass bogus memory entries in the devicetree. Add of_fdt_limit_memory to add an upper bound on the number of entries that can be present in the devicetree. Signed-off-by: Laura Abbott lau...@codeaurora.org --- drivers/of/fdt.c | 48

[PATCHv2 1/3] of: Split early_init_dt_scan into two parts

2014-07-01 Thread Laura Abbott
the memory. Signed-off-by: Laura Abbott lau...@codeaurora.org --- drivers/of/fdt.c | 18 +- include/linux/of_fdt.h | 2 ++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index c4cddf0..55bfca9 100644 --- a/drivers/of/fdt.c +++ b

[PATCHv2 3/3] arm: Add devicetree fixup machine function

2014-07-01 Thread Laura Abbott
. In this fixup function for exynos, limit the maximum number of memory regions in the devicetree. Signed-off-by: Laura Abbott lau...@codeaurora.org --- arch/arm/include/asm/mach/arch.h | 1 + arch/arm/kernel/devtree.c| 7 ++- arch/arm/mach-exynos/exynos.c| 10 ++ 3 files changed, 17

Re: [PATCH 2/2] arm: Add back maximum bank limit

2014-06-30 Thread Laura Abbott
On 6/30/2014 3:43 AM, Grant Likely wrote: Instead of splitting early_init_dt_scan(), the call to early_init_dt_scan() could probably be moved after the of_flat_dt_match_machine() call. It's at least worth a try. Looking at the code I don't see anything obvious that requires the

[PATCH 1/2] of: Split early_init_dt_scan into two parts

2014-06-29 Thread Laura Abbott
the memory. Signed-off-by: Laura Abbott lau...@codeaurora.org --- drivers/of/fdt.c | 18 +- include/linux/of_fdt.h | 2 ++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index c4cddf0..55bfca9 100644 --- a/drivers/of/fdt.c +++ b

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-27 Thread Laura Abbott
On 6/26/2014 8:06 PM, Tushar Behera wrote: On 06/27/2014 01:12 AM, Laura Abbott wrote: +static unsigned int bank_cnt; +static unsigned int max_cnt; + int __init arm_add_memory(u64 start, u64 size) { u64 aligned_start; /* +* Some buggy bootloaders rely on the old

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Laura Abbott
if it reaches an upper threshold. I was debating setting the default at 12 or 8 but setting at 12 seems like it would involve the fewest platform changes. Thanks, Laura 8 From 1a5265fd178fea0da432fa9d49ce28e78bd25e04 Mon Sep 17 00:00:00 2001 From: Laura Abbott lau...@codeaurora.org Date: Thu, 26

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-25 Thread Laura Abbott
On 6/25/2014 5:13 AM, Tushar Behera wrote: On 06/25/2014 03:59 AM, Laura Abbott wrote: On 6/24/2014 10:47 AM, Laura Abbott wrote: On 6/23/2014 11:32 AM, Kevin Hilman wrote: On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera trbli...@gmail.com wrote: Adding linux-samsung-soc and linux-arm-kernel

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-24 Thread Laura Abbott
On 6/23/2014 11:32 AM, Kevin Hilman wrote: On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera trbli...@gmail.com wrote: Adding linux-samsung-soc and linux-arm-kernel ML for wider audience. On 06/19/2014 04:12 PM, Tushar Behera wrote: On 06/19/2014 03:02 PM, Tushar Behera wrote: On 06/18/2014

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-24 Thread Laura Abbott
On 6/24/2014 10:47 AM, Laura Abbott wrote: On 6/23/2014 11:32 AM, Kevin Hilman wrote: On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera trbli...@gmail.com wrote: Adding linux-samsung-soc and linux-arm-kernel ML for wider audience. On 06/19/2014 04:12 PM, Tushar Behera wrote: On 06/19/2014 03:02