RE: [char-misc v4.4.y 2/2] mei: bus: type promotion bug in mei_nfc_if_version()

2018-09-22 Thread Winkler, Tomas
> > On Tue, Sep 04, 2018 at 01:43:04AM +0300, Tomas Winkler wrote: > > From: Dan Carpenter > > > > commit b40b3e9358fbafff6a4ba0f4b9658f6617146f9c upstream > > > > We accidentally removed the check for negative returns without > > considering the issue of type promotion. > > The

RE: [char-misc v4.4.y 2/2] mei: bus: type promotion bug in mei_nfc_if_version()

2018-09-22 Thread Winkler, Tomas
> > On Tue, Sep 04, 2018 at 01:43:04AM +0300, Tomas Winkler wrote: > > From: Dan Carpenter > > > > commit b40b3e9358fbafff6a4ba0f4b9658f6617146f9c upstream > > > > We accidentally removed the check for negative returns without > > considering the issue of type promotion. > > The

[char-misc v4.18.y] mei: bus: type promotion bug in mei_nfc_if_version()

2018-09-22 Thread Tomas Winkler
From: Dan Carpenter commit b40b3e9358fbafff6a4ba0f4b9658f6617146f9c upstream We accidentally removed the check for negative returns without considering the issue of type promotion. The "if_version_length" variable is type size_t so if __mei_cl_recv() returns a negative then "bytes_recv" is type

[char-misc v4.18.y] mei: bus: type promotion bug in mei_nfc_if_version()

2018-09-22 Thread Tomas Winkler
From: Dan Carpenter commit b40b3e9358fbafff6a4ba0f4b9658f6617146f9c upstream We accidentally removed the check for negative returns without considering the issue of type promotion. The "if_version_length" variable is type size_t so if __mei_cl_recv() returns a negative then "bytes_recv" is type

[char-misc v4.14.y] mei: bus: type promotion bug in mei_nfc_if_version()

2018-09-22 Thread Tomas Winkler
From: Dan Carpenter commit b40b3e9358fbafff6a4ba0f4b9658f6617146f9c upstream We accidentally removed the check for negative returns without considering the issue of type promotion. The "if_version_length" variable is type size_t so if __mei_cl_recv() returns a negative then "bytes_recv" is type

[char-misc v4.14.y] mei: bus: type promotion bug in mei_nfc_if_version()

2018-09-22 Thread Tomas Winkler
From: Dan Carpenter commit b40b3e9358fbafff6a4ba0f4b9658f6617146f9c upstream We accidentally removed the check for negative returns without considering the issue of type promotion. The "if_version_length" variable is type size_t so if __mei_cl_recv() returns a negative then "bytes_recv" is type

[char-misc v4.9.y] mei: bus: type promotion bug in mei_nfc_if_version()

2018-09-22 Thread Tomas Winkler
From: Dan Carpenter commit b40b3e9358fbafff6a4ba0f4b9658f6617146f9c upstream We accidentally removed the check for negative returns without considering the issue of type promotion. The "if_version_length" variable is type size_t so if __mei_cl_recv() returns a negative then "bytes_recv" is type

[char-misc v4.9.y] mei: bus: type promotion bug in mei_nfc_if_version()

2018-09-22 Thread Tomas Winkler
From: Dan Carpenter commit b40b3e9358fbafff6a4ba0f4b9658f6617146f9c upstream We accidentally removed the check for negative returns without considering the issue of type promotion. The "if_version_length" variable is type size_t so if __mei_cl_recv() returns a negative then "bytes_recv" is type

Re: [PATCH v2 1/2] dt-bindings: spi: Qualcomm Quad SPI(QSPI) documentation

2018-09-22 Thread Stephen Boyd
Quoting Mark Brown (2018-09-21 11:51:06) > On Fri, Sep 21, 2018 at 11:40:24AM -0700, Stephen Boyd wrote: > > > It seems that everybody has misunderstood my email. Let me try to > > clarify. > > > I'm not saying to replace the sdm845 qspi compatible with a generic one. > > I'm recommending that a

Re: [PATCH v2 1/2] dt-bindings: spi: Qualcomm Quad SPI(QSPI) documentation

2018-09-22 Thread Stephen Boyd
Quoting Mark Brown (2018-09-21 11:51:06) > On Fri, Sep 21, 2018 at 11:40:24AM -0700, Stephen Boyd wrote: > > > It seems that everybody has misunderstood my email. Let me try to > > clarify. > > > I'm not saying to replace the sdm845 qspi compatible with a generic one. > > I'm recommending that a

[PATCH] mm: fix comment typo in inc_tlb_flush_pending()

2018-09-22 Thread Fengguang Wu
CC: triv...@kernel.org Signed-off-by: Fengguang Wu --- include/linux/mm_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 27c5446f3deb..d4f99f5f677c 100644 --- a/include/linux/mm_types.h +++

[PATCH] mm: fix comment typo in inc_tlb_flush_pending()

2018-09-22 Thread Fengguang Wu
CC: triv...@kernel.org Signed-off-by: Fengguang Wu --- include/linux/mm_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 27c5446f3deb..d4f99f5f677c 100644 --- a/include/linux/mm_types.h +++

