[PATCH v2] clk: rockchip: Allow sclk_i2s0 and i2s0_frac to change their parents rate on rk3188

2016-01-28 Thread Alexander Kochetkov
Allow sclk_i2s0 and i2s0_frac to change their parents rate as that the upstream dividers are purely there to feed sclk_i2s0 Tested on radxarock-lite. Signed-off-by: Alexander Kochetkov Changes in v2: Rebased on top of 4.5-rc1 of branch[1] [1] https://git.kernel.org/cgit/linux/kernel/git/mmind

Re: [PATCH v3] Platform: goldfish: goldfish_pipe.c: Add DMA support using managed version

2016-01-28 Thread Greg Kroah-Hartman
On Sat, Jan 23, 2016 at 02:41:25AM +0530, Shraddha Barke wrote: > setup_access_params_addr has 2 goals- > > -Initialize the access_params field so that it can be used to send and read > commands from the device in access_with_param > -Get a bus address for the allocated memory to transfer to the d

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

2016-01-28 Thread Jiancheng Xue
The CRG(Clock and Reset Generator) block provides clock and reset signals for other modules in hi3519 soc. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/clock/hi3519-crg.txt | 46 +++ This binding file is already acked by Rob Herring. drivers/clk/hisi

[PATCH v8 4/6] ARM: debug: add hi3519 debug uart

2016-01-28 Thread Jiancheng Xue
add hi3519 debug uart Signed-off-by: Jiancheng Xue --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index c6b6175..edd3fbe 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -260,6 +260,14

[PATCH v8 0/6] ARM: hisi: Add initial support including clock driver for Hi3519 soc.

2016-01-28 Thread Jiancheng Xue
Hello, Hi3519 soc is mainly used for ip camera and sport DV solutions. This patchset adds initial support for Hi3519 soc. It includes clock driver, arch configuration, debug uart configuration and device tree. It has been tested on hi3519 reference board. Any comments will be appreciated! Than

[PATCH v8 3/6] ARM: config: hisi: enable CONFIG_RESET_CONTROLLER

2016-01-28 Thread Jiancheng Xue
enable CONFIG_RESET_CONTROLLER in hisi_defconfig Signed-off-by: Jiancheng Xue --- arch/arm/configs/hisi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/hisi_defconfig b/arch/arm/configs/hisi_defconfig index b2e340b..ba62c07 100644 --- a/arch/arm/configs/hisi_defcon

[PATCH v8 2/6] ARM: hisi: add compatible string for Hi3519 soc

2016-01-28 Thread Jiancheng Xue
add compatible string for Hi3519 soc. Signed-off-by: Jiancheng Xue --- arch/arm/mach-hisi/hisilicon.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 8cc6215..00dae89 100644 --- a/a

[PATCH v8 5/6] ARM: dt-bindings: add device tree bindings for Hi3519 sysctrl

2016-01-28 Thread Jiancheng Xue
Add device tree bindings for Hi3519 system controller. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/arm/hisilicon/hi3519-sysctrl.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/hisilicon/hi3

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

2016-01-28 Thread Horng-Shyang Liao
Hi Dan, Many thanks for your comments and time. I reply my plan inline. On Thu, 2016-01-28 at 12:49 +0800, Daniel Kurtz wrote: > Hi HS, > > Sorry for the delay. It is hard to find time to review a >3700 line > driver :-o in detail > > Some review comments inline, although I still do not c

Re: [PATCH v2] i2c: mt8173: add 4GB mode support in i2c driver.

2016-01-28 Thread Daniel Kurtz
On Fri, Jan 29, 2016 at 7:06 AM, Liguo Zhang wrote: > If 4GB mode is enable, we should add 4gb mode support in i2c driver. > Set 4GB mode register to support 4GB mode. > > Signed-off-by: Liguo Zhang > --- > change in v2: > Define a static inline funtion mtk_i2c_set_4g_mode() for support 4g mode.

Re: [PATCH RFC] Introduce new security.nscapability xattr

2016-01-28 Thread Serge E. Hallyn
On Wed, Jan 27, 2016 at 04:36:02PM -0800, Andy Lutomirski wrote: > On Wed, Jan 27, 2016 at 9:22 AM, Jann Horn wrote: > > I think it sounds good from a security perspective. > > I'm a bit late to the game, but I have a question: why should this be > keyed to the *root* uid of the namespace in part

[lkp] [wext] 6a9a24baba: BUG: spinlock bad magic on CPU#0, swapper/0/1

2016-01-28 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 6a9a24baba28599b0bb8453ae6a6a06ad79701a0 ("wext: fix message delay/ordering") [0.821194] e820: reserve RAM buffer [mem 0x167e-0x17ff] [0.823299] NET: Registered

Re: [PATCH] pinctrl: nomadik: hide unused functions

2016-01-28 Thread Uwe Kleine-König
Hello Arnd, On Mon, Jan 25, 2016 at 04:59:09PM +0100, Arnd Bergmann wrote: > The nomadik pinctrl driver has two functions that are only used > for debugfs output and are otherwise unused: > > drivers/pinctrl/nomadik/pinctrl-abx500.c:194:12: error: > 'abx500_get_pull_updown' defined but not used

Re: [PATCH v5 00/12] MADV_FREE support

