Re: [PATCH] arch/arm/mach-pxa/stargate2.c: use ARRAY_AND_SIZE consistently

2013-08-11 Thread walter harms
Am 11.08.2013 07:48, schrieb Julia Lawall: > On Sun, 11 Aug 2013, Dan Carpenter wrote: > >> ARRAY_AND_SIZE() macro is horrible, and I would like it if it were >> removed. What I meant before was just that probably people will >> probably complain if we try to remove it. > > Well, I could eithe

[PATCH] trace-cmd: Update VMX exit reasons in KVM plugin

2013-08-11 Thread Jan Kiszka
From: Jan Kiszka Aligns us with latest arch/x86/include/uapi/asm/vmx.h. Signed-off-by: Jan Kiszka --- plugin_kvm.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/plugin_kvm.c b/plugin_kvm.c index 9b376d8..8a25cf1 100644 --- a/plugin_kvm.c +++ b/plugin_kvm.c @@

[PATCH] trace-cmd: Report unknown VMX exit reasons with code

2013-08-11 Thread Jan Kiszka
From: Jan Kiszka Allows to parse the result even if the KVM plugin does not yet understand a specific exit code. Signed-off-by: Jan Kiszka --- plugin_kvm.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/plugin_kvm.c b/plugin_kvm.c index 8a25cf1..59443e5 100

Re: [ 044/102] ath: wil6210: Fix build error

2013-08-11 Thread Vladimir Kondratiev
On Thursday, August 08, 2013 06:57:20 PM Greg Kroah-Hartman wrote: > 3.10-stable review patch. If anyone has any objections, please let me know. This one is good for stable. I'd suggest to apply also commit c6c7788fe26fdc91e729f60742815ccdb505fd81 - wil6210: drop -Werror compiler flag it is not i

Re: [ 044/102] ath: wil6210: Fix build error

2013-08-11 Thread Greg Kroah-Hartman
On Sun, Aug 11, 2013 at 11:09:24AM +0300, Vladimir Kondratiev wrote: > On Thursday, August 08, 2013 06:57:20 PM Greg Kroah-Hartman wrote: > > 3.10-stable review patch. If anyone has any objections, please let me know. > > This one is good for stable. I'd suggest to apply also commit > c6c7788fe26

Re: Hard lockups using 3.10.0

2013-08-11 Thread Borislav Petkov
On Sun, Aug 11, 2013 at 08:09:19AM +0200, Rolf Eike Beer wrote: > Meanwhile I found that there was a hardware defect on this machine. > So if it does not happen again I will assume that this was caused by > this. What hardware defect exactly? DIMMs failing...? Probably, since it looks like the spi

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-11 Thread Thomas Richter
On 11.08.2013 03:46, Alan Stern wrote: On Sat, 10 Aug 2013, Thomas Richter wrote: Sorry, need to look further. I replaced ehci-pci from 2.6.31.14, and yenta_socket as well. No changes were necessary. Also replaced ehci-hcd, Do you mean that you took the source code for ehci-hcd from the 2.6.3

RE: linux-next: Tree for Aug 9 (staging/ozwpan)

2013-08-11 Thread Gujare, Rupesh
From: Randy Dunlap [rdun...@infradead.org] Sent: 11 August 2013 00:15 To: Stephen Rothwell Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; de...@driverdev.osuosl.org; Gujare, Rupesh; Greg Kroah-Hartman Subject: Re: linux-next: Tree for Aug 9

Non-existent Kconfig symbols in linux-next-10.08

2013-08-11 Thread Alexander Shiyan
Hello. Just for information, this is list of non-existent Kconfig symbols in the linux-next tree: /home/git/linux-aug10/arch/arm/mach-bcm/Kconfig:11 Bad =select= reference to GENERIC_TIME. /home/git/linux-aug10/arch/arm/mach-bcm/Kconfig:12 Bad =select= reference to GPIO_BCM. /home/git/linux-aug

[PATCH v2 1/3] power_supply: Add charger control properties

2013-08-11 Thread Jenny TC
The battery charger needs to have control path along with the reporting charger properties. In existing solutions this is implemented using regulator framework. A regulator framework doesn't fit a charger driver requirement because of the following reason Charger needs support two paths - charger p

Re: [PATCH v2 0/4] GPIO DT support for da850

2013-08-11 Thread Prabhakar Lad
Hi Sekhar, On Fri, Jun 14, 2013 at 3:50 PM, Philip, Avinash wrote: > On Fri, Jun 14, 2013 at 15:13:36, Philip, Avinash wrote: >> With conversion of GPIO davinci driver to platform driver, gpio-davinci >> driver >> can support DT boot. >> This patch series >> - adds dt binding support for gpio-da