Die Transaktion ist fertig

2018-09-22 Thread Mrs Joyce
-- Gute Nachrichten, mein Freund, die Transaktion läuft gerade und ich möchte wissen, ob Sie interessiert sind, damit ich der Bank ein Update geben kann, was ich mit dem Geld anfangen soll, das transferbereit ist.

Die Transaktion ist fertig

2018-09-22 Thread Mrs Joyce
-- Gute Nachrichten, mein Freund, die Transaktion läuft gerade und ich möchte wissen, ob Sie interessiert sind, damit ich der Bank ein Update geben kann, was ich mit dem Geld anfangen soll, das transferbereit ist.

Re: [PATCHv2 6/7] mm/gup: Combine parameters into struct

2018-09-22 Thread kbuild test robot
Hi Keith, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.19-rc4 next-20180921] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCHv2 6/7] mm/gup: Combine parameters into struct

2018-09-22 Thread kbuild test robot
Hi Keith, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.19-rc4 next-20180921] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: Redoing eXclusive Page Frame Ownership (XPFO) with isolated CPUs in mind (for KVM to isolate its guests per CPU)

2018-09-22 Thread Balbir Singh
On Wed, Sep 19, 2018 at 08:43:07AM -0700, Jonathan Adams wrote: > (apologies again; resending due to formatting issues) > On Tue, Sep 18, 2018 at 6:03 PM Balbir Singh wrote: > > > > On Mon, Aug 20, 2018 at 09:52:19PM +, Woodhouse, David wrote: > > > On Mon, 2018-08-20 at 14:48 -0700, Linus

Re: Redoing eXclusive Page Frame Ownership (XPFO) with isolated CPUs in mind (for KVM to isolate its guests per CPU)

2018-09-22 Thread Balbir Singh
On Wed, Sep 19, 2018 at 08:43:07AM -0700, Jonathan Adams wrote: > (apologies again; resending due to formatting issues) > On Tue, Sep 18, 2018 at 6:03 PM Balbir Singh wrote: > > > > On Mon, Aug 20, 2018 at 09:52:19PM +, Woodhouse, David wrote: > > > On Mon, 2018-08-20 at 14:48 -0700, Linus

Re: [PATCH TRIVIAL] Punctuation fixes

2018-09-22 Thread Miguel Ojeda
Hi Diego, A few things, since it looks like this is your first patch. On Sat, Sep 22, 2018 at 5:56 PM, Diego Viola wrote: > On Wed, Sep 12, 2018 at 12:54 AM Diego Viola wrote: >> >> Signed-off-by: Diego Viola >> --- >> CREDITS | 2 +- >> MAINTAINERS | 2 +- >> Makefile| 2 +- >> 3

Re: [PATCH TRIVIAL] Punctuation fixes

2018-09-22 Thread Miguel Ojeda
Hi Diego, A few things, since it looks like this is your first patch. On Sat, Sep 22, 2018 at 5:56 PM, Diego Viola wrote: > On Wed, Sep 12, 2018 at 12:54 AM Diego Viola wrote: >> >> Signed-off-by: Diego Viola >> --- >> CREDITS | 2 +- >> MAINTAINERS | 2 +- >> Makefile| 2 +- >> 3

Re: [PATCH] torture-test modules: Remove unnecessary "ret" variables

2018-09-22 Thread Paul E. McKenney
On Fri, Sep 21, 2018 at 08:21:31PM -0500, Pierce Griffiths wrote: > Remove return variables (declared as "ret") in cases where, > depending on whether a condition evaluates as true, the result of a > function call can be immediately returned instead of storing the result in > the return variable.

Re: [PATCH] torture-test modules: Remove unnecessary "ret" variables

2018-09-22 Thread Paul E. McKenney
On Fri, Sep 21, 2018 at 08:21:31PM -0500, Pierce Griffiths wrote: > Remove return variables (declared as "ret") in cases where, > depending on whether a condition evaluates as true, the result of a > function call can be immediately returned instead of storing the result in > the return variable.

[PATCH v3 2/2] iio: light: bh1750: Add device tree support

2018-09-22 Thread ryang
Add device tree support for ROHM BH1750 series ambient light sensors. Signed-off-by: ryang --- Changes in v2: - Export module device table Changes in v3: - Remove of_match_ptr so that bh1750_of_match is available without CONFIG_OF. drivers/iio/light/bh1750.c | 11 +++

[PATCH v3 2/2] iio: light: bh1750: Add device tree support

2018-09-22 Thread ryang
Add device tree support for ROHM BH1750 series ambient light sensors. Signed-off-by: ryang --- Changes in v2: - Export module device table Changes in v3: - Remove of_match_ptr so that bh1750_of_match is available without CONFIG_OF. drivers/iio/light/bh1750.c | 11 +++

