Re: [PATCH] drivers/base/core.c: always output device renaming messages.

2013-10-11 Thread Ethan Zhao
On Sat, Oct 12, 2013 at 1:26 AM, Skidmore, Donald C wrote: >> -Original Message- >> From: Greg KH [mailto:gre...@linuxfoundation.org] >> Sent: Friday, October 11, 2013 9:12 AM >> To: Bjorn Helgaas >> Cc: ethan.zhao; linux-kernel@vger.kernel.org; Skidmore, Donald C; e1000- >> de...@lists.so

Re: [PATCH 1/1] AHCI: disabled FBS prior to issuing software reset

2013-10-11 Thread xiangliang yu
Hi, > On Sat, Sep 28, 2013 at 09:04:15PM +0800, xiangliang yu wrote: >> hi, Tejun >> i had tested the patch with Marvell 88se9235. And driver can find disk >> if FBS disabled, or can't find disk. > > So it can't find the disk if FBS stays enabled? Can you please attach > the boot log before & af

Re: [PATCH v3 tip/core/rcu 0/14] Sparse-related updates for 3.13

2013-10-11 Thread Josh Triplett
On Fri, Oct 11, 2013 at 04:16:59PM -0700, Paul E. McKenney wrote: > Changes from v2: > > o Switch from rcu_assign_pointer() to ACCESS_ONCE() given that > the pointers are all --rcu and already visible to readers, > as suggested by Eric Dumazet and Josh Triplett. Hang on a moment.

Re: [PATCH] drivers/base/core.c: always output device renaming messages.

2013-10-11 Thread Ethan Zhao
On Fri, Oct 11, 2013 at 11:35 PM, Greg KH wrote: > On Fri, Oct 11, 2013 at 10:58:18AM +0800, ethan.zhao wrote: >> From: "ethan.zhao" >> >> While loading ixgbevf driver,every vf detected will be output as the >> same name 'eth4': >> >> ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Net

Re: [PATCH v3] iio: exynos_adc: use wait_for_completion_timeout instead of interruptible

2013-10-11 Thread Naveen Krishna Ch
On 11 October 2013 20:00, Lars-Peter Clausen wrote: > On 10/11/2013 10:23 AM, Naveen Krishna Chatradhi wrote: >> This patch does the following >> 1. use wait_for_completion_timeout instead of >>wait_for_completion_interruptible_timeout >> 2. Reset software if a timeout happens. >> 3. Also redu

Re: [PATCH] i2c: s3c2410: dont need CPU_FREQ transitions for exynos series

2013-10-11 Thread Naveen Krishna Ch
On 12 October 2013 11:12, Tomasz Figa wrote: > On Saturday 12 of October 2013 04:28:51 Tomasz Figa wrote: >> [Fixing incorrent mail addresses and dropping the old DT ML.] >> >> On Saturday 12 of October 2013 04:22:04 Tomasz Figa wrote: >> > Hi Naveen, >> > >> > On Friday 11 of October 2013 16:56:5

[PATCH part2 v2 0/8] Arrange hotpluggable memory as ZONE_MOVABLE

2013-10-11 Thread Zhang Yanfei
Hello guys, this is the part2 of our memory hotplug work. This part is based on the part1: "x86, memblock: Allocate memory near kernel image before SRAT parsed" which is base on 3.12-rc4. You could refer part1 from: https://lkml.org/lkml/2013/10/10/644 Any comments are welcome! Thanks! [Prob

[PULL REQUEST] i2c for 3.12

2013-10-11 Thread Wolfram Sang
Linus, we had various reports of problems with deferred probing in the I2C subsystem, so this pull requst is a little bigger than usual. Most issues should be addressed now so devices will be found correctly. A few ususal driver bugfixes are in here, too. Please pull. Thanks, Wolfram The fo

[PATCH part2 v2 1/8] x86: get pg_data_t's memory from other node

2013-10-11 Thread Zhang Yanfei
From: Yasuaki Ishimatsu If system can create movable node which all memory of the node is allocated as ZONE_MOVABLE, setup_node_data() cannot allocate memory for the node's pg_data_t. So, invoke memblock_alloc_nid(...MAX_NUMNODES) again to retry when the first allocation fails. Otherwise, the sys

[PATCH part2 v2 8/8] x86, numa, acpi, memory-hotplug: Make movable_node have higher priority

2013-10-11 Thread Zhang Yanfei
From: Tang Chen If users specify the original movablecore=nn@ss boot option, the kernel will arrange [ss, ss+nn) as ZONE_MOVABLE. The kernelcore=nn@ss boot option is similar except it specifies ZONE_NORMAL ranges. Now, if users specify "movable_node" in kernel commandline, the kernel will arrang

[PATCH part2 v2 7/8] memblock, mem_hotplug: Make memblock skip hotpluggable regions if needed

