[GIT PULL] pin control fixes for v4.6 take three

2016-04-22 Thread Linus Walleij
Hi Linus, some pin control driver fixes came in. One headed for stable and the other two are just ordinary merge window fixes. Details in the tag and commits. Please pull it in. Yours, Linus Walleij The following changes since commit bf16200689118d19de1b8d2a3c314fc21f5dc7bb: Linux 4.6-rc3 (

Re: [PATCH RFC 10/22] block, bfq: add full hierarchical scheduling and cgroups support

2016-04-22 Thread Paolo Valente
Il giorno 22/apr/2016, alle ore 20:13, Tejun Heo ha scritto: > Hello, Paolo. > > On Wed, Apr 20, 2016 at 11:32:23AM +0200, Paolo wrote: >> This malfunction seems related to a blkcg behavior that I did not >> expect: the sequential writer changes group continuously. It moves >> from the root gro

Re: [PATCH] irqdomain: fix compare_const_fl.cocci warnings

2016-04-22 Thread Jon Hunter
On 20/04/16 17:49, Julia Lawall wrote: > Move constants to the right of binary operators. > > Generated by: scripts/coccinelle/misc/compare_const_fl.cocci > > Signed-off-by: Fengguang Wu > Signed-off-by: Julia Lawall > --- > > Not a big deal, but the transformed code looks better to me. > >

Re: [PATCH V4] irq: Track the interrupt timings

2016-04-22 Thread Daniel Lezcano
On Wed, Apr 13, 2016 at 01:05:56PM +0200, Daniel Lezcano wrote: > The interrupt framework gives a lot of information about each interrupt. > > It does not keep track of when those interrupts occur though. > > This patch provides a mean to record the elapsed time between successive > interrupt occ

Re: linux-next: Tree for Apr 22 (adjust_autoksyms.sh)

2016-04-22 Thread Randy Dunlap
On 04/22/16 10:48, Nicolas Pitre wrote: > On Fri, 22 Apr 2016, Randy Dunlap wrote: > >> on x86_64: >> >> I'm seeing: >> >> /bin/sh: scripts/adjust_autoksyms.sh: No such file or directory >> /local/lnx/next/linux-next-20160422/Makefile:937: recipe for

[PATCH v7 0/6] Introduce GCC plugin infrastructure

2016-04-22 Thread Emese Revfy
This patch set introduce the GCC plugin infrastructure with examples for testing and documentation. GCC plugins are loadable modules that provide extra features to the compiler. They are useful for runtime instrumentation and static analysis. The infrastructure supports all gcc versions from 4.5

[PATCH v7 1/6] Shared library support

2016-04-22 Thread Emese Revfy
Infrastructure for building independent shared library targets. This effectively also reverts commit 62e2210798ed38928ab24841e8b4878a (Masahiro Yamada, kbuild: drop shared library support from Makefile.host). Signed-off-by: Emese Revfy --- Documentation/kbuild/makefiles.txt | 39

[PATCH v7 2/6] GCC plugin infrastructure

2016-04-22 Thread Emese Revfy
This patch allows to build the whole kernel with GCC plugins. It was ported from grsecurity/PaX. The infrastructure supports building out-of-tree modules and building in a separate directory. Cross-compilation is supported too but currently only the x86 architecture enables plugins. The directory

[PATCH v7 3/6] The GCC plugin infrastructure supports the arm and arm64 architectures too

2016-04-22 Thread Emese Revfy
The GCC plugin infrastructure supports the arm and arm64 architectures too Signed-off-by: David Brown --- arch/arm/Kconfig | 1 + arch/arm64/Kconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 0846026..8f57eb6 100644 --- a/arch/arm/Kconfig ++

[PATCH v7 4/6] Add Cyclomatic complexity GCC plugin

2016-04-22 Thread Emese Revfy
Add a very simple plugin to demonstrate the GCC plugin infrastructure. This GCC plugin computes the cyclomatic complexity of each function. The complexity M of a function's control flow graph is defined as: M = E - N + 2P where E = the number of edges N = the number of nodes P = the number of conn

[PATCH v7 5/6] Documentation for the GCC plugin infrastructure

2016-04-22 Thread Emese Revfy
This is the GCC infrastructure documentation about its operation, how to add and use a new plugin with an example. Signed-off-by: Emese Revfy --- Documentation/gcc-plugins.txt | 83 +++ arch/Kconfig | 2 ++ 2 files changed, 85 insertions(

[PATCH v7 6/6] Add sancov plugin

2016-04-22 Thread Emese Revfy
The sancov gcc plugin inserts a __sanitizer_cov_trace_pc() call at the start of basic blocks. This plugin is a helper plugin for the kcov feature. It supports all gcc versions with plugin support (from gcc-4.5 on). It is based on the gcc commit "Add fuzzing coverage support" by Dmitry Vyukov (http

Re: [PATCH v6 00/20] kthread: Use kthread worker API more widely

2016-04-22 Thread Tejun Heo
Hello, Petr. On Thu, Apr 14, 2016 at 05:14:19PM +0200, Petr Mladek wrote: > My intention is to make it easier to manipulate and maintain kthreads. > Especially, I want to replace all the custom main cycles with a > generic one. Also I want to make the kthreads sleep in a consistent > state in a co

Re: [PATCH] serial: mctrl_gpio: Drop support for out1-gpios and out2-gpios

2016-04-22 Thread Peter Hurley
On 04/22/2016 08:10 AM, Geert Uytterhoeven wrote: > The OUT1 and OUT2 pins present on some legacy UARTs are basically GPIOs. > It doesn't make much sense to emulate GPIOs using other GPIOs, hence > drop support for that. Thanks Geert. Reviewed-by: Peter Hurley

Re: [RFC][PATCH 00/31] implement atomic_fetch_$op

2016-04-22 Thread Kalle Valo
Fengguang Wu writes: >> OK, weirdness. I received the "BUILD SUCCESS" email without any arm64 >> builds listed, but I just received a build bot email telling me the >> arm64 build was borked (which I know it is). > > Sorry, that may happen because even though most errors will be > detected in the

Re: [PATCH] ext4: Fix check of dqget() return value in ext4_ioctl_setproject()

2016-04-22 Thread Seth Forshee
On Tue, Mar 29, 2016 at 08:01:03AM -0500, Seth Forshee wrote: > A failed call to dqget() returns an ERR_PTR() and not null. Fix > the check in ext4_ioctl_setproject() to handle this correctly. > > Fixes: 9b7365fc1c82 ("ext4: add FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR interface > support") > Cc: sta.

Re: [PATCH] mm: Fix incorrect pfn passed to untrack_pfn in remap_pfn_range

2016-04-22 Thread Andrew Morton
On Fri, 22 Apr 2016 18:31:28 +0800 Yongji Xie wrote: > We used generic hooks in remap_pfn_range to help archs to > track pfnmap regions. The code is something like: > > int remap_pfn_range() > { > ... > track_pfn_remap(vma, &prot, pfn, addr, PAGE_ALIGN(size)); > ... > pfn

Re: [PATCH 0/7] IB/hfi1: Remove write() and use ioctl() for user access

2016-04-22 Thread Dennis Dalessandro
On Wed, Apr 20, 2016 at 02:36:16PM -0600, Jason Gunthorpe wrote: On Thu, Apr 14, 2016 at 01:52:44PM -0400, Dennis Dalessandro wrote: The eprom device is for low level programming of the eprom on the chip. We do not use i2c for this because the eprom is directly attached to the chip and not acces

Re: [PATCH RFC 10/22] block, bfq: add full hierarchical scheduling and cgroups support

2016-04-22 Thread Tejun Heo
Hello, Paolo. On Fri, Apr 22, 2016 at 08:19:47PM +0200, Paolo Valente wrote: > > So, a kworker would jump through different workqueues and issue IOs > > for different writeback domains and the context can't be tied to the > > issuing task. The cgroup membership should be determined directly > > f

Zádost!!

2016-04-22 Thread P.Brt
Jsem zastupujicí investicní zajem ze strany Dubaji, pro ktere hledáme vasi ucast. Odpoved na e-mailu nize v pripade zajmu. E-mail: pbrt...@gmail.com

Re: linux-next: Tree for Apr 22 (adjust_autoksyms.sh)

2016-04-22 Thread Nicolas Pitre
On Fri, 22 Apr 2016, Randy Dunlap wrote: > On 04/22/16 10:48, Nicolas Pitre wrote: > > On Fri, 22 Apr 2016, Randy Dunlap wrote: > > > >> on x86_64: > >> > >> I'm seeing: > >> > >> /bin/sh: scripts/adjust_autoksyms.sh: No such fi

Re: [PATCH v7 4/9] clk: mediatek: Add MT2701 clock support

2016-04-22 Thread Matthias Brugger
On 14/04/16 10:11, James Liao wrote: From: Shunli Wang Add MT2701 clock support, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin Reviewed-by: Matthias Brugger --- drivers/clk/mediatek

Re: [PATCH v7 6/6] Add sancov plugin

2016-04-22 Thread Dmitry Vyukov
On Fri, Apr 22, 2016 at 8:27 PM, Emese Revfy wrote: > The sancov gcc plugin inserts a __sanitizer_cov_trace_pc() call > at the start of basic blocks. > > This plugin is a helper plugin for the kcov feature. It supports > all gcc versions with plugin support (from gcc-4.5 on). > It is based on the

Re: [PATCH] lib: Always NUL terminate ucs2_as_utf8

2016-04-22 Thread Matt Fleming
On Thu, 21 Apr, at 06:21:11PM, Laszlo Ersek wrote: > > ... How about this instead? Your patch looks fine to me. I've gone ahead and stuck it in the urgent EFI queue. Thanks everyone!

Re: fs: GPF in locked_inode_to_wb_and_lock_list

2016-04-22 Thread Dmitry Vyukov
On Thu, Apr 21, 2016 at 7:06 PM, Tejun Heo wrote: > Hello, > > (cc'ing Ilya, Jan and Jens) > > On Thu, Apr 21, 2016 at 12:00:38PM +0200, Dmitry Vyukov wrote: >> On Thu, Apr 21, 2016 at 11:45 AM, Andrey Ryabinin >> wrote: >> > 2016-04-21 11:35 GMT+03:00 Dmitry Vyukov : >> >> >> >> 818884dd

Re: [PATCH 1/2] KVM: x86: fix ordering of cr0 initialization code in vmx_cpu_reset

2016-04-22 Thread Bruce Rogers
>>> On 2/3/2016 at 04:18 PM, Nadav Amit wrote: > Oops. > > Anyhow, I see my patch has done a similar change in init_vmcb() , so you may > want to revert it as well. > > Nadav > > Bruce Rogers wrote: > >> Commit d28bc9dd25ce reversed the order of two lines which initialize cr0, >> allowing th

Re: [PATCH] irqdomain: fix compare_const_fl.cocci warnings

2016-04-22 Thread Julia Lawall
On Fri, 22 Apr 2016, Thomas Gleixner wrote: > On Wed, 20 Apr 2016, Julia Lawall wrote: > > > Move constants to the right of binary operators. > > > > Generated by: scripts/coccinelle/misc/compare_const_fl.cocci > > > > Signed-off-by: Fengguang Wu > > Signed-off-by: Julia Lawall > > This S

Re: [PATCH] irqdomain: fix compare_const_fl.cocci warnings

2016-04-22 Thread Julia Lawall
On Fri, 22 Apr 2016, Jon Hunter wrote: > > On 20/04/16 17:49, Julia Lawall wrote: > > Move constants to the right of binary operators. > > > > Generated by: scripts/coccinelle/misc/compare_const_fl.cocci > > > > Signed-off-by: Fengguang Wu > > Signed-off-by: Julia Lawall > > --- > > > > N

[GIT PULL][PATCH 0/3] Few small timekeeping updates for 4.7

2016-04-22 Thread John Stultz
Hey Thomas, Just wanted to send you my current queue for 4.7. Its fairly small. The one unusal bit is the security_settime64() patch, which was ok'ed to go in via the -tip tree by both Kees and Serge. Let me know if you have any objections. thanks -john Cc: Serge Hallyn Cc: James Morris Cc:

[PATCH 2/3] security: Introduce security_settime64()

2016-04-22 Thread John Stultz
From: Baolin Wang security_settime() uses a timespec, which is not year 2038 safe on 32bit systems. Thus this patch introduces the security_settime64() function with timespec64 type. We also convert the cap_settime() helper function to use the 64bit types. This patch then moves security_settime(

Re: [PATCH] ARM: BCM5301X: Add DT entry for SPI controller and NOR flash

2016-04-22 Thread Florian Fainelli
On 18/04/16 23:56, Rafał Miłecki wrote: > Controller is present on every BCM4708* board but only few devices have > serial flash attached so mark it as disabled by default. > > Signed-off-by: Rafał Miłecki Applied to devicetree/next, thanks! -- Florian

[PATCH 3/3] time: Introduce do_sys_settimeofday64()

2016-04-22 Thread John Stultz
From: Baolin Wang The do_sys_settimeofday() function uses a timespec, which is not year 2038 safe on 32bit systems. Thus this patch introduces do_sys_settimeofday64(), which allows us to transition users of do_sys_settimeofday() to using 64bit time types. Cc: Prarit Bhargava Cc: Richard Cochra

[PATCH 1/3] clocksource: Add missing include of of.h.

2016-04-22 Thread John Stultz
From: David Lechner This header uses OF_DELCARE_1 which is defined in linux/of.h. This fixes getting unhelpful compiler error messages about missing ')' before a string constant. Cc: Prarit Bhargava Cc: Richard Cochran Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: David Lechner Signed

Re: [PATCH RFC 10/22] block, bfq: add full hierarchical scheduling and cgroups support

2016-04-22 Thread Paolo Valente
Il giorno 22/apr/2016, alle ore 20:41, Tejun Heo ha scritto: > Hello, Paolo. > > On Fri, Apr 22, 2016 at 08:19:47PM +0200, Paolo Valente wrote: >>> So, a kworker would jump through different workqueues and issue IOs >>> for different writeback domains and the context can't be tied to the >>> is

Re: [PATCH v7 00/10] KVM PCIe/MSI passthrough on ARM/ARM64: kernel part 1/3: iommu changes

2016-04-22 Thread Alex Williamson
On Fri, 22 Apr 2016 14:31:18 +0200 Eric Auger wrote: > Hi Alex, > On 04/21/2016 09:32 PM, Alex Williamson wrote: > > On Thu, 21 Apr 2016 14:18:09 +0200 > > Eric Auger wrote: > > > >> Hi Alex, Robin, > >> On 04/19/2016 06:56 PM, Eric Auger wrote: > >>> This series introduces the dma-reserved

Re: [PATCH v2 1/1] arm64: dts: NS2 secondary core enablement via PSCI

2016-04-22 Thread Florian Fainelli
On 20/04/16 10:40, Luke Starrett wrote: > Declare PSCI-1.0 node and enable CPU_ON method via PSCI. Spin-table > memreserve has been removed as well as syscon based reset, as PSCI-1.0 > expects reset implementation in firmware. > > Signed-off-by: Luke Starrett Applied with Scott's Ack, thanks Lu

HELLO DEAR

2016-04-22 Thread Melissa Robert
Hello Dear, how are you doing hope fine, I am (Melissa Robert) by name. i will like to know more about you believing that friendship is a free gift of nature. Please get back to me as soon as possible through this my private Email. (mr4785...@gmail.com) thank you.

Re: [PATCH] irqdomain: fix compare_const_fl.cocci warnings

2016-04-22 Thread Jon Hunter
On 22/04/16 20:00, Julia Lawall wrote: > On Fri, 22 Apr 2016, Jon Hunter wrote: > >> >> On 20/04/16 17:49, Julia Lawall wrote: >>> Move constants to the right of binary operators. >>> >>> Generated by: scripts/coccinelle/misc/compare_const_fl.cocci >>> >>> Signed-off-by: Fengguang Wu >>> Signed

[PATCH] KVM: x86: fix ordering of cr0 initialization code in vmx_cpu_reset

2016-04-22 Thread Bruce Rogers
Commit d28bc9dd25ce reversed the order of two lines which initialize cr0, allowing the current (old) cr0 value to mess up vcpu initialization. This was observed in the checks for cr0 X86_CR0_WP bit in the context of kvm_mmu_reset_context(). Besides, setting vcpu->arch.cr0 after vmx_set_cr0() is com

[PATCH] Changed the path from to the incorrect drivers/char/sysrq.c to drivers/tty/sysrq.c

2016-04-22 Thread René Nyffenegger
This is my first patch submission. Please let me know if I have made a mistake anywhere. Signed-off-by: René Nyffenegger --- Documentation/sysrq.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sysrq.txt b/Documentation/sysrq.txt index 13f5619..3a3b30a 1006

Re: [GIT PULL 1/2] bcm2835 DT changes for 4.7

2016-04-22 Thread Florian Fainelli
On 20/04/16 13:27, Eric Anholt wrote: > Linux 4.6-rc1 (2016-03-26 16:03:24 -0700) > > are available in the git repository at: > > https://github.com/anholt/linux tags/bcm2835-dt-next-2016-04-20 > > for you to fetch changes up to 896ad420db8d5ec4cc4727b786d15e28eb59b366: > > dt/bindings: b

Re: [GIT PULL 2/2] bcm2835 defconfig changes for 4.7

2016-04-22 Thread Florian Fainelli
On 20/04/16 13:27, Eric Anholt wrote: > Linux 4.6-rc1 (2016-03-26 16:03:24 -0700) > > are available in the git repository at: > > https://github.com/anholt/linux tags/bcm2835-defconfig-next-2016-04-20 > > for you to fetch changes up to 3652bb35abf6ee11333cbec1d2855c1c0f9f6b27: > > ARM: bc

Re: [PATCH RFC 10/22] block, bfq: add full hierarchical scheduling and cgroups support

2016-04-22 Thread Tejun Heo
Hello, Paolo. On Fri, Apr 22, 2016 at 09:05:14PM +0200, Paolo Valente wrote: > > Ah, right, I was confused. cic is always associated with the task and > > yes a writeback worker can trigger blkcg changed events frequently as > > it walks through different cgroups. Is this an issue? > > That’s e

Re: [PATCH 1/3] mfd: add Cypress FM33256B Processor Companion driver

2016-04-22 Thread Rob Herring
On Wed, Apr 20, 2016 at 01:07:49PM +0200, Jeppe Ledet-Pedersen wrote: > This patch adds support for the Cypress Semiconductor FM33256B processor > companion. The device contains a 256 kbit FRAM, an RTC, a supply voltage > monitor, and a watchdog timer. > > Signed-off-by: Jeppe Ledet-Pedersen > --

Re: [PATCH v2 2/2] ARM: dts: dra7x: Support QSPI MODE-0 operation at 64MHz

2016-04-22 Thread Rob Herring
On Wed, Apr 20, 2016 at 05:03:00PM +0530, Vignesh R wrote: > According to Data Manual(SPRS915P) of AM57x, TI QSPI controller on > DRA74(rev 1.1+)/DRA72 EVM can support up to 64MHz in MODE-0, whereas > MODE-3 is limited to 48MHz. Hence, switch to MODE-0 for better > throughput. > > Signed-off-by: V

Re: [PATCH v2 1/2] Documentation: DT: vdma: Add clock support for vdma

2016-04-22 Thread Rob Herring
On Wed, Apr 20, 2016 at 05:13:18PM +0530, Kedareswara rao Appana wrote: > This patch updates the binding doc with clock description > for vdma. > > Signed-off-by: Kedareswara rao Appana > --- > Changes for v2: > --> Listed down all the clocks supported by the h/w > as suggested by the Datta.

Re: [PATCH 1/2] [v4] net: emac: emac gigabit ethernet controller driver

2016-04-22 Thread Timur Tabi
Timur Tabi wrote: So I've done some more research, and I believe that the internal phy is not a candidate for phylib, but the external phy (which is a real phy) might be. There's no MDIO bus to the internal phy. Does this mean that I will need to enable a PHY driver, and that driver will con

Re: linux-next: Tree for Apr 22 (adjust_autoksyms.sh)

2016-04-22 Thread Nicolas Pitre
On Fri, 22 Apr 2016, Nicolas Pitre wrote: > On Fri, 22 Apr 2016, Randy Dunlap wrote: > > > Yes, this patch helps, but I think there is still a problem. > > I think that trim needs to be done after CONFIG_BUILD_DOCSRC and possibly > > after CONFIG_SAMPLES are built. > > The later is already taken

Re: [PATCH 2/2] printk, allow different timestamps for printk.time

2016-04-22 Thread Andrew Morton
On Fri, 22 Apr 2016 08:03:09 -0400 Prarit Bhargava wrote: > Over the past years I've seen many reports of bugs that include > time-stamped kernel logs (enabled when CONFIG_PRINTK_TIME=y or > print.time=1 is specified as a kernel parameter) that do not align > with either external time stamped log

Re: [PATCH V4 4/4] gpio: tegra: Add support for gpio debounce

2016-04-22 Thread Stephen Warren
On 04/22/2016 04:09 AM, Laxman Dewangan wrote: NVIDIA's Tegra210 support the HW debounce in the GPIO controller for all its GPIO pins. Add support for setting debounce timing by implementing the set_debounce callback of gpiochip. Reviewed-by: Stephen Warren

Re: [PATCH 1/2] [v4] net: emac: emac gigabit ethernet controller driver

2016-04-22 Thread Florian Fainelli
On 22/04/16 12:45, Timur Tabi wrote: > Timur Tabi wrote: >>> >> >> So I've done some more research, and I believe that the internal phy is >> not a candidate for phylib, but the external phy (which is a real phy) >> might be. There's no MDIO bus to the internal phy. >> >> Does this mean that I wil

UBSAN warning in r100: shift exponent 255 is too large for 32-bit type 'int'

2016-04-22 Thread Meelis Roos
I turned on UBSAN on most of my test machines and one of the warnings it gives comes from r100. This in 4.6-rc4, on 32-bit P4. [8.829702] [drm] radeon kernel modesetting enabled. [8.832094] [drm] initializing kernel modesetting (RV100 0x1002:0x5159 0x2023:0x148C). [8.832279] [drm] re

[PATCH] drm/dp/mst: Get validated port ref in drm_dp_update_payload_part1()

2016-04-22 Thread Lyude
We can thank KASAN for finding this, otherwise I probably would have spent hours on it. This fixes a somewhat harder to trigger kernel panic, occuring while enabling MST where the port we were currently updating the payload on would have all of it's refs dropped before we finished what we were doin

Re: [PATCH 2/6] Documentation: DT binding doc for iProc Shared MDIO Controller.

2016-04-22 Thread Rob Herring
On Thu, Apr 21, 2016 at 02:48:39PM +0530, Pramod Kumar wrote: > Add DT binding doc for iProc Shared MDIO Controller which > populate all masters to Shared MDIO framework. > > Signed-off-by: Pramod Kumar > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden > --- > .../bindings/bus/brcm,iproc-sha

Re: [PATCH 1/3] mfd: add Cypress FM33256B Processor Companion driver

2016-04-22 Thread Alexandre Belloni
On 22/04/2016 at 14:32:32 -0500, Rob Herring wrote : > On Wed, Apr 20, 2016 at 01:07:49PM +0200, Jeppe Ledet-Pedersen wrote: > > This patch adds support for the Cypress Semiconductor FM33256B processor > > companion. The device contains a 256 kbit FRAM, an RTC, a supply voltage > > monitor, and a w

Re: [PATCH 5/6] Documentation: Binding doc for ethernet master in NS2

2016-04-22 Thread Rob Herring
On Thu, Apr 21, 2016 at 02:48:42PM +0530, Pramod Kumar wrote: > Adding binding doc for ethernet master present in shared > MDIO controller. > > Signed-off-by: Pramod Kumar > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden > --- > .../bindings/net/brcm,iproc-mdio-shared.txt| 32 > +++

Re: [PATCH v2 5/7] mfd: dt-bindings: Add RK818 device tree bindings document

2016-04-22 Thread Rob Herring
On Thu, Apr 21, 2016 at 03:12:39PM +0200, Wadim Egorov wrote: > Add device tree bindings documentation for Rockchip's RK818 PMIC. > > Signed-off-by: Wadim Egorov > --- > Documentation/devicetree/bindings/mfd/rk808.txt | 37 > +++-- > 1 file changed, 34 insertions(+), 3 delet

Re: [PATCH v2] Documentation: bindings: fix palmas-rtc documentation

2016-04-22 Thread Rob Herring
On Thu, Apr 21, 2016 at 06:03:15PM +0200, H. Nikolaus Schaller wrote: > change 100mA -> 100uA > > Signed-off-by: H. Nikolaus Schaller > --- > Documentation/devicetree/bindings/rtc/rtc-palmas.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Acked-by: Rob Herring

Re: [PATCH RESEND v2 1/4] Documentation: rockchip-dw-mshc: add description for rk3399

2016-04-22 Thread Rob Herring
On Fri, Apr 22, 2016 at 01:51:44PM +0800, Jianqun Xu wrote: > From: Shawn Lin > > Add "rockchip,rk3399-dw-mshc", "rockchip,rk3288-dw-mshc" for > dwmmc on rk3399 platform. > > Change-Id: Ieefafab5f0e9650271e823659e2bec1556c4a9bc Drop this Gerrit tag. > Signed-off-by: Shawn Lin > --- > changes

Re: [PATCH RESEND v2 3/4] ARM64: dts: rockchip: add RK3399 evaluation board

2016-04-22 Thread Rob Herring
On Fri, Apr 22, 2016 at 01:51:46PM +0800, Jianqun Xu wrote: > The RK3399 evaluation board is designed with pmic > rk808 on top board. > > Signed-off-by: Jianqun Xu > --- > changes in v2: > - new add patch > > Documentation/devicetree/bindings/arm/rockchip.txt | 6 +- > 1 file changed, 5 ins

Re: [PATCH v4 2/3] Documentation: DT: vdma: Add clock support for dmas

2016-04-22 Thread Rob Herring
On Fri, Apr 22, 2016 at 11:43:49AM +0530, Kedareswara rao Appana wrote: > This patch updates the binding doc with clock description > for AXI DMA's. > > Acked-by: Sören Brinkmann > Signed-off-by: Kedareswara rao Appana > --- > Changes for v4: > ---> None. > Changes for v3: > ---> Added clock sup

Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller

2016-04-22 Thread Suravee Suthikulpanit
On 04/15/2016 12:06 PM, Tomasz Nowicki wrote: From the functionality point of view this series might be split into the following logic parts: 1. Necessary fixes as the preparation for using driver on ARM64. 2. New ECAM API and update for users of the pci-host-common API 3. Use new MCFG interface

Re: [PATCH v11 04/60] sparc/PCI: Use correct offset for bus address to resource

2016-04-22 Thread Bjorn Helgaas
[+cc Ben, Michael] On Thu, Apr 07, 2016 at 05:15:17PM -0700, Yinghai Lu wrote: > After we added 64bit mmio parsing, we got some "no compatible bridge window" > warning on anther new model that support 64bit resource. > > It turns out that we can not use mem_space.start as 64bit mem space > offset

[PATCH/RFC v2] perf core: Allow setting up max frame stack depth via sysctl

2016-04-22 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 20, 2016 at 04:04:12PM -0700, Alexei Starovoitov escreveu: > On Wed, Apr 20, 2016 at 07:47:30PM -0300, Arnaldo Carvalho de Melo wrote: > Nice. I like it. That's a great approach to hard problem. > Java guys will be happy too. > Please also adjust two places in kernel/bpf/stackmap.c

Re: [PATCH] kprobes: add the "tls" argument for j_do_fork

2016-04-22 Thread Andrew Morton
On Thu, 14 Apr 2016 17:16:40 +0800 Huang Shijie wrote: > The patch "3033f14a clone: support passing tls argument via C rather ..." > added the tls argument for _do_fork(). The patch adds the "tls" argument > for j_do_fork to make it match _do_fork(). > > ... > > --- a/samples/kprobes/jprobe_exa

Re: [tip:x86/boot] x86/boot: Make memcpy() handle overlaps

2016-04-22 Thread Lasse Collin
On 2016-04-22 tip-bot for Kees Cook wrote: > x86/boot: Make memcpy() handle overlaps > > Two uses of memcpy() (screen scrolling and ELF parsing) were handling > overlapping memory areas. While there were no explicitly noticed bugs > here (yet), it is best to fix this so that the copying will alway

Re: [PATCH v2 1/2] mm, kasan: don't call kasan_krealloc() from ksize().

2016-04-22 Thread Andrew Morton
On Wed, 13 Apr 2016 13:20:09 +0200 Alexander Potapenko wrote: > Instead of calling kasan_krealloc(), which replaces the memory allocation > stack ID (if stack depot is used), just unpoison the whole memory chunk. I don't understand why these two patches exist. Bugfix? Cleanup? Optimization?

Re: [PATCH/RFC v2] perf core: Allow setting up max frame stack depth via sysctl

2016-04-22 Thread Alexei Starovoitov
On Fri, Apr 22, 2016 at 05:52:32PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Apr 20, 2016 at 04:04:12PM -0700, Alexei Starovoitov escreveu: > > On Wed, Apr 20, 2016 at 07:47:30PM -0300, Arnaldo Carvalho de Melo wrote: > > > Nice. I like it. That's a great approach to hard problem. > > Java

Re: [PATCH v2 6/7] clk: Kconfig: Name RK818 in Kconfig for COMMON_CLK_RK808

2016-04-22 Thread Stephen Boyd
On 04/21, Wadim Egorov wrote: > The RK808 and RK818 PMICs are using a similar register map. > We can reuse the clk driver for the RK818 PMIC. So let's add > the RK818 in the Kconfig description. > > Signed-off-by: Wadim Egorov > --- Acked-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. i

Re: [PATCH 19/25] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2016-04-22 Thread Yury Norov
On Fri, Apr 22, 2016 at 06:10:09PM +0100, Catalin Marinas wrote: > On Wed, Apr 06, 2016 at 01:08:41AM +0300, Yury Norov wrote: > > Here new aarch32 ptrace syscall handler is introsuced to avoid run-time > > detection of the task type. > > The reason for this patch isn't clear to me. What's wrong w

Re: [PATCH v2 02/13] clk: Add {devm_}clk_hw_{register,unregister}() APIs

2016-04-22 Thread Stephen Boyd
On 04/21, Stephen Boyd wrote: > We've largely split the clk consumer and provider APIs along > struct clk and struct clk_hw, but clk_register() still returns a > struct clk pointer for each struct clk_hw that's registered. > Eventually we'd like to only allocate struct clks when there's a > user, b

Re: [PATCH v2 03/13] clk: Add clk_hw OF clk providers

2016-04-22 Thread Stephen Boyd
On 04/21, Stephen Boyd wrote: > Now that we have a clk registration API that doesn't return > struct clks, we need to have some way to hand out struct clks via > the clk_get() APIs that doesn't involve associating struct clk > pointers with an OF node. Currently we ask the OF provider to > give us

Re: [PATCH v2 05/13] clk: divider: Add hw based registration APIs

2016-04-22 Thread Stephen Boyd
On 04/21, Stephen Boyd wrote: > Add registration APIs in the clk divider code to return struct > clk_hw pointers instead of struct clk pointers. This way we hide > the struct clk pointer from providers unless they need to use > consumer facing APIs. > > Signed-off-by: Stephen Boyd > --- Applied

Re: [PATCH v2 06/13] clk: gate: Add hw based registration APIs

2016-04-22 Thread Stephen Boyd
On 04/21, Stephen Boyd wrote: > Add registration APIs in the clk gate code to return struct > clk_hw pointers instead of struct clk pointers. This way we hide > the struct clk pointer from providers unless they need to use > consumer facing APIs. > > Signed-off-by: Stephen Boyd > --- Applied to

Re: [PATCH] mm/vmalloc: Keep a separate lazy-free list

2016-04-22 Thread Andrew Morton
On Fri, 15 Apr 2016 12:14:31 +0100 Chris Wilson wrote: > > > purge_fragmented_blocks() manages per-cpu lists, so that looks safe > > > under its own rcu_read_lock. > > > > > > Yes, it looks feasible to remove the purge_lock if we can relax sync. > > > > what is still left is waiting on vmap_are

Re: [PATCH] fs: add the FIGETFROZEN ioctl call

2016-04-22 Thread Florian Margaine
On Tue, Apr 19, 2016 at 1:06 AM, Dave Chinner wrote: >> A way to query freeze state might be nice, I think, but yeah, it's >> racy, so you can't depend on it - but it might be useful in the "huh, >> IO is failing, what's going on? Oh, it's frozen, ok" scenario... > > So maybe we should just add t

Re: [PATCH] fs: reintroduce freezing nesting

2016-04-22 Thread Florian Margaine
On Tue, Apr 19, 2016 at 11:39 PM, Mateusz Guzik wrote: > On Tue, Apr 19, 2016 at 10:48:41PM +0200, Florian Margaine wrote: >> The behavior was removed in 18e9e5104fcd9a973ffe3eed3816c87f2a1b6cd2 >> noting that this was a better idea than using a counter. However, this >> behavior is actually wante

Re: [PATCH v3] of/overlay: add of overlay notifications

2016-04-22 Thread atull
On Tue, 19 Apr 2016, Rob Herring wrote: > On Thu, Mar 3, 2016 at 9:10 AM, Alan Tull wrote: > > This patch add of overlay notifications. > > > > When DT overlays are being added, some drivers/subsystems > > need to see device tree overlays before the changes go into > > the live tree. > > > > This

Re: [PATCH] cpu/hotplug: handle unbalanced hotplug enable/disable

2016-04-22 Thread Lianwei Wang
On Fri, Apr 22, 2016 at 9:37 AM, Thomas Gleixner wrote: > On Fri, 22 Apr 2016, Lianwei Wang wrote: > >> On Thu, Apr 21, 2016 at 3:50 AM, Peter Zijlstra wrote: >> > On Wed, Apr 20, 2016 at 09:56:07PM -0700, Lianwei Wang wrote: >> >> Currently it just print a warning message but did not >> >> reset

Re: [PATCH 12/25] arm64: compat: change config dependences to aarch32

2016-04-22 Thread Yury Norov
On Fri, Apr 22, 2016 at 04:58:18PM +0100, Catalin Marinas wrote: > On Wed, Apr 06, 2016 at 01:08:34AM +0300, Yury Norov wrote: > > From: Bamvor Jian Zhang > > > > With the patches of ILP32, COMPAT is not equivalent to AARCH32 in EL0. > > This patch fix this by updating the dependency from COMPAT

Re: [tip:x86/boot] x86/boot: Make memcpy() handle overlaps

2016-04-22 Thread Kees Cook
On Fri, Apr 22, 2016 at 2:05 PM, Lasse Collin wrote: > On 2016-04-22 tip-bot for Kees Cook wrote: >> x86/boot: Make memcpy() handle overlaps >> >> Two uses of memcpy() (screen scrolling and ELF parsing) were handling >> overlapping memory areas. While there were no explicitly noticed bugs >> here

Re: [PATCH/RFC v2] perf core: Allow setting up max frame stack depth via sysctl

2016-04-22 Thread David Ahern
On 4/22/16 2:52 PM, Arnaldo Carvalho de Melo wrote: Em Wed, Apr 20, 2016 at 04:04:12PM -0700, Alexei Starovoitov escreveu: On Wed, Apr 20, 2016 at 07:47:30PM -0300, Arnaldo Carvalho de Melo wrote: Nice. I like it. That's a great approach to hard problem. Java guys will be happy too. Please al

[PATCH] [media] au0828: fix double free in au0828_usb_probe()

2016-04-22 Thread Alexey Khoroshilov
In case of failure au0828_v4l2_device_register() deallocates dev and returns error code to au0828_usb_probe(), which also calls kfree(dev) on a failure path. The patch removes duplicated code from au0828_v4l2_device_register(). Found by Linux Driver Verification project (linuxtesting.org). Signe

Re: [PATCH 01/10] PM / OPP: Propagate the error returned by _find_opp_table()

2016-04-22 Thread Stephen Boyd
On 04/21, Viresh Kumar wrote: > Don't send -EINVAL and propagate what's received from _find_opp_table(). > > Signed-off-by: Viresh Kumar > --- Reviewed-by: Stephen Boyd -- X-Patchwork-State: Not Applicable Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation C

Re: [PATCH 02/10] PM / OPP: Add missing doc style comments

2016-04-22 Thread Stephen Boyd
On 04/21, Viresh Kumar wrote: > Few of the routines in cpu.c were missing these, add them. > > Signed-off-by: Viresh Kumar > --- Reviewed-by: Stephen Boyd -- X-Patchwork-State: Not Applicable Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative P

Re: [PATCH 03/10] PM / OPP: dev_pm_opp_set_sharing_cpus() doesn't depend on CONFIG_OF

2016-04-22 Thread Stephen Boyd
On 04/21, Viresh Kumar wrote: > dev_pm_opp_set_sharing_cpus() doesn't do any DT specific stuff and its > declarations are added within the CONFIG_OF ifdef by mistake. Take them > out of that. > > Signed-off-by: Viresh Kumar > --- Reviewed-by: Stephen Boyd -- X-Patchwork-State: Not Applicable

[PATCH 8/8] arm64: dts: msm8916: Add SCM firmware node

2016-04-22 Thread Andy Gross
This adds the devicetree node for the SCM firmware. Signed-off-by: Andy Gross --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 9681200..d912cd7 100644 ---

[PATCH 7/8] dts: qcom: apq8084: Add SCM firmware node

2016-04-22 Thread Andy Gross
This patch adds the firmware node for the SCM Signed-off-by: Andy Gross --- arch/arm/boot/dts/qcom-apq8084.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi index a33a09f..711b6fb 100644 --- a/arch/arm/

Re: [PATCH/RFC v2] perf core: Allow setting up max frame stack depth via sysctl

2016-04-22 Thread Alexei Starovoitov
On Fri, Apr 22, 2016 at 04:05:31PM -0600, David Ahern wrote: > On 4/22/16 2:52 PM, Arnaldo Carvalho de Melo wrote: > >Em Wed, Apr 20, 2016 at 04:04:12PM -0700, Alexei Starovoitov escreveu: > >>On Wed, Apr 20, 2016 at 07:47:30PM -0300, Arnaldo Carvalho de Melo wrote: > > > >>Nice. I like it. That's

[PATCH 5/8] firmware: qcom: scm: Use atomic SCM for cold boot

2016-04-22 Thread Andy Gross
This patch changes the cold_set_boot_addr function to use atomic SCM calls. This removes the need for memory allocation and instead places all arguments in registers. Signed-off-by: Andy Gross --- drivers/firmware/qcom_scm-32.c | 40 ++-- 1 file changed, 26 i

Re: [PATCH 4/5] x86, boot: Make memcpy handle overlaps

2016-04-22 Thread Kees Cook
On Fri, Apr 22, 2016 at 12:49 AM, Ingo Molnar wrote: > > * Kees Cook wrote: > >> Two uses of memcpy (screen scrolling and ELF parsing) were handling >> overlapping memory areas. While there were no explicitly noticed bugs >> here (yet), it is best to fix this so that the copying will always be >>

Re: [PATCH] KVM: x86: fix ordering of cr0 initialization code in vmx_cpu_reset

2016-04-22 Thread Greg KH
On Fri, Apr 22, 2016 at 12:56:03PM -0600, Bruce Rogers wrote: > Commit d28bc9dd25ce reversed the order of two lines which initialize cr0, > allowing the current (old) cr0 value to mess up vcpu initialization. > This was observed in the checks for cr0 X86_CR0_WP bit in the context of > kvm_mmu_reset

[PATCH 3/8] firmware: qcom: scm: Generalize shared error map

2016-04-22 Thread Andy Gross
This patch moves the qcom_scm_remap_error function to the include file where can be used by both the 32 and 64 bit versions of the code. Signed-off-by: Andy Gross Signed-off-by: Andy Gross --- drivers/firmware/qcom_scm-32.c | 17 - drivers/firmware/qcom_scm.h| 16 +++

[PATCH 6/8] firmware: qcom: scm: Add memory allocation API

2016-04-22 Thread Andy Gross
This patch adds APIs for the scm-32 and scm-64 to use for coherent memory allocation. Signed-off-by: Andy Gross --- drivers/firmware/qcom_scm.c | 17 + drivers/firmware/qcom_scm.h | 4 2 files changed, 21 insertions(+) diff --git a/drivers/firmware/qcom_scm.c b/drivers/fir

[PATCH] tmpfs: fix VM_MAYSHARE mappings for NOMMU

2016-04-22 Thread Rich Felker
The nommu do_mmap expects f_op->get_unmapped_area to either succeed or return -ENOSYS for VM_MAYSHARE (e.g. private read-only) mappings. Returning addr in the non-MAP_SHARED case was completely wrong, and only happened to work because addr was 0. However, it prevented VM_MAYSHARE mappings from shar

[PATCH 0/8] Qualcomm SCM Rework

2016-04-22 Thread Andy Gross
The following set of patches does a bit of rework on the existing Qualcomm SCM firmware. The first couple of patches deals with turning the current SCM into a platform driver. The next couple are cleanups that make adding the 64 support a little easier. I took Kumar's 64 bit support patch and mo

[PATCH 4/8] firmware: qcom: scm: Add support for ARM64 SoCs

2016-04-22 Thread Andy Gross
From: Kumar Gala Add an implementation of the SCM interface that works on ARM64 SoCs. This is used by things like determine if we have HDCP support or not on the system. Signed-off-by: Kumar Gala Signed-off-by: Andy Gross --- drivers/firmware/qcom_scm-32.c | 4 + drivers/firmware/qcom_scm-

[PATCH 2/8] firmware: qcom: scm: Convert SCM to platform driver

2016-04-22 Thread Andy Gross
This patch converts the Qualcomm SCM firmware driver into a platform driver. Signed-off-by: Andy Gross --- arch/arm64/Kconfig.platforms | 1 + drivers/firmware/qcom_scm.c | 154 --- 2 files changed, 147 insertions(+), 8 deletions(-) diff --git a/arch/a

Re: Nokia N900: Broken lirc ir-rx51 driver

2016-04-22 Thread Tony Lindgren
* Pali Rohár [160422 06:50]: > On Tuesday 05 January 2016 17:12:50 Tony Lindgren wrote: > > * Pali Rohár [160105 02:19]: > > > On Saturday 02 January 2016 09:06:57 Tony Lindgren wrote: > > > > > > > > Yup please take a look at thread "[PATCH 0/3] pwm: omap: Add PWM support > > > > using dual-mode

[PATCH 1/8] dt/bindings: firmware: Add Qualcomm SCM binding

2016-04-22 Thread Andy Gross
This patch adds the device tree support for the Qualcomm SCM firmware. Signed-off-by: Andy Gross --- .../devicetree/bindings/firmware/qcom,scm.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/qcom,scm.txt diff

<    3   4   5   6   7   8   9   >