Re: [PATCH 3/5] drivers:usb:fsl: Replace macros with enumerated type

2015-05-30 Thread Greg KH
On Tue, May 26, 2015 at 05:15:48PM +0530, Nikhil Badola wrote: > Replace macros with enumerated type to represent usb ip > controller version > > Signed-off-by: Nikhil Badola > --- > include/linux/fsl_devices.h | 13 - > 1 file changed, 8 insertions(+), 5 deletions(-) > > diff --git

Re: [PATCH 1/5] drivers:usb:fsl: Check IP version 2.4 for mph USB controller

2015-05-30 Thread Greg KH
On Tue, May 26, 2015 at 05:14:42PM +0530, Nikhil Badola wrote: > Check IP version 2.4 for multi port host USB controller and > return FSL_USB_VER_2_4 macro > > Signed-off-by: Nikhil Badola > --- > Separate patches clubbed and resent in an ordered patchset > with proper mailing list in cc > > dr

Re: [PATCH 2/9] ipv6: drop unneeded goto

2015-05-30 Thread David Miller
From: Julia Lawall Date: Thu, 28 May 2015 23:02:17 +0200 > From: Julia Lawall > > Delete jump to a label on the next line, when that label is not > used elsewhere. > > A simplified version of the semantic patch that makes this change is as > follows: (http://coccinelle.lip6.fr/) ... > Also re

[PATCH] staging/lustre/ldlm: Fix up LDLM_POOL_SYSFS_WRITER*_STORE define

2015-05-30 Thread green
From: Oleg Drokin The store method defined by LDLM_POOL_SYSFS_WRITER_STORE and LDLM_POOL_SYSFS_WRITER_NOLOCK_STORE defines should use size_t count, not unsigned long. This produced a warning on i386 (and other 32bit architectures too, I guess) where unsigned long is not 32 bit. Reported by kbui

Re: [PATCH v2] [media] dvb-frontend: Replace timeval with ktime_t

2015-05-30 Thread Tina Ruchandani
> -- > Changes in v2: > - Use the more concise ktime_us_delta Oops, please ignore this patch and please consider the v3 sent out immediately after instead. Tina -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More ma

Re: [PATCH 1/2] staging: dgnc: use schedule_timeout_interruptible()

2015-05-30 Thread Greg Kroah-Hartman
On Sun, May 31, 2015 at 07:54:34AM +0200, Nicholas Mc Guire wrote: > On Sun, 31 May 2015, Greg Kroah-Hartman wrote: > > > On Fri, May 29, 2015 at 06:41:27PM +0200, Nicholas Mc Guire wrote: > > > API consolidation with coccinelle found: > > > ./drivers/staging/dgnc/dgnc_utils.c:16:1-17: > > >

Re: [PATCH V2 3/3] Drivers: hv: vmbus: Allocate ring buffer memory in NUMA aware fashion

2015-05-30 Thread Greg KH
On Sat, May 30, 2015 at 11:37:49PM -0700, K. Y. Srinivasan wrote: > Allocate ring buffer memory from the NUMA node assigned to the channel. But you do more than just that. If there's a failure, you fall-back to the old allocation method. Why not mention that as well? And is that what you really

Re: sched_setscheduler() vs idle_balance() race

2015-05-30 Thread Mike Galbraith
On Sat, 2015-05-30 at 15:08 +0200, Mike Galbraith wrote: > On Thu, 2015-05-28 at 15:53 +0200, Peter Zijlstra wrote: > > On Thu, May 28, 2015 at 09:43:52AM +0200, Mike Galbraith wrote: > > > Hi Peter, > > > > > > I'm not seeing what prevents pull_task() from yanking a task out from > > > under __sc

Re: [PATCH v3 1/2] usb: ehci-exynos: Make provision for vdd regulators

2015-05-30 Thread Krzysztof Kozlowski
2014-06-25 21:42 GMT+09:00 Vivek Gautam : > Facilitate getting required 3.3V and 1.0V VDD supply for > EHCI controller on Exynos. > > With the patches for regulators' nodes merged in 3.15: > c8c253f ARM: dts: Add regulator entries to smdk5420 > 275dcd2 ARM: dts: add max77686 pmic node for smdk5250,

Re: [PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-30 Thread Krzysztof Kozlowski
2015-05-30 22:53 GMT+09:00 Anand Moon : > On 28 May 2015 at 14:49, Krzysztof Kozlowski wrote: >> On 28.05.2015 17:58, Anand Moon wrote: >>> Enable regulator for usbdrd3_0 and usbdrd3_1 From the schematic pin diagram USB3_0 and USB3_1 >>> is regulated by LDO9 and LD011. >> >> Please reformat st

Re: [PATCH] Disable write buffering on Toshiba ToPIC95

2015-05-30 Thread Dominik Brodowski
Ryan, thanks for this patch. Could you add a "Signed-off-by" line as specified in Documentation/SubmittingPatches, please, so that I can pick it up and push it upstream? Thanks! Dominik On Sun, Jan 25, 2015 at 04:07:09PM -0800, Ryan C. Underwood wrote: > From: Ryan Underwood > > Disabl

[PATCH v2] [media] dvb-frontend: Replace timeval with ktime_t

2015-05-30 Thread Tina Ruchandani
struct timeval uses a 32-bit seconds representation which will overflow in the year 2038 and beyond. This patch replaces the usage of struct timeval with ktime_t which is a 64-bit timestamp and is year 2038 safe. This patch is part of a larger attempt to remove all instances of 32-bit timekeeping v

Re: [RFC 07/24] x86/thinkpad_acpi: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2015-05-30 Thread Finn Thain
On Sun, 31 May 2015, Henrique de Moraes Holschuh wrote: > On Sun, 31 May 2015, Finn Thain wrote: > > Make use of arch_nvram_ops in the thinkpad_acpi driver so that the > > nvram_* function exports can be removed. > > > > This patch series was tested on a ThinkPad T43. > > Can you describe how

[PATCH v2] timekeeping: always make sure wall_to_monotonic isn't positive

2015-05-30 Thread Wang YanQing
I meet two issues on an IMX6 development board without enable RTC device(so timekeeping_init will initialize the boot time and monotonic to 0). Issue 1:exportfs -a generate: "exportfs: /opt/nfs/arm does not support NFS export" Issue 2:cat /proc/stat: "btime 4294967236" Exact reprodu

[PATCH] regulator: lp8755: Convert to devm_request_threaded_irq

2015-05-30 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/lp8755.c | 23 --- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/drivers/regulator/lp8755.c b/drivers/regulator/lp8755.c index 4a415d4..d6773da 100644 --- a/drivers/regulator/lp8755.c +++ b/drivers/regulator/lp8755

[PATCH] perf/tool: remove newline char when reading event scale and unit

2015-05-30 Thread Madhavan Srinivasan
commit intruduced perf_event_sysfs_show function to display event_str value of an attr in kernel/event/core.c. But the function returns the value with a newline char. So, if a event also carries a event.unit file, when printing the counter data perf tool formatting goes for a spin. That is, becaus

Re: [PATCH 1/2] staging: dgnc: use schedule_timeout_interruptible()

2015-05-30 Thread Nicholas Mc Guire
On Sun, 31 May 2015, Greg Kroah-Hartman wrote: > On Fri, May 29, 2015 at 06:41:27PM +0200, Nicholas Mc Guire wrote: > > API consolidation with coccinelle found: > > ./drivers/staging/dgnc/dgnc_utils.c:16:1-17: > > consolidation with schedule_timeout_*() recommended > > > > This is a 1:1 c

[PATCH 1/1] x86 TSC: set X86_FEATURE_TSC_RELIABLE, per CPUID

2015-05-30 Thread Len Brown
From: Len Brown Speed cpu_up() by believing CPUID's "invariant TSC" flag, and skipping the TSC warp test on single socket systems. On my desktop, cpu_up() duration drops from 4.4ms to 2.4ms. That savings is per-CPU, and occurs during boot, online and resume from S3. Originally, this was done fo

[PATCH v2] Staging: lustre: Replace kzalloc followed by memcpy with kmemdup

2015-05-30 Thread Dighe, Niranjan (N.)
From: Niranjan Dighe Replace kzalloc followed by memcpy by kmemdup. This patch was generated by 'make coccicheck' Signed-off-by: Niranjan Dighe --- drivers/staging/lustre/lustre/obdclass/obd_config.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/lus

Re: [PATCH] Staging: lustre: Replace kzalloc followed by memcpy with kmemdup

2015-05-30 Thread Dighe, Niranjan (N.)
Thanks Greg, I will send out a v2 of the patch with additional "From: " in the email body as you suggested in the mail chain with Madhu. Regards, Niranjan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordom

Re: [PATCH-v2 2/4] target: Drop lun_sep_lock for se_lun->lun_se_dev RCU usage

2015-05-30 Thread Nicholas A. Bellinger
On Thu, 2015-05-28 at 08:57 -0700, Paul E. McKenney wrote: > On Wed, May 27, 2015 at 11:02:10PM -0700, Nicholas A. Bellinger wrote: > > On Wed, 2015-05-27 at 14:04 -0700, Paul E. McKenney wrote: > > > On Tue, May 26, 2015 at 10:29:45PM -0700, Nicholas A. Bellinger wrote: > > > > In this particul

[PATCH V2 3/3] Drivers: hv: vmbus: Allocate ring buffer memory in NUMA aware fashion

2015-05-30 Thread K. Y. Srinivasan
Allocate ring buffer memory from the NUMA node assigned to the channel. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index 7a1c2db..603ce97 100644 --- a/

[PATCH V2 2/3] Drivers: hv: vmbus: Implement NUMA aware CPU affinity for channels

2015-05-30 Thread K. Y. Srinivasan
Channels/sub-channels can be affinitized to VCPUs in the guest. Implement this affinity in a way that is NUMA aware. The current protocol distributed the primary channels uniformly across all available CPUs. The new protocol is NUMA aware: primary channels are distributed across the available NUMA

[PATCH V2 1/3] Drivers: hv: vmbus: Use the vp_index map even for channels bound to CPU 0

2015-05-30 Thread K. Y. Srinivasan
Map target_cpu to target_vcpu using the mapping table. We should use the mapping table to transform guest CPU ID to VP Index as is done for the non-performance critical channels. While the value CPU 0 is special and will map to VP index 0, it is good to be consistent. Signed-off-by: K. Y. Sriniv

[PATCH V2 0/3] Drivers: hv: vmbus: Make VMBUS driver NUMA aware

2015-05-30 Thread K. Y. Srinivasan
Implement CPU affinity for channels based on NUMA topology. Also, allocate all channel specific memory from the appropriate NUMA node. In this version of the series, I have added additional information to the commit log for some of the patches. K. Y. Srinivasan (3): Drivers: hv: vmbus: Use the

[RFC PATCH v2] suspend/resume performance improvement

2015-05-30 Thread EunTaik Lee
When a task that calls state_store() to suspend the device has used up most of its time slice, suspend sometimes take too long. (User noticeable) Suspend/resume is a system wide operation. So, instead of depending on a userspace task's time slice, let kworker do the work to avoid a long wait on th

[GIT PULL rcu/next] RCU commits for 4.2

2015-05-30 Thread Paul E. McKenney
Hello, Ingo, The changes in this series include the following: 1. Remove all uses of RCU-protected array indexes. These were posted to LKML at https://lkml.org/lkml/2015/5/12/827. 2. Documentation updates. These were posted to LKML at https://lkml.org/lkml/2015/5/12/8

[GIT PULL] target fixes for v4.1-rc6

2015-05-30 Thread Nicholas A. Bellinger
Hi Linus, Here are the outstanding target-pending fixes for v4.1-rc6 code. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master These are mostly minor fixes, with the exception of the following that address fall-out from recent v4.1-rc1 ch

[PATCH] regulator: da9063: Fix up irq leak

2015-05-30 Thread Axel Lin
Current code does not set regulators->irq_ldo_lim and regulators->irq_uvov, so it actually calls free_irq(0, regulators) twice in remove() but does not free the irq actually used. Convert to use devm_request_threaded_irq instead and then we don't need to take care the clean up irq so remove irq_ld

Re: [RFC 07/24] x86/thinkpad_acpi: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2015-05-30 Thread Henrique de Moraes Holschuh
On Sun, 31 May 2015, Finn Thain wrote: > Make use of arch_nvram_ops in the thinkpad_acpi driver so that the > nvram_* function exports can be removed. > > This patch series was tested on a ThinkPad T43. Can you describe how you did the testing? A specific procedure is required to test the hotkey

Re: [PATCH v03 00/98] Userspace compile test and fixes for exported uapi header files

2015-05-30 Thread Mikko Rapeli
On Sat, May 30, 2015 at 10:12:48PM +0200, Richard Weinberger wrote: > On Sat, May 30, 2015 at 5:37 PM, Mikko Rapeli wrote: > > v3: > > tried to fix all v2 review findings > > tried to guess how to fix a few more issue > > with a few hacks, 0 files fail and 760 files pass the compile test on 32bit

[PATCH 1/6] staging/lustre/llite: Move all remaining procfs entries to debugfs

2015-05-30 Thread green
From: Oleg Drokin This moves all remaining procfs handling in llite layer to debugfs. Signed-off-by: Dmitry Eremin Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/llite/llite_internal.h | 27 +++- drivers/staging/lustre/lustre/llite/llite_lib.c| 13 +++--- drivers/stagi

[PATCH 5/6] staging/lustre/obd: Remove nid_stats tracking

2015-05-30 Thread green
From: Oleg Drokin This nid_stats tracking only makes sense on the server side, on the client there are no other clients to keep track of anyway. Signed-off-by: Dmitry Eremin Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/dt_object.h | 1 - .../staging/lustre/lustre/inc

[PATCH 6/6] staging/lustre/obd: final removal of procfs stuff

2015-05-30 Thread green
From: Dmitry Eremin Signed-off-by: Dmitry Eremin Signed-off-by: Oleg Drokin --- .../lustre/include/linux/libcfs/linux/libcfs.h | 1 - drivers/staging/lustre/lustre/fid/Makefile | 3 +- drivers/staging/lustre/lustre/fld/Makefile | 3 +- drivers/staging/lustre/lustre/in

[PATCH 4/6] staging/lustre/obd: remove unused lprocfs_exp_setup() and related functions

2015-05-30 Thread green
From: Oleg Drokin This code only made sense on servers. Signed-off-by: Dmitry Eremin Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/include/lprocfs_status.h | 2 - drivers/staging/lustre/lustre/include/obd.h| 1 - .../lustre/lustre/obdclass/lprocfs_status.c| 182

[PATCH 2/6] staging/lustre/obd: remove unused proc_lustre_root

2015-05-30 Thread green
From: Dmitry Eremin Signed-off-by: Dmitry Eremin --- drivers/staging/lustre/lustre/include/lprocfs_status.h | 3 --- .../lustre/lustre/obdclass/linux/linux-module.c| 18 -- 2 files changed, 21 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/lprocfs_stat

[PATCH 3/6] staging/lustre/obd: Rename lprocfs_add_symlink to ldebugfs_add_symlink

2015-05-30 Thread green
From: Oleg Drokin Signed-off-by: Dmitry Eremin --- drivers/staging/lustre/lustre/include/lprocfs_status.h | 12 ++-- drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 16 +--- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/drivers/staging/lustre/lu

[PATCH 0/6] Final part of lustre procfs removal series

2015-05-30 Thread green
From: Oleg Drokin Due to a patch naming error this remainder of patches did not merge. Fixed the commit message to resolve this. lustresysctl code still stays in place and would be removed in a separate patch series. Additionally resolved a merge conflict with some other patch that touched lproc

Re: [PATCH] char:xilinx_hwicap:buffer_icap - change 1/0 to true/false for bool type variable in function buffer_icap_set_configuration().

2015-05-30 Thread Greg Kroah-Hartman
On Wed, May 27, 2015 at 02:33:59PM +0200, Michal Simek wrote: > +Greg > > On 05/25/2015 09:41 PM, Shailendra Verma wrote: > > The variable dirty is bool type. Hence assign the variable with > > bool value true/false instead of 1/0. > > > > Signed-off-by: Shailendra Verma > > --- > > drivers/cha

Re: [PATCH 1/3] Drivers: hv: vmbus: Use the vp_index map even for channels bound to CPU 0

2015-05-30 Thread gre...@linuxfoundation.org
On Fri, May 29, 2015 at 05:41:34PM +, KY Srinivasan wrote: > > > > -Original Message- > > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > > Sent: Friday, May 29, 2015 10:00 AM > > To: KY Srinivasan > > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > > de...@lin

Re: [PATCHv3 00/16] vme DMA and user space driver improvements

2015-05-30 Thread Greg Kroah-Hartman
On Thu, May 28, 2015 at 03:06:57PM +0300, Dmitry Kalinkin wrote: > The first item in this submission documents previously introduced > vme_master_mmap() call. Following, there are three fixes for the tsi148 > driver's DMA. There was one bug that rendered it imposible to use DMA > lists with more t

Re: [PATCH v4 00/35] staging: rtl8192e: Fix more checkpatch.pl warnings

2015-05-30 Thread Greg KH
On Thu, May 21, 2015 at 05:53:13PM +0200, Mateusz Kulikowski wrote: > Updated series of patches for rtl8192. > > Rebased to latest staging-next (936a0cd52aa). Built and target tested > (tests like for v3 + download of 1Mb file over http). > Side note: quality/performance of this driver is still p

Re: [PATCH] staging: Replace kzalloc and memcpy by kmemdup

2015-05-30 Thread gre...@linuxfoundation.org
On Wed, May 20, 2015 at 07:04:27AM +, Dumbre, Nitesh Dilip (N.) wrote: > This patch was generated by coccicheck and replaces kzalloc followed > by memcpy with kmemdup > > Signed-off-by: Nitesh Dumbre Name doesn't match the From: line, please fix your broken email client. WHat is up with thi

Re: [PATCH] Staging: lustre: Replace kzalloc followed by memcpy with kmemdup

2015-05-30 Thread gre...@linuxfoundation.org
On Sat, May 30, 2015 at 10:22:17AM +, Dighe, Niranjan (N.) wrote: > Replace kzalloc followed by memcpy by kmemdup. This patch was generated > by 'make coccicheck' > > Signed-off-by: Niranjan Dighe Your name here doesn't match the name in the From: line of your email. Please fix up your emai

Re: [PATCH v1] staging: lustre: libcfs: add __user annotation in libcfs_ioctl_data

2015-05-30 Thread Greg Kroah-Hartman
On Mon, May 25, 2015 at 09:40:04PM -0700, David Decotigny wrote: > This fixes the following sparse warnings: >drivers/staging/lustre/lnet/lnet/api-ni.c:1926:38: warning: incorrect type > in argument 1 (different address spaces) >drivers/staging/lustre/lnet/lnet/api-ni.c:1926:38:expecte

Re: [PATCH v4 00/13] staging: lustre: lnet: code cleanups

2015-05-30 Thread Greg KH
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Sat, May 23, 2015 at 10:05:27AM -0400, Michael Shuey wrote: > Ah - that explains it. I added additional files to the series, but > simply re-applied the original round of patches. They would've not

Re: [PATCH] staging: lustre: osc: clean up whitespace and align function parameters

2015-05-30 Thread Greg KH
On Fri, May 22, 2015 at 02:50:47PM -0400, Chris Hanna wrote: > Minor changes to remove excessive whitespace and improve > readability of functions. > > Signed-off-by: Chris Hanna > --- > drivers/staging/lustre/lustre/osc/lproc_osc.c | 56 +++--- > drivers/staging/lustre/lustre/osc/osc_cache.

Re: [PATCH 2/3 v4] Staging: rtl8192u: Remove two useless lines at ieee80211_wep_null

2015-05-30 Thread Greg KH
On Thu, May 21, 2015 at 02:25:18AM +0200, Pedro Marzo Perez wrote: > Remove two lines at ieee80211_wep_null which checkpatch.pl reported as errors. > The first one because it has a C99 comment style and the second one because > it is a void > return which is useless. > > Signed-off-by: Pedro Marz

Re: [PATCH] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-30 Thread Greg KH
On Tue, May 26, 2015 at 06:47:14PM -0300, Gaston Gonzalez wrote: > Fix the following sparse warnings: > > drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32: warning: > incorrect type in assignment (different base types) > drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32:

Re: [PATCH 2/3 v3] Staging: rtl8192u: Remove two useless lines at ieee80211_wep_null

2015-05-30 Thread Greg KH
On Tue, May 19, 2015 at 01:32:23AM +0200, Pedro Marzo Perez wrote: > Removed two lines at ieee80211_wep_null which checkpatch.pl reported as > errors. > The first one because it has a C99 comment style and the second one because > it is a void > return which is useless. > > Signed-off-by: Pedro

Re: FW: [PATCH] Staging: vt6655: Remove unnecessary equality checks in rxtx.c

2015-05-30 Thread gre...@linuxfoundation.org
On Fri, May 29, 2015 at 03:54:27PM +, Harisangam, Sharvari (S.) wrote: > Modified the if-else statements to remove unnecessary comparisons in rxtx.c. > This change was detected with the help of coccinelle tool > > Signed-off-by: Harisangam Sharvari > --- > drivers/staging/vt6655/rxtx.c |

Re: [PATCH] staging: rtl8192u: Patch to modify if, else conditions

2015-05-30 Thread gre...@linuxfoundation.org
On Tue, May 19, 2015 at 04:55:57PM +, Dhere, Chaitanya (C.) wrote: > In this patch: > 1. the if condition is modified to remove > the unnecessary equality check. > 2. The else if condition is replaced by an else condition > since the variable checked in the if statement is a bool > making the e

Re: [PATCH 1/3 v3] Staging: rtl8192u: Simplify error check code at prism2_wep_init

2015-05-30 Thread Greg KH
On Tue, May 19, 2015 at 01:32:22AM +0200, Pedro Marzo Perez wrote: > Merge two pr_debug lines with literal strings splitted across several lines > into one single line, simplifying prism2_wep_init error check code. > > Signed-off-by: Pedro Marzo Perez > --- > .../rtl8192u/ieee80211/ieee80211_cry

Re: [PATCH] Staging: vt6655: Remove unnecessary equality checks for a bool variable

2015-05-30 Thread gre...@linuxfoundation.org
On Thu, May 28, 2015 at 06:10:26AM +, Harisangam, Sharvari (S.) wrote: > Modified the if-else statements to remove unnecessary comparisons. > This change was detected with the help of coccinelle tool > > Signed-off-by: Harisangam Sharvari Name doesn't match... -- To unsubscribe from this l

Re: [PATCH] cpuidle: powernv/pseries: Decrease the snooze residency

2015-05-30 Thread Benjamin Herrenschmidt
On Sat, 2015-05-30 at 11:31 +0530, Vaidyanathan Srinivasan wrote: > In shared lpar case, spinning in guest context may potentially take > away cycles from other lpars waiting to run on the same physical cpu. > > So the policy in shared lpar case is to let PowerVM hypervisor know > immediately that

Re: kernel bug(VM_BUG_ON_PAGE) with 3.18.13 in mm/migrate.c

2015-05-30 Thread Jovi Zhangwei
On Thu, May 28, 2015 at 11:38 AM, Jovi Zhangwei wrote: > Hi Mel, > > On Thu, May 28, 2015 at 5:00 AM, Mel Gorman wrote: >> On Wed, May 27, 2015 at 11:05:33AM -0700, Jovi Zhangwei wrote: >>> Hi, >>> >>> I got below kernel bug error in our 3.18.13 stable kernel. >>> "kernel BUG at mm/migrate.c:1661

Re: [PATCH] staging: me_daq: use schedule_timeout_interruptible()

2015-05-30 Thread Greg Kroah-Hartman
On Fri, May 29, 2015 at 06:47:28PM +0200, Nicholas Mc Guire wrote: > On Fri, 29 May 2015, Ian Abbott wrote: > > > On 29/05/15 16:58, Nicholas Mc Guire wrote: > >> API consolidation with coccinelle found: > >> ./drivers/staging/comedi/drivers/me_daq.c:177:1-17: > >> consolidation with sche

Re: [PATCH 1/2] staging: dgnc: use schedule_timeout_interruptible()

2015-05-30 Thread Greg Kroah-Hartman
On Fri, May 29, 2015 at 06:41:27PM +0200, Nicholas Mc Guire wrote: > API consolidation with coccinelle found: > ./drivers/staging/dgnc/dgnc_utils.c:16:1-17: > consolidation with schedule_timeout_*() recommended > > This is a 1:1 conversion with respect to schedule_timeout() to the > schedu

Re: [PATCH] staging: unisys: use schedule_timeout_interruptible()

2015-05-30 Thread Greg Kroah-Hartman
On Fri, May 29, 2015 at 05:31:16PM +0200, Nicholas Mc Guire wrote: > API consolidation with coccinelle found: > ./drivers/staging/unisys/visorbus/periodic_work.c:196:3-19: > consolidation with schedule_timeout_*() recommended > > This is a 1:1 conversion with respect to schedule_timeout()

Re: [PATCH] staging: wlan-ng: fix long line

2015-05-30 Thread Greg Kroah-Hartman
On Tue, May 19, 2015 at 01:13:42PM -0300, Douglas Barbonaglia Sathler Figueiredo wrote: > Style (line over 80 chars) in drivers/staging/wlan-ng/prism2fw.c > > Signed-off-by: Douglas Barbonaglia Sathler Figueiredo > > --- > drivers/staging/wlan-ng/prism2fw.c | 8 ++-- > 1 file changed, 6 in

[RFC 17/24] powerpc, fbdev: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2015-05-30 Thread Finn Thain
Make use of arch_nvram_ops in device drivers so that the nvram_* function exports can be removed. Since they are no longer global symbols, rename the PPC32 nvram_* functions appropriately. Add the missing CONFIG_NVRAM test to imsttfb to avoid a build failure. Signed-off-by: Finn Thain --- arc

[RFC 06/24] char/nvram: Adopt arch_nvram_ops

2015-05-30 Thread Finn Thain
Different platforms and architectures offer different NVRAM sizes and access methods. E.g. PPC32 has byte-at-a-time read/write functions whereas PPC64 has byte-range read/write functions. Adopt the nvram_ops struct so the nvram module can call such functions as are defined by the various platforms

[RFC 15/24] powerpc: Implement arch_nvram_ops.get_size() and remove old nvram_* exports

2015-05-30 Thread Finn Thain
Implement arch_nvram_ops for PPC32 and make use of it in the generic_nvram misc device module so that the nvram_* function exports can be removed. Signed-off-by: Finn Thain --- arch/powerpc/include/asm/nvram.h |3 --- arch/powerpc/kernel/setup_32.c | 10 +++--- drivers/char/generic_

[RFC 24/24] m68k: Dispatch nvram_ops calls to Atari or Mac functions

2015-05-30 Thread Finn Thain
A multi-platform kernel binary needs to decide at run-time how to dispatch the arch_nvram_ops calls. Add platform-independent arch_nvram_ops, for use when multiple platform-specific NVRAM ops implementations are needed. Signed-off-by: Finn Thain --- arch/m68k/Kconfig |2 ar

[RFC 04/24] m68k/atari: Replace nvram_{read,write}_byte with arch_nvram_ops

2015-05-30 Thread Finn Thain
By implementing an arch_nvram_ops struct, any platform can re-use the drivers/char/nvram module without needing any arch-specific code in that module. Atari does so here. Atari has one user of nvram_check_checksum() whereas the other platforms (i.e. x86 and ARM platforms) have none at all. Replace

[RFC 13/24] powerpc: Cleanup nvram includes

2015-05-30 Thread Finn Thain
The nvram_read_byte() and nvram_write_byte() definitions in asm/nvram.h duplicate those in linux/nvram.h. Get rid of the former to prepare for adoption of struct arch_nvram_ops (which is defined in linux/nvram.h for general use). Signed-off-by: Finn Thain --- arch/powerpc/include/asm/nvram.h

[RFC 08/24] char/nvram: Allow the set_checksum and initialize ioctls to be omitted

2015-05-30 Thread Finn Thain
The drivers/char/nvram module has previously only supported RTC "CMOS" NVRAM, for which it provides appropriate checksum ioctls. Make these ioctls optional so the module can be re-used with other kinds of NVRAM. The ops struct methods that implement the ioctls now return error codes so that a mult

[RFC 01/24] macintosh/nvram: Remove as unused

2015-05-30 Thread Finn Thain
Signed-off-by: Finn Thain --- drivers/macintosh/nvram.c | 130 -- 1 file changed, 130 deletions(-) Index: linux/drivers/macintosh/nvram.c === --- linux.orig/drivers/macintosh/nvram.c

[RFC 18/24] nvram: Drop nvram_* symbol exports and prototypes

2015-05-30 Thread Finn Thain
Drivers now use the arch_nvram_ops calls so remove the function exports and prototypes. nvram_check_checksum() is unused so remove it. Signed-off-by: Finn Thain --- arch/m68k/atari/nvram.c |6 +++--- drivers/char/nvram.c| 27 +-- include/linux/nvram.h |8

[RFC 14/24] powerpc: Add missing ppc_md.nvram_size for CHRP and PowerMac

2015-05-30 Thread Finn Thain
Add the nvram_size() function to those PowerPC platforms that don't already have one: CHRP and PowerMac. This means that the ppc_md.nvram_size() function can be used to implement arch_nvram_ops.get_size() Since we are addressing inconsistencies here, also rename chrp_nvram_read and chrp_nvram_writ

[RFC 23/24] m68k/mac: Fix PRAM accessors

2015-05-30 Thread Finn Thain
Signed-off-by: Finn Thain --- Tested on a PowerBook 520 and Quadra 650. --- arch/m68k/mac/misc.c | 35 +-- include/uapi/linux/pmu.h |2 ++ 2 files changed, 31 insertions(+), 6 deletions(-) Index: linux/arch/m68k/mac/misc.c

Re: [PATCH v11 6/12] x86, mm, asm-gen: Add ioremap_wt() for WT

2015-05-30 Thread Toshi Kani
On Sat, 2015-05-30 at 11:18 +0200, Geert Uytterhoeven wrote: > On Sat, May 30, 2015 at 12:59 AM, Toshi Kani wrote: > > --- a/include/asm-generic/io.h > > +++ b/include/asm-generic/io.h > > @@ -785,8 +785,17 @@ static inline void __iomem *ioremap_wc(phys_addr_t > > offset, size_t size) > > } > >

[RFC 07/24] x86/thinkpad_acpi: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2015-05-30 Thread Finn Thain
Make use of arch_nvram_ops in the thinkpad_acpi driver so that the nvram_* function exports can be removed. This patch series was tested on a ThinkPad T43. Signed-off-by: Finn Thain --- drivers/platform/x86/thinkpad_acpi.c | 20 ++-- 1 file changed, 10 insertions(+), 10 delet

[RFC 19/24] powerpc: Remove CONFIG_GENERIC_NVRAM and adopt CONFIG_HAVE_ARCH_NVRAM_OPS

2015-05-30 Thread Finn Thain
Switch PPC32 kernels from the generic_nvram module to the nvram module. Also fix a theoretical bug where CHRP omits the chrp_nvram_init() call when CONFIG_NVRAM_MODULE=m. As before, when CONFIG_PPC && !CONFIG_PPC_PMAC, the IOC_NVRAM_GET_OFFSET ioctl is unimplemented. For the nvram module, unimple

[RFC 09/24] char/nvram: Implement NVRAM read/write methods

2015-05-30 Thread Finn Thain
Refactor the RTC "CMOS" NVRAM functions so that they can be used as arch_nvram_ops methods. Checksumming logic is moved from the misc device operations to the nvram read/write operations. This makes the misc device implementation more generic. This also preserves the locking semantics such that "r

[RFC 02/24] scsi/atari_scsi: Dont select CONFIG_NVRAM

2015-05-30 Thread Finn Thain
On powerpc, setting CONFIG_NVRAM=n builds a kernel with no NVRAM support. Setting CONFIG_NVRAM=m enables the /dev/nvram misc device module without enabling NVRAM support in drivers. Setting CONFIG_NVRAM=y enables the misc device (built-in) and also enables NVRAM support in drivers. m68k shares the

[RFC 03/24] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-05-30 Thread Finn Thain
Move the m68k-specific code elsewhere to make the driver generic. Change the vmode calculation from logical OR to bitwise OR, since it is obviously wrong. Signed-off-by: Finn Thain --- BTW, I didn't change the SCSI ID location in NVRAM. This code says 16 whereas atari_scsi says 14. Which one i

[RFC 21/24] powerpc: Adopt nvram module for PPC64

2015-05-30 Thread Finn Thain
Adopt nvram module to reduce code duplication. The IOC_NVRAM_GET_OFFSET ioctl as implemented on PPC64 validates the offset returned by pmac_get_partition(). Add this test to the nvram module. Note that the old PPC32 generic_nvram module lacked this test. So when CONFIG_PPC32 && CONFIG_PPC_PMAC, t

[RFC 10/24] char/nvram: Use generic fixed_size_llseek()

2015-05-30 Thread Finn Thain
Signed-off-by: Finn Thain --- drivers/char/nvram.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) Index: linux/drivers/char/nvram.c === --- linux.orig/drivers/char/nvram.c 2015-05-31 11:01:09.0

