Re: [PATCH 00/49] Automatic NUMA Balancing v10

2012-12-10 Thread Ingo Molnar
* Ingo Molnar wrote: > > reasons. As it turns out, a printk() bodge showed that > > nr_cpus_allowed == 80 set in sched_init_smp() while > > num_online_cpus() == 48. This effectively disabling > > numacore. If you had responded to the bug report, this would > > likely have been found last Wed

Re: [PATCH V2] MCE: fix an error of mce_bad_pages statistics

2012-12-10 Thread Xishi Qiu
On 2012/12/10 19:39, Wanpeng Li wrote: > On Mon, Dec 10, 2012 at 07:16:50PM +0800, Xishi Qiu wrote: >> On 2012/12/10 18:47, Simon Jeons wrote: >> >>> On Mon, 2012-12-10 at 17:06 +0800, Xishi Qiu wrote: On 2012/12/10 16:33, Wanpeng Li wrote: > On Fri, Dec 07, 2012 at 02:11:02PM -0800,

RE: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-12-10 Thread Andrzej Pietrasiewicz
Hello Joel, So you are alive, I'm glad to hear from you ;) Thank you for your response. On Saturday, December 08, 2012 12:18 AM Joel Becker wrote: > Subject: Re: [RFC][PATCH] fs: configfs: programmatically create config > groups > > Hey Guys, > Sorry I missed this for a while. I'll make a

Re: [PATCH V2] MCE: fix an error of mce_bad_pages statistics

2012-12-10 Thread Simon Jeons
On Mon, 2012-12-10 at 19:16 +0800, Xishi Qiu wrote: > On 2012/12/10 18:47, Simon Jeons wrote: > > > On Mon, 2012-12-10 at 17:06 +0800, Xishi Qiu wrote: > >> On 2012/12/10 16:33, Wanpeng Li wrote: > >> > >>> On Fri, Dec 07, 2012 at 02:11:02PM -0800, Andrew Morton wrote: > On Fri, 7 Dec 2012 16

[RFC PATCH] ARM: EXYNOS5: Support Exynos5-bus devfreq driver

2012-12-10 Thread Abhilash Kesavan
- Setup the INT clock ops to control/vary INT frequency - Add mappings initially for the PPMU device Signed-off-by: Abhilash Kesavan --- Corresponding devfreq driver support for Exynos5 has been posted at: https://patchwork.kernel.org/patch/1823931/ Tested after merging for-rafael branch of git:

Re: [PATCH 11/12] ARM: ux500: Use the GPIO regulator framework for SDI0's 'en' and 'vsel'

