Re: [PATCH V7 5/7] c6x: use new common dtc rule

2012-11-28 Thread Mark Salter
the source .dts. > > This requires moving parts of arch/c6x/boot/Makefile into newly created > arch/c6x/boot/dts/Makefile, and updating arch/c6x/Makefile to call the > new Makefile. linked_dtb.S is also moved into boot/dts/ since it's used > by rules that were moved. > >

[PATCH 1/2] Fix AT_EXECFN auxv for no-MMU fdpic

2013-02-26 Thread Mark Salter
In the no-MMU case, the FDPIC loader was passing an offset as the value for the AT_EXECFN auxv. This patch translates that offset into an actual user address. Signed-off-by: Mark Salter --- fs/binfmt_elf_fdpic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/binfmt_elf_fdpic.c b/fs

[PATCH 2/2] Fix /proc//auxv for FDPIC binaries

2013-02-26 Thread Mark Salter
The FDPIC loader is not storing aux vector info in mm->saved_aux so the aux vectors were not being exposed through /proc//auxv. This patch copies the aux vectors stored on the user stack into mm->saved_aux so that they may be available through procfs. Signed-off-by: Mark Salter -

Re: [PATCH 4/5] c6x: Use generic asm/mmu.h

2012-11-01 Thread Mark Salter
patch is completely untested. > --- > arch/c6x/include/asm/Kbuild |1 + > arch/c6x/include/asm/mmu.h | 22 -- > 2 files changed, 1 insertions(+), 22 deletions(-) > delete mode 100644 arch/c6x/include/asm/mmu.h Acked-by: Mark Salter Tested-by: Mark Salter --

Re: [PATCH RFT RESEND linux-next] c6x: dma-mapping: support debug_dma_mapping_error

2012-11-02 Thread Mark Salter
On Fri, 2012-11-02 at 10:44 -0600, Shuah Khan wrote: > On Fri, 2012-10-26 at 09:40 -0600, Shuah Khan wrote: > > Add support for debug_dma_mapping_error() call to avoid warning from > > debug_dma_unmap() interface when it checks for mapping error checked > > status. Without this patch, device driver

Re: [PATCH RFT RESEND linux-next] c6x: dma-mapping: support debug_dma_mapping_error

2012-11-02 Thread Mark Salter
On Fri, 2012-11-02 at 13:53 -0600, Shuah Khan wrote: > On Fri, 2012-11-02 at 15:10 -0400, Mark Salter wrote: > > On Fri, 2012-11-02 at 10:44 -0600, Shuah Khan wrote: > > > On Fri, 2012-10-26 at 09:40 -0600, Shuah Khan wrote: > > > > Add support for debug_dma_mapping

Re: [PATCH RFT RESEND linux-next] c6x: dma-mapping: support debug_dma_mapping_error

2012-11-02 Thread Mark Salter
On Fri, 2012-11-02 at 14:26 -0600, Shuah Khan wrote: > On Fri, 2012-11-02 at 16:15 -0400, Mark Salter wrote: > > On Fri, 2012-11-02 at 13:53 -0600, Shuah Khan wrote: > > > On Fri, 2012-11-02 at 15:10 -0400, Mark Salter wrote: > > > > On Fri, 2012-11-02 at

[PATCH 2/3] c6x: switch to generic kernel_execve

2012-09-21 Thread Mark Salter
Signed-off-by: Mark Salter --- arch/c6x/include/asm/unistd.h |2 ++ arch/c6x/kernel/entry.S | 13 ++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/c6x/include/asm/unistd.h b/arch/c6x/include/asm/unistd.h index 6d54ea4..1ce3a6f 100644 --- a/arch/c6x

[PATCH 3/3] c6x: switch to generic sys_execve

2012-09-21 Thread Mark Salter
Signed-off-by: Mark Salter --- arch/c6x/include/asm/syscalls.h |5 - arch/c6x/include/asm/unistd.h |1 + arch/c6x/kernel/entry.S | 23 --- arch/c6x/kernel/process.c | 22 -- 4 files changed, 1 insertions(+), 50 deletions

Re: [RFC] status of execve() work - per-architecture patches solicited

2012-09-21 Thread Mark Salter
Here are a set of c6x patches to work with your experimental-kernel_thread branch. Mark Salter (3): c6x: add ret_from_kernel_thread(), simplify kernel_thread() c6x: switch to generic kernel_execve c6x: switch to generic sys_execve arch/c6x/include/asm/syscalls.h |5 --- arch/c6x

[PATCH 1/3] c6x: add ret_from_kernel_thread(), simplify kernel_thread()

