Re: [GIT PULL 0/5] EFI urgent fixes

2016-02-16 Thread Ingo Molnar
* Matt Fleming wrote: > On Tue, 16 Feb, at 01:15:45PM, Ingo Molnar wrote: > > > > Pulled, thanks Matt! > > Thanks a lot Ingo. > > I've actually got a couple of stragglers that came before the weekend > that fix bugs. It would be good to pick them up before you send a pull > request to Linus.

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-16 Thread Heikki Krogerus
On Tue, Feb 16, 2016 at 02:39:47PM +0100, Oliver Neukum wrote: > On Tue, 2016-02-16 at 11:22 +0200, Heikki Krogerus wrote: > > > That question has not been answered. It would be awkward for the OS > > > to find itself in the slave role, which it is ill equipped for. So > > > the data role should be

Re: [PATCH] crypto: fix compile errors of XTS

2016-02-16 Thread Herbert Xu
On Wed, Feb 17, 2016 at 07:00:01AM +0100, Stephan Mueller wrote: > Commit 28856a9e52c7 missed the addition of the crypto/xts.h include file > for different architecture-specific AES implementations. > > Signed-off-by: Stephan Mueller Applied. -- Email: Herbert Xu Home Page: http://gondor.apana

RE: [PATCH] dts: ls102xa: ifc: Add the partition for NOR flash

2016-02-16 Thread Huan Wang
> On Wed, Feb 03, 2016 at 04:16:44PM +0800, Alison Wang wrote: > > According to the new mapping table, the partition for NOR flash is > > added. > > How do you know that everyone using the board wants the NOR flash to be > partitioned this way? It's really a matter of software configuration > and

Re: [PATCH v5 RESEND 4/5] ARM: amba: Move reading of periphid to amba_match()

2016-02-16 Thread Marek Szyprowski
Hello, On 2016-02-15 18:52, Russell King - ARM Linux wrote: On Wed, Feb 10, 2016 at 11:47:29AM +0100, Marek Szyprowski wrote: From: Tomeu Vizoso Reading the periphid when the Primecell device is registered means that the apb pclk must be available by then or the device won't be registered at

Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of subsys initcall

2016-02-16 Thread Krzysztof Kozlowski
On 17.02.2016 05:45, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 02/15/2016 08:20 PM, Krzysztof Kozlowski wrote: >> On 16.02.2016 00:21, Javier Martinez Canillas wrote: >>> Hello Krzysztof, >>> >>> On 02/15/2016 03:54 AM, Krzysztof Kozlowski wrote: On 12.02.2016 13:30, Javier Ma