2013-10-11 Thread Zhang Yanfei
From: Tang Chen Linux kernel cannot migrate pages used by the kernel. As a result, hotpluggable memory used by the kernel won't be able to be hot-removed. To solve this problem, the basic idea is to prevent memblock from allocating hotpluggable memory for the kernel at early time, and arrange all

[PATCH part2 v2 6/8] acpi, numa, mem_hotplug: Mark all nodes the kernel resides un-hotpluggable

2013-10-11 Thread Zhang Yanfei
From: Tang Chen At very early time, the kernel have to use some memory such as loading the kernel image. We cannot prevent this anyway. So any node the kernel resides in should be un-hotpluggable. Signed-off-by: Zhang Yanfei Reviewed-by: Zhang Yanfei --- arch/x86/mm/numa.c | 44

[PATCH part2 v2 5/8] acpi, numa, mem_hotplug: Mark hotpluggable memory in memblock

2013-10-11 Thread Zhang Yanfei
From: Tang Chen When parsing SRAT, we know that which memory area is hotpluggable. So we invoke function memblock_mark_hotplug() introduced by previous patch to mark hotpluggable memory in memblock. Signed-off-by: Tang Chen Reviewed-by: Zhang Yanfei --- arch/x86/mm/numa.c |2 ++ arch/x86/

[PATCH part2 v2 4/8] memblock: Make memblock_set_node() support different memblock_type

2013-10-11 Thread Zhang Yanfei
From: Tang Chen Signed-off-by: Tang Chen Reviewed-by: Zhang Yanfei --- arch/metag/mm/init.c |3 ++- arch/metag/mm/numa.c |3 ++- arch/microblaze/mm/init.c |3 ++- arch/powerpc/mm/mem.c |2 +- arch/powerpc/mm/numa.c|8 +--- arch/sh/kernel/setup.c|

[PATCH part2 v2 3/8] memblock, mem_hotplug: Introduce MEMBLOCK_HOTPLUG flag to mark hotpluggable regions

2013-10-11 Thread Zhang Yanfei
From: Tang Chen In find_hotpluggable_memory, once we find out a memory region which is hotpluggable, we want to mark them in memblock.memory. So that we could control memblock allocator not to allocte hotpluggable memory for the kernel later. To achieve this goal, we introduce MEMBLOCK_HOTPLUG f

[PATCH part2 v2 2/8] memblock, numa: Introduce flag into memblock

2013-10-11 Thread Zhang Yanfei
From: Tang Chen There is no flag in memblock to describe what type the memory is. Sometimes, we may use memblock to reserve some memory for special usage. And we want to know what kind of memory it is. So we need a way to differentiate memory for different usage. In hotplug environment, we want

Re: [PATCH v5 0/4] Fix Win8 backlight issue

2013-10-11 Thread Yves-Alexis Perez
On sam., 2013-10-12 at 00:10 +0200, Rafael J. Wysocki wrote: > On Friday, October 11, 2013 12:42:43 PM Josh Boyer wrote: > > On Fri, Oct 11, 2013 at 9:27 AM, Aaron Lu wrote: > > > v5: > > > 1 Introduce video.use_native_backlight module parameter and set its > > > value to false by default as sug

Re: [PATCH v5 0/4] Fix Win8 backlight issue

2013-10-11 Thread Yves-Alexis Perez
On sam., 2013-10-12 at 01:27 +0200, Rafael J. Wysocki wrote: > If we are to use a Kconfig option, why don't we use one instead of rather than > in addition to a command line option? Say, we have > CONFIG_ACPI_VIDEO_WIN8_WORKAROUND and if that is set, the code will work like > the previous version

Re: [PATCH v2 12/15] KVM: MMU: allow locklessly access shadow page table out of vcpu thread

2013-10-11 Thread Gleb Natapov
On Fri, Oct 11, 2013 at 05:30:17PM -0300, Marcelo Tosatti wrote: > On Fri, Oct 11, 2013 at 08:38:31AM +0300, Gleb Natapov wrote: > > > n_max_mmu_pages is not a suitable limit to throttle freeing of pages via > > > RCU (its too large). If the free memory watermarks are smaller than > > > n_max_mmu_

Re: [PATCH] i2c: s3c2410: dont need CPU_FREQ transitions for exynos series

2013-10-11 Thread Tomasz Figa
On Saturday 12 of October 2013 04:28:51 Tomasz Figa wrote: > [Fixing incorrent mail addresses and dropping the old DT ML.] > > On Saturday 12 of October 2013 04:22:04 Tomasz Figa wrote: > > Hi Naveen, > > > > On Friday 11 of October 2013 16:56:54 Naveen Krishna Chatradhi wrote: > > > The exynos5

[PATCH 0/1] add maintainers for low-power Intel MID platform

