Re: [PATCH 0/2] Input-at32psif: Fine-tuning for OOM handling in psif_probe()

2016-07-03 Thread SF Markus Elfring
>> A few update suggestions were taken into account >> from static source code analysis. >> >> Markus Elfring (2): >> Return directly after a failed kzalloc() >> Remove two OOM messages >> >> drivers/input/serio/at32psif.c | 10 +++--- >> 1 file changed, 3 insertions(+), 7 deletions(-) >

undefined reference to `bad_dma_ops'

2016-07-03 Thread kbuild test robot
Hi, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4f302921c1458d790ae21147f7043f4e6b6a1085 commit: 420520766a796d3607639ba1e4fb1aadeadd [media] media: Kconfig: add dependency of HAS_DMA date:

[GIT PULL] overlayfs fixes for 4.7-rc5

2016-07-03 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus This contains fixes for a dentry leak, a regression in 4.6 noticed by Docker users and missing write access checking in truncate. Thanks, Miklos --- Miklos Szeredi (2): ovl: fix d

[GIT PULL] fuse fix for 4.7-rc5

2016-07-03 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-linus This makes sure not userspace filesystems are broken by the parallel lookups and readdir feature. Thanks, Miklos --- Miklos Szeredi (1): fuse: serialize dirops by default --- fs/fuse

[tip:perf/urgent] perf/x86: Fix 32-bit perf user callgraph collection

2016-07-03 Thread tip-bot for Josh Poimboeuf
Commit-ID: fc18822510721fe694d273c5211c71ea52796d76 Gitweb: http://git.kernel.org/tip/fc18822510721fe694d273c5211c71ea52796d76 Author: Josh Poimboeuf AuthorDate: Fri, 1 Jul 2016 23:02:05 -0500 Committer: Ingo Molnar CommitDate: Sun, 3 Jul 2016 10:43:00 +0200 perf/x86: Fix 32-bit perf u

[tip:perf/urgent] perf/x86/intel: Update event constraints when HT is off

2016-07-03 Thread tip-bot for Stephane Eranian
Commit-ID: 9010ae4a8dee29e5886e86682799dde0eee7f447 Gitweb: http://git.kernel.org/tip/9010ae4a8dee29e5886e86682799dde0eee7f447 Author: Stephane Eranian AuthorDate: Fri, 1 Jul 2016 15:22:22 -0700 Committer: Ingo Molnar CommitDate: Sun, 3 Jul 2016 10:39:53 +0200 perf/x86/intel: Update ev

Re: [PATCH 1/4] net: ethernet: ti: davinci_cpdma: split descs num between all channels

2016-07-03 Thread Ivan Khoronzhuk
On 01.07.16 23:35, David Miller wrote: From: Ivan Khoronzhuk Date: Thu, 30 Jun 2016 22:04:35 +0300 @@ -720,7 +763,7 @@ unlock_ret: } EXPORT_SYMBOL_GPL(cpdma_chan_submit); -bool cpdma_check_free_tx_desc(struct cpdma_chan *chan) +inline bool cpdma_check_free_desc(struct cpdma_chan *chan)

Re: [PATCHv4 1/1] thermal: core: call thermal_zone_device_update() after mode update

2016-07-03 Thread Peter Feuerer
Hi, 23. Juni 2016 06:52 Uhr, "Darren Hart" schrieb: > On Wed, Jun 22, 2016 at 08:03:18AM -0700, Eduardo Valentin wrote: > >> Because several drivers do the following pattern: >> .set_mode() >> ... >> local_data->mode = new_mode; >> thermal_zone_device_update(tz); >> >> makes sense to simply do

Re: [PATCH v2] drivers:iio:light:isl29125: added macros for sensing range

2016-07-03 Thread Jonathan Cameron
On 27/06/16 16:37, Bijosh Thykkoottathil wrote: > Added macros for sensing range as the corresponding magic numbers > were used at multiple places. >- ISL29125_SENSING_RANGE_0 for 375 lux full range >- ISL29125_SENSING_RANGE_1 for 10k lux full range > > Signed-off-by: Bijosh Thykkoottathil

Re: [PATCH v2 3/4] iio: potentiometer: mcp4531: Add device tree binding

2016-07-03 Thread Jonathan Cameron
On 27/06/16 06:30, Florian Vaussard wrote: > Hi Peter, > > Le 27. 06. 16 à 00:12, Peter Rosin a écrit : >> Hi Florian, >> >> On 2016-06-26 22:22, Florian Vaussard wrote: >>> This patch adds the necessary device tree binding to allow DT probing of >>> currently supported parts. >>> >>> Signed-off-b

Re: [PATCH v4 10/29] x86/die: Don't try to recover from an OOPS on a non-default stack

2016-07-03 Thread Borislav Petkov
On Sat, Jul 02, 2016 at 01:34:51PM -0500, Josh Poimboeuf wrote: > The existing 'object_is_on_stack()' can probably be used: > > if (!object_is_on_stack(current_top_of_stack())) > panic("..."); > > Though that function isn't quite accurately named. It should really > have 'tas

Re: [RFC PATCH] media: s5p-mfc - remove vidioc_g_crop

2016-07-03 Thread Hans Verkuil
Hi Nicolas, On 07/02/2016 10:29 PM, Nicolas Dufresne wrote: > > Le 30 juin 2016 5:35 PM, "Shuah Khan" > a écrit : >> >> Remove vidioc_g_crop() from s5p-mfc decoder. Without its s_crop counterpart >> g_crop is not useful. Delete it. > > G_CROP tell the userspace w

Re: [PATCH v4 1/3] Documentation: DT: Add iproc-static-adc binding

2016-07-03 Thread Jonathan Cameron
On 28/06/16 22:06, Rob Herring wrote: > On Tue, Jun 28, 2016 at 01:10:34PM +0530, Raveendra Padasalagi wrote: >> The patch adds devicetree binding document for broadcom's >> iproc-static-adc controller driver. >> >> Signed-off-by: Raveendra Padasalagi >> Reviewed-by: Ray Jui >> Reviewed-by: Scott

Re: [PATCH v4 2/3] iio: Add driver for Broadcom iproc-static-adc

2016-07-03 Thread Jonathan Cameron
On 28/06/16 08:40, Raveendra Padasalagi wrote: > This patch adds basic driver implementation for Broadcom's > static adc controller used in iProc SoC's family. > > Signed-off-by: Raveendra Padasalagi > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden Looks good to me. Applied to the togreg br

Re: [PATCH v4 3/3] ARM:dts-Add dt node for Broadcom iproc-static-adc

2016-07-03 Thread Jonathan Cameron
On 28/06/16 08:40, Raveendra Padasalagi wrote: > This patch adds DT node for Broadcom's iproc-static-adc > controller driver. > > Signed-off-by: Raveendra Padasalagi > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden Driver is working its way towards just making the next merge window... Guess

Re: [PATCH v3 2/2] iio: adc: max1363: Add device tree binding

2016-07-03 Thread Jonathan Cameron
On 30/06/16 08:43, Florian Vaussard wrote: > This patch adds the necessary device tree binding to allow DT probing of > currently supported parts. > > Signed-off-by: Florian Vaussard Applied. Thanks. Jonathan > --- > drivers/iio/adc/max1363.c | 61 > +++

Re: [PATCH v3 1/2] iio: adc: max1363: Add device tree binding documentation

2016-07-03 Thread Jonathan Cameron
On 30/06/16 08:43, Florian Vaussard wrote: > Add the device tree documentation for all the supported parts. Mandatory > binding is the compatible string and the slave I2C address. > > Optional properties can be used to specify the Vcc / Vref regulators, as > well as the IRQ line if available. > >

Re: [3/3] hwmon: iio_hwmon: defer probe when no channel is found

2016-07-03 Thread Jonathan Cameron
On 30/06/16 15:51, Guenter Roeck wrote: > On 06/30/2016 06:59 AM, Jonathan Cameron wrote: >> >> >> On 30 June 2016 04:47:25 BST, Guenter Roeck wrote: >>> On Tue, Jun 28, 2016 at 10:18:17AM +0200, Quentin Schulz wrote: iio_channel_get_all returns -ENODEV when it cannot find either >>> phandles

Re: [PATCH v3 1/4] iio: potentiometer: mcp4531: Add support for MCP454x, MCP456x, MCP464x and MCP466x

2016-07-03 Thread Jonathan Cameron
On 30/06/16 08:34, Florian Vaussard wrote: > This patch adds support for MCP454x, MCP456x, MCP464x and MCP466x parts. > The main difference with currently supported parts (MCP453x and alike) is > the addition of a non-volatile memory in order to recall the wiper setting > at power-on. This feature

Re: [PATCH v3 2/4] iio: potentiometer: mcp4531: Add device tree binding documentation

2016-07-03 Thread Jonathan Cameron
On 01/07/16 03:19, Rob Herring wrote: > On Thu, Jun 30, 2016 at 09:34:49AM +0200, Florian Vaussard wrote: >> Add the device tree documentation for all the supported parts. Apart the >> compatible string and standard I2C binding, no other binding is currently >> needed. >> >> Signed-off-by: Florian

Re: [PATCH v3 3/4] iio: potentiometer: mcp4531: Add device tree binding

2016-07-03 Thread Jonathan Cameron
On 30/06/16 09:09, Florian Vaussard wrote: > > > Le 30. 06. 16 à 09:46, Peter Rosin a écrit : >> >> >> On June 30, 2016 9:34:50 AM GMT+02:00, Florian Vaussard >> wrote: >>> This patch adds the necessary device tree binding to allow DT probing >>> of >>> currently supported parts. >>> >>> Signed

Re: [PATCH v3 4/4] iio: potentiometer: Fix typo in Kconfig

2016-07-03 Thread Jonathan Cameron
On 30/06/16 08:34, Florian Vaussard wrote: > Fix s/potentiomenter/potentiometer/. > > Suggested-by: Peter Meerwald-Stadler > Signed-off-by: Florian Vaussard Applied. > --- > drivers/iio/potentiometer/Kconfig | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers

Re: [PATCH 1/3] mfd: add support for Allwinner SoCs ADC

2016-07-03 Thread Jonathan Cameron
On 28/06/16 09:18, Quentin Schulz wrote: > The Allwinner SoCs all have an ADC that can also act as a touchscreen > controller and a thermal sensor. For now, only the ADC and the thermal > sensor drivers are probed by the MFD, the touchscreen controller support > will be added later. > > Signed-off

core.c:undefined reference to `fpu_save'