[RFC 11/24] m68k/atari: Implement arch_nvram_ops methods and enable CONFIG_HAVE_ARCH_NVRAM_OPS

2015-05-30 Thread Finn Thain
Atari RTC NVRAM has a checksum so implement the remaining arch_nvram_ops methods for the set_checksum and initialize ioctls. Enable CONFIG_HAVE_ARCH_NVRAM_OPS. Signed-off-by: Finn Thain --- This re-enables the nvram module for Atari. --- arch/m68k/Kconfig |3 +++ arch/m68k/atari/nvr

[RFC 16/24] powerpc: Implement nvram sync ioctl

2015-05-30 Thread Finn Thain
Add the powerpc-specific sync() method to struct nvram_ops and implement the corresponding ioctl in the nvram module. This allows the nvram module to replace the generic_nvram module. Signed-off-by: Finn Thain --- On PPC32, the IOC_NVRAM_SYNC ioctl call always returns 0, even for those platform

[RFC 00/24] Re-use nvram module

2015-05-30 Thread Finn Thain
The generic NVRAM module, drivers/char/generic_nvram, implements a /dev/nvram misc device. It is used only by 32-bit PowerPC platforms and isn't generic enough to be more widely used. The RTC NVRAM module, drivers/char/nvram, also implements a /dev/nvram misc device. It is used by x86, ARM and m6

