Re: [PATCH RFC] I2C: i2c-smbus: add device tree support

2016-04-18 Thread Rob Herring
On Mon, Apr 18, 2016 at 8:35 AM, Andrea Merello wrote: > On Thu, Apr 14, 2016 at 6:10 PM, Rob Herring wrote: >> On Wed, Apr 13, 2016 at 10:36:31AM +0200, Andrea Merello wrote: >>> According to Documentation/i2c/smbus-protocol, a smbus controller driver >>> that wants to hook-in smbus extensions s

Re: [PATCH v2] carl9170: Clarify kconfig text

2016-04-18 Thread Xose Vazquez Perez
Christian Lamparter wrote: > Sure, but this could be a different patch then. I think Intel devices > (iwlwifi, iwlegacy and ipw2x00) have a similar text about "download > firmware from this device from our homepage here" too. So if we want, > we can remove them altogether? linux-firmware.git doe

Re: [PATCH v5 04/21] x86, boot: Move compressed kernel to end of decompression buffer

2016-04-18 Thread Kees Cook
On Fri, Apr 15, 2016 at 1:09 AM, Ingo Molnar wrote: > > * Kees Cook wrote: > >> From: Yinghai Lu >> >> This change makes later calculations about where the kernel is located >> easier to reason about. To better understand this change, we must first >> clarify what VO and ZO are. They were introd

RE: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)

2016-04-18 Thread KY Srinivasan
> -Original Message- > From: Alexander Duyck [mailto:alexander.du...@gmail.com] > Sent: Monday, April 18, 2016 9:18 AM > To: KY Srinivasan > Cc: David Miller ; Netdev > ; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; Robo Bot > ; Jason Wang ; > e...@mellan

Re: [PATCH] ARM: dts: exynos: Remove unsupported s2mps11 regulator bindings from Exynos5420 boards

2016-04-18 Thread Javier Martinez Canillas
Hello Krzysztof, On 04/18/2016 03:44 AM, Krzysztof Kozlowski wrote: > The bindings like s2mps11,buck6-ramp-enable or s2mps11,buck2-ramp-delay > where ignored. They were never parse by s2mps11 regulator driver. Also > the values used in these bindings were equal to default reset values of > S2MPS11

Re: [PATCH 1/5] regulator: st-flashss: Add DT binding documentation for flashss regulator.

2016-04-18 Thread Rob Herring
On Tue, Apr 12, 2016 at 04:16:40PM +0100, Peter Griffin wrote: > This patch adds the DT doc for the flashss regulator driver which is > found in stih407 based silicon. > > Signed-off-by: Peter Griffin > --- > .../devicetree/bindings/regulator/st-flashss.txt | 43 > ++ > 1

Re: [RESEND PATCH v2 3/5] security: Introduce security_settime64()

2016-04-18 Thread John Stultz
On Thu, Apr 7, 2016 at 11:02 PM, Baolin Wang wrote: > security_settime() uses a timespec, which is not year 2038 safe > on 32bit systems. Thus this patch introduces the security_settime64() > function with timespec64 type. We also convert the cap_settime() helper > function to use the 64bit types.

Re: [PATCH] mips: pistachio: Determine SoC revision during boot

2016-04-18 Thread Sergei Shtylyov
Hello. On 04/18/2016 05:24 PM, James Hartley wrote: Now that there are different revisions of the Pistachio SoC in circulation, add this information to the boot log to make it easier for users to determine which hardware they have. Signed-off-by: James Hartley Signed-off-by: Ionela Voinescu

Re: [PATCH v2 2/4] Documentation: Add documentation for APM X-Gene SoC PMU DTS binding

2016-04-18 Thread Rob Herring
On Tue, Apr 12, 2016 at 06:22:25PM -0700, Tai Nguyen wrote: > Documentation: Add documentation for APM X-Gene SoC PMU DTS binding > > Signed-off-by: Tai Nguyen > --- > .../devicetree/bindings/perf/apm-xgene-pmu.txt | 116 > + > 1 file changed, 116 insertions(+) > create

Re: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)

