Re: [PATCH 1/1] mfd: palmas: Add power off control

2013-07-31 Thread Bill Huang
On Tue, 2013-07-30 at 21:17 +0800, Nishanth Menon wrote: On 07/30/2013 07:05 AM, Bill Huang wrote: Hook up pm_power_off to palmas power off routine if there is DT property ti,system-power-controller defined, so platform which is powered by this regulator can be powered off properly.

Re: nouveau: check client.base.vm before dereferencing it.

2013-07-31 Thread Maarten Lankhorst
Op 31-07-13 00:55, Dave Jones schreef: On Thu, Jul 25, 2013 at 12:22:03PM -0400, Dave Jones wrote: This recently started happening (since the last DRM merge, 3.10 was fine). [ 17.751970] Oops: [#1] PREEMPT SMP DEBUG_PAGEALLOC [ 17.753911] CPU: 3 PID: 292 Comm: systemd-udevd

linux-next: manual merge of the msm tree with the arm tree

2013-07-31 Thread Stephen Rothwell
Hi David, Today's linux-next merge of the msm tree got a conflict in arch/arm/Kconfig.debug between several commits from the arm tree and commit 7bd51cd4526d (ARM: msm: Move debug-macro.S to include/debug) from the msm tree. I fixed it up (I think - see below) and can carry the fix as necessary

Re: [PATCH 1/9] workqueue: mark WQ_NON_REENTRANT deprecated

2013-07-31 Thread Lai Jiangshan
On 07/30/2013 08:40 PM, Tejun Heo wrote: dbf2576e37 (workqueue: make all workqueues non-reentrant) made WQ_NON_REENTRANT no-op but the following patches didn't remove the flag or update the documentation. Let's mark the flag deprecated and update the documentation accordingly.

Re: [PATCH 26/36] SCSI: st: convert class code to use dev_groups

2013-07-31 Thread Kai Mäkisara
On 25.7.2013, at 1.05, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: The dev_attrs field of struct class is going away soon, dev_groups should be used instead. This converts the scsi tape class code to use the correct field. Cc: Kai Mäkisara kai.makis...@kolumbus.fi Cc: James E.J.

Re: XFS undeletable files. (3.11rc3)

2013-07-31 Thread Markus Trippelsdorf
On 2013.07.30 at 16:26 -0400, Dave Jones wrote: On Thu, Jul 25, 2013 at 02:15:38PM +1000, Dave Chinner wrote: On Thu, Jul 11, 2013 at 10:39:30PM -0400, Dave Jones wrote: Just saw this during boot after an unclean shutdown. It hung afterwards. [ 97.162665] XFS: Assertion failed:

Re: [PATCH] pinctrl: tegra: add valid function name on DT document

2013-07-31 Thread Laxman Dewangan
On Tuesday 30 July 2013 11:46 PM, Stephen Warren wrote: On 07/30/2013 05:04 AM, Laxman Dewangan wrote: Add valid property name for the property nvidia,function in DT binding document of Tegra pincontrol. I have applied this to Tegra's for-3.12/dt branch, but I fixed up quite a few issues along

[PATCH v3 0/4] ASoc: kirkwood: extend the kirkwood audio subsystem for DT usage

2013-07-31 Thread Jean-Francois Moine
This patch series adds DT support to the kirkwood audio subsystem. It cancels the previous patch requests: - ARM: kirkwood: enable S/PDIF - ARM: kirkwood: extend the kirkwood i2s driver for DT usage - ARM: kirkwood: extend the kirkwood pcm/dma driver for DT usage It also contains the merge of

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-31 Thread Felipe Balbi
Hi, On Wed, Jul 31, 2013 at 11:14:32AM +0530, Kishon Vijay Abraham I wrote: IMHO we need a lookup method for PHYs, just like for clocks, regulators, PWMs or even i2c busses because there are complex cases when passing just a name using platform data will not work. I would second what

[PATCH v3 3/4] ASoc: kirkwood: add DT support

2013-07-31 Thread Jean-Francois Moine
The kirkwood audio driver is used without DT in the Kirkwood machine. This patch adds a DT compatible definition for use in other Marvell machines such as the Armada 88AP510 (Dove). Signed-off-by: Jean-Francois Moine moin...@free.fr --- sound/soc/kirkwood/kirkwood-i2s.c| 27

[PATCH v3 1/4] ASoc: kirkwood: simplify probe error

2013-07-31 Thread Jean-Francois Moine
The function kirkwood_i2s_dev_remove() may be used when probe fails. Signed-off-by: Jean-Francois Moine moin...@free.fr --- sound/soc/kirkwood/kirkwood-i2s.c | 40 +++--- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/sound/soc/kirkwood/kirkwood-i2s.c

[PATCH v3 2/4] ASoc: kirkwood: merge kirkwood-i2c and kirkwood-dma

2013-07-31 Thread Jean-Francois Moine
To avoid the declaration of a 'kirkwood-pcm-audio' device in the DT, this patch merges the kirkwood-i2c and kirkwood-dma drivers into one module associated with 'kirkwood-i2s'. Signed-off-by: Jean-Francois Moine moin...@free.fr --- arch/arm/mach-kirkwood/common.c | 6 --

[PATCH v3 4/4] ASoC: kirkwood: change kirkwood-i2s to mvebu-pcm-audio and DT doc

2013-07-31 Thread Jean-Francois Moine
As the kirkwood audio system may be used in other Marvell machines (mvebu), this patch changes the name of the audio driver to 'mvebu-pcm-audio' and also contains the associated DT documentation. Signed-off-by: Jean-Francois Moine moin...@free.fr ---

Re: [PATCH 01/18] mm, hugetlb: protect reserved pages when softofflining requests the pages

2013-07-31 Thread Hillf Danton
On Wed, Jul 31, 2013 at 12:41 PM, Joonsoo Kim iamjoonsoo@lge.com wrote: On Wed, Jul 31, 2013 at 10:49:24AM +0800, Hillf Danton wrote: On Wed, Jul 31, 2013 at 10:27 AM, Joonsoo Kim iamjoonsoo@lge.com wrote: On Mon, Jul 29, 2013 at 03:24:46PM +0800, Hillf Danton wrote: On Mon, Jul 29,

Re: [PATCH 2/3] selftests: Add support files for powerpc tests

2013-07-31 Thread Michael Ellerman
On Wed, Jul 31, 2013 at 02:56:32PM +1000, Michael Ellerman wrote: This commit adds support code used by upcoming powerpc tests. Fudge, I broke this one while cleaning it up. Will send a v2. cheers -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH RFC V11 15/18] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-07-31 Thread Gleb Natapov
On Tue, Jul 30, 2013 at 10:13:12PM +0530, Raghavendra K T wrote: On 07/25/2013 03:08 PM, Raghavendra K T wrote: On 07/25/2013 02:45 PM, Gleb Natapov wrote: On Thu, Jul 25, 2013 at 02:47:37PM +0530, Raghavendra K T wrote: On 07/24/2013 06:06 PM, Raghavendra K T wrote: On 07/24/2013 05:36 PM,