Issues with a rather unusual configured NFS server

2013-08-11 Thread Toralf Förster
so that the server either crashes (if it is a user mode linux image) or at least its reboot functionality got broken - if the NFS server is hammered with scary NFS calls using a fuzzy tool running at a remote NFS client under a non-privileged user id. It can re reproduced, if - the NFS s

[PULL REQUEST] i2c for 3.11

2013-08-11 Thread Wolfram Sang
Linus, here are some driver bugfixes for the I2C subsystem. Please pull. Thanks, Wolfram The following changes since commit c095ba7224d8edc71dcef0d655911399a8bd4a3f: Linux 3.11-rc4 (2013-08-04 13:46:46 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/

question about netif_rx

2013-08-11 Thread Julia Lawall
To my limited understanding, in a NAPI polling function, one should use netif_receive_skb, rather than netif_rx. However, the via-velocity driver defines the NAPI polling function velocity_poll, which is the only caller of velocity_rx_srv, which is the only caller of velocity_receive_frame, wh

Re: Hard lockups using 3.10.0

2013-08-11 Thread Rolf Eike Beer
Borislav Petkov wrote: > On Sun, Aug 11, 2013 at 08:09:19AM +0200, Rolf Eike Beer wrote: > > Meanwhile I found that there was a hardware defect on this machine. > > So if it does not happen again I will assume that this was caused by > > this. > > What hardware defect exactly? DIMMs failing...? Pr

Aviso

2013-08-11 Thread Bienvenido a Western Union
-- setecientos cincuenta mil dolares han sido depositados a usted de Western Union. Envie su nombre, numero de telefono, direccion, ocupacion -- 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

Re: [PATCH v2] N900: add device tree

2013-08-11 Thread Javier Martinez Canillas
On Sat, Aug 10, 2013 at 10:29 PM, Jiri Kosina wrote: > On Sat, 10 Aug 2013, Pavel Machek wrote: > >> [I wonder if this is clean-enough cause for "trivial in resubmit >> mode?] > > On Sat, 10 Aug 2013, Belisko Marek wrote: > >> Same for gta04 (omap3 based device) [1]. >> It was send upstream 2 time

[PATCH tty-next] n_tty: Fix termios_rwsem lockdep false positive

2013-08-11 Thread Peter Hurley
Lockdep reports a circular lock dependency between atomic_read_lock and termios_rwsem [1]. However, a lock order deadlock is not possible since CPU1 only holds a read lock which cannot prevent CPU0 from also acquiring a read lock on the same r/w semaphore. Unfortunately, lockdep cannot currently d

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-11 Thread Thomas Richter
On 11.08.2013 03:46, Alan Stern wrote: On Sat, 10 Aug 2013, Thomas Richter wrote: Sorry, need to look further. I replaced ehci-pci from 2.6.31.14, and yenta_socket as well. No changes were necessary. Also replaced ehci-hcd, Do you mean that you took the source code for ehci-hcd from the 2.6.3

Re: [PATCH v2] N900: add device tree

2013-08-11 Thread Pavel Machek
Hi! > >> [I wonder if this is clean-enough cause for "trivial in resubmit > >> mode?] > > > > On Sat, 10 Aug 2013, Belisko Marek wrote: > > > >> Same for gta04 (omap3 based device) [1]. > >> It was send upstream 2 times and second time there is no reply from > >> 1.3.2013. > > > > Hi guys, > > >

Re: [PATCH] regulator: da9210: Remove redundant MODULE_ALIAS

2013-08-11 Thread Mark Brown
On Sat, Aug 10, 2013 at 10:13:23AM +0800, Axel Lin wrote: > 2013/8/10 Mark Brown : > > On Sat, Aug 10, 2013 at 12:25:58AM +0800, Axel Lin wrote: > >> -MODULE_AUTHOR("S Twiss "); > >> +MODULE_AUTHOR("Steve Twiss "); > > It's perfectly reasonable for someone to want to be referred to by their > > i

Re: [PATCH v2] N900: add device tree

2013-08-11 Thread Javier Martinez Canillas
Hi Pavel, some minor comments about your patch below On Sat, Jul 13, 2013 at 2:17 PM, Pavel Machek wrote: > > This adds device tree with neccessary support to boot with functional > video (on both emulator and real N900 device). > > Signed-off-by: Pavel Machek > > --- > > From v1: Aaro wants ju

Re: [PATCH] regulator: da9210: Remove redundant MODULE_ALIAS

2013-08-11 Thread Axel Lin
2013/8/11 Mark Brown : > On Sat, Aug 10, 2013 at 10:13:23AM +0800, Axel Lin wrote: >> 2013/8/10 Mark Brown : >> > On Sat, Aug 10, 2013 at 12:25:58AM +0800, Axel Lin wrote: > >> >> -MODULE_AUTHOR("S Twiss "); >> >> +MODULE_AUTHOR("Steve Twiss "); > >> > It's perfectly reasonable for someone to want

[PATCH v2] regulator: da9210: Remove redundant MODULE_ALIAS

2013-08-11 Thread Axel Lin
The modalias is set by the MODULE_DEVICE_TABLE, thus remove redundant MODULE_ALIAS. Signed-off-by: Axel Lin --- drivers/regulator/da9210-regulator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/regulator/da9210-regulator.c b/drivers/regulator/da9210-regulator.c index bf492bc..f0fe

[PATCH] Staging: imx-drm: imx-tve.c Fixed 80 character line coding style issue

2013-08-11 Thread Andreas Werner
Fixed a coding style issue of 80 character per line. Signed-off-by: Andreas Werner --- drivers/staging/imx-drm/imx-tve.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/staging/imx-drm/imx-tve.c b/drivers/staging/imx-drm/imx-tve.c index a56797d..82

SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-11 Thread Guenter Roeck
Hi, trying to boot arm versatile images with qemu results in the following error if I try to boot with a disk image. sym0: <895a> rev 0x0 at pci :00:0d.0 irq 92 sym0: SCSI BUS has been reset. scsi0 : sym-2.2.3 [...] scsi 0:0:0:0: ABORT operation started scsi 0:0

Re: question about netif_rx

2013-08-11 Thread Francois Romieu
Julia Lawall : > To my limited understanding, in a NAPI polling function, one should use > netif_receive_skb, rather than netif_rx. Nit: or napi_gro_receive (+ napi_gro_flush with __napi_complete) when the device offers some checksum offloading features. > However, the via-velocity driver defin

Re: question about netif_rx

2013-08-11 Thread Julia Lawall
On Sun, 11 Aug 2013, Francois Romieu wrote: > Julia Lawall : > > To my limited understanding, in a NAPI polling function, one should use > > netif_receive_skb, rather than netif_rx. > > Nit: or napi_gro_receive (+ napi_gro_flush with __napi_complete) when the > device offers some checksum offlo

brcsmac kernel panic

2013-08-11 Thread Daniel Wagner
Hi, I just updated my laptop (MacBook Air 2012) from 3.11-rc3+ to 3.11-rc4+ and since then brcsmac crashes short after enabling it. Unfortunately, I did also change some config flags in the area of cpufreq (enabling p-state driver) so the configuration is not exactly the same. Before I try to

[RFC PATCH 0/3] OMAP SSI driver

2013-08-11 Thread Sebastian Reichel
Hi ! This patchset adds an OMAP SSI driver to the HSI framework. After leaving Nokia Carlos Chinea had no more time to work on this patchset; Thus I tried updating the driver to fix the mentioned issues. I applied the following changes to the last patch from Carlos: * convert driver to use hwm

[PATCH 3/3] ARM: OMAP2+: Add SSI driver configuration

2013-08-11 Thread Sebastian Reichel
From: Sebastian Reichel This patch configures and activates the OMAP SSI driver on the RX-51. --- arch/arm/mach-omap2/Makefile |4 ++ arch/arm/mach-omap2/board-rx51-peripherals.c | 10 +++- arch/arm/mach-omap2/ssi.c| 82 ++ 3 fi

[PATCH 1/3] ARM: OMAP2+: hwmod-data: Add SSI information

2013-08-11 Thread Sebastian Reichel
From: Sebastian Reichel This patch adds Synchronous Serial Interface (SSI) hwmod support for OMAP34xx SoCs. --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 104 1 file changed, 104 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/m

Re: Should unprivileged linkat(..., AT_EMPTY_PATH) work on O_TMPFILE files?

2013-08-11 Thread Aneesh Kumar K.V
Andy Lutomirski writes: > The change: > > commit f4e0c30c191f87851c4a53454abb55ee276f4a7e > Author: Al Viro > Date: Tue Jun 11 08:34:36 2013 +0400 > > allow the temp files created by open() to be linked to > > O_TMPFILE | O_CREAT => linkat() with AT_SYMLINK_FOLLOW and > /proc/self/fd/

question about ioremap_cache and PAT

2013-08-11 Thread Andreas Werner
Hi i have a question about ioremap_cache and the resulting PAT attribute on X86 system. If I configure the mtrr to Write-Through for an adress range, and call ioremap_cache to map the mmio, the resulting PAT attribute is set to UC. If I check the Intel document IA-32 SDM vol 3a, the resulting PAT

[PATCH 7/16] arch/arm/mach-pxa/colibri-pxa270-income.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 0/16] Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
These patches replace uses of ARRAY_AND_SIZE(e) in a function argument position by its expansion. ARRAY_AND_SIZE(e) expands to a pair of expressions separated by commas and thus hides the actual arity of the called function. I was not able to compile any of the modified code. -- To unsubscribe f

[PATCH 14/16] arch/arm/mach-pxa/ezx.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 5/16] arch/arm/mach-pxa/vpac270.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 15/16] arch/arm/mach-kirkwood: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 16/16] arch/arm/mach-pxa/stargate2.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 13/16] arch/arm/mach-pxa/hx4700.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 11/16] arch/arm/mach-pxa/palmtreo.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 10/16] arch/arm/mach-mmp: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 8/16] arch/arm/mach-pxa/palmz72.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 6/16] arch/arm/mach-pxa: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 2/16] arch/arm/mach-pxa: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 9/16] arch/arm/mach-pxa/mioa701.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 4/16] arch/arm/mach-pxa/z2.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 1/16] sound/soc/pxa/mioa701_wm9713.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

