Re: [PATCHv3 3/4] clk: sunxi: Add A31 clocks support

2013-08-12 Thread Maxime Ripard
Hi Mark, On Mon, Aug 12, 2013 at 03:14:10PM +0100, Mark Rutland wrote: > [Adding devicetree list to Cc] > > Hi, > > On Mon, Aug 05, 2013 at 09:43:00PM +0100, Maxime Ripard wrote: > > The A31 has a mostly different clock set compared to the other older > > SoCs currently supported in the Allwinne

Re: [RFC] per-cpu preempt_count

2013-08-12 Thread H. Peter Anvin
On 08/12/2013 12:00 PM, Linus Torvalds wrote: > > Wrong. The thing is, the common case for preempt is to increment and > decrement the count, not testing it. Exactly because we do this for > spinlocks and for rcu read-locked regions. > > Now, what we *could* do is to say: > > - we will use the

Re: [PATCH] usb: gadget: at91_udc: add usb_clk for transition to common clk framework

2013-08-12 Thread boris brezillon
Hello Felipe On 12/08/2013 20:08, Felipe Balbi wrote: On Mon, Aug 12, 2013 at 03:52:01PM +0200, Nicolas Ferre wrote: On 01/08/2013 08:18, Boris BREZILLON : The AT91 PMC (Power Management Controller) provides an USB clock used by USB Full Speed host (ohci) and USB Full Speed device (udc). The u

"PROBLEM: Crashes"

2013-08-12 Thread Alex Calinoiu
Hi, The system seems to crash after I try to lseek /dev/watchdog and /dev/watchdog0 as root. As a regular user, the problem does not occur. Crash, kernel panic. [root@arch ~]# cat /proc/version Linux version 3.10.6-1-ARCH (tobias@T-POWA-LX) (gcc version 4.8.1 20130725 (prerelease) (GCC) ) #1 SMP