Re: [PATCH 1/2] mm: add support for discard of unused ptes

2013-07-31 Thread Martin Schwidefsky
On Tue, 30 Jul 2013 13:44:22 -0700 Andrew Morton a...@linux-foundation.org wrote: On Thu, 25 Jul 2013 10:54:20 +0200 Martin Schwidefsky schwidef...@de.ibm.com wrote: From: Konstantin Weitz konstantin.we...@gmail.com In a virtualized environment and given an appropriate interface the

[PATCH 1/2] Staging: rtl8192e: add missing single_release()

2013-07-31 Thread Li Zefan
The debug file is opened with single_open(), but there's no single_release(). Signed-off-by: Li Zefan lize...@huawei.com --- drivers/staging/rtl8192e/rtllib_module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtllib_module.c

[PATCH 2/2] Staging: rtl8192u/ieee80211: add missing single_release()

2013-07-31 Thread Li Zefan
The debug file is opened with single_open(), but there's no single_release(). Signed-off-by: Li Zefan lize...@huawei.com --- drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] mm: for shm_open()/mmap() with OVERCOMMIT_NEVER, return -1 if no memory avail

2013-07-31 Thread Hugh Dickins
On Tue, 30 Jul 2013, Azat Khuzhin wrote: Otherwize if there is no left space on shmem device, there will be Bus error when application will try to write to address space that was returned by mmap(2) This patch also preserve old behaviour if MAP_NORESERVE/VM_NORESERVE isset. So, with

Re: [PATCH 01/18] mm, hugetlb: protect reserved pages when softofflining requests the pages

2013-07-31 Thread Joonsoo Kim
On Wed, Jul 31, 2013 at 02:21:38PM +0800, Hillf Danton wrote: On Wed, Jul 31, 2013 at 12:41 PM, Joonsoo Kim iamjoonsoo@lge.com wrote: On Wed, Jul 31, 2013 at 10:49:24AM +0800, Hillf Danton wrote: On Wed, Jul 31, 2013 at 10:27 AM, Joonsoo Kim iamjoonsoo@lge.com wrote: On Mon, Jul

Re: [PATCH] ARM: shmobile: emev2: add PMU information to emev2.dtsi

2013-07-31 Thread Simon Horman
On Wed, Jul 24, 2013 at 12:42:40PM +0900, Magnus Damm wrote: From: Magnus Damm d...@opensource.se Add PMU information to emev2.dtsi. With this included KZM9D DT reference may use the PMU. Thanks, I will queue this up for v3.12 in the dt2 branch. Signed-off-by: Magnus Damm

Re: [PATCH] ARM: shmobile: r8a7740: add PMU information to r8a7740.dtsi

2013-07-31 Thread Simon Horman
On Wed, Jul 24, 2013 at 12:59:09PM +0900, Magnus Damm wrote: From: Magnus Damm d...@opensource.se Add PMU information to r8a7740.dtsi. With this included Armadillo800eva DT reference may use the PMU. Signed-off-by: Magnus Damm d...@opensource.se Thanks, I will queue this up for v3.12 in

Re: [PATCH V8 00/33] loop: Issue O_DIRECT aio using bio_vec

2013-07-31 Thread Sedat Dilek
On Wed, Jul 31, 2013 at 2:43 AM, Dave Chinner da...@fromorbit.com wrote: On Tue, Jul 30, 2013 at 02:28:20PM -0700, Andrew Morton wrote: On Thu, 25 Jul 2013 12:50:26 -0500 Dave Kleikamp dave.kleik...@oracle.com wrote: This patch series adds a kernel interface to fs/aio.c so that kernel code

