Re: Re: [RFC PATCH] kprobes: arm: enable OPTPROBES for arm 32

2014-08-07 Thread Masami Hiramatsu
(2014/08/06 15:24), Wang Nan wrote: >>> + >>> +static void >>> +optimized_callback(struct optimized_kprobe *op, struct pt_regs *regs) >>> +{ >>> + unsigned long flags; >>> + >>> + regs->ARM_pc = (unsigned long)op->kp.addr; >>> + regs->ARM_ORIG_r0 = ~0UL; >>> + >>> + >>> + local_irq_save(fla

Re: [PATCH 1/2] UEFI arm64: add noefi boot param

2014-08-07 Thread Ard Biesheuvel
> On 7 aug. 2014, at 03:28, Dave Young wrote: > >> On 08/06/14 at 02:40pm, Ard Biesheuvel wrote: >>> On 6 August 2014 10:38, Dave Young wrote: >>> >>> Adding a noefi boot param like in X86 to disable efi runtime services >>> support. >>> >>> This will be useful for debugging uefi problems.

Re: [PATCH] drm/panel: simple: Use devm_gpiod_get_optional()

2014-08-07 Thread Alexandre Courbot
Ping, Thierry? On Fri, Jul 25, 2014 at 11:47 PM, Alexandre Courbot wrote: > Use the new devm_gpiod_get_optional() to simplify the probe code. > > Signed-off-by: Alexandre Courbot > --- > drivers/gpu/drm/panel/panel-simple.c | 12 +--- > 1 file changed, 5 insertions(+), 7 deletions(-) >

Re: [BUG] nfs3_list_one_acl oops

2014-08-07 Thread Christoph Hellwig
On Wed, Aug 06, 2014 at 11:34:41PM +0100, Russell King - ARM Linux wrote: > What's happening on this? Did this get fixed for v3.16? Trond has Andrey's patch queued up for 3.17 with a Cc to stable, so it will go into a 3.16 stable kernel as soon as it hits Linus' tree. -- To unsubscribe from this

Re: Dual-channel DSI

2014-08-07 Thread Thierry Reding
On Thu, Aug 07, 2014 at 08:53:47AM +0200, Andrzej Hajda wrote: > Hi Thierry, > > Nice case. > > On 08/05/2014 05:39 PM, Thierry Reding wrote: > > Hi everyone, > > > > I've been working on adding support for a panel that uses what's > > commonly known as dual-channel DSI. Sometimes this is referre

[PATCH] powerpc/perf: Explicitly include util/debug.h

2014-08-07 Thread Sukadev Bhattiprolu
[PATCH] powerpc/perf: Explicitly include util/debug.h Looks like util/debug.h was indirectly included before and is no longer included now. pr_debug is left undefined and the build of perf tool fails on Powerpc. Explicitly include util/debug.h. Signed-off-by: Sukadev Bhattiprolu --- tools/perf

Re: [RFC PATCH] gpiolib: Provide and export gpiod_export_name

2014-08-07 Thread Guenter Roeck
On 08/06/2014 11:25 PM, Alexandre Courbot wrote: Sorry for the delayed reply... On Thu, Jul 24, 2014 at 3:33 PM, Guenter Roeck wrote: As I explained on the other thread, I still encourage you to have these GPIOs under device nodes that give a hint of who is provided the GPIO (effectively expor

Re: [GIT PULL] Global signal cleanup

2014-08-07 Thread Richard Weinberger
Am 07.08.2014 02:28, schrieb Stephen Rothwell: > Hi Richard, > > On Wed, 06 Aug 2014 13:29:10 +0200 Richard Weinberger wrote: >> >> Am 06.08.2014 13:27, schrieb Stephen Rothwell: >>> >>> On Wed, 06 Aug 2014 13:18:54 +0200 Richard Weinberger >>> wrote: the following changes since commi

Re: [PATCH 5/5] Export the temperatures via hwmon

2014-08-07 Thread Guenter Roeck
On 08/06/2014 11:52 PM, Jean Delvare wrote: Hi Guenter, On Wed, 06 Aug 2014 23:20:32 -0700, Guenter Roeck wrote: Patch 4/5 is "Return the fan speed via sysfs: /sys/devices/temperature/fan_level". So you are saying that returning the fan speed with a non-hwmon attribute works, but returning it

linux-next: Tree for Aug 7

2014-08-07 Thread Stephen Rothwell
Hi all, Please do not add code intended for v3.18 until after v3.17-rc1 is released. Changes since 20140806: The modules tree lost one build failure but gained another so I used the version from next-20140725. The mmc-uh tree still had its build failure so I used the version from next-20140725.

[PATCH v2 1/1] Input: atmel_mxt_ts - Get IRQ edge/level flags on DT booting

2014-08-07 Thread Javier Martinez Canillas
The Atmel maXTouch driver assumed that the IRQ type flags will always be passed using platform data but this is not true when booting using Device Trees. In these setups the interrupt type was ignored by the driver when requesting an IRQ. This means that it will fail if a machine specified other t

Re: [PATCH] drm/panel: simple: Use devm_gpiod_get_optional()

2014-08-07 Thread Thierry Reding
On Fri, Jul 25, 2014 at 11:47:25PM +0900, Alexandre Courbot wrote: > Use the new devm_gpiod_get_optional() to simplify the probe code. > > Signed-off-by: Alexandre Courbot > --- > drivers/gpu/drm/panel/panel-simple.c | 12 +--- > 1 file changed, 5 insertions(+), 7 deletions(-) For some

Re: [PATCH 1/2] Input: atmel_mxt_ts - Get IRQ edge/level flags on DT booting

2014-08-07 Thread Javier Martinez Canillas
Hello Dmitry, On 08/07/2014 08:09 AM, Dmitry Torokhov wrote: >> >> > irq_of_parse_and_map() already sets up IRQ trigger type based on DT >> > data, by calling irq_create_of_mapping() which in turn calls >> > irq_set_irq_type(). >> > >> >> Right but somehow when the IRQ is actually requested the

Re: linux-next: Tree for Aug 6 (sun6i-dma.c)

2014-08-07 Thread Philipp Zabel
Am Mittwoch, den 06.08.2014, 10:15 -0700 schrieb Randy Dunlap: > On 08/06/14 09:42, Randy Dunlap wrote: > > On 08/06/14 00:28, Stephen Rothwell wrote: > >> Hi all, > >> > >> Please do not add code intended for v3.18 until after v3.17-rc1 is > >> released. > >> > >> Changes since 20140805: > >> > >

Re: [PATCH v2] Hibernate: check unsafe page should not in e820 reserved region

2014-08-07 Thread Pavel Machek
Hi! > > When the machine doesn't well handle the e820 persistent when hibernate > > resuming, then it may causes page fault when writing image to snapshot > > buffer: > > > > [ 17.929495] BUG: unable to handle kernel paging request at > > 880069d4f000 > > [ 17.933469] IP: [] load_image_l

Re: patch "firmware loader: allow disabling of udev as firmware loader" added to driver-core tree

2014-08-07 Thread Takashi Iwai
At Wed, 6 Aug 2014 13:00:24 -0600, Shuah Khan wrote: > > On Wed, Aug 6, 2014 at 3:44 AM, Jean-Michel Hautbois > wrote: > > 2014-08-06 11:24 GMT+02:00 Takashi Iwai : > >> At Wed, 6 Aug 2014 11:10:27 +0200, > >> Jean-Michel Hautbois wrote: > >>> > >>> 2014-08-05 21:22 GMT+02:00 Shuah Khan : > >>> >

RE: [PATCH v6 1/2] i2c: imx: add DMA support for freescale i2c driver

2014-08-07 Thread Yao Yuan
Hi Fugang, > >> >+ /* Waiting for Transfer complete. */ > >> >+ while (timeout--) { > >> >+ temp = imx_i2c_read_reg(i2c_imx, IMX_I2C_I2SR); > >> >+ if (temp & I2SR_ICF) > >> >+ break; > >> >+ udelay(10); > >> >+ } > >> Whether there have better method like i

[PATCH] Adding a support for Skyworks SKY81452

2014-08-07 Thread Gyungoh Yoo
Signed-off-by: Gyungoh Yoo --- Documentation/backlight/sky81452.txt | 25 ++ Documentation/devicetree/bindings/mfd/sky81452.txt | 24 ++ .../bindings/regulator/sky81452-regulator.txt | 16 + .../devicetree/bindings/vendor-prefixes.txt| 1 + .../video/backlight/sky8

Re: [RFC][PATCH 0/7] nested sleeps, fixes and debug infra

2014-08-07 Thread Peter Zijlstra
On Wed, Aug 06, 2014 at 02:16:03PM -0700, David Miller wrote: > From: Peter Zijlstra > Date: Wed, 6 Aug 2014 10:31:34 +0200 > > > On Wed, Aug 06, 2014 at 11:51:29AM +0400, Ilya Dryomov wrote: > > > >> OK, this one is a bit different. > >> > >> WARNING: CPU: 1 PID: 1744 at kernel/sched/core.c:71

[PATCH] staging: nokia_h4: use more consistent name for intermediate object

2014-08-07 Thread Pavel Machek
Signed-off-by: Pavel Machek diff --git a/drivers/staging/nokia_h4p/Makefile b/drivers/staging/nokia_h4p/Makefile index 9625db4..daffe3c 100644 --- a/drivers/staging/nokia_h4p/Makefile +++ b/drivers/staging/nokia_h4p/Makefile @@ -1,6 +1,6 @@ -obj-$(CONFIG_BT_NOKIA_H4P) += btnokia_h

Re: WARN_ON_ONCE(in_nmi()) hit in irq_work_queue_on

2014-08-07 Thread Peter Zijlstra
On Thu, Aug 07, 2014 at 01:44:58AM +0200, Frederic Weisbecker wrote: > In fact the problem has arised since the recent irq work patches I did. No, those just added the WARN, previously we send the resched IPI, and that's equally wrong from NMI context. > There I've changed tick_nohz_full_kick() t

[PATCH] can: dev: remove unused variable from can_calc_bittiming() function

2014-08-07 Thread Lad, Prabhakar
this patch removes best_rate variable from can_calc_bittiming() function which was set but was never used. Signed-off-by: Lad, Prabhakar --- drivers/net/can/dev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c index e318e87..56

Re: [PATCH v2 5/8] mm/isolation: change pageblock isolation logic to fix freepage counting bugs

2014-08-07 Thread Joonsoo Kim
On Wed, Aug 06, 2014 at 05:12:20PM +0200, Vlastimil Babka wrote: > On 08/06/2014 09:18 AM, Joonsoo Kim wrote: > >Overall design of changed pageblock isolation logic is as following. > > I'll reply here since the overall design part is described in this > patch (would be worth to have it in cover l

Re: [PATCH v2 0/8] fix freepage count problems in memory isolation

2014-08-07 Thread Joonsoo Kim
On Thu, Aug 07, 2014 at 08:49:00AM +0800, Zhang Yanfei wrote: > Hi Joonsoo, > > The first 3 patches in this patchset are in a bit of mess. Sorry about that. I will do better in next spin. ): Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

Re: [PATCH/RFC v4 00/21] LED / flash API integration

2014-08-07 Thread Jacek Anaszewski
Hi Sakari, On 08/06/2014 08:53 AM, Sakari Ailus wrote: Hi Jacek, On Fri, Jul 11, 2014 at 04:04:03PM +0200, Jacek Anaszewski wrote: ... 1) Who should register V4L2 Flash sub-device? LED Flash Class devices, after introduction of the Flash Manager, are not tightly coupled with any media control

Re: [PATCH v2 3/8] mm/page_alloc: fix pcp high, batch management

2014-08-07 Thread Joonsoo Kim
On Thu, Aug 07, 2014 at 10:11:14AM +0800, Zhang Yanfei wrote: > Hi Joonsoo, > > On 08/06/2014 03:18 PM, Joonsoo Kim wrote: > > per cpu pages structure, aka pcp, has high and batch values to control > > how many pages we perform caching. This values could be updated > > asynchronously and updater s

Re: [PATCH v3 0/4] Add eMMC and SD card support for rk3288-evb

2014-08-07 Thread Jaehoon Chung
Hi, Doug. Acked-by: Jaehoon Chung On 08/07/2014 02:09 AM, Doug Anderson wrote: > This series adds basic eMMC and SD card support for the rk3288-evb > board based on Addy's posted dw_mmc patch from: > https://patchwork.kernel.org/patch/4653631/ > > The series is a little tricky because: > * Ja

Question on release_one_tty

2014-08-07 Thread Cyrill Gorcunov
Hi guys, could you please explain me the sequence static void release_one_tty(struct work_struct *work) { struct tty_struct *tty = container_of(work, struct tty_struct, hangup_work); struct tty_driver *driver = tty->driver; if (tty->ops->cleanup)

Re: Question on release_one_tty

2014-08-07 Thread Pavel Emelyanov
On 08/07/2014 12:25 PM, Cyrill Gorcunov wrote: > Hi guys, could you please explain me the sequence > > static void release_one_tty(struct work_struct *work) > { > struct tty_struct *tty = > container_of(work, struct tty_struct, hangup_work); > struct tty_driver *driver =

Re: [PATCH/RFC v4 00/21] LED / flash API integration

2014-08-07 Thread Jacek Anaszewski
On 08/07/2014 10:21 AM, Jacek Anaszewski wrote: Hi Sakari, On 08/06/2014 08:53 AM, Sakari Ailus wrote: Hi Jacek, On Fri, Jul 11, 2014 at 04:04:03PM +0200, Jacek Anaszewski wrote: ... 1) Who should register V4L2 Flash sub-device? LED Flash Class devices, after introduction of the Flash Manage

Re: Question on release_one_tty

2014-08-07 Thread Cyrill Gorcunov
On Thu, Aug 07, 2014 at 12:28:58PM +0400, Pavel Emelyanov wrote: > On 08/07/2014 12:25 PM, Cyrill Gorcunov wrote: > > Hi guys, could you please explain me the sequence > > > > static void release_one_tty(struct work_struct *work) > > { > > struct tty_struct *tty = > > container_of(

[PATCH 1/9] drm: Add drm driver for Rockchip Socs

2014-08-07 Thread mark yao
This patch is a DRM Driver for Rockchip Socs, driver provides an abstraction for the graphics hardware, such as lcd controller and connector interface. Signed-off-by: mark yao --- changes since v1: Adviced by Daniel Vetter: - Switch to universal plane API's --- drivers/gpu/drm/Kconfig

Re: [PATCH 5/5] Export the temperatures via hwmon

2014-08-07 Thread Jean Delvare
Le Thursday 07 August 2014 à 00:36 -0700, Guenter Roeck a écrit : > On 08/06/2014 11:52 PM, Jean Delvare wrote: > > Hi Guenter, > > > > On Wed, 06 Aug 2014 23:20:32 -0700, Guenter Roeck wrote: > >> Patch 4/5 is "Return the fan speed via sysfs: > >> /sys/devices/temperature/fan_level". > >> > >> So

Re: [PATCH 2/5] Remove attach_method because un-used

2014-08-07 Thread Jean Delvare
Le Wednesday 06 August 2014 à 21:05 +, Goffredo Baroncelli a écrit : > Remove attach_method because i2c-powermac is > in charge to instantiate the driver directly. > > Signed-off-by: Goffredo Baroncelli > --- > drivers/macintosh/therm_windtunnel.c | 35 --- >

Re: Dual-channel DSI

2014-08-07 Thread Andrzej Hajda
On 08/07/2014 09:25 AM, Thierry Reding wrote: > On Thu, Aug 07, 2014 at 08:53:47AM +0200, Andrzej Hajda wrote: >> Hi Thierry, >> >> Nice case. >> >> On 08/05/2014 05:39 PM, Thierry Reding wrote: >>> Hi everyone, >>> >>> I've been working on adding support for a panel that uses what's >>> commonly k

Re: mm: BUG in unmap_page_range

2014-08-07 Thread Aneesh Kumar K.V
Mel Gorman writes: > On Wed, Aug 06, 2014 at 12:44:45PM +0530, Aneesh Kumar K.V wrote: >> > -#define pmd_mknonnuma pmd_mknonnuma >> > -static inline pmd_t pmd_mknonnuma(pmd_t pmd) >> > +/* >> > + * Generic NUMA pte helpers expect pteval_t and pmdval_t types to exist >> > + * which was inherited f

Re: [PATCH] mmc: dw_mmc: change to use recommended reset procedure

2014-08-07 Thread Jaehoon Chung
Hi, I remembered that this patch was pushed at Ulf's tree. Since dw_mci_idmac_reset() is located into #if CONFIG_MMC_DW_IDMAC, it occurred the compiler error. And it seems that didn't need to use "IS_ENABLED()" at there. Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 08/05/2014 10:19

Re: [RFC][PATCH 0/5 v2] x86/nmi: Print all cpu stacks from NMI safely

2014-08-07 Thread Jiri Kosina
On Thu, 26 Jun 2014, Steven Rostedt wrote: > This is version 2: > > This is my proposal to print the NMI stack traces from an RCU stall safely. > Here's the gist of it. Steven, what's your plan with this patchset please? It has been tested by Petr here on the systems under the loads that are

Re: [PATCH v2] spi/pxa2xx-pci: Add common clock framework support in PCI glue layer

2014-08-07 Thread Mika Westerberg
On Mon, Aug 04, 2014 at 08:55:50AM -0700, Darren Hart wrote: > On 7/29/14, 15:06, "Andrea Adami" wrote: > > >On Tue, Jul 29, 2014 at 8:55 PM, Mark Brown wrote: > >> On Tue, Jul 29, 2014 at 06:13:06PM +0200, Andrea Adami wrote: > >> > >>> note that a previous version of the patch breaks spi on px

Re: [PATCH] powerpc/perf: Implement get_cpu_str()

2014-08-07 Thread Tobias Klauser
On 2014-08-06 at 02:17:55 +0200, Sukadev Bhattiprolu wrote: > powerpc/perf: Implement get_cpu_str() > > With a file like ~/.cache/pmu-events/004d0100-core.json describing > Power8 PMU events, we would need to run: > > perf stat \ > --events-file ~/.cache/pmu-events/004d0100-

Re: [PATCH 1/3] mtd: nand: omap: Revert to using software ECC by default

2014-08-07 Thread Roger Quadros
On 08/07/2014 01:55 AM, Grazvydas Ignotas wrote: > On Wed, Aug 6, 2014 at 11:02 AM, Roger Quadros wrote: >> Hi Gražvydas, >> >> On 08/05/2014 07:15 PM, Grazvydas Ignotas wrote: >>> On Tue, Aug 5, 2014 at 1:11 PM, Roger Quadros wrote: For v3.12 and prior, 1-bit Hamming code ECC via software w

Re: [PATCH v3 tip/core/rcu 3/9] rcu: Add synchronous grace-period waiting for RCU-tasks

2014-08-07 Thread Peter Zijlstra
On Wed, Aug 06, 2014 at 03:45:18PM -0700, Paul E. McKenney wrote: > > > > But I still very much hate the polling stuff... > > The nice thing about the polling approach is minimal overhead in the > common case where RCU-tasks is not in use. No, quite the reverse, there is overhead when its not in

[PATCH] Staging: wlan-ng: fix sparse warning in prism2fw.c

2014-08-07 Thread A Raghavendra Rao
Fix the following sparse warning : In file included from drivers/staging/wlan-ng/prism2usb.c:5:0: drivers/staging/wlan-ng/prism2fw.c: In function ‘read_cardpda.constprop.43’: drivers/staging/wlan-ng/prism2fw.c:792:1: warning: the frame size of 1068 bytes is larger than 1024 bytes [-Wframe-larger-t

Re: [PATCH] mmc: dw_mmc: add support for RK3288

2014-08-07 Thread Jaehoon Chung
Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 07/31/2014 03:01 PM, Addy Ke wrote: > This patch focuses on clock setting for RK3288 mmc controller. > > In RK3288 mmc controller, CLKDIV register can only be set 0 or 1, > and if DDR 8bit mode, CLKDIV register must be set 1. > > Reported-

TCP ISN from userlevel

2014-08-07 Thread Aleksey Midenkov
Expansion of Linux Kernel API for getting from userlevel TCP ISN by socket descriptor. Would such improvement deserve merge? The use case is to differ hosts behind NAT. The general plan of changes: 1. copy ISN into the tcp_sock structure when the TCP session is created; 2. add ioctl for getting IS

Re: [PATCH v3 tip/core/rcu 1/9] rcu: Add call_rcu_tasks()

2014-08-07 Thread Peter Zijlstra
On Tue, Aug 05, 2014 at 02:55:10PM -0700, Paul E. McKenney wrote: > +/* Check for nohz_full CPUs executing in userspace. */ > +static void check_no_hz_full_tasks(void) > +{ > +#ifdef CONFIG_NO_HZ_FULL > + int cpu; > + struct task_struct *t; > + > + for_each_online_cpu(cpu) { > +

Re: [PATCH V3] Thermal: imx: add i.mx6sx thermal support

2014-08-07 Thread Shawn Guo
On Wed, Aug 06, 2014 at 03:12:09PM +0800, Anson Huang wrote: > i.MX6SX has some new features of thermal interrupt function, > there are LOW, HIGH and PANIC irq for thermal sensor, so add > platform data to separate different thermal version; > > The reset value of LOW ALARM is 0 which means the hi

Re: [PATCH v2] Hibernate: check unsafe page should not in e820 reserved region

2014-08-07 Thread joeyli
On Thu, Aug 07, 2014 at 10:00:25AM +0200, Pavel Machek wrote: > Hi! > > > > When the machine doesn't well handle the e820 persistent when hibernate > > > resuming, then it may causes page fault when writing image to snapshot > > > buffer: > > > > > > [ 17.929495] BUG: unable to handle kernel pa

Re: [PATCH 3/5] Add the "verbose" module option.

2014-08-07 Thread Jean Delvare
Le Wednesday 06 August 2014 à 21:05 +, Goffredo Baroncelli a écrit : > Add a "verbose" option to control the message in the kernel log > verbose = 0 no message > verbose = 1 log only the fan speed changes > verbose = 2 log the fan speed changes and the temperature changes > > Signed-off-

Re: [PATCH v2 5/8] mm/isolation: change pageblock isolation logic to fix freepage counting bugs

2014-08-07 Thread Vlastimil Babka
On 08/07/2014 10:19 AM, Joonsoo Kim wrote: Is it needed to disable the pcp list? Shouldn't drain be enough? After the drain you already are sure that future freeing will see MIGRATE_ISOLATE and skip pcp list anyway, so why disable it completely? Yes, it is needed. Until we move freepages from n

Re: Dual-channel DSI

2014-08-07 Thread Thierry Reding
On Thu, Aug 07, 2014 at 10:39:36AM +0200, Andrzej Hajda wrote: > On 08/07/2014 09:25 AM, Thierry Reding wrote: > > On Thu, Aug 07, 2014 at 08:53:47AM +0200, Andrzej Hajda wrote: > >> Hi Thierry, > >> > >> Nice case. > >> > >> On 08/05/2014 05:39 PM, Thierry Reding wrote: > >>> Hi everyone, > >>> >

Re: [PATCH v4 1/5] cpufreq: Don't wait for CPU to going offline to restart governor

2014-08-07 Thread Viresh Kumar
Sorry for the really long delay this time around. I am used to replying within a day normally, and this time it just took so much time. For next time please rebase on latest updates in pm/linux-next as there are few updates there. On 25 July 2014 06:37, Saravana Kannan wrote: > There's no need t

Re: [PATCH] X86/CPU: Avoid 100ms sleep for cpu offline during S3

2014-08-07 Thread Lan Tianyu
On 2014年08月07日 00:06, Borislav Petkov wrote: > Hi, > > On Wed, Aug 06, 2014 at 01:13:21PM +, Lan, Tianyu wrote: >> Have you tried my attached kernel config file? When someone reported >> the issue to me, I also was very hard to reproduce the issue by my >> own config file. Maybe once 100 tries

Re: [PATCH v4 2/5] cpufreq: Keep track of which CPU owns the kobj/sysfs nodes separately

2014-08-07 Thread Viresh Kumar
On 25 July 2014 06:37, Saravana Kannan wrote: > The ownership of the kobj doesn't need to match policy->cpu or change as > frequently. So, keep track of it separately. > > Signed-off-by: Saravana Kannan > --- > drivers/cpufreq/cpufreq.c | 4 +++- > include/linux/cpufreq.h | 1 + > 2 files chan

Re: [PATCH RFC] sched: deferred set priority (dprio)

2014-08-07 Thread Mike Galbraith
On Wed, 2014-08-06 at 18:26 -0700, Sergey Oboguev wrote: > On Tue, Aug 5, 2014 at 10:41 PM, Mike Galbraith > wrote: (ok, seems you're not addressing the reasonable, rather me;) > The only reason why anyone would want to use DPRIO instead of regular nice in > this case is because it might be unk

nohz fail (was: perf related boot hang.)

2014-08-07 Thread Peter Zijlstra
On Wed, Aug 06, 2014 at 03:46:56PM -0400, Dave Jones wrote: > This one happened during runtime, but I got a whole stack.. > > > Kernel panic - not syncing: Watchdog detected hard LOCKUP on cpu 2 > CPU: 2 PID: 7538 Comm: kworker/u8:8 Not tainted 3.16.0+ #34 > Workqueue: btrfs-endio-write normal

Re: [Xen-devel] [PATCH v5] Fixes to Xen pciback for 3.17.

2014-08-07 Thread David Vrabel
On 06/08/14 20:39, Konrad Rzeszutek Wilk wrote: > > From 00a5b6e3c9ee2c2d605879bdaebc627fa640b024 Mon Sep 17 00:00:00 2001 > From: Konrad Rzeszutek Wilk > Date: Wed, 6 Aug 2014 16:21:32 -0400 > Subject: [PATCH] xen/pciback: Restore configuration space when detaching from > a guest. > > The comm

Re: Question on release_one_tty

2014-08-07 Thread Pavel Emelyanov
On 08/07/2014 12:34 PM, Cyrill Gorcunov wrote: > On Thu, Aug 07, 2014 at 12:28:58PM +0400, Pavel Emelyanov wrote: >> On 08/07/2014 12:25 PM, Cyrill Gorcunov wrote: >>> Hi guys, could you please explain me the sequence >>> >>> static void release_one_tty(struct work_struct *work) >>> { >>> struc

[PATCH] staging: nokia_h4: merge firmware together so that we can reduce ammount of exports

2014-08-07 Thread Pavel Machek
Merge firmware files to nokia_core, so that we can reduce ammount of exported functions. Also replace hand-coded check for invalid bluetooth address with bacmp. Signed-off-by: Pavel Machek diff --git a/drivers/staging/nokia_h4p/Makefile b/drivers/staging/nokia_h4p/Makefile index 310b0f2..3398a

Re: [PATCH 3/4] brd: Fix all partitions BUGs

2014-08-07 Thread Boaz Harrosh
On 08/07/2014 02:06 AM, Ross Zwisler wrote: > On Wed, 2014-08-06 at 14:33 +0300, Boaz Harrosh wrote: > > With this patch we end up in what feels like a weird place where we're half > using the old scheme of major/minor allocation, and half in the world of > dynamic major/minors. Devices have a ma

Re: [PATCH v3 1/2] staging: iio: accel: Add blank lines between declarations and code

2014-08-07 Thread Jonathan Cameron
On 07/08/14 01:22, Murilo Opsfelder Araujo wrote: > This patch adds missing blank lines between declarations and code and > fixes lines starting by spaces, satisfying checkpatch.pl. > > Signed-off-by: Murilo Opsfelder Araujo Applied to the togreg branch of iio.git. Initially pushed out as testin

Re: [PATCH v3 2/2] staging: iio: accel: sca3000_core.c: Adjust code to fit 80-chars limit

2014-08-07 Thread Jonathan Cameron
On 07/08/14 01:22, Murilo Opsfelder Araujo wrote: > Signed-off-by: Murilo Opsfelder Araujo Applied to the togreg branch of iio.git. Thanks, Jonathan > --- > drivers/staging/iio/accel/sca3000_core.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/staging/iio/a

Weird NET_RX softirq behavior

2014-08-07 Thread Jisheng Zhang
Hi list, I observed one weird NET_RX softirq behavior: 1. CONFIG_RPS=y in kernel config file. 2. only one netdev in the system: eth0. eth0 only has one interrupt which is all handled by CPU0. eth0 doesn't support RFS_ACCEL "cat /proc/interrupts" shows ~ # cat /proc/interrupts CPU

Re: [PATCH 3/4] iio: fix error return code

2014-08-07 Thread Jonathan Cameron
On 06/08/14 21:12, Julia Lawall wrote: > From: Julia Lawall > > Convert a zero return value on error to a negative one, as returned > elsewhere in the function. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > ( > if@

Re: [PATCH v2 4/5] ARM64: add IPI tracepoints

2014-08-07 Thread Will Deacon
On Wed, Aug 06, 2014 at 08:52:37PM +0100, Steven Rostedt wrote: > Will and Russell, > > Can you give me your Acked-by for this, and I can pull it through my > tree? Looks fine to me: Acked-by: Will Deacon I'm assuming there's a dependency on other patches going via the tracing tree, hence wh

Re: Question on release_one_tty

2014-08-07 Thread Cyrill Gorcunov
On Thu, Aug 07, 2014 at 01:05:28PM +0400, Pavel Emelyanov wrote: > > > > So how this code supposed to work then? I mean tty_driver_kref_put must > > never call > > for destruct_tty_driver, otherwise we're accessing freed memory. > > mod = driver->owner; > tty_driver_kref_put(driver); > module_pu

Re: [PATCH 2/4] brd: Add getgeo to block ops

2014-08-07 Thread Boaz Harrosh
On 08/06/2014 08:52 PM, Ross Zwisler wrote: > On Wed, 6 Aug 2014, Boaz Harrosh wrote: >> From: Ross Zwisler >> >> Some programs require HDIO_GETGEO work, which requires we implement >> getgeo. Based off of the work done to the NVMe driver in this commit: >> <> >> +static int brd_getgeo(struct blo

RE: [PATCH 4/4] hwmon: (imanager2) Add support for IT8516/18/28

2014-08-07 Thread Wei-Chun Pan
Sorry, I sent wrong patch just now. Please ignore the mail "[PATCH 1/3] imanager2: rename io functions and remove no used functions". This mail include 2 patches: The first patch is shown I rename some functions. The second patch is shown I moditfy code according to your comment. Signed-off-by:

Re: [RFC] pwm-backlight: Allow backlight to remain disabled on boot

2014-08-07 Thread Jingoo Han
On Thursday, July 31, 2014 8:55 PM, Thierry Reding wrote: > On Thu, Jul 31, 2014 at 01:42:50PM +0200, Thierry Reding wrote: > [...] > > @@ -317,6 +319,12 @@ static int pwm_backlight_probe(struct platform_device > > *pdev) > > } > > > > bl->props.brightness = data->dft_brightness; > > + > >

[PATCH V2 0/2] refine esai for tdm support

2014-08-07 Thread Shengjiu Wang
These patchs is to refine esai for tdm support. Changes for V2 - update the comments according the reviewer's suggestion - add init value for slots and change pin to pins. Shengjiu Wang (2): ASoC: fsl_esai: refine esai for TDM support Revert "ASoC: fsl-esai: Add .xlate_tdm_slot_mask() support

[PATCH V2 2/2] Revert "ASoC: fsl-esai: Add .xlate_tdm_slot_mask() support."

2014-08-07 Thread Shengjiu Wang
This reverts commit a603c8ee526f5ea9ad9b40710308766299ad8a69. fsl_asoc_xlate_tdm_slot_mask() will invert the mask, which isn't fit for esai. The default function snd_soc_xlate_tdm_slot_mask() is ok for esai. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/Kconfig|1 - sound/soc/fsl/fsl_e

Re: [PATCH] ACPI/OSL: Remove RCU in the osl.c to avoid dead lock with cpu hot plug

2014-08-07 Thread Lan Tianyu
On 2014年08月07日 03:09, Rafael J. Wysocki wrote: > On Wednesday, August 06, 2014 10:22:45 AM Lan Tianyu wrote: >> On 2014年08月06日 09:24, Rafael J. Wysocki wrote: >>> On Monday, August 04, 2014 04:40:08 PM Lan Tianyu wrote: > > [cut] > @@ -298,29 +298,29 @@ void __iomem *acpi_os_get_iomem(

[PATCH V2 1/2] ASoC: fsl_esai: refine esai for TDM support

2014-08-07 Thread Shengjiu Wang
Original driver didn't store the number of slots, just fix the slot number to 2, use this default number to calculate bclk and pins for TX/RX. In this patch, add one parameter for slots, and update the calculation of bclk and pins of TX/RX. Then driver will be compatible with slots > 2 in TDM mode.

Re: 3.16 crashes on resume from Suspend-To-disk

2014-08-07 Thread Takashi Iwai
At Wed, 06 Aug 2014 01:15 +0200, Rafael J. Wysocki wrote: > > On Tuesday, August 05, 2014 07:07:09 PM Janek Kozicki wrote: > > Rafael J. Wysocki said: (by the date of Tue, 05 Aug 2014 03:30:58 +0200) > > > > > On Monday, August 04, 2014 09:06:52 AM Markus Gutschke wrote: > > > > Thanks for ch

[PATCH] tty: Fix potential use after free in release_one_tty

2014-08-07 Thread Cyrill Gorcunov
On Thu, Aug 07, 2014 at 01:18:12PM +0400, Cyrill Gorcunov wrote: > > mod = driver->owner; > > tty_driver_kref_put(driver); > > module_put(mod); > > > > Check the upstream whether the same issue exists there. > > Same in tty.git > > static void release_one_tty(struct work_struct *work) > { --- Fr

[PATCH v4 0/4] Patches to add support for Rockchip dwc2 controller

2014-08-07 Thread Kever Yang
These patches to add support for dwc2 controller found in Rockchip processors rk3066, rk3188 and rk3288, and enable dts for rk3288 evb. Changes in v4: - max_transfer_size change to 65536, this should be enough for most transfer, the hardware auto-detect will set this to 0x7 which may make

[PATCH v4 2/4] usb: dwc2: add compatible data for rockchip soc

2014-08-07 Thread Kever Yang
This patch add compatible data for dwc2 controller found on rk3066, rk3188 and rk3288 processors from rockchip. Signed-off-by: Kever Yang Acked-by: Paul Zimmerman --- Changes in v4: - max_transfer_size change to 65536, this should be enough for most transfer, the hardware auto-detect will set

[PATCH v4 3/4] ARM: dts: add rk3288 dwc2 controller support

2014-08-07 Thread Kever Yang
rk3288 has two kind of usb controller, this add the dwc2 controller for otg and host1. Controller can works with usb PHY default setting and Vbus on. Signed-off-by: Kever Yang --- Changes in v4: None Changes in v3: - EHCI and HSIC move new for version 3. Changes in v2: None arch/arm/boot/dt

[PATCH v4 4/4] ARM: dts: Enable USB otg and host1(dwc) on rk3288-evb

2014-08-07 Thread Kever Yang
USB otg port is the usb3.0 b-port on the board. USB host1 port is the host A port nearby the otg port. Signed-off-by: Kever Yang --- Changes in v4: None Changes in v3: - Rebase Changes in v2: - evb patch added in version 2 arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++ 1 file changed, 6 inser

[PATCH v4 1/4] Documentation: dt-bindings: add dt binding info for Rockchip dwc2

2014-08-07 Thread Kever Yang
This add necessary dwc2 binding documentation for Rockchip socs: rk3066, rk3188 and rk3288 Signed-off-by: Kever Yang Acked-by: Stephen Warren --- Changes in v4: None Changes in v3: None Changes in v2: - Split out dr_mode and rk3288 bindings. - add compatible "snps,dwc2" bingding info Document

Re: [PATCH] staging: nokia_h4: merge firmware together so that we can reduce ammount of exports

2014-08-07 Thread Pavel Machek
On Thu 2014-08-07 11:07:34, Pavel Machek wrote: > > Merge firmware files to nokia_core, so that we can reduce ammount of > exported functions. Also replace hand-coded check for invalid > bluetooth address with bacmp. > > Signed-off-by: Pavel Machek Actually, it might be better if you forgot abo

[PATCH 1/3] imanager2: rename io functions and remove no used functions

2014-08-07 Thread Wei-Chun Pan
Signed-off-by: Wei-Chun Pan --- drivers/hwmon/imanager2_hwm.c| 27 +-- drivers/mfd/imanager2_core.c | 64 +++--- drivers/mfd/imanager2_ec.c | 99 include/linux/mfd/imanager2_ec.h | 24 -- 4 files changed, 6

Re: [PATCH] ASoC: fsl_sai: Initialize with software reset

2014-08-07 Thread Mark Brown
On Tue, Aug 05, 2014 at 05:20:21PM +0800, Nicolin Chen wrote: > This patch adds software reset code in dai_probe() so as to make a true init > by clearing SAI's internal logic, including the bit clock generation, status > flags, and FIFO pointers. Applied, thanks. signature.asc Description: Digi

Re: [PATCH v2] Hibernate: check unsafe page should not in e820 reserved region

2014-08-07 Thread Pavel Machek
> > Actually, if you are doing such a check... it makes sense to check for > > _all_ the regions, nosave or not. If e820 map changed at all, it is > > not safe to resume. > > Pavel > > Currently nosave region only called register

Re: [PATCH] ASoC: fsl_sai: Add asynchronous mode support

2014-08-07 Thread Mark Brown
On Tue, Aug 05, 2014 at 03:32:05PM +0800, Nicolin Chen wrote: > From: Nicolin Chen > > SAI supports these operation modes: > 1) asynchronous mode >Both Tx and Rx are set to be asynchronous. > 2) synchronous mode (Rx sync with Tx) >Tx is set to be asynchronous, Rx is set to be synchronous.

RE: [PATCH 3/4] mfd: imanager2: Add Core supports for IT8516/18/28

2014-08-07 Thread Wei-Chun Pan
I have a question for your comment. As your mail, > > + > > +static void __exit imanager2_mfd_device_exit(void) { > > + mfd_remove_devices(&ec_pdev->dev); > > + platform_device_unregister(ec_pdev); > > +} > > + > > +module_init(imanager2_mfd_device_init); > > +module_exit(imanager2_mfd_device_

[GIT PULL] MFD for v3.17 merge-window

2014-08-07 Thread Lee Jones
Hi Linus, The following changes since commit cd3de83f147601356395b57a8673e9c5ff1e59d1: Linux 3.16-rc4 (2014-07-06 12:37:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-for-linus-3.17 for you to fetch changes up to 7caa79

Re: [PATCH 4/5] x86: entry_64.S: always allocate complete "struct pt_regs"

2014-08-07 Thread Denys Vlasenko
On Tue, Aug 5, 2014 at 4:53 PM, Andy Lutomirski wrote: > On Aug 5, 2014 7:36 PM, "Denys Vlasenko" wrote: >> Then old_rsp can be nuked everywhere else, >> RESTORE_TOP_OF_STACK can be nuked, and >> FIXUP_TOP_OF_STACK can be reduced to merely: >> >> movq $__USER_DS,SS(%rsp) >> movq $

Re: [RFC] pwm-backlight: Allow backlight to remain disabled on boot

2014-08-07 Thread Ajay kumar
Hi Thierry, Thanks for adding me. On Thu, Jul 31, 2014 at 5:26 PM, Thierry Reding wrote: > Cc'ing Ajay (who raised this on a different thread recently), therefore > quoting all of the original email. > > Thierry > > On Thu, Jul 31, 2014 at 01:42:50PM +0200, Thierry Reding wrote: >> From: Thierry

Re: [PATCH] spi: Initialize variable to prevent uninitialized warning

2014-08-07 Thread Mark Brown
On Wed, Aug 06, 2014 at 10:22:19PM -0700, Guenter Roeck wrote: > So if we ever hit that uninitialized case, where bits_per_word is > neither 8 nor 16, we'll have ops set to NULL and end up wondering > why the kernel crashes a bit further down in the code. Not really > sure if that is an improvemen

Re: [PATCH] gpio: add missing includes in machine.h

2014-08-07 Thread Linus Walleij
On Mon, Aug 4, 2014 at 6:05 AM, Alexandre Courbot wrote: > linux/types.h and linux/list.h should be included so the typed used in > the header file are always properly declared. > > Reported-by: Stephen Rothwell > Reported-by: Thierry Reding > Signed-off-by: Alexandre Courbot Patch applied, p

Re: [PATCH] ASoC: fsl_sai: Add asynchronous mode support

2014-08-07 Thread Nicolin Chen
On Thu, Aug 07, 2014 at 10:45:27AM +0100, Mark Brown wrote: > On Tue, Aug 05, 2014 at 03:32:05PM +0800, Nicolin Chen wrote: > > From: Nicolin Chen > > > > SAI supports these operation modes: > > 1) asynchronous mode > >Both Tx and Rx are set to be asynchronous. > > 2) synchronous mode (Rx syn

Re: [PATCH] staging: comedi: fixing coding style problems

2014-08-07 Thread Ian Abbott
On 2014/08/06 06:55 PM, Niklas Svensson wrote: > This patch fixes warnings of checkpatch.pl script: > > CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around devpriv->timer > +init_timer(&(devpriv->timer)); > > CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis >

Re: [PATCH] MAINTAINERS: update GPIO include files

2014-08-07 Thread Linus Walleij
On Mon, Aug 4, 2014 at 6:06 AM, Alexandre Courbot wrote: > Files under include/linux/gpio/ were not reported as part of the GPIO > subsystem. Fix this. > > Signed-off-by: Alexandre Courbot Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-ke

Re: [PATCH v7 2/2] locking/selftest: Support queued rwlock

2014-08-07 Thread Peter Zijlstra
On Wed, Aug 06, 2014 at 01:22:02PM -0400, Waiman Long wrote: > The queued rwlock does not support the use of recursive read-lock in > the process context. With changes in the lockdep code to check and > disallow recursive read-lock, it is also necessary for the locking > selftest to be updated to c

Re: [PATCH 3/4] mfd: imanager2: Add Core supports for IT8516/18/28

2014-08-07 Thread Lee Jones
You've replied to this email as an independent message, so now there is little context. When you reply, please ensure your mailer replies to the thread. On Thu, 07 Aug 2014, Wei-Chun Pan wrote: > I have a question for your comment. As your mail, > > > > + > > > +static void __exit imanager2_mfd_

RE: [PATCH v6 1/2] i2c: imx: add DMA support for freescale i2c driver

2014-08-07 Thread fugang.d...@freescale.com
From: Yuan Yao-B46683 Data: Thursday, August 07, 2014 4:05 PM >To: Duan Fugang-B38611; w...@the-dreams.de; ma...@denx.de >Cc: l...@karo-electronics.de; mark.rutl...@arm.com; shawn@linaro.org; >linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- >i...@vger.kernel.org; Li F

RE: [RFC]Pid conversion between pid namespace

2014-08-07 Thread chenhanx...@cn.fujitsu.com
Hi, > -Original Message- > From: Serge Hallyn [mailto:serge.hal...@ubuntu.com] > Sent: Tuesday, August 05, 2014 6:21 AM > > Quoting chenhanx...@cn.fujitsu.com (chenhanx...@cn.fujitsu.com): > > Hi, > > > > We discussed two ways of pid conversion: > > syscall and procfs. > > > > Both of the

Re: [PATCH V1] regulator: DA9211 : support DA9213

2014-08-07 Thread Mark Brown
On Tue, Aug 05, 2014 at 09:56:45AM +0900, James Ban wrote: This is mostly good, just one fairly small thing: > +static const int da9211_current_limits[2][16] = { > + /* DA9211 current limits */ > + {200, 220, 240, 260, 280, 300, 320, 340, > + 360, 3

Re: [PATCH] ASoC: fsl_sai: Add asynchronous mode support

2014-08-07 Thread Mark Brown
On Thu, Aug 07, 2014 at 05:44:05PM +0800, Nicolin Chen wrote: > On Thu, Aug 07, 2014 at 10:45:27AM +0100, Mark Brown wrote: > > Might be worth printing an error here. > Hmm...Do I need to send a v2? Send an incremental patch. signature.asc Description: Digital signature

  1   2   3   4   5   6   7   >