Re: [PATCH v2 2/2] phy: add a driver for the Rockchip SoC internal eMMC PHY

2016-01-31 Thread Kishon Vijay Abraham I
On Monday 25 January 2016 01:19 PM, Shawn Lin wrote: > Hello Kishon, > > Any changce to apply this patch? :) back from vacation. Will review it this week. Sorry for the delay. Thanks Kishon > > On 2016/1/5 9:08, Shawn Lin wrote: >> This patch to add a generic PHY driver for ROCKCHIP eMMC PH

Re: [RFC PATCH 11/19] cpufreq: assert policy->rwsem is held in __cpufreq_governor

2016-01-31 Thread Viresh Kumar
On 30-01-16, 12:49, Rafael J. Wysocki wrote: > On Friday, January 29, 2016 04:33:39 PM Saravana Kannan wrote: > > AFAIR, the ABBA issue was between the sysfs lock and the policy lock. Yeah, to be precise here it is: CPU0 (sysfs read) CPU1 (exit governor) sysfs-read

linux-next: Tree for Feb 1

2016-01-31 Thread Stephen Rothwell
Hi all, Changes since 20160129: The dt-rh tree gained a conflict against the qcom tree. The rcu tree gained a build failure so I used the version from next-20160129. The staging tree gained conflicts against the staging.current and tty trees. The gpio tree still had its build failure so I used

Re: [RFC 3/3] CMDQ: Mediatek CMDQ driver

2016-01-31 Thread Horng-Shyang Liao
On Mon, 2016-02-01 at 12:15 +0800, Daniel Kurtz wrote: > On Mon, Feb 1, 2016 at 10:04 AM, Horng-Shyang Liao > wrote: > > > > On Fri, 2016-01-29 at 21:15 +0800, Daniel Kurtz wrote: > > > On Fri, Jan 29, 2016 at 8:24 PM, Horng-Shyang Liao > > > wrote: > > > > On Fri, 2016-01-29 at 16:42 +0800, Da

RE: [PATCH 4/4] Documentation: atmel-at91: add DT bindings for fast startup

2016-01-31 Thread Yang, Wenyou
Hi Rob, Thank you for your review. > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: 2016年1月30日 0:20 > To: Yang, Wenyou > Cc: Ferre, Nicolas ; Alexandre Belloni > ; Jean-Christophe Plagniol-Villard > ; Russell King ; linux- > c...@vger.kernel.org; Pawel Moll ; Mar

Re: [PATCH v5] lib/spinlock_debug.c: prevent a recursive cycle in the debug code