Re: [PATCH] ARM: shmobile: sh73a0: add PMU information to sh73a0.dtsi

2013-07-31 Thread Simon Horman
On Wed, Jul 24, 2013 at 12:45:03PM +0900, Magnus Damm wrote: From: Magnus Damm d...@opensource.se Add PMU information to sh73a0.dtsi. With this included KZM9G DT reference may use the PMU. Signed-off-by: Magnus Damm d...@opensource.se Thanks, I will queue this up for v3.12 in the dt2

Re: ROM Patching (was: [PATCH] bluetooth: remove wrong dependency for BT_ATH3K)

2013-07-31 Thread Johannes Berg
On Tue, 2013-07-30 at 15:48 -0700, Luis R. Rodriguez wrote: Neat. Perhaps we need something that we can share with 802.11 or other hardare I highly doubt we're the only ones patching ROM. Don't we even patch up core CPUs? I'm wondering if firmware_class could be expanded to support serialized

Re: [PATCH 00/11] Sync and VFS scalability improvements

2013-07-31 Thread Sedat Dilek
On Wed, Jul 31, 2013 at 6:15 AM, Dave Chinner da...@fromorbit.com wrote: Hi folks, This series of patches is against the curent mmotm tree here: http://git.cmpxchg.org/cgit/linux-mmotm.git/ Current is not precise enough... above tree has git-tags. I guess you mean

Re: [Update][PATCH 0/3] Fix backlight issues on some Windows 8 systems

2013-07-31 Thread Igor Gnatenko
On Wed, 2013-07-31 at 02:01 +0200, Rafael J. Wysocki wrote: On Thursday, July 18, 2013 02:16:09 AM Rafael J. Wysocki wrote: On Sunday, June 09, 2013 07:01:36 PM Matthew Garrett wrote: Windows 8 introduced new policy for backlight control by pushing it out to graphics drivers. This appears

Re: [PATCH 1/3] ACPI / PM: Only set power states of devices that are power manageable

2013-07-31 Thread Aaron Lu
On 07/30/2013 10:04 PM, Rafael J. Wysocki wrote: On Tuesday, July 30, 2013 07:43:48 AM Aaron Lu wrote: On 07/30/2013 06:21 AM, Rafael J. Wysocki wrote: On Monday, July 29, 2013 10:09:53 PM Aaron Lu wrote: On 07/27/2013 09:10 PM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki

Re: [PATCH 2/3] ACPI / PM: Make messages in acpi_device_set_power() print device names

2013-07-31 Thread Aaron Lu
On 07/29/2013 08:20 PM, Rafael J. Wysocki wrote: On Monday, July 29, 2013 10:29:36 AM Aaron Lu wrote: On 07/27/2013 09:11 PM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Modify acpi_device_set_power() so that diagnostic messages printed by it to the kernel log

[PATCH v2] selftests: Add support files for powerpc tests

2013-07-31 Thread Michael Ellerman
This commit adds support code used by upcoming powerpc tests. Signed-off-by: Michael Ellerman mich...@ellerman.id.au --- v2: Put back the SIGALRM handler to make the hang logic work. tools/testing/selftests/powerpc/harness.c | 99 +++

[PATCH v2 1/1] mfd: palmas: Add power off control

2013-07-31 Thread Bill Huang
Hook up pm_power_off to palmas power off routine if there is DT property ti,system-power-controller defined, so platform which is powered by this regulator can be powered off properly. Based on work by: Mallikarjun Kasoju mkas...@nvidia.com Signed-off-by: Bill Huang bilhu...@nvidia.com cc:

Re: [PATCH] drivers: power: reset: add msm restart support

2013-07-31 Thread Stephen Boyd
On 07/30, Abhimanyu Kapur wrote: Add support for restart and poweroff functionality present on MSM chipsets with the MPM2 ps-hold hardware. Signed-off-by: Abhimanyu Kapur abhim...@codeaurora.org --- Thanks, this version looks good. Feel free to add my reviewed-by: Reviewed-by: Stephen Boyd

Re: [PATCH] ARM: shmobile: emev2: add PMU information to emev2.dtsi

2013-07-31 Thread Simon Horman
for v3.12 in the dt2 branch. When booting a debian armel userspace with this patch applied on top of renesas-devel-20130731 I see the following. I do not observe this problem with the sh73a0 or r8a7740 versions of this patch applied, though I assume that in the case of the r8a7740 that is because

Re: [PATCH] ARM: shmobile: emev2: add PMU information to emev2.dtsi

2013-07-31 Thread Magnus Damm
. With this included KZM9D DT reference may use the PMU. Thanks, I will queue this up for v3.12 in the dt2 branch. When booting a debian armel userspace with this patch applied on top of renesas-devel-20130731 I see the following. I do not observe this problem with the sh73a0 or r8a7740 versions

Re: [PATCH] drivers: power: reset: add msm restart support

2013-07-31 Thread Ivan T. Ivanov
Hi, On Tue, 2013-07-30 at 17:05 -0700, Abhimanyu Kapur wrote: Add support for restart and poweroff functionality present on MSM chipsets with the MPM2 ps-hold hardware. Signed-off-by: Abhimanyu Kapur abhim...@codeaurora.org --- .../bindings/power_supply/msm-poweroff.txt | 17