[PATCH 1/16 v2] sound/soc/pxa/mioa701_wm9713.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-12 Thread Julia Lawall
From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. At the suggestion of Robert Jarzmik, this additionally removes the definition of ARRAY_AND_SIZE, which is not used elsewhere in the file. The semantic match that makes th

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-12 Thread Greg Kroah-Hartman
On Mon, Aug 12, 2013 at 12:23:44PM +0100, Mark Brown wrote: > On Sun, Aug 11, 2013 at 07:02:57PM -0700, Greg Kroah-Hartman wrote: > > On Sun, Aug 11, 2013 at 08:08:26PM +0100, Mark Brown wrote: > > > > I know there's been some discussion of this topic but do we have any > > > general consensus on

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-12 Thread Peter Maydell
On 12 August 2013 21:06, Russell King - ARM Linux wrote: > On Mon, Aug 12, 2013 at 06:33:28PM +0100, Peter Maydell wrote: >> /* Slot to IRQ mapping for RealView EB and PB1176 backplane >> * nameslotIntAIntBIntCIntD >> * A 31 IRQ50 IRQ51 IR

Re: [PATCH 0/9] ARM: dove: DT PCIe support

2013-08-12 Thread Bjorn Helgaas
On Mon, Aug 12, 2013 at 12:46 PM, Sebastian Hesselbarth wrote: > This patch set adds support for the PCIe controllers found on Marvell > Dove SoCs. It depends on mvebu-pci patches sent by Thomas Petazzoni. > Also, it adds support for the Globalscale D3Plug - a Dove based board > comprising a USB3.

Re: SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-12 Thread Peter Maydell
On 12 August 2013 20:02, Paul Gortmaker wrote: > > If I recall correctly, I'd showed the patch to Russell at the time (via > IRC, I believe) and he'd told me essentially the same thing as the above > paragraph, which is why I didn't put it in the patch system, and why the > commit log of the yocto

[PATCH] x86: selective remapping in parse_setup_data()

2013-08-12 Thread Linn Crosetto
PCI devices may advertise a ROM size larger than early_memremap() is able to handle. If this occurs it leads to a NULL dereference in parse_setup_data(). Avoid this by remapping the data only when necessary. Signed-off-by: Linn Crosetto --- arch/x86/kernel/setup.c | 19 ++- 1 fil

Re: [PATCH v4 2/2] mm: make lru_add_drain_all() selective

2013-08-12 Thread Andrew Morton
On Wed, 7 Aug 2013 16:52:22 -0400 Chris Metcalf wrote: > This change makes lru_add_drain_all() only selectively interrupt > the cpus that have per-cpu free pages that can be drained. > > This is important in nohz mode where calling mlockall(), for > example, otherwise will interrupt every core u

Re: [PATCH] Staging: olpc_dcon: more big endian conformity

2013-08-12 Thread Greg KH
On Sun, Aug 04, 2013 at 11:04:16PM +0200, Jens Frederich wrote: > Using an int which is casted to unsigned char as inbuf is messy. > The code won't work on big endian systems. The patch should fix > this. > > Signed-off-by: Jens Frederich This patch doesn't apply at all, can you refresh it agai

Re: [PATCH] x86: selective remapping in parse_setup_data()

2013-08-12 Thread H. Peter Anvin
On 08/12/2013 02:00 PM, Linn Crosetto wrote: > PCI devices may advertise a ROM size larger than early_memremap() is > able to handle. If this occurs it leads to a NULL dereference in > parse_setup_data(). Avoid this by remapping the data only when > necessary. > > Signed-off-by: Linn Crosetto I

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-12 Thread Russell King - ARM Linux
On Mon, Aug 12, 2013 at 09:49:54PM +0100, Peter Maydell wrote: > On 12 August 2013 21:06, Russell King - ARM Linux > wrote: > > On Mon, Aug 12, 2013 at 06:33:28PM +0100, Peter Maydell wrote: > >> /* Slot to IRQ mapping for RealView EB and PB1176 backplane > >> * nameslotIntA

Re: [PCMCIA] Solved: No USB 2.0 (ehci) in PCMCIA slot on E7110

2013-08-12 Thread Andreas Mohr
Hi, that means we're talking this one (have you had a look at Bugzilla #15014? Might be useful...): commit 35169529093be3bbef70afd3c4125e35cece7e03 Author: Wolfram Sang Date: Sun Jan 10 09:41:24 2010 +0100 pcmcia/yenta: add module parameter for O2 speedups O2-bridges can do read

Re: [GIT PULL] timers/nohz updates for 3.12

2013-08-12 Thread Frederic Weisbecker
On Mon, Aug 12, 2013 at 08:44:28PM +0200, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > Ingo, > > > > Please pull the timers/nohz branch that can be found at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > > timers/nohz > > > > It mostly co

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-12 Thread Peter Maydell
On 12 August 2013 22:21, Russell King - ARM Linux wrote: > On Mon, Aug 12, 2013 at 09:49:54PM +0100, Peter Maydell wrote: >> On 12 August 2013 21:06, Russell King - ARM Linux >> wrote: >> > On Mon, Aug 12, 2013 at 06:33:28PM +0100, Peter Maydell wrote: >> >> /* Slot to IRQ mapping for RealVie

Re: [PATCH] mm: fix special swap entry handling on copy mm

2013-08-12 Thread Naoya Horiguchi
Hi Jerome, On Mon, Aug 12, 2013 at 11:43:24AM -0400, j.gli...@gmail.com wrote: > From: Jerome Glisse > > Prior to this copy_one_pte will never reach the special swap file > handling code because swap_duplicate will return invalid value. > > Note this is not fatal so nothing bad ever happen beca

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-12 Thread Mark Brown
On Mon, Aug 12, 2013 at 01:50:07PM -0700, Greg Kroah-Hartman wrote: > On Mon, Aug 12, 2013 at 12:23:44PM +0100, Mark Brown wrote: > > I don't think they're bus specific - the main issue with a lot of this > > is that they're outside the infrastructure that the bus standardises so > > we should hav

Re: [PATCH 1/16 v2] sound/soc/pxa/mioa701_wm9713.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-12 Thread Mark Brown
On Mon, Aug 12, 2013 at 10:49:24PM +0200, Julia Lawall wrote: > From: Julia Lawall > > Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the > arity of the called function. What is the difference between this and the patch I applied the other day? signature.asc Descriptio

Re: [PATCH] mm: fix special swap entry handling on copy mm

2013-08-12 Thread Jerome Glisse
On Mon, Aug 12, 2013 at 05:36:40PM -0400, Naoya Horiguchi wrote: > Hi Jerome, > > On Mon, Aug 12, 2013 at 11:43:24AM -0400, j.gli...@gmail.com wrote: > > From: Jerome Glisse > > > > Prior to this copy_one_pte will never reach the special swap file > > handling code because swap_duplicate will re

Re: Seq File: Return error if d_path fails

2013-08-12 Thread Andrew Morton
On Thu, 8 Aug 2013 19:03:31 +0530 Arun KS wrote: > >From 2558382c8a030f7261e47977ac62412cd78e6d38 Mon Sep 17 00:00:00 2001 > From: Arun KS > Date: Thu, 8 Aug 2013 18:23:04 +0530 > Subject: Seq File: Return error if d_path fails > > Return error if d_path fails in seq_path funciton. If we do not

[PATCH] crypto: nx - fix concurrency issue

2013-08-12 Thread Marcelo Cerri
The NX driver uses the transformation context to store several fields containing data related to the state of the operations in progress. Since a single tfm can be used by different kernel threads at the same time, we need to protect the data stored into the context. This patch makes use of spin l

[RFC v3 1/5] memblock: Introduce a for_each_reserved_mem_region iterator.

2013-08-12 Thread Nathan Zimmer
From: Robin Holt As part of initializing struct page's in 2MiB chunks, we noticed that at the end of free_all_bootmem(), there was nothing which had forced the reserved/allocated 4KiB pages to be initialized. This helper function will be used for that expansion. Signed-off-by: Robin Holt Signe

Re: [PATCH 1/2] Revert "Revert "HID: Fix logitech-dj: missing Unifying device issue""

2013-08-12 Thread Peter Wu
On Thursday 18 July 2013 16:28:01 Peter Hurley wrote: > Before we revert to using the workaround, I'd like to suggest that > this new "hidden" problem may be an interaction with the xhci_hcd host > controller driver only. > > Looking at the related bug, the OP indicates the machine only has > USB3

[RFC v3 4/5] Only set page reserved in the memblock region

2013-08-12 Thread Nathan Zimmer
Currently we when we initialze each page struct is set as reserved upon initialization. This changes to starting with the reserved bit clear and then only setting the bit in the reserved region. Signed-off-by: Robin Holt Signed-off-by: Nathan Zimmer To: "H. Peter Anvin" To: Ingo Molnar Cc: Li

[RFC v3 3/5] Move page initialization into a separate function.

2013-08-12 Thread Nathan Zimmer
From: Robin Holt Currently, memmap_init_zone() has all the smarts for initializing a single page. When we convert to initializing pages in a 2MiB chunk, we will need to do this equivalent work from two separate places so we are breaking out a helper function. Signed-off-by: Robin Holt Signed-o

[RFC v3 0/5] Transparent on-demand struct page initialization embedded in the buddy allocator

2013-08-12 Thread Nathan Zimmer
We are still restricting ourselves ourselves to 2MiB initialization. This was initially to keep the patch set a little smaller and more clear. However given how well it is currently performing I don't see a how much better it could be with to 2GiB chunks. As far as extra overhead. We incur an extr

[RFC v3 5/5] Sparse initialization of struct page array.

2013-08-12 Thread Nathan Zimmer
From: Robin Holt During boot of large memory machines, a significant portion of boot is spent initializing the struct page array. The vast majority of those pages are not referenced during boot. Change this over to only initializing the pages when they are actually allocated. Besides the advan

[RFC v3 2/5] Have __free_pages_memory() free in larger chunks.

2013-08-12 Thread Nathan Zimmer
From: Robin Holt Currently, when free_all_bootmem() calls __free_pages_memory(), the number of contiguous pages that __free_pages_memory() passes to the buddy allocator is limited to BITS_PER_LONG. In order to be able to free only the first page of a 2MiB chunk, we need that to be increased. We

Re: [patch 2/2] [PATCH] mm: Save soft-dirty bits on file pages

2013-08-12 Thread Andrew Morton
On Thu, 8 Aug 2013 18:51:20 +0400 Cyrill Gorcunov wrote: > On Wed, Aug 07, 2013 at 01:28:12PM -0700, Andrew Morton wrote: > > > > Good god. > > > > I wonder if these can be turned into out-of-line functions in some form > > which humans can understand. > > > > or > > > > #define pte_to_pgoff(

Re: [PATCH 2/4] staging: ozwpan: Increment port number for new device.

2013-08-12 Thread Greg KH
On Mon, Aug 05, 2013 at 06:40:13PM +0100, Rupesh Gujare wrote: > This patch fixes crash issue when there is quick cycle of > de-enumeration & enumeration due to loss of wireless link. > > It is found that sometimes new device (or coming back device) > returns very fast, even before USB core read o

Re: [PATCH v2 09/20] mm, hugetlb: protect region tracking via newly introduced resv_map lock

2013-08-12 Thread Davidlohr Bueso
On Fri, 2013-08-09 at 18:26 +0900, Joonsoo Kim wrote: > There is a race condition if we map a same file on different processes. > Region tracking is protected by mmap_sem and hugetlb_instantiation_mutex. > When we do mmap, we don't grab a hugetlb_instantiation_mutex, but, > grab a mmap_sem. This do

[PATCH] pwm-backlight: add "max-brightness" property

2013-08-12 Thread Andrew Bresticker
Specifying each individual brightness value via the "brightness-levels" property can be a pain if we want to use a large continuous range of brightness values. Add the property "max-brightness", which can be given in place of "brightness-levels", that specifies that all values between 0 and the gi

Re: [PATCH] Staging:BCM:DDRInit.c:Replacing __FUNCTION__

2013-08-12 Thread Greg KH
On Wed, Aug 07, 2013 at 06:11:54PM +0100, Paul McQuade wrote: > > >From 5b6fbb6496ddc4e428f5dd0950b0617faed6596b Mon Sep 17 00:00:00 2001 > From: Paul McQuade > Date: Wed, 7 Aug 2013 16:21:16 +0100 > Subject: [PATCH] Staging:BCM:DDRInit.c:Replacing __FUNCTION__ > > __func__ replaces __Function_

Re: Review [2/2] Staging: BCM: Removed more whitespace/Errors

2013-08-12 Thread Greg KH
On Thu, Aug 08, 2013 at 06:35:32PM +0100, Paul McQuade wrote: > From 9f6231ce16996e35545e20ce1d91abc058f2a6fb Mon Sep 17 00:00:00 2001 > From: Paul McQuade > Date: Thu, 8 Aug 2013 17:49:22 +0100 > Subject: [PATCH 2/2] Staging: BCM: Removed more whitespace/Errors Why is this duplicated here? Just

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-12 Thread Russell King - ARM Linux
On Mon, Aug 12, 2013 at 10:36:17PM +0100, Peter Maydell wrote: > On this point, yes. Equivalent bit from the PB926 TRM: > http://infocenter.arm.com/help/topic/com.arm.doc.dui0224i/Cacdijji.html > > (There are differences between the PCI controllers on > the different boards. Differences I know of

Re: [patch 0/9] mm: thrash detection-based file cache sizing v3

2013-08-12 Thread Johannes Weiner
On Fri, Aug 09, 2013 at 03:53:09PM -0700, Andrew Morton wrote: > On Tue, 6 Aug 2013 18:44:01 -0400 Johannes Weiner wrote: > > > This series solves the problem by maintaining a history of pages > > evicted from the inactive list, enabling the VM to tell streaming IO > > from thrashing and rebalan

Re: [PATCH] smp.c: Quit unconditionally enabling irqs in on_each_cpu_mask().

2013-08-12 Thread Andrew Morton
On Fri, 9 Aug 2013 12:24:56 -0700 David Daney wrote: > > otherwise the bugs > > stemming from incorrect use can be tricky to catch. > > > > ... all my patch does is allow on_each_cpu_mask() to be called with IRQs > disabled if we are in Early Boot. This is already the case with > smp_call_fun

[PATCH] fix a Sparse warning in the arch/x86/kernel/irq_work.c file

2013-08-12 Thread Shailaja Neelam
I am a high school student trying to become familiar with the opensource process and linux kernel. This is my first submission to the ITC mailing list. My patch is for the file arch/x86/kernel/irq_work.c in the vesion linux-3.10 kernel. When I ran the kernel with Sparse, the error read: arch/x86/k

Re: [PATCH] [RFC] kmemcg: remove union from memcg_params

2013-08-12 Thread Andrew Morton
On Fri, 9 Aug 2013 00:51:26 +0400 Andrey Vagin wrote: > struct memcg_cache_params { > bool is_root_cache; > union { > struct kmem_cache *memcg_caches[0]; > struct { > struct mem_cgroup *memcg; > struc

Re: [patch 2/2] [PATCH] mm: Save soft-dirty bits on file pages

2013-08-12 Thread Andy Lutomirski
On Mon, Aug 12, 2013 at 2:57 PM, Andrew Morton wrote: > On Thu, 8 Aug 2013 18:51:20 +0400 Cyrill Gorcunov wrote: > >> On Wed, Aug 07, 2013 at 01:28:12PM -0700, Andrew Morton wrote: >> > >> > Good god. >> > >> > I wonder if these can be turned into out-of-line functions in some form >> > which hum

Re: [patch 2/2] [PATCH] mm: Save soft-dirty bits on file pages

2013-08-12 Thread Andrew Morton
On Mon, 12 Aug 2013 15:28:06 -0700 Andy Lutomirski wrote: > > +#define _mfrob(v,r,m,l)v) >> (r)) & (m)) << (l)) > > +#define __frob(v,r,l) (((v) >> (r)) << (l)) > > + > > #ifdef CONFIG_MEM_SOFT_DIRTY > > > > If I'm understanding this right, the idea is to take the b

Re: [PATCH 00/31] CPUFreq: Implement light weight ->target(): for 3.13

2013-08-12 Thread Rafael J. Wysocki
On Monday, August 12, 2013 11:18:36 PM Viresh Kumar wrote: > Currently prototype of cpufreq_drivers target routines is: > > int target(struct cpufreq_policy *policy, unsigned int target_freq, > unsigned int relation); > > And most of the drivers call cpufreq_frequency_table_target() to get

Re: [RFC 0/3] Add madvise(..., MADV_WILLWRITE)

2013-08-12 Thread Dave Hansen
On 08/09/2013 12:55 AM, Jan Kara wrote: > On Thu 08-08-13 15:58:39, Dave Hansen wrote: >> I was coincidentally tracking down what I thought was a scalability >> problem (turned out to be full disks :). I noticed, though, that ext4 >> is about 20% slower than ext2/3 at doing write page faults (x-ax

Re: [PATCH] pwm-backlight: add "max-brightness" property

2013-08-12 Thread Stephen Warren
On 08/12/2013 04:04 PM, Andrew Bresticker wrote: > Specifying each individual brightness value via the "brightness-levels" > property can be a pain if we want to use a large continuous range of > brightness values. Add the property "max-brightness", which can be > given in place of "brightness-lev

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-12 Thread Guenter Roeck
On Mon, Aug 12, 2013 at 11:12:50PM +0100, Russell King - ARM Linux wrote: > On Mon, Aug 12, 2013 at 10:36:17PM +0100, Peter Maydell wrote: > > On this point, yes. Equivalent bit from the PB926 TRM: > > http://infocenter.arm.com/help/topic/com.arm.doc.dui0224i/Cacdijji.html > > > > (There are diffe

[PATCH 1/3] wistron_btns: drop bogus MODULE_VERSION macro

2013-08-12 Thread Stefan Lippers-Hollmann
MODULE_VERSION is pointless for an in-kernel module and git log confirms that it has never been actually maintained as well (bumped a single time, despite quite major feature additions later on, which haven't been reflected in MODULE_VERSION). Signed-off-by: Stefan Lippers-Hollmann --- drivers/

Career Opportunity

2013-08-12 Thread WebRecruit
Dear Expatriate, Falkland Oil & Gas has vacancies in London and intends to recruit experienced individuals capable of rendering expertise services. These career driven people are to apply for the various engineering, construction, administrative, executive and many more positions depending on

Re: [PATCH v2 1/4] drivers/misc: Support for RF interface device framework

2013-08-12 Thread Greg KH
On Mon, Aug 12, 2013 at 12:43:50PM +0530, akhil.go...@freescale.com wrote: > From: Akhil Goyal > > The radio device framework introduces a way to accommodate the > RF(radio frequency) signal paths. One signal path is represented > as a RF device (rf0, rf1 etc), and it can contain multiple > comp

[PATCH 3/3] wistron_btns: add MODULE_DEVICE_TABLE

2013-08-12 Thread Stefan Lippers-Hollmann
This allows the wistron_btns module to be autoloaded on boot, its functionality is required to support the hardware rfkill switches on most of the supported notebooks, in order to unblock the hard blocked rfkill state for wireless and bluetooth devices. Tested on a Medion MD96500: alias:

Re: [PATCH v2 1/7] Intel MIC Host Driver for X100 family.

2013-08-12 Thread Greg Kroah-Hartman
On Wed, Aug 07, 2013 at 08:04:07PM -0700, Sudeep Dutt wrote: > diff --git a/drivers/misc/mic/host/mic_common.h > b/drivers/misc/mic/host/mic_common.h > new file mode 100644 > index 000..55b0337 > --- /dev/null > +++ b/drivers/misc/mic/host/mic_common.h > @@ -0,0 +1,30 @@ > +/* > + * Intel MIC

[PATCH 2/3] wistron_btns: mark the Medion MD96500 keymap as tested

2013-08-12 Thread Stefan Lippers-Hollmann
DMI: MEDIONPC WIM 2040/WIM 2040, BIOS R01-A0O11/04/2005 wistron_btns: BIOS signature found at c00f6b00, entry point 000FDD50 input: Wistron laptop buttons as /devices/platform/wistron-bios/input/input5 Signed-off-by: Stefan Lippers-Hollmann --- drivers/input/misc/wistron_btns.c | 2 +- 1 fil

[PATCH v2] x86: selective remapping in parse_setup_data()

2013-08-12 Thread Linn Crosetto
Type SETUP_PCI, added by setup_efi_pci(), may advertise a ROM size larger than early_memremap() is able to handle, which is currently limited to 256kB. If this occurs it leads to a NULL dereference in parse_setup_data(). To avoid this, first remap the setup_data header, and remap the data only for

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-12 Thread Guenter Roeck
On Mon, Aug 12, 2013 at 11:12:50PM +0100, Russell King - ARM Linux wrote: > On Mon, Aug 12, 2013 at 10:36:17PM +0100, Peter Maydell wrote: > > On this point, yes. Equivalent bit from the PB926 TRM: > > http://infocenter.arm.com/help/topic/com.arm.doc.dui0224i/Cacdijji.html > > > > (There are diffe

Re: [PATCH 1/1] pagemap: fix buffer overflow in add_page_map()

2013-08-12 Thread Andrew Morton
On Fri, 9 Aug 2013 13:16:41 +0800 yonghua zheng wrote: > Hi, > > Recently we met quite a lot of random kernel panic issues after enable > CONFIG_PROC_PAGE_MONITOR in kernel, after debuggint sometime we found > this has something to do with following bug in pagemap: > > In struc pagemapread: >

Re: [PATCH v2 1/7] Intel MIC Host Driver for X100 family.

2013-08-12 Thread Greg Kroah-Hartman
On Wed, Aug 07, 2013 at 08:04:07PM -0700, Sudeep Dutt wrote: > +/** > + * struct mic_device - MIC device information for each card. > + * > + * @name: Unique name for this MIC device. > + * @mmio: MMIO bar information. > + * @pdev: The PCI device structure. > + * @family: The MIC family to which t

Re: [PATCH v3] arm: omap5: dts: add palmas-usb node

2013-08-12 Thread Stephen Warren
On 08/12/2013 04:17 AM, Kishon Vijay Abraham I wrote: > From: Felipe Balbi > > Without this node, there will be no palmas > driver to notify dwc3 that a cable has > been connected and, without that, dwc3 > will never initialize. > diff --git a/arch/arm/boot/dts/omap5-uevm.dts > b/arch/arm/boot/

Re: [PATCH v2] x86: selective remapping in parse_setup_data()

2013-08-12 Thread Yinghai Lu
On Mon, Aug 12, 2013 at 4:01 PM, Linn Crosetto wrote: > Type SETUP_PCI, added by setup_efi_pci(), may advertise a ROM size > larger than early_memremap() is able to handle, which is currently > limited to 256kB. If this occurs it leads to a NULL dereference in > parse_setup_data(). > > To avoid th

Re: [PATCH 10/18] spi: s3c64xx: Do not require legacy DMA API in case of S3C64XX

2013-08-12 Thread Mark Brown
On Sun, Aug 11, 2013 at 07:59:22PM +0200, Tomasz Figa wrote: > With support for amba-pl08x driver, on S3C64xx the generic DMA engine > API can be used instead of the private s3c-dma interface. I'm still getting issues for SPI with this: [ 50.952845] s3c64xx-spi s3c6410-spi.0: Failed to get RX D

[PATCH] x86: Fix booting with DEBUG_PAGE_ALLOC with more than 512G RAM

2013-08-12 Thread Yinghai Lu
Dave reported that system have early crash if DEBUG_PAGEALLOC is selected, when system have between 500G and 600G. > [0.00] init_memory_mapping: [mem 0x-0x000f] > [0.00] [mem 0x-0x000f] page 4k > [0.00] BRK [0x02086000, 0x02086fff] PGTABLE > [0.

Re: x86: early boot crash: "alloc_low_page: ran out of memory" (bisected)

2013-08-12 Thread Yinghai Lu
On Mon, Aug 12, 2013 at 9:27 AM, Dave Hansen wrote: > On 08/09/2013 07:21 PM, Yinghai Lu wrote: >> -/* need 4 4k for initial PMD_SIZE, 4k for 0-ISA_END_ADDRESS */ >> -#define INIT_PGT_BUF_SIZE(5 * PAGE_SIZE) >> +/* need 4 4k for initial PMD_SIZE, 3 4k for 0-ISA_END_ADDRESS */ >> +#define INIT

