Re: [PATCH 1/2] staging: lustre: lloop_device: Replace semaphore lo_sem with completion

2016-06-08 Thread James Simmons
> The semaphore 'lo_sem' in lloop_device is used as completion, so it > should be written as one. Semaphores are going away in the future. > > Signed-off-by: Binoy Jayan NAK. The lloop_device is about to get deleted. > --- > drivers/staging/lustre/lustre/llite/lloop.c

Re: kbuild: default n removals? (was: Re: [PATCH v3 4/6] watchdog: add watchdog pretimeout framework)

2016-06-08 Thread Guenter Roeck
On Wed, Jun 08, 2016 at 08:38:52AM -0700, Joe Perches wrote: > (Adding Michal Marek and linux-kbuild) > > On Wed, 2016-06-08 at 18:11 +0300, Vladimir Zapolskiy wrote: > > On 08.06.2016 16:53, Guenter Roeck wrote: > > > On 06/08/2016 06:37 AM, Vladimir Zapolskiy wrote: > > > > > > +comment

[PATCH v4 2/2] i2c: qup: support SMBus block read

2016-06-08 Thread Austin Christ
From: Naveen Kaje I2C QUP driver relies on SMBus emulation support from the framework. To handle SMBus block reads, the driver should check I2C_M_RECV_LEN flag and should read the first byte received as the message length. The driver configures the QUP hardware to read one

Re: [PATCH] nvmem: fix nvmem_cell_read() return type for !CONFIG_NVMEM

2016-06-08 Thread Srinivas Kandagatla
On 08/06/16 17:40, Brian Norris wrote: On Wed, Jun 08, 2016 at 09:26:46AM -0700, Brian Norris wrote: With CONFIG_NVMEM, nvmem_cell_read() returns void *. With !CONFIG_NVMEM it returns char *. Let's make that consistent. Also drop the incorrect/inconsistent comment about char * above the

Re: [PATCH] mm, kasan: switch SLUB to stackdepot, enable memory quarantine for SLUB

2016-06-08 Thread kbuild test robot
Hi, [auto build test WARNING on v4.7-rc2] [cannot apply to next-20160608] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Alexander-Potapenko/mm-kasan-switch-SLUB-to-stackdepot-enable-memory

Re: [PATCH] x86:pvclock: add missing barriers

2016-06-08 Thread Borislav Petkov
On Wed, Jun 08, 2016 at 09:11:39PM +0300, Roman Kagan wrote: > Gradual removal of excessive barriers in pvclock reading functions > (commits 502dfeff239e8313bfbe906ca0a1a6827ac8481b, > a3eb97bd80134ba07864ca00747466c02118aca1) ended up removing too much: > although rdtsc is now orderd WRT other

[PATCH] x86:pvclock: add missing barriers

2016-06-08 Thread Roman Kagan
Gradual removal of excessive barriers in pvclock reading functions (commits 502dfeff239e8313bfbe906ca0a1a6827ac8481b, a3eb97bd80134ba07864ca00747466c02118aca1) ended up removing too much: although rdtsc is now orderd WRT other loads, there's no protection against the compiler reordering the loads

[tip:x86/asm] x86, bitops: remove use of "sbb" to return CF

2016-06-08 Thread tip-bot for H. Peter Anvin
Commit-ID: 2823d4da5d8a0c222747b24eceb65f5b30717d02 Gitweb: http://git.kernel.org/tip/2823d4da5d8a0c222747b24eceb65f5b30717d02 Author: H. Peter Anvin AuthorDate: Wed, 8 Jun 2016 12:38:37 -0700 Committer: H. Peter Anvin CommitDate: Wed, 8 Jun 2016

Re: [PATCH V2 1/7] dt-bindings: Update QorIQ TMU thermal bindings

2016-06-08 Thread Rob Herring
On Tue, Jun 07, 2016 at 11:27:34AM +0800, Jia Hongtao wrote: > For different types of SoC the sensor id and endianness may vary. > "#thermal-sensor-cells" is used to provide sensor id information. > "little-endian" property is to tell the endianness of TMU. > > Signed-off-by: Jia Hongtao

Re: [PATCH v3 1/1] net: ethernet: Add TSE PCS support to dwmac-socfpga

2016-06-08 Thread Rob Herring
On Mon, Jun 06, 2016 at 08:01:56PM -0700, th...@altera.com wrote: > From: Tien Hock Loh > > This adds support for TSE PCS that uses SGMII adapter when the phy-mode of > the dwmac is set to sgmii > > Signed-off-by: Tien Hock Loh > > --- > v2: > - Refactored

Re: Files leak from nfsd in 4.7.1-rc1 (and more?)

2016-06-08 Thread Oleg Drokin
On Jun 8, 2016, at 1:22 PM, Jeff Layton wrote: > On Wed, 2016-06-08 at 12:10 -0400, Oleg Drokin wrote: >> On Jun 8, 2016, at 6:58 AM, Jeff Layton wrote: >> >>> A simple way to confirm that might be to convert all of the read locks >>> on the st_rwsem to write locks. That will serialize all of

Re: dell-smm-hwmon: security problems

2016-06-08 Thread Guenter Roeck
On Wed, Jun 08, 2016 at 03:55:48PM +0200, Pali Rohár wrote: > On Wednesday 08 June 2016 15:24:10 Guenter Roeck wrote: > > On 06/08/2016 02:57 AM, Pali Rohár wrote: > > > Hello! > > > > > > Mario wrote me about two I think security problems in > > > dell-smm-hwmon driver and I would like to ask

