[PATCH v9 0/4] Add a new Rockchip usb2 phy driver

2016-07-22 Thread Frank Wang
The newer SoCs (rk3366, rk3399) of Rock-chip take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. These series patch add phy-rockchip-inno-usb2.c and the corresponding dt-bindings.

[PATCH v9 1/4] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-07-22 Thread Frank Wang
Signed-off-by: Frank Wang Acked-by: Rob Herring Reviewed-by: Heiko Stuebner --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - Changed '_' to '-' for otg-id and otg-bvalid property. Changes in v5: - Added 'reg' property to identify the different phy-blocks.

[PATCH v9 2/4] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-07-22 Thread Frank Wang
The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. Signed-off-by: Frank Wang Suggested-by: Heiko Stuebner Suggested-by: Guenter Roeck Suggested

[PATCH v9 3/4] arm64: dts: rockchip: add usb2-phy support for rk3399

2016-07-22 Thread Frank Wang
Add usb2-phy nodes and specify phys phandle for ehci. Signed-off-by: Frank Wang --- Changes in v9: - Move the usb gpio config to rk3399-evb.dts - Fix ehci phy-names property. arch/arm64/boot/dts/rockchip/rk3399.dtsi | 42 +- 1 file changed, 41 insertions(+), 1 d

[PATCH v9 4/4] arm64: dts: rockchip: configure usb2-phy support for rk3399-evb

2016-07-22 Thread Frank Wang
Add vcc5v0_host regulator for usb2-phy and enable host-port support. Signed-off-by: Frank Wang --- arch/arm64/boot/dts/rockchip/rk3399-evb.dts | 44 +++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb.dts b/arch/arm64/boot/dts/roc

Re: [PATCH v3 2/5] i2c: Add STM32F4 I2C driver

2016-07-22 Thread Wolfram Sang
Hi, thanks for this contribution! Looks mostly good, some comments, though. On Mon, Jun 20, 2016 at 06:22:48PM +0200, M'boumba Cedric Madianga wrote: > This patch adds support for the STM32F4 I2C controller. > > Signed-off-by: M'boumba Cedric Madianga > --- > drivers/i2c/busses/Kconfig |

Re: [RFC PATCH 0/9][V3] Overlayfs SELinux Support

2016-07-22 Thread Miklos Szeredi
On Thu, Jul 21, 2016 at 11:16 PM, Paul Moore wrote: > Hi Vivek, > > These patches look fine to me, thanks for all your hard work and to > everyone who helped review and provide feedback. I have tagged these > patches for merging into the SELinux next branch after this merge > window. > > Miklos,

linux-next: Tree for Jul 22

2016-07-22 Thread Stephen Rothwell
Hi all, Changes since 20160721: The powerpc tree gained a build failure for which I applied a fix patch. The fuse tree gained a build failure due to an interaction with the btrfs-kdave tree, so I applied a merge fix patch. The pm tree gained a build failure, so I used the version from next-2016

Re: [PATCH v6 2/2] Bindings documentation for ISSI is31fl319x driver

2016-07-22 Thread Jacek Anaszewski
On 07/22/2016 08:42 AM, H. Nikolaus Schaller wrote: Hi, Am 22.07.2016 um 08:36 schrieb Jacek Anaszewski : On 07/20/2016 03:24 AM, Rob Herring wrote: On Tue, Jul 19, 2016 at 01:47:31PM +0200, H. Nikolaus Schaller wrote: Signed-off-by: H. Nikolaus Schaller --- .../devicetree/bindings/leds/i

Re: [PATCH v2] 2c: mv64xxx: Use clk_enable_prepare and clk_disable_unprepare

2016-07-22 Thread Wolfram Sang
On Wed, Jul 20, 2016 at 10:44:18AM +0530, Amitoj Kaur Chawla wrote: > Replace clk_enable and clk_prepare with clk_enable_prepare and > clk_disable and clk_unprepare with clk_disable_unprepare. > > The Coccinelle semantic patch used to make this change is as follows: > @@ > expression e; > @@ > >

Re: [PATCH] ARM: OMAP3: hwmod data: Add sysc information for DSI

2016-07-22 Thread Tony Lindgren
* Sebastian Reichel [160623 19:02]: > Add missing sysconfig/sysstatus information > to OMAP3 hwmod. The information has been > checked against OMAP34xx and OMAP36xx TRM. > > Without this change DSI block is not reset > during boot, which is required for working > Nokia N950 display. > > Signed-o

Re: [PATCH 2/2] ARM: DRA7: select PCI_DOMAINS config

2016-07-22 Thread Tony Lindgren
* Arnd Bergmann [160721 05:08]: > On Thursday, July 21, 2016 5:27:56 PM CEST Kishon Vijay Abraham I wrote: > > diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig > > index 1a648e9..8e6e2c0 100644 > > --- a/arch/arm/mach-omap2/Kconfig > > +++ b/arch/arm/mach-omap2/Kconfig > > @@