Re: [PATCH 10/18] spi: s3c64xx: Do not require legacy DMA API in case of S3C64XX

2013-08-12 Thread Tomasz Figa
On Tuesday 13 of August 2013 00:36:41 Mark Brown wrote: > On Sun, Aug 11, 2013 at 07:59:22PM +0200, Tomasz Figa wrote: > > With support for amba-pl08x driver, on S3C64xx the generic DMA engine > > API can be used instead of the private s3c-dma interface. > > I'm still getting issues for SPI with t

Re: [PATCH] x86: Fix booting with DEBUG_PAGE_ALLOC with more than 512G RAM

2013-08-12 Thread Dave Hansen
On 08/12/2013 04:43 PM, Yinghai Lu wrote: >> > commit 8170e6bed465b4b0c7687f93e9948aca4358a33b >> > Author: H. Peter Anvin >> > Date: Thu Jan 24 12:19:52 2013 -0800 >> > >> > x86, 64bit: Use a #PF handler to materialize early mappings on demand > Before that, we have maping from [0,512M) in

Re: [PATCH v3 01/12] dma: edma: Setup parameters to DMA MAX_NR_SG at a time

2013-08-12 Thread Joel Fernandes
Dropped quite a few from the CC list... On 08/12/2013 02:15 AM, Sekhar Nori wrote: > On Monday 05 August 2013 09:44 PM, Joel Fernandes wrote: >> Changes are made here for configuring existing parameters to support >> DMA'ing them out in batches as needed. >> >> Also allocate as many as slots as ne

