linux-next: manual merge of the akpm-current tree with the tip tree

2017-08-21 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: init/main.c between commit: caba4cbbd27d ("debugobjects: Make kmemleak ignore debug objects") from the tip tree and commit: 50a7dc046b58 ("mm, page_ext: move page_ext_init() after page_alloc_init_late()")

Re: [PATCH 3/3] media: atmel-isc: Add more format configurations

2017-08-21 Thread Hans Verkuil
On 08/17/2017 09:16 AM, Wenyou Yang wrote: > Add the configuration of formats: GREY, ARGB444, ARGB555 and ARGB32. > > Signed-off-by: Wenyou Yang > --- > > drivers/media/platform/atmel/atmel-isc.c | 22 -- > 1 file changed, 20 insertions(+), 2 deletions(-) > > diff --git a/d

linux-next: manual merge of the akpm-current tree with the parisc-hd tree

2017-08-21 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: arch/parisc/include/uapi/asm/mman.h between commit: 1c190151447d ("parisc: Add MADV_HWPOISON and MADV_SOFT_OFFLINE") from the parisc-hd tree and commit: 115d20ededaf ("mm,fork: introduce MADV_WIPEONFORK") f

Re: [PATCH 2/2] scsi: Preserve retry counter through scsi_prep_fn

2017-08-21 Thread h...@lst.de
On Mon, Aug 21, 2017 at 05:14:00PM -0500, Brian King wrote: > Save / restore the retry counter in scsi_cmd in scsi_init_command. > This allows us to go back through scsi_init_command for retries > and not forget we are doing a retry. So where will we initialize it to zero now?

Re: [PATCH 1/2] scsi: Move scsi_cmd->jiffies_at_alloc initialization to allocation time

2017-08-21 Thread h...@lst.de
On Mon, Aug 21, 2017 at 05:13:20PM -0500, Brian King wrote: > Move the initialization of scsi_cmd->jiffies_at_alloc to allocation > time rather than prep time. Also ensure that jiffies_at_alloc > is preserved when we go through prep. This lets us send retries > through prep again and not break the

linux-next: build warnings after merge of the spi tree

2017-08-21 Thread Stephen Rothwell
Hi all, After merging the spi tree, today's linux-next build (powerpc allyesconfig) produced these warnings: drivers/spi/spi-imx.c: In function 'spi_imx_buf_rx_swap_u32': drivers/spi/spi-imx.c:284:15: warning: unused variable 'bytes_per_word' [-Wunused-variable] unsigned int bytes_per_word;

RE: [PATCH] RFC: hung task: Check specific tasks for long uninterruptible sleep state

2017-08-21 Thread Zhang, Shile (NSB - CN/Hangzhou)
Hi, Imran, Seems the alternatively approach is better than former. But sorry, I still think, like this kind of "monitoring", its better/easy to mark some "privileged task" not be monitored, but not list the one should be monitored. Because It's easy to know which task should NOT be monitored (f

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-08-21 Thread Hans Verkuil
On 08/22/2017 05:01 AM, Yong wrote: > Hi Hans, > > On Mon, 21 Aug 2017 16:37:41 +0200 > Hans Verkuil wrote: > >> Hi Yong, >> >> First two high-level comments before I start the review: >> >> 1) Can you provide the v4l2-compliance output? I can't merge this unless I >>see that it passes the c

Re: [PATCH 0/2] Allow scsi_prep_fn to occur for retried commands

2017-08-21 Thread Abdul Haleem
On Mon, 2017-08-21 at 17:11 -0500, Brian King wrote: > The following two patches address the hang issue being observed > with Bart's patch on powerpc. The first patch moves the initialization > of jiffies_at_alloc from scsi_init_command to scsi_init_rq, and ensures > we don't zero jiffies_at_alloc

[PATCH v3] mfd: Add support for RTS5250S power saving

2017-08-21 Thread rui_feng
From: Rui Feng Signed-off-by: Rui Feng --- drivers/mfd/rts5249.c| 195 drivers/mfd/rtsx_pcr.c | 205 +-- drivers/mfd/rtsx_pcr.h | 11 +++ include/linux/mfd/rtsx_pci.h | 60 + 4 fil

[PATCH] net: ftgmac100: Fix oops in probe on failure to find associated PHY

2017-08-21 Thread Andrew Jeffery
netif_napi_del() should be paired with netif_napi_add(), however no such call takes place in ftgmac100_probe(). This triggers a NULL pointer dereference if e.g. no PHY is found by the MDIO probe: [ 2.77] libphy: Fixed MDIO Bus: probed [ 2.77] ftgmac100 1e66.ethernet:

[PATCH v4 net-next] arm: eBPF JIT compiler

2017-08-21 Thread Shubham Bansal
The JIT compiler emits ARM 32 bit instructions. Currently, It supports eBPF only. Classic BPF is supported because of the conversion by BPF core. This patch is essentially changing the current implementation of JIT compiler of Berkeley Packet Filter from classic to internal with almost all instruc

Re: [PATCH] ptp: make ptp_clock_info const

