Re: [PATCH v7 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-08-09 Thread Alex Williamson
On Mon, 2012-08-06 at 13:40 +0300, Avi Kivity wrote: > On 08/06/2012 01:38 PM, Avi Kivity wrote: > > > Regarding the implementation, instead of a linked list, would an array > > of counters parallel to the bitmap make it simpler? > > Or even, replace the bitmap with an array of counters. I'm

Re: [PATCH] PM / Domains: fix early device initialization failure

2012-08-09 Thread Rafael J. Wysocki
On Thursday, August 09, 2012, Marek Szyprowski wrote: > dev_pm_get_subsys_data() returns 1 when a new object has been created, > what should not be considered as an error for pm_genpd_add_device(). > > Signed-off-by: Marek Szyprowski This has been reported twice already and there's a patch in

Re: [BUG] perf: sharing of cpuctx between core and ibs PMU causes problems

2012-08-09 Thread Stephane Eranian
On Thu, Aug 9, 2012 at 8:08 PM, Peter Zijlstra wrote: > On Thu, 2012-08-09 at 16:05 +0200, Stephane Eranian wrote: >> > uncore PMU does not have this issue because uncore_pmu->task_ctx_nr >> > is 'perf_invalid_context'. find_pmu_context() always return NULL in >> > that case. >> > >> Yes, I think

Re: [09/36] AArch64: Exception handling

2012-08-09 Thread Christopher Covington
Hi Catalin, Thanks for your response. On 08/09/2012 01:23 PM, Catalin Marinas wrote: > Hi Christopher, > > On Thu, Aug 09, 2012 at 06:05:36PM +0100, Christopher Covington wrote: >> On 01/-10/-28163 02:59 PM, Catalin Marinas wrote: >>> +/* >>> + * Exception vectors. >>> + */ >>> + .macro

Re: [PATCH] [RFC] syscalls,x86: Add execveat() system call (v2)

2012-08-09 Thread Andy Lutomirski
On 08/01/2012 03:10 PM, Meredydd Luff wrote: > > +#ifndef sys_execveat > +asmlinkage long sys_execveat(int dfd, const char __user *filename, > + const char __user *const __user *argv, > + const char __user *const __user *envp, > +

Re: [PATCH 1/7] perf hists: Separate out hist print functions

2012-08-09 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 06, 2012 at 05:57:36PM +0900, Namhyung Kim escreveu: > From: Namhyung Kim > > Separate out those functions into ui/hist.c. This is required for > upcoming changes. Isn't it better to further separate it by introducing the ui/stdio/ directory since these functions use fprintf? -

[PATCH RESEND 0/4] device_cgroup: replace internally whitelist with exception list

2012-08-09 Thread aris
The original model of device_cgroup is having a whitelist where all the allowed devices are listed. The problem with this approach is that is impossible to have the case of allowing everything but few devices. The reason for that lies in the way the whitelist is handled internally: since there's

[PATCH RESEND 3/4] device_cgroup: convert device_cgroup internally to policy + exceptions

2012-08-09 Thread aris
The original model of device_cgroup is having a whitelist where all the allowed devices are listed. The problem with this approach is that is impossible to have the case of allowing everything but few devices. The reason for that lies in the way the whitelist is handled internally: since there's

[PATCH RESEND 4/4] device_cgroup: rename whitelist to exception list

2012-08-09 Thread aris
This patch replaces the "whitelist" usage in the code and comments and replace them by exception list related information. Signed-off-by: Aristeu Rozanski --- security/device_cgroup.c | 198 +++ 1 file changed, 99 insertions(+), 99 deletions(-)

[PATCH RESEND 2/4] device_cgroup: introduce dev_whitelist_clean()

2012-08-09 Thread aris
This function cleans all the items in a whitelist and will be used by the next patches. Signed-off-by: Aristeu Rozanski --- security/device_cgroup.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) Index: github/security/device_cgroup.c

[PATCH RESEND 1/4] device_cgroup: add "deny_all" in dev_cgroup structure

2012-08-09 Thread aris
deny_all will determine if the default policy is to deny all device access unless for the ones in the exception list. This variable will be used in the next patches to convert device_cgroup internally into a default policy + rules. Signed-off-by: Aristeu Rozanski --- security/device_cgroup.c

Re: [PATCH 1/5] [RFC] Add volatile range management code

2012-08-09 Thread John Stultz
On 08/09/2012 02:46 AM, Michel Lespinasse wrote: On Fri, Jul 27, 2012 at 8:57 PM, John Stultz wrote: v5: * Drop intervaltree for prio_tree usage per Michel & Dmitry's suggestions. Actually, I believe the ranges you need to track are non-overlapping, correct ? Correct. Any overlapping

Re: [PATCH] net: add new QCA alx ethernet driver

2012-08-09 Thread Luis R. Rodriguez
On Thu, Aug 9, 2012 at 8:28 AM, Steven Rostedt wrote: > On Thu, 2012-08-09 at 08:22 -0700, Joe Perches wrote: > >> Yes, I sent signed-off patches to their original RFC submission >> (back last year?). And that is why your SOB was kept. >> To me, this single large patch is like a >> snapshot of

Re: linux-next: Tree for Aug 9 (staging/csr)

