Re: [PATCH V4 1/2] cpufreq: ondemand: allow custom powersave_bias_target handler to be registered

2013-04-04 Thread Viresh Kumar
On 4 April 2013 21:49, Jacob Shin wrote: > diff --git a/drivers/cpufreq/cpufreq_ondemand.c > b/drivers/cpufreq/cpufreq_ondemand.c > +static void od_set_powersave_bias(unsigned int powersave_bias) > +{ > + unsigned int cpu; > + struct od_dbs_tuners *od_tuners; > + > + if

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > Hm, I guess your aim with the TASK_DEADLOCK wakeup is to bound the > wait > times of older task. No, imagine the following: struct ww_mutex A, B; struct mutex C; task-O task-Y task-X A B

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > The trick with the current code is that the oldest task > will never see an -EAGAIN ever and hence is guaranteed to make forward > progress. If the task is really unlucky though it might be forced to > wait > for a younger task for every

Re: [PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management

2013-04-04 Thread Sarah Sharp
On Thu, Apr 04, 2013 at 01:02:45PM +0530, Vivek Gautam wrote: > On Thu, Apr 4, 2013 at 12:40 PM, Felipe Balbi wrote: > > On Thu, Apr 04, 2013 at 10:34:57AM +0530, Vivek Gautam wrote: > >> Hi Sarah, > >> > >> > >> On Wed, Apr 3, 2013 at 10:57 PM, Sarah Sharp > >> wrote: > >> > Question: Do you

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Gleb Natapov
On Thu, Apr 04, 2013 at 06:36:30PM +0300, Michael S. Tsirkin wrote: > > processor : 0 > > vendor_id : AuthenticAMD > > cpu family : 16 > > model : 8 > > model name : Six-Core AMD Opteron(tm) Processor 8435 > > stepping: 0 > > cpu MHz : 800.000 > > cache size :

[PATCH linux-next] regmap: cache: Fix format specifier in dev_dbg

2013-04-04 Thread Stratos Karafotis
Fix format specifier in dev_dbg and suppress the following warning drivers/base/regmap/regcache.c: In function ‘regcache_sync_block_raw_flush’: drivers/base/regmap/regcache.c:593:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat] Signed-off-by:

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > The thing is now that you're not expected to hold these locks for a > long > time - if you need to synchronously stall while holding a lock > performance > will go down the gutters anyway. And since most current > gpus/co-processors > still

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-04 Thread Tony Lindgren
* Roger Quadros [130404 00:39]: > On 04/04/2013 02:42 AM, Tony Lindgren wrote: > >> --- a/arch/arm/mach-omap2/cclock44xx_data.c > >> +++ b/arch/arm/mach-omap2/cclock44xx_data.c > >> @@ -27,6 +27,7 @@ > >> #include > >> #include > >> #include > >> +#include > >> > >> #include "soc.h" >

Re: [PATCH V2 4/7] kbuild: always run gcc -E on *.dts, remove cmd_dtc_cpp

2013-04-04 Thread Stephen Warren
On 04/03/2013 06:02 PM, Emilio López wrote: > Hi Stephen, > > El 03/04/13 20:34, Stephen Warren escribió: >> From: Stephen Warren >> >> Replace cmd_dtc with cmd_dtc_cpp, and delete the latter. >> >> Previously, a special file extension (.dtsp) was required to trigger >> the C pre-processor to

Re: [PATCH V4 0/2] cpufreq: ondemand: add AMD specific powersave bias

2013-04-04 Thread Thomas Renninger
On Thursday, April 04, 2013 11:19:02 AM Jacob Shin wrote: > This patchset adds AMD specific powersave bias function to the ondemand > governor; which can be used to help ondemand governor make more power > conscious frequency change decisions based on feedback from hardware > (availble on AMD

RE: [PATCH 5/5 v11] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-04-04 Thread Yoder Stuart-B08248
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Thursday, April 04, 2013 10:22 AM > To: Sethi Varun-B16395 > Cc: Joerg Roedel; Yoder Stuart-B08248; Wood Scott-B07421; > io...@lists.linux-foundation.org; linuxppc- > d...@lists.ozlabs.org;

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > Another big reason for having a start/end marker like you've describe > is > lockdep support. Yeah, I saw how you did that.. but there's other ways of making it work too, you could for instance create a new validation state for this type

Re: [PATCH 5/5 v11] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-04-04 Thread Alex Williamson
On Thu, 2013-04-04 at 16:35 +, Sethi Varun-B16395 wrote: > > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Thursday, April 04, 2013 8:52 PM > > To: Sethi Varun-B16395 > > Cc: Joerg Roedel; Yoder Stuart-B08248; Wood Scott-B07421; > >

Re: [PATCH v2 1/4] x86, kdump: Set crashkernel_low automatically

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 1:11 AM, HATAYAMA Daisuke wrote: > (2013/04/04 9:38), Yinghai Lu wrote: > >> Index: linux-2.6/lib/swiotlb.c >> === >> --- linux-2.6.orig/lib/swiotlb.c >> +++ linux-2.6/lib/swiotlb.c >> @@ -105,9 +105,9 @@

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > I'm a bit confused about the different classes you're talking about. > Since > the ticket queue is currently a global counter there's only one class > of > ww_mutexes. Right, so that's not something that's going to fly.. we need to

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > We've discussed this approach of using (rt-prio, age) instead of just > age > to determine the the "oldness" of a task for deadlock-breaking with > -EAGAIN. The problem is that through PI boosting or normal rt-prio > changes > while tasks

Re: Word-at-a-time dcache name accesses (was Re: .. anybody know of any filesystems that depend on the exact VFS 'namehash' implementation?)

2013-04-04 Thread Lai Jiangshan
[resend in plain text mode (I did not notice the gmail changed the default mode, sorry)] On Fri, Apr 5, 2013 at 12:17 AM, Lai Jiangshan wrote: > Hi, ALL > > I also encountered the same problem. > > git bisect: > > 14134f6584212d585b310ce95428014b653dfaf6 is the first bad commit > commit

flushing uninitialized work item in radeon init failure path

2013-04-04 Thread Tejun Heo
Hello, The following happens on my test machine which has an on-board VGA which is not connected. The failure is expected but, in the failure path, it calls radeon_irq_kms_fini() which flushes @rdev->*_work when @rdev seemingly hasn't gone through radeon_irq_kms_init(), ending up trying to flush

Re: next-20130325 - INFO: trying to register non-static key.

2013-04-04 Thread Tejun Heo
Hello, Valdis. On Tue, Mar 26, 2013 at 02:06:03PM -0400, Valdis Kletnieks wrote: > Seen in the dmesg for next-20130325, but looks like it's been doing > it since at least next-20130218. > > [ 50.162584] dell_wmi: Received unknown WMI event (0x11) > [ 51.167629] INFO: trying to register

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > Well, it was a good read and I'm rather happy that we agree on the > ww_ctx > thing (whatever it's called in the end), even though we have slightly > different reasons for it. Yeah, I tried various weirdness to get out from under it, but

Re: [PATCH v2 2/4] x86, kdump: Retore crashkernel= to allocate low

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 7:16 AM, Vivek Goyal wrote: >> + crashkernel_high=size[KMG] >> + [KNL, x86_64] range could be above 4G. Allow kernel >> + to allocate physical memory region from top, so could >> + be above 4G if system have

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Daniel Vetter
On Thu, Apr 4, 2013 at 3:31 PM, Daniel Vetter wrote: >> In this case when O blocks Y isn't actually blocked, so our >> TASK_DEADLOCK wakeup doesn't actually achieve anything. >> >> This means we also have to track (task) state so that once Y tries to >> acquire A (creating the actual deadlock)

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Daniel Vetter
On Thu, Apr 4, 2013 at 6:38 PM, Peter Zijlstra wrote: > On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: >> Hm, I guess your aim with the TASK_DEADLOCK wakeup is to bound the >> wait >> times of older task. > > No, imagine the following: > > struct ww_mutex A, B; > struct mutex C; > >

Re: [PATCH 4/6] Hexagon: check to if we will overflow the signal stack

2013-04-04 Thread Richard Kuo
On 04/04/2013 11:25 AM, Linas Vepstas wrote: On 3 April 2013 19:02, Richard Kuo wrote: + /* check if we would overflow the alt stack */ + if (on_sig_stack(sp) && !likely(on_sig_stack(sp - frame_size))) + return (void __user __force *)-1UL; I found the !likely

[GIT PULL] at91: DT changes for 3.10 #3

2013-04-04 Thread Nicolas Ferre
Arnd, Olof, Here is the refreshed pull-request for AT91 that is dedicated to Device Tree modifications. It is stacked on the material that you already have for 3.10 in your arm-soc/at91/dt branch. Following our discussion with Arnd, I added the non-urgent patches that I already proposed too late

Re: [PATCH 0/5 v3] USB: Kconfig cleanups

2013-04-04 Thread Alan Stern
On Thu, 4 Apr 2013, Florian Fainelli wrote: > > These 5 patches contain my Kconfig cleanup on which I based the removal > of the USB_ARCH_HAS_* patches. They have been suggested by Alan Stern > as part of an earlier conversations. > > Let me know what you think about it so I can post subsequent

Re: [PATCH v3] ARM: at91: add Acme Systems Aria G25 board

2013-04-04 Thread Douglas Gilbert
On 13-04-04 11:42 AM, Nicolas Ferre wrote: From: Douglas Gilbert Signed-off-by: Douglas Gilbert Signed-off-by: Nicolas Ferre --- Hi all, Here is the third revision of this patch. I plan to include it in a pull-request real-soon-now! v3: - move to "at91-" prefix for .dts[i] files -

user mode linux: trinity syscall "madvise" triggers quickly BUG: Bad page map

2013-04-04 Thread Toralf Förster
if SLUB is used (SLAB works fine till now with this syscall). What I get with the this trinity command line $> trinity --children 2 -c madvise for a 32 bit Gentoo Linux (both as host and as guest) and host kernel 3.8.5 and guest kernel 3.9-rc5 is the following : 2013-04-04T19:00:29.220+02:00

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-04 Thread Frederic Weisbecker
2013/4/3 Vincent Guittot : > On my smp platform which is made of 5 cores in 2 clusters, I have the > nr_busy_cpu field of sched_group_power struct that is not null when the > platform is fully idle. The root cause is: > During the boot sequence, some CPUs reach the idle loop and set their >

Re: [PATCH resend] fs/proc: Move kfree outside pde_unload_lock

2013-04-04 Thread Nathan Zimmer
On 04/04/2013 11:11 AM, Al Viro wrote: On Thu, Apr 04, 2013 at 10:53:39AM -0500, Nathan Zimmer wrote: This moves a kfree outside a spinlock to help scaling on larger (512 core) systems. This should be some relief until we can move the section to use the rcu. Umm... That'll get wrecked as

RE: [PATCHv2 1/3] thermal: introduce thermal_zone_get_zone_by_name helper function

2013-04-04 Thread R, Durgadoss
> -Original Message- > From: Eduardo Valentin [mailto:eduardo.valen...@ti.com] > Sent: Thursday, April 04, 2013 3:43 AM > To: Zhang, Rui > Cc: linux...@vger.kernel.org; linux-kernel@vger.kernel.org; R, Durgadoss; > Eduardo Valentin > Subject: [PATCHv2 1/3] thermal: introduce >

RE: [PATCHv2 2/3] thermal: expose thermal_zone_get_temp API

2013-04-04 Thread R, Durgadoss
> -Original Message- > From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm- > ow...@vger.kernel.org] On Behalf Of Eduardo Valentin > Sent: Thursday, April 04, 2013 3:43 AM > To: Zhang, Rui > Cc: linux...@vger.kernel.org; linux-kernel@vger.kernel.org; R, Durgadoss; > Eduardo Valentin >