2016-01-31 Thread Byungchul Park
On Mon, Feb 01, 2016 at 11:31:12AM +0900, Sergey Senozhatsky wrote: > On (01/29/16 21:43), Byungchul Park wrote: > [..] > > +extern int is_console_lock(raw_spinlock_t *lock); > > + > > static void __spin_lock_debug(raw_spinlock_t *lock) > > { > > u64 i; > > @@ -113,11 +115,19 @@ static void _

[PATCH 1/3] Input: tps6507x-ts - add binding for tps6507x-ts

2016-01-31 Thread Sushaanth Srirangapathi
add binding information for tps6507x touchscreen input. "ti,min-pressure" was added as TI specific binding because it was specific to tps6507x IP and not applicable or relevant for other touchscreen drivers. Signed-off-by: Sushaanth Srirangapathi --- Documentation/devicetree/bindings/mfd/tps650

[PATCH 1/3] Input: tps6507x-ts - add support for tps6507x-ts

2016-01-31 Thread Sushaanth Srirangapathi
add binding information for tps6507x touchscreen input. Signed-off-by: Sushaanth Srirangapathi --- Documentation/devicetree/bindings/mfd/tps6507x.txt | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/tps6507x.txt b/Documenta

[PATCH 3/3] ARM: DTS: da850: add DT node for tps6507x-ts

2016-01-31 Thread Sushaanth Srirangapathi
add tps6507x touchscreen device tree node information to DA850 EVM Signed-off-by: Sushaanth Srirangapathi --- arch/arm/boot/dts/da850-evm.dts |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index ef061e9..b4f54fc 100644

[PATCH 2/3] Input: tps6507x-ts - Add device tree support

2016-01-31 Thread Sushaanth Srirangapathi
Add device tree support for TPS6507x touchscreen input device. Signed-off-by: Sushaanth Srirangapathi --- drivers/input/touchscreen/tps6507x-ts.c | 51 --- 1 file changed, 47 insertions(+), 4 deletions(-) diff --git a/drivers/input/touchscreen/tps6507x-ts.c b/driv

[PATCH 0/3] Add Device Tree support for tps6507x-ts

2016-01-31 Thread Sushaanth Srirangapathi
Add DT support for touchscreen input device tps6507x-ts which is part of MFD device "TPS6507x" Sushaanth Srirangapathi (3): Input: tps6507x-ts - add binding for tps6507x-ts Input: tps6507x-ts - Add device tree support ARM: DTS: da850: add DT node for tps6507x-ts Documentation/devicetree/bi

Re: [PATCH v4 9/9] ARM: dts: rockchip: support the spi for rk3036

2016-01-31 Thread Caesar Wang
Heiko, 在 2016年01月31日 19:06, Heiko Stuebner 写道: Hi Caesar, Am Donnerstag, 28. Januar 2016, 16:43:38 schrieb Caesar Wang: [...] memory { @@ -485,6 +486,23 @@ status = "disabled"; }; + spi: spi@20074000 { + compatible = "rockchip,rockchip-s

Re: [PATCH 3/3] clk: Provide OF helper to mark clocks as CRITICAL

2016-01-31 Thread Maxime Ripard
Hi Andre, On Wed, Jan 27, 2016 at 11:51:45PM +, André Przywara wrote: > Hi, > > On 18/01/16 14:28, Lee Jones wrote: > > This call matches clocks which have been marked as critical in DT > > and sets the appropriate flag. These flags can then be used to > > mark the clock core flags appropria

Re: [PATCH 1/4] sched: Don't account tickless CPU load on tick

2016-01-31 Thread Byungchul Park
On Wed, Jan 20, 2016 at 07:26:14PM +0900, Byungchul Park wrote: > On Wed, Jan 20, 2016 at 02:43:35PM +0900, Byungchul Park wrote: > > > > It looks very tricky. I have a question. Do we have to call the > > scheduler_tick() even while the tick is stopped? IMHO, it seems to be > > ok even if we won'

Re: [PATCH v4 1/9] ARM: dts: rockchip: add the leds control for kylin board

2016-01-31 Thread Caesar Wang
在 2016年01月31日 18:46, Heiko Stuebner 写道: Am Donnerstag, 28. Januar 2016, 16:43:30 schrieb Caesar Wang: As the kylin schematic drawing, add the needed work led for kylin board. Run: echo 0 > /sys/class/leds/kylin:red:led/brightness echo 1 > /sys/class/leds/kylin:red:led/brightness The led can

Re: [PATCH 1/3] Input: tps6507x-ts - add support for tps6507x-ts

2016-01-31 Thread Sushaanth Srirangapathi
On Monday 01 February 2016 11:58 AM, Sushaanth Srirangapathi wrote: add binding information for tps6507x touchscreen input. Signed-off-by: Sushaanth Srirangapathi Please ignore this patch. It was an older version which was sent by mistake. Thanks, Sushaanth

[RESEND][PATCH v5 2/3] spi: spi-ti-qspi: add mmap mode read support

2016-01-31 Thread Vignesh R
ti-qspi controller provides mmap port to read data from SPI flashes. mmap port is enabled in QSPI_SPI_SWITCH_REG. ctrl module register may also need to be accessed for some SoCs. The QSPI_SPI_SETUP_REGx needs to be populated with flash specific information like read opcode, read mode(quad, dual, no

[RESEND][PATCH v5 1/3] spi: introduce accelerated read support for spi flash devices

2016-01-31 Thread Vignesh R
In addition to providing direct access to SPI bus, some spi controller hardwares (like ti-qspi) provide special port (like memory mapped port) that are optimized to improve SPI flash read performance. This means the controller can automatically send the SPI signals required to read data from the SP

[RESEND][PATCH v5 3/3] mtd: devices: m25p80: add support for mmap read request

2016-01-31 Thread Vignesh R
Certain spi controllers may provide accelerated interface to read from m25p80 type flash devices. This interface provides better read performance than regular SPI interface. Call spi_flash_read(), if supported, to make use of such interface. Signed-off-by: Vignesh R --- Resend v5: Rebased on top

[RESEND][PATCH v5 0/3] Add memory mapped read support for ti-qspi

2016-01-31 Thread Vignesh R
Resend v5: Rebased on top of v4.5-rc1 Changes since v4: Use syscon to access system control module register in ti-qspi driver. Changes since v3: Rework to introduce spi_flash_read_message struct. Support different opcode/addr/data formats as per Brian's suggestion here: https://lkml.org/lkml/2015

Re: [PATCH tip v6 2/5] kbuild: Add option to turn incompatible pointer check into error

2016-01-31 Thread Daniel Wagner
On 01/29/2016 07:55 PM, Paul Gortmaker wrote: > [Re: [PATCH tip v6 2/5] kbuild: Add option to turn incompatible pointer check > into error] On 29/01/2016 (Fri 13:17) Daniel Wagner wrote: > >> On 01/28/2016 03:44 PM, Daniel Wagner wrote: >>> +# enforce correct pointer usage >>> +KBUILD_CFLAGS += $

Re: [PATCH v7 0/9] Fix broken DMAFLUSHP on Rockchips platform

2016-01-31 Thread Caesar Wang
Hello Vinod, Is there any chance apply the DMA patches?:-) - Caesar 在 2016年01月22日 19:06, Caesar Wang 写道: This series patches are apply on linus master branch. Okay, this series patches verified on my github. (https://github.com/Caesar-github/rockchip/commits/for-dma-tests) Linux version 4.4.

Re: [PATCH] staging: rtl8192u: Fix block comments use * on subsequent lines in r8192U_wx.c

2016-01-31 Thread Julia Lawall
On Mon, 1 Feb 2016, Byeoungwook Kim wrote: > clean up checkpatch warning: > WARNING: Block comments use * on subsequent lines > > Signed-off-by: Byeoungwook Kim > --- > drivers/staging/rtl8192u/r8192U_wx.c | 38 > +++- > 1 file changed, 20 insertions(+), 18 de

[PATCH] [dm]fix NULL pointer in dm_exception_store_create() when create dm device

2016-01-31 Thread DingXiang
In some conditions(such as umount fs failed),origin path or origin bdev or both of the two is same as cow's.If this happens, origin dev will be freed when get cow dev in function "dm_get_device" , then "s->origin->dev" which used by "dm_exception_store_create" will be a NULL pointer. Signed-off

RE: [PATCH 1/1] fs:ubifs:recovery:fixup UBIFS cannot recover master node issue

2016-01-31 Thread beanhuo
Hi, Richard > From: Richard Weinberger [mailto:rich...@nod.at] > Sent: Thursday, January 28, 2016 5:32 PM > To: Bean Huo 霍斌斌 (beanhuo); Artem Bityutskiy; Adrian Hunter; Brian > Norris > Cc: linux-...@lists.infradead.org; linux-kernel@vger.kernel.org; Boris > Brezillon; Peter Pan 潘栋 (peterpandong);

Re: linux-next: Tree for Feb 1

2016-01-31 Thread Sudip Mukherjee
On Mon, Feb 01, 2016 at 05:14:32PM +1100, Stephen Rothwell wrote: > Hi all, > > Changes since 20160129: blackfin defconfig fails, and it needs https://patchwork.kernel.org/patch/8148161/ regards sudip

Re: [REGRESSION] gpio: pxa: change initcall level second attempt

2016-01-31 Thread Marcel Ziswiler
Hi Robert On Sun, 2016-01-31 at 00:20 +0100, Robert Jarzmik wrote: > Marcel, would you try the patch here after ? > I have tested it on my cm-x300 with a devicetree build, let's see if > that is a > solution to your issue. Yes, that indeed cuts it nicely. Thanks! > Cheers. > > --  > Robert > >

[PATCH v4.1 9/9] ARM: dts: rockchip: support the spi for rk3036

2016-01-31 Thread Caesar Wang
This patch adds the needed spi node for rk3036 dts. We have to use the 4 bus emmc to work if someone want to support the spi devices, since the pins are re-used by emmc data[5-8] and spi. In some caseswe need to support the spi devices, that will waste the emmc performance. Moment, the kylin/evb

Re: [PATCH] staging: rtl8192u: Fix block comments use * on subsequent lines in r8192U_wx.c

2016-01-31 Thread ByeoungWook Kim
The current realtek driver was written like my patch comments. but Documentation/CodingStyle isn't before. So I wrote patch like current realtek driver. How should i do it? Regards, Byeoungwook. 2016-02-01 16:01 GMT+09:00 Julia Lawall : > > > On Mon, 1 Feb 2016, Byeoungwook Kim wrote: > >> clean

Re: [PATCH] staging: rtl8192u: Fix block comments use * on subsequent lines in r8192U_wx.c

2016-01-31 Thread Julia Lawall
On Mon, 1 Feb 2016, ByeoungWook Kim wrote: > The current realtek driver was written like my patch comments. but > Documentation/CodingStyle isn't before. > So I wrote patch like current realtek driver. That is probably fine, then. Sorry for the noise. I looked at some other code in the kerne

and NTP incompatibility (MOD_NANO)

2016-01-31 Thread Ulrich Windl
Hi folks! I'd wish ntp_loopfilter.c would compile without problems. The mess is (I had fixed it about 15 years ago (keyword "PPSkit")) that Linux uses ADJ_* flags to do traditional adjtime() things, as well as NTP kernel-related things (That's why the Linux syscall is named adjtimex()). NTP how

[PATCH] perf tooling: Add 'perf bench syscall' benchmark

2016-01-31 Thread Ingo Molnar
* r...@redhat.com wrote: > (v3: address comments raised by Frederic) > > Running with nohz_full introduces a fair amount of overhead. > Specifically, various things that are usually done from the > timer interrupt are now done at syscall, irq, and guest > entry and exit times. > > However, som

[PATCH] perf tooling: Simplify 'perf bench syscall'

2016-01-31 Thread Ingo Molnar
* Ingo Molnar wrote: > [...] > > I kept the process, threading and memory allocation bits of numa.c, just in > case > we need them to measure more complex syscalls. Maybe we could keep the > threading > bits and remove the memory allocation parameters, to simplify the benchmark? So the pat

Re: [PATCHv3 1/1] staging/ion: Add support to get ion handle from dma buf

2016-01-31 Thread Rohit
Kindly review the patch. Patchv2 had refcount issue which is fixed here. On Tue, 12 Jan 2016 09:31:46 +0530 Rohit kumar wrote: > Currently we can only import dma buf fd's to get ion_handle. > Adding support to import dma buf handles to support kernel > specific use cases. > > An example use cas

Re: [PATCH 0/3] x86/entry/64: Fixes for syscall rework

2016-01-31 Thread Ingo Molnar
* Borislav Petkov wrote: > On Sun, Jan 31, 2016 at 09:33:25AM -0800, Andy Lutomirski wrote: > > I broke iopl(2) with my syscall rework. Fix it up. While debugging > > it, I found a bug in my IRQ state handling. Fix that, too. > > > > Andy Lutomirski (3): > > x86/entry/64: Fix an IRQ state

[GIT PULL] debugobjects fix

2016-01-31 Thread Ingo Molnar
Linus, Please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus # HEAD: 0b6ec8c0a3708f0a54b75ee1200772ec5226ec49 debugobjects: Allow bigger number of early boot objects Bump up debugobjects pool limit tha

Re: [PATCH] arch/ia64/lib: Fix broken URL in comments

2016-01-31 Thread Richard Weinberger
On Sun, Jan 31, 2016 at 7:07 AM, Sina Hamedian wrote: > The URL to the book IA-64 and Elementary Functions in idiv32.S and > idiv64.S just led to a 404 page, so I updated them with a known good link > that others can reference. And how long will this new URL work? :) IMHO we can remove it complet

[GIT PULL] IRQ fixes

2016-01-31 Thread Ingo Molnar
Linus, Please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus # HEAD: c5b635203032462603c503ecce91a7021c1ad44a irqchip/mxs: Add missing set_handle_irq() Mostly driver fixes, but also an irq core crash fix

Re: [PATCH v4 6/9] ASoC: rt5616: add mclk property for rt5616 document

2016-01-31 Thread Caesar Wang
在 2016年01月30日 00:28, Rob Herring 写道: On Thu, Jan 28, 2016 at 04:43:35PM +0800, Caesar Wang wrote: This patch add the mclk property for the CODEC driver, since sometime the CODEC driver needs the clock enabled. s/add/adds/ s/sometime/sometimes/ Done, thanks for pointing out that. The syst

[PATCH v4.1 6/9] ASoC: rt5616: add mclk property for rt5616 document

2016-01-31 Thread Caesar Wang
This patch adds the mclk property for the CODEC driver, since sometimes the CODEC driver needs the clock enabled. The system clock of ALC5616 can be selected from MCLK, That also makes the codec the master clock provider Signed-off-by: Caesar Wang --- Changes in v4 -> v4.1: - Fix the wrong wor

Re: [PATCH] um: asm/page.h: zero out a pte's high value in set_pte_val()

2016-01-31 Thread Richard Weinberger
Am 29.01.2016 um 15:31 schrieb Nicolai Stange: >>> Question 1: now that ->pte_high will be gone, do you want to have >>> ->pte_low renamed to e.g. ->pte_val? >> >> So, with a freshly booted brain the story looks a bit different. >> All this code needs a cleanup and we need to check what

Re: [PATCH v6 10/22] usb: dwc2: host: Properly set the HFIR

2016-01-31 Thread Kever Yang
Doug, On 01/29/2016 10:20 AM, Douglas Anderson wrote: According to the most up to date version of the dwc2 databook, the FRINT field of the HFIR register should be programmed to: * 125 us * (PHY clock freq for HS) - 1 * 1000 us * (PHY clock freq for FS/LS) - 1 I got 3 version of dwc_otg databoo

Re: [PATCH v6 11/22] usb: dwc2: host: There's not really a TT for the root hub

2016-01-31 Thread Kever Yang
Doug, Reviewed-by: Kever Yang Thanks, - Kever On 01/29/2016 10:20 AM, Douglas Anderson wrote: I find that when I plug a full speed (NOT high speed) hub into a dwc2 port and then I plug a bunch of devices into that full speed hub that dwc2 goes bat guano crazy. Specifically, it just spews erro

[PATCH] mcheck/threshold: use pr_err rather than printk(KERN_ERR ...)

2016-01-31 Thread Chen Yucong
Use the current logging styles. And convert printk(KERN_ERR ...) to pr_err(...) for threshold.c. Signed-off-by: Chen Yucong --- arch/x86/kernel/cpu/mcheck/threshold.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/mcheck/threshold.c b/arch/x86/kernel

Re: [PATCH v6 18/22] usb: dwc2: host: Schedule periodic right away if it's time

2016-01-31 Thread Kever Yang
Doug, On 01/29/2016 10:20 AM, Douglas Anderson wrote: In dwc2_hcd_qh_deactivate() we will put some things on the periodic_sched_ready list. These things won't be taken off the ready list until the next SOF, which might be a little late. Let's put them on right away. Signed-off-by: Douglas And

Re: [linux-sunxi] [PATCH 0/3] mmc: sunxi: Support eMMC DDR modes

2016-01-31 Thread Hans de Goede
Hi, On 01/29/2016 06:21 PM, Chen-Yu Tsai wrote: Hi everyone, This was "mmc: sunxi: Support vqmmc regulator and eMMC DDR modes". vqmmc support and DT patches were merged even though it was an RFC series, to my suprise. These are the remaining patches that add eMMC HS-DDR support to sunxi. Patc

Re: [PATCHv5 0/3] rdmacg: IB/core: rdma controller support

2016-01-31 Thread Tejun Heo
On Sun, Jan 31, 2016 at 10:05:09AM +0530, Parav Pandit wrote: > Changes from v4: > * Fixed compilation errors for lockdep_assert_held reported by kbuild >test robot > * Fixed compilation warning reported by coccinelle for extra semicolon. > * Fixed compilation error for inclusion of linux/pa

Re: [PATCHv5 0/3] rdmacg: IB/core: rdma controller support

2016-01-31 Thread Parav Pandit
On Sun, Jan 31, 2016 at 3:16 PM, Tejun Heo wrote: > On Sun, Jan 31, 2016 at 10:05:09AM +0530, Parav Pandit wrote: >> Changes from v4: >> * Fixed compilation errors for lockdep_assert_held reported by kbuild >>test robot >> * Fixed compilation warning reported by coccinelle for extra semicolo

Re: [PATCHv3 1/3] rdmacg: Added rdma cgroup controller.

2016-01-31 Thread Tejun Heo
Hello, Parav. On Sun, Jan 31, 2016 at 02:14:13AM +0530, Parav Pandit wrote: ... > V1 patch had IB resources defined in the header file of rdmacg, which > I believe is very restrictive model with evolving rdma stack and > features. Wasn't this the model that we agreed upon? Besides, even if the r

Re: [PATCH] arch/ia64/lib: Fix broken URL in comments

2016-01-31 Thread Sina Hamedian
On Sun, Jan 31, 2016 at 09:51:55AM +0100, Richard Weinberger wrote: > On Sun, Jan 31, 2016 at 7:07 AM, Sina Hamedian wrote: > > The URL to the book IA-64 and Elementary Functions in idiv32.S and > > idiv64.S just led to a 404 page, so I updated them with a known good link > > that others can refer

Re: [PATCH] kernel/Makefile: remove the useless CFLAGS_REMOVE_cgroup-debug.o

2016-01-31 Thread Tejun Heo
On Sat, Jan 30, 2016 at 11:54:03AM +0800, Li Bin wrote: > The file cgroup-debug.c had been removed from commit fe6934354f8e > (cgroups: move the cgroup debug subsys into cgroup.c to access internal > state). > Remain the CFLAGS_REMOVE_cgroup-debug.o = $(CC_FLAGS_FTRACE) > useless in kernel/Makefil

Re: [PATCHv3 1/3] rdmacg: Added rdma cgroup controller.

2016-01-31 Thread Parav Pandit
On Sun, Jan 31, 2016 at 3:32 PM, Tejun Heo wrote: > Hello, Parav. > > On Sun, Jan 31, 2016 at 02:14:13AM +0530, Parav Pandit wrote: > ... >> V1 patch had IB resources defined in the header file of rdmacg, which >> I believe is very restrictive model with evolving rdma stack and >> features. > > Wa

Re: [PATCH v4 1/9] ARM: dts: rockchip: add the leds control for kylin board

2016-01-31 Thread Heiko Stuebner
Am Donnerstag, 28. Januar 2016, 16:43:30 schrieb Caesar Wang: > As the kylin schematic drawing, add the needed work led for > kylin board. > > Run: > echo 0 > /sys/class/leds/kylin:red:led/brightness > echo 1 > /sys/class/leds/kylin:red:led/brightness > > The led can normal on/off on kylin board.

Re: [PATCH 2/2] dax: fix bdev NULL pointer dereferences

2016-01-31 Thread Matthew Wilcox
On Sat, Jan 30, 2016 at 11:12:12PM -0700, Ross Zwisler wrote: > > I did probably 70% of the work needed to switch the radix tree over to > > storing PFNs instead of sectors. It seems viable, though it's a big > > change from where we are today: > > At one point I had kaddrs in the radix tree, so

Re: [PATCH v8 3/5] memory: mediatek: Add SMI driver

2016-01-31 Thread Matthias Brugger
On 26/01/16 05:12, Yong Wu wrote: This patch add SMI(Smart Multimedia Interface) driver. This driver is responsible to enable/disable iommu and control the power domain and clocks of each local arbiter. Signed-off-by: Yong Wu Tested-by: Philipp Zabel --- Signed-off-by: Matthias Brugger J

Re: [CRIU] x86: Hardware breakpoints are not always triggered

2016-01-31 Thread Paolo Bonzini
On 29/01/2016 23:21, Andrew Vagin wrote: > On Thu, Jan 28, 2016 at 02:42:25PM -0800, Andrey Wagin wrote: >> On Thu, Jan 28, 2016 at 10:33:28PM +0100, Paolo Bonzini wrote: >>> >>> >>> On 28/01/2016 09:31, Andrey Wagin wrote: I tried to print drX registers after a break-point. Looks like they

Re: [PATCHv3 1/3] rdmacg: Added rdma cgroup controller.

2016-01-31 Thread Tejun Heo
Hello, Parav. On Sun, Jan 31, 2016 at 04:11:54PM +0530, Parav Pandit wrote: > No. We agreed that let IB stack define in the header file that rdmacg > can include. > However when I started with that I realized that, such design has > basic flaw that IB stack is compiled as loadable modules. > cgrou

Re: [PATCH v4 9/9] ARM: dts: rockchip: support the spi for rk3036

2016-01-31 Thread Heiko Stuebner
Hi Caesar, Am Donnerstag, 28. Januar 2016, 16:43:38 schrieb Caesar Wang: > You have to use the 4 bus to work if someone wants to support > the spi devices, since the the pin is re-used by data[5-8] and spi. > If support the spi making the happy work, that will waste the > emmc performance. > > Mo

Re: sound: use-after-free in snd_timer_notify1

2016-01-31 Thread Takashi Iwai
On Sun, 24 Jan 2016 11:10:33 +0100, Dmitry Vyukov wrote: > > Hello, > > The following program causes use-after-free in snd_timer_notify1: > > == > BUG: KASAN: use-after-free in snd_timer_notify1+0x411/0x460 at addr > 880035a433e

Re: sound: WARNING in snd_rawmidi_transmit_ack

2016-01-31 Thread Takashi Iwai
On Wed, 27 Jan 2016 13:31:05 +0100, Dmitry Vyukov wrote: > > On Tue, Jan 26, 2016 at 3:51 PM, Takashi Iwai wrote: > > On Sun, 24 Jan 2016 17:29:12 +0100, > > Dmitry Vyukov wrote: > >> > >> Hello, > >> > >> The following program triggers WARNING in snd_rawmidi_transmit_ack: > >> > >> [

Re: sound: deadlock between snd_pcm_oss_write/snd_pcm_oss_mmap

2016-01-31 Thread Takashi Iwai
On Sat, 30 Jan 2016 21:28:27 +0100, Dmitry Vyukov wrote: > > Hello, > > I've got the following deadlock report while running syzkaller fuzzer: > > [ INFO: possible circular locking dependency detected ] > 4.5.0-rc1+ #305 Not tainted > --- > syz

Re: [PATCH 4/5] HSI: nokia-modem: drop support for disabled pm

2016-01-31 Thread Pali Rohár
On Sunday 31 January 2016 02:19:46 Sebastian Reichel wrote: > Disabled power management means, that the driver can only be > used together with further out-of-tree kernel patches. There > is no reason to support this in the mainline kernel and not > having support for it means, that userspace can a

Re: [PATCH v2 0/8] rtc: enable adjustment of clock offset

2016-01-31 Thread Alexandre Belloni
Hi, On 26/01/2016 at 17:00:31 +0100, Alexandre Belloni wrote : > On 26/01/2016 at 06:56:40 -0800, Joshua Clayton wrote : > > Ping? > > > > On Monday, January 04, 2016 10:31:18 AM Joshua Clayton wrote: > > > Alexandre, > > > this is the second version of apatch set to be able to adjust the > > > c

Re: [PATCH v2 7/8] rtc: implement a sysfs interface for clock offset

2016-01-31 Thread Alexandre Belloni
Hi, On 04/01/2016 at 10:31:25 -0800, Joshua Clayton wrote : > The file is called "offset", and may be set and read in decimal. > For rtcs that do not have read_offset or set_offset implemented, > read always returns zero and write will return -EINVAL. > Can you expand rtc_attr_is_visible() instea

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

2016-01-31 Thread Matthias Brugger
On 20/01/16 07:08, James Liao wrote: Refine scpsys driver common code to support multiple SoC / platform. Signed-off-by: James Liao --- drivers/soc/mediatek/mtk-scpsys.c | 418 -- drivers/soc/mediatek/mtk-scpsys.h | 55 + 2 files changed, 270 inser

Re: [PATCH v4 00/10] rtc: max77686: Extend driver and add max77802 support

2016-01-31 Thread Alexandre Belloni
Hi, On 27/01/2016 at 00:36:36 -0300, Javier Martinez Canillas wrote : > Hello, > > On a recent disussion [0] with Krzysztof Kozlowski and Laxman Dewangan, > we came to the conclusion that the max77686 and max77802 RTC are almost > the same with only a few differences so there shouldn't be two sep

Re: [PATCH] rtc: max77686: Cleanup and reduce dmesg output

2016-01-31 Thread Alexandre Belloni
On 27/01/2016 at 15:46:11 +0900, Krzysztof Kozlowski wrote : > Cleanup of entire driver of its dmesg output: > 1. Remove printing of the function name, because printing device name is >sufficient. This also makes the dev_err()-like functions more compact >and readable (not need of line brea

[PATCH v4 2/8] mm,fs,dax: Change ->pmd_fault to ->huge_fault

2016-01-31 Thread Matthew Wilcox
From: Matthew Wilcox In preparation for adding the ability to handle PUD pages, convert ->pmd_fault to ->huge_fault. huge_fault() takes a vm_fault structure instead of separate (address, pmd, flags) parameters. The vm_fault structure is extended to include a union of the different page table po

[PATCH v4 4/8] mincore: Add support for PUDs

2016-01-31 Thread Matthew Wilcox
From: Matthew Wilcox We don't actually care about the contents of the PUD, as long as it's present (which is checked by the pagewalk code), so just set the bits to indicate presence and return. Signed-off-by: Matthew Wilcox --- mm/mincore.c | 13 + 1 file changed, 13 insertions(+)

[PATCH v4 8/8] ext4: Support for PUD-sized transparent huge pages

2016-01-31 Thread Matthew Wilcox
From: Matthew Wilcox ext4 needs to reserve enough space in the journal to allocate a PUD-sized page. Signed-off-by: Matthew Wilcox --- fs/ext4/file.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 71859ed..ec6664a 100644 --- a/fs/ext4/file.c +++ b

[PATCH v4 5/8] procfs: Add support for PUDs to smaps, clear_refs and pagemap

2016-01-31 Thread Matthew Wilcox
From: Matthew Wilcox Because there's no 'struct page' for DAX THPs, a lot of this code is simpler than the PMD code it mimics. Extra code would need to be added to support PUDs of anonymous or page-cache THPs. Signed-off-by: Matthew Wilcox --- fs/proc/task_mmu.c | 109

[PATCH v4 7/8] dax: Support for transparent PUD pages

2016-01-31 Thread Matthew Wilcox
From: Matthew Wilcox The DAX support for transparent huge PUD pages Signed-off-by: Matthew Wilcox --- fs/dax.c | 185 +++ 1 file changed, 185 insertions(+) diff --git a/fs/dax.c b/fs/dax.c index b2ad0ce..2f9bb89 100644 --- a/fs/dax.c

Re: [rtc-linux] Re: [PATCH v4 00/10] rtc: max77686: Extend driver and add max77802 support

2016-01-31 Thread Krzysztof Kozlowski
W dniu 31.01.2016 o 21:05, Alexandre Belloni pisze: > Hi, > > On 27/01/2016 at 00:36:36 -0300, Javier Martinez Canillas wrote : >> Hello, >> >> On a recent disussion [0] with Krzysztof Kozlowski and Laxman Dewangan, >> we came to the conclusion that the max77686 and max77802 RTC are almost >> the

[PATCH v4 1/8] mm: Convert an open-coded VM_BUG_ON_VMA

2016-01-31 Thread Matthew Wilcox
From: Matthew Wilcox Spotted during PUD support review. Reported-by: Kirill A. Shutemov Signed-off-by: Matthew Wilcox --- mm/memory.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index a2eaeef..324b40b 100644 --- a/mm/memory.c +++ b/m

[PATCH v4 6/8] x86: Add support for PUD-sized transparent hugepages

2016-01-31 Thread Matthew Wilcox
From: Matthew Wilcox The x86-specific code needed to support the PUD uses in the transparent hugepages code. Signed-off-by: Matthew Wilcox --- arch/x86/Kconfig | 1 + arch/x86/include/asm/paravirt.h | 11 +++ arch/x86/include/asm/paravirt_types.h | 2 + arch/x86

[PATCH v4 0/8] Support for transparent PUD pages for DAX files

2016-01-31 Thread Matthew Wilcox
We have customer demand to use 1GB pages to map DAX files. Unlike the 2MB page support, the Linux MM does not currently support PUD pages, so I have attempted to add support for the necessary pieces for DAX huge PUD pages. Filesystems still need work to allocate 1GB pages. With ext4, I can only

my subject...

2016-01-31 Thread Muthoot Finance Pvt Ltd
Be informed that Muthoot Finance give out Guarantee Business Loans, Automobile Purchase Loans, House Purchase Loans, Personal Loans at 3% interest rate, for more info email: muthootfinancceh...@gmail.com Estar informado de que Muthoot Finanzas Dar a conocer Garanta de negocios Prstamos, Prs

[PATCH] mm: Use linear_page_index() in do_fault()

2016-01-31 Thread Matthew Wilcox
do_fault assumes that PAGE_SIZE is the same as PAGE_CACHE_SIZE. Use linear_page_index() to calculate pgoff in the correct units. Signed-off-by: Matthew Wilcox --- mm/memory.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index 554816b..5224c06 10

[PATCH v4 3/8] mm: Add support for PUD-sized transparent hugepages

2016-01-31 Thread Matthew Wilcox
From: Matthew Wilcox The current transparent hugepage code only supports PMDs. This patch adds support for transparent use of PUDs with DAX. It does not include support for anonymous pages. Most of this patch simply parallels the work that was done for huge PMDs. The only major difference is h

[PATCH 3/6] dax: Use vmf->pgoff in fault handlers

2016-01-31 Thread Matthew Wilcox
Now that the PMD and PUD fault handlers are passed pgoff, there's no need to calculate it themselves. Signed-off-by: Matthew Wilcox --- fs/dax.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/fs/dax.c b/fs/dax.c index 696ff90..d0e1334 100644 ---

[PATCH 4/6] dax: Use PAGE_CACHE_SIZE where appropriate

2016-01-31 Thread Matthew Wilcox
We were a little sloppy about using PAGE_SIZE instead of PAGE_CACHE_SIZE. The important thing to remember is that the VM is gicing us a pgoff_t and asking us to populate that. If PAGE_CACHE_SIZE were larger than PAGE_SIZE, then we would not successfully fill in the PTEs for faults that occurred in

[PATCH 1/6] dax: Use vmf->gfp_mask

2016-01-31 Thread Matthew Wilcox
We were assuming that it was OK to do a GFP_KERNEL allocation in page fault context. That appears to be largely true, but filesystems are permitted to override that in their setting of mapping->gfp_flags, which the VM then massages into vmf->gfp_flags. No practical difference for now, but there m

[PATCH 5/6] dax: Factor dax_insert_pmd_mapping out of dax_pmd_fault

2016-01-31 Thread Matthew Wilcox
These two functios are still large, but they're no longer quite so ludicrously large Signed-off-by: Matthew Wilcox --- fs/dax.c | 153 +-- 1 file changed, 80 insertions(+), 73 deletions(-) diff --git a/fs/dax.c b/fs/dax.c index f0c204d

[PATCH 0/6] DAX cleanups

2016-01-31 Thread Matthew Wilcox
Very little exciting in here. This is all based on the PUD support code that I just sent, mostly addressing things that came up during review of the PUD code but weren't really justifiable as being mixed into the adding of PUD support. Matthew Wilcox (6): dax: Use vmf->gfp_mask dax: Remove un

[PATCH 2/6] dax: Remove unnecessary rechecking of i_size

2016-01-31 Thread Matthew Wilcox
When i_mmap_lock (or the page lock) was the only protection against truncate, we checked i_size at the beginning of the fault handler, then rechecked it after acquiring the lock. Since the fliesystems now exclude truncate from racing with the fault handler, we no longer need to recheck i_size. We

[PATCH 6/6] dax: Factor dax_insert_pud_mapping out of dax_pud_fault

2016-01-31 Thread Matthew Wilcox
Follow the factoring done for dax_pmd_fault. Signed-off-by: Matthew Wilcox --- fs/dax.c | 100 +-- 1 file changed, 53 insertions(+), 47 deletions(-) diff --git a/fs/dax.c b/fs/dax.c index ec31e6e..e9701d6 100644 --- a/fs/dax.c +++ b/fs

Re: [PATCH v4] lib/spinlock_debug.c: prevent a recursive cycle in the debug code

2016-01-31 Thread Sergey Senozhatsky
On (01/29/16 15:37), Sergey Senozhatsky wrote: > > panic()->console_panic_mode()->{for_each_console()->reset(), > zap_locks()}->console_trelock()->console_unlock(). Hello, This is not a final submission, just a RFC, so we can settle a better plan. the patches are not signed off, have known prob

[PATCH 2/3] printk: introduce reset_console_drivers()

2016-01-31 Thread Sergey Senozhatsky
Console driver(-s) can be in any state when CPU stop IPI arrives from panic() issued on another CPU, so console_flush_on_panic()->console_unlock() can call con->write() callback on a locked console driver. Introduce reset_console_drivers() that attempts to reset() every console in via a console dr

[PATCH 1/3] printk: introduce console_reset_on_panic() function

2016-01-31 Thread Sergey Senozhatsky
CPU stop IPI issued from panic() on CPUA, can leave console_sem locked on CPUB if that cpu was holding the console_sem lock at the time when IPI arrived. console_flush_on_panic() is trying to workaround it by ignoring the return status of console_trylock() and unconditionally executing console_unlo

[PATCH 3/3] spinlock_debug: panic on recursive lock spin_dump()

2016-01-31 Thread Sergey Senozhatsky
spin_dump() calls printk() which can attempt to reacquire the 'buggy' lock (one of printk's lock, or console device driver lock, etc.) and thus spin_dump() will recursive into itself. Steal most significant bit of spin_lock->owner_cpu to keep there a mark that spin_dump() is in progress for that pa

[GIT PULL] locking update for 4.5

2016-01-31 Thread Thomas Gleixner
Linus, please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus A single commit, which makes the rtmutex.wait_lock an irq safe lock. This prevents a potential deadlock which can be triggered by the rcu b

Re: [PATCH v5] lib/spinlock_debug.c: prevent a recursive cycle in the debug code

2016-01-31 Thread Sergey Senozhatsky
On (01/29/16 21:54), Byungchul Park wrote: > Hello, Andrew > > Please take this v5 patch instead of v2 patch, which you took. Or give your > opinion. > > > It causes an infinite recursive cycle when using CONFIG_DEBUG_SPINLOCK, > > in the spin_dump(). Backtrace prints printk() -> console_trylock(

[GIT pull] perf updates for 4.5

2016-01-31 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus This is much bigger than typical fixes, but Peter found a category of races that spurred more fixes and more debugging enhancements. Work started

[GIT pull] scheduler updates for 4.5

2016-01-31 Thread Thomas Gleixner
Linus, please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus Three small fixes in the scheduler/core - Use after free in the numa code - Crash in the numa init code - A simple spelling f

Re: [PATCH 1/3] printk: introduce console_reset_on_panic() function

2016-01-31 Thread kbuild test robot
-Senozhatsky/printk-introduce-console_reset_on_panic-function/20160131-203605 config: i386-tinyconfig (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): kernel/printk/printk.c: In fu

Re: [PATCH 2/3] printk: introduce reset_console_drivers()

2016-01-31 Thread kbuild test robot
-Senozhatsky/printk-introduce-console_reset_on_panic-function/20160131-203605 config: i386-tinyconfig (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): kernel/printk/printk.c: In fu

[GIT pull] timer updates for 4.5

2016-01-31 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus The timer departement delivers: - A regression fix for the NTP code along with a proper selftest - Prevent a spurious timer interrupt i

[GIT pull] x86 updates for 4.5

2016-01-31 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus A bit on the largish side due to a series of fixes for a regression in the x86 vector management which was introduced in 4.3. This work was started

<    1   2   3