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 on

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 mmuz...@redhat.com wrote: From: Matej Mužila mmuz...@redhat.com Check if cpmsg-size is in limits of DATA_FRAGMENT Signed-off-by: Matej Mužila mmuz...@redhat.com Acked-by: K. Y. Srinivasan k...@microsoft.com --- If corrupted data are read

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

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

2014-10-21 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com 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

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

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 jszh...@marvell.com Jisheng, nice to see you are now contributing directly to Berlin, too. Anyway, I understand that it is nice to

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 alex.william...@redhat.com 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

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 wanpeng...@linux.intel.com --- kernel/sched/deadline.c | 2 +- 1 file changed, 1

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

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

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 wanpeng...@linux.intel.com --- kernel/sched/deadline.c | 3 +++ 1 file changed, 3 insertions(+)

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

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 l...@amacapital.net wrote: On Mon, Oct 13, 2014 at 6:09 AM, Antonios Motakis a.mota...@virtualopensystems.com wrote: We introduce the VFIO_DMA_MAP_FLAG_NOEXEC flag to the VFIO dma map call, and expose its availability via the capability

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 to the

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 77686

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, approximately

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 pet...@infradead.org 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

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 Krogerus

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 MAX77802_OFF_PWRREQ (without

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 jack@skyworksinc.com --- 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

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 orsonz...@gmail.com wrote: On Sun, Oct 19, 2014 at 5:06 AM, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: On Fri, 17 Oct 2014 17:54:25 +0800 Chunyan Zhang chunyan.zh...@spreadtrum.com wrote: Add serial driver for spreadtrum sharkl

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 text: []

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 jay...@rock-chips.com --- sound/soc/rockchip/Kconfig | 13 + 1 file

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 alex.william...@redhat.com 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

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 variable

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 h...@infradead.org 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?

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 the

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 will.dea...@arm.com 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

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 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 computersforpe...@gmail.com 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 index

Re: state of the osdblk driver?

2014-10-21 Thread Jeff Garzik
On Tue, Oct 21, 2014 at 8:47 AM, Boaz Harrosh o...@electrozaur.com 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

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 isimatu.yasu...@jp.fujitsu.com wrote: Hi Neil and Dan, (2014/10/21 2:02), Dan Streetman wrote: On Mon, Oct 20, 2014 at 3:40 AM, Neil Zhang zhan...@marvell.com wrote: Greg, -Original Message- From: Greg KH

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) If