2012-09-21 Thread Mark Salter
Signed-off-by: Mark Salter --- arch/c6x/kernel/entry.S | 20 arch/c6x/kernel/process.c | 38 -- 2 files changed, 32 insertions(+), 26 deletions(-) diff --git a/arch/c6x/kernel/entry.S b/arch/c6x/kernel/entry.S index 30b37e5..6e6bd9d

Re: sys_kcmp (was: Re: [PATCH 1/2] ARM: add finit_module syscall to ARM)

2012-09-24 Thread Mark Salter
On Sat, 2012-09-22 at 11:47 -0700, Andrew Morton wrote: > > 2. There allegedly exists a patch to remove x86isms from sys_kcmp - > >allegedly also in akpm's tree. However, I've looked through the code in > >mainline, and nothing stands out. Ralf Beachle also said yesterday that > >he h

Re: sys_kcmp (was: Re: [PATCH 1/2] ARM: add finit_module syscall to ARM)

2012-09-24 Thread Mark Salter
rctl: prctl_set_mm -- Don't test for mmap_min_addr on non-MMU config > > In case if CONFIG_MMU is not set the @mmap_min_addr > is undefined leading to build error. Thus test for > it iif CONFIG_MMU is present. > > Note this code snippet depends on CONFIG_CHECKPOINT_RES

[PATCH] syscalls: add __NR_kcmp syscall to generic unistd.h

2012-09-24 Thread Mark Salter
was not implemented. A patch to checksyscalls is being tested in linux-next and other architectures are seeing warnings about kcmp being unimplemented. This patch adds __NR_kcmp to so that kcmp is wired in for architectures using the generic syscall list. Signed-off-by: Mark Salter --- include

Re: [PATCH] syscalls: add __NR_kcmp syscall to generic unistd.h

2012-09-24 Thread Mark Salter
On Mon, 2012-09-24 at 20:01 +, Arnd Bergmann wrote: > On Monday 24 September 2012, Mark Salter wrote: > > > > Commit d97b46a64 added a new syscall (__NR_kcmp) to support checkpoint > > restore. It is currently x86-only, but that restriction will be removed >

[PATCH] c/r: prctl: fix build error for no-MMU case

2012-09-24 Thread Mark Salter
ction) The test for mmap_min_addr doesn't make a lot of sense for no-MMU code as noted in commit 6e1415467. This patch defines mmap_min_addr as 0UL in the no-MMU case so that the compiler will optimize away tests for "addr < mmap_min_addr". Signed-off-by: Mark Salter --- include/linux/s

Re: [PATCH] arm64: move elf notes into readonly segment

2013-08-27 Thread Mark Salter
On Tue, 2013-08-27 at 11:49 +0100, Catalin Marinas wrote: > On Fri, Aug 23, 2013 at 04:16:42PM +0100, Mark Salter wrote: > > The current vmlinux.lds.S places the notes sections between the > > end of rw data and start of bss. This means that _edata doesn't > > reall

Re: [PATCH 2/6] Add shared update_fdt() function for ARM/ARM64

2013-10-03 Thread Mark Salter
On Thu, 2013-10-03 at 10:52 +0100, Matt Fleming wrote: > > +#if defined(CONFIG_ARM) || defined(CONFIG_ARM64) > > +static efi_status_t update_fdt(efi_system_table_t *sys_table, void > > *orig_fdt, > > +void *fdt, int new_fdt_size, char *cmdline_ptr, > > +

Re: [PATCH 2/6] Add shared update_fdt() function for ARM/ARM64

2013-10-03 Thread Mark Salter
On Thu, 2013-10-03 at 15:27 +0100, Matt Fleming wrote: > On Thu, 03 Oct, at 09:43:24AM, Mark Salter wrote: > > On Thu, 2013-10-03 at 10:52 +0100, Matt Fleming wrote: > > > > +#if defined(CONFIG_ARM) || defined(CONFIG_ARM64) > > > > +static efi_status_t update_

[PATCH] arm64: add early_ioremap support

2013-10-04 Thread Mark Salter
ay need to persist beyond paging_init(). This implementation uses the 2MiB of address space currently dedicated to the earlyprintk console registers. This allows for mapping up to 32 64K pages or 512 4K pages. Signed-off-by: Mark Salter --- Documentation/arm64/memory.txt | 2 +- arch/arm64/i

Re: [PATCH] arm64: add early_ioremap support