Re: [PATCH] x86: Fix booting with DEBUG_PAGE_ALLOC with more than 512G RAM

2013-08-12 Thread Yinghai Lu
On Mon, Aug 12, 2013 at 4:50 PM, Dave Hansen wrote: > On 08/12/2013 04:43 PM, Yinghai Lu wrote: >>> > commit 8170e6bed465b4b0c7687f93e9948aca4358a33b >>> > Author: H. Peter Anvin >>> > Date: Thu Jan 24 12:19:52 2013 -0800 >>> > >>> > x86, 64bit: Use a #PF handler to materialize early mappin

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-12 Thread Roy Franz
On Mon, Aug 12, 2013 at 7:51 AM, Mark Salter wrote: > On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: >> +static int relocate_kernel(efi_system_table_t *sys_table, >> + unsigned long *zimage_addr, >> + unsigned long zimage_size, >> +

Re: [GIT PULL] timers/nohz updates for 3.12

2013-08-12 Thread Frederic Weisbecker
On Mon, Aug 12, 2013 at 08:44:28PM +0200, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > Ingo, > > > > Please pull the timers/nohz branch that can be found at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > > timers/nohz > > > > It mostly co

Re: [PATCH v3 01/12] dma: edma: Setup parameters to DMA MAX_NR_SG at a time

2013-08-12 Thread Joel Fernandes
Responding to other comments in this post, On 08/12/2013 02:15 AM, Sekhar Nori wrote: [..] >> if (unlikely(!echan || !sgl || !sg_len)) >> return NULL; >> @@ -262,8 +262,11 @@ static struct dma_async_tx_descriptor >> *edma_prep_slave_sg( >> >> edesc->pset_nr = sg_len; >>

Re: [PATCH v3 01/12] dma: edma: Setup parameters to DMA MAX_NR_SG at a time

2013-08-12 Thread Joel Fernandes
On 08/12/2013 06:55 PM, Joel Fernandes wrote: > Dropped quite a few from the CC list... > > On 08/12/2013 02:15 AM, Sekhar Nori wrote: >> On Monday 05 August 2013 09:44 PM, Joel Fernandes wrote: >>> Changes are made here for configuring existing parameters to support >>> DMA'ing them out in batche

[PATCH] driver core / cpu: Check if NUMA node is valid before bringing CPU up

2013-08-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There is a potential race condition between cpu_subsys_online() and either acpi_processor_remove() or remove_memory() that execute try_offline_node(). Namely, it is possible that cpu_subsys_online() will run right after the CPUs NUMA node has been put offline and cpu_to_n

Re: [PATCH] fix a Sparse warning in the arch/x86/kernel/irq_work.c file

2013-08-12 Thread Steven Rostedt
On Mon, 12 Aug 2013 15:18:16 -0700 Shailaja Neelam wrote: > I am a high school student trying to become familiar with the > opensource process and linux kernel. This is my first submission to > the ITC mailing list. Hi Shailaja, Welcome to Linux kernel development :-) > > My patch is for the

Re: [PATCH 0/2] Protect cpu map updates from ACPI processor

2013-08-12 Thread Rafael J. Wysocki
On Monday, August 12, 2013 09:45:52 AM Toshi Kani wrote: > CPU system maps are protected with reader/writer locks. The reader > lock, put_online_cpus(), assures that the maps are not updated while > holding the lock. The writer lock, cpu_hotplug_begin(), is used to > udpate the cpu maps along wit

Re: [PATCH 11/16] arch/arm/mach-pxa/palmtreo.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-12 Thread Tomas Cech
On Sun, Aug 11, 2013 at 06:51:52PM +0200, Julia Lawall wrote: From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,

Re: Cannot hot remove a memory device

2013-08-12 Thread Rafael J. Wysocki
On Monday, August 12, 2013 02:40:43 PM Toshi Kani wrote: > On Sun, 2013-08-11 at 23:13 +0200, Rafael J. Wysocki wrote: > > On Thursday, August 08, 2013 04:50:42 PM Toshi Kani wrote: > > > On Fri, 2013-08-09 at 00:12 +0200, Rafael J. Wysocki wrote: > > > > On Thursday, August 08, 2013 11:15:20 AM To

Re: [PATCH] driver core / cpu: Check if NUMA node is valid before bringing CPU up

2013-08-12 Thread Toshi Kani
On Tue, 2013-08-13 at 02:39 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > There is a potential race condition between cpu_subsys_online() > and either acpi_processor_remove() or remove_memory() that execute > try_offline_node(). Namely, it is possible that cpu_subsys_online() > w

Re: [ANNOUNCE] 3.10.6-rt3

2013-08-12 Thread Paul Gortmaker
On Mon, Aug 12, 2013 at 3:48 PM, Steven Rostedt wrote: > On Mon, 12 Aug 2013 18:34:13 +0200 > Sebastian Andrzej Siewior wrote: > >> Dear RT folks! >> >> I'm pleased to announce the v3.10.6-rt3 patch set. > > > Does this mean that I can drop 3.6-rt in favor of 3.8-rt? I'd guess that the trade-off

Re: [PATCH 4/9] PCI: mvebu: add support for reset on GPIO

2013-08-12 Thread Kumar Gala
On Aug 12, 2013, at 1:46 PM, Sebastian Hesselbarth wrote: > This patch adds a check for DT passed reset-gpios property and deasserts/ > asserts reset pin on probe/remove with configurable delay. Corresponding > binding documentation is also updated. > > Signed-off-by: Sebastian Hesselbarth > --

Re: [PATCH 0/2] Protect cpu map updates from ACPI processor

2013-08-12 Thread Toshi Kani
On Tue, 2013-08-13 at 02:43 +0200, Rafael J. Wysocki wrote: > On Monday, August 12, 2013 09:45:52 AM Toshi Kani wrote: > > CPU system maps are protected with reader/writer locks. The reader > > lock, put_online_cpus(), assures that the maps are not updated while > > holding the lock. The writer l

Re: [PATCH v5] media: i2c: tvp7002: add OF support

2013-08-12 Thread Kumar Gala
On Aug 11, 2013, at 1:25 AM, Lad, Prabhakar wrote: > From: "Lad, Prabhakar" > > add OF support for the tvp7002 driver. > > Signed-off-by: Lad, Prabhakar > --- > This patch depends on https://patchwork.kernel.org/patch/2842680/ > > Changes for v5: > 1: Fixed review comments pointed by Hans. >

Re: [PATCH v3 09/12] dma: edma: Implement multiple linked sets for continuity

2013-08-12 Thread Joel Fernandes
On 08/12/2013 01:56 PM, Sekhar Nori wrote: > On Monday 05 August 2013 04:14 PM, Joel Fernandes wrote: >> Here we implement splitting up of the total MAX number of slots >> available for a channel into 2 cyclically linked sets. Transfer >> completion Interrupts are enabled on both linked sets and re

Re: Cannot hot remove a memory device

2013-08-12 Thread Toshi Kani
On Tue, 2013-08-13 at 02:45 +0200, Rafael J. Wysocki wrote: > On Monday, August 12, 2013 02:40:43 PM Toshi Kani wrote: > > On Sun, 2013-08-11 at 23:13 +0200, Rafael J. Wysocki wrote: > > > On Thursday, August 08, 2013 04:50:42 PM Toshi Kani wrote: > > > > On Fri, 2013-08-09 at 00:12 +0200, Rafael J

Re: [ANNOUNCE] 3.10.6-rt3

2013-08-12 Thread Steven Rostedt
On Mon, 12 Aug 2013 20:47:18 -0400 Paul Gortmaker wrote: > On Mon, Aug 12, 2013 at 3:48 PM, Steven Rostedt wrote: > > On Mon, 12 Aug 2013 18:34:13 +0200 > > Sebastian Andrzej Siewior wrote: > > > >> Dear RT folks! > >> > >> I'm pleased to announce the v3.10.6-rt3 patch set. > > > > > > Does thi

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-12 Thread Alan Stern
On Mon, 12 Aug 2013, Mark Brown wrote: > On Mon, Aug 12, 2013 at 01:50:07PM -0700, Greg Kroah-Hartman wrote: > > On Mon, Aug 12, 2013 at 12:23:44PM +0100, Mark Brown wrote: > > > > I don't think they're bus specific - the main issue with a lot of this > > > is that they're outside the infrastruct

Re: [PATCH v3 07/12] dma: edma: Add function to dump a PaRAM set from PaRAM

2013-08-12 Thread Joel Fernandes
On 08/12/2013 12:52 AM, Sekhar Nori wrote: > On Monday 05 August 2013 09:44 PM, Joel Fernandes wrote: >> Previously, such a dump function was used but it wasn't reading >> from the PaRAM, rather just from a edmacc_param structure, we >> add a helpful function for debugging that directly reads from

Re: [PATCH v3 08/12] dma: edma: Add one more required slot to MAX slots

2013-08-12 Thread Joel Fernandes
On 08/12/2013 12:56 AM, Sekhar Nori wrote: > On Monday 05 August 2013 09:44 PM, Joel Fernandes wrote: >> We'd now need a separate slot just for the channel and separate >> ones for the 2 linked sets, so we make adjustments to allocate >> an extra channel accordingly. >> >> Signed-off-by: Joel Ferna

Re: [PATCH V3 RFC 00/16] EFI stub for ARM

2013-08-12 Thread Roy Franz
On Mon, Aug 12, 2013 at 7:02 AM, Mark Salter wrote: > On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: >> * Change FDT memory allocation to retry with a larger allocation if >> first educated guess is inadequate. > > With this change, it looks like you no longer free the original cmdline > an

[PATCH 1/2] cpuset: remove an unncessary forward declaration

2013-08-12 Thread Li Zefan
Signed-off-by: Li Zefan --- kernel/cpuset.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/cpuset.c b/kernel/cpuset.c index bf69717..9d8d637 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c @@ -68,9 +68,6 @@ */ int number_of_cpusets __read_mostly; -/* Forward declare cgroup

[PATCH 2/2] cpuset: remove redundant checks in file write functions

2013-08-12 Thread Li Zefan
Now cgroup core gets a reference to the css when a cgroup file is opened(), and the reference is dropped at file release. so it's guaranteed the cpuset is online during the write function. Signed-off-by: Li Zefan --- kernel/cpuset.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-

Re: [PATCHSET cgroup/for-3.12] cgroup: decouple cgroup_subsys_state lifetime from that of cgroup

2013-08-12 Thread Li Zefan
On 2013/8/9 4:13, Tejun Heo wrote: > Hello, > > Currently a css's (cgroup_subsys_state) lifetime is tied to that of > the cgroup it's attached to. css's are created when the cgroup is > created and destroyed together. The access rules depend on it too - > e.g. css's can be dereferenced while hol

[PATCH] Update e-mail address for Andrea Merello

2013-08-12 Thread andrea.merello
From: "andrea.merello" A lot of files contains reference to my old e-mail address. Now I'm going not to read mail from it anymore, so update it with my current address everywhere. Signed-off-by: andrea.merello --- drivers/net/wireless/rtl818x/rtl8180/dev.c | 6 +++--- drivers/n

Re: [ANNOUNCE] 3.10.6-rt3

2013-08-12 Thread Carsten Emde
On 08/13/2013 02:47 AM, Paul Gortmaker wrote: On Mon, Aug 12, 2013 at 3:48 PM, Steven Rostedt wrote: On Mon, 12 Aug 2013 18:34:13 +0200 Sebastian Andrzej Siewior wrote: Dear RT folks! I'm pleased to announce the v3.10.6-rt3 patch set. Does this mean that I can drop 3.6-rt in favor of 3.8-

Re: [PATCH 8/8] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
On 2013/8/13 4:04, David Miller wrote: > From: Sergei Shtylyov > Date: Mon, 12 Aug 2013 22:17:47 +0400 > >>Doesn't get described as well. I think you're mixing two types of >>changes in one patchset. > > Agreed, you're going to have to redo this entire patch set. > okay, I will redo!

Re: [PATCH 8/8] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
On 2013/8/13 2:17, Sergei Shtylyov wrote: > On 08/12/2013 05:25 PM, Libo Chen wrote: > >> Use the wrapper functions for getting and setting the driver data using >> platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev, >> so we can directly pass a struct platform_device. > >>

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

2013-08-12 Thread Stephen Rothwell
Hi Theodore, Today's linux-next merge of the ext4 tree got a conflict in fs/ext4/ioctl.c between commit cde2d7a796f7 ("ext4: flush the extent status cache during EXT4_IOC_SWAP_BOOT") from Linus' tree and commit 0dee1a241030 ("ext4: swap all the extent_status LRU fields during EXT4_IOC_SWAP_BOOT")

Re: ZRAM 3.10.6 Buffer I/O error

2013-08-12 Thread Minchan Kim
Hello, On Mon, Aug 12, 2013 at 07:39:46PM +0300, Thomas Backlund wrote: > 12.08.2013 17:27, Jordi Pujol skrev: > >Hello, > > > >zram shows an error when mounting a swap partition, > >current version Linux kernel 3.10.6, > >previous versions worked, I suppose that latest zram patches have some > >p

Re: pty FIONREAD returning zero breaks emacs in 3.11rc3

2013-08-12 Thread Peter Hurley
On 08/09/2013 05:11 PM, Andi Kleen wrote: When I run emacs over ssh terminal (no X) on 3.11-rc3 it often ignores key strokes. I first thought the system was busy or so, but when stracing the emacs it was not blocked. Andi, More information might help me narrow this down since I can't reprodu

Re: [PATCH] mm: fix special swap entry handling on copy mm

2013-08-12 Thread Naoya Horiguchi
On Mon, Aug 12, 2013 at 05:49:37PM -0400, Jerome Glisse wrote: > On Mon, Aug 12, 2013 at 05:36:40PM -0400, Naoya Horiguchi wrote: > > Hi Jerome, > > > > On Mon, Aug 12, 2013 at 11:43:24AM -0400, j.gli...@gmail.com wrote: > > > From: Jerome Glisse > > > > > > Prior to this copy_one_pte will never

Re: [PATCH v4 2/2] mm: make lru_add_drain_all() selective

2013-08-12 Thread Chris Metcalf
On 8/12/2013 5:05 PM, Andrew Morton wrote: > On Wed, 7 Aug 2013 16:52:22 -0400 Chris Metcalf wrote: > >> This change makes lru_add_drain_all() only selectively interrupt >> the cpus that have per-cpu free pages that can be drained. >> >> This is important in nohz mode where calling mlockall(), for

[PATCH][3.11] cpuset: fix the return value of cpuset_write_u64()

2013-08-12 Thread Li Zefan
Writing to this file always returns -ENODEV: # echo 1 > cpuset.memory_pressure_enabled -bash: echo: write error: No such device Signed-off-by: Li Zefan Cc: # 3.9+ --- kernel/cpuset.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/cpuset.c b/kernel/cpuset.c

<    1   2   3   4   5   6   7   8   >