2016-07-03 Thread kbuild test robot
Hi, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4f302921c1458d790ae21147f7043f4e6b6a1085 commit: c60f169202c7643991a8b4bfeea60e06843d5b5a arch/mn10300/kernel/fpu-nofpu.c: needs asm/elf.h date:

Re: [PATCH v4 14/22] sh: SH7751 core dtsi

2016-07-03 Thread Yoshinori Sato
On Fri, 01 Jul 2016 17:57:00 +0900, Geert Uytterhoeven wrote: > > Hi Sato-san, > > On Wed, Jun 29, 2016 at 3:40 PM, Yoshinori Sato > wrote: > > SH7751 core and internal peripheral define. > > Thanks for your patch! > > > Changes v4 > > - remove unneeded #address-cells and #size-cells > > - add

Re: [PATCH v4 21/22] sh: Renesas RTS7751R2Dplus (a,k.a R2Dplus) IRQCHIP Driver

2016-07-03 Thread Yoshinori Sato
On Fri, 01 Jul 2016 10:53:13 +0900, Rob Herring wrote: > > On Wed, Jun 29, 2016 at 10:41:06PM +0900, Yoshinori Sato wrote: > > Changes v4 > > - split patch. > > - remove unneeded #address > > Actually, I think #address-cells is supposed to be set for > interrupt-map. It defines the size of the f