2013-10-04 Thread Mark Salter
On Fri, 2013-10-04 at 16:04 +0100, Catalin Marinas wrote: > Hi Mark, > > > --- /dev/null > > +++ b/arch/arm64/include/asm/fixmap.h > > @@ -0,0 +1,117 @@ > > +/* > > + * fixmap.h: compile-time virtual memory allocation > > + * > > + * This file is subject to the terms and conditions of the GNU Gene

Re: [PATCH] c6x: remove unused parameter in Kconfig

2013-07-08 Thread Mark Salter
On Mon, 2013-07-08 at 07:09 +0200, Michael Opdenacker wrote: > This patch proposes to remove the TMS320C6X_CACHES_ON kernel configuration > parameter defined in arch/c6x/Kconfig, but used nowhere > in the makefiles and source code. > > Signed-off-by: Michael Opdenacker > -

Re: [PATCH 13/28] c6x: use early_init_dt_scan

2013-09-17 Thread Mark Salter
On Mon, 2013-09-16 at 18:09 -0500, Rob Herring wrote: > From: Rob Herring > > Convert c6x to use new early_init_dt_scan function. > > Signed-off-by: Rob Herring > Cc: Mark Salter > Cc: Aurelien Jacquiot > Cc: linux-c6x-...@linux-c6x.org > --- > arc

Re: [PATCH 01/28] c6x: use boot_command_line instead of private c6x_command_line

2013-09-18 Thread Mark Salter
On Mon, 2013-09-16 at 18:08 -0500, Rob Herring wrote: > From: Rob Herring > > Save some pointless copying of the kernel command line and just use > boot_command_line instead. > > Also remove default_command_line as it is not referenced anywhere, and > the DT code already handles the default comm

Re: [PATCH][RESEND] c6x: remove unused parameter in Kconfig

2013-09-18 Thread Mark Salter
On Tue, 2013-09-17 at 05:21 +0200, Michael Opdenacker wrote: > This patch proposes to remove the TMS320C6X_CACHES_ON kernel configuration > parameter defined in arch/c6x/Kconfig, but used nowhere > in the makefiles and source code. > > Signed-off-by: Michael Opdenacker > Ack

Re: [PATCH] Kconfig cleanup (PARPORT_PC dependencies)

2013-09-12 Thread Mark Salter
On Thu, 2013-09-12 at 15:04 -0400, Chris Metcalf wrote: > On 9/12/2013 2:53 PM, Mark Salter wrote: > > Remove messy dependencies from PARPORT_PC by having it depend on one > > Kconfig symbol (ARCH_MAY_HAVE_PC_PARPORT) and having architectures > > which need it declare ARCH_M

[PATCH] Kconfig cleanup (PARPORT_PC dependencies)

2013-09-12 Thread Mark Salter
architectures to exclude. Those architectures which do declare ARCH_MAY_HAVE_PC_PARPORT in this patch are the ones which have an asm/parport.h. Signed-off-by: Mark Salter --- arch/alpha/Kconfig | 3 +++ arch/arc/Kconfig| 3 +++ arch/arm/Kconfig| 3 +++ arch/ia64/Kconfig

Re: [PATCH] Kconfig cleanup (PARPORT_PC dependencies)

2013-09-12 Thread Mark Salter
On Thu, 2013-09-12 at 22:32 +0200, Sam Ravnborg wrote: > It is much nicer if you provide a config symbol only once. > And then let the architectures who want it select this symbol. > > This is the pattern we use for similar things in many places today, > so it is best to follow that pattern. Okay

Re: [PATCH v2 01/29] c6x: use boot_command_line instead of private c6x_command_line

2013-10-07 Thread Mark Salter
y handles the default command line. > > Signed-off-by: Rob Herring > Cc: Mark Salter > Cc: Aurelien Jacquiot > Cc: linux-c6x-...@linux-c6x.org > Reviewed-by: Grant Likely > --- Tested and Acked-by: Mark Salter -- To unsubscribe from this list: send the line "unsubs

[PATCH v2 04/14] ia64: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter CC: Tony Luck CC: Fenghua Yu CC: linux-i...@vger.kernel.org --- arch/ia64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index

[PATCH v2 01/14] alpha: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter Acked-by: Richard Henderson CC: linux-al...@vger.kernel.org --- arch/alpha/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index

[PATCH v2 13/14] x86: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter CC: Thomas Gleixner CC: Ingo Molnar CC: "H. Peter Anvin" CC: x...@kernel.org --- arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/Kconfig

[PATCH v2 12/14] unicore32: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter CC: Guan Xuetao --- arch/unicore32/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig index 82cdd89..9e0b8bd 100644 --- a

[PATCH v2 09/14] powerpc: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: linuxppc-...@lists.ozlabs.org --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/Kconfig b

[PATCH v2 06/14] microblaze: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter CC: Michal Simek CC: microblaze-ucli...@itee.uq.edu.au --- arch/microblaze/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/microblaze/Kconfig b/arch/microblaze

[PATCH v2 10/14] sh: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter CC: Paul Mundt CC: linux...@vger.kernel.org --- arch/sh/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 224f4bc..a5d1d2e 100644

[PATCH v2 11/14] sparc: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter CC: "David S. Miller" CC: sparcli...@vger.kernel.org --- arch/sparc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig ind

[PATCH v2 08/14] parisc: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter CC: "James E.J. Bottomley" CC: Helge Deller CC: linux-par...@vger.kernel.org --- arch/parisc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/parisc/Kcon

[PATCH v2 02/14] arc: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter CC: Vineet Gupta --- arch/arc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index 91dbb27..484b1a7 100644 --- a/arch/arc/Kconfig

[PATCH v2 00/14] Kconfig cleanup (PARPORT_PC dependencies)

2013-10-07 Thread Mark Salter
: * Use select instead of adding config option to arch/*/Kconfig * Split into multiple patches for individual architectures * Dropped tile architecture Mark Salter (14): alpha: select ARCH_MAY_HAVE_PC_PARPORT arc: select ARCH_MAY_HAVE_PC_PARPORT arm: select ARCH_MAY_HAVE_PC_PARPORT ia64