[PATCH 3/16] arch/arm/mach-ux500/cpu-db8500.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,f; @@ f(..., - ARRAY_AND_SIZE(e) + e,ARRAY_SIZE(e) ,...) //

Re: [PATCHv2] Add per-process flag to control thp

2013-08-11 Thread Aneesh Kumar K.V
Alex Thorlton writes: > This patch implements functionality to allow processes to disable the use of > transparent hugepages through the prctl syscall. > > We've determined that some jobs perform significantly better with thp > disabled, > and we needed a way to control thp on a per-process basi

Re: [PATCH 5/7] powerpc/perf: Define big-endian version of perf_mem_data_src

2013-08-11 Thread Sukadev Bhattiprolu
Vince Weaver [vi...@deater.net] wrote: | On Sat, 10 Aug 2013, Sukadev Bhattiprolu wrote: | | > | > include/uapi/linux/perf_event.h | 55 +++ | > 1 files changed, 55 insertions(+), 0 deletions(-) | | > +#define __PERF_LE 1234 | > +#define __PERF_BE 4321 |

[PCMCIA] Solved: No USB 2.0 (ehci) in PCMCIA slot on E7110

2013-08-11 Thread Thomas Richter
Dear Alan, Josep, David, dear PCMCIA maintainers, this is on followup of a hang I reported earlier when using a delock (NEC-based) PCMCIA card in a O2Micro slot of an oldish E7110 Fujitsu laptop. The phenomenon is that read accesses through the ehci interface of the USB host adapter are unreli