Re: [PATCH v4 5/8] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-02-16 Thread Hans Verkuil
On 02/16/2016 07:37 AM, tiffany lin wrote: >>> +static int fops_vcodec_open(struct file *file) >>> +{ >>> + struct video_device *vfd = video_devdata(file); >>> + struct mtk_vcodec_dev *dev = video_drvdata(file); >>> + struct mtk_vcodec_ctx *ctx = NULL; >>> + int ret = 0; >>> + >>> + mutex

Re: [PATCH v2 4/5] irqchip:create irq domain for each mbigen device

2016-02-16 Thread Marc Zyngier
On Wed, 17 Feb 2016 12:18:52 +0800 "majun (F)" wrote: > > > 在 2016/2/16 16:50, Marc Zyngier 写道: > > On Tue, 16 Feb 2016 14:37:27 +0800 > > MaJun wrote: > > > >> From: Ma Jun > [...] > >> + unsigned int nid; > >> + > >> + nid = get_mbigen_nid(hwirq); > >> + > >> + if (nid < 4) > >> +

Re: [GIT PULL 00/10] perf/core improvements and fixes

2016-02-16 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit fe7a2eaa71c55aadbf95d01d32df8dccc0db0646: > > Merge tag 'perf-core-for-mingo' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core

[PATCH v1] GPIO/ACPI: DesignWare: Add GPIO-signaled ACPI events support for power button

2016-02-16 Thread qiujiang
This patch modifies the DesignWare GPIO controller driver to support the GPIO-signaled ACPI Events. This is used for power button function on ARM server. To make it work, the _AEI and _EVT object must be defined in the corresponding GPIO driver's dsdt table in UEFI as follow: Device(GPI0) {

Re: [PATCH] asus-nb-wmi: add wapf=4 quirk for ASUS X75VD

2016-02-16 Thread Darren Hart
On Fri, Feb 12, 2016 at 03:35:21PM +0200, Oleksandr Natalenko wrote: > Wi-Fi on ASUS X75VD laptop does not work unless asus_nb_wmi module > is loaded with wapf=4 option. Add quirk for this. Concept is fine, checkpatch complains bitterly about whitespace. Please ensure you are not adding spaces at

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2016-02-16 Thread Ivaylo Dimitrov
Hi, On 16.02.2016 15:51, Tomi Valkeinen wrote: Does it work for you? I haven't used DT reserved-memory, do you have an example .dts change? Yes, it does work, I tested it on n900: diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 1e94237..863d547 10064

Re: [PATCH] drivers/platform: make x86/intel_scu_ipc.c explicitly non-modular

2016-02-16 Thread Darren Hart
On Sun, Feb 14, 2016 at 03:00:52PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/platform/x86/Kconfig:config INTEL_SCU_IPC > drivers/platform/x86/Kconfig: bool "Intel SCU IPC Support" > > ...meaning that it currently is not being built

Re: [PATCH 4/6] pinctrl: rockchip: add bindings for rk3399 pinctrl

2016-02-16 Thread Jianqun Xu
在 17/02/2016 14:47, Heiko Stuebner 写道: Hi Jianqun, Am Mittwoch, 17. Februar 2016, 09:53:10 schrieb jianqun.xu: From: Xu Jianqun Add devicetree bindings for pinctrl found on rk3399 processors from rockchip. Signed-off-by: Xu Jianqun --- Documentation/devicetree/bindings/pinctrl/rockchip,

Re: [PATCH v5 1/4] x86/signal/64: Add a comment about sigcontext->fs and gs

2016-02-16 Thread Ingo Molnar
* Andy Lutomirski wrote: > + * If the kernel ever adds explicit fs, gs, fsbase, and gsbase > + * save/restore, it will most likely need to be opt-in and use > + * different context slots. Btw., that's not necessarily true: it could also be made opt-out, and a modify_ldt() or any

Re: [PATCH] kernel/hung_task.c: printk address for hung_task

2016-02-16 Thread Kassey
Ingo, Mandeep: can you review this patch ? BR Kassey On Thu, Jan 14, 2016 at 5:33 PM, Kassey wrote: > Xinhui: > when I got a DDR dump, with the task_struct address for this > task, I can see what file this task is accessing, as well as > task_struct member. > this is very us

Re: [PATCH 1/2] ideapad: No hardware switch after 2016

2016-02-16 Thread Darren Hart
On Tue, Feb 16, 2016 at 10:04:02AM +0800, Ike Panhc wrote: > On 02/16/2016 01:32 AM, Bjørn Mork wrote: > > Ike Panhc writes: > >> On 02/15/2016 08:08 PM, Bjørn Mork wrote: > >>> Ike Panhc writes: > >>> > There are complains on few ideapads that wireless is always hard > blocked but ther

Re: [RRC PATCH 2/2] vfs: Use per-cpu list for superblock's inode list

2016-02-16 Thread Ingo Molnar
* Waiman Long wrote: > When many threads are trying to add or delete inode to or from > a superblock's s_inodes list, spinlock contention on the list can > become a performance bottleneck. > > This patch changes the s_inodes field to become a per-cpu list with > per-cpu spinlocks. > > With an

Re: [PATCH] fs/pnode.c: treat zero mnt_group_id-s as unequal

2016-02-16 Thread Maxim Patlasov
On 02/16/2016 11:54 AM, Al Viro wrote: On Tue, Feb 16, 2016 at 11:45:33AM -0800, Maxim Patlasov wrote: propagate_one(m) calculates "type" argument for copy_tree() like this: if (m->mnt_group_id == last_dest->mnt_group_id) { type = CL_MAKE_SHARED; } else { type = CL_SLAV

Re: [RFC 1/3] ARM: dts: Add cooling levels for CPUs on exynos5420

2016-02-16 Thread Krzysztof Kozlowski
On 17.02.2016 16:01, Viresh Kumar wrote: > On 17-02-16, 15:55, Krzysztof Kozlowski wrote: >> On Exynos5420 we support 8 cpufreq steps (600-1300 MHz) for LITTLE and >> 12 steps for big core (700-1800 MHz). Add respective cooling cells. >> >> Signed-off-by: Krzysztof Kozlowski >> --- >> arch/arm/bo

RE: [PATCH v5 0/3] Adding NPS400 drivers

2016-02-16 Thread Noam Camus
Waiting for your feedback on my v5 patch set :) -Original Message- From: Noam Camus Sent: Thursday, February 11, 2016 8:41 PM To: linux-kernel@vger.kernel.org Cc: linux-snps-...@lists.infradead.org; daniel.lezc...@linaro.org; marc.zyng...@arm.com; Chris Metcalf; Tal Zilcer; Gilad Ben Yos

[PATCH v5 4/4] soc: mediatek: Add MT2701 scpsys driver

2016-02-16 Thread James Liao
From: Shunli Wang Add scpsys driver for MT2701. Signed-off-by: Shunli Wang Signed-off-by: James Liao --- drivers/soc/mediatek/mtk-scpsys.c | 108 +- 1 file changed, 107 insertions(+), 1 deletion(-) diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/

[PATCH v5 1/4] soc: mediatek: Refine scpsys to support multiple platform

2016-02-16 Thread James Liao
Refine scpsys driver common code to support multiple SoC / platform. Signed-off-by: James Liao --- drivers/soc/mediatek/mtk-scpsys.c | 363 +++--- 1 file changed, 220 insertions(+), 143 deletions(-) diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/me

[PATCH v5 2/4] soc: mediatek: Init MT8173 scpsys driver earlier

2016-02-16 Thread James Liao
Some power domain comsumers may init before module_init. So the power domain provider (scpsys) need to be initialized earlier too. Take an example for our IOMMU (M4U) and SMI. SMI is a bridge between IOMMU and multimedia HW. SMI is responsible to enable/disable iommu and help transfer data for eac

[PATCH v5 0/4] Mediatek MT2701 SCPSYS power domain support

2016-02-16 Thread James Liao
This patchset is based on v4.5-rc4 and adds scpsys power domain support for Mediatek MT2701. To share the code between MT2701 and MT8173, this patchset also refined original mtk-scpsys.c to separate common codes and platform codes, so that mtk-scpsys.c can support new SoCs more easily. MT8173 and

[PATCH v5 3/4] soc: mediatek: Add MT2701 power dt-bindings

2016-02-16 Thread James Liao
From: Shunli Wang Add power dt-bindings for MT2701. Signed-off-by: Shunli Wang Signed-off-by: James Liao --- .../devicetree/bindings/soc/mediatek/scpsys.txt| 6 +++-- include/dt-bindings/power/mt2701-power.h | 27 ++ 2 files changed, 31 insertions(+), 2 dele

Re: [PATCH 6/6] ARM64: dts: rockchip: add core dtsi file for rk3399

2016-02-16 Thread Heiko Stuebner
Hi Jianqun, Am Mittwoch, 17. Februar 2016, 10:01:16 schrieb jianqun.xu: > From: Xu Jianqun > > Add dtsi file for Rockchip rk3399 SoCs, which includes some > general nodes such as cpu, pmu, cru, gic, amba and so on. > > Change-Id: Ie3b824e8ead967d4cb119d73222b7a198478c29c please remove any revi

Re: [RFC 1/3] ARM: dts: Add cooling levels for CPUs on exynos5420

2016-02-16 Thread Viresh Kumar
On 17-02-16, 15:55, Krzysztof Kozlowski wrote: > On Exynos5420 we support 8 cpufreq steps (600-1300 MHz) for LITTLE and > 12 steps for big core (700-1800 MHz). Add respective cooling cells. > > Signed-off-by: Krzysztof Kozlowski > --- > arch/arm/boot/dts/exynos5420-cpus.dtsi | 6 ++ > 1 file

[RFC 1/3] ARM: dts: Add cooling levels for CPUs on exynos5420

2016-02-16 Thread Krzysztof Kozlowski
On Exynos5420 we support 8 cpufreq steps (600-1300 MHz) for LITTLE and 12 steps for big core (700-1800 MHz). Add respective cooling cells. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5420-cpus.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exy

[RFC-help needed 0/3] ARM: dts: thermal: Fix Odroid XU3-Lite overheat

2016-02-16 Thread Krzysztof Kozlowski
Hi, I mentioned overheating problem of Odroid XU3-Lite after enabling cpufreq-dt (when busy in a quite warm room). [0] The patchset tries to fix this by adding CPU cooling device. Unfortunately apparently I screwed something because on next-20160216 it does not help. The fan works at full but

[RFC 2/3] ARM: dts: Add cooling levels for CPUs on exynos5422/5800

2016-02-16 Thread Krzysztof Kozlowski
On Exynos5422 and Exynos5800 we support 12 cpufreq steps (200-1300 MHz) for LITTLE and 18 steps for big core (200-1700 MHz). Add respective cooling cells. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-cpus.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch

[RFC 3/3] ARM: dts: Don't overheat the Odroid XU3-Lite on high load

2016-02-16 Thread Krzysztof Kozlowski
After adding cpufreq-dt support to Exynos542x, the Odroid XU3-Lite can be easily overheated when launching eight CPU-intensive tasks: thermal thermal_zone3: critical temperature reached(121 C),shutting down This seems to be specific to Odroid XU3-Lite board which officially supports lower

[PATCH 2/2] drm/panel: Add support for LG lp120up1 panel

2016-02-16 Thread Jitao Shi
The LG lp120up1 panel is a 12.0" 1920x1280 panel, which can be supported by the simple panel driver Signed-off-by: Jitao Shi --- drivers/gpu/drm/panel/panel-simple.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/

[PATCH 1/2] dt-bindings: Add LG lp120up1 panel bindings

2016-02-16 Thread Jitao Shi
Add documentation for lp120up1 panel Signed-off-by: Jitao Shi --- .../bindings/display/panel/lg,lp120up1.txt |7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/lg,lp120up1.txt diff --git a/Documentation/devicetree/binding

[PATCH] staging: xgifb: Fix comment style

2016-02-16 Thread Bo YU
Fix comments to use trailing */ on separate lines. Signed-off-by: YU BO --- drivers/staging/xgifb/vb_init.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c index 26b539b..c7f02c7 100644 --- a/dri

[PATCH] eCryptfs: fix typos in comment

2016-02-16 Thread Wei Yuan
Signed-off-by: Weiyuan --- fs/ecryptfs/crypto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c index 80d6901..d47a7d4 100644 --- a/fs/ecryptfs/crypto.c +++ b/fs/ecryptfs/crypto.c @@ -44,7 +44,7 @@ * ecryptfs_to_hex * @dst: B

Re: [PATCH 4/6] pinctrl: rockchip: add bindings for rk3399 pinctrl

2016-02-16 Thread Heiko Stuebner
Hi Jianqun, Am Mittwoch, 17. Februar 2016, 09:53:10 schrieb jianqun.xu: > From: Xu Jianqun > > Add devicetree bindings for pinctrl found on rk3399 > processors from rockchip. > > Signed-off-by: Xu Jianqun > --- > Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt | 2 +- > 1 file

Re: [PATCH] spi/rockchip: Add dt-binding for Rockchip rk3399 spi

2016-02-16 Thread Heiko Stuebner
Hi Jianqun, Am Mittwoch, 17. Februar 2016, 08:21:58 schrieb Jianqun Xu: > 在 16/02/2016 22:37, Heiko Stuebner 写道: > > Am Dienstag, 16. Februar 2016, 13:22:23 schrieb Mark Brown: > >> On Tue, Feb 16, 2016 at 05:22:18PM +0800, jianqun.xu wrote: > >>> Documentation/devicetree/bindings/spi/spi-rockch

Re: [PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings

2016-02-16 Thread Magnus Damm
Hi Simon, On Wed, Feb 17, 2016 at 3:28 PM, Simon Horman wrote: > On Wed, Feb 17, 2016 at 11:33:27AM +0900, Magnus Damm wrote: >> Hi Geert, >> >> On Tue, Feb 16, 2016 at 10:11 PM, Geert Uytterhoeven >> wrote: >> > On Tue, Feb 16, 2016 at 8:17 AM, Magnus Damm wrote: >> >> From: Magnus Damm >> >>

perf object code reading test crashes

2016-02-16 Thread Steven Noonan
I oddly didn't run into this issue on every machine I tried, but there's some issues here: $ sudo perf test 21 21: Test object code reading :*** Error in `perf': corrupted double-linked list: 0x023ffcd0 *** === Backtrace: = /usr/lib/libc.so.6(+0x

Re: [lustre-devel] [PATCH] staging: lustre: Fixed the parenthesis

2016-02-16 Thread shalin mehta
Hello, Should I send this patch again due the spelling mistake in the patch description? Thanks, Shalin On Mon, Feb 15, 2016 at 6:51 PM, Drokin, Oleg wrote: > > On Feb 14, 2016, at 10:37 PM, Shalin Mehta wrote: > >> The parentehsis are fixed in the macro for the ldlm lock to set and >> clear th

[PATCH] mm: remove unnecessary description about a non-exist gfp flag

2016-02-16 Thread Satoru Takeuchi
Since __GFP_NOACCOUNT is removed by the following commit, its description is not necessary. commit 20b5c3039863 ("Revert 'gfp: add __GFP_NOACCOUNT'") Signed-off-by: Satoru Takeuchi --- include/linux/gfp.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/gfp.h b/include/linux/g

Re: [PATCH v3 04/06] devicetree: bindings: Deprecate property, update example

2016-02-16 Thread Simon Horman
On Tue, Feb 16, 2016 at 04:17:59PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Deprecate "renesas,channels-mask" and update the r8a7790 CMT example. > > Signed-off-by: Magnus Damm > Acked-by: Geert Uytterhoeven > Acked-by: Laurent Pinchart > Acked-by: Rob Herring Acked-by: Simon Horma

[RFC PATCH] staging/android/ion : fix a race condition in the ion driver

2016-02-16 Thread EunTaik Lee
There was a use-after-free problem in the ion driver. The problem is detected as an unaligned access in the spin lock functions since it uses load exclusive instruction. In some cases it corrupts the slub's free pointer which causes a unaligned access to the next free pointer.(thus the kmalloc fu

Re: [PATCH v3 06/06] devicetree: bindings: Remove deprecated properties

2016-02-16 Thread Simon Horman
On Tue, Feb 16, 2016 at 04:18:19PM +0900, Magnus Damm wrote: > From: Magnus Damm > > The deprecated DT properties are part of the GIT history, > no need to keep them around any longer. > > Signed-off-by: Magnus Damm > Acked-by: Rob Herring > Acked-by: Geert Uytterhoeven Acked-by: Simon Horma

Re: [PATCH v3] phy: marvell: Fix and unify reg-init behavior

2016-02-16 Thread Florian Fainelli
On February 15, 2016 2:46:45 PM PST, Clemens Gruber wrote: >For the Marvell 88E1510, marvell_of_reg_init was called too late, in >the >config_aneg function. >Since commit 113c74d83eef ("net: phy: turn carrier off on phy attach"), >this lead to the link not coming up at boot anymore, due to the ph

Re: [PATCH v3 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings

2016-02-16 Thread Simon Horman
On Tue, Feb 16, 2016 at 04:18:09PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Remove the 32-bit CMT compat strings to reduce maintenance burden. > > It should be fine to break DT compatibility because the 32-bit > 32-bit CMT DT binding was never part of any upstream DTS file. > > Signed-

[PATCH] intel_telemetry_pltdrv: Change verbosity control bits

2016-02-16 Thread Souvik Kumar Chakravarty
Due to a recent fix in the firmware, the Punit verbosity control bits now adhere to the correct pattern. Hence remove the workaround and do a read-mofiy-write of the register. Signed-off-by: Souvik Kumar Chakravarty --- drivers/platform/x86/intel_telemetry_pltdrv.c | 13 - 1 file c

Re: [PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings

2016-02-16 Thread Simon Horman
On Wed, Feb 17, 2016 at 11:33:27AM +0900, Magnus Damm wrote: > Hi Geert, > > On Tue, Feb 16, 2016 at 10:11 PM, Geert Uytterhoeven > wrote: > > On Tue, Feb 16, 2016 at 8:17 AM, Magnus Damm wrote: > >> From: Magnus Damm > >> > >> Add documentation for new separate CMT0 and CMT1 DT compatible stri

[PATCH] clk: check the actual phase if get_phase is provided

2016-02-16 Thread Shawn Lin
set_phase does sanity checking of degree and ask sub-driver to set the degree. If set_phase is limited to support the degree what the caller need, sub-driver may select a approximate value and return success state. In this case, it's inappropriate to assign the degree directly to clk->core->phase.

Distributed Completely Fair Scheduler

2016-02-16 Thread Nitin Varyani
Hi , I am working on developing a distributed process scheduling algorithm for linux as a part of my master's thesis. Unfortunately I am a newbie to kernel programming and the project which I am working on is difficult for people who understand kernel scheduler well. Still I am very passionate abou

[PATCH] crypto: fix compile errors of XTS

2016-02-16 Thread Stephan Mueller
Commit 28856a9e52c7 missed the addition of the crypto/xts.h include file for different architecture-specific AES implementations. Signed-off-by: Stephan Mueller --- arch/arm/crypto/aes-ce-glue.c | 1 + arch/arm/crypto/aesbs-glue.c | 1 + arch/arm64/crypto/aes-glue.c | 1 + arch/

Re: [PATCH v3 01/06] devicetree: bindings: Remove sh7372 CMT binding

2016-02-16 Thread Simon Horman
On Tue, Feb 16, 2016 at 04:17:31PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Remove the sh7372 CMT compat string to reduce maintenance burden. > > It should be fine to break DT compatibility because: > 1) The sh7372 SoC support has been removed from upstream > 2) The sh7372 CMT DT bindin

Re: [PATCH v7 0/9] virtio DMA API, yet again

2016-02-16 Thread Andy Lutomirski
On Tue, Feb 2, 2016 at 9:46 PM, Andy Lutomirski wrote: > This switches virtio to use the DMA API on Xen and if requested by > module option. Michael, any update on this? --Andy

[PATCH] ARM: at91: sama5/dts: move hsmc_clk out of nfc node

2016-02-16 Thread Wenyou Yang
From: Josh Wu In sama5d3, sama5d4 chips, pmecc will use the hsmc clock. As pmecc is part of HSMC. So move out hsmc_clk from nfc node to nand node. Signed-off-by: Josh Wu Signed-off-by: Wenyou Yang --- arch/arm/boot/dts/sama5d3.dtsi |2 +- arch/arm/boot/dts/sama5d4.dtsi |2 +- 2 files

Re: rcu_preempt self-detected stall on CPU from 4.5-rc3, since 3.17

2016-02-16 Thread Paul E. McKenney
On Tue, Feb 09, 2016 at 09:11:55PM +1100, Ross Green wrote: > Continued testing with the latest linux-4.5-rc3 release. > > Please find attached a copy of traces from dmesg: > > There is a lot more debug and trace data so hopefully this will shed > some light on what might be happening here. > >

[git pull] drm fixes

2016-02-16 Thread Dave Airlie
Hi Linus, This has two main sets of fixse, A bunch of Exynos fixes, mainly for their MIC component. vblank regression fixes from Mario, apparantly some changes in 4.4 caused some vblank breakage on radeon/nouveau, this set fixes all the issues seen. There is also a revert of one of the MST cha

[PATCH] mtd: atmel_nand: move the hsmc_clk from nfc node to nand node

2016-02-16 Thread Wenyou Yang
From: Josh Wu For sama5d3, sama5d4 chip, the pmecc becomes a part of HSMC, they need the HSMC clock to be enabled to work. The NFC is a sub feature for current nand driver, it can be disabled. But if HSMC clock is controlled by NFC, so disable NFC will also disable the HSMC clock. then, it will m

linux-next: Tree for Feb 17

2016-02-16 Thread Stephen Rothwell
Hi all, Changes since 20160216: The net-next tree gained a conflict against the net tree. The crypto tree gained a build failure so I used the version from next-20160216. The clockevents tree gained a conflict against Linus' tree. The gpio tree lost its build failure. The aio tree stil

Re: wlcore: Fix regression in wlcore_set_partition()

2016-02-16 Thread Ross Green
Appreciate your efforts! Just trying to make sure it does not get lost. Introduced in rc1, not fixed by ... rc4. Anyway, I will continue to test, lots of other things still to chase even in rc4! Regards, Ross Green On Wed, Feb 17, 2016 at 2:24 AM, Kalle Valo wrote: > Ross Green writes: > >>

[PATCH] psmouse: added absolute touch event support to BYD touchpad driver

2016-02-16 Thread Richard Pospesel
Fixed the line length issues per offline discussion with Chris. --- Input: BYD: added absolute touch event support to BYD touchpad driver Implemented absolute position and touch reporting. Now BYD touchpads will use the synaptics/libinput xorg touchpad drivers. Added documentation for all known g

Re: [PATCH] ARM: vdso: Mark vDSO code as read-only

2016-02-16 Thread David Brown
On Tue, Feb 16, 2016 at 01:52:33PM -0800, Kees Cook wrote: On Tue, Feb 16, 2016 at 1:36 PM, David Brown wrote: Although the arm vDSO is cleanly separated by code/data with the code being read-only in userspace mappings, the code page is still writable from the kernel. There have been exploits

Re: [PATCH] zsmalloc: drop unused member 'mapping_area->huge'

2016-02-16 Thread Sergey Senozhatsky
On (02/17/16 09:56), YiPing Xu wrote: > When unmapping a huge class page in zs_unmap_object, the page will > be unmapped by kmap_atomic. the "!area->huge" branch in > __zs_unmap_object is alway true, and no code set "area->huge" now, > so we can drop it. > the patch looks good to me, thanks. Revi

Re: [PATCH 2/2] cpufreq: ondemand: Drop unused callback from struct od_ops

2016-02-16 Thread Viresh Kumar
On 16-02-16, 21:01, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ->freq_increase callback in struct od_ops is never invoked, > so drop it. > > No functional changes. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq_governor.h |1 - > drivers/cpufreq/cpufr

Re: [PATCH 1/2] cpufreq: ondemand: Simplify od_update() slightly

2016-02-16 Thread Viresh Kumar
On 16-02-16, 21:00, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Drop some lines of code from od_update() by arranging the statements > in there in a more logical way. > > No functional changes. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq_ondemand.c | 11 +

Re: [tpmdd-devel] [PATCH] tpm_crb: fix bad name pointer usage with struct resource

2016-02-16 Thread Jason Gunthorpe
On Wed, Feb 17, 2016 at 02:27:54AM +0200, Jarkko Sakkinen wrote: > - if (acpi_dev_resource_memory(ares, &res)) > + if (acpi_dev_resource_memory(ares, &res)) { > + res.name = NULL; What? How is this not a bug in acpi_dev_resource_memory? Maybe it needs to memcpy into devm alloca

Re: [RFC][PATCH 00/10] Add trace event support to eBPF

2016-02-16 Thread Alexei Starovoitov
On Tue, Feb 16, 2016 at 04:35:27PM -0600, Tom Zanussi wrote: > On Sun, 2016-02-14 at 01:02 +0100, Alexei Starovoitov wrote: > > On Fri, Feb 12, 2016 at 10:11:18AM -0600, Tom Zanussi wrote: > > this hist triggers belong in the kernel. BPF already can do > > way more complex aggregation and histogra

RE: [PATCH] PCI: layerscape: add ls2085a compatible

2016-02-16 Thread Mingkai Hu
> -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: Saturday, February 06, 2016 6:25 AM > To: Shi, Yang > Cc: mingkai...@freescale.com; minghuan.l...@freescale.com; > bhelg...@google.com; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; linux-arm-ker.

Re: [PATCH net-next] net: bridge: log port STP state on change

2016-02-16 Thread Stephen Hemminger
On Tue, 16 Feb 2016 10:09:51 -0500 Vivien Didelot wrote: > Remove the shared br_log_state function and print the info directly in > br_set_state, where the net_bridge_port state is actually changed. > > Signed-off-by: Vivien Didelot > --- Looks good and fixes the weird case where set_state fai

Re: [PATCH v2 4/5] irqchip:create irq domain for each mbigen device

2016-02-16 Thread majun (F)
在 2016/2/16 16:50, Marc Zyngier 写道: > On Tue, 16 Feb 2016 14:37:27 +0800 > MaJun wrote: > >> From: Ma Jun [...] >> +unsigned int nid; >> + >> +nid = get_mbigen_nid(hwirq); >> + >> +if (nid < 4) >> +return (nid * 4) + REG_MBIGEN_VEC_OFFSET; >> +else >> +r

Re: [PATCH] zsmalloc: drop unused member 'mapping_area->huge'

2016-02-16 Thread Sergey Senozhatsky
On (02/17/16 11:29), xuyiping wrote: [..] > > if (off + class->size <= PAGE_SIZE) { > > for huge object, the code will get into this branch, there is no more huge > object process in __zs_map_object. correct, well, techically, it's not about huge objects, but objects that span page boundar

Re: [PATCH V3 6/6] coresight-stm: adding driver for CoreSight STM component

2016-02-16 Thread Chunyan Zhang
On Fri, Feb 12, 2016 at 12:59 AM, Mathieu Poirier wrote: > On 6 February 2016 at 04:04, Chunyan Zhang wrote: >> From: Pratik Patel >> >> This driver adds support for the STM CoreSight IP block, allowing any >> system compoment (HW or SW) to log and aggregate messages via a >> single entity. >> >

[PATCH RHEL6.8] x86/mm: Improve AMD Bulldozer ASLR workaround

2016-02-16 Thread Rik van Riel
Fixes bug 1240883 Brew build: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=10506428 RHEL6: code changed around from upstream so the address transformations happen in the RHEL6 code flow. Tested on amd-pike-08.klab.eng.bos.redhat.com commit 4e26d11f52684dc8b1632a8cfe450cb5197a8464

Re: [PATCH v13 4/4] Watchdog: introduce ARM SBSA watchdog driver

2016-02-16 Thread Guenter Roeck
On 02/16/2016 09:08 AM, fu@linaro.org wrote: From: Fu Wei According to Server Base System Architecture (SBSA) specification, the SBSA Generic Watchdog has two stage timeouts: the first signal (WS0) is for alerting the system by interrupt, the second one (WS1) is a real hardware reset. More

Re: [PATCH] mm/hugetlb: Fix incorrect proc nr_hugepages value

2016-02-16 Thread Naoya Horiguchi
On Wed, Feb 17, 2016 at 01:13:26AM +0530, Vaishali Thakkar wrote: > Currently incorrect default hugepage pool size is reported by proc > nr_hugepages when number of pages for the default huge page size is > specified twice. > > When multiple huge page sizes are supported, /proc/sys/vm/nr_hugepages

Re: [PATCH v3 0/3] Allow iio_hwmon to accept hypen in node names

2016-02-16 Thread Guenter Roeck
On 02/15/2016 09:00 PM, Sanchayan Maity wrote: Hello, Initial versions of the patchset intended to introduce the use of iio_hwmon for Vybrid SoC's. Currently the iio_hwmon driver has two users and as per the binding documentation, the node names use the underscore. Use of hypen in device tree no

[PATCH v3 3/6] ext4: Online defrag not supported with DAX

2016-02-16 Thread Ross Zwisler
Online defrag operations for ext4 are hard coded to use the page cache. See ext4_ioctl() -> ext4_move_extents() -> move_extent_per_page() When combined with DAX I/O, which circumvents the page cache, this can result in data corruption. This was observed with xfstests ext4/307 and ext4/308. Fix t

[PATCH v3 4/6] dax: give DAX clearing code correct bdev

2016-02-16 Thread Ross Zwisler
dax_clear_blocks() needs a valid struct block_device and previously it was using inode->i_sb->s_bdev in all cases. This is correct for normal inodes on mounted ext2, ext4 and XFS filesystems, but is incorrect for DAX raw block devices and for XFS real-time devices. Instead, rename dax_clear_block

[PATCH v3 5/6] dax: move writeback calls into the filesystems

2016-02-16 Thread Ross Zwisler
Previously calls to dax_writeback_mapping_range() for all DAX filesystems (ext2, ext4 & xfs) were centralized in filemap_write_and_wait_range(). dax_writeback_mapping_range() needs a struct block_device, and it used to get that from inode->i_sb->s_bdev. This is correct for normal inodes mounted on

[PATCH v3 2/6] ext2, ext4: only set S_DAX for regular inodes

2016-02-16 Thread Ross Zwisler
When S_DAX is set on an inode we assume that if there are pages attached to the mapping (mapping->nrpages != 0), those pages are clean zero pages that were used to service reads from holes. Any dirty data associated with the inode should be in the form of DAX exceptional entries (mapping->nrexcept

[PATCH v3 1/6] block: disable block device DAX by default

2016-02-16 Thread Ross Zwisler
From: Dan Williams The recent *sync enabling discovered that we are inserting into the block_device pagecache counter to the expectations of the dirty data tracking for dax mappings. This can lead to data corruption. We want to support DAX for block devices eventually, but it requires wider cha

[PATCH v3 6/6] block: use dax_do_io() if blkdev_dax_capable()

2016-02-16 Thread Ross Zwisler
From: Dan Williams Setting S_DAX on an inode requires that the inode participate in the DAX-fsync mechanism which expects to use the pagecache for tracking potentially dirty cpu cachelines. However, dax_do_io() participates in the standard pagecache sync semantics and arranges for dirty pages to

[PATCH v3 0/6] DAX fixes, move flushing calls to FS

2016-02-16 Thread Ross Zwisler
This patch series fixes several issues with the current DAX code: 1) DAX is used by default on raw block devices that are capable of supporting it. This creates an issue because there are still uses of the block device that use the page cache, and having one block device user doing DAX I/O and an

perf: wrong event->count report (Was: perf basic-test-aarch64 failures)

2016-02-16 Thread Oleg Nesterov
Finally I reproduced... let me add CC's and reply to initial message. This has nothing to do with arm/uprobes. I simply can't understand how perf calculates ->total_time_enabled/running. At all. But the problem is that 1. perf_event_enable_on_exec() does enable first, then event_sched_in(

Re: [PATCH] zsmalloc: drop unused member 'mapping_area->huge'

2016-02-16 Thread xuyiping
HI, Sergery On 2016/2/17 10:26, Sergey Senozhatsky wrote: Hello, On (02/17/16 09:56), YiPing Xu wrote: static int create_handle_cache(struct zs_pool *pool) @@ -1127,11 +1126,9 @@ static void __zs_unmap_object(struct mapping_area *area, goto out; buf = area->vm_buf; -

[PATCH] f2fs: move sanity checking of cp into get_valid_checkpoint

2016-02-16 Thread Shawn Lin
>From the function name of get_valid_checkpoint, it seems to return the valid cp or NULL for caller to check. If no valid one is found, f2fs_fill_super will print the err log. But if get_valid_checkpoint get one valid(the return value indicate that it's valid, however actually it is invalid after s

Re: [PATCH V3 6/6] coresight-stm: adding driver for CoreSight STM component

2016-02-16 Thread Chunyan Zhang
Hi Michael, One question below need to be clarified. On Fri, Feb 12, 2016 at 10:55 PM, Michael Williams wrote: > Mathieu Poirier [mailto:mathieu.poir...@linaro.org] wrote: >> On 6 February 2016 at 04:04, Chunyan Zhang wrote: >>> From: Pratik Patel >>> >>> This driver adds support for the STM C

[PATCH 0/2] pinctrl: mediatek: add setting for gpio and eint

2016-02-16 Thread Biao Huang
1. add input-enable setting in gpio_request_enable. 2. add input-enable and direction setting for eint resources. Biao Huang (2): pinctrl: mediatek: add input-enable setting in gpio_request_enable pinctrl: mediatek: add input-enable and direction setting for eint resources drivers/pinctr

[PATCH 2/2] pinctrl: mediatek: add input-enable and direction setting for eint resources

2016-02-16 Thread Biao Huang
To use pin as eint, user should make sure that: 1. pin is set to right mode, this is done in .irq_request_resources implementation already. 2. direction of the pin is input, which should call GPIO API to set pin to input gpio. We add what step 2 do to .irq_request_resources so that user doesn't nee

[PATCH 1/2] pinctrl: mediatek: add input-enable setting in gpio_request_enable

2016-02-16 Thread Biao Huang
Since input-disable cuts off input signal of gpio, add input-enable setting in .gpio_request_enable implementation to ensure gpio function well Signed-off-by: Biao Huang --- drivers/pinctrl/mediatek/pinctrl-mtk-common.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/media

Re: [RESEND PATCH v8 1/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-02-16 Thread xuejiancheng
Hi Mike, Thank you very much for your comments. On 2016/2/17 8:46, Michael Turquette wrote: > Hello Jiancheng Xue, > > Quoting Jiancheng Xue (2016-02-04 18:31:07) >> diff --git a/drivers/clk/hisilicon/Makefile b/drivers/clk/hisilicon/Makefile >> index 74dba31..3f57b09 100644 >> --- a/drivers/c

Re: [PATCH 01/23] perf record: Add --all-user/--all-kernel options

2016-02-16 Thread Andi Kleen
> Need to investigate why there are kernel samples when --all-user is used and > the other way around as well. This is a known issue due to skid. PEBS usually avoids it. -Andi

Re: [PATCH v8 8/8] livepatch: Detect offset for the ftrace location during build

2016-02-16 Thread Michael Ellerman
On Tue, 2016-02-16 at 14:57 +0100, Petr Mladek wrote: > > Some dugging has shown an Oops in the fucntion int_to_scsilun() > called from ibmvscsi_queuecommand(). So, I rebooted and > did the following test: > > $> echo ibmvscsi_queuecommand >/sys/kernel/debug/tracing/set_ftrace_filter > $> echo fu

RE: [PATCH 1/4] block: bio: introduce helpers to get the 1st and last bvec

2016-02-16 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-block-ow...@vger.kernel.org [mailto:linux-block- > ow...@vger.kernel.org] On Behalf Of Ming Lei > Sent: Monday, February 15, 2016 3:42 AM > Subject: Re: [PATCH 1/4] block: bio: introduce helpers to get the 1st and > last bvec ... > diff --git a/include/lin

Re: [PATCH v2 3/7] ibmvscsi: Replace magic values in set_adpater_info() with defines

2016-02-16 Thread Martin K. Petersen
> "Tyrel" == Tyrel Datwyler writes: >> Is there some reason you didn't carry the review tag over from this: >> >> http://mid.gmane.org/20160204084459.gw27...@c203.arch.suse.de >> >> ? >> >> James Tyrel> The patch is slightly changed from v1. A define for AIX os type Tyrel> was added as me

Re: [STABLE] kernel oops which can be fixed by peterz's patches

2016-02-16 Thread Mike Galbraith
On Wed, 2016-02-17 at 11:00 +0900, Byungchul Park wrote: > On Tue, Feb 16, 2016 at 04:41:39PM -0800, Greg KH wrote: > > On Wed, Feb 17, 2016 at 09:11:03AM +0900, Byungchul Park wrote: > > > On Tue, Feb 16, 2016 at 09:42:12AM -0800, Greg KH wrote: > > > > On Tue, Feb 16, 2016 at 09:44:35AM +0100, Pe

Re: [STABLE] kernel oops which can be fixed by peterz's patches

2016-02-16 Thread Greg KH
On Wed, Feb 17, 2016 at 11:00:08AM +0900, Byungchul Park wrote: > On Tue, Feb 16, 2016 at 04:41:39PM -0800, Greg KH wrote: > > On Wed, Feb 17, 2016 at 09:11:03AM +0900, Byungchul Park wrote: > > > On Tue, Feb 16, 2016 at 09:42:12AM -0800, Greg KH wrote: > > > > On Tue, Feb 16, 2016 at 09:44:35AM +0

Re: [PATCH] X.509: Fix test for self-signed certificate

2016-02-16 Thread lee joey
2016-02-11 21:34 GMT+08:00 Michal Marek : > If either the Subject + subjectKeyId or the Issuer + Serial number > differs between the certificate and the CA, the certificate is not > self-signed. In practice, both will be equal for self-signed > certificates and both will differ for CA-signed certif

RE: [PATCH 00/29] tracing: 'hist' triggers

2016-02-16 Thread 平松雅巳 / HIRAMATU,MASAMI
Hi Tom, Just a note that I've tested by my test scripts. I'll try to add a test case for Namhyung's extension. Thanks, >From: Tom Zanussi [mailto:tom.zanu...@linux.intel.com] >On Fri, 2016-02-12 at 11:59 -0500, Steven Rostedt wrote: >> On Fri, 12 Feb 2016 10:17:37 -0600 >> Tom Zanussi wrote: >>

RE: [PATCH v3 1/5] ACPI: change __init to __ref for early_acpi_os_unmap_memory()

2016-02-16 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > ow...@vger.kernel.org] On Behalf Of Zheng, Lv > Subject: RE: [PATCH v3 1/5] ACPI: change __init to __ref for > early_acpi_os_unmap_memory() > > Hi, > > > -Original Message- > > From: linux-acpi-ow...@vger.kernel.org [mail

  1   2   3   4   5   6   7   8   9   10   >