[PATCH v2 07/14] mips: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter CC: Ralf Baechle CC: linux-m...@linux-mips.org --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index f75ab4a

[PATCH v2 05/14] m68k: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter Acked by: Geert Uytterhoeven CC: linux-m...@lists.linux-m68k.org --- arch/m68k/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig

[PATCH v2 03/14] arm: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter CC: Russell King CC: linux-arm-ker...@lists.infradead.org --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 1ad6fb6

Re: [PATCH] arm64: add asm-generic parport.h

2013-10-08 Thread Mark Salter
On Mon, 2013-10-07 at 16:44 -0500, Rob Herring wrote: > From: Rob Herring > > Add asm-generic/parport.h to help fix allyesconfig builds. > See: http://www.spinics.net/lists/arm-kernel/msg267957.html http://www.spinics.net/lists/linux-arch/msg23167.html and finally, https://lkml.org/lkml/2013

Re: [PATCH 05/29] c6x: Use get_signal() signal_setup_done()

2013-10-08 Thread Mark Salter
> 1 file changed, 18 insertions(+), 25 deletions(-) Tested-by: Mark Salter Acked-by: Mark Salter -- 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.kernel.org/majordom

[PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-10-08 Thread Mark Salter
This patch adds PAGE_ALIGNED_DATA() to the linker script inside the the .data section. Signed-off-by: Mark Salter --- arch/arm64/kernel/vmlinux.lds.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/vmlinux.lds.S b/arch/arm64/kernel/vmlinux.lds.S index f8ab9d8..e441556 10

Re: [PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-10-09 Thread Mark Salter
On Wed, 2013-10-09 at 11:14 +0100, Will Deacon wrote: > On Tue, Oct 08, 2013 at 09:37:39PM +0100, Mark Salter wrote: > > The arm64 linker script doesn't use the PAGE_ALIGNED_DATA macro which > > leads to a ".data..page_aligned" section being placed between the end

Re: [RFC] status of execve() work - per-architecture patches solicited

2012-09-10 Thread Mark Salter
C6X works fine with these patches to switch over to generic code. Mark Salter (2): c6x: implement ret_from_kernel_execve() and switch to generic kernel_execve() c6x: switch to generic sys_execve() arch/c6x/include/asm/syscalls.h |5 --- arch/c6x/include/asm/unistd.h |3

[PATCH 1/2] c6x: implement ret_from_kernel_execve() and switch to generic kernel_execve()

2012-09-10 Thread Mark Salter
Signed-off-by: Mark Salter --- arch/c6x/include/asm/unistd.h |2 ++ arch/c6x/kernel/entry.S | 31 --- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/arch/c6x/include/asm/unistd.h b/arch/c6x/include/asm/unistd.h index 6d54ea4..1ce3a6f

[PATCH 2/2] c6x: switch to generic sys_execve()

2012-09-10 Thread Mark Salter
Signed-off-by: Mark Salter --- arch/c6x/include/asm/syscalls.h |5 - arch/c6x/include/asm/unistd.h |1 + arch/c6x/kernel/entry.S | 23 --- arch/c6x/kernel/process.c | 22 -- 4 files changed, 1 insertions(+), 50 deletions

[GIT PULL] C6X uapi disintegration

2012-10-10 Thread Mark Salter
The following changes since commit 547b1e81afe3119f7daf702cc03b158495535a25: Fix staging driver use of VM_RESERVED (2012-10-09 21:06:41 +0900) are available in the git repository at: git://linux-c6x.org/git/projects/linux-c6x-upstreaming.git tags/for-linus for you to fetch changes up to fbd

[GIT PULL] C6X: fixes for v3.7

2012-11-30 Thread Mark Salter
93bbd0c087eb299e0fe11c59d340932180c082b5: c6x: use generic kvm_para.h (2012-11-28 14:33:03 -0500) C6X fixes for v3.7 Mark Salter (4): c6x: run do_notify_resume with interrupts enabled

Re: [PATCH RFT RESEND linux-next] c6x: dma-mapping: support debug_dma_mapping_error

2012-11-15 Thread Mark Salter
s() that caused compile errors on c6x. Yes. Acked-by: Mark Salter -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: linux-next: problem trying to fetch the c6x tree

2013-06-25 Thread Mark Salter
On Tue, 2013-06-25 at 09:46 +1000, Stephen Rothwell wrote: > Hi Mark, > > Attempting to fetch the c6x tree > (git://linux-c6x.org/git/projects/linux-c6x-upstreaming.git#for-linux-next) > for the past two days has just produced hangs. I am using whatever I > have previously fetched. > Hi Stephen

Re: [RFC PATCH v2, part4 03/39] c6x: normalize global variables exported by vmlinux.lds

2013-03-25 Thread Mark Salter
in detail until later this week, but the reason for that layout is because c6x commonly stores text in flash. Not all of the xip support is in-tree yet, but when it is, we don't want to free init text. --Mark > > Signed-off-by: Jiang Liu > Cc: Mark Salter > Cc: Aurelien Jacqui

[PATCH] arm64: wire in generic parport.h

2013-08-18 Thread Mark Salter
The arm64 port doesn't provide a parport.h which causes a build failure with some configurations: drivers/parport/parport_pc.c:67:25: fatal error: asm/parport.h: No such file or directory #include This patch wires in the generic parport.h for arm64. Signed-off-by: Mark Salter ---

[PATCH] arm64: add screen_info for console support

2013-08-18 Thread Mark Salter
blem. Some additional runtime code is needed to actually make it useful. Signed-off-by: Mark Salter --- arch/arm64/kernel/setup.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index add6ea6..eb9f93a 100644 --- a/arch/arm64/kernel/setup.c

Re: [PATCH] arm64: wire in generic parport.h

2013-08-18 Thread Mark Salter
On Sun, 2013-08-18 at 22:25 +0200, Geert Uytterhoeven wrote: > On Sun, Aug 18, 2013 at 6:01 PM, Mark Salter wrote: > > The arm64 port doesn't provide a parport.h which causes a build failure > > with some configurations: > > > > drivers/parport/parport_pc.c:67:25

Re: [PATCH] arm64: wire in generic parport.h

2013-08-20 Thread Mark Salter
On Sun, 2013-08-18 at 22:25 +0200, Geert Uytterhoeven wrote: > On Sun, Aug 18, 2013 at 6:01 PM, Mark Salter wrote: > > The arm64 port doesn't provide a parport.h which causes a build failure > > with some configurations: > > > > drivers/parport/parport_pc.c:67:25

Re: [PATCH] arm64: add screen_info for console support

2013-08-20 Thread Mark Salter
On Tue, 2013-08-20 at 18:14 +0100, Catalin Marinas wrote: > I was wondering about this but do we need screen_info for DUMMY_CONSOLE > as well? I thought so because my grep turned up a reference to screen_info in dummycon.c but a closer look shows that only applies to arm. --Mark -- To unsubscri

[PATCH] arm64: move elf notes into readonly segment

2013-08-23 Thread Mark Salter
data. Signed-off-by: Mark Salter --- arch/arm64/kernel/vmlinux.lds.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/kernel/vmlinux.lds.S b/arch/arm64/kernel/vmlinux.lds.S index f5e5574..f8ab9d8 100644 --- a/arch/arm64/kernel/vmlinux.lds.S +++ b/arch/arm64/k

Re: [PATCH 12/17] Add proper definitions for some EFI function pointers.

2013-08-09 Thread Mark Salter
On Tue, 2013-08-06 at 20:45 -0700, Roy Franz wrote: > The x86/AMD64 EFI stubs must us a call wrapper to convert between > the Linux and EFI ABIs, so void pointers are sufficient. For ARM, > the ABIs are compatible, so we can directly invoke the function > pointers. The functions that are used by

Re: [PATCH V3 RFC 00/16] EFI stub for ARM

2013-08-12 Thread Mark Salter
On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: > * Change FDT memory allocation to retry with a larger allocation if > first educated guess is inadequate. With this change, it looks like you no longer free the original cmdline and fdt memory. The current flow looks like: retry: allo

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-12 Thread Mark Salter
On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: > +static int relocate_kernel(efi_system_table_t *sys_table, > + unsigned long *zimage_addr, > + unsigned long zimage_size, > + unsigned long min_addr, unsigned long max_ad

Re: [PATCH 01/16] Move common EFI stub code from x86 arch code to common location

2013-08-13 Thread Mark Salter
--- Tested on arm64. Acked-by: Mark Salter -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 02/16] Add system pointer argument to shared EFI stub related functions so they no longer use global system table pointer as they did when part of eboot.c. This code is now shared, so using

2013-08-13 Thread Mark Salter
ions(-) Tested on arm64. Acked-by: Mark Salter -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 08/16] Generalize handle_ramdisks() and rename to handle_cmdline_files().

2013-08-13 Thread Mark Salter
tree blob in addition to initrd images. > > Signed-off-by: Roy Franz > --- Tested on arm64. Acked-by: Mark Salter -- 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

Re: [PATCH 09/16] Renames in handle_cmdline_files() to complete generalization.

2013-08-13 Thread Mark Salter
On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: > Rename variables to be not initrd specific, as now the function > loads arbitrary files. > > Signed-off-by: Roy Franz > --- Tested on arm64. Acked-by: Mark Salter -- To unsubscribe from this list: send the line "unsu

Re: [PATCH 05/16] rename __get_map() to efi_get_memory_map(), add parameter to optionally return mmap key. The mmap key is required to exit EFI boot services, and allows efi_get_memory_map() to be use

2013-08-13 Thread Mark Salter
On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: > Signed-off-by: Roy Franz > --- > drivers/firmware/efi/efi-stub-helper.c | 17 +++-- > 1 file changed, 11 insertions(+), 6 deletions(-) Tested on arm64. Acked-by: Mark Salter -- To unsubscribe from this list: s

Re: [PATCH 04/16] Add minimum address parameter to efi_low_alloc()

2013-08-13 Thread Mark Salter
On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: > This allows allocations to be made low in memory while > avoiding allocations at the base of memory. > > Signed-off-by: Roy Franz > --- Tested on arm64. Acked-by: Mark Salter -- To unsubscribe from this list: send the li

Re: [PATCH 12/16] Fix types in EFI calls to match EFI function definitions.

2013-08-13 Thread Mark Salter
-off-by: Roy Franz > --- Tested on arm64. Acked-by: Mark Salter -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 10/16] Move EFI_READ_CHUNK_SIZE define to shared location.

2013-08-13 Thread Mark Salter
On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: > This #define is only used the the shared code, so move > it there. > > Signed-off-by: Roy Franz > --- Tested on arm64. Acked-by: Mark Salter -- To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: [PATCH 11/16] Add proper definitions for some EFI function pointers.

2013-08-13 Thread Mark Salter
are used by the ARM stub are updated > to match the EFI definitions. > > Signed-off-by: Roy Franz > --- Tested on arm64. Acked-by: Mark Salter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kerne

Re: [PATCH 13/16] resolve warnings found on ARM compile

2013-08-13 Thread Mark Salter
On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: > 2 unused labels > 1 "value computed is not used" > > > Signed-off-by: Roy Franz > --- Tested on arm64. Acked-by: Mark Salter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&qu

Re: [PATCH 03/16] Rename memory allocation/free functions

2013-08-13 Thread Mark Salter
ree() > > Signed-off-by: Roy Franz > --- Tested on arm64. Acked-by: Mark Salter -- 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.kernel.org/majordomo-info.html

Re: [PATCH 06/16] Enforce minimum alignment of 1 page on allocations. The efi_high_alloc() and efi_low_alloc() functions use the EFI_ALLOCATE_ADDRESS option to the EFI function allocate_pages(), which

2013-08-13 Thread Mark Salter
Tested on arm64. Acked-by: Mark Salter -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH V3 RFC 00/16] EFI stub for ARM