2012-08-09 Thread Randy Dunlap
On 08/08/2012 08:13 PM, Stephen Rothwell wrote: > Hi all, > > Changes since 20120807: > (on i386) ERROR: "register_inetaddr_notifier" [drivers/staging/csr/csr_wifi.ko] undefined! ERROR: "unregister_inetaddr_notifier" [drivers/staging/csr/csr_wifi.ko] undefined! when CONFIG_INET is not

Re: [PATCH v5 03/12] KVM: introduce gfn_to_pfn_memslot_atomic

2012-08-09 Thread Marcelo Tosatti
On Tue, Aug 07, 2012 at 05:49:36PM +0800, Xiao Guangrong wrote: > It can instead of hva_to_pfn_atomic > > Signed-off-by: Xiao Guangrong > --- > arch/x86/kvm/mmu.c |5 + > include/linux/kvm_host.h |3 ++- > virt/kvm/kvm_main.c | 14 -- > 3 files changed, 11

Re: [PATCH v2] mm: Restructure kmem_cache_create() to move debug cache integrity checks into a new function

2012-08-09 Thread Christoph Lameter (Open Source)
On Thu, 9 Aug 2012, Shuah Khan wrote: > Moving these checks into kmem_cache_sanity_check() would mean return > path handling will change. The first block of sanity checks for name, > and size etc. are done before holding the slab_mutex and the second > block that checks the slab lists is done

Re: [PATCH 0/3] Documentation : hypercalls

2012-08-09 Thread Marcelo Tosatti
On Tue, Aug 07, 2012 at 01:09:46PM +0530, Raghavendra K T wrote: > This is the hypercall documentation patch series > First patch covers KVM specific hypercall information. > > second patch is has typo fix for vmcall instruction > comment in kvm_para.h > > Third patch includes a veryful

Re: [PATCH v5 02/12] KVM: hide KVM_MEMSLOT_INVALID from userspace

2012-08-09 Thread Marcelo Tosatti
On Tue, Aug 07, 2012 at 05:48:49PM +0800, Xiao Guangrong wrote: > Quote Avi's comment: > | KVM_MEMSLOT_INVALID is actually an internal symbol, not used by > | userspace. Please move it to kvm_host.h. > > Also, move KVM_MEMSLOT_INVALID to the highest bit > > Signed-off-by: Xiao Guangrong > ---

Re: [PATCH 1/3] perf tools: Initial bash completion support

2012-08-09 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 09, 2012 at 07:27:06PM +0100, Alan Cox escreveu: > > > 3rd patch should fix this. > > > > Huh? The problem is not /etc/bash_completion.d/ not existing, it exists, > > its just that I'm not using sudo nor installing as root, this new bash > > completion file is the only one that is

Re: [PATCH V3] regulator: tps6586x: add support for SYS rail

2012-08-09 Thread Mark Brown
On Thu, Aug 09, 2012 at 11:10:58AM -0600, Stephen Warren wrote: > Sorry to bug people, but is everyone OK with this patch? I'm holding off > checking in the Tegra-side device tree changes that add regulators until > this patch is checked in (or at least approved) to make sure the Tegra > .dts

[PATCH] Documentation/pinctrl.txt: Fix some misspelled macros

2012-08-09 Thread Daniel Mack
Signed-off-by: Daniel Mack --- Documentation/pinctrl.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/pinctrl.txt b/Documentation/pinctrl.txt index e40f4b4..1479aca 100644 --- a/Documentation/pinctrl.txt +++ b/Documentation/pinctrl.txt @@ -840,9 +840,9

Re: [PATCH] regulator: core: request only valid gpio pins for regulator enable

2012-08-09 Thread Mark Brown
On Thu, Aug 09, 2012 at 04:33:00PM +0200, Marek Szyprowski wrote: > Commit 65f735082de3 ("regulator: core: Add core support for GPIO controlled > enable lines") introduced enable gpio entry in regulator configuration > structure. Some drivers use '-1' as a placeholder for marking that such > gpio

Re: [PATCH] net: add new QCA alx ethernet driver

2012-08-09 Thread Ben Hutchings
On Thu, 2012-08-09 at 11:28 -0400, Steven Rostedt wrote: > On Thu, 2012-08-09 at 08:22 -0700, Joe Perches wrote: > > > Yes, I sent signed-off patches to their original RFC submission > > (back last year?). To me, this single large patch is like a > > snapshot of a git tree and not all

Re: [PATCH] xconfig: Display dependency values in debug_info

2012-08-09 Thread Salar Ali Mumtaz
On 12-08-07 12:55 PM, Randy Dunlap wrote: > In Kconfig language, is "" the same as 'n' ? > If so, I'm OK with your proposal above. > So a colleague of mine tested this and came up with a conclusion that expressions in Kconfig can only deal with boolean or tristate operands and no casting is

Re: [PATCH] exofs: check for allocation failure in uri_store()

2012-08-09 Thread Sachin Bhamare
On 8/8/12 10:02 AM, Alexey Khoroshilov wrote: > There is no memory allocation failure check in uri_store(). > That can lead to NULL pointer dereference. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov > --- > fs/exofs/sys.c |7 ++-

Re: [PATCH 0/4] promote zcache from staging

2012-08-09 Thread Seth Jennings
On 08/07/2012 03:23 PM, Seth Jennings wrote: > On 07/27/2012 01:18 PM, Seth Jennings wrote: >> Some benchmarking numbers demonstrating the I/O saving that can be had >> with zcache: >> >> https://lkml.org/lkml/2012/3/22/383 > > There was concern that kernel changes external to zcache since v3.3