2013-10-11 Thread David Cohen
From: David Cohen Hi, I'd like to add official maintainers for Intel MID platform on Linux kernel. Current Intel MID support on upstream is outdated, but we've immediate plans to update the code. The 2 persons this patch is adding as maintainers are also part of Intel's internal team responsible

[PATCH 1/1] MAINTAINERS: INTEL MID SOC: add maintainers

2013-10-11 Thread David Cohen
This patch adds official maintainers for low-power Intel MID platform. Signed-off-by: David Cohen Cc: Kuppuswamy Sathyanarayanan --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7534a80..8ef9e65 100644 --- a/MAINTAINERS +++ b/MAINTAINE

Re: [PATCH] ARM: w90x900: remove deprecated IRQF_DISABLED

2013-10-11 Thread Wan ZongShun
2013/10/12 Michael Opdenacker : > This patch proposes to remove the use of the IRQF_DISABLED flag > > It's a NOOP since 2.6.35 and it will be removed one day. > > Signed-off-by: Michael Opdenacker Acked-by: Wan zongshun Thanks! > --- > arch/arm/mach-w90x900/time.c | 2 +- > 1 file changed, 1

[PATCH v2] writeback: fix negative bdi max pause

2013-10-11 Thread Fengguang Wu
Toralf runs trinity on UML/i386. After some time it hangs and the last message line is BUG: soft lockup - CPU#0 stuck for 22s! [trinity-child0:1521] It's found that pages_dirtied becomes very large. More than 10 pages in this case: period = HZ * pages_dirtied / task_ratel

[PATCH] drivers: bus: omap_l3: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/bus/omap_l3_noc.c | 4 ++-- drivers/bus/omap_l3_smx.c | 6 ++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a

[PATCH] mg_disk: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/block/mg_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/mg_disk.c b/drivers/block/mg_d

[PATCH] block: hd: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. This also removes a related comment which is obsolete too. Signed-off-by: Michael Opdenacker --- drivers/block/hd.c | 12 +--- 1 file changed, 1 insertion(+), 11 del

[PATCH] NVMe: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/block/nvme-core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/block/nvme-core.c b/drivers/b

[PATCH] rsxx: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/block/rsxx/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/rsxx/core.c b/drivers/block/

[PATCH] cpqarray: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/block/cpqarray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/cpqarray.c b/drivers/block/cp

RE: [PATCH 1/1] support new huawei devices in option.c

