Re: [PATCH v7 22/24] [media] rtl2832: change the i2c gate to be mux-locked

2016-04-28 Thread Wolfram Sang
> So, I think all is ok, or do you need more than Tested-by? I think this will do. Thanks! signature.asc Description: PGP signature

Re: [PATCH v7 22/24] [media] rtl2832: change the i2c gate to be mux-locked

2016-04-28 Thread Peter Rosin
On 2016-04-28 23:47, Wolfram Sang wrote: > On Wed, Apr 20, 2016 at 05:18:02PM +0200, Peter Rosin wrote: >> The root i2c adapter lock is then no longer held by the i2c mux during >> accesses behind the i2c gate, and such accesses need to take that lock >> just like any other ordinary i2c accesses do

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

2016-04-28 Thread Simon Horman
Hi Russell, On Thu, Apr 28, 2016 at 10:26:44AM +0100, 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

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

2016-04-28 Thread Arnd Bergmann
On Friday 29 April 2016 01:21:37 Yury Norov wrote: > index 1458ad7..410d817 100644 > --- a/arch/arm64/kernel/sys_ilp32.c > +++ b/arch/arm64/kernel/sys_ilp32.c > @@ -17,6 +17,8 @@ > * along with this program. If not, see > * . > */ > > +#define __SYSCALL_COMPAT

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

2016-04-28 Thread Yury Norov
On Thu, Apr 28, 2016 at 10:43:59PM +0200, Arnd Bergmann wrote: > On Thursday 28 April 2016 22:19:14 Yury Norov wrote: > > > > Yes, we need. Otherwise we have circular dependency like this: > > arch/arm64/kernel/sys_ilp32.c:60:0: warning: "__SC_WRAP" redefined > > #define __SC_WRAP(nr, sym) [nr] =

Re: [PATCH v7 22/24] [media] rtl2832: change the i2c gate to be mux-locked

2016-04-28 Thread Wolfram Sang
On Wed, Apr 20, 2016 at 05:18:02PM +0200, Peter Rosin wrote: > The root i2c adapter lock is then no longer held by the i2c mux during > accesses behind the i2c gate, and such accesses need to take that lock > just like any other ordinary i2c accesses do. > > So, declare the i2c gate mux-locked, an

Re: [PATCH v7 16/24] i2c: allow adapter drivers to override the adapter locking

2016-04-28 Thread Peter Rosin
On 2016-04-28 22:50, Wolfram Sang wrote: > On Wed, Apr 20, 2016 at 05:17:56PM +0200, Peter Rosin wrote: >> Add i2c_lock_bus() and i2c_unlock_bus(), which call the new lock_bus and >> unlock_bus ops in the adapter. These funcs/ops take an additional flags >> argument that indicates for what purpos

Re: [PATCH v7 16/24] i2c: allow adapter drivers to override the adapter locking

2016-04-28 Thread Wolfram Sang
On Wed, Apr 20, 2016 at 05:17:56PM +0200, Peter Rosin wrote: > Add i2c_lock_bus() and i2c_unlock_bus(), which call the new lock_bus and > unlock_bus ops in the adapter. These funcs/ops take an additional flags > argument that indicates for what purpose the adapter is locked. > > There are two flag

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

2016-04-28 Thread Arnd Bergmann
On Thursday 28 April 2016 22:19:14 Yury Norov wrote: > > Yes, we need. Otherwise we have circular dependency like this: > arch/arm64/kernel/sys_ilp32.c:60:0: warning: "__SC_WRAP" redefined > #define __SC_WRAP(nr, sym) [nr] = compat_##sym, > ^ > In file included from include/asm-generic/unistd

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

2016-04-28 Thread Yury Norov
On Tue, Apr 26, 2016 at 05:57:01PM +0100, Catalin Marinas wrote: > On Wed, Apr 06, 2016 at 01:08:42AM +0300, Yury Norov wrote: > > +/* Using non-compat syscalls where necessary */ > > +#define compat_sys_fadvise64_64sys_fadvise64_64 > > +#define compat_sys_fallocate sys_fallocate