2016-01-28 Thread Minchan Kim
Hello Michael, On Thu, Jan 28, 2016 at 08:16:25AM +0100, Michael Kerrisk (man-pages) wrote: > Hello Minchan, > > On 11/30/2015 07:39 AM, Minchan Kim wrote: > > In v4, Andrew wanted to settle in old basic MADV_FREE and introduces > > new stuffs(ie, lazyfree LRU, swapless support and lazyfreeness)

[PATCH] drivers/rtc: broken link fix

2016-01-28 Thread Leslie Lau
In drivers/rtc/rtc-rx8025.c is a broken link that is supposed to lead to a form allowing users to subscribe to the lm-sensors mailing list. The link leads to a page with a 404 error. I believe the link should be replaced with . Signed-off-b

Re: [PATCH] zram: export the number of available comp streams

2016-01-28 Thread Minchan Kim
Hello Sergey, Sorry to late response. Thesedays, I'm really busy with personal stuff. Today, I have thought about this patch and have several questions. Let's start with simple questions. On Tue, Jan 26, 2016 at 09:03:59PM +0900, Sergey Senozhatsky wrote: > I've been asked several very simple qu

Re: [PATCH v8 1/2] drm/rockchip: hdmi: add Innosilicon HDMI support

2016-01-28 Thread Jean-Francois Moine
On Fri, 29 Jan 2016 14:47:39 +0800 Yakir Yang wrote: > The Innosilicon HDMI is a low power HDMI 1.4 transmitter > IP, and it have been integrated on some rockchip CPUs > (like RK3036, RK312x). > > Signed-off-by: Yakir Yang > --- > Changes in v8: > - Don't check whether encoder output format is

[PATCH] tpm, tpm_crb: fix control area resource mapping

2016-01-28 Thread Jarkko Sakkinen
Control area does not always fall in the range of memory resource given by the ACPI object. This patch fixes the issue by ioremapping the buffers if this is the case. Fixes: bb76f9ba49 ("tpm_crb: Use devm_ioremap_resource") Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_crb.c | 36 +

