[PATCH 13/25] IB/mlx5: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/infiniband/hw/mlx5/main.c |2 +- 1 file changed, 1 insertion(+

[PATCH 12/25] r8169: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/ethernet/realtek/r8169.c |2 +- 1 file changed, 1 insertio

[PATCH 17/25] block: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/block/rsxx/core.c |2 +- 1 file changed, 1 insertion(+), 1 del

[PATCH 14/25] adm8211: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/wireless/adm8211.c |2 +- 1 file changed, 1 insertion(+),

[PATCH 3/25] iwlegacy: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Not tested. drivers/net/wireless/iwlegacy/3945.c |2 +- drivers/net/wireless/iwlegacy/4965-mac.c |2

[PATCH 9/25] net: neterion: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/ethernet/neterion/s2io.c |2 +- drivers/net/ethe

Re: [PATCH 2/3] fuse: Translate pid making a request into the server's pid namespace

2014-07-18 Thread Miklos Szeredi
On Mon, Jul 14, 2014 at 9:18 PM, Seth Forshee wrote: > If the server is executing in a pid namespace then then giving it > the global pid of the process making the request is useless. > Translate the pid into the server's pid namespace. > > Signed-off-by: Seth Forshee > --- > fs/fuse/dev.c|

[PATCH 6/25] x86: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/platform/x86/intel_ips.c |2 +- drivers/platform/x86/intel

[PATCH 20/25] via-rhine: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/ethernet/via/via-rhine.c |2 +- 1 file changed, 1 insertio

[PATCH 19/25] irda: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Not tested. drivers/net/irda/donauboe.c |2 +- drivers/net/irda/via-ircc.c |2 +- drivers/net/irda/vlsi_

[PATCH 2/25] BusLogic: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/scsi/BusLogic.c |2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH 22/25] drivers/net: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/arcnet/com20020-pci.c|2 +- drivers/ne

[PATCH 1/5] tools/power/cpupower/utils/helpers/sysfs.c: drop negativity check on unsigned value

2014-07-18 Thread Andrey Utkin
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80621 Reported-by: David Binderman Signed-off-by: Andrey Utkin --- tools/power/cpupower/utils/helpers/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/power/cpupower/utils/helpers/sysfs.c b/tools/power/cpupow

[PATCH 2/5] net/rxrpc/ar-key.c: drop negativity check on unsigned value

2014-07-18 Thread Andrey Utkin
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80611 Reported-by: David Binderman Signed-off-by: Andrey Utkin --- net/rxrpc/ar-key.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rxrpc/ar-key.c b/net/rxrpc/ar-key.c index 0ad0807..eec998e 100644 --- a/net/rxrpc/ar

[PATCH 24/25] starfire: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/ethernet/adaptec/starfire.c |2 +- 1 file changed, 1 inser

[PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `const struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. A simplified version of the semantic patch that makes this change is as follows (http://coccinelle.lip6.fr/): // @@ identifier i; declarer

Re: [PATCH 4/5] tty: serial: 8250 core: add runtime pm

2014-07-18 Thread Felipe Balbi
On Fri, Jul 18, 2014 at 10:35:10AM +0200, Sebastian Andrzej Siewior wrote: > On 07/17/2014 06:18 PM, Felipe Balbi wrote: > > >> No, this is okay. If you look, it checks for "up->ier & > >> UART_IER_THRI". On the second invocation it will see that this > >> bit is already set and therefore won't c

[PATCH 5/25] net/ethernet/sgi/ioc3-eth: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Not tested. drivers/net/ethernet/sgi/ioc3-eth.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[PATCH 1/25] bna: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/ethernet/brocade/bna/bnad.c |2 +- 1 file changed, 1 inser

[PATCH 15/25] qlcnic: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c |2 +- 1 file changed

[PATCH 3/5] net/netfilter/ipvs/ip_vs_ctl.c: drop argument range check just before the check for equality

2014-07-18 Thread Andrey Utkin
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80601 Reported-by: David Binderman Signed-off-by: Andrey Utkin --- net/netfilter/ipvs/ip_vs_ctl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c index 581a658..4ed7b59 1006

[PATCH 4/5] kernel/debug/kdb/kdb_bp.c: drop negativity check on unsigned value

2014-07-18 Thread Andrey Utkin
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80591 Reported-by: David Binderman Signed-off-by: Andrey Utkin --- kernel/debug/kdb/kdb_bp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/debug/kdb/kdb_bp.c b/kernel/debug/kdb/kdb_bp.c index 70a5046..f27dfb8 1006

Re: [PATCH v3] ring-buffer: Race when writing and swapping cpu buffer in parallel

2014-07-18 Thread Petr Mládek
On Wed 2014-07-16 12:43:56, Steven Rostedt wrote: > On Wed, 16 Jul 2014 10:58:04 +0200 > Petr Mladek wrote: > > > > +/** > > + * ring_buffer_swap_cpu - swap a CPU buffer between two ring buffers > > + * @buffer_a: One buffer to swap with > > + * @buffer_b: The other buffer to swap with > > + * >

Re: [PATCH 3/3] fuse: Allow mounts from user namespaces

2014-07-18 Thread Miklos Szeredi
On Mon, Jul 14, 2014 at 9:18 PM, Seth Forshee wrote: > Update fuse to allow mounts from user namespaces. During mount > current_user_ns() is stashed away, Same thing here. While practically this may work, it's theoretically wrong, and possibly may go wrong in special situations. In fuse there'

[PATCH 5/5] fs/ubifs/{sb,super}.c: drop negativity check on unsigned value

2014-07-18 Thread Andrey Utkin
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80581 Reported-by: David Binderman Signed-off-by: Andrey Utkin --- fs/ubifs/sb.c| 2 +- fs/ubifs/super.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ubifs/sb.c b/fs/ubifs/sb.c index 4c37607..c2c3d13 100644 --

[PATCH 8/25] dscc4: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/wan/dscc4.c |2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH 11/25] pcnet32: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/ethernet/amd/pcnet32.c |2 +- 1 file changed, 1 insertion(

Re: [PATCH 4/6] net/macb: add RX checksum offload feature

2014-07-18 Thread Eric Dumazet
On Fri, 2014-07-18 at 16:21 +0200, Cyrille Pitchen wrote: > Signed-off-by: Cyrille Pitchen > --- > drivers/net/ethernet/cadence/macb.c | 29 - > drivers/net/ethernet/cadence/macb.h | 2 ++ > 2 files changed, 30 insertions(+), 1 deletion(-) > > diff --git a/drivers/ne

[PATCH 10/25] netxen: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c |2 +- 1 file cha

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread James Bottomley
On Fri, 2014-07-18 at 00:51 +, Elliott, Robert (Server Storage) wrote: > In sd_sync_cache: > rq->timeout *= SD_FLUSH_TIMEOUT_MULTIPLIER; > > Regardless of the baseline for the multiplication, a magic > number of 2 is too arbitrary. That might work for an > individual drive, but could b

Re: [PATCH 0/2 v4] sched: Rewrite per entity runnable load average tracking

2014-07-18 Thread Morten Rasmussen
On Fri, Jul 18, 2014 at 12:26:04AM +0100, Yuyang Du wrote: > Thanks to Morten, Ben, and Fengguang. > > v4 changes: > > - Insert memory barrier before writing cfs_rq->load_last_update_copy. > - Fix typos. It is quite a challenge keeping up with your revisions :) Three revisions in five days. It t

[PATCH 4/25] net: pasemi: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Not tested. drivers/net/ethernet/pasemi/pasemi_mac.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

Re: [PATCH/linux-next] Documentation:Docbook: Fix file locations in gadget.tmpl

2014-07-18 Thread Felipe Balbi
On Fri, Jul 18, 2014 at 08:19:20AM -0700, Randy Dunlap wrote: > On 07/17/2014 08:46 PM, Masanari Iida wrote: > > Because of file location changes by commit 5ed4ac73e5975, > > make xmldocs failed because of missing files. > > Fix file paths in gadget.tmpl file. > > > > Signed-off-by: Masanari Iida

Re: [PATCH RFC 1/4] xen PVonHVM: use E820_Reserved area for shared_info

2014-07-18 Thread Vitaly Kuznetsov
Konrad Rzeszutek Wilk writes: > On Fri, Jul 18, 2014 at 01:05:46PM +0200, Vitaly Kuznetsov wrote: >> Konrad Rzeszutek Wilk writes: >> >> > On Tue, Jul 15, 2014 at 05:43:17PM +0200, Vitaly Kuznetsov wrote: >> >> Konrad Rzeszutek Wilk writes: >> >> >> >> > On Tue, Jul 15, 2014 at 03:40:37PM +02

Re: [RFC PATCH] memcg: export knobs for the defaul cgroup hierarchy

2014-07-18 Thread Vladimir Davydov
On Wed, Jul 16, 2014 at 11:58:14AM -0400, Johannes Weiner wrote: > On Wed, Jul 16, 2014 at 04:39:38PM +0200, Michal Hocko wrote: > > +#ifdef CONFIG_MEMCG_KMEM > > + { > > + .name = "kmem.limit_in_bytes", > > + .private = MEMFILE_PRIVATE(_KMEM, RES_LIMIT), > > + .writ

[PATCH] mm: vmscan: unlock_page page when forcing reclaim

2014-07-18 Thread Richard Yao
A small userland program I wrote to assist me in drive forensic operations soft deadlocked on Linux 3.14.4. The stack trace from /proc was: [] sleep_on_page_killable+0xe/0x40 [] wait_on_page_bit_killable+0x79/0x80 [] __lock_page_or_retry+0x95/0xc0 [] filemap_fault+0x21b/0x420 [] __do_fault+0x6e/0x

Re: [PATCH v3 3/3] arm64: Use include/asm-generic/io.h

2014-07-18 Thread Catalin Marinas
On Thu, Jul 17, 2014 at 01:26:51PM +0100, Thierry Reding wrote: > On Thu, Jul 17, 2014 at 01:04:41PM +0100, Catalin Marinas wrote: > > On Wed, Jul 16, 2014 at 12:01:24PM +0100, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > Include the generic I/O header file so that duplicate imple

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-18 Thread Lennox Wu
Score can provide dummy functions if HAS_IOMEM and NO_IOMEM will be removed, even if we indeed have no IOMEM. Best, Lennox 2014-07-18 18:51 GMT+08:00 Richard Weinberger : > Am 18.07.2014 12:44, schrieb Chen Gang: >> On 07/18/2014 03:35 PM, Richard Weinberger wrote: >>> Am 18.07.2014 02:36, schri

Re: perf: child events not killed on release paths, survive indefinitely

2014-07-18 Thread Mark Rutland
> > Jiri, could you add me to Cc for future versions of that series? > > > > I'll have a look and see if I can come up with something; otherwise I'm > > happy to test/review. :) > > sure, and vice versa ;-) Will do. :) Mark. -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [PATCH 4/5] tty: serial: 8250 core: add runtime pm

2014-07-18 Thread Peter Hurley
On 07/18/2014 11:31 AM, Felipe Balbi wrote: On Fri, Jul 18, 2014 at 10:35:10AM +0200, Sebastian Andrzej Siewior wrote: >On 07/17/2014 06:18 PM, Felipe Balbi wrote: > > >>No, this is okay. If you look, it checks for "up->ier & > >>UART_IER_THRI". On the second invocation it will see that this >

Re: [PATCH 25/25] ipack: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Samuel Iglesias Gonsálvez
On Fri, 2014-07-18 at 17:27 +0200, Benoit Taine wrote: > We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet > kernel coding style guidelines. This issue was reported by checkpatch. > > Signed-off-by: Benoit Taine > > --- > Tested by compilation without errors. > > d

Re: [PATCH 0/5] RFC: CGroup Namespaces

2014-07-18 Thread Serge Hallyn
Quoting Aditya Kali (adityak...@google.com): > Background > Cgroups and Namespaces are used together to create “virtual” > containers that isolates the host environment from the processes > running in container. But since cgroups themselves are not > “virtualized”, the task is always able t

[PATCH] ARM: dts: add CPU nodes for Exynos4 SoCs

2014-07-18 Thread Bartlomiej Zolnierkiewicz
Recent patch by Tomasz Figa ("irqchip: gic: Fix core ID calculation when topology is read from DT") fixed GIC driver to filter cluster ID from values returned by cpu_logical_map() for SoCs having registers mapped without per-CPU banking making it is possible to add CPU nodes for Exynos4 SoCs. In c

Re: [PATCH 4/5] tty: serial: 8250 core: add runtime pm

2014-07-18 Thread Felipe Balbi
On Fri, Jul 18, 2014 at 11:53:21AM -0400, Peter Hurley wrote: > On 07/18/2014 11:31 AM, Felipe Balbi wrote: > >On Fri, Jul 18, 2014 at 10:35:10AM +0200, Sebastian Andrzej Siewior wrote: > >>>On 07/17/2014 06:18 PM, Felipe Balbi wrote: > >>> > > >>No, this is okay. If you look, it checks for "up

Re: [PATCH v3 2/6] acerhdf: Adding support for new models

2014-07-18 Thread Peter Feuerer
Borislav Petkov writes: On Sat, May 03, 2014 at 07:59:22PM +0200, Peter Feuerer wrote: added following new models: * Aspire 5755G * AO521 * AO751h * Aspire One 753 * Extensa 5420 * Aspire 5315 * Aspire 5739G * TravelMate TM8573T Cc: Andrew Morton Cc: Andreas Mohr Cc:

Re: [PATCH v3] sparc: Add support for seek and shorter read to /dev/mdesc

2014-07-18 Thread Sam Ravnborg
On Fri, Jul 18, 2014 at 09:15:40AM -0600, Khalid Aziz wrote: > /dev/mdesc on Linux does not support reading arbitrary number > of bytes and seeking while /dev/mdesc on Solaris does. This > causes tools that work on Solaris to break on Linux. This patch > adds these two capabilities to /dev/mdesc. >

Re: [PATCHv6 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-07-18 Thread Chanwoo Choi
On Sat, Jul 19, 2014 at 12:23 AM, Arnd Bergmann wrote: > On Saturday 19 July 2014 00:15:35 Chanwoo Choi wrote: >> On Fri, Jul 18, 2014 at 8:14 PM, Arnd Bergmann wrote: >> > On Friday 18 July 2014 19:00:48 Chanwoo Choi wrote: >> >> On 07/18/2014 06:47 PM, Arnd Bergmann wrote: >> >> > >> >> > Furth

Re: [RFC] perf to ctf converter

2014-07-18 Thread Sebastian Andrzej Siewior
On 07/18/2014 02:34 PM, Sebastian Andrzej Siewior wrote: >> I made similar effort in C: >> >> --- >> I made some *VERY* early perf convert example, mostly to try the ctf-writer >> interface.. you can check in here: >> >> https://git.kernel.org/cgit/linux/kernel/git/jolsa/perf.git/log/?h=perf/ctf

Re: [RFC PATCH] memcg: export knobs for the defaul cgroup hierarchy

2014-07-18 Thread Johannes Weiner
On Fri, Jul 18, 2014 at 07:44:43PM +0400, Vladimir Davydov wrote: > On Wed, Jul 16, 2014 at 11:58:14AM -0400, Johannes Weiner wrote: > > On Wed, Jul 16, 2014 at 04:39:38PM +0200, Michal Hocko wrote: > > > +#ifdef CONFIG_MEMCG_KMEM > > > + { > > > + .name = "kmem.limit_in_bytes", > > > +

Re: [PATCH v2 0/4] Support for Qualcomm QPNP PMIC's

2014-07-18 Thread Stanimir Varbanov
On 07/18/2014 02:10 AM, Stephen Boyd wrote: > On 07/17/14 09:17, Stanimir Varbanov wrote: >> Hello everyone, >> >> Here is the continuation of patch sets sent recently about Qualcomm >> QPNP SPMI PMICs. >> >> The previous version of the patch set can be found at [1]. >> >> Changes since v1: >> - r

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-18 Thread Peter Zijlstra
On Fri, Jul 18, 2014 at 04:50:40PM +0200, Peter Zijlstra wrote: > On Fri, Jul 18, 2014 at 04:16:48PM +0200, Peter Zijlstra wrote: > > On Fri, Jul 18, 2014 at 08:01:26AM -0500, Bruno Wolff III wrote: > > > build_sched_domain: cpu: 0 level: SMT cpu_map: 0-3 tl->mask: 0,2 > > > [0.254433] build_sc

Re: [PATCH 0/9] usb: musb: several bugfixes for the musb driver

2014-07-18 Thread Ezequiel Garcia
Hi Lothar, On 18 Jul 11:31 AM, Lothar Waßmann wrote: > The first three patches do some source code cleanup in the files that > are modified in the subsequent patches. > I've applied patches 4 and 9 on a recent -next, after fixing a conflict due to patch 3 ("usb: musb_am335x: source cleanup"): >

Re: [PATCH v3 2/6] acerhdf: Adding support for new models

2014-07-18 Thread Borislav Petkov
On Fri, Jul 18, 2014 at 06:06:53PM +0200, Peter Feuerer wrote: > Everytime I send out a modified version of acerhdf.c to someone in the > internet for trying out some changes, I increment the second minor > version number. And from time to time I push things to Mainline, then > I need to catch up w

Re: [PATCH] [RFC] initial getrandom wrapper to provide getentropy for LibreSSL

2014-07-18 Thread Theodore Ts'o
On Fri, Jul 18, 2014 at 08:09:52AM -0500, Brent Cook wrote: > On Jul 18, 2014, at 1:49 AM, Brent Cook wrote: > > > From: Brent Cook > > > > This is not a kernel patch, but rather an initial test of the API to see > > how it might mesh LibreSSL's expectations for how getentropy works. > > > > I

Re: [PATCHv6 3/4] iio: devicetree: Add DT binding documentation for Exynos3250 ADC

2014-07-18 Thread Chanwoo Choi
On Fri, Jul 18, 2014 at 6:50 PM, Arnd Bergmann wrote: > On Friday 18 July 2014 14:59:45 Chanwoo Choi wrote: >> Must be "samsung,exynos-adc-v2" for >> future controllers. > > It would be good to change 'future controllers' to something else no

Re: [PATCH v3 3/6] thermal: Added Bang-bang thermal governor

2014-07-18 Thread Peter Feuerer
Borislav Petkov writes: On Sat, May 03, 2014 at 07:59:23PM +0200, Peter Feuerer wrote: The bang-bang thermal governor uses a hysteresis to switch abruptly on or off a cooling device. It is intended to control fans, which can not be throttled but just switched on or off. Bang-bang cannot be set

Re: [PATCH v3 2/6] acerhdf: Adding support for new models

2014-07-18 Thread Peter Feuerer
Borislav Petkov writes: The major 0 is just from the ages, when all cool projects used to have a 0 in front. Maybe it would be a good idea to go for 1.0 when I implemented a better handling for the huge bios table. Probably. You could at least increment it to 0.6 when you switch to the bang-ba

Re: [PATCH] ARM: dts: add CPU nodes for Exynos4 SoCs

2014-07-18 Thread Mark Rutland
On Fri, Jul 18, 2014 at 05:00:02PM +0100, Bartlomiej Zolnierkiewicz wrote: > Recent patch by Tomasz Figa ("irqchip: gic: Fix core ID calculation > when topology is read from DT") fixed GIC driver to filter cluster ID > from values returned by cpu_logical_map() for SoCs having registers > mapped wit

Re: [PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread James Bottomley
On Fri, 2014-07-18 at 17:26 +0200, Benoit Taine wrote: > We should prefer `const struct pci_device_id` over > `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. > This issue was reported by checkpatch. What kernel coding style? checkpatch isn't the arbiter of style, if that's the o

Re: [PATCHv6 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-07-18 Thread Arnd Bergmann
On Saturday 19 July 2014 01:11:53 Chanwoo Choi wrote: > > Exynos3250/Exynos4/Exynos5 has 'adc' clock as following: > - 'adc' clock: bus clock for ADC > > Exynos3250 has additional 'sclk_adc' clock as following: > - 'sclk_adc' clock: special clock for ADC which provide clock to internal >

Re: [PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread John W. Linville
On Fri, Jul 18, 2014 at 05:26:47PM +0200, Benoit Taine wrote: > We should prefer `const struct pci_device_id` over > `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. > This issue was reported by checkpatch. Honestly, I prefer the macro -- it stands-out more. Maybe the style guide

[PATCH] media: davinci: vpif: fix array out of bound warnings

2014-07-18 Thread Lad, Prabhakar
This patch fixes following array out of bound warnings, drivers/media/platform/davinci/vpif_display.c: In function 'vpif_remove': drivers/media/platform/davinci/vpif_display.c:1389:36: warning: iteration 1u invokes undefined behavior [-Waggressive-loop-optimizations] vb2_dma_contig_cleanup_ctx(

Re: [PATCHv6 3/4] iio: devicetree: Add DT binding documentation for Exynos3250 ADC

2014-07-18 Thread Arnd Bergmann
On Saturday 19 July 2014 01:23:15 Chanwoo Choi wrote: > If don't add new compatible including specific exynos version, > I would add new 'adc-needs-sclk' property with existing 'exynos-adc-v2' > compatible name. > > > Dear Naveen, Tomasz, > > If existing exynos-adc driver add just one property f

Re: [PATCH, RFC] random: introduce getrandom(2) system call

2014-07-18 Thread Rolf Eike Beer
Theodore Ts'o wrote: > DESCRIPTION > > The system call getrandom() fills the buffer pointed to by buf > with up to buflen random bytes which can be used to seed user > space random number generators (i.e., DRBG's) or for other > cryptographic processes. It should not be u

[PATCH] Make IP_MULTICAST_ALL and IP_MSFILTER work on raw sockets

2014-07-18 Thread Quentin Armitage
Currently, although IP_MULTICAST_ALL and IP_MSFILTER ioctl calls succeed on raw sockets, there is no code to implement the functionality on received packets; it is only implemented for UDP sockets. The raw(7) man page states: "In addition, all ip(7) IPPROTO_IP socket options valid for datagram sock

Re: [PATCH] mm: vmscan: unlock_page page when forcing reclaim

2014-07-18 Thread Johannes Weiner
On Fri, Jul 18, 2014 at 11:48:02AM -0400, Richard Yao wrote: > A small userland program I wrote to assist me in drive forensic > operations soft deadlocked on Linux 3.14.4. The stack trace from /proc > was: > > [] sleep_on_page_killable+0xe/0x40 > [] wait_on_page_bit_killable+0x79/0x80 > [] __lock

Re: [PATCH] [RFC] initial getrandom wrapper to provide getentropy for LibreSSL

2014-07-18 Thread Brent Cook
On Jul 18, 2014, at 11:19 AM, Theodore Ts'o wrote: > On Fri, Jul 18, 2014 at 08:09:52AM -0500, Brent Cook wrote: >> On Jul 18, 2014, at 1:49 AM, Brent Cook wrote: >> >>> From: Brent Cook >>> >>> This is not a kernel patch, but rather an initial test of the API to see >>> how it might mesh Lib

Re: [PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Greg KH
On Fri, Jul 18, 2014 at 12:22:13PM -0400, John W. Linville wrote: > On Fri, Jul 18, 2014 at 05:26:47PM +0200, Benoit Taine wrote: > > We should prefer `const struct pci_device_id` over > > `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. > > This issue was reported by checkpatch. >

RE: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread KY Srinivasan
> -Original Message- > From: Christoph Hellwig (h...@infradead.org) [mailto:h...@infradead.org] > Sent: Friday, July 18, 2014 8:11 AM > To: KY Srinivasan > Cc: Jens Axboe; James Bottomley; micha...@cs.wisc.edu; Christoph Hellwig > (h...@infradead.org); linux-s...@vger.kernel.org; > gre...

Re: [PATCH 5/5] cgroup: introduce cgroup namespaces

2014-07-18 Thread Andy Lutomirski
On Jul 17, 2014 1:56 PM, "Aditya Kali" wrote: > > On Thu, Jul 17, 2014 at 12:57 PM, Andy Lutomirski wrote: > > On Thu, Jul 17, 2014 at 12:52 PM, Aditya Kali wrote: > >> Introduce the ability to create new cgroup namespace. The newly created > >> cgroup namespace remembers the 'struct cgroup *roo

Re: [PATCH 0/9] usb: musb: several bugfixes for the musb driver

2014-07-18 Thread Felipe Balbi
Hi, On Fri, Jul 18, 2014 at 01:16:36PM -0300, Ezequiel Garcia wrote: > Hi Lothar, > > On 18 Jul 11:31 AM, Lothar Waßmann wrote: > > The first three patches do some source code cleanup in the files that > > are modified in the subsequent patches. > > > > I've applied patches 4 and 9 on a recent

Re: [PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread James Bottomley
On Fri, 2014-07-18 at 09:43 -0700, Greg KH wrote: > On Fri, Jul 18, 2014 at 12:22:13PM -0400, John W. Linville wrote: > > On Fri, Jul 18, 2014 at 05:26:47PM +0200, Benoit Taine wrote: > > > We should prefer `const struct pci_device_id` over > > > `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding styl

Re: [PATCHv6 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-07-18 Thread Chanwoo Choi
On Sat, Jul 19, 2014 at 1:31 AM, Arnd Bergmann wrote: > On Saturday 19 July 2014 01:11:53 Chanwoo Choi wrote: >> >> Exynos3250/Exynos4/Exynos5 has 'adc' clock as following: >> - 'adc' clock: bus clock for ADC >> >> Exynos3250 has additional 'sclk_adc' clock as following: >> - 'sclk_adc' cl

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread James Bottomley
On Fri, 2014-07-18 at 16:44 +, KY Srinivasan wrote: > > > -Original Message- > > From: Christoph Hellwig (h...@infradead.org) [mailto:h...@infradead.org] > > Sent: Friday, July 18, 2014 8:11 AM > > To: KY Srinivasan > > Cc: Jens Axboe; James Bottomley; micha...@cs.wisc.edu; Christoph H

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread Christoph Hellwig
On Wed, Jun 04, 2014 at 09:33:43AM -0700, K. Y. Srinivasan wrote: > Commit ID: 7e660100d85af860e7ad763202fff717adcdaacd added code to derive the > FLUSH_TIMEOUT from the basic I/O timeout. However, this patch did not use the > basic I/O timeout of the device. Fix this bug. > > Signed-off-by: K. Y.

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread h...@infradead.org
On Fri, Jul 18, 2014 at 04:57:13PM +, James Bottomley wrote: > Actually, no you didn't. The difference is in the derivation of the > timeout. Christoph's patch is absolute in terms of SD_TIMEOUT; yours is > relative to the queue timeout setting ... I thought there was a reason > for preferrin

[PATCH 1/6] ARM: dts: vf610: add USB PHY and controller

2014-07-18 Thread Stefan Agner
This adds USB PHY and USB controller nodes. Vybrid SoCs have two independent USB cores which each supports DR (dual role). However, real OTG is not supported since the OTG ID pin is not available. The PHYs are located within the anadig register range, hence we need to change the length of the anad

[PATCH 2/6] ARM: imx: clk-vf610: add USBPHY clocks

2014-07-18 Thread Stefan Agner
This commit adds PLL7 which is required for USBPHY1. It also adds the USB PHY and USB Controller clocks and the gates to enable them. Signed-off-by: Stefan Agner --- All the main PLLs are currently turned on by boot ROM or boot loader, within the kernel we only set the fixed factor. Altough, the

[PATCH 0/6] vf610: Add USB support

2014-07-18 Thread Stefan Agner
This patchset adds USB support for Vybrid VF610 SoC. It extends the clock framework to support the USB PHY cocks, extends the device tree files and adds support for the non-core registers in the usbmisc_imx driver. This patchset needs the eSDHC length fix available in Shawn's for-next branch. The

Re: [PATCHv6 3/4] iio: devicetree: Add DT binding documentation for Exynos3250 ADC

2014-07-18 Thread Chanwoo Choi
On Sat, Jul 19, 2014 at 1:33 AM, Arnd Bergmann wrote: > On Saturday 19 July 2014 01:23:15 Chanwoo Choi wrote: >> If don't add new compatible including specific exynos version, >> I would add new 'adc-needs-sclk' property with existing 'exynos-adc-v2' >> compatible name. >> >> >> Dear Naveen, Tomas

[PATCH 6/6] ARM: dts: vf610-colibri: add USB support

2014-07-18 Thread Stefan Agner
Add USB support for Colibri VF61 modules. Due to lack of pinmux options, the USB hosts over-current protection signal of the Colibri standard could not be connected to the PHY's over-current protection, hence we need to disable it. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610-colibri.

[PATCH 3/6] ARM: dts: vf610: Add usbmisc for non-core registers

2014-07-18 Thread Stefan Agner
Add device tree node for usbmisc which controls the non-core USB registers. This is required to use the property to disable the over- current detection. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610.dtsi | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ar

[PATCH 5/6] usb: phy: mxs: Add VF610 USB PHY support

2014-07-18 Thread Stefan Agner
This adds support for the USB PHY in Vybrid VF610. We assume that the disconnection without VBUS is also needed for Vybrid. For all other flags, the presumption of innocence applies. Signed-off-by: Stefan Agner --- drivers/usb/phy/phy-mxs-usb.c | 5 + 1 file changed, 5 insertions(+) diff --

[PATCH 4/6] chipidea: usbmisc_imx: Add USB support for VF610 SoCs

2014-07-18 Thread Stefan Agner
This adds Vybrid VF610 SoC support. The IP is very similar to i.MX6, however the non-core registers are spread in two different register areas. Hence we support multiple registers which are addressed by the index of usbmisc. Signed-off-by: Stefan Agner --- I tried first to create two usbmisc node

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread James Bottomley
On Fri, 2014-07-18 at 10:00 -0700, Christoph Hellwig wrote: > On Wed, Jun 04, 2014 at 09:33:43AM -0700, K. Y. Srinivasan wrote: > > Commit ID: 7e660100d85af860e7ad763202fff717adcdaacd added code to derive the > > FLUSH_TIMEOUT from the basic I/O timeout. However, this patch did not use > > the > >

Re: [PATCH 4/7] firmware_class: perform new LSM checks

2014-07-18 Thread Kees Cook
On Thu, Jul 17, 2014 at 8:41 PM, James Morris wrote: > On Mon, 14 Jul 2014, Kees Cook wrote: > >> This attaches LSM hooks to the existing firmware loading interfaces: >> filesystem-found firmware and demand-loaded blobs. > >> static int fw_get_filesystem_firmware(struct device *device, >> @@ -640

Re: [PATCH-v2] tracing: Fix wraparound problems in "uptime" tracer

2014-07-18 Thread Tony Luck
On Thu, Jul 17, 2014 at 7:08 PM, Steven Rostedt wrote: >> Do we really need to convert to nanoseconds? Couldn't we just return >> jiffies: > > Sure, and we can make it a "counter". That is, the counters don't hide > 1000 counts on output. Can you explain that a bit more ... how do we mark it as a

RE: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread KY Srinivasan
> -Original Message- > From: James Bottomley [mailto:jbottom...@parallels.com] > Sent: Friday, July 18, 2014 9:57 AM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; h...@infradead.org; a...@canonical.com; > de...@linuxdriverproject.org; micha...@cs.wisc.edu; ax...@kernel.dk; > lin

Re: Sparc: Fix Mes in highmem.c

2014-07-18 Thread Nick Krause
On Fri, Jul 18, 2014 at 10:08 AM, Steven Rostedt wrote: > On Thu, Jul 17, 2014 at 11:05:12PM -0400, Nick Krause wrote: >> On Thu, Jul 17, 2014 at 1:38 PM, Nick Krause wrote: >> > On Thu, Jul 17, 2014 at 3:52 AM, Sam Ravnborg wrote: >> >> On Wed, Jul 16, 2014 at 10:25:30PM -0400, Nick Krause wrot

Re: Alpha Checkpatch Errors

2014-07-18 Thread Nick Krause
On Fri, Jul 18, 2014 at 7:58 AM, Steven Rostedt wrote: > On Thu, Jul 17, 2014 at 11:24:45PM -0400, Nick Krause wrote: >> > >> Yes I am human. Now thinking about it we need it to test for staging. > > Why do you say that? > > -- Steve Sorry I was trying to help , I guess this conversation is now cl

Re: [PATCH] spi: omap2-mcspi: fix blatant abuse of the resource subsystem

2014-07-18 Thread Mark Brown
On Fri, Jul 18, 2014 at 01:30:53PM +0200, Lothar Waßmann wrote: > Aua. This really hurts. I wonder how this could ever be admitted to > the Linux kernel... > Further comments suppressed because the would most likely violate the > CDA. > > If someone should not grasp what this patch does, they shou

Re: [PATCH 6/7] firmware_class: add "fd" input file

2014-07-18 Thread Mimi Zohar
On Mon, 2014-07-14 at 14:38 -0700, Kees Cook wrote: > As an alternative to loading bytes from the "data" blob when reading > firmware, let kernel read from an fd, so that the LSM can reason about > the origin of firmware contents during userspace on-demand loading. > > Signed-off-by: Kees Cook >

Re: [PATCH 3/7] security: introduce kernel_fw_from_file hook

2014-07-18 Thread Mimi Zohar
On Mon, 2014-07-14 at 14:38 -0700, Kees Cook wrote: > In order to validate the contents of firmware being loaded, there must be > a hook to evaluate any loaded firmware that wasn't built into the kernel > itself. Without this, there is a risk that a root user could load malicious > firmware design

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread h...@infradead.org
This is what I plan to put in after it passes basic testing: --- >From bb617c9465b839d70ecbbc69002a20ccf5f935bd Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Fri, 18 Jul 2014 19:12:58 +0200 Subject: sd: fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout Commit ID: 7e66

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread h...@infradead.org
On Fri, Jul 18, 2014 at 10:12:38AM -0700, h...@infradead.org wrote: > This is what I plan to put in after it passes basic testing: And that one was on top of my previous version. One that applies against core-for-3.17 below: --- >From 8a79783e5f72ec034a724e16c1f46604bd97bf68 Mon Sep 17 00:00:00

Re: [PATCH v12 11/11] seccomp: add thread sync ability

2014-07-18 Thread Andy Lutomirski
On Thu, Jul 17, 2014 at 8:26 PM, James Morris wrote: > On Thu, 17 Jul 2014, Kees Cook wrote: > >> Twelfth time's the charm! :) > > Btw, there doesn't seem to be an official seccomp maintainer. Kees, would > you like to volunteer for this? If so, send in a patch for MAINTAINERS, > and set up a gi

Re: hcd.c Fix me statements

2014-07-18 Thread Nick Krause
On Fri, Jul 18, 2014 at 10:45 AM, Alan Stern wrote: > On Fri, 18 Jul 2014, Nick Krause wrote: > >> I am assuming this is a stupid question but since I am new I will ask it >> anyway. >> Can the usb_bus structure be Null? If can I will send it a patch removing >> the >> fix mes on lines 854 an

RE: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread Elliott, Robert (Server Storage)
> From: James Bottomley [mailto:jbottom...@parallels.com] > > On Fri, 2014-07-18 at 00:51 +, Elliott, Robert (Server Storage) > wrote: ... > > > > Also, in both sd_setup_flush_cmnd and sd_sync_cache: > > cmd->cmnd[0] = SYNCHRONIZE_CACHE; > > cmd->cmd_len = 10; > > > > SYNCHRONIZE

Re: [PATCH 4/5] kernel/debug/kdb/kdb_bp.c: drop negativity check on unsigned value

2014-07-18 Thread walter harms
Am 18.07.2014 17:34, schrieb Andrey Utkin: > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80591 > Reported-by: David Binderman > Signed-off-by: Andrey Utkin > --- > kernel/debug/kdb/kdb_bp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/debug/kdb/kdb

Re: [PATCH] Input: sirfsoc-onkey - fix GPL v2 license string typo

2014-07-18 Thread Dmitry Torokhov
On Tue, Jul 15, 2014 at 05:24:45PM -0600, Bjorn Helgaas wrote: > Per license_is_gpl_compatible(), the MODULE_LICENSE() string for GPL v2 is > "GPL v2", not "GPLv2". Use "GPL v2" so this module doesn't taint the > kernel. > > Signed-off-by: Bjorn Helgaas Applied, thank you. > --- > drivers/inp

<    2   3   4   5   6   7   8   9   10   >