2013-08-13 Thread Mark Salter
On Mon, 2013-08-12 at 18:13 -0700, Roy Franz wrote: > On Mon, Aug 12, 2013 at 7:02 AM, Mark Salter wrote: > > On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: > >> * Change FDT memory allocation to retry with a larger allocation if > >> first educated guess is in

[GIT PULL] c6x: add memory barrier to arch_local_irq_restore

2013-04-10 Thread Mark Salter
f934af05cb1bf20558542185299394a69060b829: add memory barrier to arch_local_irq_restore (2013-04-09 15:35:46 -0400) C6X fixes for v3.9 Mark Salter (1): add memory barrier to

Re: [PATCH v2 2/4] c6x: Provide default implementation for dma_{alloc,free}_attrs

2013-04-30 Thread Mark Salter
by > dma-mapping-broken.h. > > Add default implementations for these functions on c6x. > > Signed-off-by: Damian Hobson-Garcia > --- Acked-by: Mark Salter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@v

Re: [PATCH 1/5] c6x: Wire up asm-generic/xor.h

2013-05-17 Thread Mark Salter
On Tue, 2013-05-14 at 09:32 +0200, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > Cc: Mark Salter > Cc: linux-c6x-...@linux-c6x.org > --- > Completely untested due to lack of cross-compiler > > arch/c6x/include/asm/Kbuild |1 + > 1 files cha