RE: scanning for LUNs

2013-04-04 Thread KY Srinivasan
> -Original Message- > From: James Bottomley [mailto:jbottom...@parallels.com] > Sent: Thursday, April 04, 2013 11:15 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; oher...@suse.com; h...@infradead.org; linux- >

Re: [PATCH v2] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-04-04 Thread Bjorn Helgaas
On Thu, Apr 4, 2013 at 9:39 AM, Neil Horman wrote: > On Thu, Apr 04, 2013 at 08:57:06AM -0600, Bjorn Helgaas wrote: >> On Thu, Apr 4, 2013 at 8:50 AM, Neil Horman wrote: >> > On Thu, Apr 04, 2013 at 03:27:29PM +0100, David Woodhouse wrote: >> >> On Wed, 2013-04-03 at 17:53 -0600, Bjorn Helgaas

Re: [PATCH 1/5 v3] USB: regroup all depends on USB within an if USB block

2013-04-04 Thread Felipe Balbi
Hi, On Thu, Apr 04, 2013 at 05:57:24PM +0200, Florian Fainelli wrote: > diff --git a/drivers/usb/misc/sisusbvga/Kconfig > b/drivers/usb/misc/sisusbvga/Kconfig > index 30ea7ca..0d03a52 100644 > --- a/drivers/usb/misc/sisusbvga/Kconfig > +++ b/drivers/usb/misc/sisusbvga/Kconfig > @@ -1,7 +1,7 @@ >

