Re: [PATCH v4 6/6] arch: Move initrd= parsing into do_mounts_initrd.c

2018-11-12 Thread Vineet Gupta
On 11/12/18 4:52 PM, Florian Fainelli wrote: > On 11/12/18 4:40 PM, Vineet Gupta wrote: >> On 11/12/18 4:38 PM, Florian Fainelli wrote: > #ifdef CONFIG_BLK_DEV_INITRD > - if (initrd_start) > - memblock_reserve(__pa(initrd_start), initrd_end - initrd_start); > + if (phys_ini

Re: [PATCH v4 6/6] arch: Move initrd= parsing into do_mounts_initrd.c

2018-11-12 Thread Vineet Gupta
On 11/12/18 4:38 PM, Florian Fainelli wrote: >>> #ifdef CONFIG_BLK_DEV_INITRD >>> - if (initrd_start) >>> - memblock_reserve(__pa(initrd_start), initrd_end - initrd_start); >>> + if (phys_initrd_size) { >>> + memblock_reserve(phys_initrd_start, phys_initrd_size); >>> +

Re: [PATCH v4 6/6] arch: Move initrd= parsing into do_mounts_initrd.c

2018-11-12 Thread Florian Fainelli
On 11/12/18 4:40 PM, Vineet Gupta wrote: > On 11/12/18 4:38 PM, Florian Fainelli wrote: #ifdef CONFIG_BLK_DEV_INITRD - if (initrd_start) - memblock_reserve(__pa(initrd_start), initrd_end - initrd_start); + if (phys_initrd_size) { + memblock_reserve(phys

Re: [PATCH v4 6/6] arch: Move initrd= parsing into do_mounts_initrd.c

2018-11-12 Thread Florian Fainelli
On 11/12/18 4:34 PM, Vineet Gupta wrote: > On 11/5/18 2:58 PM, Florian Fainelli wrote: >> ARC, ARM, ARM64 and Unicore32 are all capable of parsing the "initrd=" >> command line parameter to allow specifying the physical address and size >> of an initrd. Move that parsing into init/do_mounts_initrd.

Re: [PATCH v4 6/6] arch: Move initrd= parsing into do_mounts_initrd.c

2018-11-12 Thread Vineet Gupta
On 11/5/18 2:58 PM, Florian Fainelli wrote: > ARC, ARM, ARM64 and Unicore32 are all capable of parsing the "initrd=" > command line parameter to allow specifying the physical address and size > of an initrd. Move that parsing into init/do_mounts_initrd.c such that > we no longer duplicate that logi

Re: [PATCH v4 0/6] arm64: Get rid of __early_init_dt_declare_initrd()

2018-11-12 Thread Rob Herring
On Mon, Nov 12, 2018 at 12:32:50PM -0800, Florian Fainelli wrote: > On 11/6/18 6:06 AM, Mike Rapoport wrote: > > On Mon, Nov 05, 2018 at 02:54:25PM -0800, Florian Fainelli wrote: > >> Hi all, > >> > >> Changes in v4: > >> > >> - dropped initrd_below_start_ok assignment in ARM64, not necessary at >

Re: [PATCH] locale: Allow usage of cross-localedef for ARC

2018-11-12 Thread Vineet Gupta
On 11/12/18 2:44 PM, Alexey Brodkin wrote: > With this it's possible to build locale data for ARC > and not do it instead on the first boot. > > Signed-off-by: Alexey Brodkin > --- > meta/classes/libc-package.bbclass| 2 ++ > meta/lib/oe/package_manager.py | 2 ++ > meta/reci

[PATCH] locale: Allow usage of cross-localedef for ARC

2018-11-12 Thread Alexey Brodkin
With this it's possible to build locale data for ARC and not do it instead on the first boot. Signed-off-by: Alexey Brodkin --- meta/classes/libc-package.bbclass| 2 ++ meta/lib/oe/package_manager.py | 2 ++ meta/recipes-core/glibc/glibc-locale.inc | 2 +- 3 files changed, 5 in

[PATCH] tcf-agent: Disable architecture-specific features for ARC

2018-11-12 Thread Alexey Brodkin
There's no support of architecture-specific features for ARC in tcf-agent, so disable non-generic stuff for now. Signed-off-by: Alexey Brodkin Cc: Richard Purdie Cc: Khem Raj --- meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-d

Re: [PATCH v4 0/6] arm64: Get rid of __early_init_dt_declare_initrd()

2018-11-12 Thread Florian Fainelli
On 11/6/18 6:06 AM, Mike Rapoport wrote: > On Mon, Nov 05, 2018 at 02:54:25PM -0800, Florian Fainelli wrote: >> Hi all, >> >> Changes in v4: >> >> - dropped initrd_below_start_ok assignment in ARM64, not necessary at >> all (Ard) >> - replace #ifdef CONFIG_BLK_DEV_INITRD with if >> (IS_ENABLED(

[PATCH v4 2/4] kgdb: Fix kgdb_roundup_cpus() for arches who used smp_call_function()

2018-11-12 Thread Douglas Anderson
When I had lockdep turned on and dropped into kgdb I got a nice splat on my system. Specifically it hit: DEBUG_LOCKS_WARN_ON(current->hardirq_context) Specifically it looked like this: sysrq: SysRq : DEBUG [ cut here ] DEBUG_LOCKS_WARN_ON(current->hardirq_context)

[PATCH v4 0/4] kgdb: Fix kgdb_roundup_cpus()

2018-11-12 Thread Douglas Anderson
This series was originally part of the series ("serial: Finish kgdb on qcom_geni; fix many lockdep splats w/ kgdb") but it made sense to split it up. It's believed that dropping into kgdb should be more robust once these patches are applied. Changes in v4: - Removed smp_mb() calls. - Also clear o

[PATCH v4 1/4] kgdb: Remove irq flags from roundup

2018-11-12 Thread Douglas Anderson
The function kgdb_roundup_cpus() was passed a parameter that was documented as: > the flags that will be used when restoring the interrupts. There is > local_irq_save() call before kgdb_roundup_cpus(). Nobody used those flags. Anyone who wanted to temporarily turn on interrupts just did local_ir

Re: [PATCH] packagegroup-core-sdk: Disable SANITIZERS for ARC

2018-11-12 Thread Khem Raj
Looks ok to me On Mon, Nov 12, 2018 at 5:09 AM Alexey Brodkin wrote: > > Sanitizers are not yet supported on ARC. > > Signed-off-by: Alexey Brodkin > --- > meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-core/packageg

[PATCH] packagegroup-core-sdk: Disable SANITIZERS for ARC

2018-11-12 Thread Alexey Brodkin
Sanitizers are not yet supported on ARC. Signed-off-by: Alexey Brodkin --- meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb b/meta/recipes-core/packagegroups/packagegroup-core-sd