[PATCH v2 1/5] usb: dwc3: add Fujitsu Specific Glue layer

2015-01-19 Thread Sneeker Yeh
This patch adds support for Synopsis DesignWare USB3 IP Core found on Fujitsu Socs. Signed-off-by: Sneeker Yeh --- .../devicetree/bindings/usb/fujitsu-dwc3.txt | 33 drivers/usb/dwc3/Kconfig | 11 ++ drivers/usb/dwc3/Makefile |

Re: [PATCH 1/2] cpufreq-dt: check CPU clock/power domain during initializing

2015-01-19 Thread Viresh Kumar
On 9 January 2015 at 15:24, pi-cheng.chen wrote: > Currently the DT based cpufreq driver is missing some way to check which > CPUs share clocks. In the 1st patch, CPU clock/power domain information is > added to the platform_data of cpufreq-dt so that cpufreq-dt driver could > check which CPUs sha

Re: [PATCH net-next 1/7] r8152: adjust rx_bottom

2015-01-19 Thread Scott Feldman
On Sun, Jan 18, 2015 at 11:13 PM, Hayes Wang wrote: > If a error occurs when submitting rx, skip the remaining submissions > and try to submit them again next time. > > Signed-off-by: Hayes Wang > --- > drivers/net/usb/r8152.c | 15 +-- > 1 file changed, 13 insertions(+), 2 deletions

[PATCH v2 2/2] powerpc: powernv: winkle: Restore LPCR with LPCR_PECE1 cleared

2015-01-19 Thread Shreyas B. Prabhu
LPCR_PECE1 bit controls whether decrementer interrupts are allowed to cause exit from power-saving mode. While waking up from winkle, restoring LPCR with LPCR_PECE1 set (i.e Decrementer interrupts allowed) can cause issue in the following scenario: - All the threads in a core are offlined. The cor

[PATCH v2 1/2] powerpc: Add helpers for LPCR PECE1 operations

2015-01-19 Thread Shreyas B. Prabhu
PECE1 bit in LPCR is used to control whether decrementer can cause exit from powersaving states. PECE1 bit is cleared before entering fastsleep or deeper powersaving state and it is set on waking up. Since both cpuidle and cpu offline operations use these powersaving states, add helper functions to

Re: [PATCH 07/10] mfd: rtsx: remove LCTLR defination

2015-01-19 Thread Lee Jones
On Mon, 19 Jan 2015, 敬锐 wrote: > > On 01/18/2015 08:28 PM, Lee Jones wrote: > > On Thu, 15 Jan 2015, micky_ch...@realsil.com.cn wrote: > > > >> From: Micky Ching > >> > >> To enable/disable ASPM we should find LINK CONTROL register > >> in PCI config space. All old chip use 0x80 address, but new

RCU CPU stall console spews leads to soft lockup disabled is reasonable ?

2015-01-19 Thread Zhang Zhen
Hi, On my x86_64 qemu virtual machine, RCU CPU stall console spews may lead to soft lockup disabled. If softlockup_thresh > rcu_cpu_stall_timeout (softlockup_thresh = 2 * watchdog_thresh): / # / # busybox cat /sys/module/rcupdate/parameters/rcu_cpu_stall_timeout 21 / # echo 60 > /proc/sys/kerne

Re: [PATCH] gpu: ipu-v3: wait_for_completion_timeout does not return negativ status

2015-01-19 Thread Philipp Zabel
Hi Nicholas, thank you for the patch. Am Freitag, den 16.01.2015, 11:48 +0100 schrieb Nicholas Mc Guire: > Signed-off-by: Nicholas Mc Guire > --- > > Patch is against 3.19.0-rc3 -next-20150109 > > This patch was compiletested with imx_v6_v7_defconfig + > CONFIG_RESET_CONTROLLER=y, CONFIG_IMX_

Re: [PATCH v10 0/6] Add Skyworks SKY81452 device drivers

2015-01-19 Thread Lee Jones
On Mon, 19 Jan 2015, Gyungoh Yoo wrote: > On Sun, Jan 18, 2015 at 05:40:37PM +, Lee Jones wrote: > > > From: Gyungoh Yoo > > > > > > This patch set includes regulator and backlight driver for SKY81452. > > > Also it includes documents for device tree and module. > > > sky81452-regulator was

[PATCH v2 2/7] staging: sm7xxfb: update TODO file

2015-01-19 Thread Sudip Mukherjee
update the email addresses in the TODO file, also update the final destination of this driver. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm7xxfb/TODO | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm7xxfb/TODO b/drivers/staging/sm7xxfb/TODO

[PATCH v2 1/7] Revert "staging: sm7xxfb: remove driver"

2015-01-19 Thread Sudip Mukherjee
This reverts commit "dc93c85235efa5201e9a3c116bc3fbd1afc1a182" Signed-off-by: Sudip Mukherjee --- v2: checkpatch cleanup has been added to the series. after this series CamelCase is the only pending style related issue. i have two doubts: 1) will it be easier if i have a git tree somewhere? 2)

[PATCH v2 7/7] staging: sm7xxfb: fix alignment

2015-01-19 Thread Sudip Mukherjee
checkpatch cleanup: alignment should match open parenthesis Signed-off-by: Sudip Mukherjee --- drivers/staging/sm7xxfb/sm7xxfb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index 097747c..2ae9fd0