Re: [PATCH V4 1/2] cpufreq: ondemand: allow custom powersave_bias_target handler to be registered

2013-04-04 Thread Jacob Shin
On Thu, Apr 04, 2013 at 10:06:35PM +0530, Viresh Kumar wrote: > On 4 April 2013 21:49, Jacob Shin wrote: > > diff --git a/drivers/cpufreq/cpufreq_ondemand.c > > b/drivers/cpufreq/cpufreq_ondemand.c > > > +static void od_set_powersave_bias(unsigned int powersave_bias) > > +{ > > + unsigned

Re: [GIT PULL] at91: DT changes for 3.10 #2

2013-04-04 Thread Olof Johansson
On Thu, Apr 4, 2013 at 2:37 AM, Nicolas Ferre wrote: > On 04/03/2013 09:45 AM, Nicolas Ferre : >> On 04/02/2013 08:49 PM, Olof Johansson : >>> On Fri, Mar 29, 2013 at 03:59:39PM +0100, Nicolas Ferre wrote: Arnd, Olof, Here is a pull-request for AT91 that is dedicated to Device Tree

Re: [PATCH v4] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-04-04 Thread Don Dutile
On 04/04/2013 12:16 PM, Yinghai Lu wrote: On Thu, Apr 4, 2013 at 8:08 AM, Neil Horman wrote: A few years back intel published a spec update: http://www.intel.com/content/dam/doc/specification-update/5520-and-5500-chipset-ioh-specification-update.pdf For the 5520 and 5500 chipsets which

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-04 Thread Vincent Guittot
On 4 April 2013 19:07, Frederic Weisbecker wrote: > 2013/4/3 Vincent Guittot : >> On my smp platform which is made of 5 cores in 2 clusters, I have the >> nr_busy_cpu field of sched_group_power struct that is not null when the >> platform is fully idle. The root cause is: >> During the boot

Re: [PATCH v2 4/4] x86, kdump: Change crashkernel_high/low= to crashkernel=;high/low

2013-04-04 Thread Yinghai Lu
On Wed, Apr 3, 2013 at 11:55 PM, HATAYAMA Daisuke wrote: > (2013/04/04 9:38), Yinghai Lu wrote: > >> Index: linux-2.6/kernel/kexec.c >> === >> --- linux-2.6.orig/kernel/kexec.c >> +++ linux-2.6/kernel/kexec.c >> @@ -1360,7 +1360,7 @@

[PATCH] cpufreq/intel_pstate: Set timer timeout correctly

2013-04-04 Thread dirk . brandewie
From: Dirk Brandewie The current calculation of the delay time is wrong and a cut and paste error from a previous experimental driver. This can result in the timeout being set to jiffies + 1 which setup the driver to race with it's self if the apic timer interrupt happen at just the right time.

Re: [PATCH] Kbuild: Avoid DTB rebuilds if source files are untouched

2013-04-04 Thread Stephen Warren
On 04/03/2013 11:30 PM, Vineet Gupta wrote: > On 04/03/2013 09:48 PM, Stephen Warren wrote: >> On 04/03/2013 01:14 AM, Vineet Gupta wrote: >>> forgot to CC linux-arch >>> >>> On 04/03/2013 12:42 PM, Vineet Gupta wrote: Currently, for every ARC kernel build I see the following:

Re: [PATCH v2 03/20] x86, ACPI, mm: Kill max_low_pfn_mapped

2013-04-04 Thread Tejun Heo
Hello, On Sat, Mar 09, 2013 at 10:44:30PM -0800, Yinghai Lu wrote: > Now we have arch_pfn_mapped array, and max_low_pfn_mapped should not > be used anymore. > > User should use arch_pfn_mapped or just 1UL<<(32-PAGE_SHIFT) instead. > > Only user is ACPI_INITRD_TABLE_OVERRIDE, and it should not

Re: [RFC PATCH 0/4] Support vranges on files

2013-04-04 Thread John Stultz
On 04/03/2013 11:55 PM, Minchan Kim wrote: On Wed, Apr 03, 2013 at 04:52:19PM -0700, John Stultz wrote: Next we introduce a parallel fvrange() syscall for creating volatile ranges directly against files. Okay. It seems you want to replace ashmem interface with fvrange. I dobut we have to eat a

sched/cputime: sig->prev_stime underflow

2013-04-04 Thread Dave Hansen
With the 3.9-rcs (and probably much earlier) I'm seeing some weird top output where the cpu time "spent" is millions of hours: 445 root 20 0 000 S0 0.0 5124095h kworker/45:1 404 root 20 0 000 S0 0.0 5124095h kworker/4:1 I see it mostly with

Re: [PATCH v4] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 10:27 AM, Don Dutile wrote: >> You need to move the quirk to early_quirk to append nointremap to >> avoid extra rebooting. >> > The pci-dev's of all the (minimally, root, 5500-chipset) pci-dev's are > known/scanned/created by that time? in arch/x86/kernel/early-quirk.c

Re: [PATCH 1/5 v3] USB: regroup all depends on USB within an if USB block

2013-04-04 Thread Alan Stern
On Thu, 4 Apr 2013, Felipe Balbi wrote: > Hi, > > On Thu, Apr 04, 2013 at 05:57:24PM +0200, Florian Fainelli wrote: > > diff --git a/drivers/usb/misc/sisusbvga/Kconfig > > b/drivers/usb/misc/sisusbvga/Kconfig > > index 30ea7ca..0d03a52 100644 > > --- a/drivers/usb/misc/sisusbvga/Kconfig > > +++

RE: [PATCH] mei: Fix typo in drivers/misc/mei

2013-04-04 Thread Winkler, Tomas
> Subject: [PATCH] mei: Fix typo in drivers/misc/mei > > Correct spelling typos in comments > > Signed-off-by: Masanari Iida Ack > --- > drivers/misc/mei/amthif.c| 6 +++--- > drivers/misc/mei/client.c| 24 > drivers/misc/mei/hbm.c | 9 + >

Re: [PATCH v3 6/7] NFSv4: Add O_DENY* open flags support

2013-04-04 Thread Pavel Shilovsky
2013/4/4 Jeff Layton : > I'd probably still stick with a FS_* flag for this... > > That sort of mechanism would work (for now) but sounds like the sort of > subtle behavior that's difficult for filesystem authors to get right. > It would also be subject to subtle breakage later. > > Also, suppose

Re: [PATCH v2 02/20] x86, microcode: Use common get_ramdisk_image()

2013-04-04 Thread Tejun Heo
On Sat, Mar 09, 2013 at 10:44:29PM -0800, Yinghai Lu wrote: > Use common get_ramdisk_image() to get ramdisk start phys address. > > We need this to get correct ramdisk adress for 64bit bzImage that > initrd can be loaded above 4G by kexec-tools. Is this a bug fix? Can it actually happen? >

[PATCH v9b 10/14] ARM: tegra: Define Tegra114 CAR binding

2013-04-04 Thread Peter De Schrijver
The device tree binding models Tegra114 CAR (Clock And Reset) as a single monolithic clock provider. -- Mike, This is a small binding doc update only. Hence I didn't make an entire new patch series, but just an updated version of this patch. Please apply this instead of '[PATCH v9 10/14] ARM:

Re: [PATCH v2 04/20] x86, ACPI: Increase override tables number limit

2013-04-04 Thread Tejun Heo
On Sat, Mar 09, 2013 at 10:44:31PM -0800, Yinghai Lu wrote: > Current acpi tables in initrd is limited to 10, that is too small. > 64 should be good enough as we have 35 sigs and could have several > SSDT. > > Two problems in current code prevent us from increasing limit: > 1. that cpio file info

Re: [PATCH v2] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-04-04 Thread Neil Horman
On Thu, Apr 04, 2013 at 11:14:30AM -0600, Bjorn Helgaas wrote: > On Thu, Apr 4, 2013 at 9:39 AM, Neil Horman wrote: > > On Thu, Apr 04, 2013 at 08:57:06AM -0600, Bjorn Helgaas wrote: > >> On Thu, Apr 4, 2013 at 8:50 AM, Neil Horman wrote: > >> > On Thu, Apr 04, 2013 at 03:27:29PM +0100, David

Re: [PATCH v7 00/12] Tegra114 clockframework

2013-04-04 Thread Peter De Schrijver
Hi Mike, > Quoting Stephen Warren (2013-02-19 10:39:35) > > On 02/15/2013 05:36 AM, Peter De Schrijver wrote: > > > This is the seventh version of the Tegra114 clockframework. It is based > > > on the > > > for-next branch of > > >

Re: [PATCH v9b 10/14] ARM: tegra: Define Tegra114 CAR binding

2013-04-04 Thread Stephen Warren
On 04/04/2013 11:48 AM, Peter De Schrijver wrote: > The device tree binding models Tegra114 CAR (Clock And Reset) as a single > monolithic clock provider. > > -- > > Mike, > > This is a small binding doc update only. Hence I didn't make an entire new > patch series, but just an updated version

Re: [PATCH v2 02/20] x86, microcode: Use common get_ramdisk_image()

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 10:48 AM, Tejun Heo wrote: > On Sat, Mar 09, 2013 at 10:44:29PM -0800, Yinghai Lu wrote: >> Use common get_ramdisk_image() to get ramdisk start phys address. >> >> We need this to get correct ramdisk adress for 64bit bzImage that >> initrd can be loaded above 4G by

[PATCH 2/2] MIPS: implement pcibios_get_phb_of_node

2013-04-04 Thread Gabor Juhos
The of_node field of the device assigned to a PCI bus is used during scanning of the PCI bus. However on MIPS, the of_node field is assigned only after the bus has been scanned. Implement the architecture specific version of 'pcibios_get_phb_of_node'. Which ensures that the PCI driver core will

[PATCH 1/2] pci/of: remove weak annotation of pcibios_get_phb_of_node

2013-04-04 Thread Gabor Juhos
Due to the __weak annotation in the forward declaration of the 'pcibios_get_phb_of_node' function GCC will emit a weak symbol for this functions even if the actual implementation does not use the weak attribute. If an architecture tries to override the function by providing its own implementation

Re: [PATCH v2 2/7] ARM: tegra: update device trees for USB binding rework

2013-04-04 Thread Stephen Warren
On 04/04/2013 07:01 AM, Venu Byravarasu wrote: >> -Original Message- >> From: Stephen Warren [mailto:swar...@wwwdotorg.org] >> Sent: Thursday, April 04, 2013 12:47 AM >> To: Venu Byravarasu >> Cc: gre...@linuxfoundation.org; ba...@ti.com; >> st...@rowland.harvard.edu;

Re: [PATCH 1/5 v3] USB: regroup all depends on USB within an if USB block

2013-04-04 Thread Felipe Balbi
Hi, On Thu, Apr 04, 2013 at 01:42:18PM -0400, Alan Stern wrote: > > > diff --git a/drivers/usb/misc/sisusbvga/Kconfig > > > b/drivers/usb/misc/sisusbvga/Kconfig > > > index 30ea7ca..0d03a52 100644 > > > --- a/drivers/usb/misc/sisusbvga/Kconfig > > > +++ b/drivers/usb/misc/sisusbvga/Kconfig > > >

af_unix udev startup regression

2013-04-04 Thread Linus Torvalds
[ Fixed odd legacy subject line that has nothing to do with the actual bug ] Hmm. Can you double-check and verify that reverting that commit makes things work again for you? Also, what's your distribution and setup? I'd like this to get verified, just to see that it's not some timing-dependent

Re: [PATCH v2 04/20] x86, ACPI: Increase override tables number limit

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 10:50 AM, Tejun Heo wrote: > On Sat, Mar 09, 2013 at 10:44:31PM -0800, Yinghai Lu wrote: >> @@ -648,14 +647,14 @@ void __init acpi_initrd_override(void *data, size_t >> size) >> memblock_reserve(acpi_tables_addr, acpi_tables_addr + all_tables_size); >>

Re: [PATCH 2/3] PCI: Handle device quirks when accessing sysfs resource entries

2013-04-04 Thread Bjorn Helgaas
On Thu, Mar 21, 2013 at 6:51 PM, Robert Hancock wrote: > On 03/20/2013 10:35 PM, Myron Stowe wrote: >> >> Sysfs includes entries to memory regions that back a PCI device's BARs. >> The pci-sysfs entries backing I/O Port BARs can be accessed by userspace, >> providing direct access to the device's

Re: [PATCH v2 05/20] x86, ACPI: Split acpi_initrd_override to find/copy two functions

2013-04-04 Thread Tejun Heo
On Sat, Mar 09, 2013 at 10:44:32PM -0800, Yinghai Lu wrote: > To parse srat early, we need to move acpi table probing early. > acpi_initrd_table_override is before acpi table probing. So we need to > move it early too. > > Current code acpi_initrd_table_override is after init_mem_mapping and >

Re: af_unix udev startup regression

2013-04-04 Thread David Miller
From: Linus Torvalds Date: Thu, 4 Apr 2013 11:03:28 -0700 > [ Fixed odd legacy subject line that has nothing to do with the actual bug ] > > Hmm. Can you double-check and verify that reverting that commit makes > things work again for you? > > Also, what's your distribution and setup? I'd like

Re: [PATCH] clk: tegra: Fix cdev1 and cdev2 IDs

2013-04-04 Thread Stephen Warren
On 04/04/2013 03:05 AM, Prashant Gaikwad wrote: > Correct IDs for cdev1 and cdev2 are 94 and 93 respectively. This looks OK, but needs to be split up before I can apply it. The binding change and driver changes will be applied to Tegra's for-3.10/clk branch, since that's where clk changes are

Re: [PATCH v4] Quirk for buggy dma source tags with Intel IOMMU.

2013-04-04 Thread Bjorn Helgaas
On Thu, Mar 7, 2013 at 7:35 PM, Andrew Cooks wrote: > This patch creates a quirk to allow the Intel IOMMU to be enabled for devices > that use incorrect tags during DMA. It is similar to the quirk for Ricoh > devices, but allows mapping multiple functions and mapping of 'ghost' > functions that

PING^3 Re: [PATCH v2 00/14] Corrections and customization of the SG_IO command whitelist (CVE-2012-4542)

2013-04-04 Thread Paolo Bonzini
Il 22/03/2013 23:30, Paolo Bonzini ha scritto: > Il 20/02/2013 17:12, Paolo Bonzini ha scritto: >> Il 06/02/2013 16:15, Paolo Bonzini ha scritto: >>> This series regards the whitelist that is used for the SG_IO ioctl. This >>> whitelist has three problems: >>> >>> * the bitmap of allowed commands

Re: [PATCH] clk: tegra: Add missing cdev1 and cdev2 clocks

2013-04-04 Thread Stephen Warren
On 04/04/2013 03:05 AM, Prashant Gaikwad wrote: > Register cdev1 and cdev2 peripheral clocks. Can you please explain the relationship between the following clocks: cdev1 extern1 clk_out1 The latter two clocks already exist in this driver. I think that clk_out1 is meant to represent cdev1

Re: [PATCH] clk: tegra: Use common of_clk_init() function

2013-04-04 Thread Stephen Warren
On 04/04/2013 03:05 AM, Prashant Gaikwad wrote: > Use common of_clk_init() function for clocks initialization. > > Signed-off-by: Prashant Gaikwad > --- > > Stephen, if T114 clock series is not going to make in 3.10 then I would > like Mike to take this patch. If T114 clock series makes it then

Re: [PATCH v2 03/20] x86, ACPI, mm: Kill max_low_pfn_mapped

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 10:36 AM, Tejun Heo wrote: > Hello, > > On Sat, Mar 09, 2013 at 10:44:30PM -0800, Yinghai Lu wrote: >> Now we have arch_pfn_mapped array, and max_low_pfn_mapped should not >> be used anymore. >> >> User should use arch_pfn_mapped or just 1UL<<(32-PAGE_SHIFT) instead. >> >>

Re: [RFC GIT PULL] nohz: Kconfig layout improvements

2013-04-04 Thread Christoph Lameter
It seems that nohz still has no effect. 3.9-rc5 + patches. Affinity of init set to 0,1 so no tasks are running on 9. The "latencytest" used here is part of my lldiag-0.15 toolkit. First test without any special kernel parameters. nohz off right? $ nice -5 taskset -c 9 latencytest CPUs:

Carrefour: memory traffic management for NUMA multicore systems

2013-04-04 Thread Fabien Gaud
Hello everyone, We are researchers from Simon Fraser Unviversity (Canada) and CNRS/INP Grenoble/Universite Joseph Fourier (France). We are working on memory traffic management for NUMA multicore architectures. We published a paper at ASPLOS (http://asplos13.rice.edu/) on that subject and we think

Re: [PATCH] [libata] Fix HDIO_DRIVE_CMD ioctl sense data check

2013-04-04 Thread Gwendal Grignou
Thank you. Gwendal. On Wed, Apr 3, 2013 at 4:49 PM, Jeff Garzik wrote: > On 03/29/2013 01:56 AM, Gwendal Grignou wrote: >> >> commit 84a9a8cd9d0aa93c17e5815ab8a9cc4c0a765c63 changed the sense key >> used for returning task registers, but HDIO_DRIVE_CMD ioctl was >> not changed accordingly. >> >>

Re: [PATCH 0/4] PCI/PM: D3cold support for system suspend

2013-04-04 Thread Bjorn Helgaas
On Mon, Jan 28, 2013 at 9:34 PM, Huang Ying wrote: > [PATCH 1/4] PCI/ACPI: Add target state as parameter to > pci_platform_pm_ops->run_wake > [PATCH 2/4] PCI: Rename pci_dev->runtime_d3cold to pci_dev->set_d3cold > [PATCH 3/4] PCI/PM: Set pci_dev->set_d3cold in pci_set_power_state > [PATCH 4/4]

Re: [PATCH v2 06/20] x86, ACPI: Store override acpi tables phys addr in cpio files info array

2013-04-04 Thread Tejun Heo
On Sat, Mar 09, 2013 at 10:44:33PM -0800, Yinghai Lu wrote: > In 32bit we will find table with phys address during 32bit flat mode > in head_32.S, because at that time we don't need set page table to > access initrd. > > For copying we could use early_ioremap() with phys directly before mem

Re: [PATCH v2 06/20] x86, ACPI: Store override acpi tables phys addr in cpio files info array

2013-04-04 Thread Tejun Heo
On Thu, Apr 04, 2013 at 11:27:42AM -0700, Tejun Heo wrote: > > + /* > > +* have to use unsigned long, otherwise 32bit spit warning > > +* and it is ok to unsigned long, as bootloader would not > > +* load initrd above 4G for 32bit kernel. > > +

[PATCH] mm: prevent mmap_cache race in find_vma()

2013-04-04 Thread Hugh Dickins
From: Jan Stancek find_vma() can be called by multiple threads with read lock held on mm->mmap_sem and any of them can update mm->mmap_cache. Prevent compiler from re-fetching mm->mmap_cache, because other readers could update it in the meantime: thread 1

Re: [PATCH v2 07/20] x86, ACPI: Make acpi_initrd_override_find work with 32bit flat mode

2013-04-04 Thread Tejun Heo
Hello, On Sat, Mar 09, 2013 at 10:44:34PM -0800, Yinghai Lu wrote: > For finding with 32bit, it would be easy to access initrd in 32bit > flat mode, as we don't need to set page table. > > That is from head_32.S, and microcode updating already use this trick. > > Need to change

Re: [PATCH v2] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-04-04 Thread Bjorn Helgaas
On Thu, Apr 4, 2013 at 11:51 AM, Neil Horman wrote: > Oh, you want the bug report that I'm fixing this against? Sure, I can do > that. > I thought you wanted me to include a url in the WARN_TAINT, with which user > could report occurances of this bug. Yeah, the bug that this is reported in >

Re: [PATCH] mm: prevent mmap_cache race in find_vma()

2013-04-04 Thread Linus Torvalds
On Thu, Apr 4, 2013 at 11:35 AM, Hugh Dickins wrote: > > find_vma() can be called by multiple threads with read lock > held on mm->mmap_sem and any of them can update mm->mmap_cache. > Prevent compiler from re-fetching mm->mmap_cache, because other > readers could update it in the meantime: Ack.

Re: linux-next: Tree for Apr 4 (usb/gadget/configfs)

2013-04-04 Thread Randy Dunlap
On 04/04/13 00:22, Stephen Rothwell wrote: > Hi all, > > Changes since 20130403: > on x86_64, when CONFIG_BUG is not enabled: CC [M] drivers/usb/gadget/configfs.o drivers/usb/gadget/configfs.c: In function 'config_usb_cfg_unlink': drivers/usb/gadget/configfs.c:442:2: error: implicit

Re: [Drbd-dev] [PATCH -next] drbd: fix error return code in drbd_init()

2013-04-04 Thread Lars Ellenberg
On Thu, Apr 04, 2013 at 02:17:09PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return a negative error code from the error handling > case instead of 0, as returned elsewhere in this function. We used to have an err = -ENOMEM; "just in case"... How about this instead: diff --git

Re: [PATCH] mm: prevent mmap_cache race in find_vma()

2013-04-04 Thread Hugh Dickins
On Thu, 4 Apr 2013, Linus Torvalds wrote: > On Thu, Apr 4, 2013 at 11:35 AM, Hugh Dickins wrote: > > > > find_vma() can be called by multiple threads with read lock > > held on mm->mmap_sem and any of them can update mm->mmap_cache. > > Prevent compiler from re-fetching mm->mmap_cache, because

[PATCH] merge_config.sh: Avoid creating unnessary source softlinks

2013-04-04 Thread John Stultz
Viresh noticed when using merge_config.sh that a source softlink was being created even when he didn't specify the -O option. The problem arises due to the previous commit 409f117e2d6b which added the -O option. Basically if -O is not specified, we still pass '-O=.' to the make command, which

Re: [PATCH] x86, amd, mce: Prevent potential cpu-online oops

2013-04-04 Thread Borislav Petkov
On Thu, Apr 04, 2013 at 08:05:46PM +0200, Steffen Persvold wrote: > It made more sense (to me) to skip the creation of MC4 all together > if you can't find the matching northbridge since you can't reliably > do the dec_and_test() reference counting on the shared bank when you > don't have the

Re: [PATCH] mm: prevent mmap_cache race in find_vma()

2013-04-04 Thread Linus Torvalds
On Thu, Apr 4, 2013 at 12:01 PM, Hugh Dickins wrote: > > When Paul reminded us of it yesterday, I came to wonder if actually > every use of ACCESS_ONCE in the read form should strictly be matched > by ACCESS_ONCE whenever modifying the location. > > My uneducated guess is that strictly it ought

Re: [PATCH V4 1/2] cpufreq: ondemand: allow custom powersave_bias_target handler to be registered

2013-04-04 Thread Borislav Petkov
On Thu, Apr 04, 2013 at 12:18:04PM -0500, Jacob Shin wrote: > @@ -574,6 +577,45 @@ static struct common_dbs_data od_dbs_cdata = { > .exit = od_exit, > }; > > +static void od_set_powersave_bias(unsigned int powersave_bias) > +{ > + struct cpufreq_policy *policy; > + struct dbs_data

[RFC] drivers/staging/silicom/bp_proc.c removal

2013-04-04 Thread Al Viro
It's all ifdefed out (on BYPASS_SUPPORT), severely bitrotten (try to remove the ifdef and watch what happens on attempt to build) and, AFAICS, it's a duplicate of the stuff in bp_mod.c. Is there any reason to keep it around? IOW, how about git rm drivers/staging/silicom/bp_proc.c

Re: [PATCH] x86, amd, mce: Prevent potential cpu-online oops

2013-04-04 Thread Steffen Persvold
On 4/4/2013 6:13 PM, Borislav Petkov wrote: > On Thu, Apr 04, 2013 at 11:52:00PM +0800, Daniel J Blueman wrote: >> On platforms where all Northbridges may not be visible (due to routing, eg on >> NumaConnect systems), prevent oopsing due to stale pointer access when >> offlining cores. >> >>

Re: [PATCH V4 2/2] cpufreq: AMD "frequency sensitivity feedback" powersave bias for ondemand governor

2013-04-04 Thread Borislav Petkov
On Thu, Apr 04, 2013 at 11:19:04AM -0500, Jacob Shin wrote: > Future AMD processors, starting with Family 16h, can provide software > with feedback on how the workload may respond to frequency change -- > memory-bound workloads will not benefit from higher frequency, where > as compute-bound

Re: [PATCH v2 05/20] x86, ACPI: Split acpi_initrd_override to find/copy two functions

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 11:07 AM, Tejun Heo wrote: >> >> Also move down two functions declaration to avoid #ifdef in setup.c >> >> ACPI_INITRD_TABLE_OVERRIDE depends one ACPI and BLK_DEV_INITRD. >> So could move declaration out from #ifdef CONFIG_ACPI protection. > > Heh, I couldn't really follow

Strange trace in dmesg on kernel 3.8.5

2013-04-04 Thread Eric Valette
Hi, When booting a brand new machine freshly installed I notice in the dmesg output always the same worrying trace: PS copy me I'm not subscribed. ata2.00: ATA-9: Samsung SSD 840 Series, DXT07B0Q, max UDMA/133 ata2.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 31/32), AA [

[PATCH] MFD: rtsx_pcr, fix probe fail path

2013-04-04 Thread Jiri Slaby
When rtsx_pci_acquire_irq fails in rtsx_pci_probe, we forget to disable an MSI (if we enabled it). This results in this warning on the next attempt to load the module: WARNING: at drivers/pci/msi.c:834 pci_enable_msi_block+0x2a4/0x2b0() Hardware name: HP EliteBook 840 G1 Modules linked in:

Re: [PATCH v2 06/20] x86, ACPI: Store override acpi tables phys addr in cpio files info array

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 11:30 AM, Tejun Heo wrote: > Also the comment contradicts with what you wrote in the next patch. > > Boot loader could load initrd above max_low_pfn. It does not contradict: this patch: bootloader would not load initrd above 4G for 32bit kernel max_low_pfn is below 4G.

Re: [PATCH 1/5 v3] USB: regroup all depends on USB within an if USB block

2013-04-04 Thread Arnd Bergmann
On Thursday 04 April 2013, Felipe Balbi wrote: > On Thu, Apr 04, 2013 at 01:42:18PM -0400, Alan Stern wrote: > > > > diff --git a/drivers/usb/misc/sisusbvga/Kconfig > > > > b/drivers/usb/misc/sisusbvga/Kconfig > > > > index 30ea7ca..0d03a52 100644 > > > > --- a/drivers/usb/misc/sisusbvga/Kconfig

Re: linux-next: build failure after merge of the final tree (wireless-next tree related)

2013-04-04 Thread Larry Finger
On 04/04/2013 02:10 AM, Stephen Rothwell wrote: Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/net/wireless/rtlwifi/rtl8188ee/built-in.o: In function `.rtl92c_phy_ap_calibrate': (.text+0x21d14): multiple definition of

Re: Strange trace in dmesg on kernel 3.8.5

2013-04-04 Thread Borislav Petkov
+ linux-ide. On Thu, Apr 04, 2013 at 09:23:27PM +0200, Eric Valette wrote: > Hi, > > When booting a brand new machine freshly installed I notice in the > dmesg output always the same worrying trace: > > PS copy me I'm not subscribed. > > > ata2.00: ATA-9: Samsung SSD 840 Series, DXT07B0Q, max

Re: [RFC GIT PULL] nohz: Kconfig layout improvements

2013-04-04 Thread Gilad Ben-Yossef
Hi, [ Sorry for dropping LKML on my previous email. It was caused by replying from my smartphone. Adding everyone back now ] On Thu, Apr 4, 2013 at 9:23 PM, Christoph Lameter wrote: > > On Thu, 4 Apr 2013, Gilad Ben-Yossef wrote: > > > The vmstat work item leaving a timer running on the CPU,

Re: [PATCH V2 1/3] seccomp: add generic code for jitted seccomp filters.

2013-04-04 Thread Will Drewry
On Mon, Apr 1, 2013 at 4:53 PM, Kees Cook wrote: > On Mon, Mar 18, 2013 at 7:50 AM, Nicolas Schichan > wrote: >> Architecture must select HAVE_SECCOMP_FILTER_JIT and implement >> seccomp_jit_compile() and seccomp_jit_free() if they intend to support >> jitted seccomp filters. >> >> struct

<    7   8   9   10   11   12   13   14   15   >