[RFC 22/24] m68k/mac: Adopt nvram module

2015-05-30 Thread Finn Thain
Implement arch_nvram_ops and adjust calling conventions of mac_pram_* functions to match the ops struct methods. Rename via_pram_readbyte and via_pram_writebyte to avoid confusion and follow the existing nvram_*_read_byte and nvram_*_write_byte naming convention. Enable CONFIG_HAVE_ARCH_NVRAM_OPS

[RFC 05/24] char/nvram: Re-order functions to remove forward declarations and #ifdefs

2015-05-30 Thread Finn Thain
Also give functions more sensible names: nvram_misc_* for misc device ops, nvram_proc_* for proc file ops and nvram_module_* for init and exit functions. This makes them distict from nvram_ops members. Signed-off-by: Finn Thain --- drivers/char/nvram.c | 194 ++-

[RFC 20/24] char/generic_nvram: Remove as unused

2015-05-30 Thread Finn Thain
And thus eliminate some twisted CONFIG_GENERIC_NVRAM logic. Signed-off-by: Finn Thain --- drivers/char/Makefile|6 - drivers/char/generic_nvram.c | 176 --- 2 files changed, 1 insertion(+), 181 deletions(-) Index: linux/drivers/char/Makefile

[RFC 12/24] char/nvram: Add "devname:nvram" module alias

