Re: [PATCH V2 2/3] net-next: dsa: add multi cpu port support

2017-05-30 Thread Florian Fainelli
+Jiri, Ido, On 05/30/2017 03:44 AM, John Crispin wrote: > Some boards have two CPU interfaces connected to the switch, e.g. WiFi > access points, with 1 port labeled WAN, 4 ports labeled lan1-lan4, and > two port connected to the SoC. > > This patch extends DSA to allows both CPU ports to be

Re: [PATCH V2 2/3] net-next: dsa: add multi cpu port support

2017-05-30 Thread Florian Fainelli
+Jiri, Ido, On 05/30/2017 03:44 AM, John Crispin wrote: > Some boards have two CPU interfaces connected to the switch, e.g. WiFi > access points, with 1 port labeled WAN, 4 ports labeled lan1-lan4, and > two port connected to the SoC. > > This patch extends DSA to allows both CPU ports to be

Re: [PATCH 1/7] USB: core: fix device node leak

2017-05-30 Thread Tyrel Datwyler
On 05/30/2017 09:25 AM, Johan Hovold wrote: > Make sure to release any OF device-node reference taken when creating > the USB device. > > Note that we currently do not hold a reference to the root hub > device-tree node (i.e. the parent controller node). > > Fixes: 69bec7259853 ("USB: core: let

Re: [PATCH 1/7] USB: core: fix device node leak

2017-05-30 Thread Tyrel Datwyler
On 05/30/2017 09:25 AM, Johan Hovold wrote: > Make sure to release any OF device-node reference taken when creating > the USB device. > > Note that we currently do not hold a reference to the root hub > device-tree node (i.e. the parent controller node). > > Fixes: 69bec7259853 ("USB: core: let

Re: [PATCH 3/7] driver core: add helper to reuse a device-tree node

2017-05-30 Thread kbuild test robot
Hi Johan, [auto build test WARNING on usb/usb-testing] [also build test WARNING on v4.12-rc3 next-20170530] [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/Johan-Hovold/driver-core-USB-thermal

Re: [PATCH 3/7] driver core: add helper to reuse a device-tree node

2017-05-30 Thread kbuild test robot
Hi Johan, [auto build test WARNING on usb/usb-testing] [also build test WARNING on v4.12-rc3 next-20170530] [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/Johan-Hovold/driver-core-USB-thermal

Re: [kernel-hardening] Re: [PATCH v7 2/2] security: tty: make TIOCSTI ioctl require CAP_SYS_ADMIN

2017-05-30 Thread Alan Cox
On Tue, 30 May 2017 12:28:59 -0400 Matt Brown wrote: > On 5/30/17 8:24 AM, Alan Cox wrote: > > Look there are two problems here > > > > 1. TIOCSTI has users > > I don't see how this is a problem. Which is unfortunate. To start with if it didn't have users we could just

Re: [kernel-hardening] Re: [PATCH v7 2/2] security: tty: make TIOCSTI ioctl require CAP_SYS_ADMIN

2017-05-30 Thread Alan Cox
On Tue, 30 May 2017 12:28:59 -0400 Matt Brown wrote: > On 5/30/17 8:24 AM, Alan Cox wrote: > > Look there are two problems here > > > > 1. TIOCSTI has users > > I don't see how this is a problem. Which is unfortunate. To start with if it didn't have users we could just delete it. > > > >

[PATCH] pstore: Fix leaked pstore_record in pstore_get_backend_records()

2017-05-30 Thread Douglas Anderson
When the "if (record->size <= 0)" test is true in pstore_get_backend_records() it's pretty clear that nobody holds a reference to the allocated pstore_record, yet we don't free it. Let's free it. Fixes: 2a2b0acf768c ("pstore: Allocate records on heap instead of stack") Signed-off-by: Douglas

[PATCH] pstore: Fix leaked pstore_record in pstore_get_backend_records()

2017-05-30 Thread Douglas Anderson
When the "if (record->size <= 0)" test is true in pstore_get_backend_records() it's pretty clear that nobody holds a reference to the allocated pstore_record, yet we don't free it. Let's free it. Fixes: 2a2b0acf768c ("pstore: Allocate records on heap instead of stack") Signed-off-by: Douglas

Re: [PATCH v2 2/5] dt-bindings : Document the STM32F4 CRC32 binding

2017-05-30 Thread Rob Herring
On Sat, May 20, 2017 at 04:32:12PM +0300, Cosar Dindar wrote: > Add device tree binding for STM32F4. > > Signed-off-by: Cosar Dindar > --- > Documentation/devicetree/bindings/crypto/st,stm32-crc.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff

Re: [PATCH v2 2/5] dt-bindings : Document the STM32F4 CRC32 binding

2017-05-30 Thread Rob Herring
On Sat, May 20, 2017 at 04:32:12PM +0300, Cosar Dindar wrote: > Add device tree binding for STM32F4. > > Signed-off-by: Cosar Dindar > --- > Documentation/devicetree/bindings/crypto/st,stm32-crc.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH v7 2/3] PCI: Add support for PCI inbound windows resources

2017-05-30 Thread Bjorn Helgaas
On Mon, May 22, 2017 at 11:39 AM, Oza Pawandeep wrote: > This patch adds support for inbound memory window > for PCI RC drivers. > > It defines new function pci_create_root_bus2 which > takes inbound resources as an argument and fills in the > memory resource to PCI internal

Re: [PATCH] hsdk: initial port for HSDK board

2017-05-30 Thread Vineet Gupta
On 05/30/2017 07:25 AM, Alexey Brodkin wrote: This initial port add support of ARC HS Development Kit board with some basic features such as SMP and serial port, USB, SD/MMC and Ethernet. Note as opposed to other ARC boards we link Linux kernel to 0x9000_ intentionally because cores 1 and 3

Re: [PATCH v7 2/3] PCI: Add support for PCI inbound windows resources

2017-05-30 Thread Bjorn Helgaas
On Mon, May 22, 2017 at 11:39 AM, Oza Pawandeep wrote: > This patch adds support for inbound memory window > for PCI RC drivers. > > It defines new function pci_create_root_bus2 which > takes inbound resources as an argument and fills in the > memory resource to PCI internal host bridge structure

Re: [PATCH] hsdk: initial port for HSDK board

2017-05-30 Thread Vineet Gupta
On 05/30/2017 07:25 AM, Alexey Brodkin wrote: This initial port add support of ARC HS Development Kit board with some basic features such as SMP and serial port, USB, SD/MMC and Ethernet. Note as opposed to other ARC boards we link Linux kernel to 0x9000_ intentionally because cores 1 and 3

Re: [PATCH 2/7] USB: of: document reference taken by child-lookup helper

2017-05-30 Thread Tyrel Datwyler
On 05/30/2017 09:25 AM, Johan Hovold wrote: > Document that the child-node lookup helper takes a reference to the > device-tree node which needs to be dropped after use. > > Signed-off-by: Johan Hovold > --- > drivers/usb/core/of.c | 3 +++ > 1 file changed, 3 insertions(+) >

Re: [PATCH 2/7] USB: of: document reference taken by child-lookup helper

2017-05-30 Thread Tyrel Datwyler
On 05/30/2017 09:25 AM, Johan Hovold wrote: > Document that the child-node lookup helper takes a reference to the > device-tree node which needs to be dropped after use. > > Signed-off-by: Johan Hovold > --- > drivers/usb/core/of.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

Re: [PATCH] char: tpm: fix potential null pointer dereference

2017-05-30 Thread Gustavo A. R. Silva
Hi Jason, Quoting Jason Gunthorpe : On Tue, May 30, 2017 at 05:05:20PM -0500, Gustavo A. R. Silva wrote: NULL check at line 376: if (!chip) {, implies chip might be NULL. Function dev_get_drvdata() dereference pointer chip. Move pointer tmp_dev assignment

Re: [PATCH] char: tpm: fix potential null pointer dereference

2017-05-30 Thread Gustavo A. R. Silva
Hi Jason, Quoting Jason Gunthorpe : On Tue, May 30, 2017 at 05:05:20PM -0500, Gustavo A. R. Silva wrote: NULL check at line 376: if (!chip) {, implies chip might be NULL. Function dev_get_drvdata() dereference pointer chip. Move pointer tmp_dev assignment after the NULL check. chip cannot

Re: [PATCH] kthread: Fix race condition between kthread_parkme() and kthread_unpark()

2017-05-30 Thread Andrew Morton
(cc tglx & tj) On Tue, 30 May 2017 15:37:23 -0700 Junaid Shahid wrote: > (Resending) > > On Friday, April 28, 2017 07:32:36 PM Junaid Shahid wrote: > > In general, if kthread_unpark() and kthread_parkme() execute together, > > the kthread is supposed to be in an unparked

Re: [PATCH] kthread: Fix race condition between kthread_parkme() and kthread_unpark()

2017-05-30 Thread Andrew Morton
(cc tglx & tj) On Tue, 30 May 2017 15:37:23 -0700 Junaid Shahid wrote: > (Resending) > > On Friday, April 28, 2017 07:32:36 PM Junaid Shahid wrote: > > In general, if kthread_unpark() and kthread_parkme() execute together, > > the kthread is supposed to be in an unparked state. This is because

[PATCH v2 2/2] dmaengine: ste_dma40: Cleanup scatterlist layering violations

2017-05-30 Thread Logan Gunthorpe
This dma engine driver directly accesses page_link assuming knowledge that should be contained only in scatterlist.h. We replace this access with a call to sg_chain which is equivalent. Signed-off-by: Logan Gunthorpe Signed-off-by: Stephen Bates

[PATCH v2 2/2] dmaengine: ste_dma40: Cleanup scatterlist layering violations

2017-05-30 Thread Logan Gunthorpe
This dma engine driver directly accesses page_link assuming knowledge that should be contained only in scatterlist.h. We replace this access with a call to sg_chain which is equivalent. Signed-off-by: Logan Gunthorpe Signed-off-by: Stephen Bates Acked-by: Linus Walleij Cc: Dan Williams Cc:

[PATCH] net: freescale: fix potential null pointer dereference

2017-05-30 Thread Gustavo A. R. Silva
Add NULL check before dereferencing pointer _id_ in order to avoid a potential NULL pointer dereference. Addresses-Coverity-ID: 1397995 Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/freescale/fsl_pq_mdio.c | 9 - 1 file changed, 8 insertions(+), 1

[PATCH] net: freescale: fix potential null pointer dereference

2017-05-30 Thread Gustavo A. R. Silva
Add NULL check before dereferencing pointer _id_ in order to avoid a potential NULL pointer dereference. Addresses-Coverity-ID: 1397995 Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/freescale/fsl_pq_mdio.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

mmotm 2017-05-30-15-38 uploaded

2017-05-30 Thread akpm
The mm-of-the-moment snapshot 2017-05-30-15-38 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

[PATCH v2 1/2] dmaengine: imx-dma: cleanup scatterlist layering violations

2017-05-30 Thread Logan Gunthorpe
This dma engine driver directly accesses page_link assuming knowledge that should be contained only in scatterlist.h. We replace these with calls to sg_chain and sg_assign_page. Signed-off-by: Logan Gunthorpe Signed-off-by: Stephen Bates Acked-by:

mmotm 2017-05-30-15-38 uploaded

2017-05-30 Thread akpm
The mm-of-the-moment snapshot 2017-05-30-15-38 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

[PATCH v2 1/2] dmaengine: imx-dma: cleanup scatterlist layering violations

2017-05-30 Thread Logan Gunthorpe
This dma engine driver directly accesses page_link assuming knowledge that should be contained only in scatterlist.h. We replace these with calls to sg_chain and sg_assign_page. Signed-off-by: Logan Gunthorpe Signed-off-by: Stephen Bates Acked-by: Linus Walleij Cc: Dan Williams Cc: Vinod

Re: [PATCH] kthread: Fix race condition between kthread_parkme() and kthread_unpark()

2017-05-30 Thread Junaid Shahid
(Resending) On Friday, April 28, 2017 07:32:36 PM Junaid Shahid wrote: > In general, if kthread_unpark() and kthread_parkme() execute together, > the kthread is supposed to be in an unparked state. This is because > kthread_unpark() either wakes up the thread if it already got parked, > or it

Re: [PATCH] kthread: Fix race condition between kthread_parkme() and kthread_unpark()

2017-05-30 Thread Junaid Shahid
(Resending) On Friday, April 28, 2017 07:32:36 PM Junaid Shahid wrote: > In general, if kthread_unpark() and kthread_parkme() execute together, > the kthread is supposed to be in an unparked state. This is because > kthread_unpark() either wakes up the thread if it already got parked, > or it

Re: [PATCH-v2 0/5] Hyper-V vPCI: use vPCI protocol version 1.2

2017-05-30 Thread Bjorn Helgaas
On Wed, May 24, 2017 at 01:41:23PM -0700, Jork Loeser wrote: > From: Jork Loeser > > Update the Hyper-V vPCI driver to use the Server-2016 version of the vPCI > protocol, fixing MSI creation and retargeting issues. > > Changes since v1: > - reduced spew in protocol

Re: [PATCH-v2 0/5] Hyper-V vPCI: use vPCI protocol version 1.2

2017-05-30 Thread Bjorn Helgaas
On Wed, May 24, 2017 at 01:41:23PM -0700, Jork Loeser wrote: > From: Jork Loeser > > Update the Hyper-V vPCI driver to use the Server-2016 version of the vPCI > protocol, fixing MSI creation and retargeting issues. > > Changes since v1: > - reduced spew in protocol negotiation (Dan Carpenter) >

Re: [v2 1/1] usb:host:xhci support option to disable xHCI 1.0 USB2 HW LPM

2017-05-30 Thread Rob Herring
On Sat, May 20, 2017 at 02:24:56PM +0700, Thang Q. Nguyen wrote: > XHCI specification 1.1 does not require xHCI 1.0 compliant controllers > to always enable hardware USB2 LPM. > However, the current xHCI driver always enable it by setting HLE=1 when > seeing HLC=1. This makes certain xHCI

Re: [v2 1/1] usb:host:xhci support option to disable xHCI 1.0 USB2 HW LPM

2017-05-30 Thread Rob Herring
On Sat, May 20, 2017 at 02:24:56PM +0700, Thang Q. Nguyen wrote: > XHCI specification 1.1 does not require xHCI 1.0 compliant controllers > to always enable hardware USB2 LPM. > However, the current xHCI driver always enable it by setting HLE=1 when > seeing HLC=1. This makes certain xHCI

Re: [PATCH 3/6] gpio: dt-bindings: Add documentation for gpio controllers on Armada 7K/8K

2017-05-30 Thread Rob Herring
On Fri, May 19, 2017 at 06:09:22PM +0200, Gregory CLEMENT wrote: > Document the device tree binding for the gpio controllers found on the > Marvell Armada 7K and Armada 8K SoCs. > > Signed-off-by: Gregory CLEMENT > --- >

Re: [PATCH 3/6] gpio: dt-bindings: Add documentation for gpio controllers on Armada 7K/8K

2017-05-30 Thread Rob Herring
On Fri, May 19, 2017 at 06:09:22PM +0200, Gregory CLEMENT wrote: > Document the device tree binding for the gpio controllers found on the > Marvell Armada 7K and Armada 8K SoCs. > > Signed-off-by: Gregory CLEMENT > --- > Documentation/devicetree/bindings/arm/marvell/ap806-system-controller.txt

Re: [PATCH V1 14/15] spmi: pmic-arb: do not ack and clear peripheral interrupts in cleanup_irq

2017-05-30 Thread kbuild test robot
Hi Subbaraman, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc3 next-20170530] [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/Kiran-Gunda/spmi-pmic_arb-block-access

Re: [PATCH V1 14/15] spmi: pmic-arb: do not ack and clear peripheral interrupts in cleanup_irq

2017-05-30 Thread kbuild test robot
Hi Subbaraman, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc3 next-20170530] [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/Kiran-Gunda/spmi-pmic_arb-block-access

Re: [PATCH 3/6] gpio: dt-bindings: Add documentation for gpio controllers on Armada 7K/8K

2017-05-30 Thread Rob Herring
On Mon, May 29, 2017 at 10:08:16AM +0200, Linus Walleij wrote: > On Tue, May 23, 2017 at 3:06 PM, Gregory CLEMENT > wrote: > > On mar., mai 23 2017, Linus Walleij wrote: > > >> Please rebase and resend the rest of the patches. > > >

Re: [PATCH 3/6] gpio: dt-bindings: Add documentation for gpio controllers on Armada 7K/8K

2017-05-30 Thread Rob Herring
On Mon, May 29, 2017 at 10:08:16AM +0200, Linus Walleij wrote: > On Tue, May 23, 2017 at 3:06 PM, Gregory CLEMENT > wrote: > > On mar., mai 23 2017, Linus Walleij wrote: > > >> Please rebase and resend the rest of the patches. > > > > Actually I was wrong with my assumption that there was no

Re: [PATCH] char: tpm: fix potential null pointer dereference

2017-05-30 Thread Jason Gunthorpe
On Tue, May 30, 2017 at 05:05:20PM -0500, Gustavo A. R. Silva wrote: > NULL check at line 376: if (!chip) {, implies chip might be NULL. > Function dev_get_drvdata() dereference pointer chip. > Move pointer tmp_dev assignment after the NULL check. chip cannot be null in st33zp24_send, please

Re: [PATCH] char: tpm: fix potential null pointer dereference

2017-05-30 Thread Jason Gunthorpe
On Tue, May 30, 2017 at 05:05:20PM -0500, Gustavo A. R. Silva wrote: > NULL check at line 376: if (!chip) {, implies chip might be NULL. > Function dev_get_drvdata() dereference pointer chip. > Move pointer tmp_dev assignment after the NULL check. chip cannot be null in st33zp24_send, please

Re: [PATCH 1/2] ARM: dts: imx6ul-14x14-evk: Add ksz8081 phy properties

2017-05-30 Thread Leonard Crestez
On Tue, 2017-05-30 at 11:10 -0700, Florian Fainelli wrote: > On 05/30/2017 10:34 AM, Leonard Crestez wrote: > > Right now mach-imx6ul registers a fixup for the ksz8081 phy. The same > > register values can be set through the micrel phy driver by using dts > > properties. > > > > This seems

Re: [PATCH 1/2] ARM: dts: imx6ul-14x14-evk: Add ksz8081 phy properties

2017-05-30 Thread Leonard Crestez
On Tue, 2017-05-30 at 11:10 -0700, Florian Fainelli wrote: > On 05/30/2017 10:34 AM, Leonard Crestez wrote: > > Right now mach-imx6ul registers a fixup for the ksz8081 phy. The same > > register values can be set through the micrel phy driver by using dts > > properties. > > > > This seems

Re: [PATCH] ARM64: dts: meson-gx: Add SPICC nodes

2017-05-30 Thread Kevin Hilman
Neil Armstrong writes: > Add nodes for the SPICC controller on GX common dtsi, GXBB and > GXL dtsi files. > > Signed-off-by: Neil Armstrong Applied to v4.13/dt64, Kevin

Re: [PATCH] ARM64: dts: meson-gx: Add SPICC nodes

2017-05-30 Thread Kevin Hilman
Neil Armstrong writes: > Add nodes for the SPICC controller on GX common dtsi, GXBB and > GXL dtsi files. > > Signed-off-by: Neil Armstrong Applied to v4.13/dt64, Kevin

Re: [PATCH 2/2] net: phy: micrel: Restore led_mode and clk_sel on resume

2017-05-30 Thread Florian Fainelli
On 05/30/2017 03:08 PM, Leonard Crestez wrote: > On Tue, 2017-05-30 at 11:05 -0700, Florian Fainelli wrote: >> On 05/30/2017 10:34 AM, Leonard Crestez wrote: >>> These bits seem to be lost after a suspend/resume cycle so just set them >>> again. >>> >>> This patch fixes ethernet suspend/resume on

Re: [PATCH 2/2] net: phy: micrel: Restore led_mode and clk_sel on resume

2017-05-30 Thread Florian Fainelli
On 05/30/2017 03:08 PM, Leonard Crestez wrote: > On Tue, 2017-05-30 at 11:05 -0700, Florian Fainelli wrote: >> On 05/30/2017 10:34 AM, Leonard Crestez wrote: >>> These bits seem to be lost after a suspend/resume cycle so just set them >>> again. >>> >>> This patch fixes ethernet suspend/resume on

[PATCH] char: tpm: fix potential null pointer dereference

2017-05-30 Thread Gustavo A. R. Silva
NULL check at line 376: if (!chip) {, implies chip might be NULL. Function dev_get_drvdata() dereference pointer chip. Move pointer tmp_dev assignment after the NULL check. Addresses-Coverity-ID: 1397648 Signed-off-by: Gustavo A. R. Silva ---

[PATCH] char: tpm: fix potential null pointer dereference

2017-05-30 Thread Gustavo A. R. Silva
NULL check at line 376: if (!chip) {, implies chip might be NULL. Function dev_get_drvdata() dereference pointer chip. Move pointer tmp_dev assignment after the NULL check. Addresses-Coverity-ID: 1397648 Signed-off-by: Gustavo A. R. Silva --- drivers/char/tpm/st33zp24/st33zp24.c | 3 ++- 1 file

Re: [PATCH 0/5] ARM64: dts: meson: Add CEC, Ethernet Link and SPI pins nodes

2017-05-30 Thread Kevin Hilman
Neil Armstrong writes: > This patchset adds the following DT Pins nodes : > - CEC Pins for GXBB and GXL > - SPICC Pins for GXBB and GXL > - Internal Ethernet PHY LEDS pins for GXL Appplied to v4.13/dt64, Thanks, Kevin

Re: [PATCH 0/5] ARM64: dts: meson: Add CEC, Ethernet Link and SPI pins nodes

2017-05-30 Thread Kevin Hilman
Neil Armstrong writes: > This patchset adds the following DT Pins nodes : > - CEC Pins for GXBB and GXL > - SPICC Pins for GXBB and GXL > - Internal Ethernet PHY LEDS pins for GXL Appplied to v4.13/dt64, Thanks, Kevin

RE: [PATCH-v2 0/5] Hyper-V vPCI: use vPCI protocol version 1.2

2017-05-30 Thread KY Srinivasan
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > Behalf Of Bjorn Helgaas > Sent: Tuesday, May 30, 2017 12:45 PM > To: Jork Loeser > Cc: o...@aepfle.de; Stephen Hemminger ; >

RE: [PATCH-v2 0/5] Hyper-V vPCI: use vPCI protocol version 1.2

2017-05-30 Thread KY Srinivasan
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > Behalf Of Bjorn Helgaas > Sent: Tuesday, May 30, 2017 12:45 PM > To: Jork Loeser > Cc: o...@aepfle.de; Stephen Hemminger ; > linux-...@vger.kernel.org; jasow...@redhat.com; linux- >

Re: [V5] hwmon: (ibmpowernv) Add highest/lowest attributes to sensors

2017-05-30 Thread Guenter Roeck
On Mon, May 29, 2017 at 10:16:01AM +0530, Shilpasri G Bhat wrote: > OCC provides historical minimum and maximum value for the sensor > readings. This patch exports them as highest and lowest attributes > for the inband sensors copied by OCC to main memory. > > Signed-off-by: Shilpasri G Bhat

Re: [V5] hwmon: (ibmpowernv) Add highest/lowest attributes to sensors

2017-05-30 Thread Guenter Roeck
On Mon, May 29, 2017 at 10:16:01AM +0530, Shilpasri G Bhat wrote: > OCC provides historical minimum and maximum value for the sensor > readings. This patch exports them as highest and lowest attributes > for the inband sensors copied by OCC to main memory. > > Signed-off-by: Shilpasri G Bhat

Re: [PATCH] hwmon: (aspeed-pwm-tacho) Select REGMAP

2017-05-30 Thread Guenter Roeck
On Tue, May 30, 2017 at 03:48:22PM +0930, Joel Stanley wrote: > On Sat, May 27, 2017 at 11:24 PM, Guenter Roeck wrote: > > The driver uses regmap and thus has to select it to avoid build > > errors such as the following. > > > > drivers/hwmon/aspeed-pwm-tacho.c:337:21: error:

Re: [PATCH] hwmon: (aspeed-pwm-tacho) Select REGMAP

2017-05-30 Thread Guenter Roeck
On Tue, May 30, 2017 at 03:48:22PM +0930, Joel Stanley wrote: > On Sat, May 27, 2017 at 11:24 PM, Guenter Roeck wrote: > > The driver uses regmap and thus has to select it to avoid build > > errors such as the following. > > > > drivers/hwmon/aspeed-pwm-tacho.c:337:21: error: variable > >

Re: [PATCH v2] KVM: x86: Avoid guest page table walk when gpa_available is set

2017-05-30 Thread Brijesh Singh
Hi Jorge, On 05/30/2017 04:05 AM, Joerg Roedel wrote: On Fri, May 19, 2017 at 11:12:29AM -0400, Brijesh Singh wrote: From: Brijesh Singh On AMD hardware when a guest causes a NPF which requires emulation, the vcpu->arch.gpa_available flag is set to indicate that cr2

Re: [PATCH v2] KVM: x86: Avoid guest page table walk when gpa_available is set

2017-05-30 Thread Brijesh Singh
Hi Jorge, On 05/30/2017 04:05 AM, Joerg Roedel wrote: On Fri, May 19, 2017 at 11:12:29AM -0400, Brijesh Singh wrote: From: Brijesh Singh On AMD hardware when a guest causes a NPF which requires emulation, the vcpu->arch.gpa_available flag is set to indicate that cr2 contains a valid GPA.

Re: [PATCH 2/2] net: phy: micrel: Restore led_mode and clk_sel on resume

2017-05-30 Thread Leonard Crestez
On Tue, 2017-05-30 at 11:05 -0700, Florian Fainelli wrote: > On 05/30/2017 10:34 AM, Leonard Crestez wrote: > > These bits seem to be lost after a suspend/resume cycle so just set them > > again. > > > > This patch fixes ethernet suspend/resume on imx6ul-14x14-evk boards. > > > > Signed-off-by:

Re: [PATCH 2/2] net: phy: micrel: Restore led_mode and clk_sel on resume

2017-05-30 Thread Leonard Crestez
On Tue, 2017-05-30 at 11:05 -0700, Florian Fainelli wrote: > On 05/30/2017 10:34 AM, Leonard Crestez wrote: > > These bits seem to be lost after a suspend/resume cycle so just set them > > again. > > > > This patch fixes ethernet suspend/resume on imx6ul-14x14-evk boards. > > > > Signed-off-by:

Re: [PATCH 0/3] ARM64: dts: meson: GXBB and GXL pinctrl fixes

2017-05-30 Thread Kevin Hilman
Neil Armstrong writes: > This patchset fixes the following : > - bad gpio-ranges for GXL > - bad pull-enable register base for GXBB & GXL Applied with Jerome's reviewed-by tag added. Kevin

Re: [PATCH 0/3] ARM64: dts: meson: GXBB and GXL pinctrl fixes

2017-05-30 Thread Kevin Hilman
Neil Armstrong writes: > This patchset fixes the following : > - bad gpio-ranges for GXL > - bad pull-enable register base for GXBB & GXL Applied with Jerome's reviewed-by tag added. Kevin

Re: Device address specific mapping of arm,mmu-500

2017-05-30 Thread Ray Jui
Hi Marc/Robin/Will, On 5/30/17 10:27 AM, Marc Zyngier wrote: > On 30/05/17 18:16, Ray Jui wrote: >> Hi Marc, >> >> On 5/30/17 9:59 AM, Marc Zyngier wrote: >>> On 30/05/17 17:49, Ray Jui wrote: Hi Will, On 5/30/17 8:14 AM, Will Deacon wrote: > On Mon, May 29, 2017 at 06:18:45PM

Re: Device address specific mapping of arm,mmu-500

2017-05-30 Thread Ray Jui
Hi Marc/Robin/Will, On 5/30/17 10:27 AM, Marc Zyngier wrote: > On 30/05/17 18:16, Ray Jui wrote: >> Hi Marc, >> >> On 5/30/17 9:59 AM, Marc Zyngier wrote: >>> On 30/05/17 17:49, Ray Jui wrote: Hi Will, On 5/30/17 8:14 AM, Will Deacon wrote: > On Mon, May 29, 2017 at 06:18:45PM

[PATCH 02/58] ARM: dts: at91: at91rm9200: TC blocks are also simple-mfd and syscon devices

2017-05-30 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91rm9200.dtsi | 8 ++-- 1

[PATCH 02/58] ARM: dts: at91: at91rm9200: TC blocks are also simple-mfd and syscon devices

2017-05-30 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91rm9200.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH 03/58] ARM: dts: at91: at91rm9200ek: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91rm9200ek.dts | 12 1 file changed, 12

[PATCH 00/58] ARM: at91: rework Atmel TCB drivers

2017-05-30 Thread Alexandre Belloni
Hi, This series reworks the Atmel Timer counter Block drivers. Those blocks each have 3 counters with 2 channels each and can be used for multiple functions: - timers - PWMs - Quadrature decoders - Stepper motor counters Up until now, each TCB was fully used by each driver, possibly wasting

[PATCH 03/58] ARM: dts: at91: at91rm9200ek: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Tested-by: Alexandre Belloni Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91rm9200ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200ek.dts

[PATCH 00/58] ARM: at91: rework Atmel TCB drivers

2017-05-30 Thread Alexandre Belloni
Hi, This series reworks the Atmel Timer counter Block drivers. Those blocks each have 3 counters with 2 channels each and can be used for multiple functions: - timers - PWMs - Quadrature decoders - Stepper motor counters Up until now, each TCB was fully used by each driver, possibly wasting

[PATCH 06/58] ARM: dts: at91: at91sam9260ek: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9260ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9260ek.dts

[PATCH 07/58] ARM: dts: at91: sam9_l9260: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Raashid Muhammed Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sam9_l9260.dts | 12 1 file changed, 12 insertions(+)

[PATCH 06/58] ARM: dts: at91: at91sam9260ek: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9260ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9260ek.dts b/arch/arm/boot/dts/at91sam9260ek.dts index

[PATCH 07/58] ARM: dts: at91: sam9_l9260: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Raashid Muhammed Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sam9_l9260.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-sam9_l9260.dts

[PATCH 11/58] ARM: dts: at91: kizbox: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Antoine Aubert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-kizbox.dts | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 13/58] ARM: dts: at91: ge863-pro3: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Fabio Porcedda Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/ge863-pro3.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 09/58] ARM: dts: at91: foxg20: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Sergio Tanzilli Cc: Douglas Gilbert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-foxg20.dts | 12 1

[PATCH 11/58] ARM: dts: at91: kizbox: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Antoine Aubert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-kizbox.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-kizbox.dts

[PATCH 13/58] ARM: dts: at91: ge863-pro3: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Fabio Porcedda Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/ge863-pro3.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/ge863-pro3.dtsi

[PATCH 09/58] ARM: dts: at91: foxg20: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Sergio Tanzilli Cc: Douglas Gilbert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-foxg20.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91-foxg20.dts

[PATCH 04/58] ARM: dts: at91: mpa1600: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Joachim Eastwood Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/mpa1600.dts | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 04/58] ARM: dts: at91: mpa1600: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Joachim Eastwood Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/mpa1600.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/mpa1600.dts b/arch/arm/boot/dts/mpa1600.dts

Re: [PATCH 1/6] mm: vmscan: delete unused pgdat_reclaimable_pages()

2017-05-30 Thread Johannes Weiner
On Tue, May 30, 2017 at 02:50:29PM -0700, Andrew Morton wrote: > On Tue, 30 May 2017 14:17:19 -0400 Johannes Weiner wrote: > > > -extern unsigned long pgdat_reclaimable_pages(struct pglist_data *pgdat); > > Josef's "mm: make kswapd try harder to keep active pages in cache" >

Re: [PATCH 1/6] mm: vmscan: delete unused pgdat_reclaimable_pages()

2017-05-30 Thread Johannes Weiner
On Tue, May 30, 2017 at 02:50:29PM -0700, Andrew Morton wrote: > On Tue, 30 May 2017 14:17:19 -0400 Johannes Weiner wrote: > > > -extern unsigned long pgdat_reclaimable_pages(struct pglist_data *pgdat); > > Josef's "mm: make kswapd try harder to keep active pages in cache" > added a new

[PATCH 22/58] ARM: dts: at91: at91sam9rl: TC blocks are also simple-mfd and syscon devices

2017-05-30 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rl.dtsi | 4 +++- 1 file

[PATCH 22/58] ARM: dts: at91: at91sam9rl: TC blocks are also simple-mfd and syscon devices

2017-05-30 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rl.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH 24/58] ARM: dts: at91: at91sam9n12: TC blocks are also simple-mfd and syscon devices

2017-05-30 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9n12.dtsi | 8 ++-- 1

[PATCH 24/58] ARM: dts: at91: at91sam9n12: TC blocks are also simple-mfd and syscon devices

2017-05-30 Thread Alexandre Belloni
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time. It also allows to use regmap instead of tclib. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9n12.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH 15/58] ARM: dts: at91: at91sam9261ek: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9261ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9261ek.dts

[PATCH 25/58] ARM: dts: at91: at91sam9n12ek: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9n12ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts

[PATCH 15/58] ARM: dts: at91: at91sam9261ek: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9261ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sam9261ek.dts index

[PATCH 25/58] ARM: dts: at91: at91sam9n12ek: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9n12ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index

[PATCH 12/58] ARM: dts: at91: at91sam9g20ek: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 28/58] ARM: dts: at91: acme/g25: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Sergio Tanzilli Cc: Douglas Gilbert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-ariag25.dts| 12

[PATCH 12/58] ARM: dts: at91: at91sam9g20ek: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi

[PATCH 28/58] ARM: dts: at91: acme/g25: use TCB0 as clocksource

2017-05-30 Thread Alexandre Belloni
Use tcb0 as the clocksource like previously selected in at91_dt_defconfig. Cc: Sergio Tanzilli Cc: Douglas Gilbert Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-ariag25.dts| 12 arch/arm/boot/dts/at91-ariettag25.dts | 12 2 files changed, 24

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