[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: [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 zhan...@marvell.com 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 zhan...@marvell.com --- drivers/base/cpu.c | 25

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: [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: atmel_ssc_dai: Track

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 Khan wrote: Add media

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 pet...@infradead.org 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 pet...@infradead.org wrote:

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

[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 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 pet...@infradead.org wrote: lkml.kernel.org/r/CABPqkBRbst4sgpgE5O_VXt-CSC0VD=ap2kwa0e3uy64tw7d...@mail.gmail.com I missed that 3 lines if they were in here. I

[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 boris.brezil...@free-electrons.com --- .../devicetree/bindings/mtd/sunxi-nand.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644

[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 boris.brezil...@free-electrons.com --- drivers/mtd/nand/Kconfig |6 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/sunxi_nand.c | 1426 + 3 files

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 (!error) { -

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 up. This causes a

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

[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: [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 masami.hiramatsu...@hitachi.com 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()

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 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 more

[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 k.kozlow...@samsung.com Suggested-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk ---

[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

[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

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 = oom_kills_count();

[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 k.kozlow...@samsung.com Suggested-by: Javier Martinez Canillas

RE: [PATCH] mm: cma: split cma-reserved in dmesg log

2014-10-21 Thread PINTU KUMAR
Hi, - Original Message - From: Gioh Kim gioh@lge.com To: Pintu Kumar pint...@samsung.com; a...@linux-foundation.org; han...@cmpxchg.org; r...@redhat.com; mgor...@suse.de; vdavy...@parallels.com; nasa4...@gmail.com; ddstr...@ieee.org; m.szyprow...@samsung.com; min...@mina86.com;

[PATCH] ARM: imx6q: drop unnecessary semicolon

2014-10-21 Thread Dmitry Voytik
Drop unnecessary semicolon after closing curly bracket. Signed-off-by: Dmitry Voytik voyt...@gmail.com --- arch/arm/mach-imx/clk-imx6q.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index 1412daf..43f376f 100644

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 03:19:53 PM Michal Hocko wrote: 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

[PATCH v3 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: state of the osdblk driver?

2014-10-21 Thread Boaz Harrosh
On 10/21/2014 04:01 PM, Christoph Hellwig wrote: I'm mostly just trying to figure out if anyone cares. Would you be willing to sign up as a maintainer, and maybe even look into a blk-mq conversion? I'd be happy to help to answer questions and review it. I thought I was kind of am ;-) .

Re: getaddrinfo slowdown in 3.17.1, due to getifaddrs

2014-10-21 Thread Steinar H. Gunderson
On Fri, Oct 17, 2014 at 07:25:17AM +0100, Thomas Graf wrote: I think the only option at this point is to re-add the nltable lock to netlink_lookup() so we can drop the synchronize_net() until we find a way to RCUify socket destruction. I will cook up a patch today unless somebody can come up

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

2014-10-21 Thread Juri Lelli
Hi, On 21/10/14 13:19, Wanpeng Li wrote: 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 wanpeng...@linux.intel.com ---

Re: [PATCH v2] x86, e820: panic on sanitizing invalid memory map

2014-10-21 Thread Martin Kelly
On 10/21/2014 01:56 AM, Thomas Gleixner wrote: This patch changes the behavior so that sanitize_e820_map is a void function. When the provided memory map has length 1 or it is sanitized (both ok cases), it returns nothing. If the provided memory map is invalid, then it panics. So you break

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-21 Thread PERIER Romain
Hi all, Do I need to rebase my patches onto the regulator tree or it's okay ? Have a nice day, Romain 2014-10-17 9:23 GMT+02:00 PERIER Romain romain.per...@gmail.com: Hi Heiko, Oh sure, no problem. It was just to understand better how things will happen ;) If my patches needs to be

Re: getaddrinfo slowdown in 3.17.1, due to getifaddrs

2014-10-21 Thread Thomas Graf
On 10/21/14 at 03:25pm, Steinar H. Gunderson wrote: On Fri, Oct 17, 2014 at 07:25:17AM +0100, Thomas Graf wrote: I think the only option at this point is to re-add the nltable lock to netlink_lookup() so we can drop the synchronize_net() until we find a way to RCUify socket destruction. I

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

2014-10-21 Thread Javier Martinez Canillas
Hello Krzysztof, On 10/21/2014 03:19 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. Signed-off-by: Krzysztof Kozlowski

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

2014-10-21 Thread Orson Zhai
On Tue, Oct 21, 2014 at 8:26 PM, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: On Mon, 20 Oct 2014 18:23:38 +0800 Orson Zhai orsonz...@gmail.com wrote: On Sun, Oct 19, 2014 at 5:06 AM, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: On Fri, 17 Oct 2014 17:54:25 +0800 Chunyan

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

2014-10-21 Thread Juri Lelli
Hi, On 21/10/14 13:18, Wanpeng Li wrote: 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 wanpeng...@linux.intel.com ---

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

2014-10-21 Thread Wanpeng Li
Hi Juri, 于 10/21/14, 9:29 PM, Juri Lelli 写道: Hi, On 21/10/14 13:19, Wanpeng Li wrote: 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

Re: [PATCH 1/3] pinctrl: add driver for Amlogic Meson SoCs

2014-10-21 Thread Linus Walleij
On Tue, Oct 7, 2014 at 11:32 PM, Beniamino Galvani b.galv...@gmail.com wrote: Sorry for a quick and brief review, but should be enough for you to proceed to iterate the patch. This is a driver for the pinmux and GPIO controller available in Amlogic Meson SoCs. At the moment it only supports

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

2014-10-21 Thread Richard Cochran
On Tue, Oct 21, 2014 at 02:03:45PM +0100, Markos Chandras wrote: Hmm I can't see this testptp.mk file in the mainline. What tree are you referring to? Sorry, I have net-next open in front of me. The same guy who added the buggy Makefile deleted my working makefile... Thanks, Richard -- To

Re: [PATCH v3 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 k.kozlow...@samsung.com Suggested-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Reviewed-by: Javier Martinez Canillas

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

2014-10-21 Thread Juri Lelli
On 21/10/14 14:39, Wanpeng Li wrote: Hi Juri, 于 10/21/14, 9:29 PM, Juri Lelli 写道: Hi, On 21/10/14 13:19, Wanpeng Li wrote: 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

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

2014-10-21 Thread Guenter Roeck
On 10/21/2014 05:26 AM, Rafael J. Wysocki wrote: 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

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

2014-10-21 Thread Boris Brezillon
On Tue, 21 Oct 2014 06:13:16 -0700 (PDT) Ezaul Zillmer ezaulzill...@gmail.com wrote: Hello everyone Boris Brezillon downloaded sunxi-nand-v6 now compiled for Cubieboard2 https://github.com/bbrezillon/linux-sunxi.git sunxi b-nand-v6 u-boot git clone

Re: [PATCH] netfilter: Fix wastful cleanup check for unconfirmed conn in get_next_corpse

2014-10-21 Thread Feng Gao
Sorry. I get it is not an issue after read the codes again. The unconfirmed conn list check is only checked once in the current codes. Because it will be checked only when no matched conntracks found in function get_next_corpse. Then I think current codes may confuse the reader. I am an example.

[GIT PULL] thermal-soc changes

2014-10-21 Thread Eduardo Valentin
Hello Rui, Here are a couple of changes that are in my tree. They include: - a few code refactoring improving the Exynos code base; - new feature on the Exynos code base (TRIMINFO and TRIMRELOAD); - a documentation of RCAR thermal; and - a fix in the of-thermal, regarding the proper usage of of

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

2014-10-21 Thread Guenter Roeck
On 10/21/2014 02:34 AM, Johan Hovold wrote: On Mon, Oct 20, 2014 at 09:12:17PM -0700, Guenter Roeck wrote: v2: - poweroff - power_off Do you want to stick to power[-_ ]off consistently throughout? - Add defines for default priorities - Use raw notifiers protected by spinlocks instead of

[PATCH 0/2] mtd: oobtest: Add parameter to ignore bitflip errors within specified limit

2014-10-21 Thread Roger Quadros
Hi, The oobtest case uses raw NAND read/writes to OOB area bypassing the error correction mechanism and hence is bound to be affected by bitflip errors which are normal in NAND memories. (e.g. we can never get DRA7-evm's NAND to fully pass mtd_oobtest). In these patches we add a module

[PATCH 2/2] mtd: mtd_oobtest: add bitflip_limit parameter

2014-10-21 Thread Roger Quadros
It is common for NAND devices to have bitflip errors. Add a bitflip_limit parameter to specify how many bitflips per page we can tolerate without flagging an error. By default zero bitflips are tolerated. Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by: Sekhar Nori nsek...@ti.com ---

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

2014-10-21 Thread Rafael J. Wysocki
On Tuesday, October 21, 2014 06:17:09 AM Guenter Roeck wrote: On 10/21/2014 05:26 AM, Rafael J. Wysocki wrote: 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

[PATCH 1/2] mtd: mtd_oobtest: Show the verification error location and data

2014-10-21 Thread Roger Quadros
Add a function memcmpshow() that compares the 2 data buffers and shows the address:offset and data bytes on comparison failure. This function does not break at a comparison failure but runs the check for the whole data buffer. Use memcmpshow() instead of memcmp() for all the verification paths.

Re: [PATCH] ALSA: ctxfi: remove unused variable

2014-10-21 Thread Takashi Iwai
At Tue, 21 Oct 2014 16:28:47 +0530, Sudip Mukherjee wrote: As of now the pointer to struct dai is not being used anywhere in the function. So it is safe to remove the variable. If we are ever doing anything with the container_of(daio, struct dai, daio), then at that time we can again add the

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

2014-10-21 Thread Boris Brezillon
On Tue, 21 Oct 2014 06:13:16 -0700 (PDT) Ezaul Zillmer ezaulzill...@gmail.com wrote: Hello everyone Boris Brezillon downloaded sunxi-nand-v6 now compiled for Cubieboard2 https://github.com/bbrezillon/linux-sunxi.git sunxi b-nand-v6 u-boot git clone

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

2014-10-21 Thread Matej Mužila
sizeof(__u8) is by definition 1 so it's perhaps surplus ? Now the size is now determined from the structure definition in include/uapi/linux/hyperv.h - C style comments for coding style Fixed Also your patch block is devoid of a few thins like the file name... I'm sorry, the (missing)

[PATCH] ARM: imx: simplify clk_pllv3_prepare()

2014-10-21 Thread Dmitry Voytik
ret variable is redundant. Call clk_pllv3_wait_lock() in the end return. Signed-off-by: Dmitry Voytik voyt...@gmail.com --- arch/arm/mach-imx/clk-pllv3.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/arm/mach-imx/clk-pllv3.c b/arch/arm/mach-imx/clk-pllv3.c index

Re: [PATCH 4/8] x86, microcode, intel: add error logging to early update driver

2014-10-21 Thread Henrique de Moraes Holschuh
On Mon, 20 Oct 2014, Borislav Petkov wrote: On Mon, Sep 08, 2014 at 02:37:50PM -0300, Henrique de Moraes Holschuh wrote: Enhance the logging in the Intel early microcode update driver to be able to report errors. Signed-off-by: Henrique de Moraes Holschuh h...@hmh.eng.br ---

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 15:42:23, Rafael J. Wysocki wrote: 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 ... );

[PATCH 1/4] ARM: introduce a CONFIG_ARCH_MULTIPLATFORM_STRICT Kconfig option

2014-10-21 Thread Xia Kaixu
The current allmodconfig kernel boot fails on OMAP4460. There are several configuration options that can only work on a subset of the available machines, and enabling them will break other machines that may be enabled in a multiplatform kernel. Now we introduce a CONFIG_ARCH_MULTIPLATFORM_STRICT

[PATCH 3/4] ARM: restrict CPU_BIG_ENDIAN configuration option

2014-10-21 Thread Xia Kaixu
Some platforms don't work when CPU_BIG_ENDIAN is enabled. So It can get a dependency on !ARCH_MULTIPLATFORM_STRICT. Signed-off-by: Xia Kaixu kaixu@linaro.org --- arch/arm/mm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index

[PATCH 2/4] ARM: change the corresponding arm/mach defconfigs

2014-10-21 Thread Xia Kaixu
The DEBUG_LL will get a dependency on !ARCH_MULTIPLATFORM_STRICT. So change the corresponding arm/mach defconfigs to disable ARCH_MULTIPLATFORM_STRICT and avoid break them. Signed-off-by: Xia Kaixu kaixu@linaro.org --- arch/arm/configs/bcm2835_defconfig | 1 +

[PATCH 4/4] ARM: allow errata and XIP options to be enabled without ARCH_MULTIPLATFORM_STRICT

2014-10-21 Thread Xia Kaixu
With the ARCH_MULTIPLATFORM_STRICT option, it becomes much easier to enable the ERRATA options when we know at configuration time that we don't care about the generic case. The previous configuration makes XIP_KERNEL option fundamentally non-MULTIPLATFORM, but it's still valid to select it when

Re: [PATCH 3/8] x86, microcode, intel: clarify log messages

2014-10-21 Thread Henrique de Moraes Holschuh
On Mon, 20 Oct 2014, Borislav Petkov wrote: On Mon, Sep 08, 2014 at 02:37:49PM -0300, Henrique de Moraes Holschuh wrote: The Intel microcode update driver will skip the second hardware thread on hyper-threaded cores during an update run, as the first hardware thread will have updated the

Re: [PATCH] staging: android: binder: move to the real part of the kernel

2014-10-21 Thread Arnd Bergmann
On Tuesday 21 October 2014 12:36:22 Pavel Machek wrote: On Fri 2014-10-17 01:12:21, Greg Kroah-Hartman wrote: On Thu, Oct 16, 2014 at 10:09:04AM -0700, John Stultz wrote: On Thu, Oct 16, 2014 at 5:47 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: From: Greg Kroah-Hartman

Re: [PATCH 3/5] hw_random: fix unregister race.

2014-10-21 Thread Herbert Xu
On Thu, Sep 18, 2014 at 12:18:24PM +0930, Rusty Russell wrote: The previous patch added one potential problem: we can still be reading from a hwrng when it's unregistered. Add a wait for zero in the hwrng_unregister path. Signed-off-by: Rusty Russell ru...@rustcorp.com.au ---

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

2014-10-21 Thread Dan Carpenter
On Tue, Oct 21, 2014 at 02:59:58PM +0200, Matej Mužila wrote: sizeof(__u8) is by definition 1 so it's perhaps surplus ? Now the size is now determined from the structure definition in include/uapi/linux/hyperv.h - C style comments for coding style Fixed Also your patch block is devoid

Re: [PATCH v2 4/6] hw_random: fix unregister race.

2014-10-21 Thread Herbert Xu
On Thu, Sep 18, 2014 at 08:37:45PM +0800, Amos Kong wrote: From: Rusty Russell ru...@rustcorp.com.au The previous patch added one potential problem: we can still be reading from a hwrng when it's unregistered. Add a wait for zero in the hwrng_unregister path. Signed-off-by: Rusty Russell

Re: [PATCH] power: reset: at91-reset: fix power down register

2014-10-21 Thread Nicolas Ferre
On 20/10/2014 20:27, Alexandre Belloni : In the case of at91sam9g45_restart(), the driver is writing AT91_DDRSDRC_LPCB_POWER_DOWN to AT91_DDRSDRC_RTR, this should actually be AT91_DDRSDRC_LPR. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Absolutely: Acked-by:

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 04:11:59 PM Michal Hocko wrote: On Tue 21-10-14 15:42:23, Rafael J. Wysocki wrote: 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)

<    7   8   9   10   11   12   13   14   15   16   >