2016-04-18 Thread Joe Perches
On Mon, 2016-04-18 at 16:52 +, KY Srinivasan wrote: [] > > > +bool ixgbevf_on_hyperv(struct ixgbe_hw *hw) > > > +{ > > > +   if (hw->mbx.ops.check_for_msg == NULL) > > > +   return true; > > > +   else > > > +   return false; > > > +} trivia: bool func(...) {

Re: [PATCH V3 2/2] thermal: generic-adc: Add ADC based thermal sensor driver

2016-04-18 Thread Laxman Dewangan
On Sunday 17 April 2016 04:24 PM, Jonathan Cameron wrote: On 14/04/16 15:41, Laxman Dewangan wrote: +static int gadc_thermal_read_channel(struct gadc_thermal_info *gti, int *val) +{ + int ret; + + ret = iio_read_channel_processed(gti->channel, val); + if (ret < 0) +

Re: [PATCH v2] watchdog: add driver for StreamLabs USB watchdog device

2016-04-18 Thread Guenter Roeck
On Mon, Apr 18, 2016 at 03:53:36AM +0100, Alexey Klimov wrote: > This patch creates new driver that supports StreamLabs usb watchdog > device. This device plugs into 9-pin usb header and connects to > reset pin and reset button on common PC. > > USB commands used to communicate with device were re

[PATCH v2] mm: SLAB freelist randomization

2016-04-18 Thread Thomas Garnier
mes kmalloc(128)/kfree -> 127 cycles 1 times kmalloc(256)/kfree -> 119 cycles 1 times kmalloc(512)/kfree -> 112 cycles 1 times kmalloc(1024)/kfree -> 112 cycles 1 times kmalloc(2048)/kfree -> 112 cycles 1 times kmalloc(4096)/kfree -> 1

Re: [PATCH 3/6] regulator: rk808: Make rk808 generic, rename rk808-regulator.c

2016-04-18 Thread Mark Brown
On Mon, Apr 18, 2016 at 09:25:57AM +0200, Wadim Egorov wrote: > It seems this topic has been already discussed here [1]. > So the right solution is just to rename the rk808 struct in rk808.h, > don't touch the driver names and config options and naming the > additional RK818 PMIC in the Kconfig?

Re: [PATCH v2] regulator: s2mps11: Set default ramp delay for S2MPS11 LDOs

2016-04-18 Thread Javier Martinez Canillas
Hello Krzysztof, On 04/18/2016 09:33 AM, Krzysztof Kozlowski wrote: > Driver did not provide default value for ramp delay for LDOs which lead > to warning in dmesg, e.g. on Odroid XU4: > > [1.486076] vdd_ldo9: ramp_delay not set > [1.506875] vddq_mmc2: ramp_delay not set > [1.523766]

Re: [RESEND PATCH v2 3/5] security: Introduce security_settime64()

2016-04-18 Thread Kees Cook
On Mon, Apr 18, 2016 at 9:54 AM, John Stultz wrote: > On Thu, Apr 7, 2016 at 11:02 PM, Baolin Wang wrote: >> security_settime() uses a timespec, which is not year 2038 safe >> on 32bit systems. Thus this patch introduces the security_settime64() >> function with timespec64 type. We also convert t

Re: [RFC 1/2] time: workaround crappy hpet

2016-04-18 Thread John Stultz
On Mon, Apr 11, 2016 at 5:57 PM, Shaohua Li wrote: > Calvin found 'perf record -a --call-graph dwarf -- sleep 5' making clocksource > switching to hpet. We found similar symptom in another machine. Here is an > example: > > [8224517.520885] timekeeping watchdog: Marking clocksource 'tsc' as unsta

Re: [PATCH v2] carl9170: Clarify kconfig text

2016-04-18 Thread Christian Lamparter
On Monday, April 18, 2016 07:42:05 PM Kalle Valo wrote: > Christian Lamparter writes: > > > On Monday, April 18, 2016 06:45:09 PM Kalle Valo wrote: > >> Lauri Kasanen writes: > >> > >> > --- a/drivers/net/wireless/ath/carl9170/Kconfig > >> > +++ b/drivers/net/wireless/ath/carl9170/Kconfig > >>

Re: [PATCH v2] carl9170: Clarify kconfig text

2016-04-18 Thread Christian Lamparter
On Monday, April 18, 2016 06:47:44 PM Xose Vazquez Perez wrote: > Christian Lamparter wrote: > > > Sure, but this could be a different patch then. I think Intel devices > > (iwlwifi, iwlegacy and ipw2x00) have a similar text about "download > > firmware from this device from our homepage here" to

Re: [PATCH 2/3] gpio: tegra: Remove the need of keeping device handle for gpio driver

2016-04-18 Thread Laxman Dewangan
On Monday 18 April 2016 09:59 PM, Stephen Warren wrote: On 04/18/2016 02:46 AM, Laxman Dewangan wrote: Remove the file static device handle variable as this is just required for prints. The required handle can be stored in tegra_gpio_chip and hence it become redundancy. This seems fine as far

Re: [PATCH RFC] I2C: i2c-smbus: add device tree support

2016-04-18 Thread Andrea Merello
On Mon, Apr 18, 2016 at 6:44 PM, Rob Herring wrote: > On Mon, Apr 18, 2016 at 8:35 AM, Andrea Merello > wrote: >> On Thu, Apr 14, 2016 at 6:10 PM, Rob Herring wrote: >>> On Wed, Apr 13, 2016 at 10:36:31AM +0200, Andrea Merello wrote: According to Documentation/i2c/smbus-protocol, a smbus co

[PATCH v2] mm: SLAB freelist randomization

2016-04-18 Thread Thomas Garnier
mes kmalloc(128)/kfree -> 127 cycles 1 times kmalloc(256)/kfree -> 119 cycles 1 times kmalloc(512)/kfree -> 112 cycles 1 times kmalloc(1024)/kfree -> 112 cycles 1 times kmalloc(2048)/kfree -> 112 cycles 1 times kmalloc(4096)/kfree -> 1

Re: [PATCH RT 4/6] rt/locking: Reenable migration accross schedule

2016-04-18 Thread Sebastian Andrzej Siewior
* Mike Galbraith | 2016-04-08 18:49:28 [+0200]: >On Fri, 2016-04-08 at 16:51 +0200, Sebastian Andrzej Siewior wrote: > >> Is there anything you can hand me over? > >Sure, I'll send it offline (yup, that proud of my scripting;) > > -Mike take 2. There is this else case in pin_current_cpu() w

Re: [PATCH 3/3] gpio: tegra: Add support for gpio debounce

2016-04-18 Thread Laxman Dewangan
On Monday 18 April 2016 10:08 PM, Stephen Warren wrote: On 04/18/2016 02:46 AM, Laxman Dewangan wrote: + +/* There is only one debounce count register per port and hence + * set the maximum of current and requested debounce time. + */ +max_dbc = tegra_gpio_readl(GPIO_DBC_CNT(o

Re: [PATCH] fs: add the FIGETFROZEN ioctl call

2016-04-18 Thread Florian Margaine
On Mon, 2016-04-18 at 11:20 -0400, Eric Sandeen wrote: > > On 4/14/16 10:17 PM, Dave Chinner wrote: > > On Thu, Apr 14, 2016 at 09:57:07AM +0200, Florian Margaine wrote: > > > This lets userland get the filesystem freezing status, aka > > > whether the > > > filesystem is frozen or not. This is so

Re: [PATCH v4] ASoC: mediatek: Add second I2S on mt8173-rt5650 machine driver

2016-04-18 Thread Mark Brown
On Mon, Apr 18, 2016 at 08:43:39PM +0800, PC Liao wrote: > +Optional properties: > +- sound-dai: audio codec dai on capture path > + <&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name > = rt5645-aif1) > + <&rt5650 1> : Connect rt5650 I2S2 for capture. (dai_name = rt5645-a

Re: [RESEND PATCH 1/3] power: charger-manager: Replace deprecatd API of extcon

2016-04-18 Thread Rob Herring
On Fri, Apr 15, 2016 at 04:13:18PM +0200, Sebastian Reichel wrote: > Hi, > > On Fri, Apr 15, 2016 at 09:43:34AM +0900, Chanwoo Choi wrote: > > This patch removes the deprecated notifier API of extcon framework and then > > use > > the new extcon API[2] with the unique id[1] to indicate the each e

[PATCH v11 4/4] tpm: Add documentation for the tpm_vtpm_proxy device driver

2016-04-18 Thread Stefan Berger
Add documentation for the tpm_vtpm device driver that implements support for providing TPM functionality to Linux containers. Parts of this documentation were recycled from the Xen vTPM device driver documentation. Update the documentation for the ioctl numbers. Signed-off-by: Stefan Berger Rev

[PATCH v11 2/4] tpm: Introduce TPM_CHIP_FLAG_VIRTUAL

2016-04-18 Thread Stefan Berger
Introduce TPM_CHIP_FLAG_VIRTUAL to be used when the chip device has no parent device. Prevent sysfs entries requiring a parent device from being created. Signed-off-by: Stefan Berger Reviewed-by: Jason Gunthorpe --- drivers/char/tpm/tpm-chip.c | 7 +-- drivers/char/tpm/tpm.h | 1 + 2

[PATCH v11 3/4] tpm: Proxy driver for supporting multiple emulated TPMs

2016-04-18 Thread Stefan Berger
This patch implements a proxy driver for supporting multiple emulated TPMs in a system. The driver implements a device /dev/vtpmx that is used to created a client device pair /dev/tpmX (e.g., /dev/tpm10) and a server side that is accessed using a file descriptor returned by an ioctl. The device /d

[PATCH v11 1/4] tpm: Remove all uses of drvdata from the TPM Core

2016-04-18 Thread Stefan Berger
From: Jason Gunthorpe The final thing preventing this was the way the sysfs files were attached to the pdev. Follow the approach developed for ppi and move the sysfs files to the chip->dev with symlinks from the pdev for compatibility. Everything in the core now sanely uses container_of to get th

[PATCH v11 0/4] Multi-instance vTPM proxy driver

2016-04-18 Thread Stefan Berger
The following series of patches implements a multi-instance vTPM proxy driver that can dynamically create TPM 'server' and client device pairs. Using an ioctl on the provided /dev/vtpmx, a client-side vTPM device and a server side file descriptor is created. The file descriptor must be passed to

Re: [RFC 2/2] time: double check if watchdog clocksource is correct

2016-04-18 Thread John Stultz
On Mon, Apr 11, 2016 at 5:57 PM, Shaohua Li wrote: > We use watchdog clocksource to detect unstable clocksource. This assumes > watchdog clocksource is correct. But it's possible watchdog clocksource > is crappy, please see previous patch. Double check if watchdog interval > is too long and bypass

Re: [PATCH V3 2/2] thermal: generic-adc: Add ADC based thermal sensor driver

2016-04-18 Thread Jonathan Cameron
On 18 April 2016 17:49:39 BST, Laxman Dewangan wrote: > >On Sunday 17 April 2016 04:24 PM, Jonathan Cameron wrote: >> On 14/04/16 15:41, Laxman Dewangan wrote: >> +static int gadc_thermal_read_channel(struct gadc_thermal_info *gti, >int *val) >> +{ >> +int ret; >> + >> +ret = iio_read_ch

Re: [RFC 1/2] time: workaround crappy hpet

2016-04-18 Thread Shaohua Li
On Mon, Apr 18, 2016 at 10:05:22AM -0700, John Stultz wrote: > On Mon, Apr 11, 2016 at 5:57 PM, Shaohua Li wrote: > > Calvin found 'perf record -a --call-graph dwarf -- sleep 5' making > > clocksource > > switching to hpet. We found similar symptom in another machine. Here is an > > example: > >

Re: [PATCH 0/7] IB/hfi1: Remove write() and use ioctl() for user access

2016-04-18 Thread Jason Gunthorpe
On Mon, Apr 18, 2016 at 06:09:09AM -0700, Christoph Hellwig wrote: > On Thu, Apr 14, 2016 at 10:45:50AM -0600, Jason Gunthorpe wrote: > > On Thu, Apr 14, 2016 at 08:41:35AM -0700, Dennis Dalessandro wrote: > > > This patch series removes the write() interface for user access in favor > > > of an >

Re: [patch -next] udp: fix if statement in SIOCINQ ioctl

2016-04-18 Thread David Miller
From: Dan Carpenter Date: Mon, 18 Apr 2016 11:44:49 +0300 > We deleted a line of code and accidentally made the "return put_user()" > part of the if statement when it's supposed to be unconditional. > > Fixes: 9f9a45beaa96 ('udp: do not expect udp headers on ioctl SIOCINQ') > Signed-off-by: Dan

Re: [RFC 1/2] time: workaround crappy hpet

2016-04-18 Thread John Stultz
On Mon, Apr 18, 2016 at 10:32 AM, Shaohua Li wrote: > On Mon, Apr 18, 2016 at 10:05:22AM -0700, John Stultz wrote: >> On Mon, Apr 11, 2016 at 5:57 PM, Shaohua Li wrote: >> > Calvin found 'perf record -a --call-graph dwarf -- sleep 5' making >> > clocksource >> > switching to hpet. We found simil

Greetings!!!

2016-04-18 Thread andreas11
Hi, how are you? My name is J Eric Denials, External Financial Auditor at Lloyds Banking Group plc., London. It is a pleasure to contact you at this time through this medium. I have a cool and legitimate deal to do with you as you're a foreigner, it will be mutually beneficial to both. If you’re

Re: [PATCH V3 2/2] thermal: generic-adc: Add ADC based thermal sensor driver

2016-04-18 Thread Laxman Dewangan
On Monday 18 April 2016 11:01 PM, Jonathan Cameron wrote: On 18 April 2016 17:49:39 BST, Laxman Dewangan wrote: On Sunday 17 April 2016 04:24 PM, Jonathan Cameron wrote: On 14/04/16 15:41, Laxman Dewangan wrote: +static int gadc_thermal_read_channel(struct gadc_thermal_info *gti, int *val)

Re: [PATCH v2 1/2] clk: bcm2835: Fix compiler warnings on 64-bit builds

2016-04-18 Thread Eric Anholt
Stephen Boyd writes: > On 04/13, Eric Anholt wrote: >> Signed-off-by: Eric Anholt >> --- > > Acked-by: Stephen Boyd > > Or can I merge this? It wasn't addressed To: me so who knows. Yeah, please merge it. signature.asc Description: PGP signature

Re: [PATCH] fs: add the FIGETFROZEN ioctl call

2016-04-18 Thread Eric Sandeen
On 4/18/16 1:20 PM, Florian Margaine wrote: > On Mon, 2016-04-18 at 11:20 -0400, Eric Sandeen wrote: >> > >> > On 4/14/16 10:17 PM, Dave Chinner wrote: >>> > > On Thu, Apr 14, 2016 at 09:57:07AM +0200, Florian Margaine wrote: > > > This lets userland get the filesystem freezing status, aka >>

Re: [PATCH V2] net: ethernet: mellanox: correct page conversion

2016-04-18 Thread Sinan Kaya
On 4/18/2016 11:40 AM, Christoph Hellwig wrote: > On Mon, Apr 18, 2016 at 11:21:12AM -0400, Sinan Kaya wrote: >> I was looking at the code. I don't see how removing virt_to_page + vmap >> would solve the issue. >> >> The code is trying to access the buffer space with direct.buf member >> from the

Re: [PATCH 3/7] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver

2016-04-18 Thread Nicolas Dufresne
Le lundi 18 avril 2016 à 16:22 +0800, tiffany lin a écrit : > > > We are plaining to remove m2m framework in th feature, although > we think > >  > > Remove it for just the decoder driver or both encoder and decoder? > >  > Remove it from decoder driver. Did you look at how CODA handle it (drivers

Re: [RFC 1/2] time: workaround crappy hpet

2016-04-18 Thread John Stultz
On Mon, Apr 18, 2016 at 10:48 AM, Shaohua Li wrote: > On Mon, Apr 18, 2016 at 10:42:38AM -0700, John Stultz wrote: >> I'm sort of on the edge of just adding a blacklist entry for the HPET >> on this hardware. I'm not sure its something that can be easily >> handled generically. I *hope* you only

Re: [PATCH RT 4/6] rt/locking: Reenable migration accross schedule

2016-04-18 Thread Mike Galbraith
On Mon, 2016-04-18 at 19:15 +0200, Sebastian Andrzej Siewior wrote: > take 2. There is this else case in pin_current_cpu() where I take > hp_lock. I didn't manage to get in there. So I *think* we can get rid of > the lock now. Since there is no lock (or will be) we can drop the whole > `do_mig_dis

Re: [RFC 1/2] time: workaround crappy hpet

2016-04-18 Thread Shaohua Li
On Mon, Apr 18, 2016 at 10:42:38AM -0700, John Stultz wrote: > On Mon, Apr 18, 2016 at 10:32 AM, Shaohua Li wrote: > > On Mon, Apr 18, 2016 at 10:05:22AM -0700, John Stultz wrote: > >> On Mon, Apr 11, 2016 at 5:57 PM, Shaohua Li wrote: > >> > Calvin found 'perf record -a --call-graph dwarf -- sle

Re: {standard input}:136: Error: number (0x9000000080000000) larger than 32 bits

2016-04-18 Thread Maciej W. Rozycki
On Mon, 18 Apr 2016, Ralf Baechle wrote: > I extracted a rather simple test case: > > $ echo >> testcase .s << EOF > .setmips3 > dli $2, 0x90008000 > EOF > $ mips-linux-as -mips3 -march=r4600 -o testcase.o testcase.s > testcase.s: Assembler messages: > testcase.s:2

Re: [PATCH] netfilter: ctnetlink: add more #ifdef around unused code

2016-04-18 Thread Pablo Neira Ayuso
On Sat, Apr 16, 2016 at 10:17:43PM +0200, Arnd Bergmann wrote: > A recent patch removed many 'inline' annotations for static > functions in this file, which has caused warnings for functions > that are not used in a given configuration, in particular when > CONFIG_NF_CONNTRACK_EVENTS is disabled: >

[PATCH v2 2/5] ARM: dts: omap5-board-common: describe gpadc for Palmas

2016-04-18 Thread H. Nikolaus Schaller
tested on OMP5432 EVM Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap5-board-common.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi index 902657d..c0da5ff 100644 --- a/arch/

[PATCH v2 1/5] ARM: dts: twl6030: describe gpadc

2016-04-18 Thread H. Nikolaus Schaller
tested on Pandaboard ES. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/twl6030.dtsi index 55eb35f..c45f97f 100644 --- a/arch/arm/boot/dts/twl6030.dtsi +++ b/arch/

[PATCH v2 5/5] ARM: dts: omap5-board-common: set up ckobuffer for twl6040

2016-04-18 Thread H. Nikolaus Schaller
Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap5-board-common.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi index c0da5ff..e89bef3 100644 --- a/arch/arm/boot/dts/omap5-

[PATCH v2 0/5] DT Fixes for OMAP4 and OMAP5 boards

2016-04-18 Thread H. Nikolaus Schaller
This patch series adds DT nodes for: * twl6030 gpadc for omap4 based boards (Pandaboard ES) * twl6037 gpadc for omap5 based board (OMAP5EVM) * omap5-board-common: ckobuffer (needed for high quality twl6040 audio) * fix range problem with omap5 pinmux H. Nikolaus Schaller (5): ARM: dts: twl6030:

Re: [PATCH 0/7] IB/hfi1: Remove write() and use ioctl() for user access

2016-04-18 Thread Christoph Hellwig
On Mon, Apr 18, 2016 at 11:40:47AM -0600, Jason Gunthorpe wrote: > I wasn't arguing this should integrate into verbs in some way, only > that the way to access the driver-specific uAPI of a RDMA device should > be through the RDMA common uAPI and not through a random char dev. Well, it's stuff not

Re: [PATCH RESEND 1/2] pinctrl: ns2: add pinmux driver support for Broadcom NS2 SoC

2016-04-18 Thread Ray Jui
Hi Linus, Reddy, On 4/17/2016 8:34 PM, Yendapally Reddy Dhananjaya Reddy wrote: Hi Linus, On Thu, Apr 14, 2016 at 3:12 PM, Linus Walleij wrote: On Thu, Apr 14, 2016 at 9:53 AM, Yendapally Reddy Dhananjaya Reddy wrote: On Wed, Apr 13, 2016 at 6:49 PM, Linus Walleij wrote: On Tue, Mar 29, 2

[PATCH v2 4/5] ARM: dts: omap5: describe control for ckobuffer

2016-04-18 Thread H. Nikolaus Schaller
OMAP5 has a register to control if the ckobuffer is enabled and defines the polarity. ckobuffer is required to drive a twl6040 with the system clock. Hence, add the pinctrl,single to the OMAP5 SoC description so that omap5-board-common can set up the ckobuffer as required. Signed-off-by: H. Nikola

Re: [PATCH] audit: add tty field to LOGIN event

2016-04-18 Thread Richard Guy Briggs
On 16/04/13, Peter Hurley wrote: > Hi Richard, Hi Peter, > On 04/13/2016 04:25 PM, Richard Guy Briggs wrote: > > The tty field was missing from AUDIT_LOGIN events. > > > > Refactor code to create a new function audit_get_tty(), using it to > > replace the call in audit_log_task_info() and to add

[PATCH v2 3/5] ARM: dts: omap5: fix range of permitted wakeup pinmux registers

2016-04-18 Thread H. Nikolaus Schaller
otherwise we can't define gpio1_wk14 Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 38805eb..120b6b8 100644 --- a/arch/arm/boot/dts/omap5.dt

Re: [PATCH 3/4] dt-bindings: Update iProc GPIO bindings

2016-04-18 Thread Ray Jui
On 4/14/2016 7:38 AM, Rob Herring wrote: On Tue, Apr 12, 2016 at 05:15:22PM -0700, Ray Jui wrote: Update the iProc GPIO binding document to introduce a new compatible string "brcm,iproc-gpio-only", that allows the generic pinconf function to be disabled completely Signed-off-by: Ray Jui Revi

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-18 Thread David Woodhouse
On Mon, 2016-04-18 at 19:27 +0300, Michael S. Tsirkin wrote: > I balk at adding more hacks to a broken system. My goals are > merely to > - make things work correctly with an IOMMU and new guests, >   so people can use userspace drivers with virtio devices > - prevent security risks when guest kern

Re: [PATCH] netfilter: ctnetlink: add more #ifdef around unused code

2016-04-18 Thread Arnd Bergmann
On Monday 18 April 2016 20:16:59 Pablo Neira Ayuso wrote: > On Sat, Apr 16, 2016 at 10:17:43PM +0200, Arnd Bergmann wrote: > > A recent patch removed many 'inline' annotations for static > > functions in this file, which has caused warnings for functions > > that are not used in a given configurati

[PATCH] arm64: Kconfig: remove redundant HAVE_ARCH_TRANSPARENT_HUGEPAGE definition

2016-04-18 Thread Yang Shi
HAVE_ARCH_TRANSPARENT_HUGEPAGE has been defined in arch/Kconfig already, the ARM64 version is identical with it and the default value is Y. So remove the redundant definition and just select it under CONFIG_ARM64. Signed-off-by: Yang Shi --- arch/arm64/Kconfig | 4 +--- 1 file changed, 1 inserti

[PATCH] driver: leds: is31fl3196/99 dimmable dual/triple rgb driver

2016-04-18 Thread H. Nikolaus Schaller
This patch adds a driver for the is31fl3196/99 dimmable dual/triple rgb controller chips from ISSI. H. Nikolaus Schaller (1): drivers: led: is31fl319x: 6/9-channel light effect led driver .../devicetree/bindings/leds/is31fl319x.txt| 41 +++ drivers/leds/Kconfig

Re: [PATCH] netfilter: ctnetlink: add more #ifdef around unused code

2016-04-18 Thread Pablo Neira Ayuso
On Mon, Apr 18, 2016 at 08:33:15PM +0200, Arnd Bergmann wrote: > On Monday 18 April 2016 20:16:59 Pablo Neira Ayuso wrote: > > On Sat, Apr 16, 2016 at 10:17:43PM +0200, Arnd Bergmann wrote: > > > A recent patch removed many 'inline' annotations for static > > > functions in this file, which has cau

[PATCH] drivers: led: is31fl319x: 6/9-channel light effect led driver

2016-04-18 Thread H. Nikolaus Schaller
This is a driver for the Integrated Silicon Solution Inc. LED driver chips IS31FL3196 and IS31FL3199. They can drive up to 6 or 9 LEDs. Each LED is individually controllable in brightness (through pwm) in 256 steps so that RGB LEDs can show any of ca. 16 Mio colors. The maximum current of the LED

Re: [PATCH 0/3] fec: ethtool: move to new api {get|set}_link_ksettings

2016-04-18 Thread David Miller
From: Philippe Reynes Date: Fri, 15 Apr 2016 00:34:58 +0200 > Ethtool has a new api {get|set}_link_ksettings that deprecate > the old api {get|set}_settings. We update the fec driver to use > this new ethtool api. > > For this first version, I've converted old u32 value in phy structure > to lin

Re: [PATCH 1/5] clk: qoriq: add __init attribute

2016-04-18 Thread Stephen Boyd
On 04/18, Julia Lawall wrote: > Add __init attribute on a function that is only called from other __init > functions and that is not inlined, at least with gcc version 4.8.4 on an > x86 machine with allyesconfig. Currently, the function is put in the > .text.unlikely segment. Declaring it as __in

Re: [PATCH 1/1] mmc: sdhci-pci: add Support of Synopsys DWC_MSHC IP

2016-04-18 Thread Greg Kroah-Hartman
On Mon, Apr 18, 2016 at 10:30:39AM +, Prabu Thangamuthu wrote: > diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h > index 247da8c..01f743b 100644 > --- a/include/linux/pci_ids.h > +++ b/include/linux/pci_ids.h > @@ -2318,6 +2318,9 @@ > #define PCI_DEVICE_ID_CENATEK_IDE0x0001

Re: [PATCH RFC 2/3] vfio: report group noiommu status

2016-04-18 Thread Alex Williamson
On Mon, 18 Apr 2016 12:58:20 +0300 "Michael S. Tsirkin" wrote: > When using vfio, callers might want to know whether device is added to a > regular group or an non-iommu group. > > Report this status from vfio_add_group_dev. > > Signed-off-by: Michael S. Tsirkin > --- What about making an int

[PATCH 1/3] MIPS: JZ4740: Qi LB60: Remove support for AVT2 variant

2016-04-18 Thread Maarten ter Huurne
AVT2 was a prototype board of which about 5 were made, none of which are in use anymore. Signed-off-by: Maarten ter Huurne --- arch/mips/jz4740/board-qi_lb60.c | 52 ++-- 1 file changed, 2 insertions(+), 50 deletions(-) diff --git a/arch/mips/jz4740/board-qi_

[PATCH 3/3] USB: ohci-jz4740: Remove obsolete driver

2016-04-18 Thread Maarten ter Huurne
The ohci-platform driver can control the clock, while usb-nop-xceiv as the PHY can control the vbus regulator. So this JZ4740-specific glue is not needed anymore. Signed-off-by: Maarten ter Huurne --- drivers/usb/host/ohci-hcd.c| 5 - drivers/usb/host/ohci-jz4740.c | 245 --

[PATCH 2/3] MIPS: JZ4740: Probe OHCI platform device via DT

2016-04-18 Thread Maarten ter Huurne
The DT fragment will select the ohci-platform driver, since that can handle the JZ4740 OHCI just fine. While I don't have a JZ4740-based board with anything connected to the USB host controller, I did test the generic OHCI driver successfully on a JZ4770-based board. The device is disabled by defa

[PATCH net-next v2 0/2] BPF updates

2016-04-18 Thread Daniel Borkmann
This minor set adds a new helper bpf_event_output() for eBPF cls/act program types which allows to pass events to user space applications. For details, please see individual patches. Thanks! v1 -> v2: - Address kbuild bot found compile issue in patch 2 - Rest as is Daniel Borkmann (2): bpf

[PATCH net-next v2 2/2] bpf: add event output helper for notifications/sampling/logging

2016-04-18 Thread Daniel Borkmann
This patch adds a new helper for cls/act programs that can push events to user space applications. For networking, this can be f.e. for sampling, debugging, logging purposes or pushing of arbitrary wake-up events. The idea is similar to a43eec304259 ("bpf: introduce bpf_perf_event_output() helper")

Re: [RFC v1 3/4] x86, boot: Implement ASLR for kernel memory sections (x86_64)

2016-04-18 Thread H. Peter Anvin
On April 18, 2016 7:46:05 AM PDT, Joerg Roedel wrote: >On Fri, Apr 15, 2016 at 03:03:12PM -0700, Thomas Garnier wrote: >> +#if defined(CONFIG_KASAN) >> +static const unsigned long memory_rand_end = KASAN_SHADOW_START; >> +#elfif defined(CONFIG_X86_ESPFIX64) >> +static const unsigned long memory_ra

[PATCH net-next v2 1/2] bpf, trace: add BPF_F_CURRENT_CPU flag for bpf_perf_event_output

2016-04-18 Thread Daniel Borkmann
Add a BPF_F_CURRENT_CPU flag to optimize the use-case where user space has per-CPU ring buffers and the eBPF program pushes the data into the current CPU's ring buffer which saves us an extra helper function call in eBPF. Also, make sure to properly reserve the remaining flags which are not used.

Applied "regulator: core: remove lockdep assert from suspend_prepare" to the regulator tree

2016-04-18 Thread Mark Brown
The patch regulator: core: remove lockdep assert from suspend_prepare has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "spi: pic32-sqi: add binding document for PIC32 Quad-SPI driver." to the spi tree

2016-04-18 Thread Mark Brown
The patch spi: pic32-sqi: add binding document for PIC32 Quad-SPI driver. 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

Applied "regulator: s2mps11: Set default ramp delay for S2MPS11 LDOs" to the regulator tree

2016-04-18 Thread Mark Brown
The patch regulator: s2mps11: Set default ramp delay for S2MPS11 LDOs has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "spi: pic32-sqi: add SPI driver for PIC32 SQI controller." to the spi tree

2016-04-18 Thread Mark Brown
The patch spi: pic32-sqi: add SPI driver for PIC32 SQI controller. 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 s

[PATCH v2] fs: define a string representation of the kernel_read_file_id enumeration

2016-04-18 Thread Mimi Zohar
A string representation of the kernel_read_file_id enumeration is needed for displaying messages (eg. pr_info, auditing) that can be used by multiple LSMs and the integrity subsystem. To simplify keeping the list of strings up to date with the enumeration, this patch defines two new preprocessing

Re: mmotm woes, mainly compaction

2016-04-18 Thread Vlastimil Babka
On 04/14/2016 07:24 PM, Vlastimil Babka wrote: >> > @@ -1459,8 +1459,8 @@ static enum compact_result compact_zone( >> >zone->compact_cached_migrate_pfn[1] = cc->migrate_pfn; >> >} >> > >> > - if (cc->migrate_pfn == start_pfn) >> > - cc->whole_zone = true; >> > + cc->whole

Re: [PATCH v2 1/5] iio: accel: bmc150: use regmap to retrieve struct device

2016-04-18 Thread Jonathan Cameron
On 18/04/16 15:59, Srinivas Pandruvada wrote: > On Sat, 2016-04-16 at 20:20 +0100, Jonathan Cameron wrote: >> On 10/04/16 20:05, Alison Schofield wrote: >>> >>> Driver includes struct regmap and struct device in its global data. >>> Remove the struct device and use regmap API to retrieve device >>>

Re: [PATCH] i2c: exynos5: Fix possible ABBA deadlock by keeping I2C clock prepared

2016-04-18 Thread Javier Martinez Canillas
[adding clk maintainers/list to cc] On 04/18/2016 09:29 AM, Javier Martinez Canillas wrote: > Hello Marek, > > On 04/18/2016 03:50 AM, Marek Szyprowski wrote: >> Hello, >> >> On 2016-04-16 00:04, Javier Martinez Canillas wrote: >>> The exynos5 I2C controller driver always prepares and enables a c

Re: [PATCH 2/4] pinctrl: iproc: Allow certain PINCONF functions to be disabled

2016-04-18 Thread Ray Jui
Hi Linus/Rob, On 4/15/2016 1:20 AM, Linus Walleij wrote: On Wed, Apr 13, 2016 at 2:15 AM, Ray Jui wrote: The iProc GPIO controller is shared among multiple iProc based SoCs. In some of these SoCs, certain PINCONF functions are disabled and registers associated with these functions are reserve

Re: [PATCH 07/15] reconnect_one(): use lookup_one_len_unlocked()

2016-04-18 Thread J. Bruce Fields
On Sat, Apr 16, 2016 at 01:55:19AM +0100, Al Viro wrote: > From: Al Viro > > ... and explain the non-obvious logics in case when lookup yields > a different dentry. ACK to this independent of the rest of the series, my only minor gripe is that the point made in this new comment is also made at o

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-18 Thread Andy Lutomirski
On Mon, Apr 18, 2016 at 11:29 AM, David Woodhouse wrote: > For x86, you *can* enable virtio-behind-IOMMU if your DMAR tables tell > the truth, and even legacy kernels ought to cope with that. > FSVO 'ought to' where I suspect some of them will actually crash with a > NULL pointer dereference if th

Re: [PATCH v2 4/5] iio: health: afe4404: use regmap to retrieve struct device

2016-04-18 Thread Jonathan Cameron
On 18/04/16 16:53, Andrew F. Davis wrote: > On 04/17/2016 11:56 PM, Alison Schofield wrote: >> On Sun, Apr 17, 2016 at 01:07:52PM -0500, Andrew F. Davis wrote: >>> On 04/16/2016 02:22 PM, Jonathan Cameron wrote: On 10/04/16 20:07, Alison Schofield wrote: > Driver includes struct regmap and

Re: [PATCH 4/4] pinctrl: iproc: Allow PINCONF to be disabled completely

2016-04-18 Thread Ray Jui
Hi Linus, On 4/15/2016 1:24 AM, Linus Walleij wrote: On Wed, Apr 13, 2016 at 2:15 AM, Ray Jui wrote: In some of the future iProc based SoCs, pinconf is handled by another block and the iProc GPIO controller is solely used as a GPIO controller. This patch adds support of a new compatible strin

Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API

2016-04-18 Thread Tomasz Nowicki
On 18.04.2016 16:44, Arnd Bergmann wrote: On Monday 18 April 2016 15:03:51 Tomasz Nowicki wrote: On 16.04.2016 16:36, Jayachandran C wrote: On Sat, Apr 16, 2016 at 1:01 PM, Arnd Bergmann wrote: On Saturday 16 April 2016 12:50:13 Jayachandran C wrote: The whole pci-thunder-*.c is to support t

[PATCH v4] ARM64: ACPI: Update documentation for latest specification version

2016-04-18 Thread Al Stone
The ACPI 6.1 specification was recently released at the end of January 2016, but the arm64 kernel documentation for the use of ACPI was written for the 5.1 version of the spec. There were significant additions to the spec that had not yet been mentioned -- for example, the 6.0 mechanisms added to

Re: [PATCH -tip 1/3] locking/pvqspinlock: Fix div by 0 in qstats

2016-04-18 Thread Waiman Long
On 04/18/2016 02:31 AM, Davidlohr Bueso wrote: While playing with such statistics I ran into the following splat on a VM when opening pv_hash_hops: [ 25.267962] divide error: [#1] SMP ... [ 25.268807] CPU: 17 PID: 1018 Comm: cat Not tainted 4.6.0-rc3-debug+ #2 [ 25.268853] Hardware na

Re: [PATCH 1/5] max44000: Initial commit

2016-04-18 Thread Jonathan Cameron
On 18/04/16 13:34, Mark Brown wrote: > On Mon, Apr 18, 2016 at 03:15:54PM +0300, Crestez Dan Leonard wrote: > >> As a further clarification: regmap_write will write to hardware even if >> the cache is known to be up-to-date and no matter the regcache_type. Did >> I understand this correctly? > >>

Re: [PATCH] mm: SLAB freelist randomization

2016-04-18 Thread Laura Abbott
On 04/18/2016 08:59 AM, Thomas Garnier wrote: I will send the next version today. Note that I get_random_bytes_arch is used because at that stage we have 0 bits of entropy. It seemed like a better idea to use the arch version that will fallback on get_random_bytes sub API in the worse case. Th

Re: [PATCH 1/5] max44000: Initial commit

2016-04-18 Thread Jonathan Cameron
On 18/04/16 11:32, Mark Brown wrote: > On Sun, Apr 17, 2016 at 09:36:10AM +0100, Jonathan Cameron wrote: >> On 11/04/16 16:08, Crestez Dan Leonard wrote: > > Please leave blank lines between paragraphs, it makes things much easier > to read. > >>> Would it be >>> acceptable to just expand the REG

Re: [PATCH -tip 3/3] locking/pvqspinlock: Robustify init_qspinlock_stat()

2016-04-18 Thread Waiman Long
On 04/18/2016 02:31 AM, Davidlohr Bueso wrote: Specifically around the debugfs file creation calls, I have no idea if they could ever possibly fail, but this is core code (debug aside) so lets at least check the return value and inform anything fishy. Signed-off-by: Davidlohr Bueso --- kernel/

RE: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)

2016-04-18 Thread KY Srinivasan
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Monday, April 18, 2016 10:00 AM > To: KY Srinivasan ; Alexander Duyck > > Cc: David Miller ; Netdev > ; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; Robo Bot > ; Jason Wang ; > e..

Re: [PATCH 1/2] iio: magn: Split bmc150 driver in common/i2c parts

2016-04-18 Thread Jonathan Cameron
On 18/04/16 12:24, Tirdea, Irina wrote: > > >> -Original Message- >> From: Jonathan Cameron [mailto:ji...@kernel.org] >> Sent: 17 April, 2016 13:02 >> To: Baluta, Daniel; Tirdea, Irina >> Cc: knaac...@gmx.de; l...@metafoo.de; pme...@pmeerw.net; >> ge...@linux-m68k.org; Dogaru, Vlad; Purd

Re: [PATCH 12/16] page-flags: define PG_mlocked behavior on compound pages

2016-04-18 Thread Sasha Levin
On 09/24/2015 10:51 AM, Kirill A. Shutemov wrote: > Transparent huge pages can be mlocked -- whole compund page at once. > Something went wrong if we're trying to mlock() tail page. > Let's use PF_NO_TAIL. Kirill, Hugh, I seem to be hitting this with trinity: [ 242.257552] page:ea0001517fc0

Re: [PATCH v3 1/2] ext4: Pass in DIO_SKIP_DIO_COUNT flag if inode_dio_begin() called

2016-04-18 Thread Waiman Long
On 04/15/2016 06:19 PM, Dave Chinner wrote: On Fri, Apr 15, 2016 at 01:17:41PM -0400, Waiman Long wrote: On 04/15/2016 04:17 AM, Dave Chinner wrote: On Thu, Apr 14, 2016 at 12:21:13PM -0400, Waiman Long wrote: What the patch does is to eliminate the innermost inode_dio_begin/end pair. Yes, an

<    2   3   4   5   6   7   8   9   10   >