2015-05-30 Thread Finn Thain
Signed-off-by: Finn Thain --- drivers/char/nvram.c |1 + 1 file changed, 1 insertion(+) Index: linux/drivers/char/nvram.c === --- linux.orig/drivers/char/nvram.c 2015-05-31 11:01:11.0 +1000 +++ linux/drivers/char/nv

Re: [PATCH 2/3] kconfig: Wrap long "make help" text lines

2015-05-30 Thread Diego Viola
Hello, Can you please include a minor change in your patch? At line 89, there's this: # on its behavior(sets new symbols to their default value but not 'n') with the Please change this line to this: # on its behavior (sets new symbols to their default value but not 'n') with the There should

Re: [PATCH] if_vlan: fix vlaue -> value typo

2015-05-30 Thread David Miller
From: Vivien Didelot Date: Wed, 27 May 2015 21:07:26 -0400 > Fixes "vlaue" for "value" in include/linux/if_vlan.h. > > Signed-off-by: Vivien Didelot Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH 1/1] drivers: staging: rtl8192e: rtllib_softmac.c: auth parse error code byte order fix

2015-05-30 Thread Greg Kroah-Hartman
On Tue, May 12, 2015 at 08:43:10PM -0700, Tolga Ceylan wrote: > Error code returned from auth_parse() should in cpu byte order. Issue > caught by sparse warning: cast from restricted __le16. > > Signed-off-by: Tolga Ceylan > --- > drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- > 1 file change