Re: [PATCH v6 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-07-22 Thread Hans Verkuil
On 07/22/2016 07:18 AM, Wu, Songjun wrote: >>> +/* >>> + * index(0~11): raw formats. >>> + * index(12~12): the formats which can be converted from raw format by ISC. >>> + * index(): the formats which can only be provided by subdev. >>> + */ >>> +static struct isc_format isc_formats[] =

[PATCH 1/1] drm/sti: use new Reset API

2016-07-22 Thread Lee Jones
Since 0b52297f228 ("reset: Add support for shared reset controls") the new Reset API now demands consumers choose either an *_exclusive or a *_shared line when requesting reset lines. Signed-off-by: Lee Jones --- drivers/gpu/drm/sti/sti_compositor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 d

Re: [PATCH 28/32] i2c: bcm2835: Set up the rising/falling edge delays.

2016-07-22 Thread Wolfram Sang
On Wed, Jun 01, 2016 at 11:43:37PM +0200, Gerd Hoffmann wrote: > From: Eric Anholt > > We were leaving them in the power on state (or the state the firmware > had set up for some client, if we were taking over from them). The > boot state was 30 core clocks, when we actually want to sample some

Re: [PATCH 24/32] i2c: bcm2835: Don't complain on -EPROBE_DEFER from getting our clock

2016-07-22 Thread Wolfram Sang
On Wed, Jun 01, 2016 at 11:43:33PM +0200, Gerd Hoffmann wrote: > From: Eric Anholt > > Fixes dmesg spam when we just need to wait a moment for the clock > driver to probe. > > Signed-off-by: Eric Anholt I applied Eric's original patch now. signature.asc Description: PGP signature

Re: [PATCH v4 00/12] allow BFLT executables on systems with a MMU

2016-07-22 Thread Greg Ungerer
On 22/07/16 00:48, Nicolas Pitre wrote: > On Thu, 21 Jul 2016, Greg Ungerer wrote: >> Hi Nicolas, >> >> On 21/07/16 05:22, Nicolas Pitre wrote: >>> This series provides the necessary changes to allow "flat" executable >>> binaries meant for no-MMU systems to actually run on systems with a MMU. >>>

Re: [PATCH] i2c: bcm2835: Set up the clock stretching timeout at boot.

2016-07-22 Thread Wolfram Sang
On Sun, Jul 03, 2016 at 06:02:32PM -0700, Eric Anholt wrote: > Wolfram Sang writes: > > >> + /* > >> + * SMBUS says "Devices participating in a transfer will > >> + * timeout when any clock low exceeds the value of > >> + * T_TIMEOUT,MIN of 25 ms." > >> + */ > > > > SMBus has that timeou

Re: [PATCH] i2c: bcm2835: Don't complain on -EPROBE_DEFER from getting our clock

2016-07-22 Thread Wolfram Sang
On Thu, Feb 18, 2016 at 05:12:55PM -0800, Eric Anholt wrote: > Fixes dmesg spam when we just need to wait a moment for the clock > driver to probe. > > Signed-off-by: Eric Anholt Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH v2] 2c: mv64xxx: Use clk_enable_prepare and clk_disable_unprepare

2016-07-22 Thread Uwe Kleine-König
there is an i missing in the Subject. On Wed, Jul 20, 2016 at 10:44:18AM +0530, Amitoj Kaur Chawla wrote: > Replace clk_enable and clk_prepare with clk_enable_prepare and > clk_disable and clk_unprepare with clk_disable_unprepare. > > The Coccinelle semantic patch used to make this change is as f

RE: [PATCH v3 1/3] arm64: mm: add __clean_dcache_area()

2016-07-22 Thread kwangwoo....@sk.com
Hi Will, > -Original Message- > From: Will Deacon [mailto:will.dea...@arm.com] > Sent: Friday, July 22, 2016 1:12 AM > To: 이광우(LEE KWANGWOO) MS SW > Cc: linux-arm-ker...@lists.infradead.org; linux-nvd...@lists.01.org; Catalin > Marinas; Mark Rutland; > Ross Zwisler; Dan Williams; Vishal V

Re: [PATCH] net: neigh: disallow state transition DELAY->STALE in neigh_update()

2016-07-22 Thread Julian Anastasov
Hello, On Thu, 21 Jul 2016, Chunhui He wrote: > If neigh entry was CONNECTED and address is not changed, and if new state is > STALE, entry state will not change. Because DELAY is not in CONNECTED, it's > possible to change state from DELAY to STALE. > > That is bad. Consider a host in

Re: [PATCH] perf symbols: Fix reading build id

2016-07-22 Thread Uwe Kleine-König
On Thu, Jul 21, 2016 at 09:53:02AM +0200, Jiri Olsa wrote: > On Thu, Jul 21, 2016 at 09:21:55AM +0200, Marc Kleine-Budde wrote: > > On 07/21/2016 09:09 AM, Uwe Kleine-König wrote: > > > From: Uwe Kleine-König > > > > > > When is_regular_file(name) is called name points to a freshly allocated > >

Re: staging: ks7010: Return directly after a failed kmalloc()

2016-07-22 Thread SF Markus Elfring
>> I guess that further clarification might be needed for affected >> implementation details. > > That's OK, too. > > Acked-by: Wolfram Sang Does this acknowledgement include also the acceptance for the suggested change around calls of the functions "sdio_claim_host" and "sdio_release_host" wit

Re: staging: ks7010: Return directly after a failed kmalloc()

2016-07-22 Thread Wolfram Sang
On Fri, Jul 22, 2016 at 09:36:53AM +0200, SF Markus Elfring wrote: > >> I guess that further clarification might be needed for affected > >> implementation details. > > > > That's OK, too. > > > > Acked-by: Wolfram Sang > > Does this acknowledgement include also the acceptance for > the suggest

Re: [PATCH 3/3] xen-blkfront: dynamic configuration of per-vbd resources

