Re: [PATCH 4/5] staging: mt7621-dts: add dt nodes for mt7621-pll

2019-07-09 Thread Chuanhong Guo
On Wed, Jul 10, 2019 at 2:22 AM Chuanhong Guo wrote: > > This commit adds device-tree node for mt7621-pll and use its clock > accordingly. > > Signed-off-by: Chuanhong Guo Oops. Please ignore this single patch for now. I forgot to drop cpuclock node in drivers/staging/mt7621-dts/gbpc1.dts I'll r

[PATCH 11/12] staging: media: cedrus: Fix misuse of GENMASK macro

2019-07-09 Thread Joe Perches
Arguments are supposed to be ordered high then low. Signed-off-by: Joe Perches --- drivers/staging/media/sunxi/cedrus/cedrus_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/sunxi/cedrus/cedrus_regs.h b/drivers/staging/media/sunxi/cedrus/cedrus_re

[PATCH 00/12] treewide: Fix GENMASK misuses

2019-07-09 Thread Joe Perches
These GENMASK uses are inverted argument order and the actual masks produced are incorrect. Fix them. Add checkpatch tests to help avoid more misuses too. Joe Perches (12): checkpatch: Add GENMASK tests clocksource/drivers/npcm: Fix misuse of GENMASK macro drm: aspeed_gfx: Fix misuse of GE

Re: [PATCH v3] media: dt: bindings: tegra-vde: Document new optional IOMMU property

2019-07-09 Thread Rob Herring
On Sun, 23 Jun 2019 20:07:26 +0300, Dmitry Osipenko wrote: > All NVIDIA Tegra SoC generations provide IOMMU support for the video > decoder engine. Document new optional device-tree property that connects > VDE with the IOMMU provider. > > Signed-off-by: Dmitry Osipenko > --- > > No changes sinc

RE: exfat filesystem

2019-07-09 Thread KY Srinivasan
> -Original Message- > From: Valdis Kletnieks On Behalf Of Valdis Kletnieks > Sent: Tuesday, July 9, 2019 9:51 AM > To: KY Srinivasan > Cc: Matthew Wilcox ; Theodore Ts'o > ; Alexander Viro ; Greg Kroah- > Hartman ; linux-fsde...@vger.kernel.org; > linux-ker...@vger.kernel.org; de...@d

Reminder: 1 open syzbot bug in "android/ashmem" subsystem

2019-07-09 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 1 of them as possibly being a bug in the "android/ashmem

[PATCH 5/5] staging: mt7621-dts: fix register range of memc node in mt7621.dtsi

2019-07-09 Thread Chuanhong Guo
The memc node from mt7621.dtsi has incorrect register resource. Fix it according to the programming guide. Signed-off-by: Weijie Gao Signed-off-by: Chuanhong Guo --- drivers/staging/mt7621-dts/mt7621.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621

[PATCH 3/5] dt: bindings: add mt7621-pll dt binding documentation

2019-07-09 Thread Chuanhong Guo
This commit adds device tree binding documentation for MT7621 PLL controller. Signed-off-by: Chuanhong Guo --- .../bindings/clock/mediatek,mt7621-pll.txt| 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/mediatek,mt7621-pll

[PATCH 2/5] MIPS: ralink: fix cpu clock of mt7621 and add dt clk devices

2019-07-09 Thread Chuanhong Guo
For a long time the mt7621 uses a fixed cpu clock which causes a problem if the cpu frequency is not 880MHz. This patch fixes the cpu clock calculation and adds the cpu/bus clkdev which will be used in dts. Ported from OpenWrt: c7ca224299 ramips: fix cpu clock of mt7621 and add dt clk devices Si

[PATCH 4/5] staging: mt7621-dts: add dt nodes for mt7621-pll

2019-07-09 Thread Chuanhong Guo
This commit adds device-tree node for mt7621-pll and use its clock accordingly. Signed-off-by: Chuanhong Guo --- drivers/staging/mt7621-dts/mt7621.dtsi | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/staging/mt7621-dts/mt7621.dtsi b/drivers/staging/mt

[PATCH 0/5] MIPS: ralink: add CPU clock detection for MT7621

2019-07-09 Thread Chuanhong Guo
This patchset ports CPU clock detection for MT7621 from OpenWrt. Last time I sent this, I forgot to add an binding include which caused a compile error and the patch doesn't stay in linux-next. This patchset resent the first two commits and also added binding documentation for mt7621-pll and used

[PATCH 1/5] MIPS: ralink: add dt binding header for mt7621-pll

2019-07-09 Thread Chuanhong Guo
This patch adds dt binding header for mediatek,mt7621-pll Signed-off-by: Weijie Gao Signed-off-by: Chuanhong Guo Reviewed-by: Rob Herring --- include/dt-bindings/clock/mt7621-clk.h | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 include/dt-bindings/clock/mt7621-clk.h

RE: exfat filesystem