[PATCH v3 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation

2018-09-22 Thread ryang
Document device tree bindings for ROHM BH1750 ambient light sensor driver. Signed-off-by: ryang --- .../devicetree/bindings/iio/light/bh1750.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt diff --git

[PATCH v3 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation

2018-09-22 Thread ryang
Document device tree bindings for ROHM BH1750 ambient light sensor driver. Signed-off-by: ryang --- .../devicetree/bindings/iio/light/bh1750.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt diff --git

Re: [PATCH 3.16 00/63] 3.16.58-rc1 review

2018-09-22 Thread Ben Hutchings
On Sat, 2018-09-22 at 05:28 -0700, Guenter Roeck wrote: > On 09/21/2018 05:15 PM, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.16.58 release. > > There are 63 patches in this series, which will be posted as responses > > to this one. If anyone has any issues

Re: [PATCH 3.16 00/63] 3.16.58-rc1 review

2018-09-22 Thread Ben Hutchings
On Sat, 2018-09-22 at 05:28 -0700, Guenter Roeck wrote: > On 09/21/2018 05:15 PM, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.16.58 release. > > There are 63 patches in this series, which will be posted as responses > > to this one. If anyone has any issues

[PATCH v3 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation

2018-09-22 Thread ryang
Document device tree bindings for ROHM BH1750 ambient light sensor driver. Signed-off-by: ryang --- .../devicetree/bindings/iio/light/bh1750.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt diff --git

[PATCH v3 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation

2018-09-22 Thread ryang
Document device tree bindings for ROHM BH1750 ambient light sensor driver. Signed-off-by: ryang --- .../devicetree/bindings/iio/light/bh1750.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt diff --git

[PATCH v3 2/2] iio: light: bh1750: Add device tree support

2018-09-22 Thread ryang
Add device tree support for ROHM BH1750 series ambient light sensors. Signed-off-by: ryang --- Changes in v2: - Export module device table Changes in v3: - Remove of_match_ptr so that bh1750_of_match is available without CONFIG_OF. drivers/iio/light/bh1750.c | 11 +++

[PATCH v3 2/2] iio: light: bh1750: Add device tree support

2018-09-22 Thread ryang
Add device tree support for ROHM BH1750 series ambient light sensors. Signed-off-by: ryang --- Changes in v2: - Export module device table Changes in v3: - Remove of_match_ptr so that bh1750_of_match is available without CONFIG_OF. drivers/iio/light/bh1750.c | 11 +++

Re: [PATCH 3.16 52/63] xfs: validate cached inodes are free when allocated

2018-09-22 Thread Ben Hutchings
On Sat, 2018-09-22 at 15:26 +1000, Dave Chinner wrote: > On Sat, Sep 22, 2018 at 01:15:42AM +0100, Ben Hutchings wrote: > > 3.16.58-rc1 review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Dave Chinner > > > > commit

Re: [PATCH 3.16 52/63] xfs: validate cached inodes are free when allocated

2018-09-22 Thread Ben Hutchings
On Sat, 2018-09-22 at 15:26 +1000, Dave Chinner wrote: > On Sat, Sep 22, 2018 at 01:15:42AM +0100, Ben Hutchings wrote: > > 3.16.58-rc1 review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Dave Chinner > > > > commit

Re: [PATCH v3 0/4] Add 96Boards Rock960 CE board support

2018-09-22 Thread Heiko Stuebner
Am Donnerstag, 13. September 2018, 20:05:41 CEST schrieb Manivannan Sadhasivam: > This patchset adds 96Boards Rock960 CE board support. Rock960 CE > (Consumer Edition) board is one of the member of 96Boards Consumer > Edition and AI platform and is manufactured by Vamrs Limited. Most of > the

Re: [PATCH 3.16 51/63] xfs: catch inode allocation state mismatch corruption

2018-09-22 Thread Ben Hutchings
On Sat, 2018-09-22 at 15:25 +1000, Dave Chinner wrote: > On Sat, Sep 22, 2018 at 01:15:42AM +0100, Ben Hutchings wrote: > > 3.16.58-rc1 review patch. If anyone has any objections, please let > > me know. > > > > -- > > > > From: Dave Chinner > > > > commit

Re: [PATCH v3 0/4] Add 96Boards Rock960 CE board support

2018-09-22 Thread Heiko Stuebner
Am Donnerstag, 13. September 2018, 20:05:41 CEST schrieb Manivannan Sadhasivam: > This patchset adds 96Boards Rock960 CE board support. Rock960 CE > (Consumer Edition) board is one of the member of 96Boards Consumer > Edition and AI platform and is manufactured by Vamrs Limited. Most of > the

Re: [PATCH 3.16 51/63] xfs: catch inode allocation state mismatch corruption

2018-09-22 Thread Ben Hutchings
On Sat, 2018-09-22 at 15:25 +1000, Dave Chinner wrote: > On Sat, Sep 22, 2018 at 01:15:42AM +0100, Ben Hutchings wrote: > > 3.16.58-rc1 review patch. If anyone has any objections, please let > > me know. > > > > -- > > > > From: Dave Chinner > > > > commit

Re: [PATCH v2] arm64: dts: rockchip: add spdif sound node for rock64

2018-09-22 Thread Heiko Stuebner
Am Montag, 17. September 2018, 14:26:33 CEST schrieb Katsuhiro Suzuki: > This patch adds sound card node for rock64. Currently we can support > S/PDIF only. It seems the lack of codec driver of rk3328 to enable > analog audio out. > > Signed-off-by: Katsuhiro Suzuki applied for 4.20 Thanks

Re: [PATCH v2] arm64: dts: rockchip: add spdif sound node for rock64

2018-09-22 Thread Heiko Stuebner
Am Montag, 17. September 2018, 14:26:33 CEST schrieb Katsuhiro Suzuki: > This patch adds sound card node for rock64. Currently we can support > S/PDIF only. It seems the lack of codec driver of rk3328 to enable > analog audio out. > > Signed-off-by: Katsuhiro Suzuki applied for 4.20 Thanks

Re: [PATCH v2 2/2] iio: light: bh1750: Add device tree support

2018-09-22 Thread r yang
On Sat, Sep 22, 2018 at 03:59:22PM -0400, ryang wrote: > Add device tree support for ROHM BH1750 series ambient light sensors. > > Signed-off-by: ryang > --- > Changes in v2: > - Export module device table > > drivers/iio/light/bh1750.c | 11 +++ > 1 file changed, 11 insertions(+)

Re: [PATCH v2 2/2] iio: light: bh1750: Add device tree support

2018-09-22 Thread r yang
On Sat, Sep 22, 2018 at 03:59:22PM -0400, ryang wrote: > Add device tree support for ROHM BH1750 series ambient light sensors. > > Signed-off-by: ryang > --- > Changes in v2: > - Export module device table > > drivers/iio/light/bh1750.c | 11 +++ > 1 file changed, 11 insertions(+)

Good day,

2018-09-22 Thread RS
Good day, Death without a WILL is a damning circumstance that causes lot of problems to family. With confidentiality I am reaching out to you regarding a circumstance within my jurisdiction. One of our client passed on without a WILL over two years now. Efforts to trace any relation proved void

Good day,

2018-09-22 Thread RS
Good day, Death without a WILL is a damning circumstance that causes lot of problems to family. With confidentiality I am reaching out to you regarding a circumstance within my jurisdiction. One of our client passed on without a WILL over two years now. Efforts to trace any relation proved void

Re: [PATCH] soc: actions: Update SPS help text for S700

2018-09-22 Thread Andreas Färber
Am 24.06.18 um 16:01 schrieb Andreas Färber: > Commit 3ad85b08f7789d51e6aad0f535296d1c31e319b9 (soc: actions: sps: Add S700) > added S700 support to the SPS driver but forget to update Kconfig help. > > Add missing S700 mention, in preparation for further SoCs. > > Fixes: 3ad85b08f778 ("soc:

Re: [PATCH] soc: actions: Update SPS help text for S700

2018-09-22 Thread Andreas Färber
Am 24.06.18 um 16:01 schrieb Andreas Färber: > Commit 3ad85b08f7789d51e6aad0f535296d1c31e319b9 (soc: actions: sps: Add S700) > added S700 support to the SPS driver but forget to update Kconfig help. > > Add missing S700 mention, in preparation for further SoCs. > > Fixes: 3ad85b08f778 ("soc:

[PATCH v2 2/2] iio: light: bh1750: Add device tree support

2018-09-22 Thread ryang
Add device tree support for ROHM BH1750 series ambient light sensors. Signed-off-by: ryang --- Changes in v2: - Export module device table drivers/iio/light/bh1750.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/iio/light/bh1750.c b/drivers/iio/light/bh1750.c

[PATCH v2 2/2] iio: light: bh1750: Add device tree support

2018-09-22 Thread ryang
Add device tree support for ROHM BH1750 series ambient light sensors. Signed-off-by: ryang --- Changes in v2: - Export module device table drivers/iio/light/bh1750.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/iio/light/bh1750.c b/drivers/iio/light/bh1750.c

[PATCH v2 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation

2018-09-22 Thread ryang
Document device tree bindings for ROHM BH1750 ambient light sensor driver. Signed-off-by: ryang --- .../devicetree/bindings/iio/light/bh1750.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt diff --git

[PATCH v2 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation

2018-09-22 Thread ryang
Document device tree bindings for ROHM BH1750 ambient light sensor driver. Signed-off-by: ryang --- .../devicetree/bindings/iio/light/bh1750.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt diff --git

[PATCH] pinctrl/amd: poll InterruptEnable bits in amd_gpio_irq_set_type

2018-09-22 Thread Daniel Kurtz
>From the AMD BKDG, if WAKE_INT_MASTER_REG.MaskStsEn is set, a software write to the debounce registers of *any* gpio will block wake/interrupt status generation for *all* gpios for a length of time that depends on WAKE_INT_MASTER_REG.MaskStsLength[11:0]. During this period the Interrupt Delivery

[PATCH] pinctrl/amd: poll InterruptEnable bits in amd_gpio_irq_set_type

2018-09-22 Thread Daniel Kurtz
>From the AMD BKDG, if WAKE_INT_MASTER_REG.MaskStsEn is set, a software write to the debounce registers of *any* gpio will block wake/interrupt status generation for *all* gpios for a length of time that depends on WAKE_INT_MASTER_REG.MaskStsLength[11:0]. During this period the Interrupt Delivery

Re: [PATCH v12 1/2] leds: core: Introduce LED pattern trigger

2018-09-22 Thread Pavel Machek
On Sat 2018-09-22 00:18:13, Pavel Machek wrote: > On Sat 2018-09-22 00:11:29, Jacek Anaszewski wrote: > > On 09/21/2018 11:17 PM, Pavel Machek wrote: > > > On Fri 2018-09-21 22:59:40, Jacek Anaszewski wrote: > > >> Hi Baolin, > > >> > > >> On 09/21/2018 05:31 AM, Baolin Wang wrote: > > >>> Hi

Re: [PATCH v12 1/2] leds: core: Introduce LED pattern trigger

2018-09-22 Thread Pavel Machek
On Sat 2018-09-22 00:18:13, Pavel Machek wrote: > On Sat 2018-09-22 00:11:29, Jacek Anaszewski wrote: > > On 09/21/2018 11:17 PM, Pavel Machek wrote: > > > On Fri 2018-09-21 22:59:40, Jacek Anaszewski wrote: > > >> Hi Baolin, > > >> > > >> On 09/21/2018 05:31 AM, Baolin Wang wrote: > > >>> Hi

Re: KASAN: use-after-free Read in fuse_dev_do_read

2018-09-22 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:10dc890d4228 Merge tag 'pinctrl-v4.19-3' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1631cfbe40 kernel config:

Re: KASAN: use-after-free Read in fuse_dev_do_read

2018-09-22 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:10dc890d4228 Merge tag 'pinctrl-v4.19-3' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1631cfbe40 kernel config:

[PATCH] w1: omap-hdq: fix missing bus unregister at removal

2018-09-22 Thread Andreas Kemnade
The bus master was not removed after unloading the module or unbinding the driver. That lead to oopses like this [ 127.842987] Unable to handle kernel paging request at virtual address bf01d04c [ 127.850646] pgd = 70e3cd9a [ 127.853698] [bf01d04c] *pgd=8f908811, *pte=, *ppte=

[PATCH] w1: omap-hdq: fix missing bus unregister at removal

2018-09-22 Thread Andreas Kemnade
The bus master was not removed after unloading the module or unbinding the driver. That lead to oopses like this [ 127.842987] Unable to handle kernel paging request at virtual address bf01d04c [ 127.850646] pgd = 70e3cd9a [ 127.853698] [bf01d04c] *pgd=8f908811, *pte=, *ppte=

[PATCH 0/6] Add CPU clock support for Armada 7K/8K

2018-09-22 Thread Gregory CLEMENT
Hello, This series allows to mange the cpu clock for Armada 7K/8K. For these SoCs, the CPUs share the same clock by cluster, so actually the clock management is done at cluster level. As for the other Armada 7K/8K clocks it is possible to have multiple AP so here again we need to have unique

[PATCH 0/6] Add CPU clock support for Armada 7K/8K

2018-09-22 Thread Gregory CLEMENT
Hello, This series allows to mange the cpu clock for Armada 7K/8K. For these SoCs, the CPUs share the same clock by cluster, so actually the clock management is done at cluster level. As for the other Armada 7K/8K clocks it is possible to have multiple AP so here again we need to have unique

[PATCH 2/6] clk: mvebu: add helper file for Armada AP and CP clocks

2018-09-22 Thread Gregory CLEMENT
Clock drivers for Armada AP and Armada CP use the same function to generate unique clock name. A third drivers is coming with the same need, so it's time to move this function in a common file. Signed-off-by: Gregory CLEMENT --- drivers/clk/mvebu/Kconfig | 5

[PATCH 4/6] clk: mvebu: ap806: Fix clock name for the cluster

2018-09-22 Thread Gregory CLEMENT
Actually, the clocks exposed for the cluster are not the CPU clocks, but the PLL clock used as entry clock for the CPU clocks. The CPU clock will be managed by a driver submitting in the following patches. Signed-off-by: Gregory CLEMENT --- drivers/clk/mvebu/ap806-system-controller.c | 4 ++--

[PATCH 2/6] clk: mvebu: add helper file for Armada AP and CP clocks

2018-09-22 Thread Gregory CLEMENT
Clock drivers for Armada AP and Armada CP use the same function to generate unique clock name. A third drivers is coming with the same need, so it's time to move this function in a common file. Signed-off-by: Gregory CLEMENT --- drivers/clk/mvebu/Kconfig | 5

[PATCH 4/6] clk: mvebu: ap806: Fix clock name for the cluster

2018-09-22 Thread Gregory CLEMENT
Actually, the clocks exposed for the cluster are not the CPU clocks, but the PLL clock used as entry clock for the CPU clocks. The CPU clock will be managed by a driver submitting in the following patches. Signed-off-by: Gregory CLEMENT --- drivers/clk/mvebu/ap806-system-controller.c | 4 ++--

[PATCH 5/6] arm64: marvell: enable the Armada 7K/8K CPU clk driver

2018-09-22 Thread Gregory CLEMENT
This commit makes sure the driver for the Armada 7K/8K CPU clock is enabled. Signed-off-by: Gregory CLEMENT --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 393d2b524284..cf6888ecd9f4 100644

[PATCH 6/6] arm64: dts: marvell: Add cpu clock node on Armada 7K/8K

2018-09-22 Thread Gregory CLEMENT
Add cpu clock node on AP Signed-off-by: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-ap806-quad.dtsi | 4 arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 6 ++ 2 files changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-ap806-quad.dtsi

[PATCH 5/6] arm64: marvell: enable the Armada 7K/8K CPU clk driver

2018-09-22 Thread Gregory CLEMENT
This commit makes sure the driver for the Armada 7K/8K CPU clock is enabled. Signed-off-by: Gregory CLEMENT --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 393d2b524284..cf6888ecd9f4 100644

[PATCH 6/6] arm64: dts: marvell: Add cpu clock node on Armada 7K/8K

2018-09-22 Thread Gregory CLEMENT
Add cpu clock node on AP Signed-off-by: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-ap806-quad.dtsi | 4 arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 6 ++ 2 files changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-ap806-quad.dtsi

[PATCH 1/6] dt-bindings: ap806: add the cluster clock node in the syscon file

2018-09-22 Thread Gregory CLEMENT
Document the device tree binding for the cluster clock controllers found in the Armada 7K/8K SoCs. Signed-off-by: Gregory CLEMENT --- .../arm/marvell/ap806-system-controller.txt | 22 +++ 1 file changed, 22 insertions(+) diff --git

[PATCH 1/6] dt-bindings: ap806: add the cluster clock node in the syscon file

2018-09-22 Thread Gregory CLEMENT
Document the device tree binding for the cluster clock controllers found in the Armada 7K/8K SoCs. Signed-off-by: Gregory CLEMENT --- .../arm/marvell/ap806-system-controller.txt | 22 +++ 1 file changed, 22 insertions(+) diff --git

[PATCH 3/6] clk: mvebu: add CPU clock driver for Armada 7K/8K

2018-09-22 Thread Gregory CLEMENT
The CPU frequency is managed at the AP level for the Armada 7K/8K. The CPU frequency is modified by cluster: the CPUs of the same cluster have the same frequency. This patch adds the clock driver that will be used by CPUFreq, it is based on the work of Omri Itach . Signed-off-by: Gregory CLEMENT

[PATCH 3/6] clk: mvebu: add CPU clock driver for Armada 7K/8K

2018-09-22 Thread Gregory CLEMENT
The CPU frequency is managed at the AP level for the Armada 7K/8K. The CPU frequency is modified by cluster: the CPUs of the same cluster have the same frequency. This patch adds the clock driver that will be used by CPUFreq, it is based on the work of Omri Itach . Signed-off-by: Gregory CLEMENT

Re: [PATCH 2/6] pstore: Add event tracing support

2018-09-22 Thread Sai Prakash Ranjan
On 9/22/2018 10:07 PM, Sai Prakash Ranjan wrote: On 9/22/2018 2:35 PM, Joel Fernandes wrote: On Sat, Sep 8, 2018 at 4:28 PM Sai Prakash Ranjan wrote: Also I think this spinlock can be moved further down. OK. Something like this would suffice? {{{ spin_lock_irqsave(>buf_lock, flags);

Re: [PATCH 2/6] pstore: Add event tracing support

2018-09-22 Thread Sai Prakash Ranjan
On 9/22/2018 10:07 PM, Sai Prakash Ranjan wrote: On 9/22/2018 2:35 PM, Joel Fernandes wrote: On Sat, Sep 8, 2018 at 4:28 PM Sai Prakash Ranjan wrote: Also I think this spinlock can be moved further down. OK. Something like this would suffice? {{{ spin_lock_irqsave(>buf_lock, flags);

Re: [PATCH] iio: adc: Fix potential integer overflow

2018-09-22 Thread Gustavo A. R. Silva
On 9/22/18 8:42 AM, Jonathan Cameron wrote: > On Tue, 18 Sep 2018 07:53:14 -0500 > "Gustavo A. R. Silva" wrote: > >> Cast factor to s64 in order to give the compiler complete information >> about the proper arithmetic to use and avoid a potential integer >> overflow. Notice that such variable

Re: [PATCH 2/6] pstore: Add event tracing support

2018-09-22 Thread Sai Prakash Ranjan
On 9/22/2018 10:07 PM, Sai Prakash Ranjan wrote: On 9/22/2018 2:35 PM, Joel Fernandes wrote: On Sat, Sep 8, 2018 at 4:28 PM Sai Prakash Ranjan wrote: Could you just split the pstore space into a per-cpu event buffer like we are doing for ftrace-on-pstore? Then you don't need to lock. I fear

Re: [PATCH] iio: adc: Fix potential integer overflow

2018-09-22 Thread Gustavo A. R. Silva
On 9/22/18 8:42 AM, Jonathan Cameron wrote: > On Tue, 18 Sep 2018 07:53:14 -0500 > "Gustavo A. R. Silva" wrote: > >> Cast factor to s64 in order to give the compiler complete information >> about the proper arithmetic to use and avoid a potential integer >> overflow. Notice that such variable

Re: [PATCH 2/6] pstore: Add event tracing support

2018-09-22 Thread Sai Prakash Ranjan
On 9/22/2018 10:07 PM, Sai Prakash Ranjan wrote: On 9/22/2018 2:35 PM, Joel Fernandes wrote: On Sat, Sep 8, 2018 at 4:28 PM Sai Prakash Ranjan wrote: Could you just split the pstore space into a per-cpu event buffer like we are doing for ftrace-on-pstore? Then you don't need to lock. I fear

Re: [Patch v7 21/22] CIFS: SMBD: Upper layer performs SMB read via RDMA write through memory registration

2018-09-22 Thread Tom Talpey
On 9/21/2018 8:56 PM, Stefan Metzmacher wrote: Hi, +    req->Channel = SMB2_CHANNEL_RDMA_V1_INVALIDATE; +    if (need_invalidate) +    req->Channel = SMB2_CHANNEL_RDMA_V1; +    req->ReadChannelInfoOffset = +    offsetof(struct smb2_read_plain_req, Buffer); +   

Re: [Patch v7 21/22] CIFS: SMBD: Upper layer performs SMB read via RDMA write through memory registration

2018-09-22 Thread Tom Talpey
On 9/21/2018 8:56 PM, Stefan Metzmacher wrote: Hi, +    req->Channel = SMB2_CHANNEL_RDMA_V1_INVALIDATE; +    if (need_invalidate) +    req->Channel = SMB2_CHANNEL_RDMA_V1; +    req->ReadChannelInfoOffset = +    offsetof(struct smb2_read_plain_req, Buffer); +   

Re: [PATCH] PM / suspend: Count suspend-to-idle loop as sleep time

2018-09-22 Thread kbuild test robot
Hi Rafael, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.19-rc4 next-20180921] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] PM / suspend: Count suspend-to-idle loop as sleep time

2018-09-22 Thread kbuild test robot
Hi Rafael, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.19-rc4 next-20180921] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v3 3/5] drivers: pinctrl: msm: enable PDC interrupt only during suspend

2018-09-22 Thread Lina Iyer
On Sat, Sep 22 2018 at 10:29 -0600, Marc Zyngier wrote: Hi Lina, On Tue, 04 Sep 2018 22:18:08 +0100, Lina Iyer wrote: During suspend the system may power down some of the system rails. As a result, the TLMM hw block may not be operational anymore and wakeup capable GPIOs will not be

Re: [PATCH v3 3/5] drivers: pinctrl: msm: enable PDC interrupt only during suspend

2018-09-22 Thread Lina Iyer
On Sat, Sep 22 2018 at 10:29 -0600, Marc Zyngier wrote: Hi Lina, On Tue, 04 Sep 2018 22:18:08 +0100, Lina Iyer wrote: During suspend the system may power down some of the system rails. As a result, the TLMM hw block may not be operational anymore and wakeup capable GPIOs will not be

Re: [PATCH v5] EDAC, ghes: use CPER module handles to locate DIMMs

2018-09-22 Thread Borislav Petkov
On Wed, Sep 19, 2018 at 01:59:00AM +, Fan Wu wrote: > For platforms whose firmwares provide valid module handles > (SMBIOS type 17) in error records, this patch uses the module > handles to locate corresponding DIMMs and enables per-DIMM > error counter update. > > Signed-off-by: Fan Wu >

Re: [PATCH 2/6] pstore: Add event tracing support

2018-09-22 Thread Sai Prakash Ranjan
On 9/22/2018 2:35 PM, Joel Fernandes wrote: On Sat, Sep 8, 2018 at 4:28 PM Sai Prakash Ranjan wrote: Could you just split the pstore space into a per-cpu event buffer like we are doing for ftrace-on-pstore? Then you don't need to lock. I fear the lock contention will be apparent. The pstore

Re: [PATCH v5] EDAC, ghes: use CPER module handles to locate DIMMs

2018-09-22 Thread Borislav Petkov
On Wed, Sep 19, 2018 at 01:59:00AM +, Fan Wu wrote: > For platforms whose firmwares provide valid module handles > (SMBIOS type 17) in error records, this patch uses the module > handles to locate corresponding DIMMs and enables per-DIMM > error counter update. > > Signed-off-by: Fan Wu >

Re: [PATCH 2/6] pstore: Add event tracing support

2018-09-22 Thread Sai Prakash Ranjan
On 9/22/2018 2:35 PM, Joel Fernandes wrote: On Sat, Sep 8, 2018 at 4:28 PM Sai Prakash Ranjan wrote: Could you just split the pstore space into a per-cpu event buffer like we are doing for ftrace-on-pstore? Then you don't need to lock. I fear the lock contention will be apparent. The pstore

Re: [PATCH v3 3/5] drivers: pinctrl: msm: enable PDC interrupt only during suspend

2018-09-22 Thread Marc Zyngier
Hi Lina, On Tue, 04 Sep 2018 22:18:08 +0100, Lina Iyer wrote: > > During suspend the system may power down some of the system rails. As a > result, the TLMM hw block may not be operational anymore and wakeup > capable GPIOs will not be detected. The PDC however will be operational > and the

Re: [PATCH v3 3/5] drivers: pinctrl: msm: enable PDC interrupt only during suspend

2018-09-22 Thread Marc Zyngier
Hi Lina, On Tue, 04 Sep 2018 22:18:08 +0100, Lina Iyer wrote: > > During suspend the system may power down some of the system rails. As a > result, the TLMM hw block may not be operational anymore and wakeup > capable GPIOs will not be detected. The PDC however will be operational > and the

Re: [PATCH v3 1/2] printk: Fix panic caused by passing log_buf_len to command line

2018-09-22 Thread Steven Rostedt
On Sat, 22 Sep 2018 23:40:51 +0800 wrote: > From: He Zhe > > log_buf_len_setup does not check input argument before passing it to > simple_strtoull. The argument would be a NULL pointer if "log_buf_len", > without its value, is set in command line and thus causes the following > panic. > >

Re: [PATCH v3 1/2] printk: Fix panic caused by passing log_buf_len to command line

2018-09-22 Thread Steven Rostedt
On Sat, 22 Sep 2018 23:40:51 +0800 wrote: > From: He Zhe > > log_buf_len_setup does not check input argument before passing it to > simple_strtoull. The argument would be a NULL pointer if "log_buf_len", > without its value, is set in command line and thus causes the following > panic. > >

Re: [PATCH 5/6] fsmount: do not use legacy MS_ flags

2018-09-22 Thread Christian Brauner
On Sat, Sep 22, 2018 at 04:48:32PM +0100, David Howells wrote: > Christian Brauner wrote: > > > mount_setattr(int dfd, const char *path, unsigned int atflags, > > unsigned int attr_cmd, > > unsigned int attr_values, > > unsigned int attr_mask); > > Whilst you

Re: [PATCH 5/6] fsmount: do not use legacy MS_ flags

2018-09-22 Thread Christian Brauner
On Sat, Sep 22, 2018 at 04:48:32PM +0100, David Howells wrote: > Christian Brauner wrote: > > > mount_setattr(int dfd, const char *path, unsigned int atflags, > > unsigned int attr_cmd, > > unsigned int attr_values, > > unsigned int attr_mask); > > Whilst you

Re: [PATCH TRIVIAL] Punctuation fixes

2018-09-22 Thread Diego Viola
On Wed, Sep 12, 2018 at 12:54 AM Diego Viola wrote: > > Signed-off-by: Diego Viola > --- > CREDITS | 2 +- > MAINTAINERS | 2 +- > Makefile| 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/CREDITS b/CREDITS > index 5befd2d71..b82efb36d 100644 > --- a/CREDITS >

Re: [PATCH TRIVIAL] Punctuation fixes

2018-09-22 Thread Diego Viola
On Wed, Sep 12, 2018 at 12:54 AM Diego Viola wrote: > > Signed-off-by: Diego Viola > --- > CREDITS | 2 +- > MAINTAINERS | 2 +- > Makefile| 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/CREDITS b/CREDITS > index 5befd2d71..b82efb36d 100644 > --- a/CREDITS >

Re: [PATCH 5/6] fsmount: do not use legacy MS_ flags

2018-09-22 Thread David Howells
Christian Brauner wrote: > mount_setattr(int dfd, const char *path, unsigned int atflags, > unsigned int attr_cmd, > unsigned int attr_values, > unsigned int attr_mask); Whilst you can have up to six arguments on a syscall, I seem to remember that 6-arg

Re: [PATCH 5/6] fsmount: do not use legacy MS_ flags

2018-09-22 Thread David Howells
Christian Brauner wrote: > mount_setattr(int dfd, const char *path, unsigned int atflags, > unsigned int attr_cmd, > unsigned int attr_values, > unsigned int attr_mask); Whilst you can have up to six arguments on a syscall, I seem to remember that 6-arg

Re: [PATCH v6 1/2] iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.

2018-09-22 Thread Jonathan Cameron
On Sat, 22 Sep 2018 23:28:04 +0800 Song Qiang wrote: > On Sat, Sep 22, 2018 at 03:46:58PM +0100, Jonathan Cameron wrote: > > On Tue, 18 Sep 2018 16:24:21 +0800 > > Song Qiang wrote: > > > > > This driver was originally written by ST in 2016 as a misc input device > > > driver, and hasn't

Re: [PATCH v6 1/2] iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.

2018-09-22 Thread Jonathan Cameron
On Sat, 22 Sep 2018 23:28:04 +0800 Song Qiang wrote: > On Sat, Sep 22, 2018 at 03:46:58PM +0100, Jonathan Cameron wrote: > > On Tue, 18 Sep 2018 16:24:21 +0800 > > Song Qiang wrote: > > > > > This driver was originally written by ST in 2016 as a misc input device > > > driver, and hasn't

  1   2   3   >