Re: [PATCH][RESEND] ARM: imx: remove IRQF_DISABLED

2013-09-09 Thread Sascha Hauer
On Wed, Sep 04, 2013 at 07:04:39AM +0200, Michael Opdenacker wrote: > This flag is a NOOP since 2.6.35 and can be removed. > > This is an update for 3.11 of a patch already sent for 3.10 > > Signed-off-by: Michael Opdenacker (added shawn to Cc) Acked-by: Sascha Hauer Sascha > --- > arch/ar

Re: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-09 Thread Joonsoo Kim
On Tue, Sep 10, 2013 at 04:15:20PM +1000, Dave Chinner wrote: > On Tue, Sep 10, 2013 at 01:47:59PM +0900, Joonsoo Kim wrote: > > On Tue, Sep 10, 2013 at 02:02:54PM +1000, Dave Chinner wrote: > > > Hi folks, > > > > > > I just updated my performance test VM to the current 3.12-git > > > tree after

Re: [PATCH 2/2] cpufreq: serialize calls to __cpufreq_governor()

2013-09-09 Thread Viresh Kumar
Back finally and I see lots of mails over cpufreq stuff.. :) On 3 September 2013 18:50, Srivatsa S. Bhat wrote: > This doesn't solve the problem completely: it prevents the store_*() task > from continuing *only* when it concurrently executes the __cpufreq_governor() > function along with the CPU