[PATCH v8.1 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform

2016-01-28 Thread Yakir Yang
Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes in v8.1: - Remove dumplicate Signed-off which add at the v8 (Mark) Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Add the Acked-by tags from Rob -

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

2016-01-28 Thread Sergey Senozhatsky
On (01/29/16 15:54), Byungchul Park wrote: > On Fri, Jan 29, 2016 at 09:27:03AM +0900, Sergey Senozhatsky wrote: > > > > well, the stack is surely limited, but on every > > spin_dump()->spin_lock() recursive call it does another > > round of > > > > u64 loops = loops_per_jiffy * HZ; > > > >

[PATCH] Staging: rtl8712: rtl8712_cmd: Fixed a warning.

2016-01-28 Thread Rakhi Sharma
Warning:Comparisons should place the constant on the right side of the test Fixed by placing the comparisions constant on right side of the test. Signed-off-by: Rakhi Sharma --- drivers/staging/rtl8712/rtl8712_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/stag

[PATCH v2] i2c: mt8173: add 4GB mode support in i2c driver.

2016-01-28 Thread Liguo Zhang
If 4GB mode is enable, we should add 4gb mode support in i2c driver. Set 4GB mode register to support 4GB mode. Signed-off-by: Liguo Zhang --- change in v2: Define a static inline funtion mtk_i2c_set_4g_mode() for support 4g mode. --- drivers/i2c/busses/i2c-mt65xx.c | 51

Re: Duplicated module names

2016-01-28 Thread Tomi Valkeinen
On 29/01/16 07:54, Rusty Russell wrote: > Lucas De Marchi writes: >> Hi! >> >> CC'ing Rusty and mailing lists > > Thanks. > >> Rusty and ohers: it looks like both CONFIG_CRC32 and >> CONFIG_CRYPTO_CRC32 can be compiled as module, and they generate >> modules with the same name, crc32. Could th

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

2016-01-28 Thread Byungchul Park
On Fri, Jan 29, 2016 at 09:27:03AM +0900, Sergey Senozhatsky wrote: > > well, the stack is surely limited, but on every > spin_dump()->spin_lock() recursive call it does another > round of > > u64 loops = loops_per_jiffy * HZ; > > for (i = 0; i < loops; i++) { > if (arc

Re: [PATCH] Staging:speakup:add space around '|'

2016-01-28 Thread Greg KH
On Sat, Jan 16, 2016 at 06:43:09PM +0530, Bhumika Goyal wrote: > Fix checkpatch.pl check:CHECK: spaces preferred around that '|'. > Add spaces around operands to fix these warnings. > > Signed-off-by: Bhumika Goyal > --- > drivers/staging/speakup/speakup_decext.c | 24 >

[PATCH v8 2/2] dt-bindings: add document for Innosilicon HDMI on Rockchip platform

2016-01-28 Thread Yakir Yang
Signed-off-by: Yakir Yang Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Add the Acked-by tags from Rob - Correct the misspell "rk3036-dw-hdmi" (Heiko)

[PATCH v8 1/2] drm/rockchip: hdmi: add Innosilicon HDMI support

2016-01-28 Thread Yakir Yang
The Innosilicon HDMI is a low power HDMI 1.4 transmitter IP, and it have been integrated on some rockchip CPUs (like RK3036, RK312x). Signed-off-by: Yakir Yang --- Changes in v8: - Don't check whether encoder output format is RGB colorspace, cause driver default configure the output colorspace

Re: [PATCH V3 00/21] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2016-01-28 Thread liudongdong (C)
在 2016/1/13 21:20, Tomasz Nowicki 写道: From the functionality point of view this series might be split into the following logic parts: 1. Make MMCONFIG code arch-agnostic which allows all architectures to collect PCI config regions and used when necessary. 2. Move non-arch specific bits to

[PATCH 0/2] Fix ordering of ftrace + livepatch module notifier callbacks

2016-01-28 Thread Jessica Yu
As explained here [1], livepatch modules are failing to initialize properly because the ftrace coming module notifier (which calls ftrace_module_enable()) runs after the livepatch module notifier (which enables the patch(es)). Thus livepatch attempts to apply patches to modules before ftrace_module

[PATCH 1/2] livepatch: Implement separate coming and going module notifiers

2016-01-28 Thread Jessica Yu
Detangle klp_module_notify() into two separate module notifiers klp_module_notify_{coming,going}() with the appropriate priorities, so that on module load, the ftrace module notifier will run *before* the livepatch coming module notifier but *after* the livepatch going module modifier. This fixes

[PATCH v8 0/2] Add Rockchip Inno-HDMI driver

2016-01-28 Thread Yakir Yang
Here are a brief introduction to Innosilicon HDMI IP: - Support HDMI 1.4a, HDCP 1.2 and DVI 1.0 standard compliant transmitter - Support HDMI1.4 a/b 3D function defined in HDMI 1.4 a/b spec - Digital video interface supports a pixel size of 24, 30, 36, 48bits color depth in RGB - S/PDIF o

[PATCH 2/2] ftrace: Adjust priority of ftrace module notifier

2016-01-28 Thread Jessica Yu
Adjust the priority of the ftrace module notifier such that it will run before the livepatch coming module notifier but after the livepatch going module modifier. This fixes a notifier ordering issue in which the ftrace module notifier (and hence ftrace_module_enable()) for COMING modules was bein

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

2016-01-28 Thread Sergey Senozhatsky
On (01/29/16 15:16), Sergey Senozhatsky wrote: > > http://marc.info/?l=linux-kernel&m=144976121529901 > hm... I don't like that patch. ->reset() loop must be done outside of zap_locks(). we can have a printk() recursion in CPU1, but console driver lock may be owned by CPU2 in driver's handle_IR

Re: [PATCH] Staging: Skein: Moved macros from skein_block.c to header file.

2016-01-28 Thread Greg KH
On Thu, Dec 17, 2015 at 12:46:14PM +0530, Sudip Mukherjee wrote: > On Mon, Dec 14, 2015 at 07:08:08PM -0500, Sanidhya Solanki wrote: > > The original code defined macros in the source code, making it > > harder to read. Moved them to the header file, as per the TODO file. > > > > Updated the TODO

Re: [PATCH] emu10k1: correctly handling failed thread creation

2016-01-28 Thread Takashi Iwai
On Fri, 29 Jan 2016 00:51:37 +0100, Insu Yun wrote: > > Since kthread_create can be failed, it needs to check > whether error occurred and return error code. > > Signed-off-by: Insu Yun > --- > sound/pci/emu10k1/emu10k1_main.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/sou

Re: [PATCH 1/2] devicetree: Add UCS1002 USB Port Power Controller binding

2016-01-28 Thread Enric Balletbo Serra
Hi Rob, Thanks for the review. 2016-01-29 3:35 GMT+01:00 Rob Herring : > On Tue, Jan 26, 2016 at 10:12:20AM +0100, Enric Balletbo i Serra wrote: >> The UCS1002-2 provides a USB port power switch for precise control of up >> to 2.5 amperes continuous current. >> >> You can add support to your boar

Re: [PATCH v2 2/2] gpio: Add driver for SPI serializers

2016-01-28 Thread Sean Nyekjær
On 2016-01-25 17:37, Andrew F. Davis wrote: Add generic parallel-in/serial-out shift register GPIO driver. This includes SPI compatible devices like SN74165 serial-out shift registers and the SN65HVS88x series of industrial serializers that can be read over the SPI bus and used for GPI (Genera

Re: [PATCH] ASoC: fsl: select SND_SOC_FSL_SAI or SND_SOC_FSL_SSI depending on SoC type

2016-01-28 Thread Nicolin Chen
On Fri, Jan 29, 2016 at 06:59:38AM +0100, Lothar Waßmann wrote: > Hi, > > On Thu, 28 Jan 2016 23:33:52 +0100 Mark Brown wrote: > > On Wed, Jan 20, 2016 at 01:30:38PM +0100, Lothar Waßmann wrote: > > > > > - select SND_SOC_FSL_SSI > > > + select SND_SOC_FSL_SAI if SOC_IMX6UL > > > + select SND_SOC

Re: [PATCH] ALSA: hda - Add new GPU codec ID 0x10de0083 to snd-hda

2016-01-28 Thread Takashi Iwai
On Thu, 28 Jan 2016 23:07:38 +0100, Aaron Plattner wrote: > > Vendor ID 0x10de0083 is used by a yet-to-be-named GPU chip. > > This chip also has the 2-ch audio swapping bug, so patch_nvhdmi is > appropriate here. > > Signed-off-by: Aaron Plattner > --- > The hardware guys identified the problem

Re: [PATCH] ASoC: fsl: select SND_SOC_FSL_SAI or SND_SOC_FSL_SSI depending on SoC type

2016-01-28 Thread Nicolin Chen
On Fri, Jan 29, 2016 at 06:51:33AM +0100, Lothar Waßmann wrote: > Hi, > > On Thu, 28 Jan 2016 15:08:47 -0800 Nicolin Chen wrote: > > On Thu, Jan 28, 2016 at 11:33:52PM +0100, Mark Brown wrote: > > > On Wed, Jan 20, 2016 at 01:30:38PM +0100, Lothar Waßmann wrote: > > > > > > > - select SND_S

Re: [PATCH] Staging: panel: fix the checkpatch issue

2016-01-28 Thread Greg KH
On Mon, Jan 18, 2016 at 12:40:48AM +0530, SirnamSwetha wrote: > Fix checkpatch.pl issue: > > WARNING: line over 80 characters > > CHECK: No space is necessary after a cast > > Signed-off-by: SirnamSwetha > --- > drivers/staging/panel/panel.c | 7 --- > 1 file changed, 4 insertions(+), 3 de

Re: [PATCH 1/1] staging: coding style cleanups for staging/panel driver

2016-01-28 Thread Greg KH
On Sat, Dec 19, 2015 at 12:50:56AM +0530, Bijosh Thykkoottathil wrote: > From: Bijosh Thykkoottathil > > This patch fixes coding style errors for staging/panel driver. > > Signed-off-by: Bijosh Thykkoottathil > --- > drivers/staging/panel/panel.c | 7 --- > 1 file changed, 4 insertions(+),

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

2016-01-28 Thread Sergey Senozhatsky
On (01/28/16 21:48), Peter Hurley wrote: [..] > > yes, I proposed to add a ->reset callback to struct console > > a while ago, and to do a console reset loop in zap_locks() > > What was the patch series title? I'd like to review that. Thanks. it was deep in the thread where Jan Kara proposed v1

[PATCH RFC] blk-mq: no need to modify bt->wake_index if someone has updated it

2016-01-28 Thread Wenbo Wang
If someone else has found active waitqueue and updated bt->wake_index, do not modify it again. This saves an atomic read. Signed-off-by: Wenbo Wang CC: linux-bl...@vger.kernel.org CC: linux-kernel@vger.kernel.org --- block/blk-mq-tag.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(

Re: [PATCH v4 0/5] pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt2701

2016-01-28 Thread biao huang
Hi Linus, [PATCH v4 1/5] pinctrl: mediatek: fix direction control issue this patch is also a pinctrl patch, and it seems not merged in devel-mt2701 branch. Best Regards! Yours, Biao Huang On Thu, 2016-01-28 at 11:20 +0100, Linus Walleij wrote: > On Wed, Jan 27, 2016 at 2:24 AM, Bi

Re: [PATCH] ASoC: fsl: select SND_SOC_FSL_SAI or SND_SOC_FSL_SSI depending on SoC type

2016-01-28 Thread Lothar Waßmann
Hi, On Thu, 28 Jan 2016 23:33:52 +0100 Mark Brown wrote: > On Wed, Jan 20, 2016 at 01:30:38PM +0100, Lothar Waßmann wrote: > > > - select SND_SOC_FSL_SSI > > + select SND_SOC_FSL_SAI if SOC_IMX6UL > > + select SND_SOC_FSL_SSI if SOC_IMX6Q || SOC_IMX6SL || SOC_IMX6SX > > Does this card not

[PATCH] perf build: Remove all condition feature check {C,LD}FLAGS

2016-01-28 Thread Wang Nan
'make feature-dump' should give a stable result, so even 'NO_SOMETHING=1' is given (for babeltrace, if LIBBABELTRACE=1 is not given), we should try to detect those feature and {C,LD}FLAGS. Build or not should be controled independent. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Jiri

Re: [PATCH 3.10 00/53] 3.10.96-stable review

2016-01-28 Thread Greg Kroah-Hartman
On Thu, Jan 28, 2016 at 03:04:19AM -0800, kernelci.org bot wrote: > stable-queue boot: 53 boots: 1 failed, 52 passed (v3.10.95-53-g3ebc76ed4936) > > Full Boot Summary: > https://kernelci.org/boot/all/job/stable-queue/kernel/v3.10.95-53-g3ebc76ed4936/ > Full Build Summary: > https://kernelci.org/

Re: [PATCH 3.10 00/53] 3.10.96-stable review

2016-01-28 Thread Greg Kroah-Hartman
On Wed, Jan 27, 2016 at 05:59:47PM -0800, Guenter Roeck wrote: > On 01/27/2016 10:15 AM, Greg Kroah-Hartman wrote: > >- > >NOTE: > > There are still a lot of pending stable patches in the queue, well > > over 400 of them to be specific, so some of your favorite/pet patch

Duplicated module names

2016-01-28 Thread Rusty Russell
Lucas De Marchi writes: > Hi! > > CC'ing Rusty and mailing lists Thanks. > Rusty and ohers: it looks like both CONFIG_CRC32 and > CONFIG_CRYPTO_CRC32 can be compiled as module, and they generate > modules with the same name, crc32. Could that be fixed? Gah. Looks like it's been that way since

Re: [PATCH] ASoC: fsl: select SND_SOC_FSL_SAI or SND_SOC_FSL_SSI depending on SoC type

2016-01-28 Thread Lothar Waßmann
Hi, On Thu, 28 Jan 2016 15:08:47 -0800 Nicolin Chen wrote: > On Thu, Jan 28, 2016 at 11:33:52PM +0100, Mark Brown wrote: > > On Wed, Jan 20, 2016 at 01:30:38PM +0100, Lothar Waßmann wrote: > > > > > - select SND_SOC_FSL_SSI > > > + select SND_SOC_FSL_SAI if SOC_IMX6UL > > > + select SND_SOC_FSL_S

Re: [PATCH V2 1/4] mfd: f81504-core: Add Fintek F81504/508/512 PCIE-to-UART/GPIO core support

2016-01-28 Thread Peter Hung
Hi Andy, Andy Shevchenko 於 2016/1/28 下午 07:55 寫道: +default y I'm not sure we have to have this always y. Perhaps default SERIAL_8250_PCI Your comment is right, this device major function is serial port. GPIO maybe not enabled by H/W manufacturer. I'll set it default with SERIAL_8250

Re: [PATCH 3.10 00/53] 3.10.96-stable review

2016-01-28 Thread Greg Kroah-Hartman
On Wed, Jan 27, 2016 at 04:29:35PM -0700, Shuah Khan wrote: > On 01/27/2016 11:15 AM, Greg Kroah-Hartman wrote: > > - > > NOTE: > > There are still a lot of pending stable patches in the queue, well > > over 400 of them to be specific, so some of your favorite/pet patche

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

2016-01-28 Thread Peter Hurley
On 01/28/2016 09:28 PM, Sergey Senozhatsky wrote: > On (01/28/16 20:32), Peter Hurley wrote: > [..] >> You're assuming that Byungchul's patch is relevant to the recursion >> he witnessed. There are several paths into spin_dump(). > > yes. I was speaking in the context of Byungchul's report. > >>

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

2016-01-28 Thread Sergey Senozhatsky
On (01/28/16 20:32), Peter Hurley wrote: [..] > You're assuming that Byungchul's patch is relevant to the recursion > he witnessed. There are several paths into spin_dump(). yes. I was speaking in the context of Byungchul's report. > Here's one that doesn't wait at all: > > vprintk_emit() > co

[PATCH] s390:ftrace: add save_stack_trace_regs()

2016-01-28 Thread Pratyush Anand
Implement save_stack_trace_regs, so that stacktrace of a kprobe events can be obtained. Without this we see following warning: "save_stack_trace_regs() not implemented yet." when we execute: echo stacktrace > /sys/kernel/debug/tracing/trace_options echo "p kfree" >> /sys/kernel/debug/tracing/kprob

Re: [PATCHv2 2/2] mm/page_poisoning.c: Allow for zero poisoning

2016-01-28 Thread Kees Cook
On Thu, Jan 28, 2016 at 6:38 PM, Laura Abbott wrote: > By default, page poisoning uses a poison value (0xaa) on free. If this > is changed to 0, the page is not only sanitized but zeroing on alloc > with __GFP_ZERO can be skipped as well. The tradeoff is that detecting > corruption from the poison

[PATCH v2] irqchip: gicv3-its: Fix memory leak in its_free_tables()

2016-01-28 Thread Shanker Donthineni
The current ITS driver has a memory leak in its_free_tables(). It happens on tear down path of the driver when its_probe() call fails. its_free_tables() should free the exact number of pages that have been allocated, not just a single page as current code does. This patch records the memory size f

[PATCH v11 0/1] Enable capsule loader interface for efi firmware updating

2016-01-28 Thread Kweh, Hock Leong
From: "Kweh, Hock Leong" Dear maintainers & communities, This patchset is created on top of Matt's patchset: 1.)https://lkml.org/lkml/2014/10/7/390 "[PATCH 1/2] efi: Move efi_status_to_err() to efi.h" 2.)https://lkml.org/lkml/2014/10/7/391 "[PATCH 2/2] efi: Capsule update support" It expose a m

[PATCH v11 1/1] efi: a misc char interface for user to update efi firmware

2016-01-28 Thread Kweh, Hock Leong
From: "Kweh, Hock Leong" Introducing a kernel module to expose capsule loader interface (misc char device file note) for users to upload capsule binaries. Example: cat firmware.bin > /dev/efi_capsule_loader This patch also export efi_capsule_supported() function symbol for verifying the submitt

Re: [PATCH 3/4] dmaengine: qcom_bam_dma: use correct pipe FIFO size

2016-01-28 Thread Andy Gross
On Thu, Dec 10, 2015 at 03:18:33PM +0200, Stanimir Varbanov wrote: > >>> This is just using the #define. That is ok, but if you use this instead > >>> of the > >>> BAM_P_FIFO_SIZES then you need to fix your comment. Or actually use the > >>> register value otherwise looks fine. > >> > >>

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

2016-01-28 Thread Peter Hurley
On 01/28/2016 04:27 PM, Sergey Senozhatsky wrote: > On (01/28/16 15:08), Peter Hurley wrote: > [..] >>> even if at some level of recursion (nested printk calls) >>> spin_dump()->__spin_lock_debug()->arch_spin_trylock() acquires the >>> lock, it returns back with the spin lock unlocked anyway. >>> >

[PATCH] intel_th: Show a correct number of masters in debug message

2016-01-28 Thread Chunyan Zhang
Since both sw_start and sw_end are master indices, the number of software masters should be sw_end - sw_start + 1, which the current code gets wrong, calculating one less than the actual value. With this patch, the correct number of masters would be showed in the debug message. Signed-off-by: Chu

Re: [PATCH] genirq: fix trigger flags check for shared irqs

2016-01-28 Thread Tomasz Figa
Hi Thomas, 2016-01-29 5:06 GMT+09:00 Thomas Gleixner : > On Thu, 28 Jan 2016, Rob Herring wrote: >> On Thu, Jan 28, 2016 at 5:49 AM, Thomas Gleixner wrote: >> > I've cc'ed the author and the device tree folks. Perhaps are they able to >> > explain what this commit tries to 'fix'. >> >> It's certa

linux-next: Tree for Jan 29

2016-01-28 Thread Stephen Rothwell
Hi all, Changes since 20160128: The gpio tree gained a build failure so I used the version from next-20160128. The aio tree still had a build failure so I used the version from next-20160111. I added 2 supplied patches to the akpm-current tree to fix build problems. Non-merge commits

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

2016-01-28 Thread Stephen Rothwell
Hi Johannes, After merging the mac80211 tree, today's linux-next build (i386 defconfig) produced this warning: In file included from include/net/wext.h:4:0, from net/socket.c:97: include/net/iw_handler.h:446:13: warning: 'wireless_nlevent_flush' defined but not used [-Wunused-fu

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

2016-01-28 Thread Sergey Senozhatsky
On (01/29/16 12:00), Byungchul Park wrote: [..] > > it took a while to even find out that you are reporting this issues > > not against a real H/W, but a qemu. I suppose qemu-arm running on > > x86_64 box. > > No matter what kind of box I used because I only kept talking about the > possiblity. It

Re: [PATCH] Optimize int_sqrt for small values for faster idle

2016-01-28 Thread Rafael J. Wysocki
On Thursday, January 28, 2016 01:42:45 PM Andi Kleen wrote: > From: Andi Kleen > > The menu cpuidle governor does at least two int_sqrt() each time > we go into idle in get_typical_interval to compute stddev > > int_sqrts take 100-120 cycles each. Short idle latency is important > for many workl

RE: [RFC PATCH 4/6] iommu/arm-smmu: Add support for IOMMU_DOMAIN_DMA in SMMUv1/SMMUv2 driver

2016-01-28 Thread Anup Patel
> -Original Message- > From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: 28 January 2016 22:59 > To: Anup Patel; Catalin Marinas; Joerg Roedel; Will Deacon; Sricharan R; Linux > IOMMU; Linux ARM Kernel > Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Device >

Re: [PATCHv2 2/2] mm/page_poisoning.c: Allow for zero poisoning

2016-01-28 Thread Rafael J. Wysocki
On Thursday, January 28, 2016 06:38:19 PM Laura Abbott wrote: > By default, page poisoning uses a poison value (0xaa) on free. If this > is changed to 0, the page is not only sanitized but zeroing on alloc > with __GFP_ZERO can be skipped as well. The tradeoff is that detecting > corruption from th

Re: [PATCH 07/31] Add debugger entry points for NIOS2

2016-01-28 Thread Jeffrey Merkey
On 1/28/16, Ley Foon Tan wrote: > On Fri, Jan 29, 2016 at 3:46 AM, Jeffrey Merkey > wrote: >> This patch series adds an export which can be set by system debuggers to >> direct the hard lockup and soft lockup detector to trigger a breakpoint >> exception and enter a debugger if one is active. It

[RESEND PATCH v4] x86/PCI: Recognize that Interrupt Line 255 means "not connected"

2016-01-28 Thread Chen Fan
Per the x86-specific footnote to PCI spec r3.0, sec 6.2.4, the value 255 in the Interrupt Line register means "unknown" or "no connection." Previously, when we couldn't derive an IRQ from the _PRT, we fell back to using the value from Interrupt Line as an IRQ. It's questionable whether we should d

Re: [PATCH 5/3] mm, vmscan: make zone_reclaimable_pages more precise

2016-01-28 Thread Hillf Danton
> > From: Michal Hocko > > zone_reclaimable_pages is used in should_reclaim_retry which uses it to > calculate the target for the watermark check. This means that precise > numbers are important for the correct decision. zone_reclaimable_pages > uses zone_page_state which can contain stale data

RE: [RFC PATCH 5/6] iommu/arm-smmu: Option to treat instruction fetch as data read for SMMUv2

2016-01-28 Thread Anup Patel
> -Original Message- > From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: 28 January 2016 22:41 > To: Anup Patel; Catalin Marinas; Joerg Roedel; Will Deacon; Robin Murphy; > Sricharan R; Linux IOMMU; Linux ARM Kernel > Cc: Mark Rutland; Device Tree; Scott Branden; Pawel Moll; Ian Ca

Re: [PATCH v4 1/1] pci: fix unavailable irq number 255 reported by BIOS

2016-01-28 Thread Chen Fan
On 01/29/2016 11:37 AM, Rafael J. Wysocki wrote: On Thursday, January 28, 2016 02:57:36 PM Bjorn Helgaas wrote: Hi Chen, Thanks a lot for persevering and working this all out! On Thu, Jan 28, 2016 at 09:35:46AM +0800, Chen Fan wrote: In our X86 environment, when enable Secure boot, we found

Re: [PATCH v4 1/1] pci: fix unavailable irq number 255 reported by BIOS

2016-01-28 Thread Rafael J. Wysocki
On Thursday, January 28, 2016 02:57:36 PM Bjorn Helgaas wrote: > Hi Chen, > > Thanks a lot for persevering and working this all out! > > On Thu, Jan 28, 2016 at 09:35:46AM +0800, Chen Fan wrote: > > In our X86 environment, when enable Secure boot, we found an abnormal > > phenomenon as following

Re: [PATCH] cpufreq: Fix NULL reference crash while accessing policy->governor_data

2016-01-28 Thread Rafael J. Wysocki
On Thursday, January 28, 2016 07:45:53 AM Viresh Kumar wrote: > On 27-01-16, 23:54, Rafael J. Wysocki wrote: > > So I've applied this, but I'm not sure it is sufficient yet. > > At least, this solves the crash Juri was hitting on a multi cluster > box. Yes, it makes the crash go away in his setup

Re: [PATCH] Doc: Micrel-ksz90x1.txt: Update the Micrel phy documentation for ksz9031

2016-01-28 Thread Rob Herring
On Thu, Jan 28, 2016 at 10:49:27AM -0600, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Update the Micrel phy documentation for the KSZ9031 PHY to represent how > the actual values are calculated from the code. > > Signed-off-by: Dinh Nguyen > --- > .../devicetree/bindings/net/

[PATCH] mmc: mediatek: make sure clock is enabled when executing ops->card_busy()

2016-01-28 Thread Chaotian Jing
add pm_runtime_get_sync() before access MSDC_PS register Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index 82a97ac..a56b16d 100644 --- a/drivers/m

[PATCH V3] netfilter: h323: avoid potential attack

2016-01-28 Thread Zhouyi Zhou
I think hackers chould build a malicious h323 packet to overflow the pointer p which will panic during the memcpy(addr, p, len) For example, he may fabricate a very large taddr->ipAddress.ip; As suggested by Eric, this module is protected by a lock (nf_h323_lock) so adding a variable h323_buffer_va

Re: [PATCH RFC 1/3] of: Add vendor prefix for Si-En Technology

2016-01-28 Thread Rob Herring
On Thu, Jan 28, 2016 at 08:41:05PM +, Stefan Wahren wrote: > Si-En Technology is a fabless design house which offers > audio amplifiers, LED drivers and sensors. > > Signed-off-by: Stefan Wahren > --- > .../devicetree/bindings/vendor-prefixes.txt|1 + > 1 file changed, 1 insertio

Re: [PATCH RFC 2/3] DT: add binding for SN3218 LED driver

2016-01-28 Thread Rob Herring
On Thu, Jan 28, 2016 at 08:41:06PM +, Stefan Wahren wrote: > This patch adds the binding for Si-En Technology SN3218 > 18-Channel LED driver. > > Signed-off-by: Stefan Wahren > --- > .../devicetree/bindings/leds/leds-sn3218.txt | 41 > > 1 file changed, 41 inser

Re: [PATCH V2 01/11] dt-bindings: ARM: Mediatek: add MT2701/7623 string to the PMIC wrapper doc

2016-01-28 Thread Rob Herring
On Wed, Jan 20, 2016 at 08:58:53PM +0100, John Crispin wrote: > Signed-off-by: John Crispin > Cc: devicet...@vger.kernel.org > --- > Documentation/devicetree/bindings/soc/mediatek/pwrap.txt |1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring

Re: [PATCH 1/2] Documentation: dt: reset: Add syscon reset binding

2016-01-28 Thread Rob Herring
On Mon, Jan 25, 2016 at 01:02:43PM -0600, Andrew F. Davis wrote: > Add syscon reset controller binding. This will hook to the reset > framework and use syscon/regmap to set reset bits. This allows > reset control of individual SoC subsytems and devices with > memory-mapped reset registers in a comm

[lkp] [pipe] 759c01142a: -51.5% hackbench.throughput

2016-01-28 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 759c01142a5d0f364a462346168a56de28a80f52 ("pipe: limit the per-user amount of pages allocated in pipes")

Re: [PATCH] nouveau: need to handle failed allocation

2016-01-28 Thread Ben Skeggs
On 01/29/2016 10:12 AM, Insu Yun wrote: > > On Thu, Jan 28, 2016 at 7:08 PM, Ilia Mirkin > wrote: > > On Thu, Jan 28, 2016 at 7:09 PM, Insu Yun > wrote: > > drm_property_create_range can be failed in memory pressure. > > So,

Re: [PATCH 3/3] param: convert some "on"/"off" users to strtobool

2016-01-28 Thread Michael Ellerman
On Thu, 2016-01-28 at 06:17 -0800, Kees Cook wrote: > This changes several users of manual "on"/"off" parsing to use strtobool. You should probably point out that it's a slight behaviour change for some users. ie. parameters that previously *only* worked with "on"/"off", can now also take 0/1/y/n

Re: [PATCH] kexec: unmap reserved pages for each error-return way

2016-01-28 Thread Xunlei Pang
On 2016/01/28 at 17:02, Dmitry Safonov wrote: > On 01/28/2016 05:58 AM, Xunlei Pang wrote: >> Hi Dmitry, >> >> On 2016/01/28 at 03:15, Andrew Morton wrote: >>> On Wed, 27 Jan 2016 14:48:31 +0300 Dmitry Safonov >>> wrote: >>> For allocation of kimage failure or kexec_prepare or load segment

RE: [PATCH] cputime: Fix timeval-->cputime conversion

2016-01-28 Thread Zengtao (B)
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Thursday, January 28, 2016 7:52 PM > To: Thomas Gleixner > Cc: Zengtao (B); LKML; Frederic Weisbecker > Subject: Re: [PATCH] cputime: Fix timeval-->cputime conversion > > On Thursday 28 January 2016 09:22:04 Thomas G

Re: [PATCH 07/31] Add debugger entry points for NIOS2

2016-01-28 Thread Ley Foon Tan
On Fri, Jan 29, 2016 at 3:46 AM, Jeffrey Merkey wrote: > This patch series adds an export which can be set by system debuggers to > direct the hard lockup and soft lockup detector to trigger a breakpoint > exception and enter a debugger if one is active. It is assumed that if > someone sets this

Re: [RFC][PATCH] seccomp: add SECCOMP_RET_ACK for non-fatal SIGSYS

2016-01-28 Thread Jeffrey Vander Stoep
Thanks! This is just what I need. What are the drawbacks to returning the sigsys before executing the system call? Otherwise this loses the benefit of properly reporting registers for argument inspection. How about SECCOMP_RET_PERMISSIVE? Describes the application rather than the implementation.

Re: [PATCH] Documentation: rockchip-dw-mshc: add RK3036 dw-mshc description

2016-01-28 Thread Rob Herring
On Tue, Jan 26, 2016 at 10:34:14AM +0800, Shawn Lin wrote: > rk3036 dtsi file add dw-mshc compatible "rockchip,rk3036-dw-mshc" > but didn't add it into rockchip-dw-mshc.txt. > > Signed-off-by: Shawn Lin > --- > > Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + > 1 file changed

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

2016-01-28 Thread Byungchul Park
On Fri, Jan 29, 2016 at 09:54:06AM +0900, Sergey Senozhatsky wrote: > because you don't give any details and don't answer any questions. There are 2 ways to make the kernel better and stabler. 1) Remove the possiblity which make the system go crazy, even though it would hardly happen since the po

Re: [PATCH 3/3] input: touchscreen: ad7879: add device tree support

2016-01-28 Thread Rob Herring
On Mon, Jan 25, 2016 at 07:04:37PM -0800, Stefan Agner wrote: > Add device tree support for the I2C variant of AD7879 (AD7879-1). This > allows to specify the touchscreen controller as a I2C client node. > Most of the options available as platform data are also available as > device tree properties

Re: [PATCHv2] SCSI: usd ida for host number management

2016-01-28 Thread Martin K. Petersen
> "Lee" == Lee Duncan writes: Lee> Update the SCSI hosts module to use ida to manage its host_no index Lee> instead of an ATOMIC integer. This means that the SCSI host number Lee> will now be reclaimable. Applied to 4.6/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [LKP] [lkp] [locks] 7f3697e24d: +35.1% will-it-scale.per_thread_ops

2016-01-28 Thread Huang, Ying
Jeff Layton writes: > On Fri, 29 Jan 2016 09:32:19 +0800 > kernel test robot wrote: > >> FYI, we noticed the below changes on >> >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> commit 7f3697e24dc3820b10f445a4a7d914fc356012d1 ("locks: fix unlock when >> fcntl_set

Re: [PATCH 00/13] dtb: amd: Miscelleneous Updates for AMD Seattle DTS

2016-01-28 Thread Olof Johansson
On Thu, Jan 28, 2016 at 2:20 PM, Suravee Suthikulanit wrote: > Hi Olof, > > On 1/28/2016 3:39 PM, Olof Johansson wrote: >> >> Hi Suravee, >> >> On Wed, Jan 27, 2016 at 1:11 PM, Suravee Suthikulpanit >> wrote: >>> >>> From: Suravee Suthikulpanit >>> >>> This patch series contains several updates

Re: [lkp] [locks] 7f3697e24d: +35.1% will-it-scale.per_thread_ops

2016-01-28 Thread Jeff Layton
On Fri, 29 Jan 2016 09:32:19 +0800 kernel test robot wrote: > FYI, we noticed the below changes on > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit 7f3697e24dc3820b10f445a4a7d914fc356012d1 ("locks: fix unlock when > fcntl_setlk races with a close") > > >

[PATCHv2 1/2] mm/page_poison.c: Enable PAGE_POISONING as a separate option

2016-01-28 Thread Laura Abbott
Page poisoning is currently setup as a feature if architectures don't have architecture debug page_alloc to allow unmapping of pages. It has uses apart from that though. Clearing of the pages on free provides an increase in security as it helps to limit the risk of information leaks. Allow page poi

[PATCHv2 2/2] mm/page_poisoning.c: Allow for zero poisoning

2016-01-28 Thread Laura Abbott
By default, page poisoning uses a poison value (0xaa) on free. If this is changed to 0, the page is not only sanitized but zeroing on alloc with __GFP_ZERO can be skipped as well. The tradeoff is that detecting corruption from the poisoning is harder to detect. This feature also cannot be used with

  1   2   3   4   5   6   7   8   9   10   >