Re: [PATCH] Staging: rtl8192e: Timer setup using macro rather assignment

2015-05-30 Thread gre...@linuxfoundation.org
On Mon, May 18, 2015 at 10:12:42PM +0530, Sudip Mukherjee wrote: > On Mon, May 18, 2015 at 09:26:03AM -0700, Joe Perches wrote: > > On Mon, 2015-05-18 at 21:35 +0530, Sudip Mukherjee wrote: > > > On Mon, May 18, 2015 at 02:44:15PM +, DHANAPAL, GNANACHANDRAN (G.) > > > wrote: > > > > setup_time

Re: [PATCH v2 1/2] staging: ion: Add generic ion-physmem driver

2015-05-30 Thread Greg Kroah-Hartman
On Sat, Apr 11, 2015 at 12:12:59AM +0300, Andrew Andrianov wrote: > Signed-off-by: Andrew Andrianov You need something here in the changelog entry, you just added a whole new driver. Please give some information as to what it does, why we need it, and how to use it. > --- > drivers/staging/and

Re: [PATCH V2 net-next 1/1] hv_netvsc: Properly size the vrss queues

2015-05-30 Thread David Miller
From: "K. Y. Srinivasan" Date: Wed, 27 May 2015 13:16:57 -0700 > The current algorithm for deciding on the number of VRSS channels is > not optimal since we open up the min of number of CPUs online and the > number of VRSS channels the host is offering. So on a 32 VCPU guest > we could potentiall