Re: [PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-09 Thread Sascha Hauer
On Fri, Sep 06, 2013 at 04:08:24PM +0800, Xiubo Li wrote: > The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 > SoCs. > > + > +static int fsl_pwm_probe(struct platform_device *pdev) > +{ > + int ret = 0; > + struct fsl_pwm_chip *fpc; > + struct resource *res; >

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-09 Thread Mike Galbraith
On Tue, 2013-09-10 at 09:05 +0300, Gilad Ben-Yossef wrote: > Hi, > > On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter wrote: > > I am not sure how to call this kernel option but we need something like > > that. I see drivers and the kernel spawning processes on the nohz cores. > > The name kth

Re: [PATCHv2 00/25] perf tool: Add support for multiple data file storage

2013-09-09 Thread Adrian Hunter
On 09/09/13 14:17, Peter Zijlstra wrote: > On Sun, Sep 01, 2013 at 12:36:11PM +0200, Jiri Olsa wrote: >> hi, >> sending the support for multiple file storage. Initial >> RFC is here: >> http://marc.info/?l=linux-kernel&m=137408381902423&w=2 >> >> v2 changes: >> - reworked perf mmap size setup to

Re: [PATCHv3 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.

2013-09-09 Thread Sascha Hauer
On Fri, Sep 06, 2013 at 04:08:25PM +0800, Xiubo Li wrote: > This adds devicetree node for VF610, and there are 8 channels supported > by default. > > Signed-off-by: Xiubo Li > --- > arch/arm/boot/dts/vf610.dtsi | 103 > ++- > 1 file changed, 102 insertion

[PATCH] workqueue: remove redundant timer_stats_timer_set_start_info() call

2013-09-09 Thread Libin
From: Li Bin There is a redundant call for timer_stats_timer_set_start_info(), because it is the responsibility of the 'timer add' function: add_timer_on() |- timer_stats_timer_set_start_info() add_timer() |- mod_timer() |- __mod_timer() |- timer_stats_timer_set_start_in

Re: [PATCH 2/2] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-09-09 Thread Aaron Lu
On Mon, Sep 09, 2013 at 11:32:10AM +0200, Daniel Vetter wrote: > Hi Aaaron, > > Have we grown any clue meanwhile about which Intel boxes need this and for > which we still need to keep the acpi backlight around? I've grown _very_ Sorry, no general rule has been found. As Rafael has said, it appea

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-09 Thread Wei Ni
On 09/10/2013 01:54 PM, Guenter Roeck wrote: > On 09/09/2013 10:39 PM, Wei Ni wrote: >> On 09/10/2013 12:50 PM, Guenter Roeck wrote: >>> On 09/09/2013 09:05 PM, Wei Ni wrote: On 09/10/2013 04:39 AM, Mark Brown wrote: > * PGP Signed by an unknown key > > On Mon, Sep 09, 2013 at 09:1

Re: [PATCH] ethernet/arc/arc_emac: Fix huge delays in large file copies

2013-09-09 Thread Vineet Gupta
On 09/05/2013 11:55 PM, David Miller wrote: > From: Vineet Gupta > Date: Wed, 4 Sep 2013 17:17:15 +0530 > >> copying large files to a NFS mounted host was taking absurdly large >> time. >> >> Turns out that TX BD reclaim had a sublte bug. >> >> Loop starts off from @txbd_dirty cursor and stops wh

Re: [git pull] drm tree for 3.12-rc1

2013-09-09 Thread Sean V Kelley
On Thu, Sep 5, 2013 at 12:18 PM, Linus Torvalds wrote: > On Thu, Sep 5, 2013 at 3:41 AM, Dave Airlie wrote: >> >> i915: Haswell PC8+ support and eLLC support, HDMI 4K support, initial >> per-process VMA pieces, >> watermark reworks, convert to generic hdmi infoframes, encoder >> reworking

Re: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-09 Thread Dave Chinner
On Tue, Sep 10, 2013 at 01:47:59PM +0900, Joonsoo Kim wrote: > On Tue, Sep 10, 2013 at 02:02:54PM +1000, Dave Chinner wrote: > > Hi folks, > > > > I just updated my performance test VM to the current 3.12-git > > tree after the XFS dev branch was merged. The first test I ran > > which was a 16-way

Re: RFC vmstat: On demand vmstat threads

2013-09-09 Thread Gilad Ben-Yossef
On Wed, Sep 4, 2013 at 7:48 PM, Christoph Lameter wrote: > > vmstat threads are used for folding counter differentials into the > zone, per node and global counters at certain time intervals. > > They currently run at defined intervals on all processors which will > cause some holdoff for processo

[git pull] drm intel fixes and one nouveau regression

2013-09-09 Thread Dave Airlie
Hi Linus, Daniel had some fixes queued up, that were delayed, the stolen memory ones and vga arbiter ones are quite useful, along with his usual bunch of stuff, nothing for HSW outputs yet, the one nouveau fix is for a regression I caused with the poweroff stuff. Dave. The following changes

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-09 Thread Gilad Ben-Yossef
Hi, On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter wrote: > I am not sure how to call this kernel option but we need something like > that. I see drivers and the kernel spawning processes on the nohz cores. > The name kthread is not really catching the purpose. > > os_cpus=? highlatency_cpus=

[BusLogic] DMA-API: device driver failed to check map error

2013-09-09 Thread Tetsuo Handa
Hello. I got below warning on current linux.git . -- [2.612237] scsi: * BusLogic SCSI Driver Version 2.1.16 of 18 July 2002 * [2.613067] scsi: Copyright 1995-1998 by Leonard N. Zubkoff [2.630942] scsi0: Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host Ada

Re: [PATCH v9 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-09-09 Thread Hongbo Zhang
Mark? ping. On 09/03/2013 05:01 PM, Hongbo Zhang wrote: On 09/02/2013 11:58 PM, Mark Rutland wrote: Hi, On Fri, Aug 30, 2013 at 12:26:19PM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the device

Re: [PATCH] ARM: OMAP2+: am335x-bone*: add DT for BeagleBone Black

2013-09-09 Thread Fernandes, Joel
On Sep 10, 2013, at 12:45 AM, "Koen Kooi" wrote: > > Op 10 sep. 2013, om 01:42 heeft Joel Fernandes het volgende > geschreven: > >> On 09/09/2013 03:12 PM, Joel Fernandes wrote: >>> On 09/09/2013 03:00 PM, Koen Kooi wrote: Op 9 sep. 2013, om 21:50 heeft Joel Fernandes het volgen

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-09 Thread Guenter Roeck
On 09/09/2013 10:39 PM, Wei Ni wrote: On 09/10/2013 12:50 PM, Guenter Roeck wrote: On 09/09/2013 09:05 PM, Wei Ni wrote: On 09/10/2013 04:39 AM, Mark Brown wrote: * PGP Signed by an unknown key On Mon, Sep 09, 2013 at 09:17:35AM -0700, Guenter Roeck wrote: On Mon, Sep 09, 2013 at 05:02:37PM

Re: [PATCH] ARM: OMAP2+: am335x-bone*: add DT for BeagleBone Black

2013-09-09 Thread Koen Kooi
Op 10 sep. 2013, om 01:42 heeft Joel Fernandes het volgende geschreven: > On 09/09/2013 03:12 PM, Joel Fernandes wrote: >> On 09/09/2013 03:00 PM, Koen Kooi wrote: >>> >>> Op 9 sep. 2013, om 21:50 heeft Joel Fernandes het volgende >>> geschreven: >>> On 09/09/2013 01:51 PM, Joel Fernan

Re: [PATCH] intel-iommu: Quiesce devices before disabling IOMMU

2013-09-09 Thread Takao Indoh
(2013/09/09 18:07), David Woodhouse wrote: > On Wed, 2013-08-21 at 16:15 +0900, Takao Indoh wrote: >> >> This causes problem on kdump. Devices are working in first kernel, and >> after switching to second kernel and initializing IOMMU, many DMAR faults >> occur and it causes problems like driver er

Re: [REPOST PATCH 3/4] slab: introduce byte sized index for the freelist of a slab

2013-09-09 Thread Joonsoo Kim
On Mon, Sep 09, 2013 at 02:44:03PM +, Christoph Lameter wrote: > On Mon, 9 Sep 2013, Joonsoo Kim wrote: > > > 32 byte is not minimum object size, minimum *kmalloc* object size > > in default configuration. There are some slabs that their object size is > > less than 32 byte. If we have a 8 byt

Re: [PATCH 2/2] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-09-09 Thread Aaron Lu
On 09/10/2013 01:22 PM, Igor Gnatenko wrote: > On Tue, 2013-09-10 at 13:16 +0800, Aaron Lu wrote: >> On 09/10/2013 01:13 PM, Igor Gnatenko wrote: >>> On Tue, 2013-09-10 at 11:27 +0800, Aaron Lu wrote: On 09/09/2013 07:44 PM, Igor Gnatenko wrote: > On Mon, 2013-09-09 at 16:42 +0800, Aaron L

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-09 Thread Wei Ni
On 09/10/2013 12:50 PM, Guenter Roeck wrote: > On 09/09/2013 09:05 PM, Wei Ni wrote: >> On 09/10/2013 04:39 AM, Mark Brown wrote: >>> * PGP Signed by an unknown key >>> >>> On Mon, Sep 09, 2013 at 09:17:35AM -0700, Guenter Roeck wrote: On Mon, Sep 09, 2013 at 05:02:37PM +0100, Mark Brown wrote

Re: Subject: [PATCH] md: avoid deadlock when raid5 array has unack badblocks during md_stop_writes.

2013-09-09 Thread NeilBrown
On Tue, 10 Sep 2013 13:00:52 +0800 y b wrote: > When raid5 hit a fresh badblock, this badblock will flagged as unack > badblock until md_update_sb is called. > But md_stop/reboot/md_set_readonly will avoid raid5d call md_update_sb > in md_check_recovery, the badblock will always be unack, so raid

Re: [PATCH 2/2] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-09-09 Thread Igor Gnatenko
On Mon, 2013-09-09 at 16:42 +0800, Aaron Lu wrote: > According to Matthew Garrett, "Windows 8 leaves backlight control up > to individual graphics drivers rather than making ACPI calls itself. > There's plenty of evidence to suggest that the Intel driver for > Windows [8] doesn't use the ACPI inte

Re: [PATCH 1/2] ACPI / video: seperate backlight control and event interface

2013-09-09 Thread Igor Gnatenko
On Mon, 2013-09-09 at 16:40 +0800, Aaron Lu wrote: > The backlight control and event delivery functionality provided by ACPI > video module is mixed together and registered all during video device > enumeration time. As a result, the two functionality are also removed > together on module unload t

Re: [PATCH 2/2] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-09-09 Thread Igor Gnatenko
On Tue, 2013-09-10 at 13:16 +0800, Aaron Lu wrote: > On 09/10/2013 01:13 PM, Igor Gnatenko wrote: > > On Tue, 2013-09-10 at 11:27 +0800, Aaron Lu wrote: > >> On 09/09/2013 07:44 PM, Igor Gnatenko wrote: > >>> On Mon, 2013-09-09 at 16:42 +0800, Aaron Lu wrote: > diff --git a/drivers/gpu/drm/i91

[PATCH 1/3] staging: usbip: stub_main: correctly handle return value

2013-09-09 Thread navin patidar
ret == 0 means success, anything else is failure. Signed-off-by: navin patidar --- drivers/staging/usbip/stub_main.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/usbip/stub_main.c b/drivers/staging/usbip/stub_main.c index 33027cc..baf857f 100644 ---

[PATCH 2/3] staging: usbip: vhci_hcd: correctly handle return value

2013-09-09 Thread navin patidar
ret == 0 means success, anything else is failure. Signed-off-by: navin patidar --- drivers/staging/usbip/vhci_hcd.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c index d7974cb..b3c9217 100644 --- a/d

Re: [PATCH 2/2] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-09-09 Thread Aaron Lu
On 09/10/2013 01:13 PM, Igor Gnatenko wrote: > On Tue, 2013-09-10 at 11:27 +0800, Aaron Lu wrote: >> On 09/09/2013 07:44 PM, Igor Gnatenko wrote: >>> On Mon, 2013-09-09 at 16:42 +0800, Aaron Lu wrote: diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c ind

Re: [PATCH 2/2] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-09-09 Thread Igor Gnatenko
On Tue, 2013-09-10 at 11:27 +0800, Aaron Lu wrote: > On 09/09/2013 07:44 PM, Igor Gnatenko wrote: > > On Mon, 2013-09-09 at 16:42 +0800, Aaron Lu wrote: > >> diff --git a/drivers/gpu/drm/i915/i915_dma.c > >> b/drivers/gpu/drm/i915/i915_dma.c > >> index f466980..75fba17 100644 > >> --- a/drivers/gp

[PATCH 3/3] staging: usbip: vhci_hcd: remove check for dma

2013-09-09 Thread navin patidar
vhci_hcd is a virtual usb host controller, so no need to check for dma. Signed-off-by: navin patidar --- drivers/staging/usbip/vhci_hcd.c |6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c index b3c9217..e810ad5 100644

linux-next: Tree for Sep 10

2013-09-09 Thread Stephen Rothwell
Hi all, Please do not add any code for v3.13 to your linux-next included branches until after v3.12-rc1 is released. Changes since 20130909: The vfs tree lost its build failure. The dmaengine tree gained a conflict against the slave-dma tree. The akpm tree gained conflicts against the vfs and

[GIT PULL] slave-dmaengine update for 3.12

2013-09-09 Thread Vinod Koul
Hey Linus, Back from the longish weekend here, so time to send you the pull request. Okay we have fairly longish pull this time, and NO recent rebase which got you annoyed last time :( This pull brings: - Andy's DW driver updates - Guennadi's sh driver updates - Pl08x driver fixes from Tomasz &

Subject: [PATCH] md: avoid deadlock when raid5 array has unack badblocks during md_stop_writes.

2013-09-09 Thread y b
When raid5 hit a fresh badblock, this badblock will flagged as unack badblock until md_update_sb is called. But md_stop/reboot/md_set_readonly will avoid raid5d call md_update_sb in md_check_recovery, the badblock will always be unack, so raid5d thread enter a infinite loop and never can unregister

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-09 Thread Guenter Roeck
On 09/09/2013 09:05 PM, Wei Ni wrote: On 09/10/2013 04:39 AM, Mark Brown wrote: * PGP Signed by an unknown key On Mon, Sep 09, 2013 at 09:17:35AM -0700, Guenter Roeck wrote: On Mon, Sep 09, 2013 at 05:02:37PM +0100, Mark Brown wrote: It does, though it gets complicated trying to use it for

Re: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-09 Thread Joonsoo Kim
On Tue, Sep 10, 2013 at 02:02:54PM +1000, Dave Chinner wrote: > Hi folks, > > I just updated my performance test VM to the current 3.12-git > tree after the XFS dev branch was merged. The first test I ran > which was a 16-way concurrent fsmark test to create lots of files > gave me a number about

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-09 Thread Guenter Roeck
On 09/09/2013 09:13 PM, Stephen Warren wrote: On 09/09/2013 09:53 PM, Guenter Roeck wrote: On 09/09/2013 08:40 PM, Stephen Warren wrote: On 09/09/2013 09:36 PM, Guenter Roeck wrote: ... My understanding is that by adding regulator support you essentially committed to adding regulators (if nec

[PATCH] [RFC] seqcount: Add lockdep functionality to seqcount/seqlock structures

2013-09-09 Thread John Stultz
Currently seqlocks and seqcounts don't support lockdep. After running across a seqcount related deadlock in the timekeeping code, I used a less-refined and more focused varient of this patch to narrow down the cause of the issue. This is a first-pass attempt to properly enable lockdep functionali

linux-next: manual merge of the akpm tree with the vfs tree

2013-09-09 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/super.c between commit d040790391f2 ("prune_super(): sb->s_op is never NULL") from the vfs tree and commit "fs: convert inode and dentry shrinking to be node aware" from the akpm tree. I fixed it up (see below) and can carr

linux-next: manual merge of the akpm tree with Linus' tree

2013-09-09 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/dcache.c between commit 8aab6a27332b ("vfs: reorganize dput() memory accesses") from Linus' tree and commit "dcache: convert to use new lru list infrastructure" from the akpm tree. /me mutters about development happening du

Re: [PATCH v3 2/2] Documentation: dt: hwmon: add OF document for LM90

2013-09-09 Thread Wei Ni
On 09/10/2013 12:35 PM, Wei Ni wrote: > On 09/09/2013 06:57 PM, Ramkumar Ramachandra wrote: >> Wei Ni wrote: >>> diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt >>> b/Documentation/devicetree/bindings/hwmon/lm90.txt >>> new file mode 100644 >>> index 000..5570875 >>> --- /dev/nul

Re: [PATCH v3 2/2] Documentation: dt: hwmon: add OF document for LM90

2013-09-09 Thread Wei Ni
On 09/09/2013 06:57 PM, Ramkumar Ramachandra wrote: > Wei Ni wrote: >> diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt >> b/Documentation/devicetree/bindings/hwmon/lm90.txt >> new file mode 100644 >> index 000..5570875 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/h

Re: [PATCH v3 2/2] Documentation: dt: hwmon: add OF document for LM90

2013-09-09 Thread Wei Ni
On 09/10/2013 06:23 AM, Guenter Roeck wrote: > On Mon, Sep 09, 2013 at 04:15:57PM -0600, Stephen Warren wrote: >> On 09/09/2013 04:29 AM, Wei Ni wrote: >>> Add OF document for LM90 in Documentation/devicetree/. >> >>> diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt >>> b/Documentation

Re: [PATCH v3 2/2] Documentation: dt: hwmon: add OF document for LM90

2013-09-09 Thread Wei Ni
On 09/10/2013 06:14 AM, Stephen Warren wrote: > On 09/09/2013 04:52 AM, Guenter Roeck wrote: >> On 09/09/2013 03:29 AM, Wei Ni wrote: >>> Add OF document for LM90 in Documentation/devicetree/. > >>> diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt > >>> +* LM90 series thermometer. >>

linux-next: manual merge of the akpm tree with Linus' tree

2013-09-09 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/dcache.c between commits 8aab6a27332b ("vfs: reorganize dput() memory accesses") and 0d98439ea3c6 ("vfs: use lockred "dead" flag to mark unrecoverably dead dentries") from Linus' tree and commit "dcache: remove dentries from

[PULL REQUEST] md update for v3.12

2013-09-09 Thread NeilBrown
The following changes since commit d8dfad3876e438b759da3c833d62fb8b2267: Linux 3.11-rc7 (2013-08-25 17:43:22 -0700) are available in the git repository at: git://neil.brown.name/md/ tags/md/3.12 for you to fetch changes up to bfc90cb0936f5b972706625f38f72c7cb726c20a: raid5: only wake

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-09 Thread Stephen Warren
On 09/09/2013 09:53 PM, Guenter Roeck wrote: > On 09/09/2013 08:40 PM, Stephen Warren wrote: >> On 09/09/2013 09:36 PM, Guenter Roeck wrote: ... >>> My understanding is that by adding regulator support you essentially >>> committed to adding regulators (if necessary dummy ones) for this driver >>>

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-09 Thread Wei Ni
On 09/10/2013 11:53 AM, Guenter Roeck wrote: > On 09/09/2013 08:40 PM, Stephen Warren wrote: >> On 09/09/2013 09:36 PM, Guenter Roeck wrote: >>> On 09/09/2013 08:22 PM, Wei Ni wrote: On 09/09/2013 11:50 PM, Guenter Roeck wrote: > On Mon, Sep 09, 2013 at 02:50:22PM +0100, Mark Brown wrote:

Re: linux-next: manual merge of the akpm tree with Linus' tree

2013-09-09 Thread Stephen Rothwell
[ Just adding Dave Chinner to the cc list] On Tue, 10 Sep 2013 14:09:23 +1000 Stephen Rothwell wrote: > > Hi Andrew, > > Today's linux-next merge of the akpm tree got a conflict in fs/dcache.c > between commit 8aab6a27332b ("vfs: reorganize dput() memory accesses") > from Linus' tree and commit

linux-next: manual merge of the akpm tree with Linus' tree

2013-09-09 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/dcache.c between commit 8aab6a27332b ("vfs: reorganize dput() memory accesses") from Linus' tree and commit "dentry: move to per-sb LRU locks" from the akpm tree. I fixed it up (I think - see below) and can carry the fix as

Re: [PATCH] rcu: Is it safe to enter an RCU read-side critical section?

2013-09-09 Thread Mike Galbraith
On Mon, 2013-09-09 at 14:49 +, Christoph Lameter wrote: > Its just that PREEMPT kernels are > not in use and AFAICT the full preempt stuff requires significant developer > support and complicates the code without much benefit. The openSUSE desktop kernel is PREEMPT, and presumably has users.

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-09 Thread Wei Ni
On 09/10/2013 04:39 AM, Mark Brown wrote: > * PGP Signed by an unknown key > > On Mon, Sep 09, 2013 at 09:17:35AM -0700, Guenter Roeck wrote: >> On Mon, Sep 09, 2013 at 05:02:37PM +0100, Mark Brown wrote: > >>> It does, though it gets complicated trying to use it for a case like >>> this since yo

Re: [112/121] m32r: consistently use "suffix-$(...)"

2013-09-09 Thread Hirokazu Takata
Acked-by: Hirokazu Takata Sorry, it is my old mistake that still remained in the m32r kernel. Please apply this patch. Thanks, -- Takata From: Ben Hutchings Subject: [112/121] m32r: consistently use "suffix-$(...)" Date: Sun, 08 Sep 2013 03:52:01 +0100 > 3.2.51-rc1 review patch. If anyone ha

[performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-09 Thread Dave Chinner
Hi folks, I just updated my performance test VM to the current 3.12-git tree after the XFS dev branch was merged. The first test I ran which was a 16-way concurrent fsmark test to create lots of files gave me a number about 30% lower than I expected - ~180k files/s when I was expecting somewhere a

Re: [PATCH v4 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-09 Thread Waiman Long
On 09/09/2013 08:40 PM, George Spelvin wrote: I'm really wondering about only trying once before taking the write lock. Yes, using the lsbit is a cute hack, but are we using it for its cuteness rather than its effectiveness? Renames happen occasionally. If that causes all the current pathname t

Re: [PATCH] depmod: warn on invalid devname specification

2013-09-09 Thread Lucas De Marchi
Hi Tom, On Mon, Sep 9, 2013 at 3:01 PM, Tom Gundersen wrote: > During the last merge window (3.12) a couple of modules gained devname > aliases, but without the necessary major and minor information. These were > then silently ignored when generating modules.devname. > > Complain loudly to avoid

Re: [PATCH V2 0/6] perf: New conditional branch filter

2013-09-09 Thread Anshuman Khandual
On 09/10/2013 07:36 AM, Michael Ellerman wrote: > On Fri, 2013-08-30 at 09:54 +0530, Anshuman Khandual wrote: >> This patchset is the re-spin of the original branch stack sampling >> patchset which introduced new PERF_SAMPLE_BRANCH_COND filter. This patchset >> also enables SW based branch fil

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-09 Thread Guenter Roeck
On 09/09/2013 08:40 PM, Stephen Warren wrote: On 09/09/2013 09:36 PM, Guenter Roeck wrote: On 09/09/2013 08:22 PM, Wei Ni wrote: On 09/09/2013 11:50 PM, Guenter Roeck wrote: On Mon, Sep 09, 2013 at 02:50:22PM +0100, Mark Brown wrote: On Mon, Sep 09, 2013 at 04:34:43AM -0700, Guenter Roeck wro

Re: [PATCH] ACPI: Move acpi_bus_get_device() from bus.c to scan.c

2013-09-09 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 07/27/2013 09:24 AM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki Subject: ACPI: Move > acpi_bus_get_device() > from bus.c to scan.c > > Move acpi_bus_get_device() from bus.c to scan.c which allows > acpi_bus_data_handler() to become > s

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread Matthew Garrett
On Mon, 2013-09-09 at 20:09 -0700, David Lang wrote: > On Tue, 10 Sep 2013, Matthew Garrett wrote: > > Someone adds a new "install_evil()" syscall and adds a disable bit. If I > > don't disable it, I'm now vulnerable. Please pay attention to earlier > > discussion. > > so instead they add install

[PATCH] slub: Fix calculation of cpu slabs

2013-09-09 Thread Li Zefan
/sys/kernel/slab/:t-048 # cat cpu_slabs 231 N0=16 N1=215 /sys/kernel/slab/:t-048 # cat slabs 145 N0=36 N1=109 See, the number of slabs is smaller than that of cpu slabs. The bug was introduced by commit 49e2258586b423684f03c278149ab46d8f8b6700 ("slub: per cpu cache for partial pag

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-09 Thread Stephen Warren
On 09/09/2013 09:36 PM, Guenter Roeck wrote: > On 09/09/2013 08:22 PM, Wei Ni wrote: >> On 09/09/2013 11:50 PM, Guenter Roeck wrote: >>> On Mon, Sep 09, 2013 at 02:50:22PM +0100, Mark Brown wrote: On Mon, Sep 09, 2013 at 04:34:43AM -0700, Guenter Roeck wrote: > On 09/09/2013 04:12 AM, Mark

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-09 Thread Guenter Roeck
On 09/09/2013 08:22 PM, Wei Ni wrote: On 09/09/2013 11:50 PM, Guenter Roeck wrote: On Mon, Sep 09, 2013 at 02:50:22PM +0100, Mark Brown wrote: On Mon, Sep 09, 2013 at 04:34:43AM -0700, Guenter Roeck wrote: On 09/09/2013 04:12 AM, Mark Brown wrote: On Mon, Sep 09, 2013 at 06:29:11PM +0800, Wei

Re: [PATCH] cpu/mem hotplug: Add try_online_node() for cpu_up()

2013-09-09 Thread Yasuaki Ishimatsu
(2013/09/10 12:31), Yasuaki Ishimatsu wrote: > (2013/09/10 9:24), Toshi Kani wrote: >> cpu_up() has #ifdef CONFIG_MEMORY_HOTPLUG code blocks, which >> call mem_online_node() to put its node online if offlined and >> then call build_all_zonelists() to initialize the zone list. >> These steps are spe

Re: [PATCH] cpu/mem hotplug: Add try_online_node() for cpu_up()

2013-09-09 Thread Yasuaki Ishimatsu
(2013/09/10 9:24), Toshi Kani wrote: > cpu_up() has #ifdef CONFIG_MEMORY_HOTPLUG code blocks, which > call mem_online_node() to put its node online if offlined and > then call build_all_zonelists() to initialize the zone list. > These steps are specific to memory hotplug, and should be > managed in

Re: [PATCH 2/2] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-09-09 Thread Aaron Lu
On 09/09/2013 07:44 PM, Igor Gnatenko wrote: > On Mon, 2013-09-09 at 16:42 +0800, Aaron Lu wrote: >> diff --git a/drivers/gpu/drm/i915/i915_dma.c >> b/drivers/gpu/drm/i915/i915_dma.c >> index f466980..75fba17 100644 >> --- a/drivers/gpu/drm/i915/i915_dma.c >> +++ b/drivers/gpu/drm/i915/i915_dma.c

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-09 Thread Wei Ni
On 09/09/2013 11:50 PM, Guenter Roeck wrote: > On Mon, Sep 09, 2013 at 02:50:22PM +0100, Mark Brown wrote: >> On Mon, Sep 09, 2013 at 04:34:43AM -0700, Guenter Roeck wrote: >>> On 09/09/2013 04:12 AM, Mark Brown wrote: On Mon, Sep 09, 2013 at 06:29:11PM +0800, Wei Ni wrote: >> This doesn'

[PATCH 2/2] PCI/ACPI: Convert ACPI PCI Hot Plug core debug fuction to dynamic debug function

2013-09-09 Thread tianyu . lan
From: Lan Tianyu This patch is to use pr_debug/info/warn/err to replace acpiphp debug functions and remove module's debug param. Signed-off-by: Lan Tianyu --- drivers/pci/hotplug/acpiphp.h | 10 -- drivers/pci/hotplug/acpiphp_core.c | 35 +-- driver

[PATCH 1/2] PCI/ACPI: Convert ACPI PCI Hot Plug IBM Extension dbg/err() to pr_debug/pr_err()

2013-09-09 Thread tianyu . lan
From: Lan Tianyu This patch is to convert internal debug macros to dynamic debug function and remove module's debug param. Signed-off-by: Lan Tianyu --- drivers/pci/hotplug/acpiphp_ibm.c | 56 --- 1 file changed, 23 insertions(+), 33 deletions(-) diff --git

Re: [PATCH v4 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-09 Thread Ramkumar Ramachandra
Linus Torvalds wrote: > It doesn't need to. The RCU lookup looks at individual dentry sequence > numbers and doesn't care about the bigger rename sequence number at > all. Right; it's sequential. > The fallback (if you hit one of the very very rare races, or if you > hit a symlink) ends up doing

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread David Lang
On Tue, 10 Sep 2013, Matthew Garrett wrote: On Mon, 2013-09-09 at 19:44 -0700, David Lang wrote: On Tue, 10 Sep 2013, Matthew Garrett wrote: No. Say someone adds an additional lockdown bit to forbid raw access to mounted block devices. The "Turn everything off" approach now means that I won't

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread Matthew Garrett
On Mon, 2013-09-09 at 19:44 -0700, David Lang wrote: > On Tue, 10 Sep 2013, Matthew Garrett wrote: > > No. Say someone adds an additional lockdown bit to forbid raw access to > > mounted block devices. The "Turn everything off" approach now means that > > I won't be able to perform raw access to mo

Re: Question regarding list_for_each_entry_safe usage in move_one_task

2013-09-09 Thread Lei Wen
On Mon, Sep 9, 2013 at 7:15 PM, Peter Zijlstra wrote: > On Mon, Sep 02, 2013 at 02:26:45PM +0800, Lei Wen wrote: >> Hi Peter, >> >> I find one list API usage may not be correct in current fair.c code. >> In move_one_task function, it may iterate through whole cfs_tasks >> list to get one task to m

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread David Lang
On Tue, 10 Sep 2013, Matthew Garrett wrote: On Mon, 2013-09-09 at 16:19 -0700, David Lang wrote: On Mon, 9 Sep 2013, Matthew Garrett wrote: Having thought about this, the answer is no. It presents exactly the same problem as capabilities do - the set can never be meaningfully extended. If an a

Re: [PATCH v4 12/19] cpufreq: cpufreq-cpu0: remove device tree parsing for cpu nodes

2013-09-09 Thread Shawn Guo
On Mon, Sep 09, 2013 at 04:24:18PM +0100, Sudeep KarkadaNagesha wrote: > Hi Shawn, > > Ok. But I am bit suspicious about devm_clk_get(cpu_dev, NULL). > I don't understand completely as how the clock are registered(whether > with dev_id or with connection_id). As the connection_id of devm_clk_get(

RE: [PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-09 Thread Xiubo Li-B47053
> Subject: Re: [PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support > > On Mon, Sep 09, 2013 at 02:20:09PM +0200, Thierry Reding wrote: > > On Fri, Sep 06, 2013 at 04:08:24PM +0800, Xiubo Li wrote: > > > The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape > LS-1 SoCs. > > > > >

Re: [PATCH v4 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-09 Thread Linus Torvalds
On Mon, Sep 9, 2013 at 7:25 PM, Al Viro wrote: > > One name: Mark V. Shaney... Heh, yes. I had ignored the earlier emails, and that last one looked more reasonable than the earlier ones ;) Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH v1 1/3] SMP: kill redundant call_function_data->cpumask_ipi field

2013-09-09 Thread Wang YanQing
On Sun, Sep 08, 2013 at 11:22:23PM +0800, Jiang Liu wrote: > From: Jiang Liu > > Commit f44310b98ddb7 "smp: Fix SMP function call empty cpu mask race" > introduced field call_function_data->cpumask_ipi to resolve a race > condition in smp_call_function_many(). > > Later commit 9a46ad6d6df3 "smp:

Re: [PATCH v4 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-09 Thread Al Viro
On Mon, Sep 09, 2013 at 06:34:16PM -0700, Linus Torvalds wrote: > On Mon, Sep 9, 2013 at 6:15 PM, Ramkumar Ramachandra > wrote: > > > > Maybe it should then? > > It doesn't need to. The RCU lookup looks at individual dentry sequence > numbers and doesn't care about the bigger rename sequence num

Re: [PATCH V2 0/6] perf: New conditional branch filter

2013-09-09 Thread Michael Ellerman
On Fri, 2013-08-30 at 09:54 +0530, Anshuman Khandual wrote: > This patchset is the re-spin of the original branch stack sampling > patchset which introduced new PERF_SAMPLE_BRANCH_COND filter. This patchset > also enables SW based branch filtering support for PPC64 platforms which have > bran

Re: [PATCH] doc: fix some typos in documentation

2013-09-09 Thread Rob Landley
On 09/05/2013 07:26:22 AM, Xishi Qiu wrote: Fix some typos in Documentation/IRQ-domain.txt/email-clients.txt/io-mapping.txt Signed-off-by: Xishi Qiu --- Documentation/IRQ-domain.txt|4 ++-- Documentation/email-clients.txt |2 +- Documentation/io-mapping.txt|2 +- 3 files

Re: [PATCH] workqueue: fix pool ID allocation leakage and remove BUILD_BUG_ON() in init_workqueues

2013-09-09 Thread Tejun Heo
On Tue, Sep 10, 2013 at 09:52:35AM +0800, Libin wrote: > From: Li Bin > > When one work starts execution, the high bits of work's data contain > pool ID. It can represent a maximum of WORK_OFFQ_POOL_NONE. Pool ID > is assigned WORK_OFFQ_POOL_NONE when the work being initialized > indicating that

linux-next: manual merge of the dmaengine tree with the slave-dma tree

2013-09-09 Thread Stephen Rothwell
Hi Dan, Today's linux-next merge of the dmaengine tree got a conflict in include/linux/dmaengine.h between commit 7bb587f4eef8 ("dmaengine: add interface of dma_get_slave_channel") from the slave-dma tree and commit 4a43f394a082 ("dmaengine: dma_sync_wait and dma_find_channel undefined") from the

[PATCH] workqueue: fix pool ID allocation leakage and remove BUILD_BUG_ON() in init_workqueues

2013-09-09 Thread Libin
From: Li Bin When one work starts execution, the high bits of work's data contain pool ID. It can represent a maximum of WORK_OFFQ_POOL_NONE. Pool ID is assigned WORK_OFFQ_POOL_NONE when the work being initialized indicating that no pool is associated and get_work_pool() uses it to check the asso

Re: [PATCH] [scsi] enclosure: remove all possible sysfs entries before add device

2013-09-09 Thread Joe Jin
On 09/09/13 21:41, Christoph Hellwig wrote: >> Modules linked in: oracleacfs(P)(U) oracleadvm(P)(U) oracleoks(P)(U) > > Please reproduce without this weird crap loaded. > These modules is filesystem and will not impact enclosure. Thanks, Joe -- To unsubscribe from this list: send the line "u

Build failures in drivers/of/of_reserved_mem.c due to missing asm/dma-contiguous.h

2013-09-09 Thread Guenter Roeck
drivers/of/of_reserved_mem.c:14:32: fatal error: asm/dma-contiguous.h: No such file or directory #include Seen with arm64:defconfig mips:nlm_xlp_defconfig mips:cavium_octeon_defconfig Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [RFC][PATCH v4 3/3] sched: Periodically decay max cost of idle balance

2013-09-09 Thread Mike Galbraith
On Mon, 2013-09-09 at 14:07 -0700, Jason Low wrote: > On Mon, 2013-09-09 at 13:49 +0200, Peter Zijlstra wrote: > > On Wed, Sep 04, 2013 at 12:10:01AM -0700, Jason Low wrote: > > > On Fri, 2013-08-30 at 12:18 +0200, Peter Zijlstra wrote: > > > > On Thu, Aug 29, 2013 at 01:05:36PM -0700, Jason Low w

[PATCH] powerpc: Export cpu_to_chip_id() to fix build error

2013-09-09 Thread Guenter Roeck
powerpc allmodconfig build fails with: ERROR: ".cpu_to_chip_id" [drivers/block/mtip32xx/mtip32xx.ko] undefined! The problem was introduced with commit 15863ff3b (powerpc: Make chip-id information available to userspace). Export the missing symbol. Cc: Vasant Hegde Cc: Shivaprasad G Bhat Signe

Re: "cpufreq: fix serialization issues with freq change notifiers" breaks cpufreq too

2013-09-09 Thread Rafael J. Wysocki
On Tuesday, September 10, 2013 01:12:49 AM Rafael J. Wysocki wrote: > On Monday, September 09, 2013 11:42:41 PM Guennadi Liakhovetski wrote: > > Hi Rafael > > > > On Mon, 9 Sep 2013, Rafael J. Wysocki wrote: > > > > > Hi, > > > > > > On Monday, September 09, 2013 05:11:10 PM Guennadi Liakhovetsk

Re: [PATCH v4 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-09 Thread Linus Torvalds
On Mon, Sep 9, 2013 at 6:15 PM, Ramkumar Ramachandra wrote: > > Maybe it should then? It doesn't need to. The RCU lookup looks at individual dentry sequence numbers and doesn't care about the bigger rename sequence number at all. The fallback (if you hit one of the very very rare races, or if yo

[PATCH] PCI/PM: Removing the function pci_pm_complete()

2013-09-09 Thread Chuansheng Liu
Commit(88d2613) removed the pm_runtime_put_sync() from pci_pm_complete() to PM core code device_complete(). Here the pci_pm_complete() is doing the same work which can be done in device_complete(), so we can remove it directly. Signed-off-by: liu chuansheng --- drivers/pci/pci-driver.c |9

Re: powerpc allmodconfig build broken due to commit 15863ff3b (powerpc: Make chip-id information available to userspace)

2013-09-09 Thread Guenter Roeck
On 09/09/2013 04:55 PM, Asai Thambi S P wrote: On 09/08/2013 5:28 PM, Guenter Roeck wrote: Hi all, powerpc allmodconfig build on the latest upstream kernel results in: ERROR: ".cpu_to_chip_id" [drivers/block/mtip32xx/mtip32xx.ko] undefined! This is due to commit 15863ff3b (powerpc: Make chip-

Re: [PATCH v4 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-09 Thread Ramkumar Ramachandra
Al Viro wrote: > _What_ "pathname translations"? Pathname resolution doesn't fall back to > seq_writelock() at all. Maybe it should then? -- 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:/

Re: [PATCH v2] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-09 Thread wwang
于 2013年09月09日 21:02, Lee Jones 写道: #define PHY_FLD4 0x1E >+#define FLDEN_SEL 0x4000 >+#define REQ_REF 0x2000 >+#define RXAMP_OFF 0x1000 >+#define REQ_ADDA 0x0800 >+#define BER_COUNT 0x00

Re: [PATCH 4/6] IB/qib: Use pcie_set_mps() and pcie_get_mps() to simplify code

2013-09-09 Thread Yijing Wang
On 2013/9/9 22:55, Marciniszyn, Mike wrote: >> Subject: [PATCH 4/6] IB/qib: Use pcie_set_mps() and pcie_get_mps() to >> simplify >> code >> >> Refactor qib_tune_pcie_caps() function, use pcie_set_mps() and >> pcie_get_mps() to simply code. Because pci core caches the "PCI-E Max >> Payload Size Sup

Re: Re: [f2fs-dev] [PATCH] f2fs: optimize fs_lock for better performance

2013-09-09 Thread Jaegeuk Kim
Hi, 2013-09-07 (토), 08:00 +, Chao Yu: > Hi Knize, > > Thanks for your reply, I think it's actually meaningless that it's > being named after "spin_lock", > it's better to rename this spinlock to "round_robin_lock". > > This patch can only resolve the issue of unbalanced fs_lock usage

[PATCH] perf, x86: Avoid checkpointed counters causing excessive TSX aborts v5

2013-09-09 Thread Andi Kleen
From: Andi Kleen With checkpointed counters there can be a situation where the counter is overflowing, aborts the transaction, is set back to a non overflowing checkpoint, causes interupt. The interrupt doesn't see the overflow because it has been checkpointed. This is then a spurious PMI, typic

  1   2   3   4   5   6   7   8   >