Re: [PATCH v4 00/11] dmaengine: sun6i: Fixes for H3/A83T, enable A64

2017-10-15 Thread Vinod Koul
On Thu, Sep 28, 2017 at 03:49:17AM +0200, Stefan Brüns wrote: > Commit 3a03ea763a67 ("dmaengine: sun6i: Add support for Allwinner A83T > (sun8i) variant") and commit f008db8c00c1 ("dmaengine: sun6i: Add support for > Allwinner H3 (sun8i) variant") added support for the A83T resp. H3, but missed > s

Re: [PATCH v4 07/11] dmaengine: sun6i: Retrieve channel count/max request from devicetree

2017-10-15 Thread Vinod Koul
On Thu, Sep 28, 2017 at 03:49:24AM +0200, Stefan Brüns wrote: > To avoid introduction of a new compatible for each small SoC/DMA controller > variation, move the definition of the channel count to the devicetree. > > The number of vchans is no longer explicit, but limited by the highest > port/DMA

Re: [PATCH] dmaengine: rcar-dmac: read DMATCRB instead of DMATCR for residue

2017-10-15 Thread Geert Uytterhoeven
Hi Morimoto-san, On Mon, Oct 16, 2017 at 7:28 AM, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > SYS/RT/Audio DMAC have both TCR/TCRB register. > Its difference is transfer counter value of read (= TCR) > or write (= TCRB). The relationship is like below. > > TCR TCRB > [

Re: [RFC PATCH v2 5/8] timers: keep sleep length updated as needed

2017-10-15 Thread Li, Aubrey
On 2017/10/14 8:56, Rafael J. Wysocki wrote: > On Saturday, September 30, 2017 9:20:31 AM CEST Aubrey Li wrote: >> sleep length indicates how long we'll be idle. Currently, it's updated >> only when tick nohz enters. These patch series make a new requirement >> with tick, so we should keep sleep le

Re: [PATCH] dmaengine: nbpfaxi: mark expected switch fall-through

2017-10-15 Thread Vinod Koul
On Fri, Oct 13, 2017 at 03:17:19PM -0500, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva > --- > drivers/dma/nbpfaxi.c | 1 + > 1 file changed, 1 insertion(+) > >

Re: [PATCH v4 0/9] Mediatek MT2712 clock and scpsys support

2017-10-15 Thread Weiyi Lu
On Fri, 2017-10-13 at 16:50 +0200, Matthias Brugger wrote: > > On 10/13/2017 12:45 AM, Stephen Boyd wrote: > > On 09/19, Weiyi Lu wrote: > >> This series is based on v4.14-rc1 and composed of > >> clock control (PATCH 1-4) and scpsys control (PATCH 5-9) > > > > What's the merge plan? Can I apply

Re: [PATCH 6/9] soc: mediatek: extend bus protection API

2017-10-15 Thread Weiyi Lu
On Tue, 2017-10-10 at 17:45 +0200, Matthias Brugger wrote: > > On 08/22/2017 12:28 PM, Weiyi Lu wrote: > > MT2712 add "set/clear" bus control register to each control register set > > instead of providing only one "enable" control register, we could avoid > > the read-modify-write racing by using

Re: [GIT PULL] phy: for 4.14 -rc

2017-10-15 Thread Greg KH
On Mon, Oct 16, 2017 at 11:35:53AM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > On Wednesday 04 October 2017 06:09 PM, Kishon Vijay Abraham I wrote: > > Hi Greg, > > > > Please find below the phy pull request for 4.14 -rc cycle below. > > It fixes a couple of instabilities in rockchip type

Re: [RFC PATCH v2 4/8] tick/nohz: keep tick on for a fast idle

2017-10-15 Thread Li, Aubrey
On 2017/10/16 14:25, Mike Galbraith wrote: > On Mon, 2017-10-16 at 13:34 +0800, Li, Aubrey wrote: >> On 2017/10/16 12:45, Mike Galbraith wrote: >>> On Mon, 2017-10-16 at 11:26 +0800, Li, Aubrey wrote: I'll try to move quiet_vmstat() into the normal idle branch if this patch series >

Re: [PATCH 01/12] PM / core: Add NEVER_SKIP and SMART_PREPARE driver flags

2017-10-15 Thread Greg Kroah-Hartman
On Mon, Oct 16, 2017 at 03:29:02AM +0200, Rafael J. Wysocki wrote: > +static inline void dev_pm_set_driver_flags(struct device *dev, unsigned int > flags) > +{ > + dev->power.driver_flags = flags; > +} Should this function just set the specific bit? Or is it going to be ok to set the whole v

Re: [PATCH 01/12] PM / core: Add NEVER_SKIP and SMART_PREPARE driver flags

2017-10-15 Thread Greg Kroah-Hartman
On Mon, Oct 16, 2017 at 03:29:02AM +0200, Rafael J. Wysocki wrote: > struct dev_pm_info { > pm_message_tpower_state; > unsigned intcan_wakeup:1; > @@ -561,6 +580,7 @@ struct dev_pm_info { > boolis_late_suspended:1; > bool

Re: [RFC PATCH v2 4/8] tick/nohz: keep tick on for a fast idle

2017-10-15 Thread Mike Galbraith
On Mon, 2017-10-16 at 13:34 +0800, Li, Aubrey wrote: > On 2017/10/16 12:45, Mike Galbraith wrote: > > On Mon, 2017-10-16 at 11:26 +0800, Li, Aubrey wrote: > >> > >> I'll try to move quiet_vmstat() into the normal idle branch if this patch > >> series > >> are reasonable. Is fast_idle a good indica

RE: [PATCH net-next 0/2] Add mqprio hardware offload support in hns3 driver

2017-10-15 Thread Yuval Mintz
> Hi, Yuval > > On 2017/10/15 13:14, Yuval Mintz wrote: > >> Hi, Yuval > >> > >> On 2017/10/13 4:21, Yuval Mintz wrote: > This patchset adds a new hardware offload type in mqprio before > adding > mqprio hardware offload support in hns3 driver. > >>> > >>> I think one of the biggest issu

Re: [PATCH v4 4/7] soc: mediatek: pwrap: update pwrap_init without slave programming

2017-10-15 Thread Sean Wang
On Fri, 2017-10-13 at 16:07 +0200, Matthias Brugger wrote: > > On 10/13/2017 11:41 AM, Sean Wang wrote: > > On Tue, 2017-10-10 at 20:00 +0200, Matthias Brugger wrote: > >> > >> On 09/21/2017 10:26 AM, sean.w...@mediatek.com wrote: > >>> From: Sean Wang > >>> > >>> pwrap initialization is highly a

Re: [PATCH v4 0/6] K2G: Add QSPI support

2017-10-15 Thread Vignesh R
On Tuesday 03 October 2017 10:49 AM, Vignesh R wrote: > > > This series adds support for Cadence QSPI IP present in TI's 66AK2G SoC. > The patches enhance the existing cadence-quadspi driver to support > loopback clock circuit, pm_runtime support and tweaks for 66AK2G SoC. Gentle ping on the s

Re: [PATCH] of: overlay: fix memory leak related to duplicated property

2017-10-15 Thread Frank Rowand
Hi Alan, It is Rob's choice of which order to take the patches in. Either order, it will be a trivial fixup to the second patchset to go in. -Frank On 10/15/17 19:35, Wang, Alan 1. (NSB - CN/Hangzhou) wrote: > Hi Frank, > > Could I continue to send my patch since conflict with your patches? O

Re: [GIT PULL] phy: for 4.14 -rc

2017-10-15 Thread Kishon Vijay Abraham I
Hi Greg, On Wednesday 04 October 2017 06:09 PM, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find below the phy pull request for 4.14 -rc cycle below. > It fixes a couple of instabilities in rockchip typec phy and other fixes > are mostly to deal with handling error return values. > > Co

Re: [RFC PATCH v2 7/8] cpuidle: introduce irq timing to make idle prediction

2017-10-15 Thread Li, Aubrey
On 2017/10/14 9:01, Rafael J. Wysocki wrote: > On Saturday, September 30, 2017 9:20:33 AM CEST Aubrey Li wrote: >> Introduce irq timings output as a factor to predict the duration >> of the coming idle >> >> @@ -342,13 +343,27 @@ void cpuidle_entry_end(void) >> void cpuidle_predict(void) >> { >>

RE: [PATCH] drm/i915/gvt: Fix error handling bug in perform_bb_shadow

2017-10-15 Thread Wang, Zhi A
Hi: Thanks for the patch. This problem has been fixed on staging branch with: a8e18bfc854141621a29600a6c13e5f40c6e9f19 drm/i915/gvt: Refine shadow batch buffer Thanks, Zhi. -Original Message- From: Christos Gkekas [mailto:chris.ge...@gmail.com] Sent: Monday, October 16, 2017 1:18 A

Re: [RFC PATCH v2 6/8] cpuidle: make fast idle threshold tunable

2017-10-15 Thread Li, Aubrey
On 2017/10/14 8:59, Rafael J. Wysocki wrote: > On Saturday, September 30, 2017 9:20:32 AM CEST Aubrey Li wrote: >> Add a knob to make fast idle threshold tunable >> >> Signed-off-by: Aubrey Li > > I first of all am not sure about the need to add a tunable for this at all > in the first place. Ac

Re: [PATCH v2] ASoC: Intel: Skylake: Decrease loglevel for topology loading

2017-10-15 Thread Vinod Koul
On Thu, Oct 12, 2017 at 09:44:37AM -0700, Chintan Patel wrote: > In case of failure in loading customize topology firmware, dfw_sst.bin > gets loaded. However, current log provides this message as error even > after successfully falling back to default topology "dfw_sst.bin". > > Hence to convey p

答复: [PATCH] staging: rtsx: Add support for RTS5260

2017-10-15 Thread 冯锐
> On Fri, Oct 13, 2017 at 10:54:22AM +0100, Lee Jones wrote: > > On Fri, 13 Oct 2017, Greg KH wrote: > > > > > On Fri, Oct 13, 2017 at 04:50:35PM +0800, rui_f...@realsil.com.cn wrote: > > > > From: rui_feng > > > > > > > > Add support for new chip rts5260. > > > > In order to support rts5260,the d

Re: [Ocfs2-devel] [PATCH] ocfs2/cluster: make config_item_type const

2017-10-15 Thread Julia Lawall
On Sun, 15 Oct 2017, Gang He wrote: > Hello Intel Kbuild team, > > You just upgrade GCC version when compiling the latest kernel? > Since these code looks a little old, I am sure that the related contributors > are still work on OCFS2 project. I'm not sure to understand the comment. The repor

[tip:x86/asm 4/5] drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.o: warning: objtool: kiblnd_post_tx_locked()+0x94: stack state mismatch: cfa1=7+224 cfa2=7+208

2017-10-15 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/asm head: fc72ae40e30327aa24eb88a24b9c7058f938bd36 commit: 11af847446ed0d131cf24d16a7ef3d5ea7a49554 [4/5] x86/unwind: Rename unwinder config options to 'CONFIG_UNWINDER_*' config: x86_64-randconfig-a0-10161235 (attached as .

Re: [PATCH] scsi: qedi: Delete redundant variables

2017-10-15 Thread Rangankar, Manish
On 14/10/17 5:47 PM, "Christos Gkekas" wrote: >Remove redundant variables in quedi_fw.c that are set but not used. > >Signed-off-by: Christos Gkekas >--- > drivers/scsi/qedi/qedi_fw.c | 17 + > 1 file changed, 1 insertion(+), 16 deletions(-) > >diff --git a/drivers/scsi/qedi/qed

Re: [RFC PATCH v2 4/8] tick/nohz: keep tick on for a fast idle

2017-10-15 Thread Li, Aubrey
On 2017/10/16 12:45, Mike Galbraith wrote: > On Mon, 2017-10-16 at 11:26 +0800, Li, Aubrey wrote: >> >> I'll try to move quiet_vmstat() into the normal idle branch if this patch >> series >> are reasonable. Is fast_idle a good indication for it? > > see x86_tip 62cb1188ed86 sched/idle: Move quiet

Re: [PATCH 01/12] PM / core: Add NEVER_SKIP and SMART_PREPARE driver flags

2017-10-15 Thread Lukas Wunner
On Mon, Oct 16, 2017 at 03:29:02AM +0200, Rafael J. Wysocki wrote: > + :c:func:`dev_pm_set_driver_flags` helper function.] If the first of > + tese flags is set, the PM core will not apply the direct-complete ^ these > + proceudre described above to the given device an

[PATCH] dmaengine: rcar-dmac: read DMATCRB instead of DMATCR for residue

2017-10-15 Thread Kuninori Morimoto
From: Kuninori Morimoto SYS/RT/Audio DMAC have both TCR/TCRB register. Its difference is transfer counter value of read (= TCR) or write (= TCRB). The relationship is like below. TCR TCRB [SOURCE] -> [DMAC] -> [DESTINATION] Thus, we want to read TCRB instead of TCR for residue.

Re: CONFIG_DMA_NOOP_OPS breaks ARM arch

2017-10-15 Thread Marian Mihailescu
I am using 4.14-rc4 with a patch on top that includes arch/arm/include/asm/dma-mapping.h in a module. I have MMU enabled, so select DMA_NOOP_OPS if !MMU does nothing for me, and I get a compile error because dma_noop_ops is unknown. Maybe I should include linux/dma-mapping.h? Thanks for the quic

Re: [PATCH v2] usb: musb: sunxi: Explicitly release USB PHY on exit

2017-10-15 Thread Jonathan Liu
On 10 October 2017 at 14:22, Bin Liu wrote: > On Tue, Oct 10, 2017 at 01:45:25PM +1100, Jonathan Liu wrote: >> This fixes a kernel oops when unloading the driver due to usb_put_phy >> being called after usb_phy_generic_unregister when the device is >> detached. Calling usb_phy_generic_unregister c

Re: [RFC PATCH v2 4/8] tick/nohz: keep tick on for a fast idle

2017-10-15 Thread Mike Galbraith
On Mon, 2017-10-16 at 11:26 +0800, Li, Aubrey wrote: > > I'll try to move quiet_vmstat() into the normal idle branch if this patch > series > are reasonable. Is fast_idle a good indication for it? see x86_tip 62cb1188ed86 sched/idle: Move quiet_vmstate() into the NOHZ code -Mike

RE: [PATCH] of: dynamic: fix memory leak related to properties of __of_node_dup

2017-10-15 Thread Wang, Alan 1. (NSB - CN/Hangzhou)
Hi Rob and Frank, Thanks for your comments. Frank's description is exactly what I meant. I will changed the description as yours if you don't mind. We are using Linux v3.10.64 and a patch from https://lkml.org/lkml/2014/4/4/207. With this patch all properties are added dynamically to the dynamic

A issue about ptrace/SINGLESTEP on arm64

2017-10-15 Thread chengjian (D)
Hi I write demo use ptrace/SINGLESTEP to count the number of instructions executed by the process The parent process fork+exec a child process, and trace(SINGLESTEP) it, It works fine under the x86_64 architecture but has an exception under arm64. ```cpp //demo.c #include #include #include

RE: [PATCH v2 2/5] dpaa_eth: move of_phy_connect() to the eth driver

2017-10-15 Thread Madalin-cristian Bucur
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Sunday, October 15, 2017 9:34 PM > To: Madalin-cristian Bucur > Cc: net...@vger.kernel.org; da...@davemloft.net; f.faine...@gmail.com; > vivien.dide...@savoirfairelinux.com; jun...@outlook.com; linux- > ker...@vger.ke

Re: [PATCH v3] rpmsg: Allow RPMSG_VIRTIO to be enabled via menuconfig or defconfig

2017-10-15 Thread Anup Patel
Ping ?? -- Anup

Re: [PATCH] ARM: multi_v7_defconfig: Select RPMSG_VIRTIO as module

2017-10-15 Thread Anup Patel
Ping ?? -- Anup

Re: [PATCH v5 11/16] perf report: properly handle branch count in match_chain

2017-10-15 Thread ravi
On Friday 13 October 2017 07:38 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Oct 13, 2017 at 10:39:03AM -0300, Arnaldo Carvalho de Melo escreveu: Em Mon, Oct 09, 2017 at 10:33:05PM +0200, Milian Wolff escreveu: Some of the code paths I introduced before returned too early without running the co

Re: [Ocfs2-devel] [PATCH] ocfs2/cluster: make config_item_type const

2017-10-15 Thread Fengguang Wu
Hi Gang, On Sun, Oct 15, 2017 at 09:26:00PM -0600, Gang He wrote: Hello Intel Kbuild team, You just upgrade GCC version when compiling the latest kernel? This report comes from a pretty old gcc: config: tile-allyesconfig (attached as .config) compiler: tilegx-linux-gcc (GCC) 4.

[PATCH] Makefile: Fix empty flag results for stackprotector _AUTO mode

2017-10-15 Thread Kees Cook
If the compiler didn't support any stackprotector mode, the second empty test would still trip. This moves it to an "else" test for the non-AUTO modes. Reported-and-tested-by: Robert Jarzmik Signed-off-by: Kees Cook --- This is a separate fix from the issue with gcc 4.4.4. Yay compilers. (Also,

[PATCH 1/5] arm64: dts: realtek: Factor out common RTD129x parts

2017-10-15 Thread Andreas Färber
Prepares for RTD1293 and RTD1296. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd1295.dtsi | 65 ++-- arch/arm64/boot/dts/realtek/rtd129x.dtsi | 72 2 files changed, 76 insertions(+), 61 deletions(-) create mode 100644 a

[PATCH 2/5] dt-bindings: arm: realtek: Document RTD1293 and Synology DS418j

2017-10-15 Thread Andreas Färber
Define compatible strings for Realtek RTD1293 SoC and Synology DiskStation DS418j NAS. Cc: i...@synology.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/realtek.txt | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/binding

[PATCH 4/5] dt-bindings: arm: realtek: Document RTD1296 and Synology DS418

2017-10-15 Thread Andreas Färber
Define compatible strings for Realtek RTD1296 SoC and Synology DiskStation DS418 NAS. Cc: i...@synology.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/realtek.txt | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH 0/5] arm64: dts: Initial RTD1293/RTD1296 and DS418j/DS418 support

2017-10-15 Thread Andreas Färber
Hello, This series adds Device Trees for the Realtek RTD1293 and RTD1296 SoCs and Synology DiskStation DS418j and DS418 NAS devices. To avoid too much duplication, a shared rtd129x.dtsi is introduced. More details at: https://en.opensuse.org/HCL:DS418j https://en.opensuse.org/HCL:DS418 Latest e

[PATCH 5/5] arm64: dts: realtek: Add RTD1296 and Synology DS418

2017-10-15 Thread Andreas Färber
Add Device Trees for RTD1296 SoC and Synology DiskStation DS418. Cc: i...@synology.com Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/Makefile | 2 + arch/arm64/boot/dts/realtek/rtd1296-ds418.dts | 31 +++ arch/arm64/boot/dts/realtek/rtd1296.dtsi | 74 ++

[PATCH 3/5] arm64: dts: realtek: Add RTD1293 and Synology DS418j

2017-10-15 Thread Andreas Färber
Add Device Trees for RTD1293 SoC and Synology DiskStation DS481j NAS. Cc: i...@synology.com Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/Makefile | 2 + arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts | 31 ++ arch/arm64/boot/dts/realtek/rtd1293.dtsi

Re: CONFIG_DMA_NOOP_OPS breaks ARM arch

2017-10-15 Thread Randy Dunlap
On 10/15/17 20:29, Randy Dunlap wrote: > On 10/15/17 20:27, Randy Dunlap wrote: >> On 10/15/17 19:27, Marian Mihailescu wrote: >>> After commit 7844572c633964c864d9f32dc3f2a8ffe5d70371, dma_noop_ops >>> are built only for architectures that use it. >>> >>> For ARM architecture, CONFIG_DMA_NOOP_OPS

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-15 Thread Boqun Feng
On Mon, Oct 16, 2017 at 02:00:33PM +1100, Michael Ellerman wrote: > Mathieu Desnoyers writes: > > > Implements two basic tests of RSEQ functionality, and one more > > exhaustive parameterizable test. > > > > The first, "basic_test" only asserts that RSEQ works moderately > > correctly. > > E.g. t

Re: [Ocfs2-devel] [PATCH] ocfs2/cluster: make config_item_type const

2017-10-15 Thread Gang He
Hello Intel Kbuild team, You just upgrade GCC version when compiling the latest kernel? Since these code looks a little old, I am sure that the related contributors are still work on OCFS2 project. Thanks Gang >>> > Hi Bhumika, > > [auto build test WARNING on linus/master] > [also build te

Re: [f2fs-dev] [PATCH v2] f2fs: update dirty status for CURSEG as well

2017-10-15 Thread Chao Yu
On 2017/10/14 20:53, Yunlong Song wrote: > Oh, yes it is. I found that problem in a kernel tree which does not have > commit > c6f82fe90d7458e5fa190a6820bfc24f96b0de4e (Revert "f2fs: put allocate_segment > after refresh_sit_entry"). In that kernel, the allocate_segment is still > behind > refresh

Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls [v3]

2017-10-15 Thread Keith Packard
Sean Paul writes: > Sphinx won't pick these up, and will issue warnings. Please update to @ > instead of \param > > If you want to try it out: > make htmldocs Yeah, I was attempting to emulate the existing style. I suggest that a general cleanup to fix the docstrings should be in a separate patc

Re: CONFIG_DMA_NOOP_OPS breaks ARM arch

2017-10-15 Thread Randy Dunlap
On 10/15/17 20:27, Randy Dunlap wrote: > On 10/15/17 19:27, Marian Mihailescu wrote: >> After commit 7844572c633964c864d9f32dc3f2a8ffe5d70371, dma_noop_ops >> are built only for architectures that use it. >> >> For ARM architecture, CONFIG_DMA_NOOP_OPS is not selected, and cannot >> be selected. >>

Re: CONFIG_DMA_NOOP_OPS breaks ARM arch

2017-10-15 Thread Randy Dunlap
On 10/15/17 19:27, Marian Mihailescu wrote: > After commit 7844572c633964c864d9f32dc3f2a8ffe5d70371, dma_noop_ops > are built only for architectures that use it. > > For ARM architecture, CONFIG_DMA_NOOP_OPS is not selected, and cannot > be selected. > > However, arch/arm/include/asm/dma-mapping.

Re: [RFC PATCH v2 4/8] tick/nohz: keep tick on for a fast idle

2017-10-15 Thread Li, Aubrey
On 2017/10/14 8:51, Rafael J. Wysocki wrote: > On Saturday, September 30, 2017 9:20:30 AM CEST Aubrey Li wrote: >> If the next idle is expected to be a fast idle, we should keep tick >> on before going into idle >> >> Signed-off-by: Aubrey Li > > This also can be merged with the previous patch (a

Re: [f2fs-dev] [PATCH v2] f2fs: add bug_on when f2fs_gc even fails to get one victim

2017-10-15 Thread Chao Yu
On 2017/10/14 20:34, Yunlong Song wrote: > Do you mean check out-of-space test? I have tried that but no bugon. Yes, test recent f2fs codes with kernel 4.13.0-rc1+ in VM, FYI: kernel BUG at gc.c:1034! invalid opcode: [#1] SMP Hardware name: Xen HVM domU, BIOS 4.1.2_115-900.260_ 11/06/2015 RI

Re: [PATCH v2 7/9] usb: host: modify description for MTK xHCI config

2017-10-15 Thread Chunfeng Yun
On Fri, 2017-10-13 at 13:32 +0300, Mathias Nyman wrote: > On 13.10.2017 11:26, Chunfeng Yun wrote: > > Due to all MediaTek SoCs with xHCI host controller use this > > driver, remove limitation for specific SoCs > > > > Signed-off-by: Chunfeng Yun > > --- > > xHCI parts of series look good to me,

[PATCH v6 3/3] media: ov7670: Add the ov7670_s_power function

2017-10-15 Thread Wenyou Yang
Add the ov7670_s_power function which is responsible for manipulating the power dowm mode through the PWDN pin and the reset operation through the RESET pin, and keep it powered at all times. Signed-off-by: Wenyou Yang --- Changes in v6: - Remove .s_power callback to keep the ov7670 powered at

[PATCH v6 2/3] media: ov7670: Add the get_fmt callback

2017-10-15 Thread Wenyou Yang
Add the get_fmt callback, also enable V4L2_SUBDEV_FL_HAS_DEVNODE flag to make this subdev has device node. Signed-off-by: Wenyou Yang --- Changes in v6: None Changes in v5: - Fix the build warning on the declaration *mbus_fmt(ISO C90 forbids mixed). Changes in v4: - Fix the build error when n

[PATCH v6 0/3] media: ov7670: Add entity init and power operation

2017-10-15 Thread Wenyou Yang
This patch set is to add the media entity pads initialization, the ov7670_s_power function and get_fmt callback support. Changes in v6: - Remove .s_power callback to keep the ov7670 powered at all times. - Update the commit log accordingly. Changes in v5: - Fix the build warning on the declara

[PATCH v6 1/3] media: ov7670: Add entity pads initialization

2017-10-15 Thread Wenyou Yang
Add the media entity pads initialization. Signed-off-by: Wenyou Yang --- Changes in v6: None Changes in v5: None Changes in v4: - Fix the build error when not enabling Media Controller API option. Changes in v3: None Changes in v2: None drivers/media/i2c/ov7670.c | 21 -

RE: [PATCH v2 5/5] fsl/fman: add dpaa in module names

2017-10-15 Thread Madalin-cristian Bucur
> -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: Friday, October 13, 2017 8:39 PM > To: Madalin-cristian Bucur ; > net...@vger.kernel.org; da...@davemloft.net > Cc: and...@lunn.ch; vivien.dide...@savoirfairelinux.com; > jun...@outlook.com; linux-kernel@vge

Re: [RFC PATCH v2 2/8] cpuidle: record the overhead of idle entry

2017-10-15 Thread Li, Aubrey
On 2017/10/14 8:35, Rafael J. Wysocki wrote: > On Saturday, September 30, 2017 9:20:28 AM CEST Aubrey Li wrote: >> Record the overhead of idle entry in micro-second >> > > What is this needed for? We need to figure out how long of a idle is a short idle and recording the overhead is for this purp

Re: [PATCH] f2fs: expose some sectors to user in inline data or dentry case

2017-10-15 Thread Chao Yu
On 2017/10/14 1:31, Jaegeuk Kim wrote: > If there's some data written through inline data or dentry, we need to shouw > st_blocks. This fixes reporting zero blocks even though there is small written > data. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks, > --- > fs/f2fs/file.c |

[PATCH 3/3] arm64: dts: realtek: Add MeLE V9

2017-10-15 Thread Andreas Färber
Add an initial Device Tree for MeLE V9 Media Player. Cc: meleserv...@mele.cn Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/Makefile| 1 + arch/arm64/boot/dts/realtek/rtd1295-mele-v9.dts | 31 + 2 files changed, 32 insertions(+) create mode 10

[PATCH 2/3] dt-bindings: arm: realtek: Document MeLE V9

2017-10-15 Thread Andreas Färber
Define a compatible string for MeLE V9 Media Player. Cc: meleserv...@mele.cn Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/realtek.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/realtek.txt b/Documentation/devicetree/bindi

[PATCH 0/3] arm64: dts: Initial MeLE V9 support

2017-10-15 Thread Andreas Färber
Hello, This mini-series adds a Device Tree for the MeLE V9 Android Media Player. Same as with PROBOX2 AVA, serial (loady) was the only working way to boot a new kernel from the vendor's U-Boot on this TV box. More details at: https://en.opensuse.org/HCL:Mele_V9 @MeLE: Please review the followin

[PATCH 1/3] dt-bindings: Add vendor prefix for MeLE

2017-10-15 Thread Andreas Färber
MeLE is a Chinese manufacturer of TV boxes and Mini PCs. Cc: meleserv...@mele.cn Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devi

RE: [PATCH] EDAC, sb_edac: mark expected switch fall-through

2017-10-15 Thread Zhuo, Qiuxu
Hi Silva, The actual intention of the code is NOT to fall through, though current code can work correctly. Thanks for this finding. If you don't mind, I'll submit a fix patch for it with the tag 'Reported-by:' by you. Thanks! - Qiuxu > From: linux-edac-ow...@vger.kernel.org [mailto:lin

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-15 Thread Michael Ellerman
Mathieu Desnoyers writes: > Implements two basic tests of RSEQ functionality, and one more > exhaustive parameterizable test. > > The first, "basic_test" only asserts that RSEQ works moderately > correctly. > E.g. that: > - The CPUID pointer works > - Code infinitely looping within a critical sec

[PATCH] keys, trusted: fix missing support for TPM 2.0 in trusted_update()

2017-10-15 Thread Boshi Wang
Call tpm_seal_trusted() in trusted_update() for TPM 2.0 chips. Signed-off-by: Boshi Wang --- security/keys/trusted.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/security/keys/trusted.c b/security/keys/trusted.c index ddfaebf..563fe5f 100644 --- a/security/keys/

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-15 Thread Michael Ellerman
Mathieu Desnoyers writes: > Implements two basic tests of RSEQ functionality, and one more > exhaustive parameterizable test. > > The first, "basic_test" only asserts that RSEQ works moderately > correctly. > E.g. that: > - The CPUID pointer works > - Code infinitely looping within a critical sec

Re: [RFC PATCH v2 1/8] cpuidle: menu: extract prediction functionality

2017-10-15 Thread Li, Aubrey
On 2017/10/14 8:26, Rafael J. Wysocki wrote: > On Saturday, September 30, 2017 9:20:27 AM CEST Aubrey Li wrote: >> There are several factors in the menu governor to predict the next >> idle interval: >> - the next timer >> - the recent idle interval history >> - the corrected idle interval pattern

Re: [PATCH v8 00/15] Introduce support for Dell SMBIOS over WMI

2017-10-15 Thread Edward O'Callaghan
I like how this series turned out and I think it puts us in a exceedingly better position than the dcdbas path. This series is, Reviewed-by: Edward O'Callaghan On Sat, Oct 14, 2017 at 4:32 PM, Mario Limonciello wrote: > The existing way that the dell-smbios helper module and associated > other

RE: [PATCH] of: overlay: fix memory leak related to duplicated property

2017-10-15 Thread Wang, Alan 1. (NSB - CN/Hangzhou)
Hi Frank, Could I continue to send my patch since conflict with your patches? Or I have to wait for your patches merged? Thanks. -Original Message- From: Frank Rowand [mailto:frowand.l...@gmail.com] Sent: Saturday, October 14, 2017 6:05 AM To: Wang, Alan 1. (NSB - CN/Hangzhou) ; Panteli

[PATCH] drm/via: use ARRAY_SIZE

2017-10-15 Thread Jérémy Lefaure
Using the ARRAY_SIZE macro improves the readability of the code. Found with Coccinelle with the following semantic patch: @r depends on (org || report)@ type T; T[] E; position p; @@ ( (sizeof(E)@p /sizeof(*E)) | (sizeof(E)@p /sizeof(E[...])) | (sizeof(E)@p /sizeof(T)) ) Reviewed-by: Thierry R

[PATCH] drm/nouveau/bios/init: use ARRAY_SIZE

2017-10-15 Thread Jérémy Lefaure
Using the ARRAY_SIZE macro improves the readability of the code. Also, it is useless to re-invent it. Found with Coccinelle with the following semantic patch: @r depends on (org || report)@ type T; T[] E; position p; @@ ( (sizeof(E)@p /sizeof(*E)) | (sizeof(E)@p /sizeof(E[...])) | (sizeof(E)@p

[PATCH] drm/i915/gvt: use ARRAY_SIZE

2017-10-15 Thread Jérémy Lefaure
Using the ARRAY_SIZE macro improves the readability of the code. Also, it's useless to use a variable to store this constant calculated at compile time. Found with Coccinelle with the following semantic patch: @r depends on (org || report)@ type T; T[] E; position p; @@ ( (sizeof(E)@p /sizeof(*E)

[PATCH] drm/gma500: use ARRAY_SIZE

2017-10-15 Thread Jérémy Lefaure
Using the ARRAY_SIZE macro improves the readability of the code. Also, it is useless to re-invent it. Found with Coccinelle with the following semantic patch: @r depends on (org || report)@ type T; T[] E; position p; @@ ( (sizeof(E)@p /sizeof(*E)) | (sizeof(E)@p /sizeof(E[...])) | (sizeof(E)@p

[PATCH] drm/amdgpu: use ARRAY_SIZE

2017-10-15 Thread Jérémy Lefaure
Using the ARRAY_SIZE macro improves the readability of the code. Found with Coccinelle with the following semantic patch: @r depends on (org || report)@ type T; T[] E; position p; @@ ( (sizeof(E)@p /sizeof(*E)) | (sizeof(E)@p /sizeof(E[...])) | (sizeof(E)@p /sizeof(T)) ) Reviewed-by: Thierry R

RE: [PATCH 1/2] of: overlay: fix memory leak related to duplicated property

2017-10-15 Thread Wang, Alan 1. (NSB - CN/Hangzhou)
Hi Frank, This only has one patch, and I was sent out this by mistake. Please skip this one and refer to my following subject "[PATCH] of: overlay: fix memory leak related to duplicated property" https://lkml.org/lkml/2017/10/12/952 Thanks -Original Message- From: Frank Rowand [mailto

CONFIG_DMA_NOOP_OPS breaks ARM arch

2017-10-15 Thread Marian Mihailescu
After commit 7844572c633964c864d9f32dc3f2a8ffe5d70371, dma_noop_ops are built only for architectures that use it. For ARM architecture, CONFIG_DMA_NOOP_OPS is not selected, and cannot be selected. However, arch/arm/include/asm/dma-mapping.h is referencing dma_noop_ops: static inline const struct

[PATCH resend 1/1] Input: add support for HiDeep touchscreen

2017-10-15 Thread Anthony Kim
The HiDeep touchscreen device is a capacitive multi-touch controller mainly for multi-touch supported devices use. It use I2C interface for communication to IC and provide axis X, Y, Z locations for ten finger touch through input event interface to userspace. It support the Crimson and the Lime tw

[PATCH resend 0/1] Input: add support for HiDeep touchscreen.

2017-10-15 Thread Anthony Kim
Hi, I remake patch file as base on last commit of next branch and resend patch file. Please review this. My last mail as below. http://www.spinics.net/lists/linux-input/msg53312.html Thanks. Anthony. Anthony Kim (1): Input: add support for HiDeep touchscreen .../bindings/input/touchscreen/h

Re: [PATCH 0/3] add %pX specifier

2017-10-15 Thread Tobin Harding
On Sat, Oct 14, 2017, at 04:54, Roberts, William C wrote: > > > > -Original Message- > > From: linus...@gmail.com [mailto:linus...@gmail.com] On Behalf Of Linus > > Torvalds > > Sent: Tuesday, October 10, 2017 4:17 PM > > To: Tobin C. Harding > > Cc: kernel-harden...@lists.openwall.com;

Re: [tip:locking/urgent] locking/lockdep: Disable cross-release features for now

2017-10-15 Thread Byungchul Park
On Sat, Oct 14, 2017 at 04:36:51AM -0700, tip-bot for Ingo Molnar wrote: > Commit-ID: b483cf3bc249d7af706390efa63d6671e80d1c09 > Gitweb: > https://git.kernel.org/tip/b483cf3bc249d7af706390efa63d6671e80d1c09 > Author: Ingo Molnar > AuthorDate: Sat, 14 Oct 2017 09:26:59 +0200 > Committer:

Re: Linux & FAT32 label

2017-10-15 Thread Andreas Bombe
On Thu, Oct 12, 2017 at 10:49:31PM +0200, Pali Rohár wrote: > On Thursday 12 October 2017 12:13:11 Karel Zak wrote: > > On Thu, Oct 12, 2017 at 11:21:13AM +0200, Pali Rohár wrote: > > > > The best for me is to keep blkid output backwardly compatible as much > > > > as possible :-) > > > > > > Back

Re: Linux & FAT32 label

2017-10-15 Thread Andreas Bombe
On Mon, Oct 16, 2017 at 12:04:50AM +0200, Pali Rohár wrote: > On Sunday 15 October 2017 08:59:01 Pavel Machek wrote: > > Hi! > > > > > Based on results I would propose following unification: > > > > > ... > > > 4. Prefer label from the root directory. If there is none entry (means > > >there

Re: [f2fs-dev] [PATCH] f2fs: avoid stale fi->gdirty_list pointer

2017-10-15 Thread Chao Yu
On 2017/10/13 10:14, Jaegeuk Kim wrote: > When doing fault injection test, f2fs_evict_inode() didn't remove gdirty_list > which incurs a kernel panic due to wrong pointer access. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Minor thing, how about reverting judgment condition for readabi

Re: [PATCH net-next 0/2] Add mqprio hardware offload support in hns3 driver

2017-10-15 Thread Yunsheng Lin
Hi, Yuval On 2017/10/15 16:51, Yuval Mintz wrote: > This patchset adds a new hardware offload type in mqprio before >> adding > mqprio hardware offload support in hns3 driver. > > Apparently Dave has already accepted Amirtha's changes to mqprio: > https://marc.info/?l=linux-netdev&m=1508

Re: [PATCH] f2fs: return error number for quota_write

2017-10-15 Thread Chao Yu
Hi Jaegeuk, On 2017/10/13 7:15, Jaegeuk Kim wrote: > This patch returns an error number to quota_write in order for quota to handle > it correctly. We should return error number like __generic_file_write_iter, right? it needs to return written bytes if we have written one page or more, otherwise

[PATCH v6 01/12] mmc: dt-bindings: Add reg/source_cg/latch-ck for Mediatek MMC bindings

2017-10-15 Thread Chaotian Jing
Change the comptiable for support of multi-platform Make compatible explicit, as MMC host of mt8173 has difference with mt8135(mt8173 supports hs400 and hs400_tune),so that need separate mt8173/mt8135 compatible name. Add description for reg Add description for source_cg Add description for mediate

[PATCH v6 05/12] mmc: mediatek: add pad_tune0 support

2017-10-15 Thread Chaotian Jing
from mt2701, the register of PAD_TUNE has been phased out, while there is a new register of PAD_TUNE0 Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 51 ++- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/drivers/mmc/host/

[PATCH v6 08/12] mmc: mediatek: add stop_clk fix and enhance_rx support

2017-10-15 Thread Chaotian Jing
mt2712 supports stop_clk fix and enhance_rx, which can improve host stability. Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 47 +++ 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/h

[PATCH v6 06/12] mmc: mediatek: add async fifo and data tune support

2017-10-15 Thread Chaotian Jing
mt2701/mt2712 supports async fifo & data tune, which can improve host stability. Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 52 +-- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc

[PATCH v6 04/12] mmc: mediatek: make hs400_tune_response only for mt8173

2017-10-15 Thread Chaotian Jing
the origin design of hs400_tune_response is for mt8173 because of mt8173 has a special design. for doing that, we add a new member "compatible", by now it's only for mt8173. Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(

Re: [PATCH] x86: convert x86_platform_ops to timespec64

2017-10-15 Thread kbuild test robot
Hi Arnd, [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.14-rc5 next-20171013] [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/Arnd-Bergmann/x86-convert-x86_platform_ops-to-t

Linux 4.14-rc5

2017-10-15 Thread Linus Torvalds
Things seem to be finally starting to calm down for 4.14. We've certainly had smaller rc5's, but we've had bigger ones too, and this week finally felt fairly normal in a release that has up until now felt a bit messier than it perhaps should have been. So assuming this trend holds, we're all good

[PATCH v6 11/12] mmc: mediatek: improve eMMC hs400 mode read performance

2017-10-15 Thread Chaotian Jing
enlarge outstanding value to improve read performance Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index d75a93d..95759bb 100644 --- a/drivers/mmc/host/mtk-sd.c +++ b/

[PATCH v6 12/12] mmc: mediatek: perfer to use rise edge latching for cmd line

2017-10-15 Thread Chaotian Jing
data lines have applied to perfer to use rise edge, also need apply it to cmd line. Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index 95759bb..27a6225 100644

[PATCH v6 09/12] mmc: mediatek: add support of source_cg clock

2017-10-15 Thread Chaotian Jing
source clock need an independent cg to control, when doing clk mode switch, need gate source clock to avoid hw issue(multi-bit sync hw hang) Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/driv

[PATCH v6 07/12] mmc: mediatek: add busy_check support

2017-10-15 Thread Chaotian Jing
bit7 of PATCH_BIT1 has different meaning in new design, to compatible with previous platform, clear this bit in new platform. Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.

  1   2   3   >