2013-10-11 Thread Fangxiaozhi (Franko)
Dear Greg: >-Original Message- >From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] >Sent: Saturday, October 12, 2013 4:58 AM >To: Fangxiaozhi (Franko) >Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Heyongquan; >Wangyuhua; Yili (Neil) >Subject: Re: [PATCH 1/

[PATCH] score: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/score/kernel/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/score/kernel/time.c b/arch/score/kerne

[PATCH] m32r: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/m32r/kernel/time.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/m32r/kernel/time.c b/arch/m32r/kernel/time.c index 1a15f

[PATCH] avr32: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/avr32/kernel/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/avr32/kernel/time.c b/arch/avr32/kerne

[PATCH] ARM: misc: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag from miscellaneous code in mach-xxx and plat-xxx This flag is a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/mach-ebsa110/core.c | 2 +- arch/arm/mach-integrator/integ

[PATCH] arm: plat-orion: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/plat-orion/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/plat-orion/time.c b/arch/arm/pla

[PATCH] ARM: w90x900: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/mach-w90x900/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-w90x900/time.c b/arch/arm

[PATCH v3 05/10] intel_mid: Renamed *mrst* to *intel_mid*

2013-10-11 Thread David Cohen
From: Kuppuswamy Sathyanarayanan mrst is used as common name to represent all intel_mid type soc's. But moorsetwon is just one of the intel_mid soc. So renamed them to use intel_mid. This patch mainly renames the variables and related functions that uses *mrst* prefix with *intel_mid*. To ensur

[PATCH v3 00/10] rework arch/x86/platform/[mrst => intel-mid]

2013-10-11 Thread David Cohen
This patch set does initial rework from arch/x86/platform/mrst to arch/x86/platform/intel-mid. These changes are necessary to update the obsolete Intel Atom Moorestown code to support the newer Atom processors of this family (called 'intel-mid'). Kuppuswamy Sathyanarayanan (10): mrst: Fixed pri

[PATCH v3 02/10] mrst: Fixed indentation issues

2013-10-11 Thread David Cohen
From: Kuppuswamy Sathyanarayanan Fixed indentation issues reported by checkpatch script in mrst related files. Signed-off-by: Kuppuswamy Sathyanarayanan Signed-off-by: David Cohen --- arch/x86/platform/mrst/early_printk_mrst.c | 3 ++- arch/x86/platform/mrst/mrst.c | 24 +++

[PATCH v3 07/10] intel_mid: Added custom device_handler support

2013-10-11 Thread David Cohen
From: Kuppuswamy Sathyanarayanan This patch provides a means to add custom handler for SFI devices. If you set device_handler as NULL in device_id table standard SFI device handler will be used. If its not NULL custom handler will be called. Signed-off-by: Kuppuswamy Sathyanarayanan Signed-off

[PATCH v3 01/10] mrst: Fixed printk/pr_* related issues

2013-10-11 Thread David Cohen
From: Kuppuswamy Sathyanarayanan Fixed printk and pr_* related issues in mrst related files. Signed-off-by: Kuppuswamy Sathyanarayanan Signed-off-by: David Cohen --- arch/x86/platform/mrst/early_printk_mrst.c | 2 +- arch/x86/platform/mrst/mrst.c | 2 +- arch/x86/platform/mrst/v

[PATCH] ARM: spear: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/mach-spear/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-spear/time.c b/arch/arm/mac

[PATCH v3 08/10] intel_mid: Added custom handler for ipc devices

2013-10-11 Thread David Cohen
From: Kuppuswamy Sathyanarayanan Added a custom handler for medfield based ipc devices and moved devs_id structure defintion to header file. Signed-off-by: Kuppuswamy Sathyanarayanan Signed-off-by: David Cohen --- arch/x86/include/asm/intel-mid.h| 15 ++ arch/x86/platform/intel-m

[PATCH v3 04/10] intel_mid: Renamed *mrst* to *intel_mid*

2013-10-11 Thread David Cohen
From: Kuppuswamy Sathyanarayanan Following files contains code that is common to all intel mid soc's. So renamed them as below. mrst/mrst.c -> intel-mid/intel-mid.c mrst/vrtc.c -> intel-mid/intel_mid_vrtc.c mrst/early_printk_mrst.c -> intel-mid/intel_mid_vrtc.c pci/mrst

[PATCH v3 10/10] intel_mid: Moved SFI related code to intel_mid_sfi.c

2013-10-11 Thread David Cohen
From: Kuppuswamy Sathyanarayanan Moved SFI specific parsing/handling code to intel_mid_sfi.c. This will enable us to reuse our intel-mid code for platforms that supports firmware interfaces other than SFI (like ACPI). Signed-off-by: Kuppuswamy Sathyanarayanan Signed-off-by: David Cohen --- a

[PATCH v3 03/10] mrst: Fixed checkpatch warnings

2013-10-11 Thread David Cohen
From: Kuppuswamy Sathyanarayanan Fixed checkpatch warnings in mrst related files. Signed-off-by: Kuppuswamy Sathyanarayanan Signed-off-by: David Cohen --- arch/x86/platform/mrst/mrst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x8

[PATCH v3 06/10] intel_mid: Refactored sfi_parse_devs() function

2013-10-11 Thread David Cohen
From: Kuppuswamy Sathyanarayanan SFI device_id[] table parsing code is duplicated in every SFI device handler. This patch removes this code duplication, by adding a seperate function get_device_id() to parse through the device table. Also this patch moves the SPI, I2C, IPC info code from sfi_pars

[PATCH] ARM: SAMSUNG: remove IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/mach-s3c24xx/dma.c | 2 +- arch/arm/mach-s3c24xx/simtec-usb.c | 3 +-- arch/arm/mach-s3c64xx/mach-smartq.c | 2 +- 3 f

Re: [PATCH] CPU Jitter RNG: inclusion into kernel crypto API and /dev/random

2013-10-11 Thread Theodore Ts'o
Hi Stephan, I haven't had a chance to look at your paper in detail, yet, but a quick scan has found a huge red flag for me that puts the rest of your analysis in severe doubt for me. You say that you got really good results and perfect statistical entropy on a number of platforms, including on an

[PATCH] ARM: mmp: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/mach-mmp/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-mmp/time.c b/arch/arm/mach-mm

Re: [PATCH] cpufreq: fix false return check from "regulator_set_voltage"

2013-10-11 Thread Viresh Kumar
On 09/10/2013, Manish Badarkhe wrote: > Currently, code checks false return value from "regulator_set_voltage" > to show failure message. Modify the code to check proper return > value from "regulator_set_voltage". > > Signed-off-by: Manish Badarkhe > --- > Based on master branch of linux-mainlin

[PATCH] ARM: LPC32xx: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/mach-lpc32xx/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-lpc32xx/timer.c b/arch/a

[PATCH] ARM: IXP4xx: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/mach-ixp4xx/common.c| 2 +- arch/arm/mach-ixp4xx/dsmg600-setup.c | 3 +-- arch/arm/mach-ixp4xx/fsg-setup.c | 6 ++--

[Question]should we not ignore the masked interrupt in regmap?

2013-10-11 Thread yi zhang
Hi, Mark: Sorry to trouble you, I have a question about the interrupt handling of regmap framework; in the regmap_irq_thread(), from the following code, we only handle the unmasked interrupt; 256 data->status_buf[i] &= ~data->mask_buf[i]; but in the following sequence, irq sto

[PATCH] ARM: ep93xx: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/mach-ep93xx/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/m

[PATCH] ARM: cns3xxx: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/mach-cns3xxx/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-cns3xxx/core.c b/arch/arm

[PATCH] cgroup: fix to break the while loop in cgroup_attach_task() correctly

2013-10-11 Thread Li Zefan
From: Anjana V Kumar Both Anjana and Eunki reported a stall in the while_each_thread loop in cgroup_attach_task(). It's because, when we attach a single thread to a cgroup, if the cgroup is exiting or is already in that cgroup, we won't break the loop. If the task is already in the cgroup, the

Re: [RFC][PATCH 3/7] sched: power: go_faster/slower power driver hints

2013-10-11 Thread Michael wang
Hi, Morten On 10/12/2013 01:19 AM, Morten Rasmussen wrote: [snip] > > @@ -5743,6 +5772,7 @@ static void run_rebalance_domains(struct softirq_action > *h) >*/ > nohz_idle_balance(this_cpu, idle); > > + inc_cpu_capacity(this_cpu); Just wondering is this check necessary here?

[PATCH] [ARM] floppy.h: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/include/asm/floppy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/floppy.h b/arch/a

[PATCH] ARM: timer-sp: remove deprecated IRQF_DISABLED

2013-10-11 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/common/timer-sp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/common/timer-sp.c b/arch/arm/com

Re: [PATCH v3 2/3] mm/zswap: bugfix: memory leak when invalidate and reclaim occur concurrently

2013-10-11 Thread Bob Liu
On Fri, Oct 11, 2013 at 3:13 PM, Minchan Kim wrote: > On Thu, Sep 26, 2013 at 11:42:17AM +0800, Weijie Yang wrote: >> On Tue, Sep 24, 2013 at 9:03 AM, Minchan Kim wrote: >> > On Mon, Sep 23, 2013 at 04:21:49PM +0800, Weijie Yang wrote: >> > > >> > > Modify: >> > > - check the refcount in fail pa

Re: [PATCH] wdt: sunxi: Fix section mismatch

2013-10-11 Thread Guenter Roeck
On 10/11/2013 12:15 PM, Maxime Ripard wrote: Hi Wim, On Sat, Oct 05, 2013 at 04:20:17PM +0200, Maxime Ripard wrote: This driver has a section mismatch, for probe and remove functions, leading to the following warning during the compilation. WARNING: drivers/watchdog/built-in.o(.data+0x24): Sec

Re: [PATCH v3 2/3] mm/zswap: bugfix: memory leak when invalidate and reclaim occur concurrently

2013-10-11 Thread Bob Liu
On Thu, Sep 26, 2013 at 11:42 AM, Weijie Yang wrote: > On Tue, Sep 24, 2013 at 9:03 AM, Minchan Kim wrote: >> On Mon, Sep 23, 2013 at 04:21:49PM +0800, Weijie Yang wrote: >> > >> > Modify: >> > - check the refcount in fail path, free memory if it is not referenced. >> >> Hmm, I don't like this b

Re: [PATCH] i2c: s3c2410: dont need CPU_FREQ transitions for exynos series

2013-10-11 Thread Tomasz Figa
[Fixing incorrent mail addresses and dropping the old DT ML.] On Saturday 12 of October 2013 04:22:04 Tomasz Figa wrote: > Hi Naveen, > > On Friday 11 of October 2013 16:56:54 Naveen Krishna Chatradhi wrote: > > The exynos5 i2c clock is based on a fixed 66 MHz peripheral clock, and > > therefore

Re: [PATCH v2 tip/core/rcu 07/13] ipv6/ip6_tunnel: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-11 Thread Hannes Frederic Sowa
On Thu, Oct 10, 2013 at 12:05:32PM -0700, Paul E. McKenney wrote: > On Thu, Oct 10, 2013 at 04:04:22AM +0200, Hannes Frederic Sowa wrote: > > On Wed, Oct 09, 2013 at 05:28:33PM -0700, Paul E. McKenney wrote: > > > On Wed, Oct 09, 2013 at 05:12:40PM -0700, Eric Dumazet wrote: > > > > On Wed, 2013-10

Re: [PATCH] i2c: s3c2410: dont need CPU_FREQ transitions for exynos series

2013-10-11 Thread Tomasz Figa
Hi Naveen, On Friday 11 of October 2013 16:56:54 Naveen Krishna Chatradhi wrote: > The exynos5 i2c clock is based on a fixed 66 MHz peripheral clock, and > therefore is completely independent of the cpu frequency. > Thus, registering for a CPU freq notifier is very wasteful. > > This patch modife

Re: [PATCH 12/12] EFI: Runtime services virtual mapping

2013-10-11 Thread Dave Young
CCing Peter Jones .., Peter, any idea about the grub related problem? On 10/11/13 at 09:42am, Dave Young wrote: > Matt, > > The kernel I referring is the boot kernel aka the 1st kernel, > the boot loader is grub2 from Fedora 19. > > [sorry for top reply because of using webmail] > > > - Or

Re: [PATCH] arm/arm64: remove atomic_clear_mask() in "include/asm/atomic.h"

2013-10-11 Thread Chen Gang
On 10/12/2013 09:36 AM, Chen Gang wrote: > On 10/11/2013 09:03 PM, Richard Weinberger wrote: >> Am 11.10.2013 14:28, schrieb Will Deacon: >>> On Fri, Oct 11, 2013 at 01:08:17PM +0100, Richard Weinberger wrote: On Fri, Oct 11, 2013 at 1:47 PM, Chen Gang wrote: > In current kernel wide sour

Re: NULL pointer dereference in autofs4_expire_wait

2013-10-11 Thread Ian Kent
On Fri, 2013-10-11 at 07:29 -0600, David Ahern wrote: > On 10/11/13 3:55 AM, Ian Kent wrote: > > On Fri, 2013-10-11 at 10:06 +0800, Ian Kent wrote: > >> On Thu, 2013-10-10 at 17:22 -0600, David Ahern wrote: > >>> Running 3.12-rc3 just hit BUG in autofs4_expire_wait > >> > >> It doesn't look like th

Re: [PATCH] arm/arm64: remove atomic_clear_mask() in "include/asm/atomic.h"

2013-10-11 Thread Chen Gang
On 10/12/2013 12:55 AM, Will Deacon wrote: > On Fri, Oct 11, 2013 at 12:47:05PM +0100, Chen Gang wrote: >> In current kernel wide source code, except other architectures, only >> s390 scsi drivers use atomic_clear_mask(), and arm/arm64 need not >> support s390 drivers. >> >> So remove atomic_clear_

Re: [PATCH] CPU Jitter RNG: inclusion into kernel crypto API and /dev/random

2013-10-11 Thread Sandy Harris
On Fri, Oct 11, 2013 at 2:38 PM, Stephan Mueller wrote: I like the basic idea. Here I'm alternately reading the email and the page you link to & commenting on both. A nitpick in the paper is that you cite RFC 1750. That was superceded some years back by RFC 4086 http://tools.ietf.org/html/rfc408

Re: [RFC][PATCH 4/3] vfs: Allow rmdir to remove mounts in all but the current mount namespace

2013-10-11 Thread Eric W. Biederman
ebied...@xmission.com (Eric W. Biederman) writes: > Miklos Szeredi writes: > >> On Thu, Oct 10, 2013 at 1:43 PM, Eric W. Biederman >>> Miklos if you as the fuse maintainer aren't worried about network >>> filesystems, and multiple namespaces I won't worry either. Especially >>> since modern vers

Re: [PATCH] arm/arm64: remove atomic_clear_mask() in "include/asm/atomic.h"

2013-10-11 Thread Chen Gang
On 10/11/2013 09:03 PM, Richard Weinberger wrote: > Am 11.10.2013 14:28, schrieb Will Deacon: >> On Fri, Oct 11, 2013 at 01:08:17PM +0100, Richard Weinberger wrote: >>> On Fri, Oct 11, 2013 at 1:47 PM, Chen Gang wrote: In current kernel wide source code, except other architectures, only

[PATCH] cpufreq: acpi: Add comment under ACPI_ADR_SPACE_SYSTEM_IO case

2013-10-11 Thread Viresh Kumar
policy->cur is now set by cpufreq core when cpufreq_driver->get() is defined and so drivers aren't required to set it. When space_id is ACPI_ADR_SPACE_SYSTEM_IO for acpi cpufreq driver it doesn't set ->get to a valid function pointer and so policy->cur is required to be set by driver. This is alre

Re: [PATCH] mm: trivial: fix typos

2013-10-11 Thread Randy Dunlap
On 10/07/13 09:23, Seth Jennings wrote: > Fix comment typos in swapfile.c > > Signed-off-by: Seth Jennings > --- > mm/swapfile.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/mm/swapfile.c b/mm/swapfile.c > index 3963fc2..7968c1b 100644 > --- a/mm/swapf

RE: When USB PHY framework should be used?

2013-10-11 Thread Chen Peter-B29397
> > > I think you should have a wrapper driver to EHCI/OHCI to handle this > reset. > > Thank you Kishon and Peter for the quick replies. Is there any good > example of such a wrapper driver in the kernel already? > chipidea, dwc3, etc. -- To unsubscribe from this list: send the line "unsu

Re: [RFC][PATCH 4/3] vfs: Allow rmdir to remove mounts in all but the current mount namespace

2013-10-11 Thread Eric W. Biederman
Miklos Szeredi writes: > On Thu, Oct 10, 2013 at 1:43 PM, Eric W. Biederman >> Miklos if you as the fuse maintainer aren't worried about network >> filesystems, and multiple namespaces I won't worry either. Especially >> since modern versions of fuse aren't affected. > > I think the above condit

Re: [patch 3/4] percpu_ida: add an API to return free tags

2013-10-11 Thread Shaohua Li
On Fri, Oct 11, 2013 at 01:35:36PM -0700, Kent Overstreet wrote: > On Fri, Oct 11, 2013 at 03:18:05PM +0800, Shaohua Li wrote: > > add an API to return free tags, blk-mq-tag will use it > > Can you explain how this is going to be used? Seems like something that > could be prone to misuse, try and

[GIT PULL] Btrfs

2013-10-11 Thread Chris Mason
Hi Linus, We've got more bug fixes in my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus One of these fixes another corner of the compression oops from last time. Miao nailed down some problems with concurrent snapshot deletion and drive balancing

Re: [patch 1/4] percpu_ida: make percpu_ida percpu size/batch configurable

2013-10-11 Thread Shaohua Li
On Fri, Oct 11, 2013 at 01:31:52PM -0700, Kent Overstreet wrote: > On Fri, Oct 11, 2013 at 03:18:03PM +0800, Shaohua Li wrote: > > Make percpu_ida percpu size/batch configurable. The block-mq-tag will use > > it. > > Can you explain the justification for this? Performance...? The performance usi

Re: [ 00/39] 3.0.100-stable review

2013-10-11 Thread Guenter Roeck
On Fri, Oct 11, 2013 at 03:14:05PM -0700, Greg Kroah-Hartman wrote: > On Fri, Oct 11, 2013 at 12:34:44PM -0700, Greg Kroah-Hartman wrote: > > > > NOTE: This is going to be the next-to-last 3.0.x release that I do. > > You should be moving off to the 3.4.x or 3

Re: [ 00/48] 3.4.66-stable review

2013-10-11 Thread Guenter Roeck
On Fri, Oct 11, 2013 at 03:12:41PM -0700, Greg Kroah-Hartman wrote: > On Fri, Oct 11, 2013 at 02:56:19PM -0700, Guenter Roeck wrote: > > On Fri, Oct 11, 2013 at 12:36:07PM -0700, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 3.4.66 release. > > > There are 48

Re: [patch 4/4] blk-mq: switch to percpu-ida for tag menagement

2013-10-11 Thread Shaohua Li
On Fri, Oct 11, 2013 at 08:28:54AM -0600, Jens Axboe wrote: > On 10/11/2013 01:18 AM, Shaohua Li wrote: > > Using percpu-ida to manage blk-mq tags. the percpu-ida has similar algorithm > > like the blk-mq-tag. The difference is when a cpu can't allocate tags > > blk-mq-tag uses ipi to purge remote

Re: [PATCH] xhci: Ensure a command structure points to the correct trb on the command ring

2013-10-11 Thread Xiao Jin
Sarah, As you said, I make a mistake and send wrong patch. I am sorry for it. On Fri, 2013-10-11 at 10:28 -0700, Sarah Sharp wrote: > On Fri, Oct 11, 2013 at 10:25:23AM -0700, Sarah Sharp wrote: > > Hi Xiao, > > > > I think you did something odd when you tried to send me the latest > > revision

[patch 2/2] hung_task: add method to reset detector

2013-10-11 Thread Marcelo Tosatti
In certain occasions it is possible for a hung task detector positive to be false: continuation from a paused VM, for example. Add a method to reset detection, similar as is done with other kernel watchdogs. Signed-off-by: Marcelo Tosatti Index: kvm/kernel/hung_task.c ==

[patch 0/2] generic kernel watchdog reset at pvclock read (v2)

2013-10-11 Thread Marcelo Tosatti
v2: - do not create hung_task.h, move defines to sched.h (Don Zickus) - switch patch order (Paolo) -- 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 http://vger.kernel.org/majordomo-info.html Ple

[PATCH] writeback: fix negative bdi max pause

2013-10-11 Thread Fengguang Wu
Toralf runs trinity on UML/i386. After some time it hangs and the last message line is BUG: soft lockup - CPU#0 stuck for 22s! [trinity-child0:1521] It's found that pages_dirtied becomes very large. More than 10 pages in this case: period = HZ * pages_dirtied / task_ratel

[patch 1/2] pvclock: detect watchdog reset at pvclock read

2013-10-11 Thread Marcelo Tosatti
Implement reset of kernel watchdogs at pvclock read time. This avoids adding special code to every watchdog. This is possible for watchdogs which measure time based on sched_clock() or ktime_get() variants. Suggested by Don Zickus. Signed-off-by: Marcelo Tosatti Index: kvm/arch/x86/kernel/kvm

Re: [RFC PATCH 0/5] locks: implement "filp-private" (aka UNPOSIX) locks

2013-10-11 Thread Jeff Layton
On Fri, 11 Oct 2013 20:18:58 -0400 Scott Lovenberg wrote: > > On Oct 11, 2013, at 19:49, Jeremy Allison wrote: > > > On Fri, 11 Oct 2013 15:36:43 -0600 Andreas Dilger wrote: > >>> > >>> At this point, my main questions are: > >>> > >>> 1) does this look useful, particularly for fileserver i

