Re: [PATCH] staging: slicoss: Fix prefer ether_addr_copy over memcpy

2014-03-17 Thread Jingoo Han
On Tuesday, March 18, 2014 2:04 PM, Joel Pelaez Jorge wrote: > > This patch fixes the following checkpatch.pl issues caused by the new > function: ether_addr_copy > > Signed-off-by: Joel Pelaez Jorge > --- > drivers/staging/slicoss/slicoss.c | 20 ++-- > 1 file changed, 10

RE: [PATCH] drm/exynos: Fix (more) freeing issues in exynos_drm_drv.c

2014-03-17 Thread Kukjin Kim
Inki Dae wrote: > > Applied. > > Thanks, > Inki Dae > > 2014-03-17 12:28 GMT+09:00 Daniel Kurtz : > > The following commit [0] fixed a use-after-free, but left the subdrv > open > > in the error path. > > > > [0] commit 6ca605f7c70895a35737435f17ae9cc5e36f1466 > > drm/exynos: Fix freeing issues

Re: [PATCH v2 2/2] intel_pstate: Set core to min P state during core offline

2014-03-17 Thread Viresh Kumar
On Sat, Mar 15, 2014 at 2:33 AM, wrote: > From: Dirk Brandewie > > Change to use ->stop() callback to do clean up during CPU > hotplug. The requested P state for an offline core will be used by the > hardware coordination function to select the package P state. If the > core is under load when

Re: [PATCH v2 1/2] cpufreq: Add exit_prepare callback to cpufreq_driver interface

2014-03-17 Thread Viresh Kumar
On Sat, Mar 15, 2014 at 7:34 AM, Rafael J. Wysocki wrote: > On Friday, March 14, 2014 02:03:56 PM dirk.brande...@gmail.com wrote: >> +++ b/drivers/cpufreq/cpufreq.c >> @@ -1338,6 +1338,9 @@ static int __cpufreq_remove_dev_prepare(struct device >> *dev, >> } >> } >> >> +

[PATCH] [RESEND] frv: remove deprecated IRQF_DISABLED

2014-03-17 Thread Michael Opdenacker
This patch removes the IRQF_DISABLED flag from FRV architecture code. It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/frv/kernel/irq-mb93091.c | 8 arch/frv/kernel/irq-mb93093.c | 1 - arch/frv/kernel/irq-mb93493.c | 4 ++--

Re: [PATCH] [RESEND] [SCSI] misc drivers: remove deprecated IRQF_DISABLED

2014-03-17 Thread Michael Opdenacker
Hi, On 03/05/2014 06:45 AM, Michael Opdenacker wrote: > This patch removes the use of the IRQF_DISABLED flag > in several drivers in drivers/scsi/ > > It's a NOOP since 2.6.35 and it will be removed one day. > > Signed-off-by: Michael Opdenacker > --- > drivers/scsi/dtc.c| 2 +-

RE: [PATCH] SPI: Add driver for Cadence SPI controller

2014-03-17 Thread Harini Katakam
Hi Mark, > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Monday, March 17, 2014 11:45 PM > To: Josh Cartwright > Cc: Harini Katakam; robh...@kernel.org; pawel.m...@arm.com; > mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk; > ga...@codeaurora.org;

RE: [PATCH] SPI: Add driver for Cadence SPI controller

2014-03-17 Thread Harini Katakam
Hi Mark, > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Monday, March 17, 2014 11:00 PM > To: Harini Katakam > Cc: robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com; > ijc+devicet...@hellion.org.uk; ga...@codeaurora.org; r...@landley.net; >

Re: [PATCH 0/2] Add exit_prepare callback to the cpufreq_driver interface.

2014-03-17 Thread Viresh Kumar
On Sat, Mar 15, 2014 at 7:29 AM, Rafael J. Wysocki wrote: > I honestly don't think that ->target drivers will ever do anything like it, > because they need the governor to "exit" before. So we are talking about the > only two ->setpolicy drivers in the tree here. I don't have a example platform

Re: [PATCH 0/2] Add exit_prepare callback to the cpufreq_driver interface.

2014-03-17 Thread Viresh Kumar
Hi, It was a long weekend in India due to some holidays and so couldn't reply. On Fri, Mar 14, 2014 at 11:59 PM, Dirk Brandewie wrote: > On 03/14/2014 10:07 AM, Viresh Kumar wrote: > Suspend and hotplug are two very different things and if we start > crossing those wires bad things are going to

[PATCH] staging: slicoss: Fix prefer ether_addr_copy over memcpy

2014-03-17 Thread Joel Pelaez Jorge
This patch fixes the following checkpatch.pl issues caused by the new function: ether_addr_copy Signed-off-by: Joel Pelaez Jorge --- drivers/staging/slicoss/slicoss.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/slicoss/slicoss.c

Re: [PATCH] drm/exynos: Fix (more) freeing issues in exynos_drm_drv.c

2014-03-17 Thread Inki Dae
Applied. Thanks, Inki Dae 2014-03-17 12:28 GMT+09:00 Daniel Kurtz : > The following commit [0] fixed a use-after-free, but left the subdrv open > in the error path. > > [0] commit 6ca605f7c70895a35737435f17ae9cc5e36f1466 > drm/exynos: Fix freeing issues in exynos_drm_drv.c > > Change-Id:

Re: [PATCH 2/9] perf tools: Count periods of filtered entries separately