Re: [PATCH 00/22] mop500 related Audio reorganisation and fixups

2012-08-09 Thread Mark Brown
On Thu, Aug 09, 2012 at 04:47:26PM +0100, Lee Jones wrote: > Another fine instalment of Audio fixes and Device Tree enablement > surrounding the mop500 sound driver. Hopefully containing all of > the recommendations suggested by Mark Brown. Can we have some review of this from the ARM side

Re: [PATCH 0/5][RFC] Fallocate Volatile Ranges v6

2012-08-09 Thread John Stultz
On 08/09/2012 02:28 AM, Michel Lespinasse wrote: Hi John, On Fri, Jul 27, 2012 at 8:57 PM, John Stultz wrote: So after not getting too much positive feedback on my last attempt at trying to use a non-shrinker method for managing & purging volatile ranges, I decided I'd go ahead and try to

[PATCH 5/6] x86/mce: Make cmci_discover() quiet

2012-08-09 Thread Tony Luck
cmci_discover() works out which machine check banks support CMCI, and which of those are shared by multiple logical processors. It uses this information to ensure that exactly one cpu is designated the owner of each bank so that when interrupts are broadcast to multiple cpus, only one of them will

Re: PROBLEM: snd_hda_intel bug during boot

2012-08-09 Thread Bjorn Helgaas
If you can collect complete dmesg logs from the working kernel and the broken kernel and post them, the differences might have a clue. You might also collect /proc/iomem and "lspci -vv" for both cases while you're at it. On Wed, Aug 8, 2012 at 10:38 PM, Alexei Kornienko wrote: > Hi, > > Yes it

Re: [PATCH v2 06/10] ARM: davinci: don't use broken ntosd2_init_i2c

2012-08-09 Thread Sekhar Nori
Hi Arnd, On 8/9/2012 1:30 PM, Arnd Bergmann wrote: > On second thought, there is probably no use in keeping the broken function > around, and we can just kill it off. If someone wants to add an i2c > device to the bus, they can always add the init code back as well. > > 8<- > Subject: ARM:

Re: [PATCH 1/3] perf tools: Initial bash completion support

2012-08-09 Thread Alan Cox
> > 3rd patch should fix this. > > Huh? The problem is not /etc/bash_completion.d/ not existing, it exists, > its just that I'm not using sudo nor installing as root, this new bash > completion file is the only one that is being installed on the root > filesystem, all others are in ~acme/ And

Re: RFC: mutex: hung tasks on SMP platforms with asm-generic/mutex-xchg.h

2012-08-09 Thread Will Deacon
On Thu, Aug 09, 2012 at 07:09:02PM +0100, Nicolas Pitre wrote: > On Thu, 9 Aug 2012, Will Deacon wrote: > > On Thu, Aug 09, 2012 at 05:57:33PM +0100, Nicolas Pitre wrote: > > > On Thu, 9 Aug 2012, Nicolas Pitre wrote: > > > diff --git a/include/asm-generic/mutex-xchg.h > > >

Re: [RFC PATCH 0/5] Improve hugepage allocation success rates under load V3

2012-08-09 Thread Jim Schutt
On 08/09/2012 07:49 AM, Mel Gorman wrote: Changelog since V2 o Capture !MIGRATE_MOVABLE pages where possible o Document the treatment of MIGRATE_MOVABLE pages while capturing o Expand changelogs Changelog since V1 o Dropped kswapd related patch, basically a no-op and regresses if fixed

Re: [PATCH 2/2] msm: io: Change the default static iomappings to be shared

2012-08-09 Thread David Brown
On Mon, Jul 30, 2012 at 05:54:21PM -0700, Rohit Vaswani wrote: > With 3.4 kernel the static iomappings can be shared with the ioremap > mappings. If ioremap is called with an address for which a static > mapping already exists, then that mapping should be used instead > of creating a new one. >

Re: [PATCH] regulator: tps6586x: correct vin pin for sm0/sm1/sm2

2012-08-09 Thread Mark Brown
On Thu, Aug 09, 2012 at 12:09:31PM -0600, Stephen Warren wrote: > The patch in question just showed up again in next-20120809: > 7f852e0 regulator: tps6586x: correct vin pin for sm0/sm1/sm2 > ... with the exact same content as the previous commit ID. Oh, in that case I must've missed

Re: [PATCH 0/7] HID: picoLCD updates

2012-08-09 Thread Bruno Prémont
Hi Tejun, As you are working on workqueues and related code, could you have a look at my usage of them in combination with db_defio? The delayed memory corruptions or system reboots after unbinding/unplugging the PicoLCD seem very much related to workqueue used to handle the deferred IO to

Re: [PATCH] regulator: tps6586x: correct vin pin for sm0/sm1/sm2

2012-08-09 Thread Stephen Warren
nk I have it any more. The patch in question just showed up again in next-20120809: 7f852e0 regulator: tps6586x: correct vin pin for sm0/sm1/sm2 ... with the exact same content as the previous commit ID. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: RFC: mutex: hung tasks on SMP platforms with asm-generic/mutex-xchg.h

2012-08-09 Thread Nicolas Pitre
On Thu, 9 Aug 2012, Will Deacon wrote: > On Thu, Aug 09, 2012 at 05:57:33PM +0100, Nicolas Pitre wrote: > > On Thu, 9 Aug 2012, Nicolas Pitre wrote: > > > Yes, that looks fine. I'd remove that if (prev < 0) entirely though. > > > We'll just swap a 0 for a 0 if the count wasn't < 0, or a 0 for