Re: [PATCH 2/2] staging: wilc1000: Cleanup to coreconfigurator

2015-05-30 Thread Greg KH
On Sat, May 30, 2015 at 11:44:19PM +0300, Stanislav Kholmanskikh wrote: > Fixed several syntax/style issues found with checkpatch.pl, plus > aligned structs/enums to follow a common style per struct/enum. Again, please only do one thing per patch. thanks, greg k-h -- To unsubscribe from this lis

Re: [PATCH 1/2] staging: wilc1000: Fix some compile warnings

2015-05-30 Thread Greg KH
On Sat, May 30, 2015 at 11:44:18PM +0300, Stanislav Kholmanskikh wrote: > This patch reduces (a little bit) the amount of compile time > warnings. > > The change of WILC_WFI_init_mon_interface() prototype seems to be ok, > because alloc_netdev() also expects 'const char *name'. You are doing diff

Re: [PATCH 05/16] staging: wilc1000: remove time wrapper

2015-05-30 Thread Greg KH
On Sat, May 30, 2015 at 12:09:23PM +0530, Sudip Mukherjee wrote: > On Fri, May 29, 2015 at 10:52:16PM +0200, Arnd Bergmann wrote: > > The abstraction for time in this driver is completely > > unused, so remove it. > > > > Signed-off-by: Arnd Bergmann > > --- > > drivers/staging/wilc1000/wilc_osc