Re: [PATCH 39/41] Documentation: vm: fix spelling mistakes

2016-04-28 Thread Andrew Morton
On Thu, 28 Apr 2016 07:46:07 -0600 Jonathan Corbet wrote: > On Thu, 28 Apr 2016 07:31:43 -0600 > Jonathan Corbet wrote: > > > On Mon, 25 Apr 2016 07:37:05 +0100 > > Eric Engestrom wrote: > > > > > Documentation/vm/transhuge.txt | 6 +++--- > > > 1 file changed, 3 insertions(+), 3 deletions(-

Re: [PATCH 30/41] Documentation: networking: fix spelling mistakes

2016-04-28 Thread David Miller
From: Eric Engestrom Date: Mon, 25 Apr 2016 07:36:56 +0100 > Signed-off-by: Eric Engestrom Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] Changed the path from to the incorrect drivers/char/sysrq.c to drivers/tty/sysrq.c

2016-04-28 Thread Jonathan Corbet
On Thu, 28 Apr 2016 10:15:24 +0200 René Nyffenegger wrote: > You're right, the lines were wrapped at character 78. I have fixed that > and sent the patch to myself. The attached patch should work now. The patch applies, but the above text is not a proper commit message, so I still can't apply it

Re: [PATCH] Documentation:Update Documentation/zh_CN/arm64/booting.txt

2016-04-28 Thread Fu Wei
Hi Jonathan, On 04/28/2016 09:16 PM, Jonathan Corbet wrote: On Thu, 21 Apr 2016 17:42:28 +0100 Will Deacon wrote: -C: 1926e54f115725a9248d0c4c65c22acaf94de4c4 +C: 55f058e7574c3615dea4615573a19bdb258696c6 Just curious, but what are these SHAs supposed to represent? Neither of them lo

Re: [PATCH] Documentation:Update Documentation/zh_CN/arm64/booting.txt

2016-04-28 Thread Fu Wei
Hi Will On 04/22/2016 12:42 AM, Will Deacon wrote: On Thu, Apr 21, 2016 at 09:45:40PM +0800, w...@redhat.com wrote: From: Fu Wei This is a update of Chinese documentation: Documentation/zh_CN/arm64/booting.txt It is based on the modifications of Documentation/arm64/booting.txt in submission

Re: [PATCH v2] Documentation: fix common spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Tue, 26 Apr 2016 16:41:21 -0700 Kees Cook wrote: > This fixes several spelling mistakes in the Documentation/ tree, which > are caught by checkpatch.pl's spell checking. I've applied this to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in

Re: [PATCH 39/41] Documentation: vm: fix spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Thu, 28 Apr 2016 07:31:43 -0600 Jonathan Corbet wrote: > On Mon, 25 Apr 2016 07:37:05 +0100 > Eric Engestrom wrote: > > > Documentation/vm/transhuge.txt | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > Applied to the docs tree, thanks. Actually, I've just unapplied th

Re: [PATCH 40/41] Documentation: x86: fix spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:37:06 +0100 Eric Engestrom wrote: > Documentation/x86/intel_mpx.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to major

Re: [PATCH 41/41] Documentation: xillybus: fix spelling mistake

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:37:07 +0100 Eric Engestrom wrote: > Documentation/xillybus.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger

Re: [PATCH 32/41] Documentation: pps: fix spelling mistake

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:36:58 +0100 Eric Engestrom wrote: > Documentation/pps/pps.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.

Re: [PATCH 32/41] Documentation: pps: fix spelling mistake

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:36:58 +0100 Eric Engestrom wrote: > Documentation/pps/pps.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.

Re: [PATCH 39/41] Documentation: vm: fix spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:37:05 +0100 Eric Engestrom wrote: > Documentation/vm/transhuge.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majo

Re: [PATCH 35/41] Documentation: scsi: fix spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:37:01 +0100 Eric Engestrom wrote: > Documentation/scsi/ChangeLog.megaraid_sas | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) Applied to the docs tree (after fixing trailing whitespace errors - the new and the old ones). jon -- To unsubscribe fro