Re: [BUG] perf: sharing of cpuctx between core and ibs PMU causes problems

2012-08-09 Thread Peter Zijlstra
On Thu, 2012-08-09 at 16:05 +0200, Stephane Eranian wrote: > > uncore PMU does not have this issue because uncore_pmu->task_ctx_nr > > is 'perf_invalid_context'. find_pmu_context() always return NULL in > > that case. > > > Yes, I think IBS should do the same and that should fix the problem >

Re: [PATCH] regulator: tps6586x: correct vin pin for sm0/sm1/sm2

2012-08-09 Thread Mark Brown
On Wed, Aug 08, 2012 at 03:57:04PM -0600, Stephen Warren wrote: > I assume that was just an accident? Probably. I suspect a conflict with mainline when I rebased onto v3.6-rc1. Please resend the patch, I don't think I have it any more. -- To unsubscribe from this list: send the line

Re: [PATCH 4/5] drivers/video/msm/mddi_client_dummy.c: use devm_ functions

2012-08-09 Thread David Brown
On Fri, Aug 03, 2012 at 05:40:14PM +0200, Damien Cassou wrote: > From: Damien Cassou > > The various devm_ functions allocate memory that is released when a driver > detaches. This patch replaces the use of kzalloc by devm_kzalloc. > > Signed-off-by: Damien Cassou > > --- >

Re: RFC: mutex: hung tasks on SMP platforms with asm-generic/mutex-xchg.h

2012-08-09 Thread Will Deacon
On Thu, Aug 09, 2012 at 05:57:33PM +0100, Nicolas Pitre wrote: > On Thu, 9 Aug 2012, Nicolas Pitre wrote: > > Yes, that looks fine. I'd remove that if (prev < 0) entirely though. > > We'll just swap a 0 for a 0 if the count wasn't < 0, or a 0 for a 1 if > > the mutex just got unlocked which is

Re: [SCSI] qla4xxx: support iscsiadm session mgmt

2012-08-09 Thread Michael Christie
On Aug 8, 2012, at 11:57 AM, Dan Carpenter wrote: > On Wed, Aug 08, 2012 at 10:35:44AM -0500, Mike Christie wrote: >> On 08/08/2012 10:00 AM, Dan Carpenter wrote: >>> I never heard back on this. This buffer overflow is still present >>> in the current code. >>> >> >> Qlogic just sent a patch

[PATCH net-next,1/1] hyperv: Add comments for the extended buffer after RNDIS message

2012-08-09 Thread Haiyang Zhang
Reported-by: Olaf Hering Signed-off-by: Haiyang Zhang --- drivers/net/hyperv/rndis_filter.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c index 1e88a10..06f8601 100644 ---

Re: [PATCH] ipv4: tcp: security_sk_alloc() needed for unicast_sock

2012-08-09 Thread Eric Dumazet
On Thu, 2012-08-09 at 12:05 -0400, Eric Paris wrote: > On Thu, Aug 9, 2012 at 11:36 AM, Eric Dumazet wrote: > > On Thu, 2012-08-09 at 11:07 -0400, Paul Moore wrote: > > > >> Is is possible to do the call to security_sk_alloc() in the ip_init() > >> function > >> or does the per-cpu nature of the

[PATCH] ubifs: remove __DATE__ and __TIME__

2012-08-09 Thread Jiri Slaby
This tag is useless and it breaks automatic builds. It causes rebuilds for packages that depend on kernel for no real reason. Further, quoting Michal, who removed most of the users already: The kernel already prints its build timestamp during boot, no need to repeat it in random drivers and

Re: [PATCH v2 0/3] ARM: dt: tegra: cardhu: add entry for regulators

2012-08-09 Thread Stephen Warren
On 08/09/2012 05:00 AM, Laxman Dewangan wrote: > This patch series add the PMIC and fixed regulators for > cardhu board. There is multiple versions of cardhu baord named > as A01, A02, A03..and so on. Cardhu A01 and A03 are not supported. > Cardhu A02 and A04 have different sets of GPIO for

[PATCH v2] Intel xhci: Only switch the switchable ports

2012-08-09 Thread Keng-Yu Lin
With a previous patch to enable the EHCI/XHCI port switching, it switches all the available ports. The assumption is not correct because the BIOS may expect some ports not switchable by the OS. There are two more registers that contains the information of the switchable and non-switchable ports.

Re: [PATCH 4/5] drivers/video/msm/mddi_client_dummy.c: use devm_ functions

2012-08-09 Thread David Brown
On Fri, Aug 03, 2012 at 05:40:14PM +0200, Damien Cassou wrote: > From: Damien Cassou > > The various devm_ functions allocate memory that is released when a driver > detaches. This patch replaces the use of kzalloc by devm_kzalloc. > > Signed-off-by: Damien Cassou > > --- >

Re: [PATCH 5/5] drivers/video/msm/mddi_client_nt35399.c: use devm_ functions

2012-08-09 Thread David Brown
On Fri, Aug 03, 2012 at 05:40:13PM +0200, Damien Cassou wrote: > From: Damien Cassou > > The various devm_ functions allocate memory that is released when a driver > detaches. This patch replaces the use of kzalloc by devm_kzalloc. > > Additionally, this patch fixes a memory leak: some memory