Re: [PATCH v4 19/22] sh: IO-DATA HDL-U (a,k.a landisk) IRQCHIP driver

2016-07-03 Thread Yoshinori Sato
On Fri, 01 Jul 2016 10:48:53 +0900, Rob Herring wrote: > > On Wed, Jun 29, 2016 at 10:41:04PM +0900, Yoshinori Sato wrote: > > Changes v4 > > - split patches > > - remove unneeded line > > - example update > > > > Signed-off-by: Yoshinori Sato > > --- > > .../interrupt-controller/iodata-landisk

Re: [PATCH RESEND v2] mfd: sm501: Add device property

2016-07-03 Thread Yoshinori Sato
On Fri, 01 Jul 2016 17:59:11 +0900, Lee Jones wrote: > > On Fri, 01 Jul 2016, Yoshinori Sato wrote: > > > On Thu, 30 Jun 2016 16:48:00 +0900, > > Lee Jones wrote: > > > > > > On Thu, 30 Jun 2016, Yoshinori Sato wrote: > > > > > > > Signed-off-by: Yoshinori Sato > > > > --- > > > > Documentati

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-03 Thread Jonathan Cameron
On 28/06/16 09:18, Quentin Schulz wrote: > The Allwinner SoCs all have an ADC that can also act as a touchscreen > controller and a thermal sensor. This patch adds the ADC driver which is > based on the MFD for the same SoCs ADC. > > This also registers the thermal adc channel in the iio map array

Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation

2016-07-03 Thread Jonathan Cameron
On 02/07/16 14:35, Alexandre Belloni wrote: > On 02/07/2016 at 17:12:55 +0800, Chen-Yu Tsai wrote : >> Hi, >> >> On Sat, Jul 2, 2016 at 5:00 AM, Alexandre Belloni >> wrote: >>> Document the bindings for the Allwinner LRADC. >> >> We already have Documentation/devicetree/bindings/input/sun4i-lradc-

Re: [PATCH RFC 0/7] support clk setting during kernel early boot

