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 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(&psinfo->buf_lock, fla

[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 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 a/Documentation/devicetree/bindings/arm/marv

[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 b/arch/arm64

[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 drivers/clk/

[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 ++-- 1

[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 name

[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= [

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: https://syzkaller.appspot.com/x/.config?x=5fa12b

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 Jacek

[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 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 a/Do

[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 ind

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: acti

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 h

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] 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 Heik

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 board

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 ee457001ed6c6f31ddad6

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 afca6c5b2595fc44383919fba

[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 +++ 1

[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 a/Do

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 with

[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 a/Do

[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 +++ 1

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. W

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 fil

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 Tor

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: https://github.com/0day-ci/linux/commits/

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.

[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 +++ b/include/linux/mm_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

[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.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.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

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 "if_version_lengt

Re: [GIT pull] efi fix for 4.19

2018-09-22 Thread Greg Kroah-Hartman
On Sat, Sep 22, 2018 at 02:34:03PM +0200, Thomas Gleixner wrote: > Greg, > > please pull the latest efi-urgent-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > efi-urgent-for-linus > > Make the EFI arm stub device tree loader default on to unbreak exis

[PATCH v2] staging: rtlwifi: Use proper enumerated types for Wi-Fi only interface

2018-09-22 Thread Nathan Chancellor
Clang warns when one enumerated type is implicitly converted to another. drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c:1264:34: warning: implicit conversion from enumeration type 'enum btc_chip_interface' to different enumeration type 'enum wifionly_chip_interface' [-Wenum-conversion]

Re: [GIT pull] perf fixes for 4.19

2018-09-22 Thread Greg Kroah-Hartman
On Sat, Sep 22, 2018 at 02:34:04PM +0200, Thomas Gleixner wrote: > Greg, > > please pull the latest perf-urgent-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-for-linus Now pulled, thanks. greg k-h

Re: [GIT pull] x86 fixes for 4.19

2018-09-22 Thread Greg Kroah-Hartman
On Sat, Sep 22, 2018 at 02:34:06PM +0200, Thomas Gleixner wrote: > Greg, > > please pull the latest x86-urgent-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86-urgent-for-linus Now pulled, thanks. greg k-h

Re: [PATCH] staging: rtlwifi: Use proper enumerated types for Wi-Fi only interface

2018-09-22 Thread Nathan Chancellor
On Fri, Sep 21, 2018 at 03:12:02PM -0700, Nathan Chancellor wrote: > Clang warns when one enumerated type is implicitly converted to another. > > drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c:1264:34: warning: > implicit conversion from enumeration type 'enum btc_chip_interface' to > different

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

2018-09-22 Thread He Zhe
On 2018年09月23日 00:19, Steven Rostedt wrote: > 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 comm

<    1   2