Re: [PATCH v2 1/1] hwmon: (tmp401) Add support for TI TMP461

2016-06-08 Thread Guenter Roeck
On Wed, Jun 08, 2016 at 12:00:54PM -0500, Andrew F. Davis wrote: > Signed-off-by: Andrew F. Davis Applied to hwmon-next. Thanks, Guenter

[PATCH] mfd: omap-usb-tll: fix include of omap-usb.h

2016-06-08 Thread Ben Dooks
Fix the warnings about the following functions not being declared by including omap-usb.h which declares them: drivers/mfd/omap-usb-tll.c:333:5: warning: symbol 'omap_tll_init' was not declared. Should it be static? drivers/mfd/omap-usb-tll.c:408:5: warning: symbol 'omap_tll_enable' was not

Re: [RFC][PATCH 2/5] driver core: Functional dependencies tracking support

2016-06-08 Thread Rafael J. Wysocki
On Wed, Jun 8, 2016 at 2:48 PM, Mark Brown wrote: > On Thu, Jan 14, 2016 at 02:54:17AM +0100, Rafael J. Wysocki wrote: > >> + * A side effect of the link creation is re-ordering of dpm_list and the >> + * devices_kset list by moving the consumer device and all devices

Re: [PATCH net v2] sfc: report supported link speeds on SFP connections

2016-06-08 Thread David Miller
From: Jarod Wilson Date: Wed, 8 Jun 2016 09:41:14 -0400 > On Tue, Jun 07, 2016 at 05:20:16PM -0400, Jarod Wilson wrote: >> On Mon, Jun 06, 2016 at 02:55:29PM -0400, Jarod Wilson wrote: >> > On Mon, Jun 06, 2016 at 05:29:30PM +0100, Bert Kenward wrote: >> > > 7000-series SFC

[RFC PATCH 00/15] Exynos big-endian fixes

2016-06-08 Thread Matthew Leach
Hi all, I've been working with Ben Dooks to get a big-endian kernel working on my Exynos 4412 board. Primarily this series consists of: - Replacing the __raw_{read,write}l accessors, which aren't endian-clean, with their respective {read,write}l_relaxed versions across various

[RFC PATCH 02/15] clocksource: samsung_pwm_timer: fix endian accessors

2016-06-08 Thread Matthew Leach
Fix the Samsung pwm timer access code to deal with kernels built for big endian operation. Signed-off-by: Matthew Leach --- CC: Daniel Lezcano CC: Thomas Gleixner CC: linux-kernel@vger.kernel.org ---

[RFC PATCH 01/15] clock: exynos: fixup endian in pll clk

2016-06-08 Thread Matthew Leach
Fix the clk endian access code to deal with kernels built for big endian operation. Signed-off-by: Matthew Leach --- CC: Sylwester Nawrocki CC: Tomasz Figa CC: Michael Turquette CC: Stephen Boyd

Re: [PATCH v5 3/3] sched/cputime: Add steal time support to full dynticks CPU time accounting