[PATCH v2 6/7] staging: sm7xxfb: remove unnecessary blank lines

2015-01-19 Thread Sudip Mukherjee
checkpatch cleanup: blank lines are not necessary before closing brace and after opening brace. Signed-off-by: Sudip Mukherjee --- these are actually two different checkpatch warning, but am sending them together as they are of similar type. drivers/staging/sm7xxfb/sm7xxfb.c | 4 1 file c

[PATCH v2 5/7] staging: sm7xxfb: no space is necessary after a cast

2015-01-19 Thread Sudip Mukherjee
checkpatch cleanup: space is not necessary after cast Signed-off-by: Sudip Mukherjee --- drivers/staging/sm7xxfb/sm7xxfb.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index 6bce9f1..6f0469

[PATCH v2 4/7] staging: sm7xxfb: add missing blank line

2015-01-19 Thread Sudip Mukherjee
checkpatch cleanup to add missing blank line after declaration Signed-off-by: Sudip Mukherjee --- drivers/staging/sm7xxfb/sm7xxfb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index c550b71..6bce9f1 100644 --- a/dri

[PATCH v2 3/7] MAINTAINERS: update for SM7XX driver

2015-01-19 Thread Sudip Mukherjee
add myself and Teddy Wang as the Maintainer of the SM7XX FRAME BUFFER DRIVER. Signed-off-by: Sudip Mukherjee --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index dbc17b3..4fd647e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9220,6 +9220,14

Re: [PATCH v2 3/3] Documentation: Add documentation for rt5033 multifunction device

2015-01-19 Thread Lee Jones
DT Ack please gents. > This patch device tree binding documentation for rt5033 multifunction device. > > Cc: Sebastian Reichel > Cc: Lee Jones > Cc: Mark Brown > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian campbell > Cc: Kumar Gala > Signed-off-by: Beomho Seo > Acked-by

Re: [PATCH 01/12] mfd: syscon: Add atmel-matrix registers definition

2015-01-19 Thread Lee Jones
On Sun, 18 Jan 2015, Boris Brezillon wrote: > Hi Lee, > > On Sun, 18 Jan 2015 12:52:59 + > Lee Jones wrote: > > > On Wed, 14 Jan 2015, Alexandre Belloni wrote: > > > > > From: Boris Brezillon > > > > > > AT91 SoCs have a memory range reserved for internal bus configuration. > > > Expose

linux-next: build failure after merge of the akpm-current tree

2015-01-19 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (sparc defconfig) failed like this: In file included from arch/sparc/include/asm/bug.h:20:0, from include/linux/bug.h:4, from include/linux/thread_info.h:11, from include/asm-generi

[PATCH] mm/util.c: add a none zero check of "len"

2015-01-19 Thread Pan Xinhui
Although this check should have been done by caller. But as it's exported to others, It's better to add a none zero check of "len" like other functions. Signed-off-by: xinhuix.pan --- mm/util.c | 5 + 1 file changed, 5 insertions(+) diff --git a/mm/util.c b/mm/util.c index fec39d4..3dc287

linux-next: Tree for Jan 19

2015-01-19 Thread Stephen Rothwell
Hi all, Changes since 20150116: The i2c tree lost its build failure. The net-next tree gained a build failure so I used the version from next-20150116 for today. The luto-misc tree gained a conflict against the tip tree. The akpm-current tree gained two build failures for which I added fix pat

Re: [PATCH 01/28] PCI: Rip out pci_bus_add_devices() from pci_scan_bus()

2015-01-19 Thread Arnd Bergmann
On Friday 16 January 2015 15:16:28 Yinghai Lu wrote: > On Fri, Jan 16, 2015 at 3:15 PM, Yinghai Lu wrote: > > On Thu, Jan 15, 2015 at 5:43 PM, Yijing Wang wrote: > >> Pci_bus_add_devices() should not be placed in pci_scan_bus(). > >> Now pci device will be added to driver core once its > >> creat

[PATCH] media: i2c: add new driver for single string flash.

2015-01-19 Thread Daniel Jeong
This patch adds the driver for the single string flash products of TI. Several single string flash controllers of TI have similar register map and bit data. This driver supports four products,lm3556, lm3561, lm3642 and lm3648. Signed-off-by: Daniel Jeong --- drivers/media/i2c/Kconfig |

Re: [PATCH 1/1] scripts/recordmcount.pl: There is no -m32 option on Super-H

2015-01-19 Thread John Paul Adrian Glaubitz
Hi Steven! >> The Super-H architecure seems to be without any maintainer. >> Maybe Steven cares to pick this patch up. Dunno... > Yeah, I remember when the SH maintainer left. > I can pick it up. How urgent is it? Does it need to go in before the > next merge window? And does it need to be tagge

Re: module: fix module_refcount() return when running in a module exit routine

2015-01-19 Thread Christoph Hellwig
On Mon, Jan 19, 2015 at 04:21:15PM +1030, Rusty Russell wrote: > The first one I think should be eliminated, and the second one is simply > an assertion before calling module_put() (which should probably be > eliminated). The others are just printing information. FYI, I've got a pathcset to elimi

Re: File sealing man pages for review (memfd_create(2), fcntl(2))

2015-01-19 Thread Michael Kerrisk (man-pages)
Hello David, Thanks for reviewing the pages! I'll trim everything that we agree on, and just comment on a few remaining points. On 01/18/2015 11:28 PM, David Herrmann wrote: > Hi > > On Fri, Jan 9, 2015 at 1:49 PM, Michael Kerrisk (man-pages) > wrote: [...] >> memfd_crea

