[GIT PULL] perf fixes

2014-02-09 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: 2737fce8bc8dea2852289df29b4f92e6a7fb7c91 Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/lin

Re: [PATCH v13 8/9] Add 32 bit VDSO time support for 32 bit kernel

2014-02-09 Thread Stefani Seibold
Am Samstag, den 08.02.2014, 21:22 -0800 schrieb Andi Kleen: > > +notrace static long vdso_fallback_gettime(long clock, struct timespec *ts) > > +{ > > + long ret; > > + > > + asm( > > + "push %%ebx \n" > > + "mov %2,%%ebx \n" > > + "call VDSO32_vsyscall \n" > > +

Re: [PATCH v13 8/9] Add 32 bit VDSO time support for 32 bit kernel

2014-02-09 Thread Stefani Seibold
Am Samstag, den 08.02.2014, 23:21 -0800 schrieb Andi Kleen: > On Sat, Feb 08, 2014 at 09:22:30PM -0800, Andi Kleen wrote: > > > +notrace static long vdso_fallback_gettime(long clock, struct timespec > > > *ts) > > > +{ > > > + long ret; > > > + > > > + asm( > > > + "push %%ebx \n" > > > +

[PATCH 1/3] staging: rtl8188eu: remove header file if_ether.h

2014-02-09 Thread navin patidar
"if_ether.h" is included in three files but not being used, so remove "include/if_ether.h" header file and inclusion of this header file. Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/core/rtw_recv.c |1 - drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c |1 - drivers/sta

[PATCH 2/3] staging: rtl8188eu: remove header file ip.h

2014-02-09 Thread navin patidar
"ip.h" is included in four files but not being used, so remove "include/ip.h" header file and inclusion of this header file. Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/core/rtw_recv.c |1 - drivers/staging/rtl8188eu/core/rtw_xmit.c |1 - drivers/staging/rtl8188e

[PATCH 3/3] staging: rtl8188eu: remove header file ethernet.h

2014-02-09 Thread navin patidar
"ethernet.h" is included in three files but only "rtw_recv.c" using two macros defined in "ethernet.h", so move used macros in "rtw_recv.c" and remove "include/ethernet.h" header file and inclusion of this header file. Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/core/rtw_recv.c

[PATCH 1/2] gpiolib: add gpiochip_get_desc() driver function

2014-02-09 Thread Alexandre Courbot
Some drivers dealing with a gpio_chip might need to act on its descriptors directly; one example is pinctrl drivers that need to lock a GPIO for being used as IRQ using gpiod_lock_as_irq(). This patch exports a gpiochip_get_desc() function that returns the GPIO descriptor at the requested index. I

[PATCH 2/2] gpiolib: ACPI: remove gpio_to_desc() usage

2014-02-09 Thread Alexandre Courbot
gpio_to_desc() must die. Replace one of its usage by the newly-introduced gpiochip_get_desc() function. Signed-off-by: Alexandre Courbot --- Mika, can we have your review on this? drivers/gpio/gpiolib-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpioli

[RFC] usb: option: blacklist ZTE MF667 net interface

2014-02-09 Thread Raymond Wanyoike
Interface #5 of 19d2:1270 is a net interface which has been submitted to the qmi_wwan driver so consequently remove it from the option driver. Signed-off-by: Raymond Wanyoike --- drivers/usb/serial/option.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/serial/

Re: [PATCH 1/2] ACPI / processor: Replace hard-coded "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID

2014-02-09 Thread Hanjun Guo
On 2014年02月08日 23:03, Rafael J. Wysocki wrote: On Saturday, February 08, 2014 08:46:25 PM Hanjun Guo wrote: Replace "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID to improve code readability. Signed-off-by: Hanjun Guo --- drivers/acpi/processor_core.c |3 ++- 1 file changed, 2 insertions(+),

[Update][PATCH 1/2] ACPI / processor: Replace hard-coded "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID

2014-02-09 Thread Hanjun Guo
Replace "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID to improve code readability. Signed-off-by: Hanjun Guo --- drivers/acpi/processor_core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index a4eea9a..f31d0fb 1

Re: Fix ccp_run_passthru_cmd dma variable assignments

2014-02-09 Thread Herbert Xu
On Fri, Jan 24, 2014 at 02:17:12PM -0600, Tom Lendacky wrote: > On 01/24/2014 12:39 PM, Dave Jones wrote: > > There are some suspicious looking lines of code in the new ccp driver, > > including > > one that assigns a variable to itself, and another that overwrites a > > previous assignment. > >

Re: [PATCH 0/4] crypto: ccp - selective algorithm registration and ipsec-related fixes

2014-02-09 Thread Herbert Xu
On Fri, Jan 24, 2014 at 04:17:50PM -0600, Tom Lendacky wrote: > Patch 1: Allow for selectively disabling the registration of an algorithm > family (sha or aes algorithms) via module parameters. > > Patch 2-4: Fix errors/issues that were found during IPSec testing. In > order to prevent deadlocks w

Re: [patch] hw_random: cleanup in hwrng_register()

2014-02-09 Thread Herbert Xu
On Fri, Jan 31, 2014 at 04:18:51PM +1030, Rusty Russell wrote: > Dan Carpenter writes: > > My static checker complains that: > > > > drivers/char/hw_random/core.c:341 hwrng_register() > > warn: we tested 'old_rng' before and it was 'false' > > > > The problem is that sometimes we test "if

Re: [PATCHv4] driver core/platform: don't leak memory allocated for dma_mask

2014-02-09 Thread Uwe Kleine-König
Hello Yann, On Sun, Feb 09, 2014 at 08:47:22AM +0100, Yann Droneaud wrote: > Hi, > > Le samedi 08 février 2014 à 16:09 +0100, Uwe Kleine-König a écrit : > > On Fri, Feb 07, 2014 at 03:20:05PM -0800, Greg Kroah-Hartman wrote: > > > On Mon, Jan 27, 2014 at 11:05:52AM +0100, Yann Droneaud wrote: > >

[PATCH] drm/ttm: declare 'struct device' in ttm_page_alloc.h

2014-02-09 Thread Alexandre Courbot
Declare 'struct device' explicitly in ttm_page_alloc.h as this file does not include any file declaring it. This removes the following warning: warning: 'struct device' declared inside parameter list Signed-off-by: Alexandre Courbot --- This warning was visible when compiling Nouveau on

[PATCH] intel_pstate: fix race condition in intel_pstate_init()

2014-02-09 Thread Maurizio Lombardi
There is a race condition in the intel pstate driver initialization: the cpufreq_register_driver() function creates a timer that makes use of the energy_divisor variable (intel_pstate_timer_func), the problem is that energy_divisor is initialized *after* the call to cpufreq_register_driver(). Thi

Re: [PATCH v13 8/9] Add 32 bit VDSO time support for 32 bit kernel

2014-02-09 Thread Andi Kleen
> EBX is a reserved as the base register when compiling with -fPIC. > Otherwise it get a "error: can't find a register in class 'BREG' while > reloading 'asm'". In this case you have to dwarf annotate the push/pop > > > Also I if this calls syscall.S:__kernel_vsyscall it clobbers more registers

Re: [PATCH] time/cpuidle:Fixup fallout from hrtimer broadcast mode inclusion

2014-02-09 Thread Preeti U Murthy
Hi David, I have sent out a revised patch on https://lkml.org/lkml/2014/2/9/2. Can you let me know if this works for you? Thanks Regards Preeti U Murthy On 02/09/2014 01:01 PM, David Rientjes wrote: > On Fri, 7 Feb 2014, Preeti U Murthy wrote: > >> The broadcast timer registration has to be do

Re: Linux 3.12.10

2014-02-09 Thread Jiri Slaby
On 02/06/2014 09:00 PM, Greg KH wrote: > Tomas Winkler (1): mei: use hbm idle state to prevent spurious > resets Hi, I'm getting this now: drivers/misc/mei/hbm.c: In function 'mei_hbm_dispatch': drivers/misc/mei/hbm.c:596:3: warning: 'return' with a value, in function returning void Care to fix

Re: [PATCH v13 8/9] Add 32 bit VDSO time support for 32 bit kernel

2014-02-09 Thread Stefani Seibold
Am Sonntag, den 09.02.2014, 02:05 -0800 schrieb Andi Kleen: > > EBX is a reserved as the base register when compiling with -fPIC. > > Otherwise it get a "error: can't find a register in class 'BREG' while > > reloading 'asm'". > > In this case you have to dwarf annotate the push/pop > Okay, but

Re: Linux 3.12.10

2014-02-09 Thread Paul Bolle
On Sun, 2014-02-09 at 11:32 +0100, Jiri Slaby wrote: > I'm getting this now: > drivers/misc/mei/hbm.c: In function 'mei_hbm_dispatch': > drivers/misc/mei/hbm.c:596:3: warning: 'return' with a value, in > function returning void Greg already queued my trivial patch to fix this for the v3.13.y branc

[PATCH 1/2] kobject: don't block for each kobject_uevent

2014-02-09 Thread Vladimir Davydov
Currently kobject_uevent has somewhat unpredictable semantics. The point is, since it may call a usermode helper and wait for it to execute (UMH_WAIT_EXEC), it is impossible to say for sure what lock dependencies it will introduce for the caller - strictly speaking it depends on what fs the binary

[PATCH 2/2] slub: do not drop slab_mutex for sysfs_slab_add

2014-02-09 Thread Vladimir Davydov
We release the slab_mutex while calling sysfs_slab_add from __kmem_cache_create since commit 66c4c35c6bc5, because kobject_uevent called by sysfs_slab_add might block waiting for the usermode helper to exec, which would result in a deadlock if we took the slab_mutex while executing it. However, ap

[PATCH 1/4] drivers: xen: Mark function as static in platform-pci.c

2014-02-09 Thread Rashika Kheria
Mark function as static in xen/platform-pci.c because it is not used outside this file. This eliminates the following warning in xen/platform-pci.c: drivers/xen/platform-pci.c:48:15: warning: no previous prototype for ‘alloc_xen_mmio’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewe

[PATCH 2/4] drivers: xen: Include appropriate header file in pcpu.c

2014-02-09 Thread Rashika Kheria
Include appropriate header file in xen/pcpu.c because include/xen/acpi.h contains prototype declaration of functions defined in the file. This eliminates the following warning in xen/pcpu.c: drivers/xen/pcpu.c:336:6: warning: no previous prototype for ‘xen_pcpu_hotplug_sync’ [-Wmissing-prototypes

[PATCH 3/4] drivers: xen: Move prototype declaration to appropriate header file from arch/x86/xen/xen-ops.h

2014-02-09 Thread Rashika Kheria
Move prototype declaration to header file include/xen/xen-ops.h from arch/x86/xen/xen-ops.h because they are used by more than one file. This eliminates the following warning in drivers/xen/events/: drivers/xen/events_2l.c:1231:13: warning: no previous prototype for ‘xen_debug_interrupt’ [-Wmissi

[PATCH 4/4] drivers: xen: Move prototype declaration to header file include/xen/xen-ops.h from arch/x86/xen/xen-ops.h

2014-02-09 Thread Rashika Kheria
Move prototype declaration to header file include/xen/xen-ops.h from arch/x86/xen/xen-ops.h because it is used by more than one file. Also, remove else condition from xen/events/events_base.c to eliminate conflicting definitions when CONFIG_XEN_PVHVM is not defined. This eliminates the following w

Re: [PATCH v13 8/9] Add 32 bit VDSO time support for 32 bit kernel

2014-02-09 Thread Stefani Seibold
Am Sonntag, den 09.02.2014, 02:05 -0800 schrieb Andi Kleen: > > EBX is a reserved as the base register when compiling with -fPIC. > > Otherwise it get a "error: can't find a register in class 'BREG' while > > reloading 'asm'". > > In this case you have to dwarf annotate the push/pop > > > > > >

Re: [PATCH 4/4] drivers: xen: Move prototype declaration to header file include/xen/xen-ops.h from arch/x86/xen/xen-ops.h

2014-02-09 Thread Josh Triplett
On Sun, Feb 09, 2014 at 04:42:33PM +0530, Rashika Kheria wrote: > Move prototype declaration to header file include/xen/xen-ops.h from > arch/x86/xen/xen-ops.h because it is used by more than one file. Also, > remove else condition from xen/events/events_base.c to eliminate > conflicting definition

Re: [PATCH] This extends tx_data and and iscsit_do_tx_data with the additional parameter flags and avoids sending multiple TCP packets in iscsit_fe_sendpage_sg

2014-02-09 Thread Eric Dumazet
On Sun, 2014-02-09 at 08:42 +0100, Eric Dumazet wrote: > The new infrastructure is used in iscsit_fe_sendpage_sg to avoid sending three > TCP packets instead of one by settings the MSG_MORE when calling > kernel_sendmsg > via the wrapper functions tx_data and iscsit_do_tx_data. This reduces the TC

Re: [PROBLEM] x86: result of verify_local_APIC() is ignored

2014-02-09 Thread Ingo Molnar
* Jon wrote: > In arch/x86/kernel/apic/apic.c there is a function called > verify_local_APIC() that does some APIC checks. The part where it writes > to the APIC ID register can cause CPU #15 to not come online under > VMware ESXi on 32-bit kernels if the virtual hardware version is 8. > > I no

Re: [PATCH] sched/wait: suppress sparse 'variable shadowing' warning

2014-02-09 Thread Ingo Molnar
* Steven Rostedt wrote: > On Thu, 6 Feb 2014 17:45:58 +0100 > Peter Zijlstra wrote: > > > On Thu, Feb 06, 2014 at 05:28:41PM +0100, Johannes Berg wrote: > > > From: Johannes Berg > > > > > > This warning seems to show up a lot now, since ___wait_event() > > > is (indirectly) used inside wait

[PATCH 01/21] fs: Remove unused function in afs/write.c

2014-02-09 Thread Rashika Kheria
Remove unused function in afs/write.c. This eliminates the following warning in afs/write.c: fs/afs/write.c:749:5: warning: no previous prototype for ‘afs_page_mkwrite’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- fs/afs/write.c | 21 --

[PATCH 02/21] fs: Include appropriate header file in dlm/ast.c

2014-02-09 Thread Rashika Kheria
Include appropriate header file fs/dlm/ast.h in fs/dlm/ast.c because it contains function prototypes of some functions defined in fs/dlm/ast.c. This also eliminates the following warning in fs/dlm/ast: fs/dlm/ast.c:52:5: warning: no previous prototype for ‘dlm_add_lkb_callback’ [-Wmissing-prototy

[PATCH 03/21] fs: Mark function as static in fs/bio-integrity.c

2014-02-09 Thread Rashika Kheria
Mark functions as static in bio-integrity.c because it is not used outside this file. This eliminates the following warnings in bio-integrity.c: fs/bio-integrity.c:224:5: warning: no previous prototype for ‘bio_integrity_tag’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria --- fs/bio-inte

Re: [GIT PULL] liblockdep fixes for v3.14

2014-02-09 Thread Ingo Molnar
* Sasha Levin wrote: > The following changes since commit 65370bdf881e20907e7a53abab9b8c0bc5f60a6b: > > Merge branch 'linus' into core/locking (2014-02-02 09:43:20 +0100) > > are available in the git repository at: > > > https://github.com/sashalevin/liblockdep.git liblockdep-fixes > >

[PATCH] drm/tegra: fix typo 'CONFIG_TEGRA_DRM_FBDEV'

2014-02-09 Thread Paul Bolle
Signed-off-by: Paul Bolle --- Entirely untested. But it's clear that this is what was intended. drivers/gpu/drm/tegra/drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c index 88a5290..c715947 100644 --- a/drivers/gp

[PATCH 04/21] fs: Add prototype declaration to appropriate header file include/linux/bio.h

2014-02-09 Thread Rashika Kheria
Add prototype declaration to header file include/linux/bio.h because it is used by more than one file. This eliminates the following warning in bio-integrity.c: fs/bio-integrity.c:214:14: warning: no previous prototype for ‘bio_integrity_tag_size’ [-Wmissing-prototypes] Signed-off-by: Rashika Kh

[PATCH 05/21] fs: Mark function as static in exofs/super.c

2014-02-09 Thread Rashika Kheria
Mark function as static in exofs/super.c because it is not used outside this file. This also eliminates the following warning in exofs/super.c: fs/exofs/super.c:546:5: warning: no previous prototype for ‘__alloc_dev_table’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh T

[PATCH 06/21] fs: Mark functions as static in exofs/ore_raid.c

2014-02-09 Thread Rashika Kheria
Mark functions as static in exofs/ore_raid.c because they are not used outside this file. This also eliminates the following warning in exofs/ore_raid.c: fs/exofs/ore_raid.c:24:14: warning: no previous prototype for ‘_raid_page_alloc’ [-Wmissing-prototypes] fs/exofs/ore_raid.c:29:6: warning: no p

[PATCH 07/21] fs: Mark function as static in ext2/xattr_security.c

2014-02-09 Thread Rashika Kheria
Mark function as static in ext2/xattr_security.c because it is not used outside this file. This also elimiantes the following warning in ext2/xattr_security.c: fs/ext2/xattr_security.c:45:5: warning: no previous prototype for ‘ext2_initxattrs’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria

Re: [PATCH 03/21] fs: Mark function as static in fs/bio-integrity.c

2014-02-09 Thread Josh Triplett
On Sun, Feb 09, 2014 at 06:22:53PM +0530, Rashika Kheria wrote: > Mark functions as static in bio-integrity.c because it is not used > outside this file. > > This eliminates the following warnings in bio-integrity.c: > fs/bio-integrity.c:224:5: warning: no previous prototype for > ‘bio_integrity_

Re: [PATCH 02/21] fs: Include appropriate header file in dlm/ast.c

2014-02-09 Thread Josh Triplett
On Sun, Feb 09, 2014 at 06:19:17PM +0530, Rashika Kheria wrote: > Include appropriate header file fs/dlm/ast.h in fs/dlm/ast.c because it > contains function prototypes of some functions defined in fs/dlm/ast.c. > > This also eliminates the following warning in fs/dlm/ast: > fs/dlm/ast.c:52:5: war

Re: [PATCH 04/21] fs: Add prototype declaration to appropriate header file include/linux/bio.h

2014-02-09 Thread Josh Triplett
On Sun, Feb 09, 2014 at 06:30:39PM +0530, Rashika Kheria wrote: > Add prototype declaration to header file include/linux/bio.h because it > is used by more than one file. > > This eliminates the following warning in bio-integrity.c: > fs/bio-integrity.c:214:14: warning: no previous prototype for

[PATCH 08/21] fs: Mark function as static in ext3/dir.c

2014-02-09 Thread Rashika Kheria
Mark function as static in ext3/dir.c because it is not used outside this file. This also eliminates the following warning in ext3/dir.c: fs/ext3/dir.c:278:8: warning: no previous prototype for ‘ext3_dir_llseek’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --

[PATCH] [TRIVIAL] net-sysfs: fix comment typo 'CONFIG_SYFS'

2014-02-09 Thread Paul Bolle
Signed-off-by: Paul Bolle --- Untested. net/core/net-sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 9388624..549043c 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c @@ -789,7 +789,7 @@ exit: kobje

[PATCH 09/21] fs: Mark function as static in ext3/xattr_security.c

2014-02-09 Thread Rashika Kheria
Mark function as static in ext3/xattr_security.c because it is not used outside this file. This eliminates the following warning in ext3/xattr_security.c: fs/ext3/xattr_security.c:46:5: warning: no previous prototype for ‘ext3_initxattrs’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Rev

[PATCH 10/21] fs: Mark functions as static in gfs2/rgrp.c

2014-02-09 Thread Rashika Kheria
Mark functions as static in gfs2/rgrp.c because they are not used outside this file. This eliminates the following warning in gfs2/rgrp.c: fs/gfs2/rgrp.c:1092:5: warning: no previous prototype for ‘gfs2_rgrp_bh_get’ [-Wmissing-prototypes] fs/gfs2/rgrp.c:1157:5: warning: no previous prototype for

[PATCH 11/21] fs: Mark functions as static in jbd2/journal.c

2014-02-09 Thread Rashika Kheria
Mark functions as static in jbd2/journal.c because they are not used outside this file. This eliminates the following warning in jbd2/journal.c: fs/jbd2/journal.c:125:5: warning: no previous prototype for ‘jbd2_verify_csum_type’ [-Wmissing-prototypes] fs/jbd2/journal.c:146:5: warning: no previous

[PATCH 12/21] fs: Include appropriate header file in notify/fdinfo.c

2014-02-09 Thread Rashika Kheria
Include appropriate header file fs/notify/fdinfo.h because it has function prototypes of some function defined in fs/notify/fdinfo.c. This eliminates the following warning in fs/notify/fdinfo.c: fs/notify/fdinfo.c:103:5: warning: no previous prototype for ‘inotify_show_fdinfo’ [-Wmissing-prototyp

[PATCH 13/21] fs: Mark functions as static in ocfs2/ioctl.c

2014-02-09 Thread Rashika Kheria
Mark functions as static in ocfs/ioctl.c because they are not used outside this file. This eliminates the following warning in ocfs/ioctl.c: fs/ocfs2/ioctl.c:145:5: warning: no previous prototype for ‘ocfs2_info_handle_blocksize’ [-Wmissing-prototypes] fs/ocfs2/ioctl.c:169:5: warning: no previous

[PATCH 14/21] fs: Mark functions as static in ocfs2/journal.c

2014-02-09 Thread Rashika Kheria
Mark functions as static in ocfs2/journal.c because they are not used outside this file. This eliminates the following warning in ocfs2/journal.c: fs/ocfs2/journal.c:106:6: warning: no previous prototype for ‘ocfs2_replay_map_set_state’ [-Wmissing-prototypes] fs/ocfs2/journal.c:151:6: warning: no

[PATCH 15/21] fs: Mark function as static in ocfs2/xattr.c

2014-02-09 Thread Rashika Kheria
Mark functions as static in ocfs2/xattr.c because it is not used outside this file. This eliminates the following warning in ocfs2/xattr.c: fs/ocfs2/xattr.c:7256:5: warning: no previous prototype for ‘ocfs2_initxattrs’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Tripl

[PATCH 16/21] fs: Mark function as static in ocfs2/cluster/heartbeat.c

2014-02-09 Thread Rashika Kheria
Mark function as static in ocfs2/cluster/heartbeat.c because it is not used outside this file. This eliminates the following warning in ocfs2/cluster/heartbeat.c: fs/ocfs2/cluster/heartbeat.c:2470:6: warning: no previous prototype for ‘o2hb_region_dec_user’ [-Wmissing-prototypes] Signed-off-by:

[PATCH 17/21] fs: Mark function as static in proc/array.c

2014-02-09 Thread Rashika Kheria
Mark function as static in proc/array.c because it is not used outside this file. This eliminates the following warning in proc/array.c: fs/proc/array.c:712:5: warning: no previous prototype for ‘children_seq_release’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triple

[PATCH 18/21] fs: Include appropriate header file in proc/proc_tty.c

2014-02-09 Thread Rashika Kheria
Include appropriate header file in proc/proc_tty.c because header file proc/internal.h contains function prototypes of functions defined in the file. This eliminates the following warning in proc/proc_tty.c: fs/proc/proc_tty.c:175:13: warning: no previous prototype for ‘proc_tty_init’ [-Wmissing-

Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing

2014-02-09 Thread Steven Newbury
On Sun, 2014-02-09 at 01:02 +0100, Daniel Vetter wrote: > On Sat, Feb 8, 2014 at 9:22 PM, Paul Bolle wrote: > > Daniel Vetter schreef op za 08-02-2014 om 20:59 [+0100]: > >> Hm, if this is really a regression between 3.13 and 3.14-rc1 then I > >> don't see any quick candidates - relevant functions

[PATCH] Drop remaining code for CRISv10 CPU simulator

2014-02-09 Thread Paul Bolle
The Kconfig symbol SVINTO_SIM got dropped in commit e269a869417c ("Drop code for CRISv10 CPU simulator"). Now drop the remaining code for that simulator. Signed-off-by: Paul Bolle --- Not even compile tested. drivers/tty/serial/crisv10.c | 112 --- 1 file

Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing

2014-02-09 Thread Paul Bolle
On Sun, 2014-02-09 at 13:15 +, Steven Newbury wrote: > PCI resource allocation is undergoing some changes at the moment, it's > definitely a bug if the Flush Page isn't getting allocated. I'm looking > forward to hopefully getting pci_bus_alloc_resource_fit() behaviour in > mainline, it will p

[PATCH 19/21] fs: Add prototype declaration to header file include/linux/syscalls.h

2014-02-09 Thread Rashika Kheria
Add prototype declaration to header file include/linux/syscalls.h because it is used by more than one file. This eliminates the following warning in quota/compat.c: fs/quota/compat.c:43:17: warning: no previous prototype for ‘sys32_quotactl’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria

[PATCH 20/21] fs: Move prototype declaration to header file reiserfs.h from super.c

2014-02-09 Thread Rashika Kheria
Move prototype declaration to header file reiserfs/reiserfs.h from reiserfs/super.c because they are used by more than one file. This eliminates the following warning in reiserfs/bitmap.c: fs/reiserfs/bitmap.c:647:6: warning: no previous prototype for ‘show_alloc_options’ [-Wmissing-prototypes]

[PATCH] MIPS: Replace CONFIG_MIPS64 and CONFIG_MIPS32_R2

2014-02-09 Thread Paul Bolle
Commit 597ce1723e0f ("MIPS: Support for 64-bit FP with O32 binaries") introduced references to two undefined Kconfig macros. CONFIG_MIPS32_R2 should clearly be replaced with CONFIG_CPU_MIPS32_R2. And CONFIG_MIPS64 should apparently be replaced with CONFIG_64BIT. Signed-off-by: Paul Bolle --- Unte

Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing

2014-02-09 Thread Steven Newbury
On Sun, 2014-02-09 at 14:25 +0100, Paul Bolle wrote: > On Sun, 2014-02-09 at 13:15 +, Steven Newbury wrote: > > PCI resource allocation is undergoing some changes at the moment, it's > > definitely a bug if the Flush Page isn't getting allocated. I'm looking > > forward to hopefully getting pc

[PATCH 21/21] fs: Move prototype declaration to appropriate header file

2014-02-09 Thread Rashika Kheria
Move prototype declaration to header file include/linux/crash_dump.h because it is used by more than file. This eliminates the following warning in proc/vmcore.c: fs/proc/vmcore.c:1088:6: warning: no previous prototype for ‘vmcore_cleanup’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Re

Re: [PATCH v4 04/11] drm/omap: Switch omapdrm over to drm_mode_create_rotation_property()

2014-02-09 Thread Rob Clark
On Fri, Feb 7, 2014 at 8:45 AM, wrote: > From: Ville Syrjälä > > Use the new drm_mode_create_rotation_property() in omapdrm. > > Signed-off-by: Ville Syrjälä Reviewed-by: Rob Clark > --- > drivers/gpu/drm/omapdrm/omap_plane.c | 17 +++-- > 1 file changed, 7 insertions(+), 10 del

[PATCH] rcu: disambiguate CONFIG_RCU_NOCB_CPUs

2014-02-09 Thread Paul Bolle
Signed-off-by: Paul Bolle --- kernel/rcu/tree_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 6e2ef4b..366e21e 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -2893,7 +2893,7 @@ static v

Re: [PATCH v4 02/11] drm: Add support_bits parameter to drm_property_create_bitmask()

2014-02-09 Thread Rob Clark
On Fri, Feb 7, 2014 at 8:45 AM, wrote: > From: Ville Syrjälä > > Make drm_property_create_bitmask() a bit more generic by allowing the > caller to specify which bits are in fact supported. This allows multiple > callers to use the same enum list, but still create different versions > of the same

[RFC PATCH 3/3] x86, intel: Convert to the new MSR accessors

2014-02-09 Thread Borislav Petkov
From: Borislav Petkov ... and save some lines of code. Signed-off-by: Borislav Petkov --- arch/x86/include/uapi/asm/msr-index.h | 6 -- arch/x86/kernel/cpu/intel.c | 29 - 2 files changed, 12 insertions(+), 23 deletions(-) diff --git a/arch/x86/inclu

[RFC PATCH 1/3] x86: Add another set of MSR accessor functions

2014-02-09 Thread Borislav Petkov
From: Borislav Petkov We very often need to set or clear a bit in an MSR as a result of doing some sort of a hardware configuration. Add generic versions of that repeated functionality in order to save us a bunch of duplicated code in the early CPU vendor detection/config code. Signed-off-by: Bo

[RFC PATCH 2/3] x86, AMD: Convert to the new MSR accessors

2014-02-09 Thread Borislav Petkov
From: Borislav Petkov ... and save us a bunch of code. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/amd.c | 46 +++--- 1 file changed, 11 insertions(+), 35 deletions(-) diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index d

[RFC PATCH 0/3] MSR cleanups

2014-02-09 Thread Borislav Petkov
From: Borislav Petkov Hi guys, this is just a preview of what I think we talked about. I'm sending it out now to gather some feedback before I go and test it more thoroughly (it boots in a guest though :)). Thanks. Borislav Petkov (3): x86: Add another set of MSR accessor functions x86, AM

[PATCH 01/16] cgroup: disallow xattr, release_agent and name if sane_behavior

2014-02-09 Thread Tejun Heo
Disallow more mount options if sane_behavior. Note that xattr used to generate warning. While at it, simplify option check in cgroup_mount() and update sane_behavior comment in cgroup.h. Signed-off-by: Tejun Heo --- include/linux/cgroup.h | 6 +++--- kernel/cgroup.c| 14 --

[PATCH 16/16] cgroup: unexport functions

2014-02-09 Thread Tejun Heo
With module support gone, a lot of functions no longer need to be exported. Unexport them. Signed-off-by: Tejun Heo --- kernel/cgroup.c | 8 1 file changed, 8 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 057ab96..abb1873 100644 --- a/kernel/cgroup.c +++ b/kernel/c

[PATCH 15/16] cgroup: cosmetic updates to cgroup_attach_task()

2014-02-09 Thread Tejun Heo
cgroup_attach_task() is planned to go through restructuring. Let's tidy it up a bit in preparation. * Update cgroup_attach_task() to receive the target task argument in @leader instead of @tsk. * Rename @tsk to @task. * Rename @retval to @ret. This is purely cosmetic. Signed-off-by: Tejun H

[PATCH 13/16] cpuset: don't use cgroup_taskset_cur_css()

2014-02-09 Thread Tejun Heo
cgroup_taskset_cur_css() will be removed during the planned resturcturing of migration path. The only use of cgroup_taskset_cur_css() is finding out the old cgroup_subsys_state of the leader in cpuset_attach(). This usage can easily be removed by remembering the old value from cpuset_can_attach()

[PATCH 11/16] cgroup: move css_set_rwsem locking outside of cgroup_task_migrate()

2014-02-09 Thread Tejun Heo
Instead of repeatedly locking and unlocking css_set_rwsem inside cgroup_task_migrate(), update cgroup_attach_task() to grab it outside of the loop and update cgroup_task_migrate() to use put_css_set_locked(). Signed-off-by: Tejun Heo --- kernel/cgroup.c | 16 +++- 1 file changed, 11

[PATCH 14/16] cgroup: remove cgroup_taskset_cur_css() and cgroup_taskset_size()

2014-02-09 Thread Tejun Heo
The two functions don't have any users left. Remove them along with cgroup_taskset->cur_cgrp. Signed-off-by: Tejun Heo --- include/linux/cgroup.h | 3 --- kernel/cgroup.c| 30 -- 2 files changed, 33 deletions(-) diff --git a/include/linux/cgroup.h b/include

[PATCH 12/16] cgroup: drop @skip_css from cgroup_taskset_for_each()

2014-02-09 Thread Tejun Heo
If !NULL, @skip_css makes cgroup_taskset_for_each() skip the matching css. The intention of the interface is to make it easy to skip css's (cgroup_subsys_states) which already match the migration target; however, this is entirely unnecessary as migration taskset doesn't include tasks which are alr

[PATCH 10/16] cgroup: separate out put_css_set_locked() and remove put_css_set_taskexit()

2014-02-09 Thread Tejun Heo
put_css_set() is performed in two steps - it first tries to put without grabbing css_set_rwsem if such put wouldn't make the count zero. If that fails, it puts after write-locking css_set_rwsem. This patch separates out the second phase into put_css_set_locked() which should be called with css_se

[PATCH 09/16] cgroup: remove css_scan_tasks()

2014-02-09 Thread Tejun Heo
css_scan_tasks() doesn't have any user left. Remove it. Signed-off-by: Tejun Heo --- include/linux/cgroup.h | 6 -- kernel/cgroup.c| 162 - 2 files changed, 168 deletions(-) diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h i

[PATCH 08/16] cpuset: use css_task_iter_start/next/end() instead of css_scan_tasks()

2014-02-09 Thread Tejun Heo
Now that css_task_iter_start/next_end() supports blocking while iterating, there's no reason to use css_scan_tasks() which is more cumbersome to use and scheduled to be removed. Convert all css_scan_tasks() usages in cpuset to css_task_iter_start/next/end(). This simplifies the code by removing h

[PATCH 05/16] cgroup: implement cgroup_has_tasks() and unexport cgroup_task_count()

2014-02-09 Thread Tejun Heo
cgroup_task_count() read-locks css_set_lock and walks all tasks to count them and then returns the result. The only thing all the users want is determining whether the cgroup is empty or not. This patch implements cgroup_has_tasks() which tests whether cgroup->cset_links is empty, replaces all cg

[PATCH 06/16] cgroup: reimplement cgroup_transfer_tasks() without using css_scan_tasks()

2014-02-09 Thread Tejun Heo
Reimplement cgroup_transfer_tasks() so that it repeatedly fetches the first task in the cgroup and then tranfers it. This achieves the same result without using css_scan_tasks() which is scheduled to be removed. Signed-off-by: Tejun Heo --- kernel/cgroup.c | 31 ---

[PATCH 07/16] cgroup: make css_set_lock a rwsem and rename it to css_set_rwsem

2014-02-09 Thread Tejun Heo
Currently there are two ways to walk tasks of a cgroup - css_task_iter_start/next/end() and css_scan_tasks(). The latter builds on the former but allows blocking while iterating. Unfortunately, the way css_scan_tasks() is implemented is rather nasty, it uses a priority heap of pointers to extract

[PATCH 03/16] cgroup: enable task_cg_lists on the first cgroup mount

2014-02-09 Thread Tejun Heo
Tasks are not linked on their css_sets until cgroup task iteration is actually used. This is to avoid incurring overhead on the fork and exit paths for systems which have cgroup compiled in but don't use it. This lazy binding also affects the task migration path. It has to be careful so that it

[PATCH 02/16] cgroup: drop CGRP_ROOT_SUBSYS_BOUND

2014-02-09 Thread Tejun Heo
Before kernfs conversion, due to the way super_block lookup works, cgroup roots were created and made visible before being fully initialized. This in turn required a special flag to mark that the root hasn't been fully initialized so that the destruction path can tell fully bound ones from half in

[PATCH 04/16] cgroup: relocate cgroup_enable_task_cg_lists()

2014-02-09 Thread Tejun Heo
Move it above so that prototype isn't necessary. Let's also move the definition of use_task_css_set_links next to it. This is purely cosmetic. Signed-off-by: Tejun Heo --- kernel/cgroup.c | 103 ++-- 1 file changed, 48 insertions(+), 55 delet

[PATCHSET cgroup/for-3.15] cgroup: more cleanups

2014-02-09 Thread Tejun Heo
Hello, This series contains assorted cleanups which also prepare for the planned migration taskset handling update. This patchset contains the following sixteen patches. 0001-cgroup-disallow-xattr-release_agent-and-name-if-sane.patch 0002-cgroup-drop-CGRP_ROOT_SUBSYS_BOUND.patch 0003-cgroup-e

[tip:timers/core] tick: Fixup more fallout from hrtimer broadcast mode

2014-02-09 Thread tip-bot for Preeti U Murthy
Commit-ID: 849401b66d305f3feb75b6db7459b95ad190552a Gitweb: http://git.kernel.org/tip/849401b66d305f3feb75b6db7459b95ad190552a Author: Preeti U Murthy AuthorDate: Sun, 9 Feb 2014 11:32:22 +0530 Committer: Thomas Gleixner CommitDate: Sun, 9 Feb 2014 15:11:47 +0100 tick: Fixup more fallo

Re: [PATCH v3 1/2] x86, tsc: Fallback to normal calibration if fast MSR calibration fails

2014-02-09 Thread Ingo Molnar
* Mika Westerberg wrote: > On Thu, Feb 06, 2014 at 03:34:18PM +0100, Thomas Gleixner wrote: > > On Thu, 6 Feb 2014, Mika Westerberg wrote: > > > arch/x86/kernel/tsc.c | 7 --- > > > 1 file changed, 4 insertions(+), 3 deletions(-) > > > > > > diff --git a/arch/x86/kernel/tsc.c b/arch/x86/ke

[PATCH v2 01/13] net: Mark function as static in 9p/client.c

2014-02-09 Thread Rashika Kheria
Mark function as static in net/9p/client.c because it is not used outside this file. This eliminates the following warning in net/9p/client.c: net/9p/client.c:207:18: warning: no previous prototype for ‘p9_fcall_alloc’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Tripl

[PATCH v2 02/13] net: Include appropriate header file in caif/caif_dev.c

2014-02-09 Thread Rashika Kheria
Include appropriate header file net/caif/caif_dev.h in caif/caif_dev.c because it has prototype declarations of function defined in caif/caif_dev.c. This eliminates the following file in caif/caif_dev.c: net/caif/caif_dev.c:303:6: warning: no previous prototype for ‘caif_enroll_dev’ [-Wmissing-pr

[tip:irq/core] genirq: Add devm_request_any_context_irq()

2014-02-09 Thread tip-bot for Stephen Boyd
Commit-ID: 0668d3065128d39449c097e62dbdb5707820137d Gitweb: http://git.kernel.org/tip/0668d3065128d39449c097e62dbdb5707820137d Author: Stephen Boyd AuthorDate: Thu, 2 Jan 2014 16:37:32 -0800 Committer: Thomas Gleixner CommitDate: Sun, 9 Feb 2014 15:27:21 +0100 genirq: Add devm_request_

[PATCH v2 03/13] net: Include appropriate header file in caif/cfsrvl.c

2014-02-09 Thread Rashika Kheria
Include appropriate header file net/caif/caif_dev.h in caif/cfsrvl.c because it has prototype declaration of functions defined in caif/cfsrvl.c. This eliminates the following warning in caif/cfsrvl.c: net/caif/cfsrvl.c:198:6: warning: no previous prototype for ‘caif_free_client’ [-Wmissing-protot

Re: [PATCH -tip v6 00/22] kprobes: introduce NOKPROBE_SYMBOL(), cleanup and fixes crash bugs

2014-02-09 Thread Ingo Molnar
* Masami Hiramatsu wrote: > I guess the second reason is why the stap takes so long time to set > probes. stap tries to register kprobes without disabled flag, that > means we enables thousands of probes (overheads). > > So the similar thing happens when we enables events as below; > > # f

[PATCH] dmaengine: Remove dependency on MACH_BCM2708

2014-02-09 Thread Paul Bolle
Commit 96286b576690 ("dmaengine: Add support for BCM2835") added an optional dependency on MACH_BCM2708. But there's no Kconfig symbol MACH_BCM2708. (There was an entry for MACH_BCM2708 in arch/arm/tools/mach-types from v2.6.37 until v3.2. But it seems that entry was never used in the tree.) This

[PATCH] xtensa: no need to select USE_GENERIC_SMP_HELPERS

2014-02-09 Thread Paul Bolle
Commit f615136c06a7 ("xtensa: add SMP support") added "select USE_GENERIC_SMP_HELPERS". But the Kconfig symbol USE_GENERIC_SMP_HELPERS was already removed in v3.13, so that select is a nop. Drop it. Signed-off-by: Paul Bolle --- Untested. USE_GENERIC_SMP_HELPERS was removed in commit 0a06ff068f1

[PATCH] ARM: s3c24xx: get rid of unneeded selects

2014-02-09 Thread Paul Bolle
Commit c67d0f29262b ("ARM: s3c24xx: get rid of custom ") got rid of the Kconfig symbols S3C24XX_GPIO_EXTRA64 and S3C24XX_GPIO_EXTRA128. It missed one select of both of these symbols, so get rid of those now. Signed-off-by: Paul Bolle --- Untested. arch/arm/mach-s3c24xx/Kconfig | 2 -- 1 file ch

[PATCH v2 04/13] net: Mark functions as static in core/dev.c

2014-02-09 Thread Rashika Kheria
Mark functions as static in core/dev.c because they are not used outside this file. This eliminates the following warning in core/dev.c: net/core/dev.c:2806:5: warning: no previous prototype for ‘__dev_queue_xmit’ [-Wmissing-prototypes] net/core/dev.c:4640:5: warning: no previous prototype for ‘

  1   2   3   4   5   >