Re: Patch for lost wakeups

2013-08-11 Thread Oleg Nesterov
On 08/09, Linus Torvalds wrote: > > I guess that instead of a "smp_wmb()", we could do another > "smp_mb__before_spinlock()" thing, like we already allow for other > architectures to do a weaker form of mb in case the spinlock is > already a full mb. That would allow avoiding extra synchronization.

Re: Patch for lost wakeups

2013-08-11 Thread Oleg Nesterov
On 08/11, Oleg Nesterov wrote: > > On 08/09, Linus Torvalds wrote: > > > > I guess that instead of a "smp_wmb()", we could do another > > "smp_mb__before_spinlock()" thing, like we already allow for other > > architectures to do a weaker form of mb in case the spinlock is > > already a full mb. Tha

Re: [PATCH 9/9] prepare to remove /proc/sys/vm/hugepages_treat_as_movable

2013-08-11 Thread Aneesh Kumar K.V
Naoya Horiguchi writes: > Now we have extended hugepage migration and it's opened to many users > of page migration, which is a good reason to consider hugepage as movable. > So we can go to the direction to remove this parameter. In order to > allow userspace to prepare for the removal, let's le

Re: Patch for lost wakeups

2013-08-11 Thread Oleg Nesterov
On 08/10, Long Gao wrote: > > By the way, could you help me join the linux kernel mailling list? Do you mean, you want to subscribe? Well, from http://www.tux.org/lkml/#s3-1 send the line "subscribe linux-kernel your_email@your_ISP" in the body of the message to majord...@vger.

