Re: [PATCH 3/4] OOM, PM: OOM killed task shouldn't escape PM suspend

2014-10-21 Thread Rafael J. Wysocki
On Tuesday, October 21, 2014 03:14:45 PM Michal Hocko wrote: > On Tue 21-10-14 14:09:27, Rafael J. Wysocki wrote: > [...] > > > @@ -131,12 +132,40 @@ int freeze_processes(void) > > > > > > printk("Freezing user space processes ... "); > > > pm_freezing = true; > > > + oom_kills_saved =

[PATCH v3 1/4] regulator: max77686: Replace hard-coded opmode values with defines

2014-10-21 Thread Krzysztof Kozlowski
Add defines for regulator operating modes which should be more readable, especially if one does not have Maxim 77686 datasheet. The patch does not introduce any functional change. Signed-off-by: Krzysztof Kozlowski Suggested-by: Javier Martinez Canillas --- drivers/regulator/max77686.c | 34

[PATCH v3 4/4] ARM: dts: exynos4412-trats: Add suspend configuration for max77686 regulators

2014-10-21 Thread Krzysztof Kozlowski
Add suspend to RAM configuration for max77686 regulators. Some LDOs and bucks are disabled. This reduces energy consumption during S2R, approximately from 17 mA to 9 mA. Additionally remove old and not supported bindings: - regulator-mem-off - regulator-mem-idle - regulator-mem-on The max77686

[PATCH v3 3/4] mfd/regulator: dt-bindings: max77686: Document regulators off in suspend

2014-10-21 Thread Krzysztof Kozlowski
Add information which regulators can be disabled during system suspend. Signed-off-by: Krzysztof Kozlowski Suggested-by: Javier Martinez Canillas Reviewed-by: Javier Martinez Canillas --- Documentation/devicetree/bindings/mfd/max77686.txt | 6 ++ 1 file changed, 6 insertions(+) diff

[PATCH v3 0/4] regulator: max77686/trats2: Disable some regulators in suspend

2014-10-21 Thread Krzysztof Kozlowski
Hi, Changes since v2 1. Patch 1/4: Fully describe different values used for controlling the regulators (low power modes, enable, disable). Remove "opmode" from new defines. Suggested by Javier. 2. Patch 2/4: minor nits after changing patch 1. 3. Add Javier's reviewed-by to

Re: [PATCH 4/4] PM: convert do_each_thread to for_each_process_thread

2014-10-21 Thread Michal Hocko
On Tue 21-10-14 14:10:18, Rafael J. Wysocki wrote: > On Tuesday, October 21, 2014 09:27:15 AM Michal Hocko wrote: > > as per 0c740d0afc3b (introduce for_each_thread() to replace the buggy > > while_each_thread()) get rid of do_each_thread { } while_each_thread() > > construct and replace it by a

Re: What happened with the Patch "New RAID library supporting up to six parities"

2014-10-21 Thread Ronny Egner
Hi Neil, i did a short test and it works so far. Here are my results. Let me know if you need something more: (TL;DR: Wonderful patch. Tested with PAR6 (= six parities) and was able to recover from losing five disks at once.) The patches apply against 3.14.22 and btrfs-progs 3.12 but not

Re: [PATCH v3 1/2] kprobes: introduce weak arch_check_ftrace_location() helper function

2014-10-21 Thread Steven Rostedt
On Tue, 21 Oct 2014 21:11:16 +0900 Masami Hiramatsu wrote: > (2014/10/21 21:00), Heiko Carstens wrote: > > On Tue, Oct 21, 2014 at 06:30:56PM +0900, Masami Hiramatsu wrote: > >> (2014/10/21 17:30), Heiko Carstens wrote: > >>> Introduce weak arch_check_ftrace_location() helper function which >

[PATCH] memcg: remove mem_cgroup_reclaimable check from soft reclaim

2014-10-21 Thread Vladimir Davydov
mem_cgroup_reclaimable() checks whether a cgroup has reclaimable pages on *any* NUMA node. However, the only place where it's called is mem_cgroup_soft_reclaim(), which tries to reclaim memory from a *specific* zone. So the way how it's used is incorrect - it will return true even if the cgroup

Re: A desktop environment[1] kernel wishlist

2014-10-21 Thread Sergey
Hey everyone, I'm glad we're having some discussion on this, because we have almost exactly the same kernel wishlist internally for elementary OS / Pantheon DE. I believe I can further elaborate on the VFS monitoring part. We need a file monitoring facility that's scalable (unlike inotify) and

Re: [PATCH 1/3] sched/deadline: clear dl_entity params when setscheduling to different class

2014-10-21 Thread Juri Lelli
Hi, On 21/10/14 13:15, Wanpeng Li wrote: > ping, > > 于 10/8/14, 8:32 PM, Wanpeng Li 写道: >> Hi Juri, >> >> 于 9/19/14, 5:22 PM, Juri Lelli 写道: >>> When a task is using SCHED_DEADLINE and the user setschedules it to a >>> different >>> class its sched_dl_entity static parameters are not cleaned

Re: [PATCH 3/4] OOM, PM: OOM killed task shouldn't escape PM suspend

2014-10-21 Thread Michal Hocko
On Tue 21-10-14 14:09:27, Rafael J. Wysocki wrote: [...] > > @@ -131,12 +132,40 @@ int freeze_processes(void) > > > > printk("Freezing user space processes ... "); > > pm_freezing = true; > > + oom_kills_saved = oom_kills_count(); > > error = try_to_freeze_tasks(true); > > if

[PATCH v7 1/2] mtd: nand: add sunxi NAND flash controller support

2014-10-21 Thread Boris Brezillon
Add support for the sunxi NAND Flash Controller (NFC). Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Kconfig |6 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/sunxi_nand.c | 1426 + 3 files changed, 1433 insertions(+) create