2016-06-08 Thread Rik van Riel
On Wed, 2016-06-08 at 11:05 +0800, Wanpeng Li wrote: >  > @@ -681,12 +681,17 @@ static cputime_t vtime_delta(struct task_struct > *tsk) >  static cputime_t get_vtime_delta(struct task_struct *tsk) >  { >   unsigned long now = READ_ONCE(jiffies); > - unsigned long delta = now -

Re: [PATCH v6 3/6] crypto: AF_ALG -- add asymmetric cipher interface

2016-06-08 Thread Mat Martineau
On Wed, 8 Jun 2016, Stephan Mueller wrote: Am Dienstag, 7. Juni 2016, 17:28:07 schrieb Mat Martineau: Hi Mat, + used = ctx->used; + + /* convert iovecs of output buffers into scatterlists */ + while (iov_iter_count(>msg_iter)) { + /* make one iovec available

Re: [PATCH] mm, kasan: switch SLUB to stackdepot, enable memory quarantine for SLUB

2016-06-08 Thread kbuild test robot
Hi, [auto build test ERROR on v4.7-rc2] [cannot apply to next-20160608] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Alexander-Potapenko/mm-kasan-switch-SLUB-to-stackdepot-enable-memory

Re: [PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros

2016-06-08 Thread H. Peter Anvin
On 06/07/16 22:09, Andy Lutomirski wrote: > On Tue, Jun 7, 2016 at 4:31 PM, H. Peter Anvin wrote: >> From: "H. Peter Anvin" >> >> The CC_SET() and CC_OUT() macros can be used together to take >> advantage of the new __GCC_ASM_FLAG_OUTPUTS__ feature in gcc 6+

[PATCH v2 00/10] x86: use gcc 6+ asm flag output feature

2016-06-08 Thread H. Peter Anvin
From: "H. Peter Anvin" gcc 6+ has the ability to let flags (actually, conditions, which are specific combinations of flags) to be used directly as asm() outputs. The syntax for that is "=@cc" where is the same set of letters that would be used in a j or set instruction (e.g.

[PATCH] target: Fix for hang of Ordered task in TCM

2016-06-08 Thread Bryant G. Ly
From: Nicholas Bellinger If a command with a Simple task attribute is failed due to a Unit Attention, then a subsequent command with an Ordered task attribute will hang forever. The reason for this is that the Unit Attention status is checked for in

[tip:x86/asm] x86, asm: change GEN_*_RMWcc() to use CC_SET()/CC_OUT()

2016-06-08 Thread tip-bot for H. Peter Anvin
Commit-ID: ba741e356c49bfce0adcfa851080666870867f6b Gitweb: http://git.kernel.org/tip/ba741e356c49bfce0adcfa851080666870867f6b Author: H. Peter Anvin AuthorDate: Wed, 8 Jun 2016 12:38:41 -0700 Committer: H. Peter Anvin CommitDate: Wed, 8 Jun 2016

[tip:x86/asm] x86, asm: Use CC_SET()/CC_OUT() in

2016-06-08 Thread tip-bot for H. Peter Anvin
Commit-ID: 64be6d36f5674f3424d1901772f76e21874f4954 Gitweb: http://git.kernel.org/tip/64be6d36f5674f3424d1901772f76e21874f4954 Author: H. Peter Anvin AuthorDate: Wed, 8 Jun 2016 12:38:43 -0700 Committer: H. Peter Anvin CommitDate: Wed, 8 Jun 2016

Re: [PATCH 2/4] dell-wmi: Sort WMI event codes and update comments

2016-06-08 Thread Darren Hart
On Wed, Jun 08, 2016 at 12:03:24AM +0200, Pali Rohár wrote: > On Thursday 02 June 2016 12:41:42 Michał Kępień wrote: > > > Signed-off-by: Pali Rohár > > > > My guess is that Darren won't let you off without at least a short > > commit message. > > I have no idea what else

[tip:x86/asm] x86, asm: Use CC_SET()/CC_OUT() in

2016-06-08 Thread tip-bot for H. Peter Anvin
Commit-ID: 86b61240d4c233b440cd29daf0baa440daf4a148 Gitweb: http://git.kernel.org/tip/86b61240d4c233b440cd29daf0baa440daf4a148 Author: H. Peter Anvin AuthorDate: Wed, 8 Jun 2016 12:38:42 -0700 Committer: H. Peter Anvin CommitDate: Wed, 8 Jun 2016

Re: [PATCH] arm64: dts: apm: Use lowercase consistently for hex constants

2016-06-08 Thread Rob Herring
On Mon, Jun 06, 2016 at 03:17:56PM -0500, Bjorn Helgaas wrote: > The convention in these files is to use lowercase for "0x" prefixes and for > the hex constants themselves, but a few changes didn't follow that > convention, which makes the file annoying to read. > > Use lowercase consistently for

[PATCH 3/7] f2fs: drop any block plugging

2016-06-08 Thread Jaegeuk Kim
In f2fs, we don't need to keep block plugging for NODE and DATA writes, since we already merged bios as much as possible. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 4 fs/f2fs/data.c | 17 ++--- fs/f2fs/gc.c | 5 -

[tip:locking/urgent] futex: Calculate the futex key based on a tail page for file-based futexes

2016-06-08 Thread tip-bot for Mel Gorman
Commit-ID: 077fa7aed17de5022e44bf07dbaf732078b7b5b2 Gitweb: http://git.kernel.org/tip/077fa7aed17de5022e44bf07dbaf732078b7b5b2 Author: Mel Gorman AuthorDate: Wed, 8 Jun 2016 14:25:22 +0100 Committer: Thomas Gleixner CommitDate: Wed, 8 Jun 2016

Re: [Linaro-mm-sig] [RFC][PATCH 0/6] ion: improved ABI

2016-06-08 Thread Laura Abbott
On 06/06/2016 11:59 PM, Chen Feng wrote: The idea is good, define the heap ids in header file is inconvenient. But if we query the heaps information from user-space. It need to maintain this ids and name userspace one by one. The code may be complicated in different module user-space. In

Re: [RFC][PATCH 6/6] staging: android: ion: Introduce new ioctls for dynamic heaps

2016-06-08 Thread Laura Abbott
On 06/08/2016 06:50 AM, Liviu Dudau wrote: On Mon, Jun 06, 2016 at 11:23:33AM -0700, Laura Abbott wrote: From: Laura Abbott The Ion ABI for heaps is limiting to work with for more complex systems. Heaps have to be registered at boot time with known ids available to

Re: [PATCH 0/2] *** staging: lustre: Replace semaphore lock with mutex ***

2016-06-08 Thread James Simmons
> Hi, > > These are a set of patches which removes semaphores from: > > drivers/staging/lustre (lnet) > > These are part of a bigger effort to eliminate all semaphores > from the linux kernel. > > They build correctly (individually and as a whole). > > Thanks, > Binoy I just finishing

Re: dell-smm-hwmon: security problems

2016-06-08 Thread Pali Rohár
On Wednesday 08 June 2016 19:37:43 Guenter Roeck wrote: > On Wed, Jun 08, 2016 at 03:55:48PM +0200, Pali Rohár wrote: > > And do you have idea what to do with problem 1)? > > If you really want to do something about it, you could whiteout the > serial number if CAP_SYS_ADMIN is not set. Ok, that

Re: dell-smm-hwmon: security problems

2016-06-08 Thread Pali Rohár
On Wednesday 08 June 2016 19:54:35 Austin S. Hemmelgarn wrote: > On 2016-06-08 13:37, Guenter Roeck wrote: > > On Wed, Jun 08, 2016 at 03:55:48PM +0200, Pali Rohár wrote: > >> On Wednesday 08 June 2016 15:24:10 Guenter Roeck wrote: > >>> On 06/08/2016 02:57 AM, Pali Rohár wrote: > Hello! >

Re: [PATCH v3 4/6] watchdog: add watchdog pretimeout framework

2016-06-08 Thread Guenter Roeck
On Wed, Jun 08, 2016 at 05:08:09PM +0300, Vladimir Zapolskiy wrote: > Hi Wolfram, > > On 08.06.2016 09:54, Wolfram Sang wrote: > > On Tue, Jun 07, 2016 at 08:38:45PM +0300, Vladimir Zapolskiy wrote: > >> The change adds a simple watchdog pretimeout framework infrastructure, > >> its purpose is to

[RFC PATCH 05/15] tty: serial: samsung: fixup accessors for endian

2016-06-08 Thread Matthew Leach
Fix the serial access code to deal with kernels built for big endian operation. Signed-off-by: Matthew Leach --- CC: Greg Kroah-Hartman CC: Jiri Slaby CC: linux-ser...@vger.kernel.org CC: linux-kernel@vger.kernel.org ---

[RFC PATCH 04/15] irqchip: exynos_combiner: fixup reg access on be

2016-06-08 Thread Matthew Leach
Use the byte-order aware big endian accessors, allowing for kernels running under big-endian. Signed-off-by: Matthew Leach --- CC: Thomas Gleixner CC: Jason Cooper CC: Marc Zyngier CC: Kukjin Kim

Re: [tip:x86/urgent] x86/quirks: Add early quirk to reset Apple AirPort card

2016-06-08 Thread Yinghai Lu
On Wed, Jun 8, 2016 at 7:23 AM, tip-bot for Lukas Wunner wrote: > Commit-ID: 625a99d9bfd038ea492f57308555bf4e607ce591 > Gitweb: http://git.kernel.org/tip/625a99d9bfd038ea492f57308555bf4e607ce591 > Author: Lukas Wunner > AuthorDate: Sun, 29 May 2016

Re: [tpmdd-devel] [PATCH v4 3/4] tpm: Allow TPM chip drivers to override reported command durations

2016-06-08 Thread Jason Gunthorpe
On Tue, Jun 07, 2016 at 05:45:39PM -0700, Ed Swierk wrote: > + case 0x32041114: /* Atmel 3204 */ > + chip->vendor.timeout_a = TIS_SHORT_TIMEOUT * HZ / 1000; > + chip->vendor.timeout_b = TIS_LONG_TIMEOUT * HZ / 1000; > + chip->vendor.timeout_c =

Re: [PATCH 3/5] ARM: sun8i: dt: Add DT bindings documentation for Allwinner sun8i-emac

2016-06-08 Thread Rob Herring
On Mon, Jun 06, 2016 at 08:10:54PM +0200, Corentin LABBE wrote: > Le 06/06/2016 16:14, Rob Herring a écrit : > > On Fri, Jun 03, 2016 at 11:56:28AM +0200, LABBE Corentin wrote: > >> This patch adds documentation for Device-Tree bindings for the > >> Allwinner sun8i-emac driver. > >> > >>

Re: [PATCH 0/2] qcom: add l2 cache perf events driver

2016-06-08 Thread Neil Leeder
On 6/8/2016 12:12 PM, Mark Rutland wrote: > On Wed, Jun 08, 2016 at 11:21:16AM -0400, Neil Leeder wrote: >> >> >> On 6/6/2016 05:04 AM, Mark Rutland wrote: >>> On Fri, Jun 03, 2016 at 05:03:30PM -0400, Neil Leeder wrote: This adds a new dynamic PMU to the Perf Events framework to program

Re: [PATCH 04/10] x86, asm: define CC_SET() and CC_OUT() macros

2016-06-08 Thread H. Peter Anvin
On 06/08/16 12:29, H. Peter Anvin wrote: > On 06/07/16 22:09, Andy Lutomirski wrote: >> On Tue, Jun 7, 2016 at 4:31 PM, H. Peter Anvin wrote: >>> From: "H. Peter Anvin" >>> >>> The CC_SET() and CC_OUT() macros can be used together to take >>> advantage of

[PATCH v2 09/10] x86, asm, boot: Use CC_SET()/CC_OUT() in arch/x86/boot/boot.h

2016-06-08 Thread H. Peter Anvin
Remove open-coded uses of set instructions to use CC_SET()/CC_OUT() in arch/x86/boot/boot.h. Signed-off-by: H. Peter Anvin Reviewed-by: Andy Lutomirski Reviewed-by: Borislav Petkov Acked-by: Peter Zijlstra (Intel) ---

[PATCH v2 10/10] x86, asm: Use CC_SET()/CC_OUT() and static_cpu_has() in archrandom.h

2016-06-08 Thread H. Peter Anvin
Use CC_SET()/CC_OUT() and static_cpu_has(). This produces code good enough to eliminate ad hoc use of alternatives in , greatly simplifying the code. While we are at it, make x86_init_rdrand() compile out completely if we don't need it. Signed-off-by: H. Peter Anvin v2:

[PATCH v2 05/10] x86, asm: change GEN_*_RMWcc() to use CC_SET()/CC_OUT()

2016-06-08 Thread H. Peter Anvin
From: "H. Peter Anvin" Change the GEN_*_RMWcc() macros to use the CC_SET()/CC_OUT() macros defined in , and disable the use of asm goto if __GCC_ASM_FLAG_OUTPUTS__ is enabled. This allows gcc to receive the flags output directly in gcc 6+. Signed-off-by: H. Peter Anvin

Re: [PATCH v4 2/7] binding: Make "mdio-parent-bus" property from mandatory to optional

2016-06-08 Thread Rob Herring
On Mon, Jun 06, 2016 at 06:11:35PM +0530, Pramod Kumar wrote: > Change "mdio-parent-bus" from mandatory section to optional > as it won't be required by integrated MDIO multiplexer > which has bus selection and mdio transaction generation logic, > integrated inside. > > Signed-off-by: Pramod

[PATCH v2 01/10] x86, bitops: remove use of "sbb" to return CF

2016-06-08 Thread H. Peter Anvin
From: "H. Peter Anvin" Use SETC instead of SBB to return the value of CF from assembly. Using SETcc enables uniformity with other flags-returning pieces of assembly code. Signed-off-by: H. Peter Anvin Reviewed-by: Andy Lutomirski Reviewed-by:

[PATCH v2 04/10] x86, asm: define CC_SET() and CC_OUT() macros

2016-06-08 Thread H. Peter Anvin
From: "H. Peter Anvin" The CC_SET() and CC_OUT() macros can be used together to take advantage of the new __GCC_ASM_FLAG_OUTPUTS__ feature in gcc 6+ while remaining backwards compatible. CC_SET() generates a SET instruction on older compilers; CC_OUT() makes sure the output is

[tip:x86/asm] x86, asm: change the GEN_*_RMWcc() macros to not quote the condition

2016-06-08 Thread tip-bot for H. Peter Anvin
Commit-ID: 18fe58229d80c7f4f138a07e84ba608e1ebd232b Gitweb: http://git.kernel.org/tip/18fe58229d80c7f4f138a07e84ba608e1ebd232b Author: H. Peter Anvin AuthorDate: Wed, 8 Jun 2016 12:38:39 -0700 Committer: H. Peter Anvin CommitDate: Wed, 8 Jun 2016

[tip:x86/asm] x86, asm: define CC_SET() and CC_OUT() macros

2016-06-08 Thread tip-bot for H. Peter Anvin
Commit-ID: ff3554b409b82d349f71e9d7082648b7b0a1a5bb Gitweb: http://git.kernel.org/tip/ff3554b409b82d349f71e9d7082648b7b0a1a5bb Author: H. Peter Anvin AuthorDate: Wed, 8 Jun 2016 12:38:40 -0700 Committer: H. Peter Anvin CommitDate: Wed, 8 Jun 2016

[tip:x86/asm] x86, asm: use bool for bitops and other assembly outputs

2016-06-08 Thread tip-bot for H. Peter Anvin
Commit-ID: 117780eef7740729e803bdcc0d5f2f48137ea8e3 Gitweb: http://git.kernel.org/tip/117780eef7740729e803bdcc0d5f2f48137ea8e3 Author: H. Peter Anvin AuthorDate: Wed, 8 Jun 2016 12:38:38 -0700 Committer: H. Peter Anvin CommitDate: Wed, 8 Jun 2016

RE: [PATCH V2] MAINTAINERS: Add Dialog PMIC search terms for missing documentation and header files

2016-06-08 Thread Opensource [Steve Twiss]
On 08 June 2016 15:19, Mark Brown wrote: > Subject: Re: [PATCH V2] MAINTAINERS: Add Dialog PMIC search terms for > missing documentation and header files > > On Tue, May 24, 2016 at 08:53:46AM +0100, Steve Twiss wrote: > > > The majority of these updates are for MFD documentation and headers, >

[PATCH v4 1/2] i2c: qup: add ACPI support

2016-06-08 Thread Austin Christ
From: Naveen Kaje Add support to get the device parameters from ACPI. Assume that the clocks are managed by firmware. Signed-off-by: Naveen Kaje Signed-off-by: Austin Christ Reviewed-by: sricha...@codeaurora.org ---

[RFC PATCH 03/15] clk: samsung: exynos4: fixup reg access on be

2016-06-08 Thread Matthew Leach
Use the byte-order aware big endian accessors, allowing for kernels running under big-endian. Signed-off-by: Matthew Leach --- CC: Sylwester Nawrocki CC: Tomasz Figa CC: Michael Turquette CC:

[RFC PATCH 06/15] tty: serial: samsung: add byte-order aware bit functions

2016-06-08 Thread Matthew Leach
This driver makes use of the __set_bit() and __clear_bit() functions. When running under big-endian, these functions don't convert the bit indexes when working with peripheral registers, leading to the incorrect bits being set and cleared when running big-endian. Add two new driver functions for

[RFC PATCH 12/15] irqchip/s3c24xx: fixup IO accessors for big endian

2016-06-08 Thread Matthew Leach
From: Ben Dooks Instead of using the __raw accesors, use the _relaxed versions to deal with any issues due to endian-ness of the CPU. Signed-off-by: Ben Dooks --- CC: Thomas Gleixner (maintainer:IRQCHIP DRIVERS) CC:

[RFC PATCH 13/15] memory: samsung: endian fixes for IO

2016-06-08 Thread Matthew Leach
From: Ben Dooks Use the relaxed versions of the IO accessors to avoid any issues if running in big endian. Signed-off-by: Ben Dooks --- Cc: Pavel Fedin Cc: Krzysztof Kozlowski Cc: Pankaj Dubey

[RFC PATCH 15/15] iommu/exynos: update to use iommu big-endian

2016-06-08 Thread Matthew Leach
From: Ben Dooks Add initial support for big endian by always writing the pte in le32. Note, revisit if hardware capable of doing big endian fetches. Signed-off-by: Ben Dooks --- Cc: Marek Szyprowski Cc: Joerg

Re: [PATCH net-next v2] netvsc: get rid of completion timeouts

2016-06-08 Thread David Miller
From: Vitaly Kuznetsov Date: Wed, 8 Jun 2016 19:17:41 +0200 > I'm hitting 5 second timeout in rndis_filter_set_rss_param() while setting > RSS parameters for the device. When this happens we end up returning > -ETIMEDOUT from the function and rndis_filter_device_add() falls

[RFC PATCH 07/15] ARM: exynos: fixup debug macros for big-endian

2016-06-08 Thread Matthew Leach
From: Ben Dooks The exynos low-level debug macros need to be fixed if the system is being built big endian. Add the necessary endian swaps for accessing the registers to get output working again Signed-off-by: Ben Dooks ---

[RFC PATCH 10/15] ARM: EXYNOS: fixup endian in pm/pmu

2016-06-08 Thread Matthew Leach
From: Ben Dooks Fix the PMU code endian access code to deal with kernels built for big endian operation. Signed-off-by: Ben Dooks --- arch/arm/mach-exynos/common.h | 4 ++-- arch/arm/mach-exynos/pm.c | 4 ++--

Re: [PATCH] Documentation/devicetree: document cavium-pip rx-delay/tx-delay properties

2016-06-08 Thread Rob Herring
On Sun, Jun 05, 2016 at 01:24:02AM +0300, Aaro Koskinen wrote: > Document cavium-pip rx-delay/tx-delay properties. Currently the board > specific values need to be hardcoded in the platform code, which we > want to avoid when moving to DT-only booting. > > Signed-off-by: Aaro Koskinen

Re: [RFC][PATCH 0/6] ion: improved ABI

2016-06-08 Thread Laura Abbott
On 06/08/2016 08:15 AM, Brian Starkey wrote: Hi Laura, On Mon, Jun 06, 2016 at 11:23:27AM -0700, Laura Abbott wrote: The ABI for Ion's ioctl interface are a pain to work with. The heap IDs are a 32-bit non-discoverable namespace that form part of the ABI. There's no way to determine what ABI

Re: [RFC 1/1] ARM: print MHz in /proc/cpuinfo

2016-06-08 Thread Jon Mason
On Wed, Jun 08, 2016 at 09:34:06AM +0100, Sudeep Holla wrote: > > > On 07/06/16 22:08, Jon Mason wrote: > >Query the CPU core clock in the device tree to determine the core clock > >speed. > > How do guarantee that it's the current frequency of the CPU ? I am basing it on the assumption

Re: [PATCH] Documentation/devicetree: document cavium-pip rx-delay/tx-delay properties

2016-06-08 Thread Aaro Koskinen
Hi, On Wed, Jun 08, 2016 at 02:18:42PM -0500, Rob Herring wrote: > On Sun, Jun 05, 2016 at 01:24:02AM +0300, Aaro Koskinen wrote: > > Document cavium-pip rx-delay/tx-delay properties. Currently the board > > specific values need to be hardcoded in the platform code, which we > > want to avoid

Re: [tip:perf/core] perf/x86/intel: Use Intel family macros for core perf events

2016-06-08 Thread Stephane Eranian
On Wed, Jun 8, 2016 at 9:34 AM, Borislav Petkov wrote: > On Wed, Jun 08, 2016 at 06:25:29PM +0200, Ingo Molnar wrote: >> model string: IvyBridge_X >> >> ... or something like that. The string could even be auto-generated from the >> list >> in intel-family.h? > > Yap, that

[PATCH 7/7] f2fs: don't need to flush unlinked dentry pages

2016-06-08 Thread Jaegeuk Kim
We don't need to flush any dentry pages used by unlinked directory. They will be truncated by f2fs_evict_inode. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/checkpoint.c

Re: [RFC][PATCH 0/5] Functional dependencies between devices

2016-06-08 Thread Mark Brown
On Wed, Jun 08, 2016 at 07:24:15PM +0200, Rafael J. Wysocki wrote: > On Wed, Jun 8, 2016 at 2:15 PM, Mark Brown wrote: > > On Thu, Jan 14, 2016 at 02:52:11AM +0100, Rafael J. Wysocki wrote: > >> What follows is my prototype implementation of this. It took some time > >> to

Re: dell-smm-hwmon: security problems

2016-06-08 Thread Austin S. Hemmelgarn
On 2016-06-08 13:37, Guenter Roeck wrote: On Wed, Jun 08, 2016 at 03:55:48PM +0200, Pali Rohár wrote: On Wednesday 08 June 2016 15:24:10 Guenter Roeck wrote: On 06/08/2016 02:57 AM, Pali Rohár wrote: Hello! Mario wrote me about two I think security problems in dell-smm-hwmon driver and I

Re: [PATCH] drivers/net/fsl_ucc: Do not prefix header guard with CONFIG_

2016-06-08 Thread David Miller
From: Andreas Ziegler Date: Wed, 8 Jun 2016 11:40:28 +0200 > The CONFIG_ prefix should only be used for options which > can be configured through Kconfig and not for guarding headers. > > Signed-off-by: Andreas Ziegler Applied.

[RFC PATCH 08/15] ARM: samsung: fixup endian issues in cpu detection

2016-06-08 Thread Matthew Leach
From: Ben Dooks If the system is built for big endian, then the cpu identificaiton register will be read in the wrong order. Fix this by using readl_relaxed() on the register. Signed-off-by: Ben Dooks --- arch/arm/plat-samsung/cpu.c | 8

[RFC PATCH 14/15] hwrng: exynos - fixup IO accesors

2016-06-08 Thread Matthew Leach
From: Ben Dooks The __raw IO functions are not endian safe, so use the readl_relaxed and writel_relaxed versions of these. Signed-off-by: Ben Dooks --- CC: Matt Mackall CC: Krzysztof Kozlowski

[RFC PATCH 09/15] ARM: EXYNOS: fixups for big-endian operation

2016-06-08 Thread Matthew Leach
From: Ben Dooks If the kernel is built big endian, then using the __raw read and write IO accessors is not going to work as they end up writing big-endian data to little-endian IO registers. Fix this by using the readl and writel relaxed versions which ensure little

[RFC PATCH 11/15] ARM: EXYNOS: Enable ARCH_SUPPORTS_BIG_ENDIAN explicitly

2016-06-08 Thread Matthew Leach
From: Ben Dooks Now the initial fixes have the big-endian code working on EXYNOS, make sure we explicitly mark our arch as being big endian capable. Signed-off-by: Ben Dooks --- arch/arm/mach-exynos/Kconfig | 1 + 1 file changed, 1

[PATCH] mm, kasan: switch SLUB to stackdepot, enable memory quarantine for SLUB

2016-06-08 Thread Alexander Potapenko
For KASAN builds: - switch SLUB allocator to using stackdepot instead of storing the allocation/deallocation stacks in the objects; - define SLAB_RED_ZONE, SLAB_POISON, SLAB_STORE_USER to zero, effectively disabling these debug features, as they're redundant in the presence of KASAN; -

Re: [PATCH 00/18] staging/android: clean up SW_SYNC

2016-06-08 Thread Gustavo Padovan
Hi Greg, Any comment on this? Gustavo 2016-05-31 Gustavo Padovan : > From: Gustavo Padovan > > Hi, > > The following patches do a clean up on the sw_sync inteface. It starts by > removing struct sync_timeline_ops, which was

[PATCH] docs: Move brcm,bcm21664-resetmgr.txt

2016-06-08 Thread Chris Brand
Sebastian pointed out that .../bindings/reset is usually used for peripheral reset controllers, whereas .../bindings/power/reset is used for Board/System reset controllers. Reported-by: Sebastian Reichel Signed-off-by: Chris Brand ---

Re: [PATCH v2] thinkpad_acpi: Add support for HKEY version 0x200

2016-06-08 Thread Darren Hart
On Wed, Jun 08, 2016 at 10:54:25AM -0400, Lyude wrote: > From: Dennis Wassenberg > > Lenovo Thinkpad devices T460, T460s, T460p, T560, X260 use > HKEY version 0x200 without adaptive keyboard. > > HKEY version 0x200 has method MHKA with one parameter value. >

[PATCH 3/3] x86, mpx, selftests: add MPX self test

2016-06-08 Thread Dave Hansen
From: Dave Hansen I've had this code for a while, but never submitted it upstream. Now that Skylake hardware is out in the wild, folks can actually run this for real. It tests the following: 1. The MPX hardware is enabled by the kernel and doing what it

[PATCH 1/3] x86, signals: add missing signal_compat code for x86 features

2016-06-08 Thread Dave Hansen
From: Dave Hansen The 32-bit siginfo is a different binary format than the 64-bit one. So, when running 32-bit binaries on 64-bit kernels, we have to convert the kernel's 64-bit version to a 32-bit version that userspace can grok. We've added a few features to

Re: [PATCH 0/9] [v2] System Calls for Memory Protection Keys

2016-06-08 Thread Dave Hansen
On 06/08/2016 02:23 AM, Michael Kerrisk (man-pages) wrote: > On 06/07/2016 10:47 PM, Dave Hansen wrote: >> > Are there any concerns with merging these into the x86 tree so >> > that they go upstream for 4.8? > I believe we still don't have up-to-date man pages, right? > Best from my POV to send

Re: [PATCH V2] MAINTAINERS: Add Dialog PMIC search terms for missing documentation and header files

2016-06-08 Thread Mark Brown
On Wed, Jun 08, 2016 at 05:25:30PM +, Opensource [Steve Twiss] wrote: > On 08 June 2016 15:19, Mark Brown wrote: > > We *really* shouldn't be blocking on my ack for trivial changes outside > > the subsystem like this though :( > There had been no reply since my first e-mail round about a

Re: [PATCH] hwmon: (tmp401) Add support for TI TMP461

2016-06-08 Thread Guenter Roeck
On Wed, Jun 08, 2016 at 11:56:29AM -0500, Andrew F. Davis wrote: [ ... ] > >> static const u8 TMP432_TEMP_MSB_READ[4][3] = { > >> @@ -149,6 +156,7 @@ static const struct i2c_device_id tmp401_id[] = { > >> { "tmp431", tmp431 }, > >> { "tmp432", tmp432 }, > >> { "tmp435",

Re: [PATCH] fsl/qe: Do not prefix header guard with CONFIG_

2016-06-08 Thread David Miller
From: Andreas Ziegler Date: Wed, 8 Jun 2016 11:36:56 +0200 > The CONFIG_ prefix should only be used for options which > can be configured through Kconfig and not for guarding headers. > > Signed-off-by: Andreas Ziegler Since this is fixing a

Re: [PATCH 1/2][v3] i2c: qup: add ACPI support

2016-06-08 Thread Christ, Austin
On 6/5/2016 12:57 PM, Andy Gross wrote: On Thu, May 26, 2016 at 01:37:56PM -0600, Austin Christ wrote: @@ -1354,14 +1359,13 @@ static void qup_i2c_disable_clocks(struct qup_i2c_dev *qup) static int qup_i2c_probe(struct platform_device *pdev) { static const int blk_sizes[] = {4,

[PATCH v2 02/10] x86, asm: use bool for bitops and other assembly outputs

2016-06-08 Thread H. Peter Anvin
From: "H. Peter Anvin" The gcc people have confirmed that using "bool" when combined with inline assembly always is treated as a byte-sized operand that can be assumed to be 0 or 1, which is exactly what the SET instruction emits. Change the output types and intermediate

Re: [PATCH v4 3/7] binding: mdio-mux: Add DT binding doc for Broadcom MDIO bus multiplexer

2016-06-08 Thread Rob Herring
On Tue, Jun 07, 2016 at 05:27:29PM +0530, Pramod Kumar wrote: > Hi Florian, > > > -Original Message- > > From: Florian Fainelli [mailto:f.faine...@gmail.com] > > Sent: 07 June 2016 00:06 > > To: Pramod Kumar; Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; > > Kumar Gala; Catalin

[PATCH v2 08/10] x86, asm: Use CC_SET()/CC_OUT() in

2016-06-08 Thread H. Peter Anvin
From: "H. Peter Anvin" Remove open-coded uses of set instructions to use CC_SET()/CC_OUT() in . Signed-off-by: H. Peter Anvin Reviewed-by: Andy Lutomirski Reviewed-by: Borislav Petkov Acked-by: Peter Zijlstra (Intel)

[PATCH v2 03/10] x86, asm: change the GEN_*_RMWcc() macros to not quote the condition

2016-06-08 Thread H. Peter Anvin
From: "H. Peter Anvin" Change the lexical defintion of the GEN_*_RMWcc() macros to not take the condition code as a quoted string. This will help support changing them to use the new __GCC_ASM_FLAG_OUTPUTS__ feature in a subsequent patch. Signed-off-by: H. Peter Anvin

[PATCH v2 06/10] x86, asm: Use CC_SET()/CC_OUT() in

2016-06-08 Thread H. Peter Anvin
From: "H. Peter Anvin" Remove open-coded uses of set instructions to use CC_SET()/CC_OUT() in . Signed-off-by: H. Peter Anvin Reviewed-by: Andy Lutomirski Reviewed-by: Borislav Petkov Acked-by: Peter Zijlstra (Intel)

Re: [PATCH] Fix NFS option parsing bit-rot.

2016-06-08 Thread Rob Landley
On 06/06/2016 06:49 PM, Trond Myklebust wrote: > On 6/6/16, 18:58, "Rob Landley" wrote: > >>From: Rob Landley >> >>The kernel has string parsing code for NFS mount options, but it seems >>to have bit-rotted over the years, so toybox mount needs the following

[PATCH v2 07/10] x86, asm: Use CC_SET()/CC_OUT() in

2016-06-08 Thread H. Peter Anvin
From: "H. Peter Anvin" Remove open-coded uses of set instructions to use CC_SET()/CC_OUT() in . Signed-off-by: H. Peter Anvin Reviewed-by: Andy Lutomirski Reviewed-by: Borislav Petkov Acked-by: Peter Zijlstra (Intel)

Re: [PATCH v4 1/2] dt: binding: Add Qualcomm WCNSS control binding

2016-06-08 Thread Rob Herring
On Mon, Jun 06, 2016 at 04:58:19PM -0700, Bjorn Andersson wrote: > This binding describes the control interface for the Qualcomm WCNSS. > > Signed-off-by: Bjorn Andersson > --- > > Changes since v3: > - Included missed fixup of the smem-state properties > > Changes

[tip:x86/asm] x86, asm: Use CC_SET()/CC_OUT() and static_cpu_has() in archrandom.h

2016-06-08 Thread tip-bot for H. Peter Anvin
Commit-ID: 3b290398638ee4e57f1fb2e35c02005cba9a737f Gitweb: http://git.kernel.org/tip/3b290398638ee4e57f1fb2e35c02005cba9a737f Author: H. Peter Anvin AuthorDate: Wed, 8 Jun 2016 12:38:46 -0700 Committer: H. Peter Anvin CommitDate: Wed, 8 Jun

[tip:x86/asm] x86, asm: Use CC_SET()/CC_OUT() in

2016-06-08 Thread tip-bot for H. Peter Anvin
Commit-ID: 35ccfb7114e2f0f454f264c049b03c31f4c6bbc0 Gitweb: http://git.kernel.org/tip/35ccfb7114e2f0f454f264c049b03c31f4c6bbc0 Author: H. Peter Anvin AuthorDate: Wed, 8 Jun 2016 12:38:44 -0700 Committer: H. Peter Anvin CommitDate: Wed, 8 Jun 2016

[tip:x86/asm] x86, asm, boot: Use CC_SET()/CC_OUT() in arch/x86/boot/boot.h

2016-06-08 Thread tip-bot for H. Peter Anvin
Commit-ID: 66928b4eb92dfb6d87c204238057b9278b36452b Gitweb: http://git.kernel.org/tip/66928b4eb92dfb6d87c204238057b9278b36452b Author: H. Peter Anvin AuthorDate: Wed, 8 Jun 2016 12:38:45 -0700 Committer: H. Peter Anvin CommitDate: Wed, 8 Jun

Re: [PATCH 0/7] add reST/sphinx-doc to linux documentation

2016-06-08 Thread Jonathan Corbet
So I've finally gotten a chance to make another pass over this stuff. Markus, your enthusiasm is great; I'm hoping you'll do great things helping us to improve the kernel's documentation toolchain. But please, at this point, let's build on Jani's work and go from there. Things have waited for

<    1   2   3   4   5   6   7   8   9   10   >