Re: [RFC PATCH 0/5] locks: implement "filp-private" (aka UNPOSIX) locks

2013-10-11 Thread Scott Lovenberg
On Oct 11, 2013, at 19:49, Jeremy Allison wrote: > On Fri, 11 Oct 2013 15:36:43 -0600 Andreas Dilger wrote: >>> >>> At this point, my main questions are: >>> >>> 1) does this look useful, particularly for fileserver implementors? > > Yes from the Samba perspective. We'll have to keep the old

Re: [PATCH 0/6] drivers: usb: core: Adapt source to styleguide

2013-10-11 Thread Greg KH
On Thu, Oct 10, 2013 at 11:41:26PM +0200, Matthias Beyer wrote: > Hi, > > I patches several files in drivers/usb/core/ to adapt them to the kernel > styleguide. > > Most of these patches are whitespace/indention fixes. > > As these patches are only style-patches, I just compiled the kernel, no

Re: [PATCH 5/6] drivers: usb: core: devio.c: Braces around switch

2013-10-11 Thread Greg KH
On Thu, Oct 10, 2013 at 11:41:31PM +0200, Matthias Beyer wrote: > Added braces around switch statement as the styleguide tells us. > Indented the switch-block for it and split a function call > (driver->unlocked_ioctl() on line 1876) arguments to several lines to > fit the 80-column convention. >