2016-07-22 Thread Roger Pau Monné
On Thu, Jul 21, 2016 at 06:08:05PM +0800, Bob Liu wrote: > > On 07/21/2016 04:57 PM, Roger Pau Monné wrote: > > On Fri, Jul 15, 2016 at 05:31:49PM +0800, Bob Liu wrote: > >> The current VBD layer reserves buffer space for each attached device based > >> on > >> three statically configured setting

Re: [PATCH] powernv: Use __printf in pe_level_printk

2016-07-22 Thread kbuild test robot
Hi, [auto build test WARNING on v4.7-rc7] [also build test WARNING on next-20160721] [cannot apply to powerpc/next] [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/Joe-Perches/powernv-Use-__print

Re: [PATCH] update sc->nr_reclaimed after each shrink_slab

2016-07-22 Thread Michal Hocko
On Fri 22-07-16 11:43:30, Zhou Chengming wrote: > In !global_reclaim(sc) case, we should update sc->nr_reclaimed after each > shrink_slab in the loop. Because we need the correct sc->nr_reclaimed > value to see if we can break out. Does this actually change anything? Maybe I am missing something b

Re: [PATCH 00/18] ARM: mvebu: misc Armada 38x/39x DT and v7 defconfig improvements

2016-07-22 Thread Grzegorz Jaszczyk
Hi Andrew, 2016-07-21 15:43 GMT+02:00 Andrew Lunn : > On Thu, Jul 21, 2016 at 02:43:56PM +0200, Grzegorz Jaszczyk wrote: > > Hi Grzegorz > > Some of these patches are missing a commit log entry. Please add at > least one line. > Ok, I will add it in next version of this patch-set, which I am plan

Linux 3.12.62

2016-07-22 Thread Jiri Slaby
I'm announcing the release of the 3.12.62 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be browsed at the normal kernel.org git web browser:

[PATCH 3/3] x86/apic: Improved the setting of interrupt mode for bsp

2016-07-22 Thread Wei Jiangang
If we specify the 'notsc' parameter for the dump-capture kernel, and then trigger a crash(panic) by using "ALT-SysRq-c" or "echo c > /proc/sysrq-trigger", the dump-capture kernel will hang in calibrate_delay_converge() and wait for jiffies changes. serial log as follows: tsc: Fast TSC calibrat

[PATCH 2/3] x86/apic: Update comment about disabling processor focus

2016-07-22 Thread Wei Jiangang
Fix references to discarded end_level_ioapic_irq(). Signed-off-by: Cao jin Signed-off-by: Wei Jiangang --- arch/x86/kernel/apic/apic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 0273b652c689..8e25b9b2d351 100644 --- a/arch/

[PATCH 1/3] x86/apic: Remove "focus disabled" for 64bit case

2016-07-22 Thread Wei Jiangang
Disable processor focus for 64bit causes a crash, Call Trace as following: [] dump_stack+0x63/0x84 [] __warn+0xd1/0xf0 [] warn_slowpath_fmt+0x5f/0x80 [] ex_handler_wrmsr_unsafe+0x62/0x70 [] fixup_exception+0x39/0x50 [] do_general_protection+0x80/0x160 [] general_protection+0x28/0x30

Re: [PATCH] update sc->nr_reclaimed after each shrink_slab

2016-07-22 Thread Michal Hocko
On Fri 22-07-16 11:12:59, Vladimir Davydov wrote: > On Fri, Jul 22, 2016 at 09:49:13AM +0200, Michal Hocko wrote: > > On Fri 22-07-16 11:43:30, Zhou Chengming wrote: > > > In !global_reclaim(sc) case, we should update sc->nr_reclaimed after each > > > shrink_slab in the loop. Because we need the co

Re: [PATCH 3/3] xen-blkfront: dynamic configuration of per-vbd resources

2016-07-22 Thread Bob Liu
On 07/22/2016 03:45 PM, Roger Pau Monné wrote: > On Thu, Jul 21, 2016 at 06:08:05PM +0800, Bob Liu wrote: >> >> On 07/21/2016 04:57 PM, Roger Pau Monné wrote: ..[snip].. + +static ssize_t dynamic_reconfig_device(struct blkfront_info *info, ssize_t count) +{ + unsigned in

Re: [PATCH v1 3/3] cgroup: relax common ancestor restriction for direct descendants

2016-07-22 Thread Aleksa Sarai
It's about the debris left behind if the admin (or someone with delegated authority) moves the task to a wholly different cgroup. Now we have a cgroup directory in the old cgroup, which the current task has been removed from, for which the current user has permissions and could then move the tas

[PATCH] usb: remove redundant dependency on USB_SUPPORT

2016-07-22 Thread Masahiro Yamada
The whole Kconfig entries of the USB subsystem are surrounded with "if USB_SUPPORT" ... "endif", so CONFIG_USB_SUPPORT=y is surely met when these two Kconfig options are visible. Signed-off-by: Masahiro Yamada --- drivers/usb/core/Kconfig | 1 - drivers/usb/dwc3/Kconfig | 2 +- 2 files changed,

Re: [PATCH v1 3/3] cgroup: relax common ancestor restriction for direct descendants

2016-07-22 Thread Aleksa Sarai
So if I as the cgroup ns owner am moving a task from A to A_subdir, the admin scanning tasks in all of A may miss this task in motion because all the tasks files can't be scanned atomically? So, the admin just wants to move processes from A and only A to B. It doesn't wanna interfere with proce

Re: [PATCH 07/19] x86/dumpstack: add IRQ_USABLE_STACK_SIZE define

2016-07-22 Thread Ingo Molnar
* Josh Poimboeuf wrote: > > > irq_stack_end = (unsigned long *)(per_cpu(irq_stack_ptr, cpu)); > > > - irq_stack = (unsigned long *)(per_cpu(irq_stack_ptr, cpu) - > > > IRQ_STACK_SIZE); > > > + irq_stack = (unsigned long *)(per_cpu(irq_stack_ptr, cpu) - > > > +

Re: [PATCH 2/2] ARM: DRA7: select PCI_DOMAINS config

2016-07-22 Thread Kishon Vijay Abraham I
Hi, On Friday 22 July 2016 12:46 PM, Tony Lindgren wrote: > * Arnd Bergmann [160721 05:08]: >> On Thursday, July 21, 2016 5:27:56 PM CEST Kishon Vijay Abraham I wrote: >>> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig >>> index 1a648e9..8e6e2c0 100644 >>> --- a/arch/arm/m

[PATCH v2 0/4] Add MT8173 MDP Driver

2016-07-22 Thread Minghsiu Tsai
Changes in v2: - Add section to describe blocks function in dts-bindings - Remove the assignment of device_caps in querycap() - Remove format's name assignment - Copy colorspace-related parameters from OUTPUT to CAPTURE - Use m2m helper functions - Fix DMA allocation failure - Initialize lazily vpu

[PATCH v2 1/4] VPU: mediatek: Add mdp support

2016-07-22 Thread Minghsiu Tsai
VPU driver add mdp support Signed-off-by: Minghsiu Tsai --- drivers/media/platform/mtk-vpu/mtk_vpu.h |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/mtk-vpu/mtk_vpu.h b/drivers/media/platform/mtk-vpu/mtk_vpu.h index f457479..291ae46 100644 --- a/drivers/media/

[PATCH v2 4/4] arm64: dts: mediatek: Add MDP for MT8173

2016-07-22 Thread Minghsiu Tsai
Add MDP node for MT8173 Signed-off-by: Minghsiu Tsai --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 80 ++ 1 file changed, 80 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index a44cfb7..cabbd85 1006

[PATCH v2 3/4] media: Add Mediatek MDP Driver

2016-07-22 Thread Minghsiu Tsai
Add MDP driver for MT8173 Signed-off-by: Minghsiu Tsai --- drivers/media/platform/Kconfig| 16 + drivers/media/platform/Makefile |2 + drivers/media/platform/mtk-mdp/Makefile |9 + drivers/media/platform/mtk-mdp/mtk_mdp_comp.c | 159 drivers/me

[PATCH v2 2/4] dt-bindings: Add a binding for Mediatek MDP

2016-07-22 Thread Minghsiu Tsai
Add a DT binding documentation of MDP for the MT8173 SoC from Mediatek Signed-off-by: Minghsiu Tsai --- .../devicetree/bindings/media/mediatek-mdp.txt | 96 1 file changed, 96 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/mediatek-mdp.txt d

Re: [PATCH] mmc: sdhci-msm: Add set_uhs_signaling() implementation

2016-07-22 Thread Georgi Djakov
On 07/20/2016 01:15 PM, Adrian Hunter wrote: > On 19/07/16 17:52, Georgi Djakov wrote: >> From: Ritesh Harjani >> >> To allow UHS mode to work properly, we need to implement a Qualcomm >> specific set_uhs_signaling() callback function. This function differs >> from the sdhci_set_uhs_signaling() in

Re: [PATCH v2] HID: use IS_ENABLED() instead of checking for built-in or module

2016-07-22 Thread Benjamin Tissoires
On Jul 21 2016 or thereabouts, Javier Martinez Canillas wrote: > The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either > built-in or as a module, use that macro instead of open coding the same. > > Using the macro makes the code more readable by helping abstract away some > of

RE: [PATCH v4 2/2] ACPI / button: Add document for ACPI control method lid device restrictions

2016-07-22 Thread Zheng, Lv
Hi, Dmitry Thanks for the review. > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Subject: Re: [PATCH v4 2/2] ACPI / button: Add document for ACPI control > method lid device restrictions > > Hi Lv, > > On Fri, Jul 22, 2016 at 12:24:50AM +, Zheng, Lv wrote: > > Hi, Dmitry > > >

[RFC PATCH v1 1/2] Documentation: arm64: Add Hisilicon HiP05/06/07 Sysctrl and Djtag dts bindings

2016-07-22 Thread Tan Xiaojun
First, add Hisilicon HiP05/06/07 CPU and ALGSUB system controller dts bindings. Then, add Hisilicon Djtag dts binding. Signed-off-by: Tan Xiaojun --- .../bindings/arm/hisilicon/hisilicon.txt | 98 1 file changed, 98 insertions(+) diff --git a/Documentation/devic

[RFC PATCH v1 2/2] drivers: soc: Add support for Hisilicon Djtag driver

2016-07-22 Thread Tan Xiaojun
The Hisilicon Djtag is an independent module which connects with some modules in the SoC by Debug Bus. This module can be configured to access the registers of connecting modules (like L3 cache) during real time debugging. This patch add the driver of Hisilicon Djtag. Signed-off-by: Tan Xiaojun

[RFC PATCH v1 0/2] Add Hisilicon Djtag driver

2016-07-22 Thread Tan Xiaojun
Tan Xiaojun (2): Documentation: arm64: Add Hisilicon HiP05/06/07 Sysctrl and Djtag dts bindings drivers: soc: Add support for Hisilicon Djtag driver .../bindings/arm/hisilicon/hisilicon.txt | 98 + drivers/soc/Kconfig|1 + drivers/soc/M

Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry

2016-07-22 Thread Paolo Bonzini
> Paolo Bonzini writes: > > > On 21/07/2016 00:25, Bandan Das wrote: > >> vmentry should check whether the vmcs provided by > >> the guest hypervisor is a shadow vmcs and fail. > > > > How can this happen, since vmptrld checks the revision_id as you said > > below? > > This is more of a change t

[PATCH] GPU-DRM-GMA500: Delete unnecessary checks before two function calls

2016-07-22 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 22 Jul 2016 10:30:30 +0200 The functions pci_dev_put() and psb_intel_i2c_destroy() test whether their argument is NULL and then return immediately. Thus the tests around their calls are not needed. This issue was detected by using the Coccinelle software. Signed-

Re: [RFC PATCH 2/2] mm, mempool: do not throttle PF_LESS_THROTTLE tasks

2016-07-22 Thread NeilBrown
On Mon, Jul 18 2016, Michal Hocko wrote: > From: Michal Hocko > > Mikulas has reported that a swap backed by dm-crypt doesn't work > properly because the swapout cannot make a sufficient forward progress > as the writeout path depends on dm_crypt worker which has to allocate > memory to perform t

RE: [PATCH v4 2/2] ACPI / button: Add document for ACPI control method lid device restrictions

2016-07-22 Thread Zheng, Lv
Hi, > From: Benjamin Tissoires [mailto:benjamin.tissoi...@gmail.com] > Subject: Re: [PATCH v4 2/2] ACPI / button: Add document for ACPI control > method lid device restrictions > > On Fri, Jul 22, 2016 at 6:37 AM, Dmitry Torokhov > wrote: > > Hi Lv, > > > > On Fri, Jul 22, 2016 at 12:24:50AM +00

Re: RFC: silencing kvm unimplemented msr spew.

2016-07-22 Thread Paolo Bonzini
> On Tue, Jul 19, 2016 at 04:24:31PM -0400, Bandan Das wrote: > > > Heh, actually after speaking about this to Paolo a while back, I had this > > sleeping > > in my local branch for a while. Same as what you suggested (without the > > ratelimiting) > > > > diff --git a/arch/x86/kvm/mmu.c b

[lkp] [writeback] 9340837195: INFO: suspicious RCU usage. ]

2016-07-22 Thread kernel test robot
kp/scheduled/vm-kbuild-yocto-x86_64-32/rand_boot-1-yocto-minimal-x86_64.cgz-93408371951a8c076c58a532e3e7e14969e5e015-20160722-42999-h2wrj2-0.yaml ARCH=x86_64 kconfig=x86_64-nfsroot branch=block/wb-buf-throttle commit=93408371951a8c076c58a532e3e7e14969e5e015 BOOT_IMAGE=/pkg/linu

[PATCH] perf probe: fix kconfig symbol names for kprobes and uprobes

2016-07-22 Thread Uwe Kleine-König
These symbols both don't have a trailing 'S'. Signed-off-by: Uwe Kleine-König --- tools/perf/util/probe-file.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/perf/util/probe-file.c b/tools/perf/util/probe-file.c index 9aed9c332da6..351268ffdd94 100644 --- a/too

mm/compact: why use low watermark to determine whether compact is finished instead of use high watermark?

2016-07-22 Thread Xishi Qiu
Hi, I find all the watermarks in mm/compaction.c are low_wmark_pages(), so why not use high watermark to determine whether compact is finished? e.g. __alloc_pages_nodemask() get_page_from_freelist() this is fast path, use use low_wmark_pages() in __zone_watermark_ok() __

Re: [RFC PATCH 2/2] mm, mempool: do not throttle PF_LESS_THROTTLE tasks

2016-07-22 Thread NeilBrown
On Fri, Jul 22 2016, NeilBrown wrote: > > Looking at the current code, __GFP_DIRECT_RECLAIM is disabled the first > time through, but if the pool is empty, direct-reclaim is allowed on the > next attempt. Presumably this is where the throttling comes in ?? I > suspect that it really shouldn't do

Re: mm/compact: why use low watermark to determine whether compact is finished instead of use high watermark?

2016-07-22 Thread Vlastimil Babka
On 07/22/2016 10:56 AM, Xishi Qiu wrote: Hi, I find all the watermarks in mm/compaction.c are low_wmark_pages(), so why not use high watermark to determine whether compact is finished? Why would you use high watermark? Quite the opposite, I want to move towards min watermark (precisely, the o

[PATCH RFC] coccinelle: tests: if and else branch should probably not be identical

2016-07-22 Thread Nicholas Mc Guire
Issue a warning if the if and else branch are identical - this can deliver false positives as such constructs are sometime legitimate. In such cases they should be documented so detecting false positives should be trivial and if not it is a doc bug. Signed-off-by: Nicholas Mc Guire --- condition

[PATCH v3 0/7] rk3399 support ddr frequency scaling

2016-07-22 Thread Lin Huang
rk3399 platform have dfi controller can monitor ddr load, and dcf controller to handle ddr register so we can get the right ddr frequency and make ddr controller happy work(which will implement in bl31). So we do ddr frequency scaling with following flow: kernel

[PATCH v3 7/7] drm/rockchip: Add dmc notifier in vop driver

2016-07-22 Thread Lin Huang
when in ddr frequency scaling process, vop can not do enable or disable operate, since dcf will base on vop vblank time to do frequency scaling and need to get vop irq if there have vop enabled. So need register to dmc notifier, and we can get the dmc status. Signed-off-by: Lin Huang --- Changes

[PATCH v3 4/7] clk: rockchip: rk3399: add ddrc clock support

2016-07-22 Thread Lin Huang
add ddrc clock setting, so we can do ddr frequency scaling on rk3399 platform in future. Signed-off-by: Lin Huang --- Changes in v3: - None Changes in v2: - remove clk_ddrc_dpll_src from critical clock list Changes in v1: - remove ddrc source CLK_IGNORE_UNUSED flag - move clk_ddrc and clk_ddrc_

[PATCH v3 2/7] clk: rockchip: add new clock-type for the ddrclk

2016-07-22 Thread Lin Huang
On new rockchip platform(rk3399 etc), there have dcf controller to do ddr frequency scaling, and this controller will implement in arm-trust-firmware. We add a special clock-type to handle that. Signed-off-by: Lin Huang --- Changes in v3: - use sip call to set/read ddr rate Changes in v2: - use

Re: [PATCH v4 2/2] ACPI / button: Add document for ACPI control method lid device restrictions

2016-07-22 Thread Benjamin Tissoires
On Fri, Jul 22, 2016 at 10:47 AM, Zheng, Lv wrote: > Hi, > >> From: Benjamin Tissoires [mailto:benjamin.tissoi...@gmail.com] >> Subject: Re: [PATCH v4 2/2] ACPI / button: Add document for ACPI control >> method lid device restrictions >> >> On Fri, Jul 22, 2016 at 6:37 AM, Dmitry Torokhov >> wrot

[PATCH v3 5/7] PM / devfreq: event: support rockchip dfi controller

2016-07-22 Thread Lin Huang
on rk3399 platform, there is dfi conroller can monitor ddr load, base on this result, we can do ddr freqency scaling. Signed-off-by: Lin Huang Acked-by: Chanwoo Choi --- Changes in v3: - None Changes in v2: - use clk_disable_unprepare and clk_enable_prepare - remove clk_enable_prepare in probe

[PATCH v3 6/7] PM / devfreq: rockchip: add devfreq driver for rk3399 dmc

2016-07-22 Thread Lin Huang
base on dfi result, we do ddr frequency scaling, register dmc driver to devfreq framework, and use simple-ondemand policy. Signed-off-by: Lin Huang --- Changes in v3: - operate dram setting through sip call - imporve set rate flow Changes in v2: - None Changes in v1: - move dfi controller to e

[PATCH v3 3/7] clk: rockchip: rk3399: add SCLK_DDRCLK ID for ddrc

2016-07-22 Thread Lin Huang
Signed-off-by: Lin Huang --- Changes in v3: -None Changes in v2: - None Changes in v1: - None include/dt-bindings/clock/rk3399-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/rk3399-cru.h b/include/dt-bindings/clock/rk3399-cru.h index 50a44cf..8a0f0442 1006

[PATCH v3 1/7] firmware: rockchip: sip: Add rockchip SIP runtime service

2016-07-22 Thread Lin Huang
From: Shengfei xu This patch adds support for the SiP interface, we can pass dram paramtert to bl31, and control ddr frequency scaling in bl31. Signed-off-by: Shengfei xu Signed-off-by: Lin Huang --- Changes in v3: - None Changes in v2: - None Changes in v1: - None drivers/firmware/Kconfig

Re: [PATCH 14/18] ARM: mvebu: add support for the Armada 395 SoC family

2016-07-22 Thread Grzegorz Jaszczyk
Hi Rob, 2016-07-22 0:16 GMT+02:00 Rob Herring : > On Thu, Jul 21, 2016 at 02:44:11PM +0200, Grzegorz Jaszczyk wrote: >> -compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada390"; >> +compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada395", >> "marvell,armada390";

Re: [RFC PATCH 2/2] mm, mempool: do not throttle PF_LESS_THROTTLE tasks

2016-07-22 Thread Michal Hocko
On Fri 22-07-16 18:46:57, Neil Brown wrote: > On Mon, Jul 18 2016, Michal Hocko wrote: > > > From: Michal Hocko > > > > Mikulas has reported that a swap backed by dm-crypt doesn't work > > properly because the swapout cannot make a sufficient forward progress > > as the writeout path depends on d

Re: What to do on cdev_add failure

2016-07-22 Thread Jean Delvare
Hi Greg, On Thu, 14 Jul 2016 15:47:35 +0900, Greg KH wrote: > On Wed, Jul 13, 2016 at 03:46:14PM +0200, Jean Delvare wrote: > > Hi all, > > > > I am currently working on the i2c-dev driver, which has just been > > converted to the non-ancestral cdev API. As I am cleaning up the > > driver, I woul

Re: [PATCH v2 3/4] drivers: reset: Add STM32 reset driver

2016-07-22 Thread Gabriel Fernandez
Hi Paul On 07/21/2016 09:48 PM, Paul Gortmaker wrote: On Thu, Jul 21, 2016 at 5:19 AM, wrote: From: Maxime Coquelin The STM32 MCUs family IPs can be reset by accessing some registers from the RCC block. The list of available reset lines is documented in the DT bindings. Signed-off-by: Ma

Re: [PATCH 2/2] ARM: DRA7: select PCI_DOMAINS config

2016-07-22 Thread Sekhar Nori
On Friday 22 July 2016 01:56 PM, Kishon Vijay Abraham I wrote: > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index 90542db..0cccb50 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -338,6 +338,7 @@ config ARCH_MULTIPLATFORM > select MULTI_IRQ_HANDLER > select SP

Why does BIOS assign memory to 16 byte BAR

2016-07-22 Thread Bharat Kumar Gogada
Hi, I'm observing that on x86 BIOS successfully assigns memory if an End point requests BAR of size 16byte. But as per Spec: The minimum memory address range requested by a BAR is 128 bytes. Why BIOS is successfully allocating region to 16 byte BAR requests? Please let me know if my observatio

Re: [v6 PATCH 1/6] extcon: Add Type-C and DP support

2016-07-22 Thread Chanwoo Choi
Hi Chris, I'm sorry for late reply. I finished the first draft to support the extcon property. You can check the patches[1]. But, I need more time to test it. After tested it, I'll send the patches. [1] https://git.kernel.org/cgit/linux/kernel/git/chanwoo/extcon.git/log/?h=extcon-test Chanwoo

Re: mm/compact: why use low watermark to determine whether compact is finished instead of use high watermark?

2016-07-22 Thread Vlastimil Babka
On 07/22/2016 11:21 AM, Xishi Qiu wrote: On 2016/7/22 17:04, Vlastimil Babka wrote: On 07/22/2016 10:56 AM, Xishi Qiu wrote: Hi, I find all the watermarks in mm/compaction.c are low_wmark_pages(), so why not use high watermark to determine whether compact is finished? Why would you use high

Re: [PATCH] GPU-DRM-GMA500: Delete unnecessary checks before two function calls

2016-07-22 Thread Daniel Vetter
On Fri, Jul 22, 2016 at 10:45:30AM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 22 Jul 2016 10:30:30 +0200 > > The functions pci_dev_put() and psb_intel_i2c_destroy() test whether > their argument is NULL and then return immediately. > Thus the tests around their calls are

[PATCH] drm/mgag200: Delete an unnecessary check before drm_gem_object_unreference_unlocked()

2016-07-22 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 22 Jul 2016 11:20:27 +0200 The drm_gem_object_unreference_unlocked() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Ma

Re: mm/compact: why use low watermark to determine whether compact is finished instead of use high watermark?

2016-07-22 Thread Xishi Qiu
On 2016/7/22 17:04, Vlastimil Babka wrote: > On 07/22/2016 10:56 AM, Xishi Qiu wrote: >> Hi, >> >> I find all the watermarks in mm/compaction.c are low_wmark_pages(), >> so why not use high watermark to determine whether compact is finished? > > Why would you use high watermark? Quite the opposit

Re: [PATCH 3/3] xen-blkfront: dynamic configuration of per-vbd resources

2016-07-22 Thread Roger Pau Monné
On Fri, Jul 22, 2016 at 04:17:48PM +0800, Bob Liu wrote: > > On 07/22/2016 03:45 PM, Roger Pau Monné wrote: > > On Thu, Jul 21, 2016 at 06:08:05PM +0800, Bob Liu wrote: > >> > >> On 07/21/2016 04:57 PM, Roger Pau Monné wrote: > ..[snip].. > + > +static ssize_t dynamic_reconfig_device(str

Re: [RFC] Avoid mutex starvation when optimistic spinning is disabled

2016-07-22 Thread Imre Deak
On to, 2016-07-21 at 15:29 -0700, Jason Low wrote: > On Wed, 2016-07-20 at 14:37 -0400, Waiman Long wrote: > > On 07/20/2016 12:39 AM, Jason Low wrote: > > > On Tue, 2016-07-19 at 16:04 -0700, Jason Low wrote: > > > > Hi Imre, > > > > > > > > Here is a patch which prevents a thread from spending t

Re: [PATCH] Staging: media: timblogiw: File cleanup.

2016-07-22 Thread Hans Verkuil
This driver will be removed in 4.8, so I won't take this patch. Regards, Hans On 07/20/2016 08:47 PM, Jeremiah Goerdt wrote: > Cleaned up checkpatch.pl warnings and checks. > > Signed-off-by: Jeremiah Goerdt > --- > drivers/staging/media/timb/timblogiw.c | 134 > -

[PATCH v3 0/4] Add STM32 Reset Driver

2016-07-22 Thread gabriel.fernandez
From: Gabriel Fernandez v3: - Use the builtin for the register v2: - switch to the non-relaxed variants - describe dt-binfings in one place The STM32 MCUs family IPs can be reset by accessing some registers from the RCC block. Gabriel Fernandez (1): ARM: dts: stm32f429: add missing #reset

[PATCH v3 1/4] dt-bindings: mfd: Add STM32F4 RCC numeric constants into DT include file

2016-07-22 Thread gabriel.fernandez
From: Maxime Coquelin Ths patch lists STM32F4's RCC numeric constants. It will be used by clock and reset drivers, and DT bindings. Signed-off-by: Maxime Coquelin Signed-off-by: Gabriel Fernandez --- include/dt-bindings/mfd/stm32f4-rcc.h | 98 +++ 1 file change

[PATCH v3 4/4] ARM: dts: stm32f429: add missing #reset-cells of rcc

2016-07-22 Thread gabriel.fernandez
From: Gabriel Fernandez This patch adds #reset-cells property to rcc node. Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stm32f429.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index 35df462..fe89236 100644

Re: [v6 PATCH 1/6] extcon: Add Type-C and DP support

2016-07-22 Thread Chris Zhong
Hi Chanwoo Choi Thanks for your help, I am going to post V7 next week base on these latest extcon patch. Regards Chris Zhong On 07/22/2016 05:29 PM, Chanwoo Choi wrote: Hi Chris, I'm sorry for late reply. I finished the first draft to support the extcon property. You can check the patches[

RE: [PATCH v4 2/2] ACPI / button: Add document for ACPI control method lid device restrictions

2016-07-22 Thread Zheng, Lv
Hi, Benjamin > From: Benjamin Tissoires [mailto:benjamin.tissoi...@gmail.com] > Subject: Re: [PATCH v4 2/2] ACPI / button: Add document for ACPI control > method lid device restrictions > > On Fri, Jul 22, 2016 at 10:47 AM, Zheng, Lv wrote: > > Hi, > > > >> From: Benjamin Tissoires [mailto:benja

[PATCH v3 2/4] dt-bindings: Document the STM32 reset bindings

2016-07-22 Thread gabriel.fernandez
From: Maxime Coquelin This adds documentation of device tree bindings for the STM32 reset controller. Signed-off-by: Maxime Coquelin Signed-off-by: Gabriel Fernandez Acked-by: Rob Herring --- .../devicetree/bindings/clock/st,stm32-rcc.txt | 42 ++ .../devicetree/bindi

[PATCH v3 3/4] drivers: reset: Add STM32 reset driver

2016-07-22 Thread gabriel.fernandez
From: Maxime Coquelin The STM32 MCUs family IPs can be reset by accessing some registers from the RCC block. The list of available reset lines is documented in the DT bindings. Signed-off-by: Maxime Coquelin Signed-off-by: Gabriel Fernandez --- drivers/reset/Makefile | 1 + drivers/re

Re: [PATCH] net: neigh: disallow state transition DELAY->STALE in neigh_update()

2016-07-22 Thread Hannes Frederic Sowa
On 22.07.2016 09:20, Julian Anastasov wrote: > > Hello, > > On Thu, 21 Jul 2016, Chunhui He wrote: > >> If neigh entry was CONNECTED and address is not changed, and if new state is >> STALE, entry state will not change. Because DELAY is not in CONNECTED, it's >> possible to change state fr

Re: [PATCH 3/3] xen-blkfront: dynamic configuration of per-vbd resources

2016-07-22 Thread Bob Liu
On 07/22/2016 05:34 PM, Roger Pau Monné wrote: > On Fri, Jul 22, 2016 at 04:17:48PM +0800, Bob Liu wrote: >> >> On 07/22/2016 03:45 PM, Roger Pau Monné wrote: >>> On Thu, Jul 21, 2016 at 06:08:05PM +0800, Bob Liu wrote: On 07/21/2016 04:57 PM, Roger Pau Monné wrote: >> ..[snip].. >>

Re: [PATCH] update sc->nr_reclaimed after each shrink_slab

2016-07-22 Thread Vladimir Davydov
On Fri, Jul 22, 2016 at 09:49:13AM +0200, Michal Hocko wrote: > On Fri 22-07-16 11:43:30, Zhou Chengming wrote: > > In !global_reclaim(sc) case, we should update sc->nr_reclaimed after each > > shrink_slab in the loop. Because we need the correct sc->nr_reclaimed > > value to see if we can break ou

Re: [alsa-devel] [PATCH v4 4/4] ASoC: samsung: Add machine driver for Exynos5433 based TM2 board

2016-07-22 Thread Charles Keepax
On Tue, Jul 05, 2016 at 07:14:37PM +0200, Sylwester Nawrocki wrote: > This patch adds the sound machine driver for TM2 and TM2E board. > Speaker and headphone playback, Main Mic capture, Bluetooth, > Voice call and external accessory are supported. > > Signed-off-by: Inha Song > [k.kozlowski: reb

Re: [PATCH v4 1/2] bpf: Add bpf_probe_write BPF helper to be called in tracers (kprobes)

2016-07-22 Thread Daniel Borkmann
On 07/22/2016 04:14 AM, Alexei Starovoitov wrote: On Thu, Jul 21, 2016 at 06:09:17PM -0700, Sargun Dhillon wrote: This allows user memory to be written to during the course of a kprobe. It shouldn't be used to implement any kind of security mechanism because of TOC-TOU attacks, but rather to deb

Re: [PATCH resend v2 3/5] libata-scsi: use u8 array to store mode page copy

2016-07-22 Thread Sergei Shtylyov
Hello. On 7/22/2016 2:29 AM, tom.t...@gmail.com wrote: From: Tom Yan ata_mselect_*() would initialize a char array for storing a copy of the current mode page. However, char could be signed char. In that case, bytes larger than 127 would be converted to negative number. For example, 0xff fro

Re: [PATCH v3 1/7] firmware: rockchip: sip: Add rockchip SIP runtime service

2016-07-22 Thread Heiko Stübner
Hi, Am Freitag, 22. Juli 2016, 17:07:14 schrieb Lin Huang: > From: Shengfei xu > > This patch adds support for the SiP interface, we can pass dram > paramtert to bl31, and control ddr frequency scaling in bl31. > > Signed-off-by: Shengfei xu > Signed-off-by: Lin Huang [...] > +++ b/drivers/

Re: [PATCH] i2c: i801: use IS_ENABLED() instead of checking for built-in or module

2016-07-22 Thread Jean Delvare
On Thu, 21 Jul 2016 12:11:01 -0400, Javier Martinez Canillas wrote: > The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either > built-in or as a module, use that macro instead of open coding the same. > > Using the macro makes the code more readable by helping abstract away some

  1   2   3   4   5   6   >