Re: [PATCH 34/41] Documentation: robust-futexes: fix spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:37:00 +0100 Eric Engestrom wrote: > Documentation/robust-futexes.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to ma

Re: [PATCH 27/41] Documentation: laptops: fix spelling mistake

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:36:53 +0100 Eric Engestrom wrote: > -laptops, being called "Toshiba HDD Protection - Shock Sensor" officialy, > +laptops, being called "Toshiba HDD Protection - Shock Sensor" officially, Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line

Re: [PATCH 29/41] Documentation: lzo: fix spelling mistakes

2016-04-28 Thread Jonathan Corbet
On Mon, 25 Apr 2016 07:36:55 +0100 Eric Engestrom wrote: > Documentation/lzo.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.

Re: [PATCH] Documentation: devres: Add missing INPUT function

2016-04-28 Thread Jonathan Corbet
On Fri, 22 Apr 2016 13:34:51 -0400 Tejun Heo wrote: > On Thu, Apr 21, 2016 at 07:02:04PM +0200, Alexander Kurz wrote: > > devm_input_allocate_device() got introduced with commit 2be975c6d920 > > ("Input: introduce managed input devices (add devres support)"). > > Add this function to the list of

Re: [PATCH] Documentation:Update Documentation/zh_CN/arm64/booting.txt

2016-04-28 Thread Jonathan Corbet
On Thu, 21 Apr 2016 17:42:28 +0100 Will Deacon wrote: > > -C: 1926e54f115725a9248d0c4c65c22acaf94de4c4 > > +C: 55f058e7574c3615dea4615573a19bdb258696c6 > > Just curious, but what are these SHAs supposed to represent? Neither of > them looks particularly relevant to me. I'm kind of assuming it

Re: [PATCH v2] hrtimers: doc cleanup

2016-04-28 Thread Jonathan Corbet
On Thu, 21 Apr 2016 21:39:15 +0800 Cao jin wrote: > It has: > a tense correction(led->leads); > a typo(unevitably->inevitably); I've applied this to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kern

RE: [PATCH v2] can: rcar_canfd: Add Renesas R-Car CAN FD driver

2016-04-28 Thread Ramesh Shanmugasundaram
Hi Oliver, Thanks :-) Actually it will be v5 patch set & I have sent it now. Marc comments were on old v2 patch. Thanks, Ramesh > -Original Message- > From: Oliver Hartkopp [mailto:socket...@hartkopp.net] > Sent: 28 April 2016 07:28 > To: Ramesh Shanmugasundaram ; > w...@grandegger.com;

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

2016-04-28 Thread Zhangjian (Bamvor)
Hi, Andrew On 2016/4/28 5:15, Andrew Pinski wrote: On Wed, Apr 27, 2016 at 12:30 AM, Andrew Pinski wrote: On Fri, Apr 22, 2016 at 8:37 PM, Zhangjian (Bamvor) wrote: Hi, Yury On 2016/4/6 6:44, Yury Norov wrote: There are about 20 failing tests of 782 in lite scenario. float_bessel float_e

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

2016-04-28 Thread Russell King
kexec physical addresses are the boot-time view of the system. For certain ARM systems (such as Keystone 2), the boot view of the system does not match the kernel's view of the system: the boot view uses a special alias in the lower 4GB of the physical address space. To cater for these kinds of s

[PATCH 09/12] kexec: ensure user memory sizes do not wrap

2016-04-28 Thread Russell King
Ensure that user memory sizes do not wrap around when validating the user input, which can lead to the following input validation working incorrectly. Signed-off-by: Russell King --- kernel/kexec_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/kexec_core.c b/kernel/kexec_core

[PATCH 12/12] ARM: kexec: fix kexec for Keystone 2

2016-04-28 Thread Russell King
Provide kexec with the boot view of memory by overriding the normal kexec translation functions added in a previous patch. We also need to fix a call to memblock in machine_kexec_prepare() so that we provide it with a running-view physical address rather than a boot- view physical address. Signed