2012-12-10 Thread Ulf Hansson
On 10 December 2012 11:30, Lee Jones wrote: >> > +.constraints = { >> > +.min_uV = 180, >> >> 2.9V, not 3.3V > >> > +static struct gpio_regulator_state sdi0_reg_states[] = { >> > +{ .value = 330, .gpios = (0 << 0) }, >> >> 2.9V, not 3.3V > > I'm stil

Re: [PATCH V2] MCE: fix an error of mce_bad_pages statistics

2012-12-10 Thread Borislav Petkov
On Mon, Dec 10, 2012 at 07:54:53PM +0800, Xishi Qiu wrote: > One more question, can we add a list_head to manager the poisoned pages? What would you need that list for? Also, a list is not the most optimal data structure for when you need to traverse it often. Thanks. -- Regards/Gruss, Bori

Re: [Xen-devel] [PATCH 2/2] xen-blkfront: implement safe version of llist_for_each_entry

2012-12-10 Thread Roger Pau Monné
On 07/12/12 21:20, Konrad Rzeszutek Wilk wrote: > On Tue, Dec 04, 2012 at 03:21:53PM +0100, Roger Pau Monne wrote: >> Implement a safe version of llist_for_each_entry, and use it in >> blkif_free. Previously grants where freed while iterating the list, >> which lead to dereferences when trying to f

[RFC PATCH] sched: rt: fix selecting runqueue for task to be pushed

2012-12-10 Thread Hillf Danton
When we are trying to push task out, no point to select the last cpu that the given task executed on, which is fixed by selecting target cpu with cache affinity concerned, and with SD_WAKE_AFFINE ignored as we are not handling sleeper. [based on upstream] Signed-off-by: Hillf Danton --- --- a/k

Re: [PATCH 11/12 v2] ARM: ux500: Use the GPIO regulator framework for SDI0's 'en' and 'vsel'

2012-12-10 Thread Ulf Hansson
On 10 December 2012 12:08, Lee Jones wrote: > To prevent lots of unnecessary call-backs into platform code, we're > now using the GPIO regulator framework to control the 'enable' (en) > and 'voltage select' (vsel) GPIO pins which in turn control the > MMCI's secondary regulator settings. This alre

Re: [PATCH 5/5] rtl8712: replace leading spaces with tab

2012-12-10 Thread Dan Carpenter
On Mon, Dec 10, 2012 at 03:49:46AM -0800, Joe Perches wrote: > On Mon, 2012-12-10 at 12:46 +0300, Dan Carpenter wrote: > > On Sun, Dec 09, 2012 at 10:15:10AM +, Przemo Firszt wrote: > > > Replace leading spaces with tab > [] > > > diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > >

Re: [RFC v2] Add mempressure cgroup

2012-12-10 Thread Bartlomiej Zolnierkiewicz
On Monday 10 December 2012 10:58:38 Anton Vorontsov wrote: > +static void consume_memory(void) > +{ > + unsigned int i = 0; > + unsigned int j = 0; > + > + puts("consuming memory..."); > + > + while (1) { > + pthread_mutex_lock(&locks[i]); > + if (!chunks[i]

Re: [dm-devel] [PATCH 0/3] add resync speed control for dm-raid1

2012-12-10 Thread Guangliang Zhao
On Mon, Dec 10, 2012 at 01:21:23PM +1100, NeilBrown wrote: > On Thu, 22 Nov 2012 14:27:50 +0800 Guangliang Zhao wrote: > > > Hi, > > > > These patches are used to add resync speed control for dm-raid1. The > > second and third patch provide support for user-space tool dmsetup. > > > > Guanglian

Re: [PATCH 4/7] uprobes: Kill uprobe_consumer->filter()

2012-12-10 Thread Srikar Dronamraju
* Oleg Nesterov [2012-11-23 21:28:10]: > uprobe_consumer->filter() is pointless in its current form, kill it. > > We will add it back, but with the different signature/semantics. Perhaps > we will even re-introduce the callsite in handler_chain(), but not to > just skip uc->handler(). > > Signe

Re: NUMA performance comparison between three NUMA kernels and mainline. [Mid-size NUMA system edition.]

2012-12-10 Thread Mel Gorman
On Fri, Dec 07, 2012 at 10:53:57PM +0100, Ingo Molnar wrote: > > Here's a (strongly NUMA-centric) performance comparison of the > three NUMA kernels: the 'balancenuma-v10' tree from Mel, the > AutoNUMA-v28 kernel from Andrea and the unified NUMA -v3 tree > Peter and me are working on. > > The

Re: [PATCH 0/7] nfsd: cleanup "init_net" references

2012-12-10 Thread J. Bruce Fields
On Mon, Dec 10, 2012 at 12:18:59PM +0300, Stanislav Kinsbursky wrote: > Hard-coded "init_net" pointer is widely used in NFSd code. > This patch replaces "init_net" references by passed struct net pointer where > requied. > In future, proper network namespace context will be taken from NFSd file > s

Re: [Devel] [PATCH 3/6] nfsd: pass net to nfsd_create_serv()

2012-12-10 Thread J. Bruce Fields
On Mon, Dec 10, 2012 at 01:16:57PM +0400, Stanislav Kinsbursky wrote: > 10.12.2012 12:25, Stanislav Kinsbursky пишет: > >07.12.2012 20:52, J. Bruce Fields пишет: > >>On Tue, Dec 04, 2012 at 04:50:16PM +0300, Stanislav Kinsbursky wrote: > >>>diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c > >>>inde

Re: [PATCH 5/7] uprobes: Introduce filter_chain()

2012-12-10 Thread Srikar Dronamraju
* Oleg Nesterov [2012-11-23 21:28:12]: > Add the new helper filter_chain(). Currently it is only placeholder, > the comment explains what is should do. We will change it later to > consult every consumer to decide whether we need to install the swbp. > Until then it works as if any consumer retur

Re: [PATCH 00/49] Automatic NUMA Balancing v10

2012-12-10 Thread Ingo Molnar
hi Srikar, * Srikar Dronamraju wrote: > > > > Either way, last night I applied a patch on top of latest tip/master to > > remove the nr_cpus_allowed check so that numacore would be enabled again > > and tested that. In some places it has indeed much improved. In others > > it is still regressi

Re: [PATCH] I2C: EXYNOS: Add slave support to i2c

2012-12-10 Thread Russell King - ARM Linux
On Mon, Dec 10, 2012 at 03:02:28PM +0530, Giridhar Maruthy wrote: > Hi Russel, > > Thanks for review and please find my replies below. > > On 7 December 2012 18:03, Russell King - ARM Linux > wrote: > > On Fri, Dec 07, 2012 at 05:33:17PM +0530, Tushar Behera wrote: > >> On 12/03/2012 05:46 PM, G

Re: [PATCH v2 0/1] Input: xpad - Implement wireless controller LED setting and fix connect time LED setting

2012-12-10 Thread Chris Moeller
On Mon, 10 Dec 2012 02:58:25 -0800 Chris Moeller wrote: > On Sun, 2 Dec 2012 23:43:18 -0800 > Dmitry Torokhov wrote: > > > On Fri, Nov 30, 2012 at 08:13:29PM -0800, Chris Moeller wrote: > > > On Fri, 30 Nov 2012 14:30:23 -0800 > > > Dmitry Torokhov wrote: > > > > > > > Hi Chris, > > > > > >

[PATCH] sched: Fix task_numa_fault() + KSM crash

2012-12-10 Thread Ingo Molnar
Srikar Dronamraju reported that the following assert triggers on his box: kernel BUG at ../kernel/sched/fair.c:2371! Call Trace: [] __do_numa_page+0xde/0x160 [] handle_pte_fault+0x32e/0xcd0 [] ? drop_large_spte+0x30/0x30 [kvm] [] ? kvm_set_spte_hva+0x25/0x30 [kvm]

Re: [PATCH V2] MCE: fix an error of mce_bad_pages statistics

2012-12-10 Thread Simon Jeons
Cc other guys. On Mon, 2012-12-10 at 20:40 +0800, Xishi Qiu wrote: > On 2012/12/10 19:56, Simon Jeons wrote: > > > On Mon, 2012-12-10 at 19:16 +0800, Xishi Qiu wrote: > >> On 2012/12/10 18:47, Simon Jeons wrote: > >> > >>> On Mon, 2012-12-10 at 17:06 +0800, Xishi Qiu wrote: > On 2012/12/10 1

[PATCH 0/4] regulator: s5m8767: Small fixes and device support

2012-12-10 Thread Amit Daniel Kachhap
These patch series contains 3 small fixes and device tree support for pmic component of s5m8767 regulator driver. Amit Daniel Kachhap (4): regulator: s5m8767: Fix to work when platform registers less regulators regulator: s5m8767: Fix to read the first DVS register. regulator: s5m8767:

[PATCH 2/4] regulator: s5m8767: Fix to read the first DVS register.

2012-12-10 Thread Amit Daniel Kachhap
This patch modifies the DVS register read function to select correct DVS1 register. This change is required because the GPIO select pin is 000 in unintialized state and hence selects the DVS1 register. Signed-off-by: Amit Daniel Kachhap --- drivers/regulator/s5m8767.c |6 +++--- 1 files chan

[PATCH 3/4] regulator: s5m8767: Fix to work even if no DVS gpio present

2012-12-10 Thread Amit Daniel Kachhap
Signed-off-by: Amit Daniel Kachhap --- drivers/regulator/s5m8767.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c index 7ed7591..9f991f2 100644 --- a/drivers/regulator/s5m8767.c +++ b/drivers/regu

[PATCH 4/4] regulator: add device tree support for s5m8767

2012-12-10 Thread Amit Daniel Kachhap
Add device tree based discovery support for pmic block of s5m8767 Signed-off-by: Amit Daniel Kachhap --- .../bindings/regulator/s5m8767-regulator.txt | 133 ++ drivers/mfd/sec-core.c | 75 - drivers/regulator/s5m8767.c

[PATCH 1/4] regulator: s5m8767: Fix to work when platform registers less regulators

2012-12-10 Thread Amit Daniel Kachhap
Signed-off-by: Amit Daniel Kachhap --- drivers/regulator/s5m8767.c | 17 + 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c index 2b822be..df0b094 100644 --- a/drivers/regulator/s5m8767.c +++ b/drivers/regu

Re: [PATCH v2 03/44] Add CONFIG_HAVE_64BIT_ALIGNED_STRUCT for taskstats

2012-12-10 Thread Geert Uytterhoeven
On Mon, Dec 10, 2012 at 11:22 AM, James Hogan wrote: > On 08/12/12 03:43, H. Peter Anvin wrote: >> On 12/05/2012 08:08 AM, James Hogan wrote: >>> On 64 bit architectures with no efficient unaligned access, taskstats >>> has to add some padding to a reply to prevent unaligned access warnings. >>> H

Re: [PATCH] ARM: ftrace: Ensure code modifications are synchronised across all cpus

2012-12-10 Thread Steven Rostedt
On Mon, 2012-12-10 at 10:04 +, Will Deacon wrote: > Hi Jon, > > Back-pedalling a bit here, but I'm confused by one of your points below: > > On Fri, Dec 07, 2012 at 05:45:47PM +, Jon Medhurst (Tixy) wrote: > > On Fri, 2012-12-07 at 12:13 -0500, Steven Rostedt wrote: > > > I'll make my que

Re: [PATCH 3/3] iio: add rtc-driver for HID sensors of type time

2012-12-10 Thread Alexander Holler
Am 09.12.2012 20:20, schrieb Lars-Peter Clausen: I agree with what you wrote above. It just doesn't make sense to register a IIO device for a RTC type device. Just rip out all the IIO related bits from the driver and it will be fine. Ah, I misunderstood you. Yes, you are right. As I already ha

Re: [PATCH v2] Add the values related to buddy system for filtering free pages.

2012-12-10 Thread Vivek Goyal
On Mon, Dec 10, 2012 at 10:39:13AM +0900, Atsushi Kumagai wrote: > This patch adds the values related to buddy system to vmcoreinfo data > so that makedumpfile (dump filtering command) can filter out all free > pages with the new logic. > It's faster than the current logic because it can distinguis

Re: [PATCH 1/2] ARM: net: bpf_jit_32: fix kzalloc gfp/size mismatch.

2012-12-10 Thread Russell King - ARM Linux
On Mon, Dec 10, 2012 at 02:18:59PM +0100, Nicolas Schichan wrote: > On 12/08/2012 12:04 AM, Mircea Gherzan wrote: >> Am 06.12.2012 15:38, schrieb Nicolas Schichan: > [...] >> Acked-by: Mircea Gherzan > > Hi, > > Thanks for acking those two patches. > > Shall I send them to the patch system now ? Y

Re: [PATCH v2 0/1] Input: xpad - Implement wireless controller LED setting and fix connect time LED setting

2012-12-10 Thread Chris Moeller
On Mon, 10 Dec 2012 04:43:54 -0800 Chris Moeller wrote: > On Mon, 10 Dec 2012 02:58:25 -0800 > Chris Moeller wrote: > > > On Sun, 2 Dec 2012 23:43:18 -0800 > > Dmitry Torokhov wrote: > > > > > On Fri, Nov 30, 2012 at 08:13:29PM -0800, Chris Moeller wrote: > > > > On Fri, 30 Nov 2012 14:30:23

[PATCH] [SCSI] Remove reference to dropped scsi_wait_scan module

2012-12-10 Thread Petr Uzel
scsi_wait_scan module has been dropped by commit 6072609d9bb91ff54aee. Don't reference it in Kconfig. Signed-off-by: Petr Uzel --- drivers/scsi/Kconfig |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 74bf1aa..a392ca

Re: [PATCH 1/2] ARM: net: bpf_jit_32: fix kzalloc gfp/size mismatch.

2012-12-10 Thread Nicolas Schichan
On 12/08/2012 12:04 AM, Mircea Gherzan wrote: Am 06.12.2012 15:38, schrieb Nicolas Schichan: [...] Acked-by: Mircea Gherzan Hi, Thanks for acking those two patches. Shall I send them to the patch system now ? Regards, -- Nicolas Schichan Freebox SAS -- To unsubscribe from this list: send

Re: [PATCH] ARM: ftrace: Ensure code modifications are synchronised across all cpus

2012-12-10 Thread Will Deacon
On Mon, Dec 10, 2012 at 01:02:17PM +, Steven Rostedt wrote: > On Mon, 2012-12-10 at 10:04 +, Will Deacon wrote: > > Hi Jon, > > > > Back-pedalling a bit here, but I'm confused by one of your points below: > > > > On Fri, Dec 07, 2012 at 05:45:47PM +, Jon Medhurst (Tixy) wrote: > > > O

Re: [PATCH] ARM: ftrace: Ensure code modifications are synchronised across all cpus

2012-12-10 Thread Jamie Lokier
Steven Rostedt wrote: > > Yes, and I think if you do use two 16-bit nops, you can even get rid of all > > the intermediate `sync' operations (I guess you might want one at the end if > > you want the call to become visible at a particular point). > > Wont work. We are replacing a 32bit call with a

[PATCH v4 7/7] x86: add CONFIG_ARM_AMBA, selected by STA2X11

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini The sta2x11 I/O Hub is a bridge from PCIe to AMBA. It reuses a number of amba drivers and needs to activate core bus support. Signed-off-by: Alessandro Rubini Acked-by: Giancarlo Asnaghi --- arch/x86/Kconfig |4 1 file changed, 4 insertions(+) diff --git a/ar

[PATCH v4 1/7] DMA: PL330: use prefix in reg names to build under x86

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini This driver would not compile if ARM_AMBA is selected under x86, because "CS" and "DS" are already defined there. But AMBA is used in the x86 world by a PCI-to-AMBA bridge, to be submitted. The patch just adds the "PL330_" prefix to all registers, so

[PATCH v4 4/7] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

2012-12-10 Thread Davide Ciminaghi
Not all the architectures have readsl/writesl, use the more portable ioread32_rep/iowrite32_rep functions instead. Signed-off-by: Davide Ciminaghi --- drivers/mmc/host/mmci.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host

[PATCH v4 5/7] mmc: use the new

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini Signed-off-by: Alessandro Rubini Acked-by: Giancarlo Asnaghi --- drivers/mmc/host/mmci.c |2 +- drivers/mmc/host/msm_sdcc.c |2 +- drivers/mmc/host/mvsdio.c |2 +- drivers/mmc/host/mxcmmc.c |2 +- drivers/mmc/host/pxamci.c |3 +-- 5 files c

[PATCH v4 3/7] watchdog: sp805_wdt depends on ARM

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini The SP805 driver is only used by the Spear machines, and uses writel_relaxed, which is not available on all architectures. The dependency from CONFIG_ARM avoids compilation problems under randomconfig when CONFIG_ARM_AMBA is enabled for x86 builds. Signed-off-by: Alessan

Re: [PATCH 1/4] perf hists: Exchange order of comparing items when collapsing hists

2012-12-10 Thread Jiri Olsa
On Mon, Dec 10, 2012 at 05:29:54PM +0900, Namhyung Kim wrote: > From: Namhyung Kim > > When comparing entries for collapsing put the given entry first, and > then the iterated entry. This is not the case of hist_entry__cmp() > when called if given sort keys don't require collapsing. So change >

[PATCH v4 2/7] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini The header is used by drivers/dma/amba-pl08x.c, which can be compiled under x86, where PL080 exists under a PCI-to-AMBA bridge. This patche moves it where it can be accessed by other architectures, and fixes all users. Signed-off-by: Alessandro Rubini Acked-by: Giancarlo

[PATCH v4 0/7] enable support for AMBA drivers under x86

2012-12-10 Thread Davide Ciminaghi
additional information for reviewers (see https://lkml.org/lkml/2012/11/23/415). * 3/8 was generated with git format-patch -C -M to detect copies and moves (see https://lkml.org/lkml/2012/11/23/404). Changes in v4 are: * Rebased to next-20121210 * All patches generated with git format-patch -C -M

[PATCH v4 6/7] drivers/amba: add support for a PCI bridge

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini This is a PCI driver that registers AMBA devices for the range of supported devices. It is currently used by STA2X11, which exports AMBA peripherals under PCIe. The original AMBA drivers work with no changes or minimal ones. Signed-off-by: Alessandro Rubini Acked-by: G

Re: [PATCH 5/5] rtl8712: replace leading spaces with tab

2012-12-10 Thread Joe Perches
On Mon, 2012-12-10 at 15:21 +0300, Dan Carpenter wrote: > On Mon, Dec 10, 2012 at 03:49:46AM -0800, Joe Perches wrote: > > checkpatch parenthesis alignment of arguments checks are > > emitted only when adding --strict to the command line. > Even with --strict checkpatch.pl is fine with the original

Re: [PATCH 10/10] kvm: Increase user memory slots on x86 to 125

2012-12-10 Thread Takuya Yoshikawa
On Fri, 07 Dec 2012 09:09:39 -0700 Alex Williamson wrote: > On Fri, 2012-12-07 at 23:02 +0900, Takuya Yoshikawa wrote: > > On Thu, 06 Dec 2012 15:21:26 -0700 > > Alex Williamson wrote: > > > > > With the 3 private slots, this gives us a nice round 128 slots total. > > > > So I think this patch

Re: [PATCH 1/2] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2012-12-10 Thread Viresh Kumar
On 10 December 2012 17:06, Andy Shevchenko wrote: > The same information could be exctracted from the struct dma_chan. > > The patch introduces two helpers dwc_get_src_data_width() and > dwc_get_dst_data_width() as well. > > Signed-off-by: Andy Shevchenko > --- > drivers/dma/dw_dmac.c | 2

Re: [PATCH 2/2] dw_dmac: check for mapping errors

2012-12-10 Thread Viresh Kumar
On 10 December 2012 17:06, Andy Shevchenko wrote: > Otherwise we get a warning in case of CONFIG_DMA_API_DEBUG=y > > [ 45.775943] WARNING: at lib/dma-debug.c:933 check_unmap+0x5d6/0x6ac() > [ 45.782369] dw_dmac dw_dmac.0: DMA-API: device driver failed to check map > error[device address=0x000

Re: [PATCH] ARM: ftrace: Ensure code modifications are synchronised across all cpus

2012-12-10 Thread Russell King - ARM Linux
On Mon, Dec 10, 2012 at 08:02:17AM -0500, Steven Rostedt wrote: > On Mon, 2012-12-10 at 10:04 +, Will Deacon wrote: > > Yes, and I think if you do use two 16-bit nops, you can even get rid of all > > the intermediate `sync' operations (I guess you might want one at the end if > > you want the c

Re: [PATCH] ARM: ftrace: Ensure code modifications are synchronised across all cpus

2012-12-10 Thread Steven Rostedt
On Mon, 2012-12-10 at 11:24 +, Will Deacon wrote: > On Mon, Dec 10, 2012 at 11:04:05AM +, Jon Medhurst (Tixy) wrote: > > On Fri, 2012-12-07 at 19:02 +, Will Deacon wrote: > > > For ARMv7, there are small subsets of instructions for ARM and Thumb which > > > are guaranteed to be atomic w

Re: [PATCH 1/1] gpio: add Lynxpoint chipset gpio driver.

2012-12-10 Thread Mathias Nyman
On 12/10/2012 11:48 AM, Linus Walleij wrote: On Fri, Dec 7, 2012 at 3:01 PM, Mathias Nyman wrote: Add gpio support for Intel Lynxpoint chipset. Lynxpoint supports 94 gpio pins which can generate interrupts. Driver will fail requests for pins that are marked as owned by ACPI, or set in an alte

Re: [PATCH] ARM: ftrace: Ensure code modifications are synchronised across all cpus

2012-12-10 Thread Steven Rostedt
On Mon, 2012-12-10 at 13:57 +, Russell King - ARM Linux wrote: > On Mon, Dec 10, 2012 at 08:02:17AM -0500, Steven Rostedt wrote: > > On Mon, 2012-12-10 at 10:04 +, Will Deacon wrote: > > > Yes, and I think if you do use two 16-bit nops, you can even get rid of > > > all > > > the intermedi

Re: [PATCH] ARM: ftrace: Ensure code modifications are synchronised across all cpus

2012-12-10 Thread Russell King - ARM Linux
On Mon, Dec 10, 2012 at 09:06:05AM -0500, Steven Rostedt wrote: > On Mon, 2012-12-10 at 13:57 +, Russell King - ARM Linux wrote: > > On Mon, Dec 10, 2012 at 08:02:17AM -0500, Steven Rostedt wrote: > > > On Mon, 2012-12-10 at 10:04 +, Will Deacon wrote: > > > > Yes, and I think if you do use

Re: [PATCH 01/12] regulator: gpio-regulator: Demote GPIO Regulator driver to start later

2012-12-10 Thread Mark Brown
On Mon, Dec 10, 2012 at 08:55:50AM +, Lee Jones wrote: > The normal course of action would be to defer the MMCI driver too, > but these IOS level-shifter regulators aren't present on all > platforms, so deferring until one is found would be incorrect. > So the best solution is to demote the G

Re: [PATCH 1/3] ARM: MM: Add the workaround of Errata 774769

2012-12-10 Thread Santosh Shilimkar
On Monday 10 December 2012 05:28 AM, Boojin Kim wrote: This patch adds the workaround of Errata 774769 that configures write streaming on versions of A15 affected by this erratum such that no streaming-write ever allocates into the L2 cache. Signed-off-by: Boojin Kim --- arch/arm/Kconfig

Re: [PATCH 02/12] regulator: gpio-regulator: Only read GPIO [dis|en]able pin if not always-on

2012-12-10 Thread Mark Brown
On Mon, Dec 10, 2012 at 08:55:51AM +, Lee Jones wrote: > If a regulator is specified as always-on, then it can't have an > enable/disable pin, as it can't be turned off. Sometimes always on gets set for regulators which do have a physical control wired up - the control might exist for use in s

Re: [PATCH 03/12] regulator: gpio-regulator: Fix logical error in for() loop

2012-12-10 Thread Mark Brown
On Mon, Dec 10, 2012 at 08:55:52AM +, Lee Jones wrote: > The cond-statement of this particular for() loop will always be > true as long as at least one voltage-shifting GPIO is present. > If it wasn't for the break below, we'd be stuck in a forever loop. > This patch inserts the correct cond-st

Re: [PATCH 04/12] regulator: gpio-regulator: gpio_set_value should use cansleep

2012-12-10 Thread Mark Brown
On Mon, Dec 10, 2012 at 08:55:53AM +, Lee Jones wrote: > If it's possible for gpio_set_value to sleep, we should be using > the *_cansleep call instead. This patch fixes multiple warnings > from gpiolib. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel

Re: [PATCH 1/3] ARM: MM: Add the workaround of Errata 774769

2012-12-10 Thread Russell King - ARM Linux
On Mon, Dec 10, 2012 at 07:40:06PM +0530, Santosh Shilimkar wrote: > Whats the stand on such erratas ? I saw on one of thread one of > you suggesting to stop patching kernel where secure/non-secure > kernel will need different errata WA. Well, yes, there's that too. I think were we got to was dec

RE: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-12-10 Thread Andrzej Pietrasiewicz
@Joel in particular: please see my comment in the bottom. On Monday, December 10, 2012 12:57 PM I wrote: > Subject: RE: [RFC][PATCH] fs: configfs: programmatically create config > groups > > Hello Joel, > > So you are alive, I'm glad to hear from you ;) Thank you for your response. > > On Satur

Re: [PATCH 1/3] ARM: MM: Add the workaround of Errata 774769

2012-12-10 Thread Santosh Shilimkar
On Monday 10 December 2012 07:46 PM, Russell King - ARM Linux wrote: On Mon, Dec 10, 2012 at 07:40:06PM +0530, Santosh Shilimkar wrote: Whats the stand on such erratas ? I saw on one of thread one of you suggesting to stop patching kernel where secure/non-secure kernel will need different errata

Re: [PATCH 1/1] mmc: sdhci-acpi: enable runtime-pm for device HID INT33C6

2012-12-10 Thread Chris Ball
Hi, On Mon, Dec 10 2012, Adrian Hunter wrote: > sdhci-acpi supports ACPI devices which have compatibility ID > PNP0D40, however it is not possible to know if those devices > will all work correctly with runtime-pm, so that must be configured > per hardware ID. Acked-by: Chris Ball - Chris. --

Re: [RFC PATCH] sched: rt: fix selecting runqueue for task to be pushed

2012-12-10 Thread Steven Rostedt
On Mon, 2012-12-10 at 20:19 +0800, Hillf Danton wrote: > When we are trying to push task out, no point to select the last cpu that > the given task executed on, which is fixed by selecting target cpu with > cache affinity concerned, and with SD_WAKE_AFFINE ignored as we are not > handling sleeper.

Re: [RFC] Capabilities still can't be inherited by normal programs

2012-12-10 Thread Serge Hallyn
Quoting Andrew G. Morgan (mor...@kernel.org): > I'm still missing something with the problem definition. > > So far if I follow the discussion we have determined that inheritance as > implemented is OK except for the fact that giving user an inheritable pI > bit which gives them default permission

Re: [PATCH 01/12] regulator: gpio-regulator: Demote GPIO Regulator driver to start later

2012-12-10 Thread Lee Jones
On Mon, 10 Dec 2012, Mark Brown wrote: > On Mon, Dec 10, 2012 at 08:55:50AM +, Lee Jones wrote: > > > The normal course of action would be to defer the MMCI driver too, > > but these IOS level-shifter regulators aren't present on all > > platforms, so deferring until one is found would be inc

Re: [PATCH RT 2/2][RFC] let RCU stall messages escape with CONFIG_PREEMPT_RT_FULL

2012-12-10 Thread Paul E. McKenney
On Tue, Dec 04, 2012 at 08:52:21PM -0800, Frank Rowand wrote: > > The printk()s in RCU stall warnings do not get flushed to the console > on ARM. Add the oops_in_progress flag back into the special trylock case in > console_trylock_for_printk(), and set the flag using "bust_spinlocks(1)". > This

Re: linux-next: fetch failure the xilinx tree

2012-12-10 Thread Lars-Peter Clausen
On 12/09/2012 06:24 AM, Stephen Rothwell wrote: > Hi John, > > Attempting to fetch the xilinx tree produces this error (and has for some > days, now): > > fatal: The remote end hung up unexpectedly > They renamed the repository from linux-2.6-xlnx to linux-xlnx. I stumbled over it as well. - L

Re: [PATCH 01/12] regulator: gpio-regulator: Demote GPIO Regulator driver to start later

2012-12-10 Thread Mark Brown
On Mon, Dec 10, 2012 at 02:28:36PM +, Lee Jones wrote: > On Mon, 10 Dec 2012, Mark Brown wrote: > > This really isn't a good solution, especially not for a system that's DT > > based - on a DT system we can tell if there should be a GPIO present so > > we should be able to defer only when ther

Re: [RFC] Capabilities still can't be inherited by normal programs

2012-12-10 Thread Serge Hallyn
Quoting Andrew G. Morgan (mor...@kernel.org): > > It breaks down because, currently, users with nonzero pI have no > > direct ability to wield the capabilities. That means that every > > single binary with fI bits set needs to be as careful as a setuid-root > > binary to avoid leaking privilege to

[PATCHv2 1/2] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2012-12-10 Thread Andy Shevchenko
The same information could be exctracted from the struct dma_chan. The patch introduces helper function dwc_get_data_width() as well. Signed-off-by: Andy Shevchenko --- drivers/dma/dw_dmac.c | 19 --- drivers/dma/dw_dmac_regs.h |3 --- 2 files changed, 12 insertions(+)

[PATCHv2 2/2] dw_dmac: check for mapping errors

2012-12-10 Thread Andy Shevchenko
Otherwise we get a warning in case of CONFIG_DMA_API_DEBUG=y [ 45.775943] WARNING: at lib/dma-debug.c:933 check_unmap+0x5d6/0x6ac() [ 45.782369] dw_dmac dw_dmac.0: DMA-API: device driver failed to check map error[device address=0x356efcc0] [size=28 bytes] [mapped as single] Signed-of

Re: [RFC PATCH 0/8] remove vm_struct list management

2012-12-10 Thread JoonSoo Kim
Hello, Vivek. 2012/12/7 Vivek Goyal : > On Fri, Dec 07, 2012 at 10:16:55PM +0900, JoonSoo Kim wrote: >> 2012/12/7 Andrew Morton : >> > On Fri, 7 Dec 2012 01:09:27 +0900 >> > Joonsoo Kim wrote: >> > >> >> I'm not sure that "7/8: makes vmlist only for kexec" is fine. >> >> Because it is related to

Re: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-12-10 Thread Felipe Balbi
Hi, On Mon, Dec 10, 2012 at 03:17:34PM +0100, Andrzej Pietrasiewicz wrote: > @Joel in particular: please see my comment in the bottom. > > On Monday, December 10, 2012 12:57 PM I wrote: > > Subject: RE: [RFC][PATCH] fs: configfs: programmatically create config > > groups > > > > Hello Joel, > >

Re: [PATCH 5/6] ACPI: Replace struct acpi_bus_ops with enum type

2012-12-10 Thread Rafael J. Wysocki
On Sunday, December 09, 2012 09:34:42 PM Yinghai Lu wrote: > On Sun, Dec 9, 2012 at 3:03 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Notice that one member of struct acpi_bus_ops, acpi_op_add, is not > > used anywhere any more and the relationship between its remaining > > me

Re: [PATCH 1/2] mtd: mxc_nand: fix unbalanced clk_disable() in error path

2012-12-10 Thread Artem Bityutskiy
On Thu, 2012-12-06 at 08:42 +0100, Lothar Waßmann wrote: > If nand_scan_ident() or nand_scan_tail() fails, the NAND chip may have > been deselected and the clock already disabled. Thus, check 'clk_act' > in the error path to decide whether the clock still needs to be > disabled. > > This fixes a:

Re: [PATCH 2/2] mtd: mxc_nand: reorder part_probes to let cmdline override other sources

2012-12-10 Thread Artem Bityutskiy
On Thu, 2012-12-06 at 08:42 +0100, Lothar Waßmann wrote: > The cmdline is the easiest to change source of information. Thus > let it take precedence over 'RedBoot' and 'ofpart'. This makes the > mxc_nand driver to be in sync with all other NAND drivers that support > 'cmdlinepart' partition parsing

Re: [PATCH v4 23/23] mfd: omap-usb-host: Don't spam console on clk_set_parent failure

2012-12-10 Thread Felipe Balbi
On Mon, Dec 10, 2012 at 01:31:22PM +0200, Roger Quadros wrote: > On 12/10/2012 01:24 PM, Rajendra Nayak wrote: > > On Monday 10 December 2012 03:50 PM, Roger Quadros wrote: > >> clk_set_parent is expected to fail on OMAP3 platforms. We don't > >> consider that as fatal so don't spam console. > > >

Re: [PATCH 1/2] dmatest: implement two helpers to unmap dma memory

2012-12-10 Thread Viresh Kumar
On 10 December 2012 17:07, Andy Shevchenko wrote: > The unmap_src() and unmap_dst() will be used later as well. > > Signed-off-by: Andy Shevchenko > --- > drivers/dma/dmatest.c | 27 +-- > 1 file changed, 17 insertions(+), 10 deletions(-) Reviewed-by: Viresh Kumar --

Re: [PATCH 2/2] dmatest: check for dma mapping error

2012-12-10 Thread Viresh Kumar
On 10 December 2012 17:07, Andy Shevchenko wrote: > We get a warning if CONFIG_DMA_API_DEBUG=y > > [ 28.150631] WARNING: at lib/dma-debug.c:933 check_unmap+0x5d6/0x6ac() > [ 28.157058] dw_dmac dw_dmac.0: DMA-API: device driver failed to check map > error[device address=0x35698305] [si

Re: [PATCH] ARM: ftrace: Ensure code modifications are synchronised across all cpus

2012-12-10 Thread Steven Rostedt
On Mon, 2012-12-10 at 14:07 +, Russell King - ARM Linux wrote: > > > If there's no way to modify a 32bit operation without stop_machine(), > > ever with a breakpoint, than we can stop the discussion here. ARM will > > forever require stop_machine() for use with tracepoints and ftrace. Too > >

Re: KGTP (Linux debugger and tracer) 20121204 release (bug fix and doc update)

2012-12-10 Thread Hui Zhu
On Mon, Dec 10, 2012 at 7:51 PM, Pawel Suchanecki wrote: > 2012/12/10 Hui Zhu >> >> According to the comments of Christoph, Geoff and Andi. I make lite >> patch for review. Please goto https://lkml.org/lkml/2012/5/9/90 to >> see it. > > The patch you sent for review used kmalloc/memset() combo

Re: [PATCHv2 1/2] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2012-12-10 Thread Viresh Kumar
On 10 December 2012 20:10, Andy Shevchenko wrote: > The same information could be exctracted from the struct dma_chan. > The patch introduces helper function dwc_get_data_width() as well. > > Signed-off-by: Andy Shevchenko > --- > drivers/dma/dw_dmac.c | 19 --- > drivers/

Re: [PATCHv2 2/2] dw_dmac: check for mapping errors

2012-12-10 Thread Viresh Kumar
On 10 December 2012 20:10, Andy Shevchenko wrote: > Otherwise we get a warning in case of CONFIG_DMA_API_DEBUG=y > > [ 45.775943] WARNING: at lib/dma-debug.c:933 check_unmap+0x5d6/0x6ac() > [ 45.782369] dw_dmac dw_dmac.0: DMA-API: device driver failed to check map > error[device address=0x000

[PATCH 3/3 v2] iio: add rtc-driver for HID sensors of type time

2012-12-10 Thread Alexander Holler
This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Currently the time can only be read. Setting the time must be done through sending a report, which currently isn't supported by hid-sensor-hub. It is necessary that all values like year,

Re: [PATCH] HOWTO: fix double words typo

2012-12-10 Thread Jiri Kosina
On Fri, 7 Dec 2012, Rob Landley wrote: > > Signed-off-by: Cristian Stoica > > Acked-by: Rob Landley Applied. -- Jiri Kosina SUSE Labs -- 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] ARM: ftrace: Ensure code modifications are synchronised across all cpus

2012-12-10 Thread Will Deacon
Hi Jamie, Thanks for summarising the thread so far. On Mon, Dec 10, 2012 at 01:40:01PM +, Jamie Lokier wrote: > On Fri, 2012-12-07 at 19:02 +, Will Deacon wrote: > > For ARMv7, there are small subsets of instructions for ARM and Thumb which > > are guaranteed to be atomic wrt concurrent m

[PATCHv3] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2012-12-10 Thread Andy Shevchenko
The same information could be exctracted from the struct dma_chan. The patch introduces helper function dwc_get_data_width() as well. Signed-off-by: Andy Shevchenko --- drivers/dma/dw_dmac.c | 27 --- drivers/dma/dw_dmac_regs.h |3 --- 2 files changed, 20 inser

Re: [RFC] Capabilities still can't be inherited by normal programs

2012-12-10 Thread Serge Hallyn
Quoting Andy Lutomirski (l...@amacapital.net): > It's especially bad because granting CAP_DAC_READ_SEARCH to user "foo" > doesn't mean anything. Is he authorized to back things up to > encrypted storage? We're talking about privileges at the kernel level here, and there is no way this could be ex

Re: [PATCHv3] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2012-12-10 Thread Viresh Kumar
On 10 December 2012 20:29, Andy Shevchenko wrote: > The same information could be exctracted from the struct dma_chan. > The patch introduces helper function dwc_get_data_width() as well. > > Signed-off-by: Andy Shevchenko So sorry for taking this long :( Acked-by: Viresh Kumar -- To unsubscri

Re: Question on Memory management unit

2012-12-10 Thread Javier Domingo
I will just refer you to this link: http://stackoverflow.com/questions/116343/what-is-the-difference-between-vmalloc-and-kmalloc Is as much as I know about that. You will find links that refer to other places, where they discuss/explain that. Javier Domingo 2012/12/9 Sri Ram Vemulpali : > Hi G

[PATCH] applesmc: add sysfs file to report OSK

2012-12-10 Thread Gabriel L. Somlo
The AppleSMC contains two char[32] keys, OSK0 and OSK1, which are not reported in the key count and index by default. These keys are used by the OS X boot sequence, and normally don't matter when running Linux. This patch creates a sysfs entry which reports the value of these keys as an ASCII stri

Re: [PATCHv3] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2012-12-10 Thread Andy Shevchenko
On Mon, Dec 10, 2012 at 5:01 PM, Viresh Kumar wrote: > On 10 December 2012 20:29, Andy Shevchenko > wrote: >> The same information could be exctracted from the struct dma_chan. >> The patch introduces helper function dwc_get_data_width() as well. >> >> Signed-off-by: Andy Shevchenko > > So sorry

Re: [PATCH RESEND] net: remove obsolete simple_strto

2012-12-10 Thread Neil Horman
On Mon, Dec 10, 2012 at 02:42:28PM +0530, Abhijit Pawar wrote: > This patch replace the obsolete simple_strto with kstrto > > Signed-off-by: Abhijit Pawar Acked-by: Neil Horman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

Re: [RFC PATCH 1/8] mm, vmalloc: change iterating a vmlist to find_vm_area()

2012-12-10 Thread Chris Metcalf
On 12/6/2012 11:09 AM, Joonsoo Kim wrote: > The purpose of iterating a vmlist is finding vm area with specific > virtual address. find_vm_area() is provided for this purpose > and more efficient, because it uses a rbtree. > So change it. If you get an Acked-by for the x86 change, feel free to appl

[PATCH v3 1/2] scripts/tags.sh: Support subarch for ARM

2012-12-10 Thread Joonsoo Kim
Current tags.sh doesn't handle subarch for ARM. There are too many subarch on ARM, it is hard that we locate some functions which are defined in every subarch with tags util family. Therefore support subarch for removing this unconvenience. We can use ARM subarch functionality like below. "make cs

[PATCH v3 2/2] scripts/tags.sh: Support compiled source

2012-12-10 Thread Joonsoo Kim
We usually have interst in compiled files only, because they are strongly related to individual's work. Current tags.sh can't select compiled files, so support it. We can use this functionality like below. "make cscope O=. SRCARCH= COMPILED_SOURCE=compiled" It must be executed after building

Re: [Xen-devel] [PATCH 2/2] xen-blkfront: implement safe version of llist_for_each_entry

2012-12-10 Thread Konrad Rzeszutek Wilk
On Mon, Dec 10, 2012 at 01:15:50PM +0100, Roger Pau Monné wrote: > On 07/12/12 21:20, Konrad Rzeszutek Wilk wrote: > > On Tue, Dec 04, 2012 at 03:21:53PM +0100, Roger Pau Monne wrote: > >> Implement a safe version of llist_for_each_entry, and use it in > >> blkif_free. Previously grants where freed

<    1   2   3   4   5   6   7   >