Re: [PATCH] select GENERIC_ATOMIC64 for c6x/score/unicore32 archs

2012-08-14 Thread Mark Salter
Kconfig |1 + The c6x port also needs this: C6X: add L*_CACHE_SHIFT defines C6X currently lacks L*_CACHE_SHIFT defines which are used in a few places in the generic kernel. This patch adds those missing defines. Signed-off-by: Mark Salter --- diff --git a/arch/c6x/include/asm/cac

Re: [PATCH] select GENERIC_ATOMIC64 for c6x/score/unicore32 archs

2012-08-15 Thread Mark Salter
On Wed, 2012-08-15 at 10:36 +0800, Fengguang Wu wrote: > > -#define L1_CACHE_BYTESL2_CACHE_BYTES > > +#define L1_CACHE_SHIFTL2_CACHE_SHIFT > > +#define L1_CACHE_BYTES(1 << L2_CACHE_SHIFT) > > Nitpick: the last line could better be: > > +#define L1_CACHE_BYTES(1 <<

Re: [PATCH] select GENERIC_ATOMIC64 for c6x/score/unicore32 archs

2012-08-15 Thread Mark Salter
On Wed, 2012-08-15 at 22:12 +0800, Fengguang Wu wrote: > > Should I push this through the c6x tree? > > That'd be good. For consistency, will you also include the > GENERIC_ATOMIC64 chunk in the titled patch? > > I can send Andrew an updated series (reducing the c6x changes, and > possibly the sc