Re: [PATCH v5 12/12] block: Only clone bio vecs that are in use

2012-08-09 Thread Tejun Heo
Hello, On Mon, Aug 06, 2012 at 03:08:41PM -0700, Kent Overstreet wrote: > bcache creates large bios internally, and then splits them according to > the device requirements before it sends them down. If a lower level > device tries to clone the bio, and the original bio had more than >

Re: [PATCH 2/2] floppy: error handling fixes on do_floppy_init

2012-08-09 Thread Herton Ronaldo Krzesinski
On Wed, Aug 08, 2012 at 03:57:30PM -0400, Vivek Goyal wrote: > On Wed, Aug 08, 2012 at 03:24:53PM -0300, Herton Ronaldo Krzesinski wrote: > > While looking at commit 3f9a5aa ("floppy: Cleanup disk->queue before > > caling put_disk() if add_disk() was never called") I noticed some > > problems with

Re: [PATCH v5 08/12] block: Introduce new bio_split()

2012-08-09 Thread Tejun Heo
Hello, On Thu, Aug 09, 2012 at 03:33:34AM -0400, Kent Overstreet wrote: > > If you think the active dropping is justified, please let the change > > and justification clearly stated. You're burying the active change in > > two separate patches without even mentioning it or cc'ing people who > >

Re: [PATCH 1/3] perf tools: Initial bash completion support

2012-08-09 Thread Frederic Weisbecker
On Thu, Aug 09, 2012 at 02:14:19PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Aug 09, 2012 at 10:40:19AM -0600, David Ahern escreveu: > > On 8/9/12 10:35 AM, Arnaldo Carvalho de Melo wrote: > > >Em Thu, Aug 09, 2012 at 04:31:51PM +0200, Frederic Weisbecker escreveu: > > >>This implements

Re:

2012-08-09 Thread Mauro Carvalho Chehab
Hi Fengguang, Em 09-08-2012 10:54, Fengguang Wu escreveu: ... > Date: Thu, 9 Aug 2012 21:54:16 +0800 > From: Fengguang Wu > To: Mauro Carvalho Chehab > Cc: Dave Peterson , kernel-janit...@vger.kernel.org, > Doug Thompson , linux-e...@vger.kernel.org, >

Re: [PATCH 1/3] perf tools: Initial bash completion support

2012-08-09 Thread David Ahern
On 8/9/12 11:14 AM, Arnaldo Carvalho de Melo wrote: Em Thu, Aug 09, 2012 at 10:40:19AM -0600, David Ahern escreveu: On 8/9/12 10:35 AM, Arnaldo Carvalho de Melo wrote: Em Thu, Aug 09, 2012 at 04:31:51PM +0200, Frederic Weisbecker escreveu: This implements bash completion for perf subcommands

Re: [09/36] AArch64: Exception handling

2012-08-09 Thread Catalin Marinas
Hi Christopher, On Thu, Aug 09, 2012 at 06:05:36PM +0100, Christopher Covington wrote: > On 01/-10/-28163 02:59 PM, Catalin Marinas wrote: > > +/* > > + * Exception vectors. > > + */ > > + .macro ventry label > > + .align 7 > > + b \label > > + .endm > > + > > + .align 11 > >

Re: [RFC 5/5] uprobes: add global breakpoints

2012-08-09 Thread Sebastian Andrzej Siewior
* Oleg Nesterov | 2012-08-08 15:14:57 [+0200]: >> What I miss right now is an interface to tell the user/gdb that there is a >> program that hit a global breakpoint and is waiting for further instructions. >> A "tail -f trace" does not work and may contain also a lot of other >> informations.

Re: [PATCH 1/3] perf tools: Initial bash completion support

2012-08-09 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 09, 2012 at 10:40:19AM -0600, David Ahern escreveu: > On 8/9/12 10:35 AM, Arnaldo Carvalho de Melo wrote: > >Em Thu, Aug 09, 2012 at 04:31:51PM +0200, Frederic Weisbecker escreveu: > >>This implements bash completion for perf subcommands such > >>as record, report, script, probe,

Re: [PATCH 1/3] perf tools: Initial bash completion support

2012-08-09 Thread Frederic Weisbecker
On Thu, Aug 09, 2012 at 02:11:22PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Aug 09, 2012 at 07:00:10PM +0200, Frederic Weisbecker escreveu: > > On Thu, Aug 09, 2012 at 01:35:15PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Thu, Aug 09, 2012 at 04:31:51PM +0200, Frederic Weisbecker

Re: [PATCH 1/3] perf tools: Initial bash completion support

2012-08-09 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 09, 2012 at 04:31:51PM +0200, Frederic Weisbecker escreveu: > This implements bash completion for perf subcommands such > as record, report, script, probe, etc... Humm, I get this when doing my usual workflow: [acme@sandy linux]$ make -j8 -C tools/perf/ O=/home/acme/git/build/perf

Re: [PATCH 1/3] perf tools: Initial bash completion support

2012-08-09 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 09, 2012 at 07:00:10PM +0200, Frederic Weisbecker escreveu: > On Thu, Aug 09, 2012 at 01:35:15PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Thu, Aug 09, 2012 at 04:31:51PM +0200, Frederic Weisbecker escreveu: > > > This implements bash completion for perf subcommands such > > > as