2017-08-21 Thread Bhumika Goyal
On Tue, Aug 22, 2017 at 11:57 AM, Richard Cochran wrote: > On Mon, Aug 21, 2017 at 11:01:12PM +0530, Bhumika Goyal wrote: >> File ptp_ixp46x.c is not tested as I could not find any architecture >> to cross compile it. > > No problem. Thanks for test compiling the other drivers. > By testing I me

Re: [PATCH] i2c: mux: i2c-arb-gpio-challenge: allow compiling w/o OF support

2017-08-21 Thread Peter Rosin
On 2017-08-02 11:32, Peter Rosin wrote: > It simplifies some tests. > > Signed-off-by: Peter Rosin Applied to i2c-mux/for-next Cheers, peda

Re: [PATCH] i2c: Documentation: i2c-topology: mention recent driver additions

2017-08-21 Thread Peter Rosin
On 2017-08-02 11:50, Peter Rosin wrote: > Specifically mention what drivers are mux-locked and parent-locked. > > Signed-off-by: Peter Rosin Applied to i2c-mux/for-next Cheers, peda

Re: [PATCH] drm: virtio: constify drm_fb_helper_funcs

2017-08-21 Thread Daniel Vetter
On Mon, Aug 21, 2017 at 04:37:32PM +0530, Arvind Yadav wrote: > drm_fb_helper_funcs are not supposed to change at runtime. > All functions working with drm_fb_helper_funcs provided > by work with const drm_fb_helper_funcs. > So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav

Re: 4.13.0-rc4 sparc64: can't allocate MSI-X affinity masks for 2 vectors

2017-08-21 Thread Christoph Hellwig
On Mon, Aug 21, 2017 at 01:35:49PM -0700, David Miller wrote: > I ask because the commit log message indicates that this failure is > not expected to ever happen on SMP. I fear my commit message (but not the code) might be wrong. irq_create_affinity_masks can return NULL any time we don't have any

[PATCH v4 net-next] arm: eBPF JIT compiler

2017-08-21 Thread Shubham Bansal
The JIT compiler emits ARM 32 bit instructions. Currently, It supports eBPF only. Classic BPF is supported because of the conversion by BPF core. This patch is essentially changing the current implementation of JIT compiler of Berkeley Packet Filter from classic to internal with almost all instruc

[PATCH net-next v4] arm: eBPF JIT compiler

2017-08-21 Thread Shubham Bansal
The JIT compiler emits ARM 32 bit instructions. Currently, It supports eBPF only. Classic BPF is supported because of the conversion by BPF core. This patch is essentially changing the current implementation of JIT compiler of Berkeley Packet Filter from classic to internal with almost all instruc

Re: [PATCH v5 00/16] Add QCOM QPIC NAND support

2017-08-21 Thread Abhishek Sahu
On 2017-08-22 01:45, Boris Brezillon wrote: Le Thu, 17 Aug 2017 17:37:38 +0530, Abhishek Sahu a écrit : * v5: 1. Removed the patches already applied to linux-next and rebased the remaining patches on [3] 2. Addressed the review comments in v4 and Added Archit Reviewed by tag. [3] http:

Re: [PATCH 0/3] constify drm i2c_device_id

2017-08-21 Thread Daniel Vetter
On Sat, Aug 19, 2017 at 11:58:17PM +0530, Arvind Yadav wrote: > i2c_device_id are not supposed to change at runtime. All functions > working with i2c_device_id provided by work with > const i2c_device_id. So mark the non-const structs as const. All applied. btw I think this isn't your first seri

[PATCH net-next v4] arm: eBPF JIT compiler

2017-08-21 Thread Shubham Bansal
The JIT compiler emits ARM 32 bit instructions. Currently, It supports eBPF only. Classic BPF is supported because of the conversion by BPF core. This patch is essentially changing the current implementation of JIT compiler of Berkeley Packet Filter from classic to internal with almost all instruc

Re: [PATCH] storvsc: do not assume SG list is continuous when doing bounce buffers (for 4.1 stable only)

2017-08-21 Thread Christoph Hellwig
Wouldn't it make sense to backport the changes to set the virt_boundary (which probably still is the SG_GAPS flag in such an old kernel)?

Re: [PATCH] ptp: make ptp_clock_info const

2017-08-21 Thread Richard Cochran
On Mon, Aug 21, 2017 at 11:01:12PM +0530, Bhumika Goyal wrote: > File ptp_ixp46x.c is not tested as I could not find any architecture > to cross compile it. No problem. Thanks for test compiling the other drivers. Acked-by: Richard Cochran

[RESEND PATCH 3/3] mux: zap mux- prefix from the source files

