Re: [PATCH 11/12] kexec: allow architectures to override boot mapping

2016-05-11 Thread Baoquan He
On 04/28/16 at 10:28am, Russell King wrote: > diff --git a/include/linux/kexec.h b/include/linux/kexec.h > index 52a3a221bcb2..99cb9dac7909 100644 > --- a/include/linux/kexec.h > +++ b/include/linux/kexec.h > @@ -318,6 +318,44 @@ int __weak arch_kexec_apply_relocations_add(const > Elf_Ehdr *ehdr,

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-11 Thread Zhangjian (Bamvor)
Hi, Arnd On 2016/5/11 22:50, Arnd Bergmann wrote: On Wednesday 11 May 2016 19:16:44 Zhangjian wrote: Hi, On 2016/5/11 18:12, Zhangjian (Bamvor) wrote: Hi, Arnd On 2016/5/11 16:09, Arnd Bergmann wrote: > On Wednesday 11 May 2016 10:04:16 Zhangjian wrote: >>> I don't remember. It's probabl

Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64

2016-05-11 Thread Yury Norov
Hi, I debugged preadv02 and pwritev02 failures and found very weird bug. Test passes {iovec_base = 0x, iovec_len = 64} as one element of vector, and kernel reports successful read/write. There are 2 problems: 1. How kernel allows such address to be passed to fs subsystem; 2. How fs succes

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-11 Thread Arnd Bergmann
On Wednesday 11 May 2016 17:59:01 Catalin Marinas wrote: > On Wed, May 11, 2016 at 12:55:01PM +0200, Arnd Bergmann wrote: > > On Wednesday 11 May 2016 11:04:38 Yury Norov wrote: > > > On Wed, May 11, 2016 at 10:04:16AM +0800, Zhangjian (Bamvor) wrote: > > > [...] > > > > > > > >>Ok, I will test th

Re: [PATCH 11/12] kexec: allow architectures to override boot mapping

2016-05-11 Thread Russell King - ARM Linux
I was going to send the patches to Andrew, but then I noticed this one has received no acks. What's the situation for this patch? On Thu, Apr 28, 2016 at 10:28:40AM +0100, Russell King wrote: > kexec physical addresses are the boot-time view of the system. For > certain ARM systems (such as Keys

Applied "spi: dw-pci: Spelling s/paltforms/platforms/g" to the spi tree

2016-05-11 Thread Mark Brown
The patch spi: dw-pci: Spelling s/paltforms/platforms/g has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linu

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-11 Thread Catalin Marinas
On Wed, May 11, 2016 at 12:55:01PM +0200, Arnd Bergmann wrote: > On Wednesday 11 May 2016 11:04:38 Yury Norov wrote: > > On Wed, May 11, 2016 at 10:04:16AM +0800, Zhangjian (Bamvor) wrote: > > [...] > > > > > >>Ok, I will test the ltp syscall test. > > > >>With this changes, the issue I mentioned

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-11 Thread Arnd Bergmann
On Wednesday 11 May 2016 19:16:44 Zhangjian wrote: > Hi, > > On 2016/5/11 18:12, Zhangjian (Bamvor) wrote: > > Hi, Arnd > > > > On 2016/5/11 16:09, Arnd Bergmann wrote: > > > On Wednesday 11 May 2016 10:04:16 Zhangjian wrote: > > >>> I don't remember. It's probably not important whether we have

[PATCH 1/2] serial: doc: Always refer to tty_port->mutex

2016-05-11 Thread Geert Uytterhoeven
Stop referring to the mutex member of the tty_port struct as 'port->mutex', as 'port' is ambiguous, and usually refers to the uart_port struct in this document. Use 'tty_port->mutex' instead, following the single existing use. Signed-off-by: Geert Uytterhoeven --- Documentation/serial/driver |

[PATCH 0/2] serial: doc: More Low Level Serial API Documentation Improvements

2016-05-11 Thread Geert Uytterhoeven
Hi Greg, Jiri, Jon, Peter, Russell, This patch series (against next-20160511) contains improvements to the low level serial driver API documentation. Thanks for your comments! Geert Uytterhoeven (2): serial: doc: Always refer to tty_port->mutex serial: doc: Use port->state i

[PATCH 2/2] serial: doc: Use port->state instead of info

2016-05-11 Thread Geert Uytterhoeven
As of commit ebd2c8f6d2ec4012 ("serial: kill off uart_info"), the circular transmission buffer is part of struct uart_state instead of struct uart_info. Make it clear this structure is pointed to from struct uart_port. Change 'circ' to 'circ_buf' to match the structure name while we're at it. Sig

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-11 Thread Zhangjian (Bamvor)
Hi, On 2016/5/11 18:12, Zhangjian (Bamvor) wrote: Hi, Arnd On 2016/5/11 16:09, Arnd Bergmann wrote: > On Wednesday 11 May 2016 10:04:16 Zhangjian wrote: >>> I don't remember. It's probably not important whether we have the shift >>> in there, as long as it's independent of the actual kernel

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-11 Thread Arnd Bergmann
On Wednesday 11 May 2016 11:04:38 Yury Norov wrote: > On Wed, May 11, 2016 at 10:04:16AM +0800, Zhangjian (Bamvor) wrote: > [...] > > > >>Ok, I will test the ltp syscall test. > > >>With this changes, the issue I mentioned should be fixed. But we still > > >>use mmap2 syscall for ILP32 application

Re: [PATCH 00/12] Fixing TI Keystone2 kexec

2016-05-11 Thread Dave Young
On 05/11/16 at 10:32am, Russell King - ARM Linux wrote: > On Wed, May 11, 2016 at 05:13:38PM +0800, Dave Young wrote: > > On 05/11/16 at 09:52am, Russell King - ARM Linux wrote: > > > I think you're confusing things. DT doesn't contain the boot alias > > > memory ranges - it's not a separate chunk

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-11 Thread Zhangjian (Bamvor)
Hi, Arnd On 2016/5/11 16:09, Arnd Bergmann wrote: > On Wednesday 11 May 2016 10:04:16 Zhangjian wrote: >>> I don't remember. It's probably not important whether we have the shift >>> in there, as long as it's independent of the actual kernel page size and >>> user space and kernel agree on the ca

Re: [PATCH 00/12] Fixing TI Keystone2 kexec

2016-05-11 Thread Russell King - ARM Linux
On Wed, May 11, 2016 at 05:13:38PM +0800, Dave Young wrote: > On 05/11/16 at 09:52am, Russell King - ARM Linux wrote: > > I think you're confusing things. DT doesn't contain the boot alias > > memory ranges - it's not a separate chunk of memory. It's an alias > > of the same physical address spac

Re: [PATCH 00/12] Fixing TI Keystone2 kexec

2016-05-11 Thread Dave Young
On 05/11/16 at 09:52am, Russell King - ARM Linux wrote: > On Wed, May 11, 2016 at 04:29:23PM +0800, Dave Young wrote: > > Hi, Russell > > > > On 04/28/16 at 10:26am, Russell King - ARM Linux wrote: > > > These changes are required for TI Keystone2 kexec to be functional. TI > > > Keystone2 has th

Re: [PATCH 00/12] Fixing TI Keystone2 kexec

2016-05-11 Thread Russell King - ARM Linux
On Wed, May 11, 2016 at 04:29:23PM +0800, Dave Young wrote: > Hi, Russell > > On 04/28/16 at 10:26am, Russell King - ARM Linux wrote: > > These changes are required for TI Keystone2 kexec to be functional. TI > > Keystone2 has the run-time view of physical memory above 4GiB, but with > > a boot t

Re: [PATCH 00/12] Fixing TI Keystone2 kexec

2016-05-11 Thread Dave Young
Hi, Russell On 04/28/16 at 10:26am, Russell King - ARM Linux wrote: > These changes are required for TI Keystone2 kexec to be functional. TI > Keystone2 has the run-time view of physical memory above 4GiB, but with > a boot time alias below 4GiB which can only be used during the early > boot. >

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-11 Thread Arnd Bergmann
On Wednesday 11 May 2016 10:04:16 Zhangjian wrote: > > I don't remember. It's probably not important whether we have the shift > > in there, as long as it's independent of the actual kernel page size and > > user space and kernel agree on the calling conventions. > Well. I am ok with where to shift

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-11 Thread Yury Norov
On Wed, May 11, 2016 at 10:04:16AM +0800, Zhangjian (Bamvor) wrote: [...] > >>Ok, I will test the ltp syscall test. > >>With this changes, the issue I mentioned should be fixed. But we still > >>use mmap2 syscall for ILP32 application when we pass the offset instead > >>of page offset. Is it corre