Re: [PATCH V3] regulator: tps6586x: add support for SYS rail

2012-08-09 Thread Stephen Warren
On 08/05/2012 01:41 AM, Laxman Dewangan wrote: > Device have SYS rail which is always ON. It is system > power bus. LDO5 and LDO_RTC get powered through this rail > internally. Add support for this rail and make the > LDO5/LDO_RTC input supply to "sys". > Update document accordingly. Sorry to bug

[PATCH v2 2/5] x86/uprobes: implement x86 specific arch_uprobe_*_step

2012-08-09 Thread Sebastian Andrzej Siewior
The arch specific implementation behaves like user_enable_single_step() except that it does not disable single stepping if it was already enabled. This allows the debugger to single step over an uprobe. The state of block stepping is not restored. It makes only sense together with TF and if that

Re: [dm-devel] [PATCH v2 2/2] dm: verity support data device offset (Linux 3.4.7)

2012-08-09 Thread Wesley Miaw
On Aug 8, 2012, at 11:35 PM, Milan Broz wrote: > On 08/09/2012 02:40 AM, Wesley Miaw wrote: >> >> >> This isn't as polished because I pretty much just added support to do >> what I needed. I'm not sure if the LKML is the right place to post, >> so let me know if I should send this somewhere

Re: ext4fs error "ext4_mb_generate_buddy:741:group 16, 8160 clusters in bitmap, 4064 in gd" (with repro)

2012-08-09 Thread Theodore Ts'o
On Thu, Aug 09, 2012 at 12:00:09PM +0200, Paolo Bonzini wrote: > Here is how to reproduce it. It happens during fstrim. I found other > occurrences of the error in the mailing list, but they were not related > to trim so they may be something different. > > modprobe scsi_debug dev_size_mb=256

Re: [09/36] AArch64: Exception handling

2012-08-09 Thread Christopher Covington
Hi Catalin and Will, On 01/-10/-28163 02:59 PM, Catalin Marinas wrote: > The patch contains the exception entry code (kernel/entry.S), pt_regs > structure and related accessors, undefined instruction trapping and > stack tracing. > > AArch64 Linux kernel (including kernel threads) runs in EL1