Re: [PATCH v2 0/12] perf/x86: implement HT leak workaround for SNB/IVB/HSW

2014-10-21 Thread Peter Zijlstra
On Tue, Oct 21, 2014 at 02:28:06PM +0200, Stephane Eranian wrote: > Peter, > > On Tue, Oct 21, 2014 at 1:25 PM, Peter Zijlstra wrote: > > > > > > lkml.kernel.org/r/CABPqkBRbst4sgpgE5O_VXt-CSC0VD=ap2kwa0e3uy64tw7d...@mail.gmail.com > > > > I missed that 3 lines if they were in here. > > > I did

[PATCH v7 2/2] mtd: nand: add sunxi NFC dt bindings doc

2014-10-21 Thread Boris Brezillon
Add the sunxi NAND Flash Controller dt bindings documentation. Signed-off-by: Boris Brezillon --- .../devicetree/bindings/mtd/sunxi-nand.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/sunxi-nand.txt diff --git

[PATCH v7 0/2] mtd: nand: add sunxi NAND flash controller support

2014-10-21 Thread Boris Brezillon
Hi, This series adds support for the sunxi NAND Flash Controller (NFC) block. These two patches only add support for the basic NAND stuff: - NAND controller operations - SW and HW ECC handling (with both syndrome and normal ECC scheme) If you want support for advanced features you can find it

Re: [PATCH] cpufreq: intel_pstate: Fix setting max_perf_pct in performance policy

2014-10-21 Thread Rafael J. Wysocki
On Thursday, October 16, 2014 08:05:44 AM Dirk Brandewie wrote: > On 10/15/2014 04:16 PM, Pali Rohár wrote: > > Code which changes policy to powersave changes also max_policy_pct based on > > max_freq. Code which change max_perf_pct has upper limit base on value > > max_policy_pct. When policy is

Re: [PATCH v2 0/12] perf/x86: implement HT leak workaround for SNB/IVB/HSW

2014-10-21 Thread Stephane Eranian
On Tue, Oct 21, 2014 at 3:03 PM, Peter Zijlstra wrote: > On Tue, Oct 21, 2014 at 02:28:06PM +0200, Stephane Eranian wrote: >> Peter, >> >> On Tue, Oct 21, 2014 at 1:25 PM, Peter Zijlstra wrote: >> > >> > >> > lkml.kernel.org/r/CABPqkBRbst4sgpgE5O_VXt-CSC0VD=ap2kwa0e3uy64tw7d...@mail.gmail.com >>

Re: [PATCH v2 1/6] media: add media token device resource framework

2014-10-21 Thread Takashi Iwai
At Tue, 21 Oct 2014 13:58:59 +0200, Hans Verkuil wrote: > > > > On 10/21/2014 01:51 PM, Takashi Iwai wrote: > > At Tue, 21 Oct 2014 12:46:03 +0200, > > Hans Verkuil wrote: > >> > >> Hi Shuah, > >> > >> As promised, here is my review for this patch series. > >> > >> On 10/14/2014 04:58 PM, Shuah

RE: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-21 Thread Peter Rosin
Hi again, > -Original Message- > From: Peter Rosin > Sent: Tuesday, October 21, 2014 13:05 > To: 'Bo Shen' > Cc: Liam Girdwood; Mark Brown; Jaroslav Kysela; Takashi Iwai; 'alsa- > de...@alsa-project.org'; linux-kernel@vger.kernel.org > Subject: RE: [alsa-devel] [PATCH] ASoC:

Re: [PATCH] Documentation: ptp: Fix build failure on MIPS cross builds

2014-10-21 Thread Markos Chandras
On 10/21/2014 01:52 PM, Richard Cochran wrote: > (adding Peter Foley to CC ...) > > On Tue, Oct 21, 2014 at 01:11:22PM +0100, Markos Chandras wrote: >> On 10/21/2014 12:07 PM, Richard Cochran wrote: >>> On Mon, Oct 20, 2014 at 09:42:18AM +0100, Markos Chandras wrote: diff --git

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-21 Thread Dan Streetman
On Sun, Oct 19, 2014 at 11:29 PM, Neil Zhang wrote: > The current per-cpu offline info won't be updated if it is > hotplugged in/out by a kernel governer. > Let's update it via cpu notifier. > > Signed-off-by: Neil Zhang > --- > drivers/base/cpu.c | 25 + > 1 file

[PATCH V3] scripts, checkpatch.pl, provide a better output message for commit id format

2014-10-21 Thread Prarit Bhargava
I tested this using both lower and upper case 'c' with the following commit text: Derp, derpy derp. Derps derpy derpy derp derp derp derp. Some other text besides derp. Stuff. 11 chars, SHOULD FAIL due to size commit 1234567890a 12 chars, SHOULD FAIL with missing commit info warning commit

Re: state of the osdblk driver?

2014-10-21 Thread Christoph Hellwig
On Tue, Oct 21, 2014 at 03:47:36PM +0300, Boaz Harrosh wrote: > It is used in testing, its a good way to compare ext4 over objects > vs exofs over objects, kind of compare apples with apples. > (Also at the get go it was a good test that found some bugs in the > bring up of the osd target) > >

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-21 Thread Dan Streetman
On Mon, Oct 20, 2014 at 10:57 PM, Yasuaki Ishimatsu wrote: > Hi Neil and Dan, > > > (2014/10/21 2:02), Dan Streetman wrote: >> >> On Mon, Oct 20, 2014 at 3:40 AM, Neil Zhang wrote: >>> >>> Greg, >>> >>> >>> -Original Message- >>> From: Greg KH [mailto:gre...@linuxfoundation.org] >>>

Re: state of the osdblk driver?