Re: [PATCH v3 1/3] dt-bindings: mfd: add lubbock-io binding

2015-01-19 Thread Lee Jones
On Fri, 16 Jan 2015, Robert Jarzmik wrote: > Add a binding for lubbock motherboard IO board. > > Signed-off-by: Robert Jarzmik > --- > .../devicetree/bindings/mfd/lubbock-io.txt | 26 > ++ > 1 file changed, 26 insertions(+) > create mode 100644 Documentation/device

Re: linux-next: build failure after merge of the akpm-current tree

2015-01-19 Thread Cyrill Gorcunov
On Mon, Jan 19, 2015 at 07:17:18PM +1100, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm tree, today's linux-next build (sparc defconfig) > failed like this: > > In file included from arch/sparc/include/asm/bug.h:20:0, > from include/linux/bug.h:4, >

Re: RCU CPU stall console spews leads to soft lockup disabled is reasonable ?

2015-01-19 Thread Paul E. McKenney
On Mon, Jan 19, 2015 at 04:07:15PM +0800, Zhang Zhen wrote: > Hi, > > On my x86_64 qemu virtual machine, RCU CPU stall console spews may > lead to soft lockup disabled. > > If softlockup_thresh > rcu_cpu_stall_timeout (softlockup_thresh = 2 * > watchdog_thresh): > > / # > / # busybox cat /sys/m

[PATCH] tpm, tpm_crb: fix build error

2015-01-19 Thread Jarkko Sakkinen
SIMPLE_DEV_PM_OPS() was inside #ifdef CONFIG_PM_SLEEP. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_crb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c index c248a35..3dd23cf 100644 --- a/drivers/char/tpm/tp

Re: [PATCH 18/28] PCI/sparc: Use pci_scan_root_bridge() for simplicity