Re: [PATCH 4/6] drivers: usb: core: devio.c: Coding style fixes

2013-10-11 Thread Greg KH
On Thu, Oct 10, 2013 at 11:41:30PM +0200, Matthias Beyer wrote: > @@ -1838,9 +1838,10 @@ static int proc_ioctl(struct dev_state *ps, struct > usbdevfs_ioctl *ctl) > return -ENODEV; > } > > - if (ps->dev->state != USB_STATE_CONFIGURED) > + if (ps->dev->state != USB_STA

Re: [ 000/135] 3.11.5-stable review

2013-10-11 Thread Greg Kroah-Hartman
On Fri, Oct 11, 2013 at 04:58:06PM -0700, Guenter Roeck wrote: > On Fri, Oct 11, 2013 at 12:38:01PM -0700, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.11.5 release. > > There are 135 patches in this series, all will be posted as a response > > to this one.

Re: [ 000/135] 3.11.5-stable review

2013-10-11 Thread Guenter Roeck
On Fri, Oct 11, 2013 at 12:38:01PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.11.5 release. > There are 135 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

[PATCH v3 1/6] PowerCap: Documentation

2013-10-11 Thread Srinivas Pandruvada
Added power cap framework documentation. This explains the use of power capping framework, sysfs and programming interface. There are two documents: Documentation/power/powercap/powercap.txt : Explains use case and APIs. Documentation/ABI/testing/sysfs-class-powercap: Explains ABIs. Reviewed-by: R

[PATCH v3 6/6] Introduce Intel RAPL power capping driver

2013-10-11 Thread Srinivas Pandruvada
From: Jacob Pan The Intel Running Average Power Limit(RAPL) technology provides platform software with the ability to monitor, control, and get notifications on power usage. This feature is present in all Sandy Bridge and later Intel processors. Newer models allow more fine grained controls to be

Re: [RFC PATCH 0/5] locks: implement "filp-private" (aka UNPOSIX) locks

2013-10-11 Thread Jeremy Allison
On Fri, 11 Oct 2013 15:36:43 -0600 Andreas Dilger wrote: > > > > At this point, my main questions are: > > > > 1) does this look useful, particularly for fileserver implementors? Yes from the Samba perspective. We'll have to keep the old code around for compatibility with non-Linux OS'es, but t

[PATCH v3 0/6] Power Capping Framework and RAPL Driver

2013-10-11 Thread Srinivas Pandruvada
Overview With the evolution of technologies, which enables power monitoring and limiting, more and more devices are able to constrain their power consumption under certain limits. There are several use cases for such technologies: - Power monitoring: Each device can report its power consumption. -

  1   2   3   4   5   6   7   8   9   10   >