2014-10-21 Thread Jeff Garzik
On Tue, Oct 21, 2014 at 8:47 AM, Boaz Harrosh wrote: > [Just that I thought we don't do that. I can show you a dozen > ISA scsi LLD controllers which are a complete pain in the neck > with a all subsection core support. There is not a single system > on the planet that has this even possible,

Re: [PATCH v6 2/2] mtd: nand: add sunxi NFC dt bindings doc

2014-10-21 Thread Boris Brezillon
Hi Brian, On Mon, 20 Oct 2014 19:41:34 -0700 Brian Norris wrote: > Hi Boris, > > On Mon, Oct 20, 2014 at 01:45:20PM +0200, Boris Brezillon wrote: > > Add the sunxi NAND Flash Controller dt bindings documentation. > > > > Signed-off-by: Boris Brezillon > > --- > >

Re: [PATCH] Documentation: ptp: Fix build failure on MIPS cross builds

2014-10-21 Thread Richard Cochran
(adding Peter Foley to CC ...) On Tue, Oct 21, 2014 at 01:11:22PM +0100, Markos Chandras wrote: > On 10/21/2014 12:07 PM, Richard Cochran wrote: > > On Mon, Oct 20, 2014 at 09:42:18AM +0100, Markos Chandras wrote: > >> diff --git a/Documentation/ptp/Makefile b/Documentation/ptp/Makefile > >>

Re: [patch 1/4] mm: memcontrol: uncharge pages on swapout

2014-10-21 Thread Vladimir Davydov
On Mon, Oct 20, 2014 at 11:22:09AM -0400, Johannes Weiner wrote: > mem_cgroup_swapout() is called with exclusive access to the page at > the end of the page's lifetime. Instead of clearing the PCG_MEMSW > flag and deferring the uncharge, just do it right away. This allows > follow-up patches to

Re: [PATCH v4] ARM: perf: save/restore pmu registers in pm notifier

2014-10-21 Thread Mathieu Poirier
On 20 October 2014 11:20, Will Deacon wrote: > On Mon, Oct 20, 2014 at 10:16:16AM +0100, Sudeep Holla wrote: >> On 20/10/14 09:46, Neil Zhang wrote: >> > Will, I prefer to check always-on field under PMU node to check >> > whether we need Save/restore them. >> > >> But how do you handle it for

Re: [resend PATCH 1/3] ACPI / platform: provide default DMA mask

2014-10-21 Thread Rafael J. Wysocki
On Tuesday, October 21, 2014 03:27:45 PM Adrian Hunter wrote: > On 24/09/14 16:49, Rafael J. Wysocki wrote: > > On Wednesday, September 24, 2014 11:00:37 AM Heikki Krogerus wrote: > >> Most devices are configured for 32-bit DMA addresses. > >> Setting the mask to 32-bit here removes the need for

Re: state of the osdblk driver?

2014-10-21 Thread Boaz Harrosh
On 10/21/2014 03:21 PM, Jeff Garzik wrote: > On Tue, Oct 21, 2014 at 8:06 AM, Christoph Hellwig wrote: >> The osdblk driver hsa seen literally no change except for global >> API changes since it was merged, and I've never heard of a user. >> >> Is this something we want to keep around? I just

Re: [PATCH v2 01/47] kernel: Add support for poweroff handler call chain

2014-10-21 Thread Heiko Stübner
Am Dienstag, 21. Oktober 2014, 14:26:10 schrieb Rafael J. Wysocki: > On Monday, October 20, 2014 09:12:17 PM Guenter Roeck wrote: > > Various drivers implement architecture and/or device specific means to > > remove power from the system. For the most part, those drivers set the > > global

Re: [PATCH 5/5] vfio/iommu_type1: implement the VFIO_DMA_MAP_FLAG_NOEXEC flag

2014-10-21 Thread Antonios Motakis
On Mon, Oct 20, 2014 at 11:13 PM, Alex Williamson wrote: > On Mon, 2014-10-13 at 15:09 +0200, Antonios Motakis wrote: >> Some IOMMU drivers, such as the ARM SMMU driver, make available the >> IOMMU_NOEXEC flag, to set the page tables for a device as XN (execute never). >> This affects devices

Re: [alsa-devel] [PATCH] ASoC: rockchip-i2s: add rockchip-max98090 driver support

2014-10-21 Thread Lars-Peter Clausen
On 10/21/2014 01:31 PM, Jianqun wrote: This patch is to add support for rockchip board with max98090 codec. It also needs sound node in dt file. Tested on rockchip board based on rk3288. Signed-off-by: Jianqun --- sound/soc/rockchip/Kconfig | 13 + 1 file changed, 13

Re: [PATCH] scripts, checkpatch.pl, provide a better output message for commit id format [v2]

2014-10-21 Thread Prarit Bhargava
On 10/20/2014 10:11 PM, Joe Perches wrote: > On Mon, 2014-10-20 at 20:46 -0400, Prarit Bhargava wrote: >> >> On 10/20/2014 07:11 PM, Joe Perches wrote: >>> On Mon, 2014-10-20 at 18:49 -0400, Prarit Bhargava wrote: I tested this using both lower and upper case 'c' with the following commit

Re: [PATCH v2 5/5] tty/serial: Add earlycon support for Spreadtrum serial driver

2014-10-21 Thread One Thousand Gnomes
On Mon, 20 Oct 2014 18:23:38 +0800 Orson Zhai wrote: > On Sun, Oct 19, 2014 at 5:06 AM, One Thousand Gnomes > wrote: > > On Fri, 17 Oct 2014 17:54:25 +0800 > > Chunyan Zhang wrote: > > > >> Add serial driver for spreadtrum sharkl platform with earlycon > >> support at first. > > > >> +#define

Re: [RESUBMIT PATCH v4 1/8] mfd: Add support for Skyworks SKY81452 driver

2014-10-21 Thread Lee Jones
On Mon, 13 Oct 2014, Gyungoh Yoo wrote: > Signed-off-by: Gyungoh Yoo > --- > Changes v4: > Removed MODULE_VERSION() > Modified license to GPLv2 > > Changes v3: > Fixed the backlight name from 'sky81452-bl' to 'sky81452-backlight' > Assigned mfd_cell.of_compatible for binding device node >

Re: [PATCH v2 1/4] regulator: max77686: Replace hard-coded opmode values with defines

2014-10-21 Thread Javier Martinez Canillas
Hello Krzysztof, On 10/21/2014 02:22 PM, Krzysztof Kozlowski wrote: > On wto, 2014-10-21 at 13:57 +0200, Javier Martinez Canillas wrote: >> > >> > +/* On/off controlled by PWRREQ */ >> > +#define MAX77686_OPMODE_OFF_PWRREQ0x1 >> >> Minor nit: maybe this should be called

Re: [resend PATCH 1/3] ACPI / platform: provide default DMA mask

2014-10-21 Thread Adrian Hunter
On 24/09/14 16:49, Rafael J. Wysocki wrote: > On Wednesday, September 24, 2014 11:00:37 AM Heikki Krogerus wrote: >> Most devices are configured for 32-bit DMA addresses. >> Setting the mask to 32-bit here removes the need for the >> drivers to do it separately. >> >> Signed-off-by: Heikki

Re: [PATCH v2 0/12] perf/x86: implement HT leak workaround for SNB/IVB/HSW

2014-10-21 Thread Stephane Eranian
Peter, On Tue, Oct 21, 2014 at 1:25 PM, Peter Zijlstra wrote: > > > lkml.kernel.org/r/CABPqkBRbst4sgpgE5O_VXt-CSC0VD=ap2kwa0e3uy64tw7d...@mail.gmail.com > > I missed that 3 lines if they were in here. > I did not put them in there because there is another problem. If you partition the generic

Re: [PATCH v2 1/4] regulator: max77686: Replace hard-coded opmode values with defines

2014-10-21 Thread Krzysztof Kozlowski
On wto, 2014-10-21 at 13:57 +0200, Javier Martinez Canillas wrote: > Hello Krzysztof, > > Thanks a lot for the re-spin. > > On 10/21/2014 01:23 PM, Krzysztof Kozlowski wrote: > > Add defines for regulator operating modes which should be more readable, > > especially if one does not have Maxim

Re: [PATCH 2/5] vfio: introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag

2014-10-21 Thread Antonios Motakis
On Mon, Oct 20, 2014 at 11:37 PM, Andy Lutomirski wrote: > On Mon, Oct 13, 2014 at 6:09 AM, Antonios Motakis > wrote: >> We introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag to the VFIO dma map call, >> and expose its availability via the capability VFIO_DMA_NOEXEC_IOMMU. >> This way the user can

Re: Touch processing on host CPU

2014-10-21 Thread One Thousand Gnomes
> If you will have touch processing in a binary blob, you'll also be going > to ages "Works with Ubuntu 12.04 on x86_32!" (and nothing else), or > "Android 5.1.2 on Tegra Blah (build 78912KT)" (and nothing else). As well as not going upstream because there is no way anyone else can test changes

Re: [PATCH v2 4/4] ARM: dts: exynos4412-trats: Add suspend configuration for max77686 regulators

2014-10-21 Thread Krzysztof Kozlowski
On wto, 2014-10-21 at 14:04 +0200, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 10/21/2014 01:23 PM, Krzysztof Kozlowski wrote: > > Add suspend to RAM configuration for max77686 regulators. Some LDOs and > > bucks are disabled. This reduces energy consumption during S2R, > >

Re: state of the osdblk driver?

2014-10-21 Thread Jeff Garzik
Drop it, if there are no users. It was simulating an OSD, but there did not seem to be much beyond academic interest, and some interest in the use of aforementioned block functions as a useful exercise in block driver writing. On Tue, Oct 21, 2014 at 8:06 AM, Christoph Hellwig wrote: > The

Re: [PATCH 2/2] sched/deadline: don't need to balance during wakeup if wakee is pinned

2014-10-21 Thread Wanpeng Li
Cc Juri, 于 10/14/14, 10:22 AM, Wanpeng Li 写道: > Use nr_cpus_allowed to bail from select_task_rq() when only one cpu > can be used, and saves some cycles for pinned tasks. > > Signed-off-by: Wanpeng Li > --- > kernel/sched/deadline.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

[PATCH] mm/kmemleak: Do not skip stack frames

2014-10-21 Thread Thierry Reding
From: Thierry Reding Trying to chase down memory leaks is much easier when the complete stack trace is available. Signed-off-by: Thierry Reding --- It seems like this was initially set to 1 when merged in commit 3c7b4e6b8be4 (kmemleak: Add the base support) and later increased to 2 in commit

Re: [PATCH 1/2] sched/deadline: don't need to check SD_BALANCE_FORK

2014-10-21 Thread Wanpeng Li
Cc Juri, 于 10/14/14, 10:22 AM, Wanpeng Li 写道: > There is no need to do balance during fork since SCHED_DEADLINE > tasks can't fork. This patch avoid the SD_BALANCE_FORK check. > > Signed-off-by: Wanpeng Li > --- > kernel/sched/deadline.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 2/5] vfio: introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag

2014-10-21 Thread Antonios Motakis
On Mon, Oct 20, 2014 at 11:29 PM, Alex Williamson wrote: > On Mon, 2014-10-13 at 15:09 +0200, Antonios Motakis wrote: >> We introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag to the VFIO dma map call, >> and expose its availability via the capability VFIO_DMA_NOEXEC_IOMMU. >> This way the user can

Re: [PATCH] ARM: berlin: sort Kconfig options

2014-10-21 Thread Sebastian Hesselbarth
On 30.09.2014 14:19, Sebastian Hesselbarth wrote: On 09/26/2014 08:14 AM, Jisheng Zhang wrote: Keep options alphabetically sorted. Signed-off-by: Jisheng Zhang Jisheng, nice to see you are now contributing directly to Berlin, too. Anyway, I understand that it is nice to have it sorted

Re: [PATCH 1/3] sched/deadline: clear dl_entity params when setscheduling to different class

2014-10-21 Thread Wanpeng Li
ping, 于 10/8/14, 8:32 PM, Wanpeng Li 写道: Hi Juri, 于 9/19/14, 5:22 PM, Juri Lelli 写道: When a task is using SCHED_DEADLINE and the user setschedules it to a different class its sched_dl_entity static parameters are not cleaned up. This causes a bug if the user sets it back to SCHED_DEADLINE

[PATCH] mm/cma: Make kmemleak ignore CMA regions

2014-10-21 Thread Thierry Reding
From: Thierry Reding kmemleak will add allocations as objects to a pool. The memory allocated for each object in this pool is periodically searched for pointers to other allocated objects. This only works for memory that is mapped into the kernel's virtual address space, which happens not to be

Re: [PATCH RESEND v2] sched/deadline: do not try to push tasks if pinned task switches to dl

2014-10-21 Thread Wanpeng Li
于 10/21/14, 6:11 PM, Juri Lelli 写道: Hi, On 11/10/14 01:58, Wanpeng Li wrote: As Kirill mentioned(https://lkml.org/lkml/2013/1/29/118): | If rq has already had 2 or more pushable tasks and we try to add a | pinned task then call of push_rt_task will just waste a time. Just switched pinned

Re: [PATCH 1/3] tools: hv: fcopy_daemon: Check buffer limits

2014-10-21 Thread One Thousand Gnomes
On Tue, 21 Oct 2014 13:49:00 +0200 Matej Mužila wrote: > From: Matej Mužila > > Check if cpmsg->size is in limits of DATA_FRAGMENT > > Signed-off-by: Matej Mužila > Acked-by: K. Y. Srinivasan > --- > If corrupted data are read from /dev/vmbus/hv_fcopy, pwrite can > read from memory outside

Re: Re: [PATCH v3 1/2] kprobes: introduce weak arch_check_ftrace_location() helper function

2014-10-21 Thread Masami Hiramatsu
(2014/10/21 21:00), Heiko Carstens wrote: > On Tue, Oct 21, 2014 at 06:30:56PM +0900, Masami Hiramatsu wrote: >> (2014/10/21 17:30), Heiko Carstens wrote: >>> Introduce weak arch_check_ftrace_location() helper function which >>> architectures can override in order to implement handling of kprobes

Re: [PATCH] Documentation: ptp: Fix build failure on MIPS cross builds

2014-10-21 Thread Markos Chandras
On 10/21/2014 12:07 PM, Richard Cochran wrote: > On Mon, Oct 20, 2014 at 09:42:18AM +0100, Markos Chandras wrote: >> diff --git a/Documentation/ptp/Makefile b/Documentation/ptp/Makefile >> index 293d6c09a11f..397c1cd2eda7 100644 >> --- a/Documentation/ptp/Makefile >> +++

Re: Re: [PATCH 1/2] ftracetest: add kprobes on ftrace testcase

2014-10-21 Thread Masami Hiramatsu
(2014/10/21 20:59), Heiko Carstens wrote: > On Tue, Oct 21, 2014 at 06:21:05PM +0900, Masami Hiramatsu wrote: >> (2014/10/20 19:52), Heiko Carstens wrote: >>> Add a kprobes on ftrace testcase. The testcase verifies that >>> - enabling and disabling function tracing works on a function which >>>

Re: [PATCH 8/9] ARM: berlin: Add phy-connection-type to BG2Q PHY

2014-10-21 Thread Sergei Shtylyov
On 10/21/2014 3:46 PM, Sebastian Hesselbarth wrote: From: Antoine Ténart Internal FastEthernet PHY on BG2Q is connected via MII, add a corresponding phy-connection-type property. Tested-by: Antoine Ténart Signed-off-by: Sebastian Hesselbarth --- Cc: "David S. Miller" Cc: "Antoine

Re: [PATCH v2 3/4] mfd/regulator: dt-bindings: max77686: Document regulators off in suspend

2014-10-21 Thread Lee Jones
On Tue, 21 Oct 2014, Krzysztof Kozlowski wrote: > Add information which regulators can be disabled during system suspend. > > Signed-off-by: Krzysztof Kozlowski > Suggested-by: Javier Martinez Canillas > --- > Documentation/devicetree/bindings/mfd/max77686.txt | 6 ++ > 1 file changed, 6

state of the osdblk driver?

2014-10-21 Thread Christoph Hellwig
The osdblk driver hsa seen literally no change except for global API changes since it was merged, and I've never heard of a user. Is this something we want to keep around? I just noticed it because it's the only non-SCSI user of some of the old block layer tagging functions. -- To unsubscribe

Re: [PATCH v2 01/47] kernel: Add support for poweroff handler call chain

2014-10-21 Thread Rafael J. Wysocki
On Monday, October 20, 2014 09:12:17 PM Guenter Roeck wrote: > Various drivers implement architecture and/or device specific means to > remove power from the system. For the most part, those drivers set the > global variable pm_power_off to point to a function within the driver. > > This

Re: [PATCH] mtd: spi-nor: Add support for SST spi flash

2014-10-21 Thread Marek Vasut
On Tuesday, October 21, 2014 at 01:37:59 PM, Michal Simek wrote: > From: Harini Katakam > > Add sst25wf080 to the spi-nor device id table. > > Signed-off-by: Harini Katakam > Reviewed-by: Peter Crosthwaite > Signed-off-by: Michal Simek Acked-by: Marek Vasut Best regards, Marek Vasut -- To

Re: [PATCH v2 34/47] acpi: Register poweroff handler with kernel poweroff handler

2014-10-21 Thread Rafael J. Wysocki
On Monday, October 20, 2014 09:12:50 PM Guenter Roeck wrote: > Register with kernel poweroff handler instead of setting pm_power_off > directly. Register with high priority to reflect that the driver explicitly > overrides existing poweroff handlers. > > Cc: Rafael J. Wysocki > Cc: Len Brown >

[PATCH linux-next] vfio: make vfio build and run on s390

2014-10-21 Thread Frank Blaschka
Introduce platform functions to let vfio announce if INTx is available and if PCI BARs are mapable. Also take care vfio_pci_vga_rw is building on platforms which do not support I/O ports. Signed-off-by: Frank Blaschka --- arch/s390/include/asm/pci.h | 3 +++ drivers/vfio/Kconfig

Re: [PATCH v2 4/4] ARM: dts: exynos4412-trats: Add suspend configuration for max77686 regulators

2014-10-21 Thread Javier Martinez Canillas
Hello Krzysztof, On 10/21/2014 01:23 PM, Krzysztof Kozlowski wrote: > Add suspend to RAM configuration for max77686 regulators. Some LDOs and > bucks are disabled. This reduces energy consumption during S2R, > approximately from 17 mA to 9 mA. > > Additionally remove old and not supported

Re: [PATCH v3 1/2] kprobes: introduce weak arch_check_ftrace_location() helper function

2014-10-21 Thread Heiko Carstens
On Tue, Oct 21, 2014 at 06:30:56PM +0900, Masami Hiramatsu wrote: > (2014/10/21 17:30), Heiko Carstens wrote: > > Introduce weak arch_check_ftrace_location() helper function which > > architectures can override in order to implement handling of kprobes > > on function tracer call sites on their

Re: [PATCH v2 3/4] mfd/regulator: dt-bindings: max77686: Document regulators off in suspend

2014-10-21 Thread Javier Martinez Canillas
Hello Krzysztof, On 10/21/2014 01:23 PM, Krzysztof Kozlowski wrote: > Add information which regulators can be disabled during system suspend. > > Signed-off-by: Krzysztof Kozlowski > Suggested-by: Javier Martinez Canillas > --- > Documentation/devicetree/bindings/mfd/max77686.txt | 6 ++ >

Re: [PATCH v2 2/4] regulator: max77686: Implement suspend disable for some LDOs

2014-10-21 Thread Javier Martinez Canillas
Hello Krzysztof, On 10/21/2014 01:23 PM, Krzysztof Kozlowski wrote: > Some LDOs of Maxim 77686 PMIC support disabling during system suspend > (LDO{2,6,7,8,10,11,12,14,15,16}). This was already implemented as part > of set_suspend_mode function. In that case the mode was one of: > - disable, > -

Re: [PATCH v2 1/6] media: add media token device resource framework

2014-10-21 Thread Hans Verkuil
On 10/21/2014 01:51 PM, Takashi Iwai wrote: At Tue, 21 Oct 2014 12:46:03 +0200, Hans Verkuil wrote: Hi Shuah, As promised, here is my review for this patch series. On 10/14/2014 04:58 PM, Shuah Khan wrote: Add media token device resource framework to allow sharing resources such as tuner,

Re: RCU stall in af_unix.c, should use spin_lock_irqsave?

2014-10-21 Thread Thomas Petazzoni
Dear Eric Dumazet, On Tue, 21 Oct 2014 03:28:20 -0700, Eric Dumazet wrote: > > Ok. So it's actually safe to mix spin_lock() and spin_lock_irqsave() on > > the same lock, if you know that this lock will never ever be taken in > > an interrupt context? > > Sure. Ok, thanks. > > > mvpp2 is

Re: [PATCH 1/2] ftracetest: add kprobes on ftrace testcase

2014-10-21 Thread Heiko Carstens
On Tue, Oct 21, 2014 at 06:21:05PM +0900, Masami Hiramatsu wrote: > (2014/10/20 19:52), Heiko Carstens wrote: > > Add a kprobes on ftrace testcase. The testcase verifies that > > - enabling and disabling function tracing works on a function which > > already contains a dynamic kprobe > > -

[PATCH linux-next] iommu: add iommu for s390 platform

2014-10-21 Thread Frank Blaschka
Add a basic iommu for the s390 platform. The code is pretty simple since on s390 each PCI device has its own virtual io address space starting at the same vio address. For this a domain could hold only one pci device. Also there is no relation between pci devices so each device belongs to a

Re: [PATCH v2 1/4] regulator: max77686: Replace hard-coded opmode values with defines

2014-10-21 Thread Javier Martinez Canillas
Hello Krzysztof, Thanks a lot for the re-spin. On 10/21/2014 01:23 PM, Krzysztof Kozlowski wrote: > Add defines for regulator operating modes which should be more readable, > especially if one does not have Maxim 77686 datasheet. > > The patch does not introduce any functional change. > >

Re: [PATCH v3 1/2] Revert "mfd: sec-core: Prepare regulators for suspend state to reduce power-consumption"

2014-10-21 Thread Lee Jones
On Mon, 20 Oct 2014, Javier Martinez Canillas wrote: > This reverts commit b7cde7078d2344073c310aa65fc2b0a845d2cb5b > ("mfd: sec-core: Prepare regulators for suspend state to reduce > power-consumption") > > Commit b7cde7078d23 called regulator_suspend_prepare() to prepare the > regulators for

Re: [PATCH v2 1/6] media: add media token device resource framework

2014-10-21 Thread Takashi Iwai
At Tue, 21 Oct 2014 12:46:03 +0200, Hans Verkuil wrote: > > Hi Shuah, > > As promised, here is my review for this patch series. > > On 10/14/2014 04:58 PM, Shuah Khan wrote: > > Add media token device resource framework to allow sharing > > resources such as tuner, dma, audio etc. across media

Re: [PATCH v3 6/8] phy: miphy28lp: Add SSC support for PCIE

2014-10-21 Thread Kishon Vijay Abraham I
Hi, On Monday 13 October 2014 01:46 PM, Gabriel Fernandez wrote: > Hi Valdis, > Thanks for your remark. > > Concerning multiple writing in MIPHY_PLL_SBR_1, the writing of the > first 0 it's to be sure there is no previous request. > Then we take account new setting by writing 0x02. > And then we

[PATCH 3/3] tools: hv: fcopy_daemon: Don't use uninitialized variable

2014-10-21 Thread Matej Mužila
From: Matej Mužila Don't use uninitialized variable Signed-off-by: Matej Mužila Acked-by: K. Y. Srinivasan --- diff --git a/tools/hv/hv_fcopy_daemon.c b/tools/hv/hv_fcopy_daemon.c index 1fc2dc2..0f8f918 100644 --- a/tools/hv/hv_fcopy_daemon.c +++ b/tools/hv/hv_fcopy_daemon.c @@ -191,7 +191,7

[PATCH 2/3] tools: hv: fcopy_daemon: Unused variable removed

2014-10-21 Thread Matej Mužila
From: Matej Mužila Remove unused variable Signed-off-by: Matej Mužila Acked-by: K. Y. Srinivasan --- diff --git a/tools/hv/hv_fcopy_daemon.c b/tools/hv/hv_fcopy_daemon.c index 6f27e2f..1fc2dc2 100644 --- a/tools/hv/hv_fcopy_daemon.c +++ b/tools/hv/hv_fcopy_daemon.c @@ -132,7 +132,7 @@ static

Re: [PATCH 4/4] PM: convert do_each_thread to for_each_process_thread

2014-10-21 Thread Rafael J. Wysocki
On Tuesday, October 21, 2014 09:27:15 AM Michal Hocko wrote: > as per 0c740d0afc3b (introduce for_each_thread() to replace the buggy > while_each_thread()) get rid of do_each_thread { } while_each_thread() > construct and replace it by a more error prone for_each_thread. > > This patch doesn't

[PATCH 1/3] tools: hv: fcopy_daemon: Check buffer limits

2014-10-21 Thread Matej Mužila
From: Matej Mužila Check if cpmsg->size is in limits of DATA_FRAGMENT Signed-off-by: Matej Mužila Acked-by: K. Y. Srinivasan --- If corrupted data are read from /dev/vmbus/hv_fcopy, pwrite can read from memory outside of the buffer (defined at line 138). Added check. --- @@ -104,6 +104,10

Re: [PATCH 3/4] OOM, PM: OOM killed task shouldn't escape PM suspend

2014-10-21 Thread Rafael J. Wysocki
On Tuesday, October 21, 2014 09:27:14 AM Michal Hocko wrote: > PM freezer relies on having all tasks frozen by the time devices are > getting frozen so that no task will touch them while they are getting > frozen. But OOM killer is allowed to kill an already frozen task in > order to handle OOM

Re: [PATCH 2/2] Thermal:Remove usless if(!result) before return tz

2014-10-21 Thread Eduardo Valentin
Hello Yao, On Tue, Oct 21, 2014 at 11:34:37AM +0800, Yao Dongdong wrote: > > On 2014/10/20 20:10, Eduardo Valentin wrote: > > Hello Yao > > > > On Mon, Oct 20, 2014 at 04:27:59PM +0800, Yao Dongdong wrote: > >> result is always zero when comes here. > >> > >> Signed-off-by:yaodongd...@huawei.com

Re: [PATCH 8/9] ARM: berlin: Add phy-connection-type to BG2Q PHY

2014-10-21 Thread Sebastian Hesselbarth
On 21.10.2014 13:31, Sergei Shtylyov wrote: Hello. On 10/21/2014 12:53 PM, Sebastian Hesselbarth wrote: From: Antoine Ténart Internal FastEthernet PHY on BG2Q is connected via MII, add a corresponding phy-connection-type property. Tested-by: Antoine Ténart Signed-off-by: Sebastian

Re: [PATCH 2/4] freezer: remove obsolete comments in __thaw_task()

2014-10-21 Thread Rafael J. Wysocki
On Tuesday, October 21, 2014 09:27:13 AM Michal Hocko wrote: > From: Cong Wang > > __thaw_task() no longer clears frozen flag since commit a3201227f803 > (freezer: make freezing() test freeze conditions in effect instead of > TIF_FREEZE). > > Cc: David Rientjes > Cc: "Rafael J. Wysocki" >

Re: [PATCH 1/4] freezer: Do not freeze tasks killed by OOM killer

2014-10-21 Thread Rafael J. Wysocki
On Tuesday, October 21, 2014 09:27:12 AM Michal Hocko wrote: > From: Cong Wang > > Since f660daac474c6f (oom: thaw threads if oom killed thread is frozen > before deferring) OOM killer relies on being able to thaw a frozen task > to handle OOM situation but a3201227f803 (freezer: make freezing()

Re: [PATCH v2 1/3] sched/dl: Implement cancel_dl_timer() to use in switched_from_dl()

2014-10-21 Thread Juri Lelli
On 21/10/14 11:48, Kirill Tkhai wrote: > В Вт, 21/10/2014 в 11:30 +0100, Juri Lelli пишет: >> Hi Kirill, >> >> sorry for the late reply, but I was busy doing other stuff and then >> travelling. >> >> On 02/10/14 11:05, Kirill Tkhai wrote: >>> В Чт, 02/10/2014 в 11:34 +0200, Peter Zijlstra пишет:

Re: [PATCH v5 0/4] Qualcomm SPMI PMIC pin controller drivers

2014-10-21 Thread Ivan T. Ivanov
On Tue, 2014-10-21 at 12:59 +0200, Linus Walleij wrote: > On Wed, Oct 1, 2014 at 6:30 PM, Ivan T. Ivanov > wrote: > > > Changes since v4: > > > > > - Use PMIC name in compatible string. > > - PINCTRL_QCOM_SPMI_PMIC from Kconfig symbol. > > - Remove pmic string from drivers file names. > >

[PATCH] mtd: spi-nor: Add support for SST spi flash

2014-10-21 Thread Michal Simek
From: Harini Katakam Add sst25wf080 to the spi-nor device id table. Signed-off-by: Harini Katakam Reviewed-by: Peter Crosthwaite Signed-off-by: Michal Simek --- drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c

[PATCH] ASoC: rockchip-i2s: add rockchip-max98090 driver support

2014-10-21 Thread Jianqun
This patch is to add support for rockchip board with max98090 codec. It also needs sound node in dt file. Tested on rockchip board based on rk3288. Signed-off-by: Jianqun --- sound/soc/rockchip/Kconfig | 13 + 1 file changed, 13 insertions(+) diff --git

Re: [PATCH 8/9] ARM: berlin: Add phy-connection-type to BG2Q PHY

2014-10-21 Thread Sergei Shtylyov
Hello. On 10/21/2014 12:53 PM, Sebastian Hesselbarth wrote: From: Antoine Ténart Internal FastEthernet PHY on BG2Q is connected via MII, add a corresponding phy-connection-type property. Tested-by: Antoine Ténart Signed-off-by: Sebastian Hesselbarth --- Cc: "David S. Miller" Cc:

Re: Re: [RFC PATCH 5/5] module: Remove stop_machine from module unloading

2014-10-21 Thread Masami Hiramatsu
(2014/10/13 13:40), Rusty Russell wrote: >> +/* >> + * MODULE_REF_BASE must be 1, since we use atomic_inc_not_zero() for >> + * recovering refcnt (see try_release_module_ref() ). >> + */ >> +#define MODULE_REF_BASE 1 > > True, but we could use atomic_add_unless() instead, and make this >

DEACTIVATION OF ACCOUNT

2014-10-21 Thread Admin
-- Dear Web-mail User, This is to inform all Web-mail User to update ther account due to the congestion in removal of all unused accounts an upgrade is needed, kindly update your email account by click on the link or copy and past on your browser.

[PATCH v2 2/4] regulator: max77686: Implement suspend disable for some LDOs

2014-10-21 Thread Krzysztof Kozlowski
Some LDOs of Maxim 77686 PMIC support disabling during system suspend (LDO{2,6,7,8,10,11,12,14,15,16}). This was already implemented as part of set_suspend_mode function. In that case the mode was one of: - disable, - normal mode, - low power mode. However there are no bindings for setting the

Re: [PATCH v2 0/12] perf/x86: implement HT leak workaround for SNB/IVB/HSW

2014-10-21 Thread Peter Zijlstra
lkml.kernel.org/r/CABPqkBRbst4sgpgE5O_VXt-CSC0VD=ap2kwa0e3uy64tw7d...@mail.gmail.com I missed that 3 lines if they were in here. -- 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

[PATCH v2 0/4] regulator: max77686/trats2: Disable some regulators in suspend

2014-10-21 Thread Krzysztof Kozlowski
Hi, Changes since v1 1. Add patch 1/4 and 3/4. 2. Patch 2/4: Extend existing set_suspend_disable (for bucks) with LDO support. Implement set_suspend_enable. Suggested by Javier. 3. Patch 4/4: Add regulator suspend properties only to regulators actually supporting this.

[PATCH v2 3/4] mfd/regulator: dt-bindings: max77686: Document regulators off in suspend

2014-10-21 Thread Krzysztof Kozlowski
Add information which regulators can be disabled during system suspend. Signed-off-by: Krzysztof Kozlowski Suggested-by: Javier Martinez Canillas --- Documentation/devicetree/bindings/mfd/max77686.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v2 1/4] regulator: max77686: Replace hard-coded opmode values with defines

2014-10-21 Thread Krzysztof Kozlowski
Add defines for regulator operating modes which should be more readable, especially if one does not have Maxim 77686 datasheet. The patch does not introduce any functional change. Signed-off-by: Krzysztof Kozlowski Suggested-by: Javier Martinez Canillas --- drivers/regulator/max77686.c | 25

[PATCH v2 4/4] ARM: dts: exynos4412-trats: Add suspend configuration for max77686 regulators

2014-10-21 Thread Krzysztof Kozlowski
Add suspend to RAM configuration for max77686 regulators. Some LDOs and bucks are disabled. This reduces energy consumption during S2R, approximately from 17 mA to 9 mA. Additionally remove old and not supported bindings: - regulator-mem-off - regulator-mem-idle - regulator-mem-on The max77686

Re: [PATCH] dmaengine: pl330: use subsys_initcall

2014-10-21 Thread Vinod Koul
On Fri, Oct 17, 2014 at 06:39:41PM +0200, Lars-Peter Clausen wrote: > On 10/17/2014 06:18 PM, Ray Jui wrote: > >On 10/17/2014 4:15 AM, Lars-Peter Clausen wrote: > >>On 10/17/2014 09:35 AM, Vinod Koul wrote: > >>>On Fri, Oct 17, 2014 at 09:45:45AM +0200, Lars-Peter Clausen wrote: > On

<    1   2   3   4   5   6   7   8   9   10   >