2017-08-21 Thread Peter Rosin
Preserve the module names with Makefile additions. Signed-off-by: Peter Rosin --- drivers/mux/Makefile | 5 + drivers/mux/{mux-adg792a.c => adg792a.c} | 0 drivers/mux/{mux-core.c => core.c} | 0 drivers/mux/{mux-gpio.c => gpio.c} | 0 drivers/mux/{mux-mmio.c

[RESEND PATCH 2/3] mux: include compiler.h from mux/consumer.h

2017-08-21 Thread Peter Rosin
From: Ulrich Hecht Required for __must_check. Signed-off-by: Ulrich Hecht Signed-off-by: Peter Rosin --- include/linux/mux/consumer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mux/consumer.h b/include/linux/mux/consumer.h index 5577e1b773c4..ea96d4c82be7 100644 --- a

[RESEND PATCH 0/3] mux: patches for 4.14

2017-08-21 Thread Peter Rosin
Hi Greg! I sent these individually a couple of weeks ago, and do not know if you forgot about them or simply haven't gotten to them yet. I know that by now it's close to the merge window, but this is trivial stuff. I'm resending as a series, because I think that might be easier for you? Cheers, P

[RESEND PATCH 1/3] mux: convert to using %pOF instead of full_name

2017-08-21 Thread Peter Rosin
From: Rob Herring Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Signed-off-by: Peter Rosin --- drivers/mux/mux-core.c | 12 ++--

[PATCH] mfd: Add support for TI LMP92001

2017-08-21 Thread s . abhisit
From: Abhisit Sangjan TI LMP92001 Analog System Monitor and Controller 8-bit GPIOs. 12 DACs with 12-bit resolution. The GPIOs and DACs are shared port function with Cy function pin to take control the pin suddenly from external hardware. DAC's referance voltage selectable for Internal/External.

[PATCH] ARM: omap1: add const and initconst to omap_lcd_config

2017-08-21 Thread Bhumika Goyal
Make these const as they are only passed to a const argument of the function omapfb_set_lcd_config. Also, replace __initdata with __initconst to avoid section conflict error. Done using Coccinelle. @match disable optional_qualifier@ identifier s; @@ static struct omap_lcd_config s = {...}; @ref@

Re: [PATCH] net: ethernet: make ptp_clock_info const

2017-08-21 Thread Richard Cochran
On Mon, Aug 21, 2017 at 10:36:50PM +0530, Bhumika Goyal wrote: > Make these const as they are only used in a copy operation. > Done using Coccinelle. Acked-by: Richard Cochran

Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket

2017-08-21 Thread Richard Cochran
On Mon, Aug 21, 2017 at 06:22:10PM +, Vallish Vaidyeshwara wrote: > AWS Lambda is affected by this change in behavior in > system call. Following links has more information: > https://en.wikipedia.org/wiki/AWS_Lambda Quote: Unlike Amazon EC2, which is priced by the hour, AWS Lambda is

Re: [PATCH v2] membarrier: Document scheduler barrier requirements

2017-08-21 Thread Paul E. McKenney
On Mon, Aug 21, 2017 at 10:42:36AM +0200, Peter Zijlstra wrote: > On Fri, Aug 18, 2017 at 09:39:16PM -0700, Mathieu Desnoyers wrote: > > @@ -3295,6 +3301,9 @@ static void __sched notrace __schedule(bool preempt) > > * Make sure that signal_pending_state()->signal_pending() below > > * can

[PATCH 3/3] ARM: dts: sun8i: Add board dts file for Banana Pi M2 Berry

2017-08-21 Thread Icenowy Zheng
The Banana Pi M2 Ultra is an SBC based on the Allwinner V40 SoC (same as the R40 SoC). The form factor is similar to the Raspberry Pi series. It features: - X-Powers AXP221s PMIC connected to i2c0 - 1GiB DDR3 DRAM - microSD slot - MicroUSB Type-B port for power and connected to usb0 - HDMI output

[PATCH 1/3] ARM: dts: sun8i: Add basic dtsi file for Allwinner R40

2017-08-21 Thread Icenowy Zheng
From: Chen-Yu Tsai The Allwinner R40 SoC is marketed as the successor to the A20 SoC. The R40 is a smaller chip than the A20, but features the same set of programmable pins, with a couple extra pins and some new pin functions. The chip features 4 Cortex-A7 cores and a Mali-400 MP2 GPU. It retains

[PATCH 2/3] ARM: dts: sun8i: Add board dts file for Banana Pi M2 Ultra

2017-08-21 Thread Icenowy Zheng
From: Chen-Yu Tsai The Banana Pi M2 Ultra is an SBC based on the Allwinner R40 SoC. The form factor and position of various connectors, leds and buttons is similar to the Banana Pi M1+, Banana Pi M3, and is exactly the same as the latest Banana Pi M64. It features: - X-Powers AXP221s PMIC con

RE: [PATCH v3 07/11] ARC: [plat-eznps] new command line argument for HW scheduler at MTM

2017-08-21 Thread Noam Camus
>From: Vineet Gupta [mailto:vineet.gup...@synopsys.com] >Sent: Monday, August 21, 2017 20:04 PM >> + >> +/* Handle an out of bounds mtm hs counter value */ static void __init >> +handle_mtm_hs_ctr_out_of_bounds_error(uint8_t val) { >> +pr_err("** The value must be in range [%d,%d] (inclu

Re: [PATCH] RFC: hung task: Check specific tasks for long uninterruptible sleep state

2017-08-21 Thread Imran Khan
On 8/22/2017 7:24 AM, Zhang, Shile (NSB - CN/Hangzhou) wrote: > Hi, Imran, > Hi Shile, Thanks for getting back on this. > I think a "unmonitored list" is better than "monitor list", because we want > khungtaskd can find out the "unexpected" hung task, but not few in a list. > Then, for the fg ta

[PATCH next 2/2] phy: phy-mtk-tphy: add set_mode callback

2017-08-21 Thread Chunfeng Yun
This is used to force PHY with USB OTG function to enter a specific mode, and override OTG VBUS and ID signals. Signed-off-by: Chunfeng Yun --- drivers/phy/mediatek/phy-mtk-tphy.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/drivers/phy/mediatek/phy-

[PATCH next 1/2] phy: phy-mtk-tphy: fix NULL point of chip bank

2017-08-21 Thread Chunfeng Yun
Chip bank of version-1 is initialized as NULL, but it's used by pcie_phy_instance_power_on/off(), so assign it a right address. Signed-off-by: Chunfeng Yun --- drivers/phy/mediatek/phy-mtk-tphy.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/phy/mediatek/phy-mt

Re: 32-bit powerpc, aty128fb: vmap allocation for size 135168 failed

2017-08-21 Thread Michael Ellerman
Meelis Roos writes: >> Meelis Roos writes: >> >> > I was trying 4.13.0-rc5-00075-gac9a40905a61 on my PowerMac G4 with 1G >> > RAM and after some time of sddm respawning and X trying to restart, >> > dmesg is full of messages about vmap allocation failures. >> >> Did it just start happening?

Re: [PATCH 04/18] rpmsg: glink: Move the common glink protocol implementation to glink_native.c

2017-08-21 Thread Arun Kumar Neelakantam
On 8/16/2017 10:48 PM, Sricharan R wrote: + +struct glink_msg { + __le16 cmd; + __le16 param1; + __le32 param2; + u8 data[]; +} __packed; why we are using extra u8 data[] member here ? + +/** + * struct glink_defer_cmd - deferred incoming control message + * @node:

[PATCH 1/3] mfd: Add support for Cherry Trail Dollar Cove TI PMIC

2017-08-21 Thread Takashi Iwai
This patch adds the MFD driver for Dollar Cove TI PMIC (ACPI INT33F5) that is found on some Intel Cherry Trail devices. The driver is based on the original work by Intel, found at: https://github.com/01org/ProductionKernelQuilts This is a minimal version for adding the basic resources. Currentl

[PATCH 2/3] input/keyboard: Add support for Dollar Cove TI power button

2017-08-21 Thread Takashi Iwai
This provides a new input driver for supporting the power button on Dollar Cove TI PMIC, found on Cherrytrail-based devices. The patch is based on the original work by Intel, found at: https://github.com/01org/ProductionKernelQuilts Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=193891 Si

[PATCH 0/3] Dollar Cove TI PMIC support for Intel Cherry Trail

2017-08-21 Thread Takashi Iwai
Hi, this is a patch set to add the support for Dollar Cove TI PMIC found on some Intel Cherry Trail laptops / tablets. All drivers are based on the original code from Intel downstream patches, with lots of rewrites and cleanups. MFD driver is implemented as a stand-alone like a few other variant

Re: linux-next: manual merge of the tip tree with the iommu tree

2017-08-21 Thread Baoquan He
Hi Stephen, On 08/22/17 at 01:50pm, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the tip tree got conflicts in: > > drivers/iommu/amd_iommu.c > drivers/iommu/amd_iommu_init.c > drivers/iommu/amd_iommu_proto.h > drivers/iommu/amd_iommu_types.h > > between commits: >

[PATCH 3/3] ACPI / PMIC: Add opregion driver for Intel Dollar Cove TI PMIC

2017-08-21 Thread Takashi Iwai
This patch adds the opregion driver for Dollar Cove TI PMIC on Intel Cherry Trail devices. The patch is based on the original work by Intel, found at: https://github.com/01org/ProductionKernelQuilts with many cleanups and rewrites. The driver is currently provided only as built-in to follow

Re: [PATCH v8 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-08-21 Thread Byungchul Park
On Mon, Aug 21, 2017 at 03:07:57PM +0100, Juri Lelli wrote: > > Consider a 4 core, SMT2 system: > > > > LLC [0 - 7] > > > > SMT [0,1] [2,3] [4,5] [6,7] > > > > If we do a wake-up on CPU0, we'll find CPU1, mark that as fallback, > > continue up the domain tree, exclude 0,1 from 0-

Re: [PATCH v8 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-08-21 Thread Byungchul Park
On Mon, Aug 21, 2017 at 02:44:58PM +0100, Juri Lelli wrote: > Hi, > On 18/08/17 17:21, Byungchul Park wrote: > > It would be better to try to check other siblings first if > > SD_PREFER_SIBLING is flaged when pushing tasks - migration. > > > > Signed-off-by: Byungchul Park > > Mmm, this looks li

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-21 Thread Dave Chinner
On Mon, Aug 21, 2017 at 05:46:00PM +0200, Peter Zijlstra wrote: > > > Booting the very latest -tip on my test machine gets me the below splat. > > Dave, TJ, FYI, lockdep grew annotations for completions; it remembers > which locks were taken before we complete() and checks none of those are > he

Re: linux-next: manual merge of the l2-mtd tree with the kbuild-current tree

2017-08-21 Thread Masahiro Yamada
Hi Boris, 2017-08-22 14:37 GMT+09:00 Boris Brezillon : > Le Tue, 22 Aug 2017 11:56:14 +1000, > Stephen Rothwell a écrit : > >> Hi Brian, >> >> Today's linux-next merge of the l2-mtd tree got a conflict in: >> >> include/asm-generic/vmlinux.lds.h >> >> between commit: >> >> cb87481ee89d ("kbu

Re: qustion about eeh_add_virt_device

2017-08-21 Thread Russell Currey
On Sun, 2017-08-13 at 16:54 +0200, Julia Lawall wrote: > Hello, Hello, sorry for the delayed response. > > At the suggestion of Christoph Hellwig, I am working on inlining the > functions stored in the err_handler field of a pci_driver structure into > the pci_driver structure itself. A number

Re: linux-next: manual merge of the l2-mtd tree with the kbuild-current tree

2017-08-21 Thread Boris Brezillon
Le Tue, 22 Aug 2017 11:56:14 +1000, Stephen Rothwell a écrit : > Hi Brian, > > Today's linux-next merge of the l2-mtd tree got a conflict in: > > include/asm-generic/vmlinux.lds.h > > between commit: > > cb87481ee89d ("kbuild: linker script do not match C names unless > LD_DEAD_CODE_DATA

linux-next: build failure after merge of the slave-dma tree

2017-08-21 Thread Stephen Rothwell
Hi Vinod, After merging the slave-dma tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from drivers/dma/dmaengine.h:9:0, from drivers/dma/altera-msgdma.c:27: drivers/dma/altera-msgdma.c: In function 'msgdma_probe': drivers/dma/altera-msgdma.

[PATCH] storvsc: do not assume SG list is continuous when doing bounce buffers (for 4.1 stable only)

2017-08-21 Thread Long Li
From: Long Li This patch is for linux-stable 4.1 branch only. storvsc checks the SG list for gaps before passing them to Hyper-v device. If there are gaps, data is copied to a bounce buffer and a continuous data buffer is passed to Hyper-V. The check on gaps assumes SG list is continuous, and n

[PATCH v2 3/3] ARM: sunxi: add support for R40 SoC

2017-08-21 Thread Icenowy Zheng
Allwinner R40 is a new SoC, with Quad Core Cortex-A7 and peripherals like A20. Add support for it. Signed-off-by: Icenowy Zheng --- Changes in v2: - Fix alphabetical orders. Documentation/arm/sunxi/README | 6 ++ Documentation/devicetree/bindings/arm/sunxi.txt | 1 + arch/

[PATCH v2 2/3] ARM: sunxi: fix the core number of V3s in sunxi README

2017-08-21 Thread Icenowy Zheng
The Allwinner V3s SoC is not quad-core, but single-core. Fix this in the README file. Fixes: b074fede01c0 ("arm: sunxi: add support for V3s SoC") Signed-off-by: Icenowy Zheng --- Documentation/arm/sunxi/README | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Document

Re: [PATCH v2 2/3] i2c: davinci: Add PM Runtime Support

2017-08-21 Thread Sekhar Nori
On Tuesday 22 August 2017 06:47 AM, Franklin S Cooper Jr wrote: > > > On 08/21/2017 04:05 AM, Sekhar Nori wrote: >> On Thursday 17 August 2017 03:47 AM, Franklin S Cooper Jr wrote: >> >>> @@ -802,7 +821,6 @@ static int davinci_i2c_probe(struct platform_device >>> *pdev) >>> dev->clk = devm_c

[PATCH v2 1/3] dt-bindings: add compatible string for Allwinner V3s SoC

2017-08-21 Thread Icenowy Zheng
The compatible string for Allwinner V3s SoC used to be missing. Add it to the binding document. Fixes: b074fede01c0 ("arm: sunxi: add support for V3s SoC") Signed-off-by: Icenowy Zheng --- Documentation/devicetree/bindings/arm/sunxi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Docume

Re: [PATCH 4/4] staging: iio: tsl2x7x: constify i2c_device_id

2017-08-21 Thread Arvind Yadav
Hi On Tuesday 22 August 2017 01:50 AM, Dan Carpenter wrote: Don't say "[PATCH 4/4]". It's not a patchset or a part of an email thread. Yes, It's part of these patchset. [PATCH 1/4] misc: apds9802als: constify i2c_device_id [PATCH 2/4] misc: hmc6352: constify i2c_device_id [PATCH 3/4] mi

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-21 Thread Byungchul Park
On Mon, Aug 21, 2017 at 05:46:00PM +0200, Peter Zijlstra wrote: > Now given the above observance rule and the fact that the below report > is from the complete, the thing that happened appears to be: > > > lockdep_map_acquire(&work->lockdep_map) > down_write(&A) > >

Re: [PATCH 2/2] ARM: sunxi: add support for R40 SoC

2017-08-21 Thread icenowy
在 2017-08-21 17:34,Maxime Ripard 写道: Hi, On Sun, Aug 20, 2017 at 01:29:57PM +0800, Icenowy Zheng wrote: Allwinner R40 is a new SoC, with Quad Core Cortex-A7 and peripherals like A20. Add support for it. Signed-off-by: Icenowy Zheng --- Documentation/arm/sunxi/README | 6 +++

Re: [PATCH v2 2/5] powerpc: pseries: vio: match parent nodes with of_find_node_by_path

2017-08-21 Thread Michael Ellerman
Rob Herring writes: > In preparation to remove the full path from device_node.full_name, use > of_find_node_by_path instead of open coding with strcmp. > > Signed-off-by: Rob Herring > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > Cc: linuxppc-...@lists.ozlabs.org >

Re: [RFC v1 4/6] platform: x86: Add generic Intel IPC driver

2017-08-21 Thread sathya
Hi Andy, On 08/18/2017 05:38 AM, Andy Shevchenko wrote: On Tue, Aug 1, 2017 at 9:13 PM, wrote: From: Kuppuswamy Sathyanarayanan Currently intel_scu_ipc.c, intel_pmc_ipc.c and intel_punit_ipc.c redundantly implements the same IPC features and has lot of code duplication between them. This dr

linux-next: build warning after merge of the phy-next tree

2017-08-21 Thread Stephen Rothwell
Hi Kishon, After merging the phy-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/phy/ralink/phy-ralink-usb.c: In function 'ralink_usb_phy_probe': drivers/phy/ralink/phy-ralink-usb.c:195:13: warning: cast from pointer to integer of different size [-Wpointe

Re: [RFC v1 2/6] platform/x86: intel_pmc_ipc: Use devm_* calls in driver probe

2017-08-21 Thread sathya
Hi, On 08/18/2017 05:24 AM, Andy Shevchenko wrote: On Tue, Aug 1, 2017 at 9:13 PM, wrote: From: Kuppuswamy Sathyanarayanan This patch cleans up unnecessary free/alloc calls in this driver by using devm_* calls. static int ipc_plat_remove(struct platform_device *pdev) { - struct re

Re: [GIT PULL] phy: for 4.14

2017-08-21 Thread Kishon Vijay Abraham I
Hi Greg, On Monday 21 August 2017 06:15 PM, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the phy pull request for 4.14 merge window below. > > It adds a new USB phy driver for Ralink SoC, add support for PCIe and > SATA PHY in phy-mt65xx-usb3 driver, add support for allwinner A83T >

Re: [RFC v1 3/6] platform/x86: intel_pmc_ipc: Use MFD framework to create dependent devices

2017-08-21 Thread sathya
Hi Andy, On 08/18/2017 05:29 AM, Andy Shevchenko wrote: On Tue, Aug 1, 2017 at 9:13 PM, wrote: Currently, we have lot of repetitive code in dependent device resource allocation and device creation handling code. This logic can be improved if we use MFD framework for dependent device creation

Re: 4.13.0-rc4 sparc64: can't allocate MSI-X affinity masks for 2 vectors

2017-08-21 Thread Meelis Roos
> > >> I think with this patch from -rc6 the symptoms should be cured: > >> > >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c005390374957baacbc38eef96ea360559510aa7 > >> > >> if that theory is right. > > > > The result with 4.13-rc6 is positive but mixed: the

Re: [RFC v1 1/6] platform/x86: intel_pmc_ipc: Fix error handling in ipc_pci_probe()

2017-08-21 Thread sathya
Hi Andy, On 08/18/2017 05:22 AM, Andy Shevchenko wrote: On Tue, Aug 1, 2017 at 9:13 PM, wrote: From: Kuppuswamy Sathyanarayanan This patch adds proper error handling for failure cases in ipc_pci_probe() function. Signed-off-by: Kuppuswamy Sathyanarayanan --- drivers/platform/x86/intel_

[GIT PULL v2] phy: for 4.14

2017-08-21 Thread Kishon Vijay Abraham I
Hi Greg, Stephen Rothwell reported a issue with my previous pull request w.r.t missing Signed-off-by committer. I've fixed that in this pull request. It adds a new USB phy driver for Ralink SoC, add support for PCIe and SATA PHY in phy-mt65xx-usb3 driver, add support for allwinner A83T USB PHY an

Re: [PATCH 2/2] sched/fair: Fix use of NULL with find_idlest_group

2017-08-21 Thread Joel Fernandes
Hi Peter, On Mon, Aug 21, 2017 at 2:14 PM, Peter Zijlstra wrote: > On Mon, Aug 21, 2017 at 04:21:28PM +0100, Brendan Jackman wrote: >> The current use of returning NULL from find_idlest_group is broken in >> two cases: >> >> a1) The local group is not allowed. >> >>In this case, we currently

Re: [PATCH v4 1/9] ASoC: rt5514: Avoid legacy dai naming

2017-08-21 Thread jeffy
Hi Mark, thanks for your reply. On 08/22/2017 01:31 AM, Mark Brown wrote: On Fri, Aug 18, 2017 at 11:03:46PM +0800, jeffy wrote: when using legacy dai naming, the dai->name for rt5514-spi would be the dev name, which is spi2.0 with my local 4.4 kernel, and would be spi32765.0 with upstream ke

Re: [PATCH v5 0/4] Add support for ThunderX2 pmu events using json files

2017-08-21 Thread Ganapatrao Kulkarni
Hi Arnaldo, Will, are there any comments on this series? On Wed, Aug 16, 2017 at 12:40 PM, Ganapatrao Kulkarni wrote: > Extending json/jevent framework for parsing arm64 event files. > Adding jevents for ThunderX2 implementation defined PMU events. > > v5: >- Addressed comments from Arnaldo

linux-next: manual merge of the rcu tree with the tip tree

2017-08-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the rcu tree got a conflict in: arch/x86/mm/tlb.c between commit: 94b1b03b519b ("x86/mm: Rework lazy TLB mode and TLB freshness tracking") from the tip tree and commit: 3ed668659e95 ("membarrier: Document scheduler barrier requirements") from the rcu

[PATCH v2 3/4] net: phy: realtek: add disable RX internal delay mode

2017-08-21 Thread Icenowy Zheng
From: Icenowy Zheng Some RTL8211E chips have broken GbE function, which needs a hack to fix. It's said that this fix will affect the performance on not-buggy PHYs, so it should only be enabled on boards with the broken PHY. Currently only some Pine64+ boards are known to have this issue. This ha

[PATCH v2 2/4] net: phy: realtek: change macro name for page select register

2017-08-21 Thread Icenowy Zheng
From: Icenowy Zheng The page select register also exists on RTL8211E PHY (although it behaves slightly differently). Change the register macro name to remove the F. Signed-off-by: Icenowy Zheng --- drivers/net/phy/realtek.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) d

[PATCH v2 4/4] arm64: allwinner: a64: disable the RTL8211E internal RX delay on Pine64+

2017-08-21 Thread Icenowy Zheng
Some Pine64+ boards have a broken RTL8211E PHY, which cannot work reliably in 1000Base-T mode with default configuration. A solution is passed to Pine64, which is said to be disabling the internal RX delay of the PHY. Enable the hack by set the PHY mode to RGMII-TXID. Signed-off-by: Icenowy Zhen

[PATCH v2 1/4] net: stmmac: dwmac-sun8i: support RGMII modes with PHY internal delay

2017-08-21 Thread Icenowy Zheng
Some boards uses a PHY with internal delay with an Allwinner SoC. Support these PHY modes in the driver. As the driver has no configuration registers for these modes, just treat them as ordinary RGMII. Signed-off-by: Icenowy Zheng --- drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 3 +++

[PATCH v2 0/4] Workaround broken RTL8211E on some Pine64+ boards

2017-08-21 Thread Icenowy Zheng
Some Pine64+ boards come with bad RTL8211E PHYs, which cannot work reliably unless do some hack. According to Pine64 people, Realtek describes the hack as totally disabling RX delay, and it's not documented at all. This patchset introduces the workaround on Pine64+. The first patch adds RGMII var

linux-next: manual merge of the tip tree with the iommu tree

2017-08-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got conflicts in: drivers/iommu/amd_iommu.c drivers/iommu/amd_iommu_init.c drivers/iommu/amd_iommu_proto.h drivers/iommu/amd_iommu_types.h between commits: 4c232a708be1 ("iommu/amd: Detect pre enabled translation") 9494ea90a56d ("Reve

Re: L0AN

2017-08-21 Thread softlink Int'L
Do you need a personal/business L0AN, if yes contact Softlink Int'L for more info

[PATCH v1 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-08-21 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins --- .../devicetree/bindings/arm/npcm/npcm.txt | 6 + arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 63 ++ arch/ar

Re: [PATCH] mfd: intel-lpss: Put I2C and SPI controllers into reset state on suspend

2017-08-21 Thread Furquan Shaikh
Hello Lee, Gentle ping. Do you see any issues with the following change? Thanks, Furquan On Sun, Jul 23, 2017 at 11:02 PM, Furquan Shaikh wrote: > > Commit 274e43edcda6f ("mfd: intel-lpss: Do not put device in reset > state on suspend") changed the behavior on suspend by not putting LPSS > cont

[PATCH v1 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-08-21 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 44cb004c765d..67064bf11904 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1598,6 +159

linux-next: manual merge of the tip tree with the arm64 tree

2017-08-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: drivers/firmware/efi/libstub/arm64-stub.c between commit: 170976bcab07 ("efi/arm64: add EFI_KIMG_ALIGN") from the arm64 tree and commit: 0426a4e68f18 ("efi/libstub/arm64: Force 'hidden' visibility for section markers")

[PATCH v1 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-08-21 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 60 +++ arch/arm/mach-npcm/Makefile | 3 + arch/arm/mach-npcm/headsmp.S | 120

[PATCH v1 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-08-21 Thread Brendan Higgins
This patch set adds support for the Nuvoton NPCM Baseboard Management Controller (BMC) SoC architecture as well as the NPCM750 variant. NPCM is an ARM based SoC with external DDR RAM and supports a large set of peripherals. The NPCM750 is based on Cortex A9 and comes in single core and dual core f

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-21 Thread kemi
On 2017年08月15日 17:58, Mel Gorman wrote: > On Tue, Aug 15, 2017 at 04:45:36PM +0800, Kemi Wang wrote: >> Threshold CPU cyclesThroughput(88 threads) >> 32 799 241760478 >> 64 640 301628829 >> 125 537 358906028 <==> system by de

[PATCH v4 4/4] arm64: dts: rockchip: Handle pcie wake in pcie driver for Gru

2017-08-21 Thread Jeffy Chen
Currently we are handling pcie wake irq in mrvl wifi driver. Move it to rockchip pcie driver for Gru boards. Signed-off-by: Jeffy Chen --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 15 +-- 1 file changed, 9 insertions

[PATCH v4 3/4] dt-bindings: PCI: rockchip: Add support for pcie wake irq

2017-08-21 Thread Jeffy Chen
Add an optional interrupt for PCIE_WAKE pin. Signed-off-by: Jeffy Chen --- Changes in v4: None Changes in v3: None Changes in v2: None .../devicetree/bindings/pci/rockchip-pcie.txt| 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/Documentation/de

[PATCH v4 1/4] PCI: rockchip: Fix error handlings

2017-08-21 Thread Jeffy Chen
Fix error handlings in probe & resume. Signed-off-by: Jeffy Chen --- Changes in v4: Rebase on newest for-next branch, also fix error handling by: 1e7f570a1b86 PCI: rockchip: Idle inactive PHY(s) Changes in v3: None Changes in v2: None drivers/pci/host/pcie-rockchip.c | 160 +++

[PATCH v4 0/4] PCI: rockchip: Move PCIE_WAKE handling into rockchip pcie driver

2017-08-21 Thread Jeffy Chen
Currently we are handling pcie wake in mrvl wifi driver. But Brian suggests to move it into rockchip pcie driver. Tested on my chromebook bob(with cros 4.4 kernel and mrvl wifi). Changes in v4: Rebase on newest for-next branch, also fix error handling by: 1e7f570a1b86 PCI: rockchip: Idle inacti

[PATCH v4 2/4] PCI: rockchip: Add support for pcie wake irq

2017-08-21 Thread Jeffy Chen
Add support for PCIE_WAKE pin in rockchip pcie driver. Signed-off-by: Jeffy Chen --- Changes in v4: None Changes in v3: Fix error handling Changes in v2: Use dev_pm_set_dedicated_wake_irq -- Suggested by Brian Norris drivers/pci/host/pcie-rockchip.c | 21 +++-- 1 file

[PATCH][v2] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-21 Thread Chen Yu
There is a problem that when counting the pages for creating the hibernation snapshot will take significant amount of time, especially on system with large memory. Since the counting job is performed with irq disabled, this might lead to NMI lockup. The following warning were found on a system with

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-08-21 Thread Yong
Hi Hans, On Mon, 21 Aug 2017 16:37:41 +0200 Hans Verkuil wrote: > Hi Yong, > > First two high-level comments before I start the review: > > 1) Can you provide the v4l2-compliance output? I can't merge this unless I >see that it passes the compliance tests. Make sure you compile from the gi

RE: [PATCH v3 0/5] fs/dcache: Limit # of negative dentries

2017-08-21 Thread Wangkai (Kevin,C)
> -Original Message- > From: Waiman Long [mailto:long...@redhat.com] > Sent: Monday, August 21, 2017 9:35 PM > To: Wangkai (Kevin,C); Alexander Viro; Jonathan Corbet > Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; > linux-fsde...@vger.kernel.org; Paul E. McKenney; Andrew Mo

Re: [PATCH] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-21 Thread Chen Yu
Hi Andrew, On Mon, Aug 21, 2017 at 01:26:00PM -0700, Andrew Morton wrote: > On Mon, 21 Aug 2017 23:08:18 +0800 Chen Yu wrote: > > > There is a problem that when counting the pages for creating > > the hibernation snapshot will take significant amount of > > time, especially on system with large m

Re: [PATCH v6 1/3] dt-bindings: display: Add Document for Rockchip Soc LVDS

2017-08-21 Thread Rob Herring
On Fri, Aug 18, 2017 at 04:09:49PM +0800, Sandy Huang wrote: > This patch add Document for Rockchip Soc RK3288 LVDS, > This based on the patches from Mark yao and Heiko Stuebner. > > Signed-off-by: Sandy Huang > Signed-off-by: Mark yao > Signed-off-by: Heiko Stuebner > --- > Changes: > - us

Re: [PATCH v2 2/2] dt-bindings: input: Add documentation for cyttsp5

2017-08-21 Thread Rob Herring
On Fri, Aug 18, 2017 at 08:20:45AM +0200, Mylène Josserand wrote: > Add the Cypress TrueTouch Generation 5 touchscreen device tree bindings > documentation. It can use I2C or SPI bus. > This touchscreen can handle some defined zone that are designed and > sent as button. To be able to customize the

  1   2   3   4   5   6   7   8   9   10   >