2016-07-03 Thread Fabio Estevam
Hi Stefan, On Sat, Jul 2, 2016 at 8:12 PM, Stefan Agner wrote: > I found that remark interesting, and agree here with Stephen, critical > clks should be already on and everything else should be controlled from > drivers. > > With that in mind I went on and looked again what is currently (after >

Re: [PATCH 2/2] iio: adc: sun4i_lradc: new driver

2016-07-03 Thread Jonathan Cameron
On 01/07/16 22:00, Alexandre Belloni wrote: > Add an IIO driver for the Allwinner LRADC. To avoid idiots (i.e. me) confusing this with the touch screen ADC could you expand a little on the description in future patches. A few general bits and bobs inline. Jonathan > > Signed-off-by: Alexandre Be

Re: [PATCH v5 5/8] spi: add support for ACPI reconfigure notifications

2016-07-03 Thread Mark Brown
On Fri, Jul 01, 2016 at 11:19:09PM +0300, Octavian Purdila wrote: > This patch adds supports for SPI device enumeration and removal via > ACPI reconfiguration notifications that are send as a result of an > ACPI table load or unload operation. Acked-by: Mark Brown signature.asc Description: PGP

[RFC PATCH 0/3] doc-rst: customize HTML (RTD) theme

2016-07-03 Thread Markus Heiser
From: Markus Heiser The default layout of the RTD HTML theme has some tweaks, discussed in the linux-doc ML [1][2]. This series adds a boilerplate to customize HTML themes and it fix the tweaks (mainly) for tables, captions and inline literals. Since there is no (vast) table in Jon's docs-next

[RFC PATCH 1/3] doc-rst: boilerplate HTML theme customization

2016-07-03 Thread Markus Heiser
From: Markus Heiser To: Jonathan Corbet To: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: Daniel Vetter Cc: Airlie Cc: Likely Cc: Dunlap Cc: Packard Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Implements the minimal boilerplate for Sphinx HTML theme customization. Signed-

[RFC PATCH 3/3] doc-rst: customize RTD theme, captions & inline literal

2016-07-03 Thread Markus Heiser
From: Markus Heiser To: Jonathan Corbet To: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: Daniel Vetter Cc: Airlie Cc: Likely Cc: Dunlap Cc: Packard Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org The layout of (table) captions in the RTD theme is a bit ugly and the bordered,

[RFC PATCH 2/3] doc-rst: customize RTD theme, table & full width

2016-07-03 Thread Markus Heiser
From: Markus Heiser To: Jonathan Corbet To: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: Daniel Vetter Cc: Airlie Cc: Likely Cc: Dunlap Cc: Packard Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org The default table layout of the RTD theme does not fit for vast tables, like the

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-03 Thread Jonathan Cameron
On 03/07/16 12:54, Jonathan Cameron wrote: > On 28/06/16 09:18, Quentin Schulz wrote: >> The Allwinner SoCs all have an ADC that can also act as a touchscreen >> controller and a thermal sensor. This patch adds the ADC driver which is >> based on the MFD for the same SoCs ADC. >> >> This also regis

Re: [RFC] mips: Add MXU context switching support

2016-07-03 Thread PrasannaKumar Muralidharan
Will be great if someone could review this. Thanks in advance.

Re: [PATCH 1/2] input: adc-keys: add DT binding documentation

2016-07-03 Thread Jonathan Cameron
On 01/07/16 22:30, Alexandre Belloni wrote: > Add documentation for ADC keys > > Signed-off-by: Alexandre Belloni Clean looking binding to me - one comment inline. Jonathan > --- > Cc: Rob Herring > Cc: devicet...@vger.kernel.org > > .../devicetree/bindings/input/adc-keys.txt | 45 >

Re: [PATCH 2/2] input: add ADC resistor ladder driver

2016-07-03 Thread Jonathan Cameron
On 01/07/16 22:30, Alexandre Belloni wrote: > A common way of multiplexing buttons on a single input in cheap devices is > to use a resistor ladder on an ADC. This driver supports that configuration > by polling an ADC channel provided by IIO. > > Signed-off-by: Alexandre Belloni I like this a lo

[PATCH] tracing: Have HIST_TRIGGERS select TRACING

2016-07-03 Thread Tom Zanussi
The kbuild test robot reported a compile error if HIST_TRIGGERS was enabled but nothing else that selected TRACING was configured in. HIST_TRIGGERS should directly select it and not rely on anything else to do it. Signed-off-by: Tom Zanussi --- kernel/trace/Kconfig | 1 + 1 file changed, 1 inse

Re: [PATCHv3] mvsas:Fix possible NULL pointer deference in mvs_dev_found_notify

2016-07-03 Thread Luis de Bethencourt
On 02/07/16 20:05, James Bottomley wrote: > On Sat, 2016-07-02 at 19:16 +0100, Luis de Bethencourt wrote: >> On 02/07/16 18:00, Nicholas Krause wrote: >>> This adds properly checking after the call to mvs_find_dev_mvi >>> due to this function being able to return a NULL pointer and >>> if this doe

[patch v2 2/2] f2fs: fix to avoid data update racing between GC and DIO

2016-07-03 Thread Chao Yu
From: Chao Yu Datas in file can be operated by GC and DIO simultaneously, so we will face race case as below: For write case: Thread AThread B - generic_file_direct_write - invalidate_inode_pages2_range - f2fs_direct_IO - do_blockdev_direct_IO - do_direct_I

[PATCH 3/4] f2fs: fix to redirty page if fail to gc data page

2016-07-03 Thread Chao Yu
From: Chao Yu If we fail to move data page during foreground GC, we should give another chance to writeback that page which was set dirty previously by writer. Signed-off-by: Chao Yu --- fs/f2fs/gc.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/gc.c

[PATCH 1/4] f2fs: fix to avoid reading out encrypted data in page cache

2016-07-03 Thread Chao Yu
From: Chao Yu For encrypted inode, if user overwrites data of the inode, f2fs will read encrypted data into page cache, and then do the decryption. However reader can race with overwriter, and it will see encrypted data which has not been decrypted by overwriter yet. Fix it by moving decrypting

[PATCH 2/4] f2fs: fix to detect truncation prior rather than EIO during read

2016-07-03 Thread Chao Yu
From: Chao Yu In procedure of synchonized read, after sending out the read request, reader will try to lock the page for waiting device to finish the read jobs and unlock the page, but meanwhile, truncater will race with reader, so after reader get lock of the page, it should check page's mapping

[PATCH 4/4] f2fs: add nodiscard mount option

2016-07-03 Thread Chao Yu
From: Chao Yu This patch adds 'nodiscard' mount option. Signed-off-by: Chao Yu --- Documentation/filesystems/f2fs.txt | 4 +++- fs/f2fs/super.c| 4 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesys

Re: [PATCH v4 10/29] x86/die: Don't try to recover from an OOPS on a non-default stack

2016-07-03 Thread Andy Lutomirski
On Sat, Jul 2, 2016 at 11:34 AM, Josh Poimboeuf wrote: > On Sat, Jul 02, 2016 at 07:24:41PM +0200, Borislav Petkov wrote: >> On Sun, Jun 26, 2016 at 02:55:32PM -0700, Andy Lutomirski wrote: >> > It's not going to work, because the scheduler will explode if we try >> > to schedule when running on a

Re: [PATCH 1/6] x86: fix duplicated X86_BUG(9) macro

2016-07-03 Thread Andy Lutomirski
On Jul 1, 2016 9:47 AM, "Borislav Petkov" wrote: > > On Fri, Jul 01, 2016 at 09:30:37AM -0700, Andy Lutomirski wrote: > > I put the ifdef there to prevent anyone from accidentally using it in > > a 64-bit code path, not to save a bit. We could put in the middle of > > the list to make the mistake

Re: [PATCH] capabilities: add capability cgroup controller

2016-07-03 Thread Topi Miettinen
On 06/27/16 19:49, Serge E. Hallyn wrote: > Quoting Tejun Heo (t...@kernel.org): >> Hello, >> >> On Mon, Jun 27, 2016 at 3:10 PM, Topi Miettinen wrote: >>> I'll have to study these more. But from what I saw so far, it looks to >>> me that a separate tool would be needed to read taskstats and if th

Re: [PATCH] Exchange the Assignments of `MEMORYs' and `CFGs/IOs' in Designware PCIe Driver

2016-07-03 Thread Pratyush Anand
On Tue, Jun 28, 2016 at 1:42 PM, dongbo (E) wrote: > > From: Dong Bo > > In designware PCIe driver, the iatu0 is used for both CFG and IO accesses. > When sending CFGs to peripherals (e.g. lspci), iatu0 frequently switches > between CFG and IO alternatively. > > A MEMORY probably be sent as an IO

[PATCH] befs: make consistent use of befs_error()

2016-07-03 Thread Luis de Bethencourt
befs_error() is used in potential errors that could happen in befs to provide informational log messages. befs_debug() is silent when CONFIG_BEFS_DEBUG=no, and very verbose when switched on, which is why it is used for general debugging but not for errors. Fix a few cases where the befs debug util

[PATCH 2/2] net: ethernet: bcmgenet: use phy_ethtool_{get|set}_link_ksettings

2016-07-03 Thread Philippe Reynes
There are two generics functions phy_ethtool_{get|set}_link_ksettings, so we can use them instead of defining the same code in the driver. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 28 +-- 1 files changed, 2 insertions(+), 26 deleti

[PATCH 1/2] net: ethernet: bcmgenet: use phydev from struct net_device

2016-07-03 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/br

undefined reference to `printk'

2016-07-03 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4f302921c1458d790ae21147f7043f4e6b6a1085 commit: 5d2acfc7b974bbd3858b4dd3f2cdc6362dd8843a kconfig: make allnoconfig disable options behind EMBEDDED and EXPERT date

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-03 Thread Guenter Roeck
On 07/03/2016 04:54 AM, Jonathan Cameron wrote: On 28/06/16 09:18, Quentin Schulz wrote: The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. This patch adds the ADC driver which is based on the MFD for the same SoCs ADC. This also registers the

Re: [3/3] hwmon: iio_hwmon: defer probe when no channel is found

2016-07-03 Thread Guenter Roeck
On 07/03/2016 03:47 AM, Jonathan Cameron wrote: On 30/06/16 15:51, Guenter Roeck wrote: On 06/30/2016 06:59 AM, Jonathan Cameron wrote: On 30 June 2016 04:47:25 BST, Guenter Roeck wrote: On Tue, Jun 28, 2016 at 10:18:17AM +0200, Quentin Schulz wrote: iio_channel_get_all returns -ENODEV whe

[PATCH] relay: Add global mode support for buffer-only channels

2016-07-03 Thread akash . goel
From: Akash Goel The following patch added support to use channels with no associated files. relay: add buffer-only channels; useful for early logging This is useful when the exact location of relay file is not known or the the parent directory of relay file is not available, while creati

Re: [PATCH] capabilities: audit capability use

2016-07-03 Thread kbuild test robot
-audit-capability-use/20160703-231120 base: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-next config: microblaze-mmu_defconfig (attached as .config) compiler: microblaze-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git

[PATCH] Revert "gpiolib: Split GPIO flags parsing and GPIO configuration"

2016-07-03 Thread Johan Hovold
This reverts commit 923b93e451db876d1479d3e4458fce14fec31d1c. Make sure consumers do not overwrite gpio flags for pins that have already been claimed. While adding support for gpio drivers to refuse a request using unsupported flags, the order of when the requested flag was checked and the new fl

[PATCH v5 04/22] sh: Use P1SEGADDR

2016-07-03 Thread Yoshinori Sato
FDT address is P1SEG. So not virtual address. Signed-off-by: Yoshinori Sato --- arch/sh/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 86f2792..8e3b099 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kern

[PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree

2016-07-03 Thread Yoshinori Sato
SH get devicetree support. But it not working on existing H/W. IO-DATA HDL-U (aka landisk) currentry supported. This H/W like SH7751 evalution board. It's a best to use this as a change base H/W. RTS7751R2Dplus is QEMU-SH4 target. So easy trying. Changes V5 - added "#address-cells" before interru

[PATCH v6 12/22] sh: Add PCI host bridge driver for SH7751

2016-07-03 Thread Yoshinori Sato
This is an alternative SH7751 PCI driver. Existing driver (arch/sh/drivers/pci/pci-sh7751) uses SH specific interface. But this driver uses common PCI interface. It is more modern and generic. Signed-off-by: Yoshinori Sato --- .../devicetree/bindings/pci/sh7751-pci.txt | 37 +++ arch/sh

[PATCH v5 19/22] sh: IO-DATA HDL-U (a.k.a landisk) IRQCHIP driver

2016-07-03 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- .../interrupt-controller/iodata-landisk.txt| 31 ++ drivers/irqchip/Makefile | 2 +- drivers/irqchip/irq-io-landisk.c | 72 ++ 3 files changed, 104 insertions(+), 1 deletion(-) crea

[PATCH v5 21/22] sh: Renesas RTS7751R2Dplus (a.k.a R2Dplus) IRQCHIP Driver

2016-07-03 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- .../interrupt-controller/renesas-r2dplus.txt | 38 ++ drivers/irqchip/Makefile | 2 +- drivers/irqchip/irq-renesas-r2dplus.c | 88 ++ 3 files changed, 127 insertions(+), 1 deletion(-) crea

[PATCH v5 15/22] sh: Move common PCI stuff to arch/sh/kernel

2016-07-03 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/drivers/pci/Makefile | 2 - arch/sh/drivers/pci/common.c | 162 arch/sh/drivers/pci/pci.c| 320 arch/sh/kernel/Makefile | 2 + arch/sh/kernel/pci-common.c | 162 ++

[PATCH v5 11/22] sh: SH7750/51 CPG Driver

2016-07-03 Thread Yoshinori Sato
Convert SH specific clock framework to CCF. Signed-off-by: Yoshinori Sato Acked-by: Rob Herring --- .../bindings/clock/renesas,sh7750-cpg.txt | 25 ++ arch/sh/boards/Kconfig | 1 + arch/sh/kernel/cpu/Makefile| 8 +- arch/sh/kerne

[PATCH v5 13/22] sh: irqchip: SH7751 IRQCHIP Driver

2016-07-03 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato Acked-by: Rob Herring --- .../interrupt-controller/renesas,sh7751-intc.txt | 25 arch/sh/Kconfig| 6 +- arch/sh/boards/Kconfig | 1 + drivers/irqchip/Kconfig| 5

[PATCH v5 08/22] sh: Disable board specific code on device tree mode

2016-07-03 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/Makefile| 2 ++ arch/sh/kernel/cpu/sh4/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 3b2c8b4..8adffa8 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile @@ -132,6 +132,7 @@ core

[PATCH v5 16/22] pci: pci_config_window move to linux/pci.h

2016-07-03 Thread Yoshinori Sato
Chanegs v4 none Signed-off-by: Yoshinori Sato --- drivers/pci/ecam.h | 17 + include/linux/pci.h | 18 ++ 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/drivers/pci/ecam.h b/drivers/pci/ecam.h index 9878beb..f110091 100644 --- a/drivers/pci/ecam

[PATCH v5 09/22] sh: Use GENERIC_IOMAP on device tree mode

2016-07-03 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/boards/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig index 5e52d53..9e4ccd0 100644 --- a/arch/sh/boards/Kconfig +++ b/arch/sh/boards/Kconfig @@ -12,6 +12,7 @@ config SH_DEVICE_TREE sele

[PATCH v5 07/22] sh: Passing FDT address on zImage

2016-07-03 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/boot/compressed/head_32.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/sh/boot/compressed/head_32.S b/arch/sh/boot/compressed/head_32.S index 3e15032..a980c48 100644 --- a/arch/sh/boot/compressed/head_32.S +++ b/arch/sh/b

[PATCH v5 05/22] sh: command line passing chosen/bootargs in devicetree

2016-07-03 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/kernel/setup.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 8e3b099..bdf57e5 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c @@ -280,6 +280,7 @@ void __init setup_arch(cha

[PATCH v5 10/22] sh: Add board specific initialize of of-generic

2016-07-03 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/boards/of-generic.c | 64 + 1 file changed, 64 insertions(+) diff --git a/arch/sh/boards/of-generic.c b/arch/sh/boards/of-generic.c index 2d3cda3..4038682 100644 --- a/arch/sh/boards/of-generic.c +++ b/arch/sh/

[PATCH v5 22/22] sh: Renesas RTS7751R2Dplus (a,k.a R2Dplus) DeviceTree

2016-07-03 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/boot/dts/Makefile| 1 + arch/sh/boot/dts/r2dplus.dts | 85 2 files changed, 86 insertions(+) create mode 100644 arch/sh/boot/dts/r2dplus.dts diff --git a/arch/sh/boot/dts/Makefile b/arch/sh/boot/dts/Make

[PATCH v5 03/22] sh: set preset_lpj

2016-07-03 Thread Yoshinori Sato
Generic callibrate delay required this value. Signed-off-by: Yoshinori Sato --- arch/sh/boards/of-generic.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/sh/boards/of-generic.c b/arch/sh/boards/of-generic.c index 3db4294..2d3cda3 100644 --- a/arch/sh/boards/of-generic.c +++ b/ar

Re: [PATCH 1/3] mfd: add support for Allwinner SoCs ADC

2016-07-03 Thread Lars-Peter Clausen
On 07/03/2016 01:17 PM, Jonathan Cameron wrote: > On 28/06/16 09:18, Quentin Schulz wrote: >> The Allwinner SoCs all have an ADC that can also act as a touchscreen >> controller and a thermal sensor. For now, only the ADC and the thermal >> sensor drivers are probed by the MFD, the touchscreen cont

[PATCH v5 06/22] sh: FDT address save before bank change

2016-07-03 Thread Yoshinori Sato
SH3/4 have register bank of R0-R7. Preset FDT address assigned bank depend on boot loader. Before setting a bank because we don't depend on a boot loader, it's evacuated. Signed-off-by: Yoshinori Sato --- arch/sh/kernel/head_32.S | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff

[PATCH v5 20/22] sh: IO-DATA HDL-U (a.k.a landisk) DeviceTree

2016-07-03 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/boot/dts/Makefile| 2 ++ arch/sh/boot/dts/landisk.dts | 61 2 files changed, 63 insertions(+) create mode 100644 arch/sh/boot/dts/landisk.dts diff --git a/arch/sh/boot/dts/Makefile b/arch/sh/boot/dts/Mak

[PATCH v5 02/22] sh: More early unflatten device tree

2016-07-03 Thread Yoshinori Sato
unflatten required MMU disabled. Signed-off-by: Yoshinori Sato --- arch/sh/boards/of-generic.c | 6 -- arch/sh/kernel/setup.c | 7 +++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/sh/boards/of-generic.c b/arch/sh/boards/of-generic.c index 8dbf978..3db4294 1006

[PATCH v5 18/22] sh: Add separate DTB build rule

2016-07-03 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/Makefile | 7 +++ arch/sh/boot/dts/Makefile | 2 ++ 2 files changed, 9 insertions(+) diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 8adffa8..a44e630 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile @@ -189,6 +189,13 @@ drivers-$(

[PATCH v5 01/22] sh: Add sh-specific early_init_dt_reserve_memory_arch

2016-07-03 Thread Yoshinori Sato
sh used P1 address space in early device tree. So need convert P1 to physical address before reserve memory. Signed-off-by: Yoshinori Sato --- arch/sh/boards/of-generic.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/sh/boards/of-generic.c b/arch/sh/boards/of-generic.c i

[PATCH v5 17/22] pci: PCI_HOST_GENERIC enable for SH

2016-07-03 Thread Yoshinori Sato
Changes v4 none Signed-off-by: Yoshinori Sato --- drivers/pci/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index df60505..83184eb 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig @@ -83,7

[PATCH v5 14/22] sh: SH7751 core dtsi

2016-07-03 Thread Yoshinori Sato
SH7751 core and internal peripheral define. Signed-off-by: Yoshinori Sato --- arch/sh/boot/dts/include/dt-bindings | 1 + arch/sh/boot/dts/sh7751.dtsi | 83 ++ include/dt-bindings/clock/renesas-sh7750.h | 26 +++ include/dt-bin

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

2016-07-03 Thread Russell King - ARM Linux
On Sat, Jul 02, 2016 at 07:58:00PM -0400, Jon Masters wrote: > Agreed. But we'll still be coming back to ensure this information is > presented to users. I pointed out to ARM about 3-4 years ago that this > was going to bite us. It is now biting us, and we will ensure that > useless data is provide

Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs

2016-07-03 Thread Dave Hansen
On 06/30/2016 08:06 PM, Brian Gerst wrote: >> > It's not like anybody will ever care about 32-bit page tables on >> > Knights Landing anyway. > Could this affect a 32-bit guest VM? This isn't about 32-bit *mode*. It's about using the the 32-bit 2-level _paging_ mode that supports only 4GB virtual

Subject: PROBLEM: CPU accounting/scheduling regression in v4.6 CPU scheduling patchset?

2016-07-03 Thread Vladimir Panteleev
Hi, Since updating my PC to Linux 4.6, I noticed the following problems: 1. CPU-bound tasks which use all CPU cores have a severe impact on responsiveness. For example, the following bash command (which simply starts one busyloop per core) is enough to make the machine almost completely

[PATCH 4/4] bus: simple-pm-bus: convert bool SIMPLE_PM_BUS to tristate

2016-07-03 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: config SIMPLE_PM_BUS bool "Simple Power-Managed Bus Driver" ...meaning that it currently is not being built as a module by anyone. In removing the orphaned modular support in a previous patch set, Geert indicated he'd rather

[PATCH v2 0/4] bus: remove unused modular code from non-modular drivers

2016-07-03 Thread Paul Gortmaker
The drivers/bus doesn't have a strict maintainer entry, but since all the changes here are for ARM platforms, I'm Cc'ing arm-kernel and hoping it makes sense to vector these few changes through the arm-soc tree. My ongoing audit looking for non-modular code that needlessly uses modular macros (vs.

[PATCH 3/4] bus: tegra-aconnect: make it explicitly non-modular

2016-07-03 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/bus/Kconfig:config TEGRA_ACONNECT drivers/bus/Kconfig:bool "Tegra ACONNECT Bus Driver" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so t

[PATCH 1/4] bus: brcmstb_gisb: make it explicitly non-modular

2016-07-03 Thread Paul Gortmaker
The Kconfig for this driver is currently: config BRCMSTB_GISB_ARB bool "Broadcom STB GISB bus arbiter" ...meaning that it currently is not being built as a module by anyone. Lets remove all modular references, so that when reading the driver there is no doubt it is builtin-only. Since mo

[PATCH 2/4] bus: imx-weim: make it explicitly non-modular

2016-07-03 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/bus/Kconfig:config IMX_WEIM drivers/bus/Kconfig:bool "Freescale EIM DRIVER ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when rea

Re: [PATCH 1/3] mfd: add support for Allwinner SoCs ADC

2016-07-03 Thread Guenter Roeck
On 07/03/2016 09:49 AM, Lars-Peter Clausen wrote: On 07/03/2016 01:17 PM, Jonathan Cameron wrote: On 28/06/16 09:18, Quentin Schulz wrote: The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. For now, only the ADC and the thermal sensor drivers

[PATCH v2] clk: imx7d: do not set parent of ethernet time/ref clocks

2016-07-03 Thread Stefan Agner
All device trees currently in mainline specify the time clock parent using the assigned-clocks/assigned-clock-parents method, there is no need to statically assign the parent in the core clock driver. Also all current boards provide an Ethernet reference clock for the PHY externally, hence configur

[PATCH] perf/core: Fix the mask in perf_output_sample_regs

2016-07-03 Thread Madhavan Srinivasan
When decoding the perf_regs mask in perf_output_sample_regs(), we loop through the mask using find_first_bit and find_next_bit functions. While the exisitng code works fine in most of the case, the logic is broken for 32bit kernel (Big Endian). When reading u64 mask using (u32 *)(&val)[0], find_*_b

[PATCH] vme: make core vme support explicitly non-modular

2016-07-03 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/vme/Kconfig:menuconfig VME_BUS drivers/vme/Kconfig:bool "VME bridge support" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when r

Re: [PATCH v6 11/11] Input: sur40 - use new V4L2 touch input type

2016-07-03 Thread Florian Echtler
On 30.06.2016 19:38, Nick Dyer wrote: > Support both V4L2_TCH_FMT_TU08 and V4L2_PIX_FMT_GREY for backwards > compatibility. > > Note: I have not tested these changes (I have no access to the hardware) > so not signing off. I will try to test this ASAP. However, I'm currently ill, so it might take

[PATCH] PNP: make pnpbios core explicitly non-modular

2016-07-03 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: config PNPBIOS bool "Plug and Play BIOS support" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modularity, so that when reading the driver there is no doubt it is buil

[PATCH] base: soc: make it explicitly non-modular

2016-07-03 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/base/Kconfig:config SOC_BUS drivers/base/Kconfig: bool ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the driver there

  1   2   3   >