2019-07-09 Thread KY Srinivasan
-Original Message- From: Matthew Wilcox Sent: Tuesday, July 9, 2019 8:49 AM To: Theodore Ts'o ; Valdis Klētnieks ; Alexander Viro ; Greg Kroah-Hartman ; linux-fsde...@vger.kernel.org; linux-ker...@vger.kernel.org; de...@driverdev.osuosl.org; KY Srinivasan Cc: Sasha Levin Subject:

Re: exfat filesystem

2019-07-09 Thread James Bottomley
On Tue, 2019-07-09 at 12:37 -0400, Sasha Levin wrote: > On Tue, Jul 09, 2019 at 08:48:34AM -0700, Matthew Wilcox wrote: > > On Tue, Jul 09, 2019 at 11:30:39AM -0400, Theodore Ts'o wrote: > > > On Tue, Jul 09, 2019 at 04:21:36AM -0700, Matthew Wilcox wrote: > > > > How does > > > > https://www.zdnet

Re: exfat filesystem

2019-07-09 Thread Valdis Klētnieks
On Tue, 09 Jul 2019 16:39:31 -, KY Srinivasan said: > Let me dig up the details here. In case this helps clarify the chain of events, the code in question is the Samsung code mentioned here, updated to 5.2 kernel "We know that Microsoft has done patent troll shakedowns in the past on Lin

Re: exfat filesystem

2019-07-09 Thread Theodore Ts'o
On Tue, Jul 09, 2019 at 08:48:34AM -0700, Matthew Wilcox wrote: > > Interesting analysis. It seems to me that the correct forms would be > observed if someone suitably senior at Microsoft accepted the work from > Valdis and submitted it with their sign-off. KY, how about it? It might be that th

Re: exfat filesystem

2019-07-09 Thread Sasha Levin
On Tue, Jul 09, 2019 at 08:48:34AM -0700, Matthew Wilcox wrote: On Tue, Jul 09, 2019 at 11:30:39AM -0400, Theodore Ts'o wrote: On Tue, Jul 09, 2019 at 04:21:36AM -0700, Matthew Wilcox wrote: > How does > https://www.zdnet.com/article/microsoft-open-sources-its-entire-patent-portfolio/ > change

Re: exfat filesystem

2019-07-09 Thread Valdis Klētnieks
On Tue, 09 Jul 2019 08:48:34 -0700, Matthew Wilcox said: > Interesting analysis. It seems to me that the correct forms would be > observed if someone suitably senior at Microsoft accepted the work from > Valdis and submitted it with their sign-off. KY, how about it? I'd be totally OK with that.

Re: exfat filesystem

2019-07-09 Thread James Bottomley
On Tue, 2019-07-09 at 08:48 -0700, Matthew Wilcox wrote: > On Tue, Jul 09, 2019 at 11:30:39AM -0400, Theodore Ts'o wrote: > > On Tue, Jul 09, 2019 at 04:21:36AM -0700, Matthew Wilcox wrote: > > > How does > > > https://www.zdnet.com/article/microsoft-open-sources-its-entire-p > > > atent-portfolio/

exfat filesystem

2019-07-09 Thread Matthew Wilcox
On Tue, Jul 09, 2019 at 11:30:39AM -0400, Theodore Ts'o wrote: > On Tue, Jul 09, 2019 at 04:21:36AM -0700, Matthew Wilcox wrote: > > How does > > https://www.zdnet.com/article/microsoft-open-sources-its-entire-patent-portfolio/ > > change your personal opinion? > > According to SFC's legal analysi

Re: Procedure questions - new filesystem driver..

2019-07-09 Thread Theodore Ts'o
On Tue, Jul 09, 2019 at 04:21:36AM -0700, Matthew Wilcox wrote: > How does > https://www.zdnet.com/article/microsoft-open-sources-its-entire-patent-portfolio/ > change your personal opinion? According to SFC's legal analysis, Microsoft joining the OIN doesn't mean that the eXFAT patents are covere

general protection fault in vmk80xx_write_packet

2019-07-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7829a896 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=126dd493a0 kernel config: https://syzkaller.appspot.com/x/.

Re: Procedure questions - new filesystem driver..

2019-07-09 Thread Matthew Wilcox
On Tue, Jul 09, 2019 at 12:50:20AM -0400, Theodore Ts'o wrote: > How have you dealt with the patent claims which Microsoft has > asserted[1] on the exFAT file system design? > > [1] > https://www.microsoft.com/en-us/legal/intellectualproperty/mtl/exfat-licensing.aspx > > I am not making any clai

[PATCH] binder: Set end of SG buffer area properly.

2019-07-09 Thread Martijn Coenen
In case the target node requests a security context, the extra_buffers_size is increased with the size of the security context. But, that size is not available for use by regular scatter-gather buffers; make sure the ending of that buffer is marked correctly. Acked-by: Todd Kjos Fixes: ec74136ded