Re: [PATCH 8/9] migrate: check movability of hugepage in unmap_and_move_huge_page()

2013-08-11 Thread Aneesh Kumar K.V
Naoya Horiguchi writes: > Currently hugepage migration works well only for pmd-based hugepages > (mainly due to lack of testing,) so we had better not enable migration > of other levels of hugepages until we are ready for it. > > Some users of hugepage migration (mbind, move_pages, and migrate_pa

Re: [PATCH 0/3] tracing: kill the no longer needed PITA code

2013-08-11 Thread Oleg Nesterov
On 07/31, Steven Rostedt wrote: > > On Wed, 2013-07-31 at 19:31 +0200, Oleg Nesterov wrote: > > Hello. > > > > Simple cleanups on top of the recent (already applied) > > id/filter/format/enable changes. > > > > f_op->owner == mod is no longer needed and can go away. > > > > This patch set is not ne

[PATCH] __ptrace_may_access() should not deny sub-threads

2013-08-11 Thread Oleg Nesterov
From: Mark Grondona __ptrace_may_access() checks get_dumpable/ptrace_has_cap/etc if task != current, this can can lead to surprising results. For example, a sub-thread can't readlink("/proc/self/exe") if the executable is not readable. setup_new_exec()->would_dump() notices that inode_permission

[PATCH 13/18] ARM: s3c64xx: clock: Add clkdev lookup for DMA clocks

2013-08-11 Thread Tomasz Figa
This patch adds clkdev lookup entries for clocks used by PL08x DMA driver. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/clock.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c

[PATCH 10/18] spi: s3c64xx: Do not require legacy DMA API in case of S3C64XX

2013-08-11 Thread Tomasz Figa
With support for amba-pl08x driver, on S3C64xx the generic DMA engine API can be used instead of the private s3c-dma interface. Signed-off-by: Tomasz Figa Acked-by: Linus Walleij --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/dr

[PATCH 06/18] dmaengine: PL08x: Add support for different maximum transfer size

2013-08-11 Thread Tomasz Figa
PL080S has separate register to store transfer size in, allowing single transfer to be much larger than in standard PL080. This patch makes the amba-pl08x driver aware of this and removes writing transfer size to reserved bits of CH_CONTROL register on PL080S, which was not a problem witn transfer

[PATCH 18/18] ASoC: Samsung: Always select S3C64XX_PL080 when ARCH_S3C64XX is enabled

2013-08-11 Thread Tomasz Figa
The legacy S3C64xx DMA driver has been removed, DMA support on S3C64xx is provided only by the generic PL08x driver. This patch modifies the Kconfig entry of Samsung ASoC subsystem, which relies on availability of DMA, to always select the S3C64XX_PL080 symbol. Signed-off-by: Tomasz Figa --- so

[PATCH 16/18] clk: samsung: s3c64xx: Remove clock aliases of old DMA driver

2013-08-11 Thread Tomasz Figa
Since the old DMA driver got removed, these aliases are no longer necessary. Signed-off-by: Tomasz Figa --- drivers/clk/samsung/clk-s3c64xx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/samsung/clk-s3c64xx.c b/drivers/clk/samsung/clk-s3c64xx.c index 79ee9a6..dd47a83 100644

[PATCH 15/18] ARM: s3c64xx: Remove legacy DMA driver

2013-08-11 Thread Tomasz Figa
Since support for generic PL08x DMA engine driver has been added, there is no need to keep the old legacy driver, so this patch removes it. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/Kconfig| 5 - arch/arm/mach-s3c64xx/Makefile | 1 - arch/arm/mach-s3c64xx/dma

[PATCH 12/18] ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver

2013-08-11 Thread Tomasz Figa
This patch adds all required platform-specific data and initialization code to support the generic amba-pl08x driver on S3C64xx SoCs. Also some compatibility definitions are added to make the transition from legacy API to DMA engine easier. The biggest hack here is passing const char * pointers th

[PATCH 17/18] spi: s3c64xx: Always select S3C64XX_PL080 when ARCH_S3C64XX is enabled

2013-08-11 Thread Tomasz Figa
The legacy S3C64xx DMA driver has been removed, DMA support on S3C64xx is provided only by the generic PL08x driver. This patch modifies the Kconfig entry of spi-s3c64xx driver, which relies on availability of DMA, to always select the S3C64XX_PL080 symbol. Signed-off-by: Tomasz Figa --- driver

[PATCH 11/18] ASoC: Samsung: Do not require legacy DMA API in case of S3C64XX

2013-08-11 Thread Tomasz Figa
With support for amba-pl08x driver, on S3C64xx the generic DMA engine API can be used instead of the private s3c-dma interface. Signed-off-by: Tomasz Figa Acked-by: Linus Walleij --- sound/soc/samsung/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/samsung/

[PATCH 14/18] clk: samsung: s3c64xx: Add aliases for DMA clocks

2013-08-11 Thread Tomasz Figa
This patch adds clkdev aliases for clocks used by PL08x DMA driver. Signed-off-by: Tomasz Figa --- drivers/clk/samsung/clk-s3c64xx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/samsung/clk-s3c64xx.c b/drivers/clk/samsung/clk-s3c64xx.c index eeda567..79ee9a6 100644 --- a/dr

[PATCH 08/18] dmaengine: PL08x: Add cyclic transfer support

2013-08-11 Thread Tomasz Figa
From: Alban Bedel Many audio interface drivers require support of cyclic transfers to work correctly, for example Samsung ASoC DMA driver. This patch adds support for cyclic transfers to the amba-pl08x driver. Signed-off-by: Alban Bedel [tfiga: Rebase and slightly beautify the original patch.]

[PATCH 09/18] ASoC: Samsung: Do not queue cyclic buffers multiple times

2013-08-11 Thread Tomasz Figa
The legacy S3C-DMA API required every period of a cyclic buffer to be queued separately. After conversion of Samsung ASoC to Samsung DMA wrappers somebody made an assumption that the same is needed for DMA engine API, which is not true. In effect, Samsung ASoC DMA code was queuing the whole cyclic

[PATCH 07/18] dmaengine: PL08x: Fix reading the byte count in cctl

2013-08-11 Thread Tomasz Figa
From: Alban Bedel There are more fields than just SWIDTH in CH_CONTROL register, so read register value must be masked in addition to shifting. Signed-off-by: Alban Bedel Signed-off-by: Tomasz Figa Reviewed-by: Linus Walleij --- drivers/dma/amba-pl08x.c | 4 1 file changed, 4 insertions

[PATCH 05/18] dmaengine: PL08x: Add support for PL080S variant

2013-08-11 Thread Tomasz Figa
PL080S is a modified version of PL080 that can be found on Samsung SoCs, such as S3C6400 and S3C6410. It has different offset of CONFIG register, separate CONTROL1 register that holds transfer size and larger maximum transfer size. Signed-off-by: Tomasz Figa Acked-by: Linus Walleij --- drivers

[PATCH 04/18] dmaengine: PL08x: Move LLI dumping code into separate function

2013-08-11 Thread Tomasz Figa
This patch refactors debugging code that dumps LLI entries by moving it into separate function, which is stubbed when VERBOSE_DEBUG is not selected. This allows us to get rid of the ugly ifdef from the body of pl08x_fill_llis_for_desc(). No functional change is introduced by this patch. Signed-of

[PATCH 03/18] dmaengine: PL08x: Rework LLI handling to be less fragile

2013-08-11 Thread Tomasz Figa
Currently memory allocated for LLIs is casted to an array of structs, which is fragile and also limits the driver to a single, predefined LLI layout, while there are some variants of PL08x, which have more fields in LLI (namely PL080S with its extra CCTL2). This patch makes LLIs a sequence of 32-b

[PATCH 01/18] dmaengine: PL08x: Refactor pl08x_getbytes_chan() to lower indentation

2013-08-11 Thread Tomasz Figa
Further patch will introduce support for PL080S, which requires some things to be done conditionally, thus increasing indentation level of some functions even more. This patch reduces indentation level of pl08x_getbytes_chan() function by inverting several conditions and returning from function wh

[PATCH 00/18] ARM: s3c64xx: Let amba-pl08x driver handle DMA

2013-08-11 Thread Tomasz Figa
This is first non-RFC version of my patches extending support of amba-pl08x DMA engine driver to PL080S DMA engine (PL080 modified by Samsung) found in Samsung S3C64xx SoCs. Due to changes scattered across different areas of kernel, patches are based on merged 3 branches: - for-next of Kgene's Sa

[PATCH 02/18] dmaengine: PL08x: Add support for different offset of CONFIG register

2013-08-11 Thread Tomasz Figa
Some variants of PL08x (namely PL080S, found in Samsung S3C64xx SoCs) have CONFIG register at different offset. This patch makes the driver use offset from vendor data struct. Signed-off-by: Tomasz Figa Reviewed-by: Linus Walleij Acked-by: Vinod Koul --- drivers/dma/amba-pl08x.c | 30 +

Re: [PATCH 1/16] sound/soc/pxa/mioa701_wm9713.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Mark Brown
On Sun, Aug 11, 2013 at 06:51:42PM +0200, Julia Lawall wrote: > From: Julia Lawall > > Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the > arity of the called function. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v3 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-08-11 Thread Ивайло Димитров
> Оригинално писмо >От: Dave Martin >Относно: Re: [PATCH v3 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1 >До: Pali Rohár >Изпратено на: Понеделник, 2013, Август 5 16:29:44 EEST > > >On Sun, Aug 04, 2013 at 10:45:00AM +0200, Pali Rohá

Re: Should unprivileged linkat(..., AT_EMPTY_PATH) work on O_TMPFILE files?

2013-08-11 Thread Andy Lutomirski
On Sun, Aug 11, 2013 at 9:45 AM, Aneesh Kumar K.V wrote: > Andy Lutomirski writes: > >> The change: >> >> commit f4e0c30c191f87851c4a53454abb55ee276f4a7e >> Author: Al Viro >> Date: Tue Jun 11 08:34:36 2013 +0400 >> >> allow the temp files created by open() to be linked to >> >> O_TMPF

Non-enumerable devices on USB and other enumerable buses

2013-08-11 Thread Mark Brown
Looking at the enumerable buses in the kernel I don't see any which have real support for any kind of registration of devices prior to their enumeration. Similarly currently all the DT bindings in the kernel I've been able to notice cover only non-enumerable buses. This generally makes sense wher

Re: [PATCH 17/18] spi: s3c64xx: Always select S3C64XX_PL080 when ARCH_S3C64XX is enabled

2013-08-11 Thread Mark Brown
On Sun, Aug 11, 2013 at 07:59:29PM +0200, Tomasz Figa wrote: > @@ -366,7 +366,7 @@ config SPI_S3C24XX_FIQ > config SPI_S3C64XX > tristate "Samsung S3C64XX series type SPI" > depends on (ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5P64X0 || ARCH_EXYNOS) > - select S3C64XX_DMA if ARCH_S3C

Re: [PATCH 0/1] Platform: x86: chromeos_laptop - convert to i2c_driver to handle i915 race

2013-08-11 Thread Martin Nordholts
2013/8/7 Benson Leung > > If you get a chance, could you let me know if my deferred probe > changes work well in your configuration? I can confirm that your changes works, i.e. the touchpad and touchscreen works directly after boot on my 32GB non-LTE Chromebook Pixel. I applied the patches on a c

[PATCH 1/1] mtd: mtdoops: fix for a potential memory leak in mtdoops_notify_remove

2013-08-11 Thread Nilanjan Roychowdhury
we are allocating cxt->oops_page_used using vmalloc in mtdoops_notify_add for every mtd_info addition but not freeing it in mtdoops_notify_remove Signed-off-by: Nilanjan Roychowdhury --- drivers/mtd/mtdoops.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/mtdoops.c b/drivers/

Re: [PATCH] ACPI, cpu hotplug: move try_offline_node() after acpi_unmap_lsapic()

2013-08-11 Thread Rafael J. Wysocki
On Friday, August 09, 2013 08:11:19 PM Toshi Kani wrote: > On Sat, 2013-08-10 at 01:29 +0200, Rafael J. Wysocki wrote: > > On Friday, August 09, 2013 04:16:56 PM Toshi Kani wrote: > > > On Fri, 2013-08-09 at 15:28 +0800, Tang Chen wrote: > > > > On 08/07/2013 12:56 AM, Toshi Kani wrote: > > > > > O

Re: Cannot hot remove a memory device

2013-08-11 Thread Rafael J. Wysocki
On Thursday, August 08, 2013 04:50:42 PM Toshi Kani wrote: > On Fri, 2013-08-09 at 00:12 +0200, Rafael J. Wysocki wrote: > > On Thursday, August 08, 2013 11:15:20 AM Toshi Kani wrote: > > > On Fri, 2013-08-02 at 18:04 -0600, Toshi Kani wrote: > > > > On Sat, 2013-08-03 at 01:43 +0200, Rafael J. Wys

[PATCH v3] coccinelle: replace 0/1 with false/true in functions returning bool

2013-08-11 Thread Rasmus Villemoes
This semantic patch replaces "return {0,1};" with "return {false,true};" in functions returning bool. Signed-off-by: Rasmus Villemoes --- v2: Simplified script, and eliminate whitespace mangling at the same time. Thanks to Julia Lawall. v3: Further improvements from Julia. In particular, it now

[GIT PULL] SCSI fixes for 3.11-rc4

2013-08-11 Thread James Bottomley
This is three bug fixes: An fnic warning caused by sleeping under a lock, a major regression with our updated WRITE SAME/UNMAP logic which caused tons of USB devices (and one RAID card) to cease to function and a megaraid_sas firmware initialisation problem which causes kdump failures. The patch i

Re: [PATCH v3] coccinelle: replace 0/1 with false/true in functions returning bool

2013-08-11 Thread Julia Lawall
Acked-by: Julia Lawall On Sun, 11 Aug 2013, Rasmus Villemoes wrote: > This semantic patch replaces "return {0,1};" with "return > {false,true};" in functions returning bool. > > Signed-off-by: Rasmus Villemoes > --- > v2: Simplified script, and eliminate whitespace mangling at the same > time

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

2013-08-11 Thread Yann E. MORIN
Sam, All, On 2013-08-09 13:42 +0200, Sam Ravnborg spake thusly: > On Thu, Aug 08, 2013 at 11:54:49PM +0200, Yann E. MORIN wrote: > > Stephen, All, > > > > On 2013-08-08 21:16 +0200, Yann E. MORIN spake thusly: > > > On 2013-08-08 10:36 +1000, Stephen Rothwell spake thusly: > > > > On Thu, 8 Aug 2

Re: [patch 8/9] mm: thrash detection-based file cache sizing

2013-08-11 Thread Vlastimil Babka
On 08/07/2013 12:44 AM, Johannes Weiner wrote: To accomplish this, a per-zone counter is increased every time a page is evicted and a snapshot of that counter is stored as shadow entry in the page's now empty page cache radix tree slot. Upon refault of that page, the difference between the curre

Re: SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-11 Thread Russell King - ARM Linux
On Sun, Aug 11, 2013 at 08:54:43AM -0700, Guenter Roeck wrote: > Hi, > > trying to boot arm versatile images with qemu results in the following error > if I try to boot with a disk image. > > sym0: <895a> rev 0x0 at pci :00:0d.0 irq 92 > sym0: SCSI BUS has been reset. > scsi0 : s

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-11 Thread Grant Likely
On Sun, Aug 11, 2013 at 8:08 PM, Mark Brown wrote: > I know there's been some discussion of this topic but do we have any > general consensus on how to handle such things both from a Linux driver > model point of view and from a DT/ACPI point of view? There is precedence for describing enumerated

Re: [PATCH 0/1] Platform: x86: chromeos_laptop - convert to i2c_driver to handle i915 race

2013-08-11 Thread Benson Leung
Hi Martin, On Sun, Aug 11, 2013 at 12:54 PM, Martin Nordholts wrote: > I get this in dmesg --level err > (--notime) though > > find_i2c_adapter_num: i2c adapter i915 gmbus panel not found on system. > find_i2c_adapter_num: i2c adapter i915 gmbus vga not found on system. > find_i2c_adapter_num: i

Re: [PATCH 17/18] spi: s3c64xx: Always select S3C64XX_PL080 when ARCH_S3C64XX is enabled

2013-08-11 Thread Tomasz Figa
Hi Mark, On Sunday 11 of August 2013 20:11:40 Mark Brown wrote: > On Sun, Aug 11, 2013 at 07:59:29PM +0200, Tomasz Figa wrote: > > @@ -366,7 +366,7 @@ config SPI_S3C24XX_FIQ > > > > config SPI_S3C64XX > > > > tristate "Samsung S3C64XX series type SPI" > > depends on (ARCH_S3C24XX || AR

Re: Patch for lost wakeups

2013-08-11 Thread James Bottomley
On Sun, 2013-08-11 at 19:39 +0200, Oleg Nesterov wrote: > On 08/10, Long Gao wrote: > > > > By the way, could you help me join the linux kernel mailling list? > > Do you mean, you want to subscribe? > > Well, from http://www.tux.org/lkml/#s3-1 > > send the line "subscribe linux-kernel

Re: [patch 9/9] mm: workingset: keep shadow entries in check

2013-08-11 Thread Andi Kleen
I really like the idea of using the spare slots in the radix tree for something useful. It's amazing we haven't used that before. I wonder if with some clever encoding even more information could be fit? e.g. I assume you don't really need all bits of the refault distance, just a good enough app

  1   2   >