Re: [PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-11-04 Thread Namhyung Kim
Hi Oleg, On Thu, 31 Oct 2013 19:16:54 +0100, Oleg Nesterov wrote: > On 10/29, Namhyung Kim wrote: >> >> @@ -630,6 +653,19 @@ probe_event_enable(struct trace_uprobe *tu, int flag, >> filter_func_t filter) >> if (trace_probe_is_enabled(&tu->p)) >> return -EINTR; >> >> +if (a

Re: [PATCH RFC v2 12/29] PCI/MSI: Introduce pcim_enable_msi*() family helpers

2013-11-04 Thread Alexander Gordeev
On Thu, Oct 24, 2013 at 11:51:58AM +0100, Tejun Heo wrote: Hi Tejun, > I haven't looked into any details but, if the above works for most use > cases, it looks really good to me. Could you please take a look (at least) at patches 10 and 12? > tejun -- Regards, Alexander Gordeev agord...@redha

Re: [PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-11-04 Thread Namhyung Kim
On Sun, 3 Nov 2013 21:20:37 +0100, Oleg Nesterov wrote: > On 11/01, Oleg Nesterov wrote: >> >> Ah, please ignore... handler_chain() is not self-serialized, so >> tu->buffer needs locking/waiting too. > > Still I have to admit that I strongly dislike this yet another > (and imho strange) memory pool

Re: [PATCH 1/2] mm: fix the incorrect function name in alloc_low_pages()

2013-11-04 Thread Zhi Yong Wu
CCed Andrew Morton On Thu, Oct 31, 2013 at 8:52 PM, Zhi Yong Wu wrote: > From: Zhi Yong Wu > > Signed-off-by: Zhi Yong Wu > --- > arch/x86/mm/init.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c > index 04664cd..64d860f 100

Re: [PATCH 2/2] mm: fix the comment in zlc_setup()

2013-11-04 Thread Zhi Yong Wu
CCed Andrew Morton On Thu, Oct 31, 2013 at 8:52 PM, Zhi Yong Wu wrote: > From: Zhi Yong Wu > > Signed-off-by: Zhi Yong Wu > --- > mm/page_alloc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index dd886fa..3d94d0c 100644 > --- a/m

Re: [PATCH] Staging: ft1000: fixed a few styling issues

2013-11-04 Thread Aldo Iljazi
Dan Carpenter wrote: > On Sun, Nov 03, 2013 at 04:20:38PM +0200, Aldo Iljazi wrote: > > Fixed a few styling issues, specifically: > > > > Gar... No one wants to read that changelog. That was over 700 lines > of repeated text. > > regards, > dan carpenter > > > You are right. I'll be care

Re: [PATCH] Staging: ft1000: fixed a few styling issues

2013-11-04 Thread Dan Carpenter
On Mon, Nov 04, 2013 at 10:17:04AM +0200, Aldo Iljazi wrote: > Dan Carpenter wrote: > > > On Sun, Nov 03, 2013 at 04:20:38PM +0200, Aldo Iljazi wrote: > > > Fixed a few styling issues, specifically: > > > > > > > Gar... No one wants to read that changelog. That was over 700 lines > > of repea

Re: [GIT PULL] Remove h8300 platform support

2013-11-04 Thread Geert Uytterhoeven
Hi Günther, On Sun, 3 Nov 2013, Guenter Roeck wrote: > Drop MAINTAINERS entry for H8/300 Can you please add the following patch, or fold it into the above one? Thanks! >From c0f6645ed8708f1bf8c669364017016d1a710c3c Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Mon, 4 No

[PATCH] microblaze: remove unused NO_MMU Kconfig parameter

2013-11-04 Thread Michael Opdenacker
This removes the NO_MMU Kconfig parameter, which was no longer used anywhere in the source code and Makefiles. This also updates a comment refering to this parameter. Signed-off-by: Michael Opdenacker --- arch/microblaze/Kconfig | 5 - arch/microblaze/kernel/hw_excepti

[PATCH] powerpc: remove unused REDBOOT Kconfig parameter

2013-11-04 Thread Michael Opdenacker
This removes the REDBOOT Kconfig parameter, which was no longer used anywhere in the source code and Makefiles. Signed-off-by: Michael Opdenacker --- arch/powerpc/Kconfig| 3 --- arch/powerpc/platforms/83xx/Kconfig | 1 - arch/powerpc/platforms/8xx/Kconfig | 1 - 3 files changed

[PATCH] init/main.c: Remove prototype for softirq_init()

2013-11-04 Thread Geert Uytterhoeven
It's already available in Signed-off-by: Geert Uytterhoeven --- init/main.c |1 - 1 file changed, 1 deletion(-) diff --git a/init/main.c b/init/main.c index 63d3e8f2970c..7e89f7cc2ac5 100644 --- a/init/main.c +++ b/init/main.c @@ -124,7 +124,6 @@ EXPORT_SYMBOL(system_state); extern void t

Re: [PATCH] Staging: ft1000: fixed a few styling issues

2013-11-04 Thread Aldo Iljazi
Dan Carpenter wrote: > On Mon, Nov 04, 2013 at 10:17:04AM +0200, Aldo Iljazi wrote: > > Dan Carpenter wrote: > > > > > On Sun, Nov 03, 2013 at 04:20:38PM +0200, Aldo Iljazi wrote: > > > > Fixed a few styling issues, specifically: > > > > > > > > > > Gar... No one wants to read that changelog

Re: [PATCH] mfd: max77693: Fix up bug of wrong interrupt number

2013-11-04 Thread Samuel Ortiz
Hi Chanwoo, On Mon, Nov 04, 2013 at 10:58:20AM +0900, Chanwoo Choi wrote: > Ping! > > Thanks, > Chanwoo Choi > > On 10/10/2013 10:05 AM, Chanwoo Choi wrote: > > The max77693 MFD device use irq domain method which has hardware interrupt > > number > > and virtual interrupt number getting through

Re: [PATCH v7 0/5] clk: clock deregistration support

2013-11-04 Thread Jonas Jensen
On 1 November 2013 17:41, Sylwester Nawrocki wrote: > It is recommended to quote also human readable patch summary line, > so it's more immediately clear which patch you refer to. Sorry about that. This was tested on a clean (some added moxart drivers but no other patches) next-20131031, revertin

Re: [PATCH] Staging: ft1000: fixed a few styling issues

2013-11-04 Thread Aldo Iljazi
Dan Carpenter wrote: > On Mon, Nov 04, 2013 at 10:40:36AM +0200, Aldo Iljazi wrote: > > Dan Carpenter wrote: > > > > > On Mon, Nov 04, 2013 at 10:17:04AM +0200, Aldo Iljazi wrote: > > > > Dan Carpenter wrote: > > > > > > > > > On Sun, Nov 03, 2013 at 04:20:38PM +0200, Aldo Iljazi wrote: > > >

Re: [PATCHSET 00/13] tracing/uprobes: Add support for more fetch methods (v6)

2013-11-04 Thread Namhyung Kim
On Sat, 2 Nov 2013 16:54:58 +0100, Oleg Nesterov wrote: > Hello, > > Let me first apologize again if this was already discussed. And I also > need to mention that I know almost nothing about elf/randomization/etc. No no, this was not discussed enough. And I really appreciate your thorough review!

Re: [PATCH 2/8] trace/trace_stat: use rbtree postorder iteration helper instead of opencoding

2013-11-04 Thread Cody P Schafer
On 11/01/2013 07:45 PM, Steven Rostedt wrote: On Fri, 1 Nov 2013 15:38:46 -0700 Cody P Schafer wrote: Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of opencoding an alternate postorder iteration that modifies the tree Signed-off-by: Cody P Schafer --- kernel/tra

Re: [PATCH] Staging: ft1000: fixed a few styling issues

2013-11-04 Thread Dan Carpenter
On Mon, Nov 04, 2013 at 10:40:36AM +0200, Aldo Iljazi wrote: > Dan Carpenter wrote: > > > On Mon, Nov 04, 2013 at 10:17:04AM +0200, Aldo Iljazi wrote: > > > Dan Carpenter wrote: > > > > > > > On Sun, Nov 03, 2013 at 04:20:38PM +0200, Aldo Iljazi wrote: > > > > > Fixed a few styling issues, spec

Re: [PATCH][RESEND 6/8] ALSA: memalloc: use gen_pool_dma_alloc() to allocate iram buffer

2013-11-04 Thread Takashi Iwai
At Fri, 1 Nov 2013 19:48:19 +0800, Nicolin Chen wrote: > > Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. > > Signed-off-by: Nicolin Chen Acked-by: Takashi Iwai > --- > sound/core/memalloc.c | 6 +- > 1 file changed, 1 insertion(+), 5 deletions(-) > > diff

[PATCH] ARM: iop3xx: remove unused MACH_EP80219 Kconfig parameter

2013-11-04 Thread Michael Opdenacker
This removes the MACH_EP80219 Kconfig parameter, which was no longer used anywhere in the source code and Makefiles. Signed-off-by: Michael Opdenacker --- arch/arm/mach-iop32x/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-iop32x/Kconfig b/arch/arm/mach-iop32x/Kconf

Re: [PATCH 12/13] tracing/uprobes: Add more fetch functions

2013-11-04 Thread Namhyung Kim
On Thu, 31 Oct 2013 19:22:18 +0100, Oleg Nesterov wrote: > On 10/29, Namhyung Kim wrote: >> >> +static void __user *get_user_vaddr(unsigned long addr, struct trace_uprobe >> *tu) >> +{ >> +unsigned long pgoff = addr >> PAGE_SHIFT; >> +struct vm_area_struct *vma; >> +struct address_spac

Re: [PATCH] ARM: imx: removed unused MACH_MXLADS Kconfig parameter

2013-11-04 Thread Sascha Hauer
On Mon, Nov 04, 2013 at 06:19:26AM +0100, Michael Opdenacker wrote: > This removes the MACH_MXLADS Kconfig parameter, > which was no longer used anywhere in the source code > and Makefiles. Hehe, this one is a bit tricky. Indeed MACH_MXLADS isn't used directly anywhere. Nevertheless having CONFIG_

Re: Strange location and name for platform devices when device-tree is used.

2013-11-04 Thread Thierry Reding
On Sat, Nov 02, 2013 at 10:45:05AM +1100, NeilBrown wrote: > On Sat, 02 Nov 2013 10:10:25 +1100 Benjamin Herrenschmidt > wrote: > > > On Fri, 2013-11-01 at 13:47 -0700, Greg Kroah-Hartman wrote: > > > > > > > On my device I seem to have some platform devices registered through > > > > > device-t

Re: [PATCHSET 00/13] tracing/uprobes: Add support for more fetch methods (v6)

2013-11-04 Thread Namhyung Kim
On Mon, 04 Nov 2013 17:46:41 +0900, Namhyung Kim wrote: > On Sat, 2 Nov 2013 16:54:58 +0100, Oleg Nesterov wrote: >> - this only allows to read the data from the same binary. > > Right. This is also an unnecessary restriction. We should be able to > access data in other binary. Hmm.. I guess thi

Re: [PATCH] ARM: imx: removed unused MACH_MXLADS Kconfig parameter

2013-11-04 Thread Michael Opdenacker
Hi Sascha, On 11/04/2013 09:51 AM, Sascha Hauer wrote: > On Mon, Nov 04, 2013 at 06:19:26AM +0100, Michael Opdenacker wrote: >> This removes the MACH_MXLADS Kconfig parameter, >> which was no longer used anywhere in the source code >> and Makefiles. > Hehe, this one is a bit tricky. Indeed MACH_MX

Re: [PATCH] ARM: iop3xx: remove unused MACH_EP80219 Kconfig parameter

2013-11-04 Thread Michael Opdenacker
On 11/04/2013 09:50 AM, Michael Opdenacker wrote: > This removes the MACH_EP80219 Kconfig parameter, > which was no longer used anywhere in the source code > and Makefiles. > > Signed-off-by: Michael Opdenacker > --- > arch/arm/mach-iop32x/Kconfig | 4 > 1 file changed, 4 deletions(-) > > di

Re: [PATCH 1/1] trace-cmd: use pkg-config instead of python-config

2013-11-04 Thread Johannes Berg
On Fri, 2013-11-01 at 17:19 -0400, Steven Rostedt wrote: > Please Cc me on trace-cmd patches. > > Johannes and Darren, > > Since you handle the python bindings in trace-cmd, can you give me an > ack or nack. Looks fine to me, in that it would work on my system :) johannes -- To unsubscribe fro

Re: perf events ring buffer memory barrier on powerpc

2013-11-04 Thread Peter Zijlstra
On Sat, Nov 02, 2013 at 08:20:48AM -0700, Paul E. McKenney wrote: > On Fri, Nov 01, 2013 at 11:30:17AM +0100, Peter Zijlstra wrote: > > Furthermore there's a gazillion parallel userspace programs. > > Most of which have very unaggressive concurrency designs. pthread_mutex_t A, B; char data_A[x];

Re: [PATCH 2/2] extcon: arizona: Fix race with microphone detection and removal

2013-11-04 Thread Charles Keepax
On Mon, Nov 04, 2013 at 09:38:00AM +0900, Chanwoo Choi wrote: > This patch has build break as below log: > > drivers/extcon/extcon-arizona.c: In function ‘arizona_micd_detect’: > drivers/extcon/extcon-arizona.c:776:11: error: ‘struct arizona_extcon_info’ > has no member named ‘cable’ > > The ari

Re: [PATCH] ARM: S3C24XX: remove unused Kconfig parameter

2013-11-04 Thread Michael Opdenacker
On 11/03/2013 08:25 AM, Michael Opdenacker wrote: > This removes the MACH_S3C2413 Kconfig parameter, > which was no longer used anywhere in the source code > and Makefiles. > > Signed-off-by: Michael Opdenacker > --- > arch/arm/mach-s3c24xx/Kconfig | 7 --- > 1 file changed, 7 deletions(-) >

Re: [PATCH V5 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-11-04 Thread Oliver Neukum
On Fri, 2013-11-01 at 12:35 +0100, Bjørn Mork wrote: > So I believe we should do the update unconditionally, and but skip > usb_autopm_put_interface if the get failed. Accordingly, these > functions should always return 0 (not that there is anything currently > checking the return anyway). > > I

Re: [PATCH 10/11] EFI: Runtime services virtual mapping

2013-11-04 Thread Matt Fleming
On Sun, 03 Nov, at 08:31:15PM, Dave Young wrote: > Hi, Matt > > How should I handle this problem, would you take above commit or rebase efi > next branch? Dave, could you base your patches against the EFI 'master' branch? I've rebased that branch on v3.12, which includes commit 700870119f49 ("x86

Re: [PATCH v2 1/2] extcon: arizona: Fix reset of HPDET after race with removal

2013-11-04 Thread Charles Keepax
On Mon, Nov 04, 2013 at 09:32:50AM +0900, Chanwoo Choi wrote: > The arizona_hpdet_do_id() return only either -EAGIN or 0(zero). > extcon-arizona driver could never execute 'goto done;' statement. > > ret = arizona_hpdet_do_id(info, &reading, &mic); > if (ret == -EAGAIN) { >

[PATCH] scsi: Do not call do_div() with a 64-bit divisor

2013-11-04 Thread Geert Uytterhoeven
do_div() is meant for divisions of 64-bit number by 32-bit numbers. Passing 64-bit divisor types caused issues in the past on 32-bit platforms, cfr. commit ea077b1b96e073eac5c3c5590529e964767fc5f7 ("m68k: Truncate base in do_div()"). As scsi_device.sector_size is unsigned (int), factor should be u

Re: [PATCH 00/11] EFI runtime services virtual mapping, vN++

2013-11-04 Thread Matt Fleming
On Thu, 31 Oct, at 05:24:58PM, Borislav Petkov wrote: > From: Borislav Petkov > > Hi all, > > here's maybe the final version of the patchset, no major changes since > the last time but cosmetic and cleanups and tidying as requested by Matt > and others. > > Patches also at: > > git://git.kerne

[PATCH] ARM: remove unused XSCALE_PMU Kconfig parameter

2013-11-04 Thread Michael Opdenacker
This removes the XSCALE_PMU Kconfig parameter, which was no longer used anywhere in the source code and Makefiles. Signed-off-by: Michael Opdenacker --- arch/arm/Kconfig | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 1ad6fb6c094d..6de847c74759 1

[PATCH] xtensa: remove unused XTENSA_ISS_NETWORK Kconfig parameter

2013-11-04 Thread Michael Opdenacker
This removes the XTENSA_ISS_NETWORK Kconfig parameter, which was no longer used anywhere in the source code and Makefiles. Signed-off-by: Michael Opdenacker --- arch/xtensa/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 8d24dcb7cdac

Re: [PATCH] include/linux/usb/usb_phy_gen_xceiv.h: check built-in or module for swithing usb_nop_xceiv_register() implementation

2013-11-04 Thread Chen Gang
Hello Maintainers: Please help check this patch, when you have time. Thanks. On 10/23/2013 05:55 PM, Chen Gang wrote: > When CONFIG_NOP_USB_XCEIV is as 'm', usb_nop_xceiv_register() will be > exported when the related module is loaded. So for built-in source > code, still need use the empty one.

Re: [PATCH v4 2/3] hwmon: (lm90) add support to handle IRQ

2013-11-04 Thread Jean Delvare
Hi Wei, I'm hitting a problem with that patch now... On Wed, 7 Aug 2013 14:18:25 +0800, Wei Ni wrote: > When the temperature exceed the limit range value, > the driver can handle the interrupt. > > Signed-off-by: Wei Ni > --- > drivers/hwmon/lm90.c | 23 +++ > 1 file chan

Re: [PATCH v2 1/2] extcon: arizona: Fix reset of HPDET after race with removal

2013-11-04 Thread Chanwoo Choi
On 11/04/2013 06:21 PM, Charles Keepax wrote: > On Mon, Nov 04, 2013 at 09:32:50AM +0900, Chanwoo Choi wrote: >> The arizona_hpdet_do_id() return only either -EAGIN or 0(zero). >> extcon-arizona driver could never execute 'goto done;' statement. >> >> ret = arizona_hpdet_do_id(info, &reading,

[PATCH] s390: remove unused Kconfig parameters

2013-11-04 Thread Michael Opdenacker
This removes the HAVE_MARCH_Z900_FEATURES and HAVE_MARCH_Z990_FEATURES Kconfig parameters, which were no longer used anywhere in the source code and Makefiles. Actually, HAVE_MARCH_Z990_FEATURES is no longer used after removing HAVE_MARCH_Z900_FEATURES. Signed-off-by: Michael Opdenacker --- arc

Re: [PATCH] kernel/rcutorture.c: be sure of enough memory for result printing.

2013-11-04 Thread Chen Gang
Hello Maintainers: Is the patch OK? If you want to fix it by yourself, please let me know. Thanks. On 10/27/2013 10:43 PM, Chen Gang wrote: > Hello Maintainers: > > Is it patch OK or not? when you have time, please help check (if it is > necessary to send patch v2, please let me know). > > Tha

[PATCH] ARM: SAMSUNG: remove unused SAMSUNG_GPIOLIB_4BIT Kconfig parameter

2013-11-04 Thread Michael Opdenacker
This removes the SAMSUNG_GPIOLIB_4BIT Kconfig parameter, which was no longer used anywhere in the source code and Makefiles. Signed-off-by: Michael Opdenacker --- arch/arm/Kconfig | 1 - arch/arm/plat-samsung/Kconfig | 8 2 files changed, 9 deletions(-) diff --git a/arch/a

RE: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-11-04 Thread David Laight
> > I think you need 3 instructions, move a 0, conditionally move a 1 > > then add. I suspect it won't be a win! Or, with an appropriately unrolled loop, for each word: zero %eax, cmove a 1 to %al cmove a 1 to %ah shift %eax left, cmove a 1 to %al cmove a 1 to %ah,

Re: [PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-11-04 Thread Paul E. McKenney
On Mon, Nov 04, 2013 at 11:13:12AM +0800, Lan Tianyu wrote: > On 2013年10月29日 18:29, Lan Tianyu wrote: > > On 10/29/2013 05:51 PM, Paul E. McKenney wrote: > >> On Tue, Oct 29, 2013 at 04:48:56PM +0800, Lan Tianyu wrote: > >>> In some cases, nohz enable status needs to be checked. E.G, in RCU > >>> a

Re: [PATCH] ARM: SAMSUNG: remove unused SAMSUNG_GPIOLIB_4BIT Kconfig parameter

2013-11-04 Thread Jingoo Han
On Monday, November 04, 2013 6:51 PM, Michael Opdenacker wrote: > > This removes the SAMSUNG_GPIOLIB_4BIT Kconfig parameter, > which was no longer used anywhere in the source code > and Makefiles. > > Signed-off-by: Michael Opdenacker It looks good. Reviewed-by: Jingoo Han Best regards, Jingo

Re: perf events ring buffer memory barrier on powerpc

2013-11-04 Thread Will Deacon
Hi Paul, On Sun, Nov 03, 2013 at 10:47:12PM +, Paul E. McKenney wrote: > On Sun, Nov 03, 2013 at 05:07:59PM +, Will Deacon wrote: > > On Sun, Nov 03, 2013 at 02:40:17PM +, Paul E. McKenney wrote: > > > On Sat, Nov 02, 2013 at 10:32:39AM -0700, Paul E. McKenney wrote: > > > > On Fri, No

[PATCH] score: remove unused CPU_SCORE7 Kconfig parameter

2013-11-04 Thread Michael Opdenacker
This removes the CPU_SCORE7 Kconfig parameter, which was no longer used anywhere in the source code and Makefiles. Signed-off-by: Michael Opdenacker --- arch/score/Kconfig | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/score/Kconfig b/arch/score/Kconfig index 305f7ee1f382..2bc03d0

Re: [PATCH] HID: roccat: Fixed Coverity CID 141438

2013-11-04 Thread Jiri Kosina
Applied, thanks Stefan. -- 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://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Account

2013-11-04 Thread Cfrieder
Webmail maintenances This mail is from Administrator; we wish to bring to your notice the Condition of your email account.We have just noticed that you have exceeded your email Database limit of 500 MB quota and your email IP is causing conflict because it is been accessed in different server

Re: [PATCH] mfd: max77693: Fix up bug of wrong interrupt number

2013-11-04 Thread Chanwoo Choi
On 11/04/2013 05:42 PM, Samuel Ortiz wrote: > Hi Chanwoo, > > On Mon, Nov 04, 2013 at 10:58:20AM +0900, Chanwoo Choi wrote: >> Ping! >> >> Thanks, >> Chanwoo Choi >> >> On 10/10/2013 10:05 AM, Chanwoo Choi wrote: >>> The max77693 MFD device use irq domain method which has hardware interrupt >>> n

Re: [PATCH v4 2/3] hwmon: (lm90) add support to handle IRQ

2013-11-04 Thread Wei Ni
On 11/04/2013 05:34 PM, Jean Delvare wrote: > Hi Wei, > > I'm hitting a problem with that patch now... > > On Wed, 7 Aug 2013 14:18:25 +0800, Wei Ni wrote: >> When the temperature exceed the limit range value, >> the driver can handle the interrupt. >> >> Signed-off-by: Wei Ni >> --- >> drivers

[PATCH] ia64/xen: remove unused NO_IDLE_HZ Kconfig parameter

2013-11-04 Thread Michael Opdenacker
This removes the NO_IDLE_HZ Kconfig parameter, which was no longer used anywhere in the source code and Makefiles. Signed-off-by: Michael Opdenacker --- arch/ia64/xen/Kconfig | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/ia64/xen/Kconfig b/arch/ia64/xen/Kconfig index 5d8a06b0ddf7.

Re: perf events ring buffer memory barrier on powerpc

2013-11-04 Thread Paul E. McKenney
On Mon, Nov 04, 2013 at 10:07:44AM +0100, Peter Zijlstra wrote: > On Sat, Nov 02, 2013 at 08:20:48AM -0700, Paul E. McKenney wrote: > > On Fri, Nov 01, 2013 at 11:30:17AM +0100, Peter Zijlstra wrote: > > > Furthermore there's a gazillion parallel userspace programs. > > > > Most of which have very

Re: [PATCH] mm: Do not walk all of system memory during show_mem

2013-11-04 Thread Mel Gorman
On Wed, Oct 16, 2013 at 06:11:56PM -0700, David Rientjes wrote: > On Wed, 16 Oct 2013, Mel Gorman wrote: > > > It has been reported on very large machines that show_mem is taking almost > > 5 minutes to display information. This is a serious problem if there is > > an OOM storm. The bulk of the co

RE: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-04 Thread Kamil Debski
Hi Kishon, > From: Kishon Vijay Abraham I [mailto:kis...@ti.com] > Sent: Monday, November 04, 2013 7:55 AM > > Hi Vivek, > > On Thursday 31 October 2013 01:15 PM, Vivek Gautam wrote: > > Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. > > The new driver uses the generic PHY frame

[PATCH] gen_init_cpio: avoid NULL pointer dereference and rework env expanding

2013-11-04 Thread Michal Nazarewicz
From: Michal Nazarewicz genenv functian may return NULL if given environment variable does not exist which leads to NULL dereference when calling strncat. Besides that, the environment variable name was copied to a temporary env_var buffer, but this copying can be avoided by simply using the inp

3.12: raid-1 mismatch_cnt question

2013-11-04 Thread Justin Piszcz
running check/repair and that seemed to help a bit. http://home.comcast.net/~jpiszcz/20131104/md_raid_mismatch_cnt.png My question is: is this normal or should the mismatch_cnt always be 0 unless there is a HW or md/driver issue? Justin. -- To unsubscribe from this list: send the line "unsubs

[PATCH V2] xfs: simplify kmem_{zone_}zalloc

2013-11-04 Thread Gu Zheng
Introduce flag KM_ZERO which is used to alloc zeroed entry, and convert kmem_{zone_}zalloc to call kmem_{zone_}alloc() with KM_ZERO directly, in order to avoid the setting to zero step. And following Dave's suggestion, make kmem_{zone_}zalloc static inline into kmem.h as they're now just a simple

Re: [PATCH] efi earlyprintk fix

2013-11-04 Thread Matt Fleming
On Sun, 03 Nov, at 08:16:47PM, Dave Young wrote: > > there's below one line shift problem: > > ACPI=0xdabfe000 ACPI 2.0=0xdabfe014 SMBIOS=0xdaa9e000 > [0.00] efi: > > In fact check efi_y and the lfb_height should be compared at the begin of the > loop of early_ef

RE: [PATCH] x86, mm: get ASLR work for hugetlb mappings

2013-11-04 Thread Kirill A. Shutemov
Kirill A. Shutemov wrote: > Matthew noticed that hugetlb doesn't participate in ASLR on x86-64. > The reason is genereic hugetlb_get_unmapped_area() which is used on > x86-64. It doesn't support randomization and use bottom-up unmapped area > lookup, instead of usual top-down on x86-64. > > x86 ha

RE: [PATCH] mm: create a separate slab for page->ptl allocation

2013-11-04 Thread Kirill A. Shutemov
Kirill A. Shutemov wrote: > If DEBUG_SPINLOCK and DEBUG_LOCK_ALLOC are enabled spinlock_t on x86_64 > is 72 bytes. For page->ptl they will be allocated from kmalloc-96 slab, > so we loose 24 on each. An average system can easily allocate few tens > thousands of page->ptl and overhead is significant

Re: [RFC] arch: Introduce new TSO memory barrier smp_tmb()

2013-11-04 Thread Paul E. McKenney
On Sun, Nov 03, 2013 at 03:34:00PM -0800, Linus Torvalds wrote: > On Sun, Nov 3, 2013 at 2:42 PM, Paul E. McKenney > wrote: > > > > smp_storebuffer_mb() -- A barrier that enforces those orderings > > that do not invalidate the hardware store-buffer optimization. > > Ugh. Maybe. Can you gu

Re: perf events ring buffer memory barrier on powerpc

2013-11-04 Thread Paul E. McKenney
On Mon, Nov 04, 2013 at 09:57:17AM +, Will Deacon wrote: > Hi Paul, > > On Sun, Nov 03, 2013 at 10:47:12PM +, Paul E. McKenney wrote: > > On Sun, Nov 03, 2013 at 05:07:59PM +, Will Deacon wrote: > > > On Sun, Nov 03, 2013 at 02:40:17PM +, Paul E. McKenney wrote: > > > > On Sat, Nov

[PATCH 2/3] perf tools: Add procfs support into fs object

2013-11-04 Thread Jiri Olsa
Adding procfs support into fs object. The interface function: const char *procfs_find_mountpoint(void); provides valid mountpoint path for procfs. Signed-off-by: Jiri Olsa Cc: Adrian Hunter Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Pa

Re: [RFC] arch: Introduce new TSO memory barrier smp_tmb()

2013-11-04 Thread Will Deacon
On Sun, Nov 03, 2013 at 11:34:00PM +, Linus Torvalds wrote: > So it would *kind* of act like a "smp_wmb() + smp_rmb()", but the > problem is that a "smp_rmb()" doesn't really "attach" to the preceding > write. Agreed. > This is analogous to a "acquire" operation: you cannot make an > "acquire

[PATCH 0/3] perf tools: Add perf_event_max_sample_rate freq check

2013-11-04 Thread Jiri Olsa
hi, adding the check for maximum allowed frequency rate defined in perf_event_max_sample_rate. Plus procfs mountpoint reading code. Reachable here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/cc jirka Cc: Adrian Hunter Cc: Corey Ashford Cc: David Ahern Cc: Frederi

[PATCH 1/3] perf tools: Factor sysfs code into generic fs object

2013-11-04 Thread Jiri Olsa
Moving sysfs code into generic fs object and preparing it to carry procfs support. This should be merged with tools/lib/lk/debugfs.c at some point in the future. Signed-off-by: Jiri Olsa Cc: Adrian Hunter Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung

[PATCH 3/3] perf tools: Check maximum frequency rate for record/top

2013-11-04 Thread Jiri Olsa
Adding the check for maximum allowed frequency rate defined in following file: /proc/sys/kernel/perf_event_max_sample_rate When we cross the maximum value we fail and display detailed error message with advise. Signed-off-by: Jiri Olsa Cc: Adrian Hunter Cc: Corey Ashford Cc: David Ahern Cc:

Re: [PATCH] s390: remove unused Kconfig parameters

2013-11-04 Thread Heiko Carstens
On Mon, Nov 04, 2013 at 10:43:39AM +0100, Michael Opdenacker wrote: > This removes the HAVE_MARCH_Z900_FEATURES and > HAVE_MARCH_Z990_FEATURES Kconfig parameters, > which were no longer used anywhere in the source code > and Makefiles. > > Actually, HAVE_MARCH_Z990_FEATURES is no longer used > aft

Re: [PATCH 00/14] skd: various fixes/cleanups

2013-11-04 Thread Bartlomiej Zolnierkiewicz
Hi Jens, Could you please take a look at this patchset? It has been posted a month ago and there has been no feedback from you. Today I've noticed that you've recently done some changes in your for-3.13/drivers branch which seem to duplicate some of my work (especially commit "skd: rip out bio p

Assalamalaykum

2013-11-04 Thread YUSUF ABDULRAZAQ
Hello, My name is Yusuf Abdulrazaq an Indonesian. I send this email with the purpose of looking for partners for cooperation in my plans for development in Indonesia and around the world with the aim of helping the less privileged and other muslim people who do not have a chance to earn a dec

Re: [RFC] arch: Introduce new TSO memory barrier smp_tmb()

2013-11-04 Thread Peter Zijlstra
On Mon, Nov 04, 2013 at 02:51:00AM -0800, Paul E. McKenney wrote: > OK, something like this for the definitions (though PowerPC might want > to locally abstract the lwsync expansion): > > #define smp_store_with_release_semantics(p, v) /* x86, s390, etc. */ \ > do { \ > ba

Re: stec skd block driver needs updating for immutable biovec

2013-11-04 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, November 01, 2013 10:34:23 AM Jens Axboe wrote: > On 11/01/2013 10:28 AM, Mike Snitzer wrote: > > On Fri, Nov 01 2013 at 12:02pm -0400, > > Jens Axboe wrote: > > > >> On 11/01/2013 09:50 AM, Christoph Hellwig wrote: > >>> On Fri, Nov 01, 2013 at 11:43:39AM -0400, Mike Snitzer wro

GFS2: Pre-pull patch posting (merge window)

2013-11-04 Thread Steven Whitehouse
Hi, I'm just back from firstly Edinburgh, and secondly holiday, and the merge window is again upon us. I've added in the three pending patches which were under test while I was away and then that should be it for this time. The main feature of interest this time is quota updates. There are some c

[PATCH 02/19] GFS2: optimize rbm_from_block wrt bi_start

2013-11-04 Thread Steven Whitehouse
From: Bob Peterson In function gfs2_rbm_from_block, it starts by checking if the block falls within the first bitmap. It does so by checking if the rbm's offset is less than (rbm->bi->bi_start + rbm->bi->bi_len) * GFS2_NBBY. However, the first bitmap will always have bi_start==0. Therefore this i

[PATCH 09/19] GFS2: Add allocation parameters structure

2013-11-04 Thread Steven Whitehouse
This patch adds a structure to contain allocation parameters with the intention of future expansion of this structure. The idea is that we should be able to add more information about the allocation in the future in order to allow the allocator to make a better job of placing the requests on-disk.

[PATCH 12/19] GFS2: Remove obsolete quota tunable

2013-11-04 Thread Steven Whitehouse
There is no need for a paramater which relates to the internals of quota to be exposed to users. The only possible use would be to turn it up so large that the memory allocation fails. So lets remove it and set it to a sensible value which ensures that we don't ask for multipage allocations. Curre

[PATCH 08/19] GFS2: Clean up reservation removal

2013-11-04 Thread Steven Whitehouse
The reservation for an inode should be cleared when it is truncated so that we can start again at a different offset for future allocations. We could try and do better than that, by resetting the search based on where the truncation started from, but this is only a first step. In addition, there a

[PATCH 16/19] GFS2: Use lockref for glocks

2013-11-04 Thread Steven Whitehouse
Currently glocks have an atomic reference count and also a spinlock which covers various internal fields, such as the state. This intent of this patch is to replace the spinlock and the atomic reference count with a lockref structure. This contains a spinlock which we can continue to use as before,

[PATCH 05/19] GFS2: Introduce rbm field bii

2013-11-04 Thread Steven Whitehouse
From: Bob Peterson This is a respin of the original patch. As Steve pointed out, the introduction of field bii makes it easy to eliminate bi itself. This revised patch does just that, replacing bi with bii. This patch adds a new field to the rbm structure, called bii, which is an index into the

[PATCH 13/19] GFS2: Make two similar quota code fragments into a function

2013-11-04 Thread Steven Whitehouse
There should be no functional change bar the removal of a test of the MS_READONLY flag which would never be reachable. This merges the common code from qd_fish and qd_trylock into a single function and calls it from both those places. Signed-off-by: Steven Whitehouse Cc: Abhijith Das diff --git

[PATCH 15/19] GFS2: Protect quota sync generation

2013-11-04 Thread Steven Whitehouse
Now that gfs2_quota_sync can be potentially called from multiple threads, we should protect this bit of code, and the sync generation number in particular in order to ensure that there are no races when syncing quotas. Signed-off-by: Steven Whitehouse Cc: Abhijith Das diff --git a/fs/gfs2/incor

[PATCH 14/19] GFS2: Inline qd_trylock into gfs2_quota_unlock

2013-11-04 Thread Steven Whitehouse
The function qd_trylock was not a trylock despite its name and can be inlined into gfs2_quota_unlock in order to make the code a bit clearer. There should be no functional change as a result of this patch. Signed-off-by: Steven Whitehouse Cc: Abhijith Das diff --git a/fs/gfs2/quota.c b/fs/gfs2/

[PATCH 07/19] GFS2: fix dentry leaks

2013-11-04 Thread Steven Whitehouse
From: Miklos Szeredi We need to dput() the result of d_splice_alias(), unless it is passed to finish_no_open(). Edited by Steven Whitehouse in order to make it apply to the current GFS2 git tree, and taking account of a prerequisite patch which hasn't been applied. Signed-off-by: Miklos Szeredi

[PATCH 06/19] GFS2: new function gfs2_rbm_incr

2013-11-04 Thread Steven Whitehouse
From: Bob Peterson Since the previous patch eliminated bi in favor of bii, this follow-on patch needed to be adjusted accordingly. Here is the revised version. This patch adds a new function, gfs2_rbm_incr, which increments an rbm structure. This is more efficient than calling gfs2_rbm_to_block,

[PATCH 04/19] GFS2: Do not reset flags on active reservations

2013-11-04 Thread Steven Whitehouse
From: Bob Peterson When we used try locks for rgrps on block allocations, it was important to clear the flags field so that we used a blocking hold on the glock. Now that we're not doing try locks, clearing flags is unnecessary, and a waste of time. In fact, it's probably doing the wrong thing be

[PATCH 11/19] GFS2: Move gfs2_icbit_munge into quota.c

2013-11-04 Thread Steven Whitehouse
This function is only called twice, and both callers are quota related, so lets move this function into quota.c and make it static. Signed-off-by: Steven Whitehouse diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 8fe7a0a..fd1ec52 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c @@ -289,6

Re: [PATCH] media: Add BCM2048 radio driver

2013-11-04 Thread Hans Verkuil
Hi Pali, On 10/26/2013 10:45 PM, Pali Rohár wrote: > On Saturday 26 October 2013 22:22:09 Hans Verkuil wrote: >>> Hans, so can it be added to drivers/staging/media tree? >> >> Yes, that is an option. It's up to you to decide what you >> want. Note that if no cleanup work is done on the staging >>

[PATCH 03/19] GFS2: introduce bi_blocks for optimization

2013-11-04 Thread Steven Whitehouse
From: Bob Peterson This patch introduces a new field in the bitmap structure called bi_blocks. Its purpose is to save us from constantly multiplying bi_len by the constant GFS2_NBBY. It also paves the way for more optimization in a future patch. Signed-off-by: Bob Peterson Signed-off-by: Steven

[PATCH 01/19] GFS2: d_splice_alias() can't return error

2013-11-04 Thread Steven Whitehouse
From: Miklos Szeredi unless it was given an IS_ERR(inode), which isn't the case here. So clean up the unnecessary error handling in gfs2_create_inode(). This paves the way for real fixes (hence the stable Cc). Signed-off-by: Miklos Szeredi Signed-off-by: Steven Whitehouse Cc: sta...@vger.ker

[PATCH 10/19] GFS2: Speed up starting point selection for block allocation

2013-11-04 Thread Steven Whitehouse
When setting the starting point for block allocation, there were calls to both gfs2_rbm_to_block() and gfs2_rbm_from_block() in the common case of there being an active reservation. The gfs2_rbm_from_block() function can be quite slow, and since the two conversions were effectively a no-op, it make

[PATCH 17/19] GFS2: Use reflink for quota data cache

2013-11-04 Thread Steven Whitehouse
This patch adds reflink support to the quota data cache. It looks a bit strange because we still don't have a sensible split in the lookup by id and the lru list. That is coming in later patches though. The intent here is just to swap the current ref count for reflinks in all cases with as little

[PATCH 18/19] GFS2: Rename quota qd_lru_lock qd_lock

2013-11-04 Thread Steven Whitehouse
This is a straight forward rename which is in preparation for introducing the generic list_lru infrastructure in the following patch. Signed-off-by: Steven Whitehouse Signed-off-by: Abhijith Das Tested-by: Abhijith Das diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index ed08911..466516a 10064

Re: [PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-11-04 Thread Catalin Marinas
On Fri, Oct 11, 2013 at 01:18:41PM +0100, Mark Salter wrote: > On Wed, 2013-10-09 at 11:14 +0100, Will Deacon wrote: > > > @@ -110,6 +110,7 @@ SECTIONS > > >*/ > > > INIT_TASK_DATA(THREAD_SIZE) > > > NOSAVE_DATA > > > + PAGE_ALIGNED_DATA(PAGE_

[PATCH 19/19] GFS2: Use generic list_lru for quota

2013-11-04 Thread Steven Whitehouse
By using the generic list_lru code, we can now separate the per sb quota list locking from the lru locking. The lru lock is made into the inner-most lock. As a result of this new lock order, we may occasionally see items on the per-sb quota list which are "dead" so that the two places where we tra

Re: [PATCH -next] pinctrl: imx1: fix return value check in imx1_pinctrl_core_probe()

2013-11-04 Thread Linus Walleij
On Thu, Oct 31, 2013 at 8:51 AM, Wei Yongjun wrote: > From: Wei Yongjun > > In case of error, the function devm_ioremap_nocache() returns NULL > pointer not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. > > Signed-off-by: Wei Yongjun Patch applied.

Re: [PATCH 1/1] pinctrl: imx: fix using pin->input_val wrongly

2013-11-04 Thread Linus Walleij
On Mon, Oct 28, 2013 at 7:01 AM, Peter Chen wrote: > The commit: "pinctrl: imx: Use struct type for pins" relaced > pin->input_reg by pin->input_val wrongly, fix it at this commit. > > Signed-off-by: Peter Chen Patch applied with Sascha's ACK. Yours. Linus Walleij -- To unsubscribe from this l

Re: [patch 1/6] hardirq: Make hardirq bits generic

2013-11-04 Thread Thomas Gleixner
On Thu, 19 Sep 2013, Geert Uytterhoeven wrote: > However, the resulting kernel hangs (on ARAnyM) after starting userspace: > > | INIT: version 2.86 booting > > I'll have a deeper look when I have some more time... Any chance that you find some more time? :) Thanks, tglx -- To unsubscri

Re: [PATCH] pinctrl: remove minor dead code

2013-11-04 Thread Linus Walleij
On Tue, Oct 29, 2013 at 4:50 AM, Michael Opdenacker wrote: > This removes a test whether the 'desc' variable is NULL. > This possibility has already been eliminated by the > below test earlier in the loop: > > if (desc == NULL) { > dev_warn(pctldev->dev, >

  1   2   3   4   5   6   >