Re: [PATCH 2/2] Convert PowerPC macro spin_event_timeout() to architecture independent macro

2013-07-31 Thread Stephen Boyd
On 07/30, Arpit Goel wrote: This patch ports PowerPC implementation of spin_event_timeout() for generic use. Architecture specific implementation can be added to asm/delay.h, which will override the generic linux implementation. Signed-off-by: Arpit Goel b44...@freescale.com --- We use

[PATCH RFC v3 1/5] dma: mpc512x: reorder mpc8308 specific instructions

2013-07-31 Thread Alexander Popov
From: Gerhard Sittig g...@denx.de Concentrate the test and the specific code for MPC8308 in the 'if' branch and handle MPC512x in the 'else' branch. This modification only reorders instructions but doesn't change behaviour. Signed-off-by: Alexander Popov a13xp0p0...@gmail.com ---

[PATCH RFC v3 2/5] dma: mpc512x: add support for peripheral transfers

2013-07-31 Thread Alexander Popov
Introduce support for slave s/g transfer preparation and the associated device control callback in the MPC512x DMA controller driver, which adds support for data transfers between memory and peripheral I/O to the previously supported mem-to-mem transfers. Refuse to prepare chunked transfers

linux-next: Tree for Jul 31

2013-07-31 Thread Stephen Rothwell
Hi all, Changes since 20130730: Added tree: xen-tip Removed trees: xen, xen-two (replaced by the above tree) The ext4 tree still has its build failure so I used the version from next-20130726. The next-next tree lost its build failure. The usb-gadget tree still had its build failure so I

[no subject]

2013-07-31 Thread Mr. Dave Dawes
Hello, This is a personal email directed to you. I am Dave Dawes, I and my fiance won a Jackpot Lottery of 101 million pounds ( $156 million ) in October, and have voluntarily decided to donate the sum of 1 Million Pounds ( $1.56 million USD ) to you as part of our own charity project to improve

Re: Replace in linux-next the xen, xen-two, xen-arm with xen/tip.git tree instead.

2013-07-31 Thread Stephen Rothwell
Hi Konrad, On Tue, 30 Jul 2013 15:53:16 -0400 Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: I was wondering if it would be possible to remove from linux-next the three xen trees and instead use a combined tree, similar to the x86 tip (so the various maintainers share it)? The ones

Re: [PATCH 04/12] KVM: MMU: log dirty page after marking spte writable

2013-07-31 Thread Xiao Guangrong
On 07/30/2013 09:26 PM, Paolo Bonzini wrote: Il 30/07/2013 15:02, Xiao Guangrong ha scritto: Make sure we can see the writable spte before the dirt bitmap is visible We do this is for kvm_vm_ioctl_get_dirty_log() write-protects the spte based on the dirty bitmap, we should ensure the writable

Re: Enable arm_global_timer for Zynq brakes boot

2013-07-31 Thread Daniel Lezcano
On 07/31/2013 12:34 AM, Sören Brinkmann wrote: On Tue, Jul 30, 2013 at 10:47:15AM +0200, Daniel Lezcano wrote: On 07/30/2013 02:03 AM, Sören Brinkmann wrote: Hi Daniel, On Mon, Jul 29, 2013 at 02:51:49PM +0200, Daniel Lezcano wrote: (snip) the CPUIDLE_FLAG_TIMER_STOP flag tells the cpuidle

Re: [PATCH] ARM: shmobile: emev2: add PMU information to emev2.dtsi

2013-07-31 Thread Simon Horman
...@opensource.se Add PMU information to emev2.dtsi. With this included KZM9D DT reference may use the PMU. Thanks, I will queue this up for v3.12 in the dt2 branch. When booting a debian armel userspace with this patch applied on top of renesas-devel-20130731 I see the following

Re: [PATCH 05/12] KVM: MMU: add spte into rmap before logging dirty page

2013-07-31 Thread Xiao Guangrong
On 07/30/2013 09:27 PM, Paolo Bonzini wrote: Il 30/07/2013 15:02, Xiao Guangrong ha scritto: kvm_vm_ioctl_get_dirty_log() write-protects the spte based on the dirty bitmap, we should ensure the writable spte can be found in rmap before the dirty bitmap is visible. Otherwise, we cleared the

[GIT] Networking

2013-07-31 Thread David Miller
1) Fix association failures not triggering a connect-failure event in cfg80211, from Johannes Berg. 2) Eliminate a potential NULL deref with older iptables tools when configuring xt_socket rules, from Eric Dumazet. 3) Missing RTNL locking in wireless regulatory code, from Johannes

Re: [PATCH 4/4] ARM: sun6i: Enable clock support in the DTSI

2013-07-31 Thread Maxime Ripard
Hi Emilio, On Tue, Jul 30, 2013 at 10:36:46PM -0300, Emilio López wrote: Hi Maxime, Overall this looks good to me, but I have some small comments: El 30/07/13 11:44, Maxime Ripard escribió: Now that the clock driver has support for the A31 clocks, we can add them to the DTSI and start

Re: memcg creates an unkillable task in 3.11-rc2