Re: [PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-09 Thread Konrad Rzeszutek Wilk
> > Right, the original patch didn't break anything with PV domains. The case > > it doesn't handle is an HVM initial domain with an already-running > > Xenstore domain; I think this applies both to ARM and hybrid/PVH on x86. > > In that case, usage would be set to LOCAL instead of HVM. > > >

Re: [PATCH v7 0/8] Raid: enable talitos xor offload for improving performance

2012-08-09 Thread Ira W. Snyder
On Thu, Aug 09, 2012 at 04:19:35PM +0800, qiang@freescale.com wrote: > Hi all, > > The following 8 patches enabling fsl-dma and talitos offload raid > operations for improving raid performance and balancing CPU load. > > These patches include talitos, fsl-dma and carma module (caram uses >

Re: [PATCH v2] mm: Restructure kmem_cache_create() to move debug cache integrity checks into a new function

2012-08-09 Thread Shuah Khan
On Thu, 2012-08-09 at 09:13 -0500, Christoph Lameter (Open Source) wrote: > On Mon, 6 Aug 2012, Shuah Khan wrote: > > > +#ifdef CONFIG_DEBUG_VM > > +static int kmem_cache_sanity_check(const char *name, size_t size) > > Why do we pass "size" in? AFAICT there is no need to. It is an oversight on

Re: [PATCH 1/3] perf tools: Initial bash completion support

2012-08-09 Thread Frederic Weisbecker
On Thu, Aug 09, 2012 at 01:35:15PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Aug 09, 2012 at 04:31:51PM +0200, Frederic Weisbecker escreveu: > > This implements bash completion for perf subcommands such > > as record, report, script, probe, etc... > > Humm, I get this when doing my usual

Re: RFC: mutex: hung tasks on SMP platforms with asm-generic/mutex-xchg.h

2012-08-09 Thread Nicolas Pitre
On Thu, 9 Aug 2012, Nicolas Pitre wrote: > On Thu, 9 Aug 2012, Will Deacon wrote: > > > I think we could actually fix this entirely in mutex-xchg.h by doing > > something in fastpath_lock similar to what we do for trylock: > > > > > > diff --git a/include/asm-generic/mutex-xchg.h > >

Re: [PATCH 1/2] ARM: build ssi-fiq.S in ARM mode to prevent CONFIG_THUMB2_KERNEL build breakage

2012-08-09 Thread Dave Martin
On Thu, Aug 09, 2012 at 11:05:47AM -0500, Matt Sealey wrote: > On Thu, Aug 9, 2012 at 9:50 AM, Dave Martin wrote: > > On Thu, Aug 09, 2012 at 09:32:59AM -0500, Matt Sealey wrote: > >> Matt Sealey > >> Product Development Analyst, Genesi USA, Inc. > >> > >> > >> On Thu, Aug 9, 2012 at 5:24 AM,

Re: [PATCH v2 02/23] xen/arm: hypercalls

2012-08-09 Thread Dave Martin
On Thu, Aug 09, 2012 at 04:37:24PM +0100, Stefano Stabellini wrote: > On Wed, 8 Aug 2012, Dave Martin wrote: > > On Mon, Aug 06, 2012 at 03:27:05PM +0100, Stefano Stabellini wrote: > > > Use r12 to pass the hypercall number to the hypervisor. > > > > > > We need a register to pass the hypercall

Re: [PATCH 3/5] hda_intel: Add Device IDs for Intel Lynx Point-LP PCH

2012-08-09 Thread Takashi Iwai
At Thu, 9 Aug 2012 09:38:59 -0700, james.d.rals...@intel.com wrote: > > From: James Ralston > > This patch adds the Intel HD Audio Device IDs for the Intel Lynx Point-LP PCH > > Signed-off-by: James Ralston Applied now. Thanks. Takashi > --- > sound/pci/hda/hda_intel.c |9 +

Re: [PATCH v2 07/11] mm: Allocate kernel pages to the right memcg

2012-08-09 Thread Glauber Costa
On 08/09/2012 08:33 PM, Greg Thelen wrote: > On Thu, Aug 09 2012, Glauber Costa wrote: > >> When a process tries to allocate a page with the __GFP_KMEMCG flag, the >> page allocator will call the corresponding memcg functions to validate >> the allocation. Tasks in the root memcg can always

[PATCH 4/5] i2c-i801: Add Device IDs for Intel Lynx Point-LP PCH

2012-08-09 Thread james . d . ralston
From: James Ralston This patch adds the SMBus Device IDs for the Intel Lynx Point-LP PCH. The Device IDs are defined in drivers/i2c/busses/i2c-i801.c Signed-off-by: James Ralston --- Documentation/i2c/busses/i2c-i801 |1 + drivers/i2c/busses/Kconfig|1 +

[REGRESSION] hard lockup on resume from suspend on ThinkPad T23

2012-08-09 Thread Martin Steigerwald
Hello! I thought I report it here – although unless it rings a bell I won´t probably be doing much about it like a git-bisect since that machine is slow and it could take ages… With Debian kernel 3.3.0-trunk-686-pae the machine suspends and resume for lots of times for 30-40 days uptime and

Re: [PATCH 1/3] perf tools: Initial bash completion support

2012-08-09 Thread David Ahern
On 8/9/12 10:35 AM, Arnaldo Carvalho de Melo wrote: Em Thu, Aug 09, 2012 at 04:31:51PM +0200, Frederic Weisbecker escreveu: This implements bash completion for perf subcommands such as record, report, script, probe, etc... Humm, I get this when doing my usual workflow: [acme@sandy linux]$

[PATCH 3/5] hda_intel: Add Device IDs for Intel Lynx Point-LP PCH

2012-08-09 Thread james . d . ralston
From: James Ralston This patch adds the Intel HD Audio Device IDs for the Intel Lynx Point-LP PCH Signed-off-by: James Ralston --- sound/pci/hda/hda_intel.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c

[PATCH] perf lock record: improve message when tracepoints are not enabled

2012-08-09 Thread David Ahern
If CONFIG options required for perf-lock are not enabled then the corresponding tracepoints will not be enabled. Currently, the message to the user is: $ perf lock record -a -- sleep 1 invalid or unsupported event: 'lock:lock_acquire' Run 'perf list' for a list of valid events Improve the

[PATCH 2/5] ata_piix: Add Device IDs for Intel Lynx Point-LP PCH

2012-08-09 Thread james . d . ralston
From: James Ralston This patch adds the IDE-mode SATA Device IDs for the Intel Lynx Point-LP PCH Signed-off-by: James Ralston --- drivers/ata/ata_piix.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index

Re: [PATCH v2 07/11] mm: Allocate kernel pages to the right memcg

2012-08-09 Thread Greg Thelen
On Thu, Aug 09 2012, Glauber Costa wrote: > When a process tries to allocate a page with the __GFP_KMEMCG flag, the > page allocator will call the corresponding memcg functions to validate > the allocation. Tasks in the root memcg can always proceed. > > To avoid adding markers to the page - and

RE: [PATCH] Staging: comedi: ssv_snp: fix checkpatch.pl warnings

2012-08-09 Thread H Hartley Sweeten
On Thursday, August 09, 2012 8:20 AM, Güngör Erseymen wrote: > Fix two checkpatch.pl warnings about printk issues by using > pr_info(...) instead of printk(KERN_INFO, ...). > > Signed-off-by: Güngör Erseymen > --- > drivers/staging/comedi/drivers/ssv_dnp.c | 4 ++-- > 1 file changed, 2

Re: [PATCH 1/8] of/irq: Create stub for of_irq_find_parent when !CONFIG_OF

2012-08-09 Thread Rob Herring
On 08/09/2012 10:53 AM, Lee Jones wrote: > of_irq_find_parent is a handy function to use outside the confines of > the Open Firmware subsystem. One such use-case is when the IRQ Domain > wishes to find an IRQ domain for a given device node. Currently it can > not take any notice of the

Re: RFC: mutex: hung tasks on SMP platforms with asm-generic/mutex-xchg.h

2012-08-09 Thread Nicolas Pitre
On Thu, 9 Aug 2012, Will Deacon wrote: > I think we could actually fix this entirely in mutex-xchg.h by doing > something in fastpath_lock similar to what we do for trylock: > > > diff --git a/include/asm-generic/mutex-xchg.h > b/include/asm-generic/mutex-xchg.h > index 580a6d3..c082e99 100644

Re: [PATCH] regulator: core: Use list_voltage() to read single voltage regulators

2012-08-09 Thread Stephen Warren
On 08/09/2012 09:45 AM, Mark Brown wrote: > If the regulator doesn't supply a way of reading back the voltage but does > provide a list_voltage() operation then use that with a selector of zero > to read the voltage. Ah, this makes sense. The only issue is: static int

Re: [PATCH] Intel xhci: Only switch the switchable ports

2012-08-09 Thread Keng-Yu Lin
On Thu, Aug 9, 2012 at 10:24 PM, Sarah Sharp wrote: > On Thu, Aug 09, 2012 at 05:31:51PM +0800, Keng-Yu Lin wrote: >> With a previous patch to enable the EHCI/XHCI port switching, it switches >> all the available ports. >> >> The assumption is not correct because the BIOS may expect some ports >>

Re: [PATCH] ipv4: tcp: security_sk_alloc() needed for unicast_sock

2012-08-09 Thread Paul Moore
On Thu, Aug 9, 2012 at 12:05 PM, Eric Paris wrote: > Paul, are you looking into this? This is a bandaide, not a fix Yep, I mentioned this a few times in the other thread. The problem is there is not going to be an easy fix for the labeling so I'd rather we see this patch, or something like

Re: [PATCH 1/2] ARM: build ssi-fiq.S in ARM mode to prevent CONFIG_THUMB2_KERNEL build breakage

2012-08-09 Thread Matt Sealey
On Thu, Aug 9, 2012 at 9:50 AM, Dave Martin wrote: > On Thu, Aug 09, 2012 at 09:32:59AM -0500, Matt Sealey wrote: >> Matt Sealey >> Product Development Analyst, Genesi USA, Inc. >> >> >> On Thu, Aug 9, 2012 at 5:24 AM, Dave Martin wrote: >> > On Wed, Aug 08, 2012 at 12:32:39PM -0500, Matt

Re: [PATCH] ipv4: tcp: security_sk_alloc() needed for unicast_sock

2012-08-09 Thread Eric Paris
On Thu, Aug 9, 2012 at 11:36 AM, Eric Dumazet wrote: > On Thu, 2012-08-09 at 11:07 -0400, Paul Moore wrote: > >> Is is possible to do the call to security_sk_alloc() in the ip_init() >> function >> or does the per-cpu nature of the socket make this a pain? >> > > Its a pain, if we want NUMA

[PATCH 1/5] ahci: Add Device IDs for Intel Lynx Point-LP PCH

2012-08-09 Thread james . d . ralston
From: James Ralston This patch adds the AHCI-mode SATA Device IDs for the Intel Lynx Point-LP PCH Signed-off-by: James Ralston --- drivers/ata/ahci.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index ebaf67e..c590259

[GIT PULL 2/2] Btrfs merge fix

2012-08-09 Thread Chris Mason
Hi Linus, Please pull my for-linus-3.6 branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus-3.6 It fixes a merging error in rc1. The calls to mnt_want_write should have been removed. Alexander Block (1): Btrfs: remove mnt_want_write call in

[PATCH 01/22] ARM: ux500: Fix merge error, no matching driver name for 'snd_soc_u8500'

2012-08-09 Thread Lee Jones
The platform attempts to register platform device 'snd_soc_u8500' which doesn't actually exist. Here we change the reference to the correct one 'snd_soc_mop500'. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-msp.c | 10 +- 1 file changed, 5 insertions(+), 5

[PATCH 02/22] ARM: ux500: Ensure probing of Audio devices when Device Tree is enabled

2012-08-09 Thread Lee Jones
Previous attempts to add platform probing of the Audio related devices only call from non-DT initialisation functions. This patch extends that functionality to the Device Tree related ones too. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500.c |4 1 file changed, 4

Re: [PATCH] ipv4: tcp: security_sk_alloc() needed for unicast_sock

2012-08-09 Thread Paul Moore
On Thu, Aug 9, 2012 at 11:36 AM, Eric Dumazet wrote: > On Thu, 2012-08-09 at 11:07 -0400, Paul Moore wrote: > >> Is is possible to do the call to security_sk_alloc() in the ip_init() >> function >> or does the per-cpu nature of the socket make this a pain? >> > > Its a pain, if we want NUMA

Linux 3.5.1

2012-08-09 Thread Greg KH
I'm announcing the release of the 3.5.1 kernel. All users of the 3.5 kernel series must upgrade. The updated 3.5.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.5.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH 3/3] drivers/char/tpm: Add securityfs support for event log

2012-08-09 Thread Kent Yoder
Hi Ashley, > diff --git a/drivers/char/tpm/Makefile b/drivers/char/tpm/Makefile > index 547509d..b53da57 100644 > --- a/drivers/char/tpm/Makefile > +++ b/drivers/char/tpm/Makefile > @@ -2,9 +2,15 @@ > # Makefile for the kernel tpm device drivers. > # > obj-$(CONFIG_TCG_TPM) += tpm.o >

[PATCH 1/1] drivers/rtc/rtc-ab8500.c: Revoke Device Tree enablement

2012-08-09 Thread Lee Jones
All AB8500 devices are now registered via MFD core, so Device Tree capability is no longer required for probing. Here we pull the DT match table to ensure we're no longer probed during Device Tree start-up. CC: Alessandro Zummo CC: rtc-li...@googlegroups.com Signed-off-by: Lee Jones ---

<    1   2   3   4   5   6   7   8   9   10   >