[GIT PULL] C6X changes for v3.6

2012-07-24 Thread Mark Salter
an up compiler warning Ken Cox (1): C6X: add basic support for TMS320C6678 SoC Mark Salter (3): C6X: remove megamod-pic requirement on direct-mapped core pic C6X: remove dependence on legacy IRQs C6X: clean up com

[GIT PULL] C6X atomic64 support

2012-08-17 Thread Mark Salter
01ddd9a809b9a95df097ff1b5565f806e681a606: C6X: select GENERIC_ATOMIC64 (2012-08-15 12:27:00 -0400) Enable atomic64 ops in C6X - define L1_CACHE_SHIFT - select GENERIC_ATOMIC64 Mark Salter (2

Re: [PATCH 04/11] C6X: defconfig: Remove CONFIG_MISC_DEVICES

2012-08-19 Thread Mark Salter
On Sat, 2012-08-18 at 13:23 -0300, Fabio Estevam wrote: > From: Fabio Estevam > > commit 7c5763 (drivers:misc: Remove MISC_DEVICES config option) removed > CONFIG_MISC_DEVICES option, so remove the occurrences from the config files > as well > > Cc: Mark Salter > Sign

Re: [Linux-c6x-dev] [PATCH 3/9] c6x: Provide dma_mmap_coherent() and dma_get_sgtable()

2013-01-14 Thread Mark Salter
On Sun, 2013-01-13 at 11:44 +0100, Geert Uytterhoeven wrote: > c6x/allmodconfig (assumed): > > drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_mmap’: > drivers/media/v4l2-core/videobuf2-dma-contig.c:204: error: implicit > declaration of function ‘dma_mmap_coherent’ > drivers/m

[GIT PULL] generic syscall and c6x fixes

2012-09-26 Thread Mark Salter
Mark Salter (2): c6x: use asm-generic/barrier.h syscalls: add __NR_kcmp syscall to generic unistd.h arch/c6x/include/asm/Kbuild|1 + arch/c6x/include/asm/barrier.h | 27 --- include/asm-generic/unistd.h |4 +++- 3

Re: [PATCH v10 3/4] ARM64: ACPI: enable ACPI_SPCR_TABLE

2016-09-08 Thread Mark Salter
On Thu, 2016-09-08 at 12:16 +0100, Will Deacon wrote: > On Wed, Sep 07, 2016 at 12:30:19PM +0300, Aleksey Makarov wrote: > > > > > > On 09/05/2016 03:36 PM, Aleksey Makarov wrote: > > > > > > SBBR mentions SPCR as a mandatory ACPI table.  So enable it for ARM64 > > > > > > Earlycon should be se

Re: [PATCH v10 3/4] ARM64: ACPI: enable ACPI_SPCR_TABLE

2016-09-13 Thread Mark Salter
On Fri, 2016-09-09 at 17:28 +0800, Hanjun Guo wrote: > On 2016/9/9 0:34, Mark Salter wrote: > > > > On Thu, 2016-09-08 at 12:16 +0100, Will Deacon wrote: > > > > > > On Wed, Sep 07, 2016 at 12:30:19PM +0300, Aleksey Makarov wrote: > > > > >

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-08-08 Thread Mark Salter
On Mon, 2016-08-08 at 15:05 +0200, Tomasz Nowicki wrote: > Some platforms may not be fully compliant with generic set of PCI config > accessors. For these cases we implement the way to overwrite accessors > set. Algorithm traverses available quirk list (static array), > matches against and > retur

Re: [RFC PATCH V5 0/5] ECAM quirks handling for ARM64 platforms

2016-08-08 Thread Mark Salter
hunder-pem.c | 96 > -- >  include/linux/pci-acpi.h   |  5 ++ >  include/linux/pci-ecam.h   |  2 +- >  9 files changed, 252 insertions(+), 57 deletions(-) >  create mode 100644 drivers/pci/host/mcfg-quirks.c >  create mode 100644 drivers/pci/host/mcfg-quirks.h > Tested-by: Mark Salter

Re: [PATCH V4 2/3] arm64: support initrd outside kernel linear map

2015-10-06 Thread Mark Salter
On Tue, 2015-10-06 at 18:11 +0100, Mark Rutland wrote: > On Tue, Sep 08, 2015 at 12:31:13PM +0100, Mark Rutland wrote: > > Hi Mark, > > > > On Mon, Aug 17, 2015 at 06:01:06PM +0100, Mark Salter wrote: > > > The use of mem= could leave part or all of the initrd outs

[PATCH] phylib: fix device deletion order in mdiobus_unregister()

2015-09-01 Thread Mark Salter
tered before the bus device is deleted. Signed-off-by: Mark Salter --- drivers/net/phy/mdio_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c index 46a14cb..02a4615 100644 --- a/drivers/net/phy/mdio_bus.c +++ b/drivers

Re: [Linaro-acpi] [RFC 3/5] acpi/serial: add DBG2 earlycon support

2015-09-08 Thread Mark Salter
On Tue, 2015-09-08 at 13:43 +0100, Leif Lindholm wrote: > The ACPI DBG2 table defines a debug console. Add support for parsing it > and using it to select earlycon destination when no arguments provided. > > Signed-off-by: Leif Lindholm > --- > arch/arm64/kernel/acpi.c | 2 + > drivers/ac

Re: [Linaro-acpi] [RFC 3/5] acpi/serial: add DBG2 earlycon support

2015-09-08 Thread Mark Salter
On Tue, 2015-09-08 at 18:17 +0100, Leif Lindholm wrote: > On Tue, Sep 08, 2015 at 12:38:59PM -0400, Mark Salter wrote: > > On Tue, 2015-09-08 at 13:43 +0100, Leif Lindholm wrote: > > > The ACPI DBG2 table defines a debug console. Add support for parsing it > > > and

Re: [Linaro-acpi] [RFC 3/5] acpi/serial: add DBG2 earlycon support

2015-09-08 Thread Mark Salter
On Tue, 2015-09-08 at 18:17 +0100, Leif Lindholm wrote: > > > */ > > > - if (!buf || !buf[0]) > > > - if (IS_ENABLED(CONFIG_OF_FLATTREE)) > > > + if (!buf || !buf[0]) { > > > + if (!acpi_disabled) > > > > How do we know for sure that "acpi" has been parsed before "earl

Re: [PATCH] c6x: fix platforms/plldata.c get_coreid build error

2018-01-23 Thread Mark Salter
x/platforms/plldata.c: In function 'c6472_setup_clocks': > arch/c6x/platforms/plldata.c:279:33: error: implicit declaration of function > 'get_coreid'; did you mean 'get_order'? > [-Werror=implicit-function-declaration] > c6x_core_clk.parent = &sy

Re: [PATCH] arm64: turn off xgene branch prediction while in kernel space

2018-01-24 Thread Mark Salter
rmation from one context to another. > > > > This patch only supports for XGene processors. > > > > Signed-off-by: Mark Salter > > Signed-off-by: Khuong Dinh > > --- > > arch/arm64/include/asm/cpucaps.h |3 ++- > > arch/arm64/inc

Re: [PATCH] acpi, spcr: Make SPCR available to x86

2018-01-21 Thread Mark Salter
void acpi_table_upgrade(void) { } > > #ifdef CONFIG_ACPI_SPCR_TABLE > extern bool qdf2400_e44_present; > -int parse_spcr(bool earlycon); > +int acpi_parse_spcr(bool enable_earlycon, bool enable_console); > #else > -static inline int parse_spcr(bool earlycon) { return 0;

  1   2   3   4   5   >