2015-01-19 Thread Arnd Bergmann
On Monday 19 January 2015 11:17:02 Yijing Wang wrote: > On 2015/1/16 18:01, Arnd Bergmann wrote: > > On Friday 16 January 2015 09:44:16 Yijing Wang wrote: > >> +static void pci_host_bridge_probe_mode( > >> + struct pci_host_bridge *host) > >> +{ > >> + host->of_scan = true; > >>

Re: [PATCH v4] gpio: lib-sysfs: Add 'wakeup' attribute

2015-01-19 Thread Linus Walleij
On Mon, Jan 19, 2015 at 5:20 AM, Alexandre Courbot wrote: > On Sat, Jan 17, 2015 at 1:49 AM, Sören Brinkmann > wrote: >> On Fri, 2015-01-16 at 12:11PM +0100, Johan Hovold wrote: >>> Implementing proper wakeup support for unclaimed GPIOs would take some >>> work (if at all desired), but that is

[PATCH v2] pci: Fix infinite loop with ROM image of size 0

2015-01-19 Thread Michel Dänzer
From: Michel Dänzer If the image size would ever read as 0, pci_get_rom_size could keep processing the same image over and over again. Reported-by: Federico Cc: sta...@vger.kernel.org Signed-off-by: Michel Dänzer --- v2: * Use unsigned instead of u16 for the local length variable (not sure if

[PATCH net 2/2] r8152: remove sram_read

2015-01-19 Thread Hayes Wang
Read OCP register 0xa43a~0xa43b would clear some flags which the hw would use, and it may let the device lost. However, the unit of reading is 4 bytes. That is, it would read 0xa438~0xa43b when calling sram_read() to read OCP_SRAM_DATA. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 24

[PATCH 0/2] x86: earlyprintk cleanup

2015-01-19 Thread Alexander Kuleshov
The following two patches remove unused macro definitions from early_serial_console and early_printk x86 code. Alexander Kuleshov (2): x86/early_serial_console: remove unused definitions x86/early_printk: remove unused definitions arch/x86/boot/early_serial_console.c | 5 - arch/x86/ker

[PATCH 1/2] x86/early_serial_console: remove unused definitions

2015-01-19 Thread Alexander Kuleshov
TXR, RXR, IIR, LSR and MSR are not used anywhere Signed-off-by: Alexander Kuleshov --- arch/x86/boot/early_serial_console.c | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/x86/boot/early_serial_console.c b/arch/x86/boot/early_serial_console.c index 5df2869..9176135 100644 --- a/arc

[PATCH net 0/2] r8152: couldn't read OCP_SRAM_DATA

2015-01-19 Thread Hayes Wang
Read OCP_SRAM_DATA would read additional bytes and may let the hw abnormal. Hayes Wang (2): r8152: remove generic_ocp_read before writing r8152: remove sram_read drivers/net/usb/r8152.c | 30 ++ 1 file changed, 6 insertions(+), 24 deletions(-) -- 2.1.0 -- To un

[PATCH 2/2] x86/early_printk: remove unused definitions

2015-01-19 Thread Alexander Kuleshov
RXR, IIR and MSR are not used Signed-off-by: Alexander Kuleshov --- arch/x86/kernel/early_printk.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/kernel/early_printk.c b/arch/x86/kernel/early_printk.c index 01d1c18..e8f317f 100644 --- a/arch/x86/kernel/early_printk.c +++ b/arch/x

Re: [PATCH] kprobes: bugfix: checks kprobes_all_disarmed in unoptimized_kprobe().

2015-01-19 Thread Masami Hiramatsu
Hi Wang, I've found a problem on this patch, since kprobes calls unoptioize_kprobe with kprobes_all_disarmed=true when trying to disable all kprobes, this cause a serious problem. Moreover, I couldn't reproduce your reported bug on my 3.19-rc4 kernel. Could you test it again? Unless I could repr

[PATCH net 1/2] r8152: remove generic_ocp_read before writing

2015-01-19 Thread Hayes Wang
For ocp_write_word() and ocp_write_byte(), there is a generic_ocp_read() which is used to read the whole 4 byte data, keep the unchanged bytes, and modify the expected bytes. However, the "byen" could be used to determine which bytes of the 4 bytes to write, so the action could be removed. Signed-

Re: [PATCH v4 3/6] arm64: Kprobes with single stepping support

2015-01-19 Thread Pratyush Anand
On Saturday 17 January 2015 12:58 AM, David Long wrote: +static bool aarch64_insn_is_steppable(u32 insn) +{ + if (aarch64_get_insn_class(insn) == AARCH64_INSN_CLS_BR_SYS) { + if (aarch64_insn_is_branch(insn)) + return false; + + /* modific

Re: rcu, sched: WARNING: CPU: 30 PID: 23771 at kernel/rcu/tree_plugin.h:337 rcu_read_unlock_special+0x369/0x550()

2015-01-19 Thread Paul E. McKenney
On Sun, Jan 18, 2015 at 09:17:40AM -0500, Sasha Levin wrote: > Hi Paul, Lai, > > While fuzzing with trinity inside a KVM tools guest running the latest -next > kernel, I've stumbled on the following spew: > > [ 598.188036] WARNING: CPU: 30 PID: 23771 at kernel/rcu/tree_plugin.h:337 > rcu_read_u

Re: [Intel-gfx] [BUG, bisect] drm/i915: mouse pointer lags and overshoots

2015-01-19 Thread Ville Syrjälä
On Sat, Jan 17, 2015 at 02:06:35AM -0800, Jeremiah Mahler wrote: > Matt, all, > > Commit ea2c67bb4aff introduces a bug which causes the mouse to move in a > very unusual way, as if it has a lot of inertia. It will lag behind and > then overshoot the expected position. > > I reproduced this bug o

Re: RCU CPU stall console spews leads to soft lockup disabled is reasonable ?

2015-01-19 Thread Zhang Zhen
On 2015/1/19 16:42, Paul E. McKenney wrote: > On Mon, Jan 19, 2015 at 04:07:15PM +0800, Zhang Zhen wrote: >> Hi, >> >> On my x86_64 qemu virtual machine, RCU CPU stall console spews may >> lead to soft lockup disabled. >> >> If softlockup_thresh > rcu_cpu_stall_timeout (softlockup_thresh = 2 * >>

Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board

2015-01-19 Thread Lee Jones
On Fri, 16 Jan 2015, Robert Jarzmik wrote: > Lubbock () board is the IO motherboard of the Intel PXA25x Development > Platform, which supports the Lubbock pxa25x soc board. > > Historically, this support was in arch/arm/mach-pxa/lubbock.c. When > gpio-pxa was moved to drivers/pxa, it became a dri

Re: [PATCH v4 1/9] devfreq: exynos: Add generic exynos memory bus frequency driver

2015-01-19 Thread MyungJoo Ham
> > This patch adds the generic exynos bus frequency driver for memory bus > with DEVFREQ framework. The Samsung Exynos SoCs have the common architecture > for memory bus between DRAM memory and MMC/sub IP in SoC. This driver can > support the memory bus frequency driver for Exynos SoCs. > > E

Re: [PATCH 1/2] ARM: entry-common: fix forgotten set of thread_info->syscall

2015-01-19 Thread Will Deacon
On Fri, Jan 16, 2015 at 11:54:45PM +, Kees Cook wrote: > On Fri, Jan 16, 2015 at 11:57 AM, Kees Cook wrote: > > On Fri, Jan 16, 2015 at 8:17 AM, Russell King - ARM Linux > > wrote: > >> On Sat, Jan 17, 2015 at 01:08:11AM +0900, Roman Peniaev wrote: > >>> On Sat, Jan 17, 2015 at 12:59 AM, Russ

Re: [PATCHv10 1/2] pwm: Add Allwinner SoC support

2015-01-19 Thread Chen-Yu Tsai
On Thu, Dec 18, 2014 at 5:15 AM, Alexandre Belloni wrote: > This adds a generic PWM framework driver for the PWM controller > found on Allwinner SoCs. Hi, Any news on this series? ChenYu > Signed-off-by: Alexandre Belloni > Acked-by: Maxime Ripard > --- > drivers/pwm/Kconfig | 10 ++ >

Re: [PATCH -mm 0/6] memcg: release kmemcg_id on css offline

2015-01-19 Thread Vladimir Davydov
Drop this patch please. It needs a rebase. Will resend soon. Thanks, Vladimir -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-19 Thread Daniel Lezcano
On 01/19/2015 01:54 AM, Chanwoo Choi wrote: Dear Daniel and Kukjin, On 01/15/2015 01:02 AM, Daniel Lezcano wrote: On 01/14/2015 04:51 PM, Kukjin Kim wrote: On 01/14/15 14:33, Chanwoo Choi wrote: Hi, + Doug, Olof This patch adds the support for Exynos 64bit SoC. The delay_timer is only used

Re: [PATCH] media: i2c: add new driver for single string flash.

2015-01-19 Thread Andy Shevchenko
On Mon, 2015-01-19 at 17:25 +0900, Daniel Jeong wrote: > This patch adds the driver for the single string flash products of TI. > Several single string flash controllers of TI have similar register map > and bit data. This driver supports four products,lm3556, lm3561, lm3642 > and lm3648. Why not

Re: [RFC 2/3] regmap: Use the enhancement of i2c API to address circular dependency problem

2015-01-19 Thread Paul Osmialowski
On Fri, 16 Jan 2015, Mark Brown wrote: On Fri, Jan 16, 2015 at 06:36:14PM +0100, Paul Osmialowski wrote: On Fri, 16 Jan 2015, Mark Brown wrote: I don't know what this means, sorry. I'm also very worried about the fact that this is being discussed purely in terms of I2C - why would this no

[PATCH v4] ARM: mvebu: remove two selects of ARM_ERRATA_753970

2015-01-19 Thread Paul Bolle
g, which is removing these two selects, as they are nops now. Done on top of next-20150119. arch/arm/mach-mvebu/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index c1e4567a5ab3..e8e5fa25121c 100644 --- a/arch/arm/mach-mve

Re: [PATCH v4 4/9] clk: samsung: exynos4: Add divider clock id for memory bus frequency

2015-01-19 Thread MyungJoo Ham
> > This patch adds the divider clock id for Exynos4 memory bus frequency. > The clock id is used fo DVFS (Dynamic Voltage/Frequency Scaling) > feature of exynos memory bus frequency. > > Cc: Sylwester Nawrocki > Cc: Tomasz Figa > Signed-off-by: Chanwoo Choi Acked-by: MyungJoo Ham Anyway

Re: [PATCH v4 6/9] ARM: dts: Add memory bus node for Exynos4210

2015-01-19 Thread MyungJoo Ham
> > This patch adds the memory bus node for Exynos4210 SoC. Exynos4210 SoC has > one memory bus to translate data between DRAM and eMMC/sub-IPs because > Exynos4210 must need only one regulator for memory bus. > > Following list specifies the detailed relation between memory bus clock and > su

Re: linux-next: manual merge of the luto-misc tree with the tip tree

2015-01-19 Thread Borislav Petkov
On Mon, Jan 19, 2015 at 05:08:39PM +1100, Stephen Rothwell wrote: > Hi Andy, > > Today's linux-next merge of the luto-misc tree got a conflict in > arch/x86/kernel/cpu/mcheck/mce.c between commit 83737691e586 ("x86, > mce: Fix sparse errors") from the tip tree and commit d4812e169de4 > ("x86, mce:

Re: [PATCH v4 1/9] devfreq: exynos: Add generic exynos memory bus frequency driver

2015-01-19 Thread Chanwoo Choi
Dear Myungjoo, On 01/19/2015 06:20 PM, MyungJoo Ham wrote: >> >> This patch adds the generic exynos bus frequency driver for memory bus >> with DEVFREQ framework. The Samsung Exynos SoCs have the common architecture >> for memory bus between DRAM memory and MMC/sub IP in SoC. This driver can >

Re: [PATCH v4 7/9] ARM: dts: Add the support for exynos busfreq on Exynos3250-based Rinato/Monk board

2015-01-19 Thread MyungJoo Ham
> > This patch adds the Exynos3250 memory-bus node which includes the regulator > and devfreq-event phandle. The devfreq-event phandle is used for the > governor of devfreq device and provide the current usage state of > MIF (Memory Interface) / INT (Internal) memory bus group. > > Cc: Kukjin

Re: [PATCH v4 8/9] ARM: dts: Add the support for exynos busfreq on Exynos4412-based TRATS2 board

2015-01-19 Thread MyungJoo Ham
> > This patch adds the Exynos4412 memory-bus node which includes the regulator > and devfreq-event phandle. The devfreq-event phandle is used for the > governor of devfreq device and provide the current usage state of > MIF (Memory Interface) / INT (Internal) memory bus group. > > Cc: Kukjin

Re: [PATCH v4 9/9] devfreq: exynos: Remove unused exynos4 memory busfreq driver

2015-01-19 Thread MyungJoo Ham
> > This patch removes the unused exynos4 memory busfreq driver by adding generic > exynos memory bus frequency driver. > > Cc: Myungjoo Ham > Cc: Kyungmin Park > Signed-off-by: Chanwoo Choi Reviewed-by: MyungJoo Ham > --- > drivers/devfreq/Kconfig | 12 - > drivers/devfr

Re: [PATCH v4] ARM: mvebu: remove two selects of ARM_ERRATA_753970

2015-01-19 Thread Paul Bolle
Andy, Joe, On Mon, 2015-01-19 at 10:32 +0100, Paul Bolle wrote: > ARM_ERRATA_753970 was renamed to PL310_ERRATA_753970 in v3.2, through > commit fa0ce4035d48 ("ARM: 7162/1: errata: tidy up Kconfig options for > PL310 errata workarounds"). Still, two selects were added in v3.15 that > used the prev

Re: [PATCH 1/3] arm64: Track system support for mixed endian EL0

2015-01-19 Thread Suzuki K. Poulose
On 16/01/15 16:15, Suzuki K. Poulose wrote: On 16/01/15 15:53, Will Deacon wrote: On Thu, Jan 15, 2015 at 12:36:04PM +, Suzuki K. Poulose wrote: From: "Suzuki K. Poulose" This patch keeps track of the mixed endian EL0 support across the system and provides helper functions to export it. T

Re: [PATCH v3 2/8] mfd: Add atmel-st driver

2015-01-19 Thread Lee Jones
On Mon, 12 Jan 2015, Alexandre Belloni wrote: > The Atmel System Timer IP available on the at91rm9200 exposes both a timer > and a > watchdog. > > Signed-off-by: Alexandre Belloni > Acked-by: Boris Brezillon > --- > drivers/mfd/Kconfig | 7 > drivers/mfd/Makefile | 1 +

[PATCH 2/3] sound: dummy, use del_timer_sync

2015-01-19 Thread Jiri Slaby
Wait for the timer to really quit, not only by ensuring it is not in the critical section. BTW the spin_lock in here does not disable BH, so that it could deadlock. Signed-off-by: Jiri Slaby Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: alsa-de...@alsa-project.org --- sound/drivers/dummy.c | 6 +++

[PATCH 1/3] sound: dummy, use setup_timer and mod_timer

2015-01-19 Thread Jiri Slaby
From: Roman Kollar Use setup_timer and mod_timer instead of structure assignments as it is the preferred way to setup and set the timer. Signed-off-by: Roman Kollar Signed-off-by: Jiri Slaby Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: alsa-de...@alsa-project.org --- sound/drivers/dummy.c | 10

[PATCH 3/3] sound: dummy, avoid races with timer

2015-01-19 Thread Jiri Slaby
There is a race between timer and process contexts. Process context does not disable irqs, so when a timer ticks inside process' critical section, the system can deadlock. Fix this by a traditional _irqsave variant of spin_lock. Signed-off-by: Jiri Slaby Cc: Jaroslav Kysela Cc: Takashi Iwai Cc:

Re: [PATCH 1/2] mfd: rtsx_usb: Fix runtime PM deadlock

2015-01-19 Thread Lee Jones
On Thu, 15 Jan 2015, Roger Tseng wrote: > sd_set_power_mode() in derived module drivers/mmc/host/rtsx_usb_sdmmc.c > acquires dev_mutex and then calls pm_runtime_get_sync() to make sure the > device is awake while initializing a newly inserted card. Once it is > called during suspending state and e

Re: [PATCH] BLACKFIN MEDIA DRIVER: rewrite the blackfin style of read/write into common style

2015-01-19 Thread Hans Verkuil
On 01/19/2015 04:13 AM, Hao Liang wrote: > Hi Hans, > > Thank you for your reply. > This change comes largely from a non-blackfin architecture dsp processor of > ADI want to reuse this driver. > And i have tested common read/write function on blackfin board to ensure > usability and stability.

Re: linux-next: build failure after merge of the akpm-current tree

2015-01-19 Thread Kirill A. Shutemov
On Mon, Jan 19, 2015 at 11:38:17AM +0300, Cyrill Gorcunov wrote: > On Mon, Jan 19, 2015 at 07:17:18PM +1100, Stephen Rothwell wrote: > > Hi Andrew, > > > > After merging the akpm tree, today's linux-next build (sparc defconfig) > > failed like this: > > > > In file included from arch/sparc/includ

Re: does the semantics of MAP_LOCKED is equal to mlock() function?

2015-01-19 Thread Michal Hocko
See http://marc.info/?l=linux-mm&m=142122902313315&w=2 for more information. On Mon 19-01-15 14:17:43, long.wanglong wrote: > Hi all: > > In the latest kernel, i set the memory limit (4096) in a test cgroup. and add > the test task. > the test code code is: > > testcase 1: mmap with MAP_LOCKED

Re: [PATCH 2/2] mfd: rtsx_usb: Defer autosuspend while card exists

2015-01-19 Thread Lee Jones
On Thu, 15 Jan 2015, Roger Tseng wrote: > A card insertion happens after the lastest polling before reader is > suspended may never have a chance to be detected. Under current 1-HZ > polling interval setting in mmc_core, the worst case of such > undetectablility is about 1 second. > > To further

Re: [PATCH 3/3] sound: dummy, avoid races with timer

2015-01-19 Thread Takashi Iwai
At Mon, 19 Jan 2015 10:42:56 +0100, Jiri Slaby wrote: > > There is a race between timer and process contexts. Process context > does not disable irqs, so when a timer ticks inside process' critical > section, the system can deadlock. Fix this by a traditional _irqsave > variant of spin_lock. > >

[alsa-devel] [PATCH v2 2/3] ASoC: samsung: Document Trats2 audio subsystem bindings

2015-01-19 Thread Inha Song
This patch add Trats2 audio subsystem bindings document. Signed-off-by: Inha Song --- .../bindings/sound/samsung,trats2-wm1811.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/samsung,trats2-wm1811.txt diff --gi

[alsa-devel] [PATCH v2 3/3] ARM: dts: Add sound nodes for exynos4412-trats2

2015-01-19 Thread Inha Song
This patch add WM1811 audio codec, I2S interface and the sound machine nodes to enable audio on exynos4412-trats2 board. Signed-off-by: Inha Song --- arch/arm/boot/dts/exynos4412-trats2.dts | 39 + 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/e

[alsa-devel] [PATCH v2 1/3] ASoC: samsung: Add machine driver for Trats2

2015-01-19 Thread Inha Song
This patch add the sound machine driver for Trats2 board. The codec operate in master mode. Signed-off-by: Inha Song --- sound/soc/samsung/Kconfig | 8 ++ sound/soc/samsung/Makefile| 2 + sound/soc/samsung/trats2_wm1811.c | 218 ++ 3 files

[alsa-devel] [PATCH v2 0/3] Sound support for Exynos4412 Trats2 board

2015-01-19 Thread Inha Song
This patch-set adds basic sound support for the Trats2 boards. It just support primary I2s and external speaker playback. Changes in v2: - Remove unnecessary lines in Trats2 machine driver - move clock enable/disable to .startup / .shutdown - Fix code style issues - Remove mclk DT property

[PATCH 1/1] ARM: dts: dra72-evm: Add qspi device

2015-01-19 Thread Mugunthan V N
These add device tree entry for qspi device on dra72-evm. Signed-off-by: Mugunthan V N --- This patch is tested on linux-next and the boot logs is here [1] [1] - http://pastebin.ubuntu.com/9783555/ --- arch/arm/boot/dts/dra72-evm.dts | 77 + 1 file cha

Re: [PATCH 08/28] PCI: Introduce pci_host_assign_domain_nr() to assign domain

2015-01-19 Thread Arnd Bergmann
On Monday 19 January 2015 10:14:44 Yijing Wang wrote: > >> I'm confused: the same code is already part of the PCI tree, but with > >> Lorenzo Pieralisi listed as the patch author. The code is good, > >> and I acked it in the past, but one of you is (probably by accident) > >> misattributing the pat

Re: [PATCHv10 1/2] pwm: Add Allwinner SoC support

2015-01-19 Thread Olliver Schinagl
Hey Alexandre, I'll pull your v10 and start testing that hopefully this week. I've been using an older version, v8 I think, without any trouble so far. On 19-01-15 10:21, Chen-Yu Tsai wrote: On Thu, Dec 18, 2014 at 5:15 AM, Alexandre Belloni wrote: This adds a generic PWM framework driver f

Re: [PATCH tip 0/9] tracing: attach eBPF programs to tracepoints/syscalls/kprobe

2015-01-19 Thread Masami Hiramatsu
(2015/01/16 13:16), Alexei Starovoitov wrote: > Hi Ingo, Steven, > > This patch set is based on tip/master. > It adds ability to attach eBPF programs to tracepoints, syscalls and kprobes. > > Mechanism of attaching: > - load program via bpf() syscall and receive program_fd > - event_fd = open("/s

Re: [PATCH 1/3] sound: dummy, use setup_timer and mod_timer

2015-01-19 Thread Takashi Iwai
At Mon, 19 Jan 2015 10:42:54 +0100, Jiri Slaby wrote: > > From: Roman Kollar > > Use setup_timer and mod_timer instead of structure assignments as it > is the preferred way to setup and set the timer. > > Signed-off-by: Roman Kollar > Signed-off-by: Jiri Slaby > Cc: Jaroslav Kysela > Cc: Tak

Re: [PATCH 2/3] sound: dummy, use del_timer_sync

2015-01-19 Thread Takashi Iwai
At Mon, 19 Jan 2015 10:42:55 +0100, Jiri Slaby wrote: > > Wait for the timer to really quit, not only by ensuring it is not in > the critical section. > > BTW the spin_lock in here does not disable BH, so that it could > deadlock. The stop function is called from the PCM trigger callback which i

Re: [PATCH v4] virtio-scsi: Fix the race condition in virtscsi_handle_event

2015-01-19 Thread Christoph Hellwig
Michael, are you fine with this version? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 3/3] sound: dummy, avoid races with timer

2015-01-19 Thread Jiri Slaby
On 01/19/2015, 10:49 AM, Takashi Iwai wrote: >> @@ -322,12 +325,14 @@ static snd_pcm_uframes_t >> dummy_systimer_pointer(struct snd_pcm_substream *substream) >> { >> struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; >> +unsigned long flags; >> snd_pcm_uframes_t pos

Re: [PATCH V1] mfd: da9063: Add device tree support

2015-01-19 Thread Lee Jones
On Wed, 14 Jan 2015, Steve Twiss wrote: > From: Steve Twiss > > Add device tree support for DA9063 regulators; Real-Time Clock > and Watchdog. > > > Signed-off-by: Steve Twiss > > --- > Checks performed with linux-next/v3.19-rc4/scripts/checkpatch.pl > da9063.txttotal: 0 err

Re: [PATCH v5 5/5] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-19 Thread Lyra Zhang
On Sat, Jan 17, 2015 at 12:41 AM, Rob Herring wrote: > On Fri, Jan 16, 2015 at 4:00 AM, Chunyan Zhang > wrote: >> Add a full sc9836-uart driver for SC9836 SoC which is based on the >> spreadtrum sharkl64 platform. >> This driver also support earlycon. >> This patch also replaced the spaces betwee

Re: [PATCH] mfd: db8500-prcmu: Remove unused function

2015-01-19 Thread Lee Jones
On Thu, 01 Jan 2015, Rickard Strandqvist wrote: > Remove the function prcmu_get_boot_status() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist > --- > drivers/mfd/db8500-prcmu.c |9 ---

Re: [PATCH RESEND v8 1/2] clk: Make clk API return per-user struct clk instances

2015-01-19 Thread Tomeu Vizoso
On 17 January 2015 at 02:02, Stephen Boyd wrote: > On 01/12, Tomeu Vizoso wrote: >> Moves clock state to struct clk_core, but takes care to change as little API >> as >> possible. >> >> struct clk_hw still has a pointer to a struct clk, which is the >> implementation's per-user clk instance, for

[PATCH v2 2/2] sound: dummy, avoid race with timer

2015-01-19 Thread Jiri Slaby
There is a race between timer and process contexts. Process context does not disable irqs, so when a timer ticks inside process' critical section, the system can deadlock. Fix this by a traditional _irqsave variant of spin_lock. [v2] removed ->pointer change as it is called with BH off Signed-off

Re: [PATCH V1] mfd: da9063: Add device tree support

2015-01-19 Thread Lee Jones
On Wed, 14 Jan 2015, Steve Twiss wrote: > From: Steve Twiss > > Add device tree support for DA9063 regulators; Real-Time Clock > and Watchdog. > > > Signed-off-by: Steve Twiss > > --- > Checks performed with linux-next/v3.19-rc4/scripts/checkpatch.pl > da9063.txttotal: 0 err

[PATCH] clk: Fix debugfs clk removal before inited

2015-01-19 Thread Srinivas Kandagatla
Some of the clks can be registered & unregistered before the clk related debugfs entries are initialized at late_initcall. In the unregister path checking for only dentry before clk_debug_init() would lead dangling pointers in the debug clk list, because the list is already populated in register

Re: [PATCH 2/3] sound: dummy, use del_timer_sync

2015-01-19 Thread Jiri Slaby
On 01/19/2015, 10:52 AM, Takashi Iwai wrote: > At Mon, 19 Jan 2015 10:42:55 +0100, > Jiri Slaby wrote: >> >> Wait for the timer to really quit, not only by ensuring it is not in >> the critical section. >> >> BTW the spin_lock in here does not disable BH, so that it could >> deadlock. > > The stop

Re: [PATCH v2 2/2] sound: dummy, avoid race with timer

2015-01-19 Thread Takashi Iwai
At Mon, 19 Jan 2015 10:56:41 +0100, Jiri Slaby wrote: > > There is a race between timer and process contexts. Process context > does not disable irqs, so when a timer ticks inside process' critical > section, the system can deadlock. Fix this by a traditional _irqsave > variant of spin_lock. > >

Re: [PATCHv8 7/9] ARM: dts: Add PPMU dt node for Exynos5260 SoC

2015-01-19 Thread Chanwoo Choi
Dear all, I'll drop this patch because I can't test it on Exynos5260-based board. Best Regards, Chanwoo Choi On 01/12/2015 09:34 PM, Chanwoo Choi wrote: > This patch adds PPMU (Performance Profiling Monitoring Unit) dt node > Exynos5260 SoC. > > Exynos5260 SoC has following PPMU IPs: > - PPMU_D

[PATCH 2/5] mm, compaction: simplify handling restart position in free pages scanner

2015-01-19 Thread Vlastimil Babka
Handling the position where compaction free scanner should restart (stored in cc->free_pfn) got more complex with commit e14c720efdd7 ("mm, compaction: remember position within pageblock in free pages scanner"). Currently the position is updated in each loop iteration isolate_freepages(), although

Re: [tip:core/types] bitops: Add sign_extend8(), 16 and 64 functions

2015-01-19 Thread Peter Zijlstra
On Mon, Jan 19, 2015 at 07:54:22AM +1200, Linus Torvalds wrote: > Why? > > The 8- and 16- bit versions are the same as the 32-bit one. This seems > pointless. If you want something where the sign is in bit 3, they all > return the same value, just the return type differs, but that's really a > *ca

[RFC PATCH 5/5] mm, compaction: set pivot pfn to the pfn when scanners met last time

2015-01-19 Thread Vlastimil Babka
The previous patch has prepared compaction scanners to start at arbitrary pivot pfn within the zone, but left the pivot at the first pfn of the zone. This patch introduces actual changing of the pivot pfn. Our goal is to remove the bias in compaction under memory pressure, where the migration scan

[PATCH 1/5] mm, compaction: more robust check for scanners meeting

2015-01-19 Thread Vlastimil Babka
Compaction should finish when the migration and free scanner meet, i.e. they reach the same pageblock. Currently however, the test in compact_finished() simply just compares the exact pfns, which may yield a false negative when the free scanner position is in the middle of a pageblock and the migra

[RFC PATCH 0/5] compaction: changing initial position of scanners

2015-01-19 Thread Vlastimil Babka
Even after all the patches compaction received in last several versions, it turns out that its effectivneess degrades considerably as the system ages after reboot. For example, see how success rates of stress-highalloc from mmtests degrades when we re-execute it several times, first time being afte

[PATCH 3/5] mm, compaction: encapsulate resetting cached scanner positions

2015-01-19 Thread Vlastimil Babka
Reseting the cached compaction scanner positions is now done implicitly in __reset_isolation_suitable() and compact_finished(). Encapsulate the functionality in a new function reset_cached_positions() and call it explicitly where needed. Signed-off-by: Vlastimil Babka Cc: Minchan Kim Cc: Mel Gor

  1   2   3   4   5   6   7   8   9   >