[PATCH v3 5/5] sched/core: remove superfluous resetting of dl_throttled flag

2015-05-30 Thread Wanpeng Li
Resetting dl_throttled flag in rt_mutex_setprio (for a task that is going to be boosted) is superfluous, as the natural place to do so is in replenish_dl_entity(). If the task was on the runqueue and it is boosted by a DL task, it will be enqueued back with ENQUEUE_REPLENISH flag set, which can gua

[PATCH v3 4/5] sched/deadline: drop duplicate init_sched_dl_class declaration

2015-05-30 Thread Wanpeng Li
There are two init_sched_dl_class declarations, this patch drop the duplicated one. Signed-off-by: Wanpeng Li --- v1 -> v2: * trim the changelog kernel/sched/sched.h | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index d854555..d62b288 100644 ---

[PATCH v3 3/5] sched/deadline: reduce rq lock contention by eliminating locking of non-feasible target

2015-05-30 Thread Wanpeng Li
This patch adds check that prevents futile attempts to move dl tasks to a CPU with active tasks of equal or earlier deadline. The same behavior as commit 80e3d87b2c55 ("sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target") for rt class. Signed-off-by: Wanpeng Li ---

[PATCH v3 2/5] sched/deadline: make init_sched_dl_class() __init

2015-05-30 Thread Wanpeng Li
It's a bootstrap function, make init_sched_dl_class() __init. Signed-off-by: Wanpeng Li --- kernel/sched/deadline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index f09f3ad..4303af2 100644 --- a/kernel/sched/deadline.c ++

[PATCH v3 1/5] sched/deadline: fix try to pull pinned dl tasks in pull algorithm

2015-05-30 Thread Wanpeng Li
Function pick_next_earliest_dl_task is used to pick earliest and pushable dl task from overloaded cpus in pull algorithm, however, it traverses runqueue rbtree instead of pushable task rbtree which is also ordered by tasks' deadlines. This will result in getting no candidates from overloaded cpus i

  1   2   3   4   >