2014-03-17 Thread Namhyung Kim
On Tue, Mar 18, 2014 at 1:19 PM, Namhyung Kim wrote: > It's because thread__find_addr_map() clears al->filtered, so filtering > with -d option won't work. Maybe we can move initialization of the > al->filtered upto this function. Oh, I meant the -c/--comms option actually :) Thanks, Namhyung

linux kernel 3.4.83 cross reference is added into www.xrefs.info

2014-03-17 Thread John Smith
hi, linux kernel 3.4.83 cross reference is added into www.xrefs.info. check it out... Thx. xrefs.info admin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 2/9] perf tools: Count periods of filtered entries separately

2014-03-17 Thread Namhyung Kim
On Tue, Mar 18, 2014 at 5:08 AM, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 10, 2014 at 04:43:53PM +0900, Namhyung Kim escreveu: >> @@ -749,9 +750,6 @@ int perf_event__preprocess_sample(const union perf_event >> *event, >> if (thread == NULL) >> return -1; >> >> - if

linux-next: manual merge of the audit tree with the mips tree

2014-03-17 Thread Stephen Rothwell
Hi Eric, Today's linux-next merge of the audit tree got conflicts in arch/mips/include/asm/syscall.h and arch/mips/kernel/ptrace.c between commits cdda64d4d01f ("MIPS: asm: syscall: Define syscall_get_arch"), d74c2862 ("MIPS: ptrace: Move away from secure_computing_strict") and f5179287b016

Re: [PATCH] sched: Initialize rq->age_stamp on processor start

2014-03-17 Thread Mike Galbraith
CC maintainer improves patch aerodynamics. On Mon, 2014-03-17 at 19:05 -0500, miny...@acm.org wrote: > From: Corey Minyard > > If the sched_clock time starts at a large value, the kernel will spin > in sched_avg_update for a long time while rq->age_stamp catches up > with rq->clock. > > The

Re: [PATCH 2/2] net: cdc_ncm: respect operator preferred MTU reported by MBIM

2014-03-17 Thread Ben Chan
On Mon, Mar 17, 2014 at 6:41 PM, David Miller wrote: > From: Ben Chan > Date: Mon, 17 Mar 2014 17:46:27 -0700 > >> Thanks again for the review and tip. I've submitted patch v2 to >> address the le16_to_cpu conversion. > > When you update a patch from a series, you should repost the entire >

[PATCH v3 1/2] USB: cdc: add MBIM extended functional descriptor structure

2014-03-17 Thread Ben Chan
This patch adds the MBIM extended functional descriptor structure defined in "Universal Serial Bus Communications Class Subclass Specification for Mobile Broadband Interface Model, Revision 1.0, Errata-1" published by USB-IF. Signed-off-by: Ben Chan --- No changes from patch v1.

[PATCH v3 2/2] net: cdc_ncm: respect operator preferred MTU reported by MBIM

2014-03-17 Thread Ben Chan
According to "Universal Serial Bus Communications Class Subclass Specification for Mobile Broadband Interface Model, Revision 1.0, Errata-1" published by USB-IF, the wMTU field of the MBIM extended functional descriptor indicates the operator preferred MTU for IP data streams. This patch modifies

Re: [PATCHSET cgroup/for-3.15] cgroup: prepare for the default unified hierarchy

2014-03-17 Thread Li Zefan
On 2014/3/14 3:50, Tejun Heo wrote: > Hello, > > The planned unified hierarchy is just around the corner. We're gonna > repurpose the dummy hierarchy to serve as the default unified > hierarchy. Controllers which aren't attached to other hierarchies are > already automatically bound to the

Re: [PATCH] staging: slicoss: Fix prefer ether_addr_copy over memcpy

2014-03-17 Thread Joe Perches
On Tue, 2014-03-18 at 12:38 +0900, Jingoo Han wrote: > In addition to this, there are the same cases like this, > in this file as below. Please search other same cases. > For instance, 'grep' will be a good way to find it. [] > static void slic_adapter_set_hwaddr(struct adapter *adapter) > { >

Re: [PATCH v2 4/4] random: Add arch_has_random[_seed]()

2014-03-17 Thread Benjamin Herrenschmidt
On Mon, 2014-03-17 at 16:36 -0700, H. Peter Anvin wrote: > Add predicate functions for having arch_get_random[_seed]*(). The > only current use is to avoid the loop in arch_random_refill() when > arch_get_random_seed_long() is unavailable. Paul, I think our HW rng on P7+ and later would qualify

Re: [PATCH] staging: slicoss: Fix prefer ether_addr_copy over memcpy

2014-03-17 Thread Jingoo Han
On Tuesday, March 18, 2014 12:18 PM, Joel Pelaez Jorge wrote: > > This patch fixes the following checkpatch.pl issues caused by the new > function: ether_addr_copy > > Signed-off-by: Joel Pelaez Jorge > --- > diff --git a/drivers/staging/slicoss/slicoss.c > b/drivers/staging/slicoss/slicoss.c >

[PATCH] staging: dgap: Fixed sparse error: same symbol redeclared with different type

2014-03-17 Thread Masood Mehmood
ame for function dgap_do_bios_load patch generated against: next-20140317 Signed-off-by: Masood Mehmood --- drivers/staging/dgap/dgap.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c index bfafe7e..bbacbba 100

Re: [PATCH 00/12] scsi/NCR5380: fix debugging macros and #include structure

2014-03-17 Thread Joe Perches
On Tue, 2014-03-18 at 11:28 +1100, Finn Thain wrote: > This patch series addresses several issues with NCR5380 drivers: [] > 3. Broken debugging code. My preference would be to change dprintk to scsi_dbg Seems sensible otherwise. -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] staging: slicoss: Fix prefer ether_addr_copy over memcpy

2014-03-17 Thread Joel Pelaez Jorge
This patch fixes the following checkpatch.pl issues caused by the new function: ether_addr_copy Signed-off-by: Joel Pelaez Jorge --- diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 12aafe3..4ff39aa 100644 --- a/drivers/staging/slicoss/slicoss.c +++

Re: [PATCH] [RFC] perf: Fix a race between ring_buffer_detach() and ring_buffer_wakeup()

2014-03-17 Thread Paul E. McKenney
On Mon, Mar 17, 2014 at 06:30:38PM +0100, Peter Zijlstra wrote: > On Mon, Mar 17, 2014 at 09:48:15AM -0700, Paul E. McKenney wrote: > > Good point, this barrier is a bit obsure. Here you go: > > > > /* > > * Make sure this load happens before the purportedly > > * time-consuming

[PATCH 2/3] ARM: at91: pm_slowclock: add enter standby mode for ARMv7

2014-03-17 Thread Wenyou Yang
Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/pm_slowclock.S | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/pm_slowclock.S b/arch/arm/mach-at91/pm_slowclock.S index 2001877..842ddaf 100644 --- a/arch/arm/mach-at91/pm_slowclock.S +++

[PATCH 3/3] defconfig: arm: sama5_defconfig: update

2014-03-17 Thread Wenyou Yang
Due to enable CONFIG_AT91_SLOW_CLOCK Signed-off-by: Wenyou Yang --- arch/arm/configs/sama5_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index dc3881e..a15879c 100644 --- a/arch/arm/configs/sama5_defconfig

[PATCH 0/3] ARM: at91: add enter standby mode for ARMv7

2014-03-17 Thread Wenyou Yang
Hi Nicolas, The patches is to add support to enter standby mode for ARMv7, then enabling the feature to disable main oscillator when suspending to memory for sama5d3x. The patches is based on branch, for-next and at91/cleanup git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git Best

[PATCH 1/3] ARM: at91: pm: add the socs support the DDRC controller

2014-03-17 Thread Wenyou Yang
socs: at91sam9x5, at91sam9n12, sama5d3 Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/pm.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 8bda1ce..7280d09 100644 --- a/arch/arm/mach-at91/pm.c +++

[PATCH] kmemcheck: move hook into __alloc_pages_nodemask() for the page allocator

2014-03-17 Thread Xishi Qiu
Now kmemcheck_pagealloc_alloc() is only called by __alloc_pages_slowpath(). __alloc_pages_nodemask() __alloc_pages_slowpath() kmemcheck_pagealloc_alloc() And the page will not be tracked by kmemcheck in the following path. __alloc_pages_nodemask()

Re: [PATCH v3 1/3] ARM: dts: berlin2q: add the Marvell Armada 1500 pro

2014-03-17 Thread Jisheng Zhang
Hi Antoine, On Mon, 17 Mar 2014 08:06:26 -0700 Antoine Ténart wrote: > Adds initial support for the Marvell Armada 1500 pro (BG2Q) SoC (Berlin > family). The SoC has nodes for cpu, l2 cache controller, interrupt > controllers, local timer, apb timers and uarts for now. > > Signed-off-by:

Re: cond_resched() and RCU CPU stall warnings

2014-03-17 Thread Paul E. McKenney
On Mon, Mar 17, 2014 at 06:14:34PM +0100, Peter Zijlstra wrote: > On Mon, Mar 17, 2014 at 09:58:07AM -0700, Paul E. McKenney wrote: > > @@ -4111,6 +4115,7 @@ int __sched __cond_resched_softirq(void) > > { > > BUG_ON(!in_softirq()); > > > > + rcu_cond_resched(); > > Don't you have to

Re: [ PATCH 0/8] sched: remove cpu_load array

2014-03-17 Thread Alex Shi
On 03/17/2014 11:24 AM, Alex Shi wrote: > On 03/13/2014 01:57 PM, Alex Shi wrote: >> In the cpu_load decay usage, we mixed the long term, short term load with >> balance bias, randomly pick a big/small value from them according to balance >> destination or source. This mix is wrong, the balance

Re: [Regression, bisected 9e30cc] "sysfs, kernfs: no need to kern_mount() sysfs from sysfs_init()" prevents system from booting correctly

2014-03-17 Thread Alexandre Demers
By the way, I tried to get the error message, but my display had gone in standby mode before it completed and it wouldn't wake up. I'll have to test with an earlier 3.14 kernel (rc1 or rc2), when it was answering to my wake up signal. Even though my display doesn't wake up with rc6, it is

[PATCH 2/2] mmc: rtsx: modify error handle and remove smatch warnings

2014-03-17 Thread micky_ching
From: Micky Ching Using non-DMA dump-regs, which would be more exactly for DMA transfer failed. More careful handle when cmd/data timeout, add stop(CMD12) cmd before go to finish request when multi-rw timeout. Remove some static checher warings. on commit:

[PATCH 1/2] mmc: rtsx: add R1-no-CRC mmc command type handle

2014-03-17 Thread micky_ching
From: Micky Ching commit a27fbf2f067b0cd6f172c8b696b9a44c58bfaa7a produced a cmd.flags unhandled in realtek pci host driver. This will make MMC card failed initialize, this patch is used to handle the new cmd.flags condition and MMC card can be used. Signed-off-by: Micky Ching ---

[PATCH 0/2] add new cmd type handle and remove smatch warnings

2014-03-17 Thread micky_ching
From: Micky Ching Add new command type(R1 without CRC) handle, without this patch mmc card initialize will be failed. Using a more careful handle in request timeout, and debug info is printed using non DMA mode. Smatch warning was removed. Micky Ching (2): mmc: rtsx: add R1-no-CRC mmc

Re: [PATCH 2/2] net: cdc_ncm: respect operator preferred MTU reported by MBIM

2014-03-17 Thread David Miller
From: Ben Chan Date: Mon, 17 Mar 2014 17:46:27 -0700 > Thanks again for the review and tip. I've submitted patch v2 to > address the le16_to_cpu conversion. When you update a patch from a series, you should repost the entire patch set, rather than just the patch which changes. This avoids any

[PATCH] staging: slicoss: Fix prefer ether_addr_copy over memcpy

2014-03-17 Thread Joel Peláez Jorge
This patch fixes the following checkpatch.pl issues caused by the new function: ether_addr_copy Signed-off-by: Joel Pelaez Jorge --- diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 12aafe3..4ff39aa 100644 --- a/drivers/staging/slicoss/slicoss.c +++

RE: [RFC PATCH 2/2] ACPI: Default disable auto-serialization.

2014-03-17 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Sent: Tuesday, March 18, 2014 9:13 AM > > On Tuesday, March 18, 2014 12:31:54 AM Zheng, Lv wrote: > > Hi, Rafael > > > > > From: Wysocki, Rafael J > > > Sent: Monday, March

Re: [RFC PATCH 0/4] power_supply: Add DT helper function to get power-supply dev from dt

2014-03-17 Thread Chanwoo Choi
Hi, On 03/18/2014 09:38 AM, s...@ring0.de wrote: > Hi, > > On Mon, Mar 17, 2014 at 09:43:43PM +0900, Chanwoo Choi wrote: >> This patchset add DT helper function to get power-supply device from >> devicetree. >> - of_power_supply_get_dev(struct device *dev, enum power_supply_dev_type >> type,

Re: [PATCH net-next v2 1/9] ptp: introduce programmable pins.

2014-03-17 Thread David Miller
From: Richard Cochran Date: Sun, 16 Mar 2014 14:29:22 +0100 > + /* Check to see if any other pin previously had this function. */ > + if (mutex_lock_interruptible(>pincfg_mux)) > + return -ERESTARTSYS; > + for (i = 0; i < info->n_pins; i++) { > + if

Re: [PATCH] s390: correct misuses of module_put in appldata_generic_handler.

2014-03-17 Thread Zhouyi Zhou
Thanks Gerald for reviewing and sorry for not elaborated it in the e-mail. Firstly, I think you can't call module_put after fail try_module_get Secondly, there exists duplicate module_put on the program path (the last one is before return 0) On Mon, Mar 17, 2014 at 9:28 PM, Gerald Schaefer

[f2fs-dev] [PATCH v2] f2fs: fix incorrect parsing with option string

2014-03-17 Thread Chao Yu
Previously 'background_gc={on***,off***}' is being parsed as correct option, with this patch we cloud fix the trivial bug in mount process. Change log from v1: o need to check length of parameter suggested by Jaegeuk Kim. Signed-off-by: Chao Yu --- fs/f2fs/super.c |4 ++-- 1 file changed,

RE: [f2fs-dev] [PATCH] f2fs: fix incorrect parsing with option string

2014-03-17 Thread Chao Yu
Hi, > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Tuesday, March 18, 2014 8:33 AM > To: Chao Yu > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [f2fs-dev] [PATCH] f2fs: fix

Re: [RFC PATCH 2/2] ACPI: Default disable auto-serialization.

2014-03-17 Thread Rafael J. Wysocki
On Tuesday, March 18, 2014 12:31:54 AM Zheng, Lv wrote: > Hi, Rafael > > > From: Wysocki, Rafael J > > Sent: Monday, March 17, 2014 8:09 PM > > > > On 3/17/2014 5:14 AM, Lv Zheng wrote: > > > This feature enabled by the following commit is still under development. > > > > > >Commit:

RE: [RFC PATCH 1/2] ACPICA: Dispatcher: Ignore SyncLevel for auto-serialization mechanism.

2014-03-17 Thread Zheng, Lv
Hi, Sabrina and Valdis Could you give this patch a try to see if this patch is working? Thanks and best regards -Lv > From: Zheng, Lv > Sent: Monday, March 17, 2014 12:15 PM > > From: Robert Moore > > It is reported that the auto-serialization mechanism has broken some > machine. This patch

[PATCH 04/12] scsi/NCR5380: use NCR5380_dprint() instead of NCR5380_print()

2014-03-17 Thread Finn Thain
Only the NCR5380_dprint() macro should invoke the NCR5380_print() function. That's why NCR5380.c only defines the function #if NDEBUG. Use the standard macro. Signed-off-by: Finn Thain --- drivers/scsi/sun3_scsi.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) Index:

[PATCH 02/12] scsi/NCR5380: remove redundant HOSTS_C macro tests

2014-03-17 Thread Finn Thain
HOSTS_C is always undefined. There is no hosts.c anymore. Signed-off-by: Finn Thain --- drivers/scsi/g_NCR5380.h |3 --- drivers/scsi/mac_scsi.h |3 --- drivers/scsi/pas16.h |3 --- drivers/scsi/sun3_scsi.h |3 --- drivers/scsi/t128.h |3 --- 5 files changed, 15

[PATCH 03/12] scsi/NCR5380: remove old CVS keywords

2014-03-17 Thread Finn Thain
Signed-off-by: Finn Thain --- drivers/scsi/NCR5380.c |2 -- drivers/scsi/NCR5380.h |4 drivers/scsi/g_NCR5380.c |4 drivers/scsi/g_NCR5380.h |4 drivers/scsi/mac_scsi.c |4 drivers/scsi/mac_scsi.h |4 drivers/scsi/sun3_scsi.c |4

[PATCH v2] staging: cxt1e1: remove unneeded mkret() calls

2014-03-17 Thread Daeseok Youn
The mkret() change a value of error from positive to negative. This patch is modified to return negative value when it failed. It doesn't need to call with function for changing from positive to negative. Signed-off-by: Daeseok Youn --- v2: fix a typo in subject this patch is rebased in

Re: [PATCH 2/2] net: cdc_ncm: respect operator preferred MTU reported by MBIM

2014-03-17 Thread Ben Chan
On Mon, Mar 17, 2014 at 2:27 PM, Bjørn Mork wrote: > > This sounds all reasonable to me. Thanks for taking the time to explain > it in such detail. I did know that some vendors set wMaxSegmentSize too > low, but had no idea that vendors were using the extended descriptor > instead of

[PATCH 06/12] scsi/NCR5380: fix dprintk macro usage and definition

2014-03-17 Thread Finn Thain
There are three implementations of the core NCR5380 driver and three sets of debugging macro definitions. And all three implementations use the NCR5380.h header as well. Two of the definitions of the dprintk macro accept a variable argument list whereas the third does not. Standardize on the

[PATCH 08/12] scsi/NCR5380: adopt dprintk()

2014-03-17 Thread Finn Thain
All NCR5380 drivers already include the NCR5380.h header. Better to adopt those macros rather than have three variations on them. Moreover, the macros in NCR5380.h are preferable because the atari_NCR5380 and sun3_NCR5380 versions are inflexible. For example, they can't accomodate

[PATCH 10/12] scsi/NCR5380: remove unused macro definitions

2014-03-17 Thread Finn Thain
Remove the unused (and divergent) debugging macro definitions from the sun3_NCR5380 and atari_NCR5380 drivers. These drivers have been converted to use the common macros in NCR5380.h. Signed-off-by: Finn Thain --- drivers/scsi/atari_scsi.h | 93 ---

[PATCH 07/12] scsi/NCR5380: adopt NCR5380_dprint() and NCR5380_dprint_phase()

2014-03-17 Thread Finn Thain
All NCR5380 drivers already include the NCR5380.h header. Better to adopt those macros rather than have three variations on them. Moreover, the macros in NCR5380.h are preferable anyway: the atari_NCR5380 and sun3_NCR5380 versions are inflexible. For example, they can't accomodate

[PATCH 12/12] scsi/NCR5380: merge sun3_scsi_vme.c into sun3_scsi.c

2014-03-17 Thread Finn Thain
The sun3 drivers suffer from a whole bunch of duplicated code. Fix this by following the g_NCR5380_mmio example. (Notionally, sun3_scsi relates to sun3_scsi_vme in the same way that g_NCR5380 relates to g_NCR5380_mmio.) Dead code is also removed: we now have working debug macros so

[PATCH 11/12] scsi/NCR5380: reduce depth of sun3_scsi nested includes

2014-03-17 Thread Finn Thain
Move the #include "NCR5380.h" out of the sun3_scsi.h header file and into the driver .c files, like all the other NCR5380 drivers in the tree. This improves uniformity and reduces the depth of nested includes. The sequence of #include's, #define's and #if's no longer does my head in.

[PATCH 09/12] scsi/NCR5380: fix and standardize NDEBUG macros

2014-03-17 Thread Finn Thain
All three NCR5380 core driver implementations share the same NCR5380.h header file so they need to agree on certain macro definitions. The flag bit used by the NDEBUG_MERGING macro in atari_NCR5380 and sun3_NCR5380 collides with the bit used by NDEBUG_LISTS. Moreover, NDEBUG_ABORT appears in

[PATCH 01/12] scsi/NCR5380: remove unused BOARD_NORMAL and BOARD_NCR53C400

2014-03-17 Thread Finn Thain
BOARD_NORMAL is completely unused and BOARD_NCR53C400 is used only by g_NCR5380 internally. Remove the unused definitions. Signed-off-by: Finn Thain --- drivers/scsi/arm/cumana_1.c |3 --- drivers/scsi/arm/oak.c |3 --- drivers/scsi/mac_scsi.h |3 ---

[PATCH 00/12] scsi/NCR5380: fix debugging macros and #include structure

2014-03-17 Thread Finn Thain
(Second attempt... sorry for the earlier spam.) This patch series addresses several issues with NCR5380 drivers: 1. The complex network of #include directives. 2. Three inconsistent implementations of the core driver all attempting to share the same macro definitions in NCR5380.h. 3.

[PATCH 05/12] scsi/NCR5380: fix build failures when debugging is enabled

2014-03-17 Thread Finn Thain
The change from cmd->target to cmd->device->id was apparently the purpose of commit a7f251228390e87d86c5e3846f99a455517fdd8e in kernel/git/tglx/history.git but some instances have been missed. Also fix the "NDEBUG_LAST_WRITE_SENT" and "NDEBUG_ALL" typo's. Also fix some format strings (%ul

Re: [RFC PATCH 0/4] power_supply: Add DT helper function to get power-supply dev from dt

2014-03-17 Thread sre
Hi, On Mon, Mar 17, 2014 at 09:43:43PM +0900, Chanwoo Choi wrote: > This patchset add DT helper function to get power-supply device from > devicetree. > - of_power_supply_get_dev(struct device *dev, enum power_supply_dev_type type, > int index) > Power-supply class

Re: [PATCH 1/3] vrange: Add vrange syscall and handle splitting/merging and marking vmas

2014-03-17 Thread John Stultz
On 03/17/2014 02:43 AM, Jan Kara wrote: > On Mon 17-03-14 10:21:18, Jan Kara wrote: >> On Fri 14-03-14 11:33:31, John Stultz wrote: >>> + for (;;) { >>> + unsigned long new_flags; >>> + pgoff_t pgoff; >>> + unsigned long tmp; >>> + >>> + if (!vma) >>> +

Re: [PATCH] staging: unisys: use kzalloc instead of kmalloc/memset 0

2014-03-17 Thread Greg KH
On Tue, Mar 18, 2014 at 09:26:07AM +0900, DaeSeok Youn wrote: > I think vmalloc/kmalloc in uislib_malloc() can be removed and just use > vmalloc/kmalloc directly. Yes. Actually, just use kmalloc, I don't knwo why vmalloc is being used, but cc: the driver maintainers just to be sure. >

Re: [f2fs-dev] [PATCH] f2fs: fix incorrect parsing with option string

2014-03-17 Thread Jaegeuk Kim
Hi, 2014-03-17 (월), 17:40 +0800, Chao Yu: > Previously 'background_gc={on***,off***}' is being parsed as correct option, > with this patch we cloud fix the trivial bug in mount process. > > Signed-off-by: Chao Yu > --- > fs/f2fs/super.c |4 ++-- > 1 file changed, 2 insertions(+), 2

RE: [RFC PATCH 2/2] ACPI: Default disable auto-serialization.

2014-03-17 Thread Zheng, Lv
Hi, Rafael > From: Wysocki, Rafael J > Sent: Monday, March 17, 2014 8:09 PM > > On 3/17/2014 5:14 AM, Lv Zheng wrote: > > This feature enabled by the following commit is still under development. > > > >Commit: cd52379678785b02d7a357988cfba214fdaf92f4 > >Subject: ACPICA: Add global option

Re: [PATCH 8/9] PCI: Ignore BAR contents when firmware left decoding disabled

2014-03-17 Thread Bjorn Helgaas
On Fri, Mar 14, 2014 at 09:48:35AM +0800, Ming Lei wrote: > On Fri, Mar 14, 2014 at 12:08 AM, Bjorn Helgaas wrote: > > On Thu, Mar 13, 2014 at 2:51 AM, Ming Lei wrote: > >> Hi Bjorn, > >> > >> I found this patch broke virtio-pci devices. > > > > Thanks a lot for testing this. > > > >> On Thu,

Re: [PATCH] staging: unisys: use kzalloc instead of kmalloc/memset 0

2014-03-17 Thread DaeSeok Youn
I think vmalloc/kmalloc in uislib_malloc() can be removed and just use vmalloc/kmalloc directly. (UISMALLOC() macro is also removed.) And uislib_malloc() is renamed to "uislib_trace_buffer_status()" which is just tracing buffer status(Malloc_FailuresAlloc, Malloc_BytesInUse ...) for

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

2014-03-17 Thread Benjamin Herrenschmidt
On Mon, 2014-03-17 at 18:21 -0400, Tejun Heo wrote: > So, looked at the failed code. The only necessary change seems to be > calling device_remove_file_self() in dump_ack_store() and then doing > kobject_put() directly afterwards, which would have been completely > fine as a merge fix patch. Ok.

linux-next: manual merge of the mvebu tree with the arm-soc tree

2014-03-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mvebu tree got a conflict in arch/arm/boot/dts/Makefile between commit 8fc1b0f87d9f ("ARM: qcom: Split Qualcomm support into legacy and multiplatform") from the arm-soc tree and commits 97623e934388 ("Merge branch 'mvebu/dt' into for-next") and 54cab10f63f2

Re: [tip:x86/urgent] x86 idle: Repair large-server 50-watt idle-power regression

2014-03-17 Thread Davidlohr Bueso
On Thu, 2013-12-19 at 11:51 -0800, tip-bot for Len Brown wrote: > Commit-ID: 40e2d7f9b5dae048789c64672bf3027fbb663ffa > Gitweb: http://git.kernel.org/tip/40e2d7f9b5dae048789c64672bf3027fbb663ffa > Author: Len Brown > AuthorDate: Wed, 18 Dec 2013 16:44:57 -0500 > Committer: H. Peter

[PATCH] [staging][r8188eu]: memory leak in rtw_free_cmd_obj if command is (_Set_Drv_Extra)

2014-03-17 Thread Wang, Xiaoming
pcmd->parmbuf->pbuf has been allocated if command is GEN_CMD_CODE(_Set_Drv_Extra), and it enqueued by rtw_enqueue_cmd. rtw_cmd_thread dequeue pcmd by rtw_dequeue_cmd. The memory leak happened on this branch "if( _FAIL == rtw_cmd_filter(pcmdpriv, pcmd) )" which goto post_process directly against

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

2014-03-17 Thread Benjamin Herrenschmidt
On Mon, 2014-03-17 at 14:56 -0700, Greg KH wrote: > No you can't, sorry. > > And this seems like a huge abuse of sysfs, you better be using binary > sysfs files for your log data... > > Do you have a pointer to where you document this sysfs api in > Documentation/ABI/ ? Yes, the patch adds the

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

2014-03-17 Thread Stewart Smith
Tejun Heo writes: > On Mon, Mar 17, 2014 at 06:05:54PM -0400, Tejun Heo wrote: >> I think this is being blown out of proportion. It was a rarely used >> API and converting to the new one is mostly trivial which can be > > So, looked at the failed code. The only necessary change seems to be >

[PATCH] sched: Initialize rq->age_stamp on processor start

2014-03-17 Thread minyard
From: Corey Minyard If the sched_clock time starts at a large value, the kernel will spin in sched_avg_update for a long time while rq->age_stamp catches up with rq->clock. The comment in kernel/sched/clock.c says that there is no strict promise that it starts at zero. So initialize

USB, TTY, char/misc, and Staging trees now closed for 3.15

2014-03-17 Thread Greg KH
Hi all, Given that 3.14 will be out in a few days, it's time to close my trees for new patches until 3.15-rc1 is out. Please feel free to send me patches for these trees, but note that I'll be ignoring them until 3.15-rc1 is out, at which point in time I'll start reviewing them again and

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

2014-03-17 Thread Stewart Smith
Greg KH writes: > On Tue, Mar 18, 2014 at 07:33:30AM +1100, Benjamin Herrenschmidt wrote: >> On Mon, 2014-03-17 at 11:33 -0700, Greg KH wrote: >> >> > There were only 3 (or 4), users of this api, and no new ones had been >> > added in _years_, it's a very obscure thing, and odds are, it wouldn't

[PATCH v2 2/2] net: cdc_ncm: respect operator preferred MTU reported by MBIM

2014-03-17 Thread Ben Chan
According to "Universal Serial Bus Communications Class Subclass Specification for Mobile Broadband Interface Model, Revision 1.0, Errata-1" published by USB-IF, the wMTU field of the MBIM extended functional descriptor indicates the operator preferred MTU for IP data streams. This patch modifies

Re: [GIT PULL] uprobes: Add uprobes support for ARM

2014-03-17 Thread Russell King - ARM Linux
On Tue, Mar 11, 2014 at 02:36:09PM -0400, David Long wrote: > git://git.linaro.org/people/dave.long/linux.git uprobes-v7 > > for you to fetch changes up to e55c35236b8adf79453a998506ec6081833b9484: > > ARM: add uprobes support (2014-03-11 11:40:29 -0400) I pulled this a week ago into my

Re: [bisected] e501 "agp: Support 64-bit APBASE" agp fails without iommu=remap=2

2014-03-17 Thread Bjorn Helgaas
[+cc Daniel, Dave, Yinghai, Guo, Aaron, LKML] On Sat, Mar 15, 2014 at 02:32:22PM +0200, Jouni Mettälä wrote: > Hi. I can't start xsession without iommu=remap=2 kernel parameter. > > Kernel bisect lead to this commit >

[PATCH] Fix late crypto work queue initialization

2014-03-17 Thread Tim Chen
The crypto algorithm modules utilizing the crypto daemon could be used early when the system start up. Using module_init does not guarantee that the daemon's work queue is initialized when the cypto alorithm depending on crypto_wq starts. It is necessary to initialize the crypto work queue

Re: [PATCHv4 0/7] omap hwspinlock dt support

2014-03-17 Thread Suman Anna
Hi Ohad, On 03/17/2014 02:47 PM, Ohad Ben-Cohen wrote: > Hi Suman, > > On Mon, Mar 17, 2014 at 9:10 PM, Suman Anna wrote: >> base_id would be a property (if added) of the hwspinlock controller node, >> and from DT perspective, we will be using the phandle for the controller >> anyway. So, using

Re: [GIT PULL] Move device tree graph parsing helpers to drivers/of

2014-03-17 Thread Laurent Pinchart
Hi Philipp, On Friday 14 March 2014 13:19:39 Philipp Zabel wrote: > Am Donnerstag, den 13.03.2014, 18:13 +0100 schrieb Laurent Pinchart: > > On Thursday 13 March 2014 12:08:16 Philipp Zabel wrote: > > > Am Montag, den 10.03.2014, 14:37 + schrieb Grant Likely: > > > > > > Nak. I made comments

[PATCH v2 1/4] x86, random: Enable the RDSEED instruction

2014-03-17 Thread H. Peter Anvin
Upcoming Intel silicon adds a new RDSEED instruction, which is similar to RDRAND but provides a stronger guarantee: unlike RDRAND, RDSEED will always reseed the PRNG from the true random number source between each read. Thus, the output of RDSEED is guaranteed to be 100% entropic, unlike RDRAND

[PATCH v2 4/4] random: Add arch_has_random[_seed]()

2014-03-17 Thread H. Peter Anvin
Add predicate functions for having arch_get_random[_seed]*(). The only current use is to avoid the loop in arch_random_refill() when arch_get_random_seed_long() is unavailable. Signed-off-by: H. Peter Anvin Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman ---

[PATCH v2 2/4] random: Use arch_get_random_seed*() at init time and once a second

2014-03-17 Thread H. Peter Anvin
Use arch_get_random_seed*() in two places in the Linux random driver (drivers/char/random.c): 1. During entropy pool initialization, use RDSEED in favor of RDRAND, with a fallback to the latter. Entropy exhaustion is unlikely to happen there on physical hardware as the machine is

[PATCH v2 3/4] random: If we have arch_get_random_seed*(), try it before blocking

2014-03-17 Thread H. Peter Anvin
If we have arch_get_random_seed*(), try to use it for emergency refill of the entropy pool before giving up and blocking on /dev/random. It may or may not work in the moment, but if it does work, it will give the user better service than blocking will. Reviewed-by: Ingo Molnar Signed-off-by: H.

[PATCH v2 0/4] RDSEED support for the Linux kernel

2014-03-17 Thread H. Peter Anvin
Upcoming Intel silicon adds a new RDSEED instruction. Whereas RDRAND returns output from a PRNG, the RDSEED instruction returns fully conditioned entropy that is suitable for use as seeds to a PRNG. This patchset adds support for RDSEED in the Linux kernel in three places: 1. During bootup, use

Re: [PATCH 1/3] mm: munlock: fix a bug where THP tail page is encountered

2014-03-17 Thread Vlastimil Babka
t mm/mlock.c:512! [ 1753.914387] invalid opcode: [#1] PREEMPT SMP DEBUG_PAGEALLOC [ 1753.914387] Dumping ftrace buffer: [ 1753.914387](ftrace buffer empty) [ 1753.914387] Modules linked in: [ 1753.914387] CPU: 26 PID: 36822 Comm: trinity-c337 Tainted: G W 3.14.0-rc6-next-20140317-s

Re: [GIT PULL] Move device tree graph parsing helpers to drivers/of

2014-03-17 Thread Laurent Pinchart
Hi Robert, On Friday 14 March 2014 08:05:05 Robert Schwebel wrote: > On Thu, Mar 13, 2014 at 04:13:08PM +0100, Sylwester Nawrocki wrote: > > My experience and feelings are similar, I started to treat mainline > > kernel much less seriously after similar DT related blocking issues. > > So how do

Re: [PATCH 1/2] staging: cxtie1: remove unneeded mkret() calls

2014-03-17 Thread DaeSeok Youn
Ok. I will rebase this patch in staging-next branch and send it again. Thanks. Daeseok Youn. 2014-03-18 6:23 GMT+09:00 Greg KH : > On Mon, Mar 10, 2014 at 08:54:18AM +0900, Daeseok Youn wrote: >> >> The mkret() change a value of error from positive to >> negative. This patch is modified to

Re: [PATCH] uio: Fix memory size check with vma in uio_mmap_physical()

2014-03-17 Thread Greg KH
On Wed, Mar 12, 2014 at 10:24:21AM +0900, Nobuhiro Iwamatsu wrote: > Register for the device are mapped in uio_mmap_physical(). > In this case, it might not be the same as the size of VMA always. Why wouldn't this be the case? > This uses PAGE_ALIGN to memory size, fix the check of the memory

Re: [v3.13][v3.14][Regression] kthread: make kthread_create() killable

2014-03-17 Thread One Thousand Gnomes
> Root cause time: it's wrong for the oom-killer to use SIGKILL. In fact It has to use SIGKILL anything else might be caught and grow the user stack a page.. > it's basically always wrong to send signals from in-kernel. Signals > are a userspace IPC mechanism and using them in-kernel a) makes

Re: [PATCH 2/2] md: Add support for RAID-1 consistency check feature

2014-03-17 Thread NeilBrown
On Mon, 17 Mar 2014 16:00:05 +0100 Ralph Mueck wrote: > This patch introduces a consistency check feature for level-1 RAID > arrays that have been created with the md driver. > When enabled, every read request is duplicated and initiated for each > member of the RAID array. All read blocks are

Re: [PATCH 1/2] USB: cdc: add MBIM extended functional descriptor structure

2014-03-17 Thread Greg Kroah-Hartman
On Sat, Mar 15, 2014 at 11:49:09PM -0700, Ben Chan wrote: > This patch adds the MBIM extended functional descriptor structure > defined in "Universal Serial Bus Communications Class Subclass > Specification for Mobile Broadband Interface Model, Revision 1.0, > Errata-1" published by USB-IF. > >

Re: [PATCH] usb: gadget: f_fs: add missing spinlock and mutex unlock

2014-03-17 Thread Greg KH
On Mon, Mar 17, 2014 at 04:04:04PM -0700, Greg KH wrote: > On Mon, Mar 10, 2014 at 09:33:37AM +0100, Robert Baldyga wrote: > > This patch adds missing spin_unlock and mutex_unlock calls in > > error handling code. > > > > Signed-off-by: Robert Baldyga > > Acked-by: Michal Nazarewicz > >

  1   2   3   4   5   6   7   8   9   10   >