[PATCH 10/12] kexec: arrange for paddr_vmcoreinfo_note() to return phys_addr_t

2016-04-28 Thread Russell King
On PAE systems (eg, ARM LPAE) the vmcore note may be located above 4GB physical on 32-bit architectures, so we need a wider type than "unsigned long" here. Arrange for paddr_vmcoreinfo_note() to return a phys_addr_t, thereby allowing it to be located above 4GB. This makes no difference for kexec-

[PATCH 07/12] ARM: keystone: dts: add psci command definition

2016-04-28 Thread Russell King
From: Vitaly Andrianov This commit adds definition for cpu_on, cpu_off and cpu_suspend commands. These definitions must match the corresponding PSCI definitions in boot monitor. Having those command and corresponding PSCI support in boot monitor allows run time CPU hot plugin. Signed-off-by: Ke

[PATCH 06/12] ARM: kexec: advertise location of bootable RAM

2016-04-28 Thread Russell King
Advertise the location of bootable RAM to kexec-tools. kexec needs to know where it can place the kernel in RAM, and so be executable when the system needs to jump into it. Advertise these areas in /proc/iomem with a "System RAM (boot alias)" tag. Signed-off-by: Russell King --- arch/arm/kerne

[PATCH 08/12] kexec: don't invoke OOM-killer for control page allocation

2016-04-28 Thread Russell King
If we are unable to find a suitable page when allocating the control page, do not invoke the OOM-killer: killing processes probably isn't going to help. Signed-off-by: Russell King --- include/linux/kexec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/kexec.h

[PATCH 04/12] ARM: provide arm_has_idmap_alias() helper

2016-04-28 Thread Russell King
Provide a helper to indicate whether we need to perform special handling for boot identity mapping aliases or not. Signed-off-by: Russell King --- arch/arm/include/asm/memory.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h

[PATCH 03/12] ARM: kexec: remove 512MB restriction on kexec crashdump

2016-04-28 Thread Russell King
Signed-off-by: Russell King --- arch/arm/kernel/setup.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 77b54c461c52..d9317eec1eba 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -943,7 +943,6 @@

[PATCH 05/12] ARM: kdump: advertise boot aliased crash kernel resource

2016-04-28 Thread Russell King
Advertise a resource which describes where the crash kernel is located in the boot view of RAM. This allows kexec-tools to have this vital information. Signed-off-by: Russell King --- arch/arm/kernel/setup.c | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/kernel/s

[PATCH 02/12] ARM: provide improved virt_to_idmap() functionality

2016-04-28 Thread Russell King
For kexec, we need more functionality from the IDMAP system. We need to be able to convert physical addresses to their identity mappped versions as well as virtual addresses. Convert the existing arch_virt_to_idmap() to deal with physical addresses instead. Acked-by: Santosh Shilimkar Signed-of

[PATCH 01/12] ARM: kexec: fix crashkernel= handling

2016-04-28 Thread Russell King
When the kernel crashkernel parameter is specified with just a size, we are supposed to allocate a region from RAM to store the crashkernel. However, ARM merely reserves physical address zero with no checking that there is even RAM there. Fix this by lifting similar code from x86, importing it to

[PATCH 00/12] Fixing TI Keystone2 kexec

2016-04-28 Thread Russell King - ARM Linux
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. This means we need to translate run-time physical addresses (which the kernel u

Re: [PATCH] Changed the path from to the incorrect drivers/char/sysrq.c to drivers/tty/sysrq.c

2016-04-28 Thread René Nyffenegger
Jonathan You're right, the lines were wrapped at character 78. I have fixed that and sent the patch to myself. The attached patch should work now. René Signed-off-by: René Nyffenegger --- Documentation/sysrq.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation

[PATCH nf-next] netfilter: allow logging from non-init namespaces

2016-04-28 Thread Michal Kubecek
Commit 69b34fb996b2 ("netfilter: xt_LOG: add net namespace support for xt_LOG") disabled logging packets using the LOG target from non-init namespaces. The motivation was to prevent containers from flooding kernel log of the host. The plan was to keep it that way until syslog namespace implementati