2013-07-31 Thread Michal Hocko
[I am CCing David here as well] On Tue 30-07-13 09:37:46, Eric W. Biederman wrote: Michal Hocko mho...@suse.cz writes: On Tue 30-07-13 01:19:31, Eric W. Biederman wrote: [...] Hmm. Looking farther I see what is going on. And it has nothing to do with the freezer. (I have commented out

[ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

2013-07-31 Thread Tony Lindgren
Hi all, Probably the biggest kernel data bloat issue is in the ARM land, but it also seems that it's becoming a Linux generic issue too, so I guess it could be discussed in either context. The kernel data bloat issue is slightly related to the devicetree talks as well as I'm seeing a lot of the

Re: ROM Patching (was: [PATCH] bluetooth: remove wrong dependency for BT_ATH3K)

2013-07-31 Thread Luis R. Rodriguez
On Tue, Jul 30, 2013 at 11:46 PM, Johannes Berg johan...@sipsolutions.net wrote: On Tue, 2013-07-30 at 15:48 -0700, Luis R. Rodriguez wrote: Neat. Perhaps we need something that we can share with 802.11 or other hardare I highly doubt we're the only ones patching ROM. Don't we even patch up

Re: [PATCH 02/18] sched: Track NUMA hinting faults on per-node basis

2013-07-31 Thread Mel Gorman
On Wed, Jul 17, 2013 at 12:50:30PM +0200, Peter Zijlstra wrote: On Mon, Jul 15, 2013 at 04:20:04PM +0100, Mel Gorman wrote: index cc03cfd..c5f773d 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -503,6 +503,17 @@ DECLARE_PER_CPU(struct rq, runqueues); #define

Re: [PATCH 02/18] sched: Track NUMA hinting faults on per-node basis

2013-07-31 Thread Mel Gorman
On Mon, Jul 29, 2013 at 12:10:59PM +0200, Peter Zijlstra wrote: On Mon, Jul 15, 2013 at 04:20:04PM +0100, Mel Gorman wrote: +++ b/kernel/sched/fair.c @@ -815,7 +815,14 @@ void task_numa_fault(int node, int pages, bool migrated) if (!sched_feat_numa(NUMA)) return;

Re: [PATCH v2 26/42] USB: ohci-at91: add usb_clk for transition to common clk framework

2013-07-31 Thread boris brezillon
Hello Alan, I don't know if you remember but a few days back I sent a series which included this patch (ARM: at91: prepare transition to common clk framework). It was decided to move this patch out of the prepare series to avoid backward compatility handling. Things have changed a little

Re: [PATCH] KVM: introduce __kvm_io_bus_sort_cmp

2013-07-31 Thread Cornelia Huck
On Tue, 30 Jul 2013 17:05:37 +0200 Paolo Bonzini pbonz...@redhat.com wrote: kvm_io_bus_sort_cmp is used also directly, not just as a callback for sort and bsearch. In these cases, it is handy to have a type-safe variant. This patch introduces such a variant, __kvm_io_bus_sort_cmp, and uses

Re: [PATCH 04/18] mm: numa: Do not migrate or account for hinting faults on the zero page

2013-07-31 Thread Mel Gorman
On Wed, Jul 17, 2013 at 01:00:53PM +0200, Peter Zijlstra wrote: On Mon, Jul 15, 2013 at 04:20:06PM +0100, Mel Gorman wrote: The zero page is not replicated between nodes and is often shared between processes. The data is read-only and likely to be cached in local CPUs if heavily accessed

Re: [PATCH v2 0/2] HID special drivers converted to devres API

2013-07-31 Thread Jiri Kosina
On Wed, 24 Jul 2013, Benjamin Tissoires wrote: Hi guys, this is the v2 of this series. Good stuff, thanks a lot. Applied now. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

[PATCH 2/7] cgroup: remove sparse tags from offline_css()

2013-07-31 Thread Li Zefan
This should have been removed in commit d7eeac1913ff (cgroup: hold cgroup_mutex before calling css_offline). While at it, update the comments. Signed-off-by: Li Zefan lize...@huawei.com --- kernel/cgroup.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/cgroup.c

[PATCH 1/7] cgroup: fix a leak when percpu_ref_init() fails

2013-07-31 Thread Li Zefan
ss-css_free() is not called when perfcpu_ref_init() fails. Signed-off-by: Li Zefan lize...@huawei.com --- kernel/cgroup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index a64b7b8..e60eba2 100644 --- a/kernel/cgroup.c +++

Re: [patch 2/2] [PATCH] mm: Save soft-dirty bits on file pages

2013-07-31 Thread Pavel Emelyanov
On 07/31/2013 12:41 AM, Cyrill Gorcunov wrote: Andy reported that if file page get reclaimed we loose soft-dirty bit if it was there, so save _PAGE_BIT_SOFT_DIRTY bit when page address get encoded into pte entry. Thus when #pf happens on such non-present pte we can restore it back.

[PATCH 4/7] cgroup: rename cgroup_pidlist-mutex

2013-07-31 Thread Li Zefan
It's a semaphore not a mutex. Signed-off-by: Li Zefan lize...@huawei.com --- kernel/cgroup.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index f0d7f5d..0d378b1 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@

[PATCH 3/7] cgroup: restructure the failure path in cgroup_write_event_control()

2013-07-31 Thread Li Zefan
It uses a single label and checks the validity of each pointer. This is err-prone, and actually we once had a bug because one of the check was insufficient. Use multi lables as we do in other places. Signed-off-by: Li Zefan lize...@huawei.com --- kernel/cgroup.c | 33

[PATCH 0/7] some pending cgroup patches

2013-07-31 Thread Li Zefan
The first one is a small bug fix, and the rest are pure cleanups. Li Zefan (7): cgroup: fix a leak when percpu_ref_init() fails cgroup: remove sparse tags from offline_css() cgroup: restructure the failure path in cgroup_write_event_control() cgroup: rename

[PATCH 6/7] cgroup: rename current_css_set_cg_links

2013-07-31 Thread Li Zefan
As we've renamed css_set-cg_links to css_set-cgrp_links (See commit 69d0206c79 cgroup: bring some sanity to naming around cg_cgroup_link), it's better to also rename the debug file. As the debug cgroup subsystem is for debug only and acts as a sample on how to write a cgroup subsystem, it's fine

[PATCH 5/7] cgroup: remove struct cgroup_seqfile_state

2013-07-31 Thread Li Zefan
We can use struct struct cfent instead. Signed-off-by: Li Zefan lize...@huawei.com --- kernel/cgroup.c | 38 -- 1 file changed, 12 insertions(+), 26 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 0d378b1..ac77d87 100644 ---

[PATCH 7/7] cgroup: more naming cleanups

2013-07-31 Thread Li Zefan
Constantly use @cset for css_set varabbles and use @cgrp as cgroup variables. Signed-off-by: Li Zefan lize...@huawei.com --- include/linux/cgroup.h | 6 +++--- kernel/cgroup.c| 26 +- kernel/cpuset.c| 16 3 files changed, 24

Re: [PATCH] sky2: detect and prevent kernel panic from a possible faulty hardware

2013-07-31 Thread Oliver Neukum
On Tue, 2013-07-30 at 16:19 -0700, David Miller wrote: From: Samuel Williams sam8...@gmail.com Date: Sat, 27 Jul 2013 15:35:54 -0500 A possible faulty hardware might interrupt with a status of 0x which may kernel panic if sky2 driver tries to handle it. Detecting this problem may

Re: [patch 1/2] [PATCH] mm: Save soft-dirty bits on swapped pages

2013-07-31 Thread Pavel Emelyanov
On 07/31/2013 12:41 AM, Cyrill Gorcunov wrote: Andy Lutomirski reported that in case if a page with _PAGE_SOFT_DIRTY bit set get swapped out, the bit is getting lost and no longer available when pte read back. To resolve this we introduce _PTE_SWP_SOFT_DIRTY bit which is saved in pte entry

cris/for-next

2013-07-31 Thread Geert Uytterhoeven
Hi Jesper, Is there any chance cris/for-next will land in mainline anytime soon? It's last change was more than 3 months ago. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-07-31 Thread Javier Martinez Canillas
On 07/31/2013 01:44 AM, Linus Walleij wrote: On Tue, Jul 30, 2013 at 6:30 AM, Grant Likely grant.lik...@linaro.org wrote: On Mon, Jul 29, 2013 at 6:36 AM, Linus Walleij linus.wall...@linaro.org wrote: To solve this dilemma, perform an interrupt consistency check when adding a GPIO chip: if

[PATCH v3] xfs: introduce object readahead to log recovery

2013-07-31 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com It can take a long time to run log recovery operation because it is single threaded and is bound by read latency. We can find that it took most of the time to wait for the read IO to occur, so if one object readahead is introduced to log recovery, it

Re: [PATCH] sched, numa: migrates_degrades_locality()

2013-07-31 Thread Mel Gorman
On Thu, Jul 25, 2013 at 12:40:09PM +0200, Peter Zijlstra wrote: Subject: sched, numa: migrates_degrades_locality() From: Peter Zijlstra pet...@infradead.org Date: Mon Jul 22 14:02:54 CEST 2013 It just makes heaps of sense; so add it and make both it and migrate_improve_locality() a

Re: [PATCH] sched, numa: migrates_degrades_locality()

2013-07-31 Thread Peter Zijlstra
On Wed, Jul 31, 2013 at 09:44:11AM +0100, Mel Gorman wrote: On Thu, Jul 25, 2013 at 12:40:09PM +0200, Peter Zijlstra wrote: Subject: sched, numa: migrates_degrades_locality() From: Peter Zijlstra pet...@infradead.org Date: Mon Jul 22 14:02:54 CEST 2013 It just makes heaps of sense;

[PATCH] Revert mm/memory-hotplug: fix lowmem count overflow when offline pages

2013-07-31 Thread Joonyoung Shim
This reverts commit cea27eb2a202959783f81254c48c250ddd80e129. Fixed to adjust totalhigh_pages when hot-removing memory by commit 3dcc0571cd64816309765b7c7e4691a4cadf2ee7, so that commit occurs duplicated decreasing of totalhigh_pages. Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com --- The

[tip:perf/core] perf: Sanitize get_callchain_buffer()

2013-07-31 Thread tip-bot for Frederic Weisbecker
Commit-ID: 90983b16078ab0fdc58f0dab3e8e3da79c9579a2 Gitweb: http://git.kernel.org/tip/90983b16078ab0fdc58f0dab3e8e3da79c9579a2 Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Tue, 23 Jul 2013 02:31:00 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 30 Jul 2013

[tip:perf/core] perf: Factor out event accounting code to account_event()/__free_event()

2013-07-31 Thread tip-bot for Frederic Weisbecker
Commit-ID: 766d6c076928191d75ad5b0d0f58f52b1e7682d8 Gitweb: http://git.kernel.org/tip/766d6c076928191d75ad5b0d0f58f52b1e7682d8 Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Tue, 23 Jul 2013 02:31:01 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 30 Jul 2013

[tip:sched/urgent] sched: Ensure update_cfs_shares() is called for parents of continuously-running tasks

2013-07-31 Thread tip-bot for Peter Zijlstra
Commit-ID: bf0bd948d1682e3996adc093b43021ed391983e6 Gitweb: http://git.kernel.org/tip/bf0bd948d1682e3996adc093b43021ed391983e6 Author: Peter Zijlstra pet...@infradead.org AuthorDate: Fri, 26 Jul 2013 23:48:42 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 30 Jul 2013

[tip:perf/core] perf: Fix branch stack refcount leak on callchain init failure

2013-07-31 Thread tip-bot for Frederic Weisbecker
Commit-ID: 6050cb0b0b366092d1383bc23d7b16cd26db00f0 Gitweb: http://git.kernel.org/tip/6050cb0b0b366092d1383bc23d7b16cd26db00f0 Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Tue, 23 Jul 2013 02:30:59 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 30 Jul 2013

[PATCH 2/3] backlight: lm3639: Don't mix different enum types

2013-07-31 Thread Jingoo Han
Don't mix different enum types to fix the sparse warnings. drivers/video/backlight/lm3639_bl.c:80:51: warning: mixing different enum types drivers/video/backlight/lm3639_bl.c:80:51: int enum lm3639_fleds versus drivers/video/backlight/lm3639_bl.c:80:51: int enum lm3639_bleds

[tip:perf/core] perf: Implement finer grained full dynticks kick

2013-07-31 Thread tip-bot for Frederic Weisbecker
Commit-ID: d84153d6c96f61aa06429586284639f32debf03e Gitweb: http://git.kernel.org/tip/d84153d6c96f61aa06429586284639f32debf03e Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Tue, 23 Jul 2013 02:31:05 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 30 Jul 2013

[tip:perf/core] perf: Split the per-cpu accounting part of the event accounting code

2013-07-31 Thread tip-bot for Frederic Weisbecker
Commit-ID: 4beb31f3657348a8b702dd014d01c520e522012f Gitweb: http://git.kernel.org/tip/4beb31f3657348a8b702dd014d01c520e522012f Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Tue, 23 Jul 2013 02:31:02 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 30 Jul 2013

[tip:perf/core] perf: Account freq events per cpu

2013-07-31 Thread tip-bot for Frederic Weisbecker
Commit-ID: ba8a75c16e292c0a3a87406a77508cbbc6cf4ee2 Gitweb: http://git.kernel.org/tip/ba8a75c16e292c0a3a87406a77508cbbc6cf4ee2 Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Tue, 23 Jul 2013 02:31:04 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 30 Jul 2013

[tip:perf/core] perf: Migrate per cpu event accounting

2013-07-31 Thread tip-bot for Frederic Weisbecker
Commit-ID: 9a545de019b536771feefb76f85e5038b65c2190 Gitweb: http://git.kernel.org/tip/9a545de019b536771feefb76f85e5038b65c2190 Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Tue, 23 Jul 2013 02:31:03 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 30 Jul 2013

[tip:perf/core] watchdog: Make it work under full dynticks

2013-07-31 Thread tip-bot for Frederic Weisbecker
Commit-ID: 93786a5f6aeb9c032c1c240246c5aabcf457b38f Gitweb: http://git.kernel.org/tip/93786a5f6aeb9c032c1c240246c5aabcf457b38f Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Tue, 23 Jul 2013 02:31:06 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 30 Jul 2013

Re: [PATCH 4/4] efi: x86: make efi_lookup_mapped_addr() a common function

2013-07-31 Thread Matt Fleming
On 07/30/2013 05:47 PM, Leif Lindholm wrote: efi_lookup_mapped_addr() is a handy utility for other platforms than x86. Move it from arch/x86 to drivers/firmware/efi. This function will be used by future ARM patches. Signed-off-by: Leif Lindholm leif.lindh...@linaro.org ---

[PATCH 3/3] backlight: lp8788: Staticize 'default_bl_config'

2013-07-31 Thread Jingoo Han
Fix the following sparse warnings: drivers/video/backlight/lp8788_bl.c:55:25: warning: symbol 'default_bl_config' was not declared. Should it be static? Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/video/backlight/lp8788_bl.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH 1/3] backlight: ld9040: Staticize local variable gamma_table

2013-07-31 Thread Jingoo Han
Fix the following sparse warnings: drivers/video/backlight/ld9040_gamma.h:172:3: warning: symbol 'gamma_table' was not declared. Should it be static? Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/video/backlight/ld9040_gamma.h |2 +- 1 file changed, 1 insertion(+), 1

[tip:sched/core] generic-ipi: Kill unnecessary variable - csd_flags

2013-07-31 Thread tip-bot for Xie XiuQi
Commit-ID: 46591962cb5bfd2bfb0baf42497119c816503598 Gitweb: http://git.kernel.org/tip/46591962cb5bfd2bfb0baf42497119c816503598 Author: Xie XiuQi xiexi...@huawei.com AuthorDate: Tue, 30 Jul 2013 11:06:09 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 30 Jul 2013 22:19:05

[tip:core/urgent] mutex: Fix w/w mutex deadlock injection

2013-07-31 Thread tip-bot for Maarten Lankhorst
Commit-ID: 85f4896123d0299128f2c95cc40f3b8b01d4b0f6 Gitweb: http://git.kernel.org/tip/85f4896123d0299128f2c95cc40f3b8b01d4b0f6 Author: Maarten Lankhorst maarten.lankho...@canonical.com AuthorDate: Tue, 30 Jul 2013 10:13:41 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 30

Re: [PATCH] ARM: Fix r7/r11 confusion when CONFIG_THUMB2_KERNEL=y [OT]

2013-07-31 Thread Jean-Francois Moine
On Tue, 30 Jul 2013 10:49:04 +0100 Will Deacon will.dea...@arm.com wrote: On Tue, Jul 30, 2013 at 10:38:53AM +0100, Jean-Francois Moine wrote: BTW, kernels compiled with gcc-4.8 don't work. Erm. Can you elaborate please? There was an issue where SLUB would get miscompiled with 4.8 due to

[PATCH 03/13] tracing/kprobes: Make stack and memory fetch functions static

2013-07-31 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Those fetch functions need to be implemented differently for kprobes and uprobes. Since the symbol and deref fetch functions don't call those directly anymore, we can make them static and implement them separately. Cc: Masami Hiramatsu

[PATCH 09/13] tracing/uprobes: Fix a comment for uprobe registration syntax

2013-07-31 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The uprobe syntax requires an offset after a file path not a symbol. Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Cc: Oleg Nesterov o...@redhat.com Cc: zhangwei(Jovi) jovi.zhang...@huawei.com Cc:

[PATCH 11/13] tracing/uprobes: Add more fetch functions

2013-07-31 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Implement uprobe-specific stack and memory fetch functions and add them to the uprobes_fetch_type_table. Other fetch fucntions will be shared with kprobes. Original-patch-by: Hyeoncheol Lee cheol@lge.com Cc: Masami Hiramatsu

Re: [PATCH] KVM: introduce __kvm_io_bus_sort_cmp

2013-07-31 Thread Gleb Natapov
On Tue, Jul 30, 2013 at 05:05:37PM +0200, Paolo Bonzini wrote: kvm_io_bus_sort_cmp is used also directly, not just as a callback for sort and bsearch. In these cases, it is handy to have a type-safe variant. This patch introduces such a variant, __kvm_io_bus_sort_cmp, and uses it throughout

[PATCH 10/13] tracing/kprobes: Add priv argument to fetch functions

2013-07-31 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com This argument is for passing private data structure to each fetch function and will be used by uprobes. Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Cc: Oleg Nesterov o...@redhat.com Cc:

[PATCH 13/13] tracing/probes: Fix basic print type functions

2013-07-31 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The print format of s32 type was ld and it's casted to long. So it turned out to print 4294967295 for -1 on 64-bit systems. Not sure whether it worked well on 32-bit systems. Anyway, it'd be better if we have exact format and type cast for each types on

[PATCH 12/13] tracing/uprobes: Add support for full argument access methods

2013-07-31 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Enable to fetch other types of argument for the uprobes. IOW, we can access stack, memory, deref, bitfield and retval from uprobes now. Original-patch-by: Hyeoncheol Lee cheol@lge.com Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar

[PATCH 02/13] tracing/kprobes: Add fetch{,_size} member into symbol and deref fetch method

2013-07-31 Thread Namhyung Kim
From: Hyeoncheol Lee cheol@lge.com Those symbol and deref fetch methods access a memory region but they assume it's a kernel memory since uprobes does not support them. Add -fetch and -fetch_size member in order to provide a proper access method for supporting uprobes. Cc: Masami Hiramatsu

Re: [Update][PATCH 0/3] Fix backlight issues on some Windows 8 systems

2013-07-31 Thread Aaron Lu
On 07/31/2013 08:01 AM, Rafael J. Wysocki wrote: On Thursday, July 18, 2013 02:16:09 AM Rafael J. Wysocki wrote: On Sunday, June 09, 2013 07:01:36 PM Matthew Garrett wrote: Windows 8 introduced new policy for backlight control by pushing it out to graphics drivers. This appears to have

Re: [PATCH 08/18] sched: Reschedule task on preferred NUMA node once selected

2013-07-31 Thread Mel Gorman
On Wed, Jul 17, 2013 at 09:31:05AM +0800, Hillf Danton wrote: On Mon, Jul 15, 2013 at 11:20 PM, Mel Gorman mgor...@suse.de wrote: +static int +find_idlest_cpu_node(int this_cpu, int nid) +{ + unsigned long load, min_load = ULONG_MAX; + int i, idlest_cpu = this_cpu; + +

  1   2   3   4   5   6   7   8   9   10   >