Re: kobject: delayed kobject release: help find buggy drivers

2013-09-05 Thread Dave Jones
On Thu, Sep 05, 2013 at 08:34:57AM -0700, Greg KH wrote: Trace: IRQ run_timer_softirq __do_softirq irq_exit smp_apic_timer_interrupt apic_timer_interrupt EOI vprintk_emit dev_vprintk_emit dev_vprint_emit __dev_printk _dev_info ahci_print_info

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-05 Thread Johannes Weiner
On Thu, Sep 05, 2013 at 02:43:52PM +0200, Michal Hocko wrote: On Thu 05-09-13 07:54:30, Johannes Weiner wrote: There are a few more find_or_create() sites that do not propagate an error and it's incredibly hard to find out whether they are even taken during a page fault. It's not practical

Re: [PATCH] Remove support for score architecture

2013-09-05 Thread Guenter Roeck
On Thu, Sep 05, 2013 at 08:41:43AM -0500, Rob Landley wrote: On 08/30/2013 09:00:35 PM, Guenter Roeck wrote: The web site associated with the score architecture in MAINTAINERS is non-functional and available for sale. The last Ack from one of the maintainers was in December 2012. The main

[git pull] vfs pile 1 (of many small ones this time ;-/)

2013-09-05 Thread Al Viro
Unfortunately, this merge window it'll have a be a lot of small piles - my fault, actually, for not keeping #for-next in anything that would resemble a sane shape ;-/ This pile: assorted fixes (the first 3 are -stable fodder, IMO) and cleanups + %pd/%pD formats (dentry/file pathname, up to 4 last

Re: [PATCH v2 2/6] PCI/MSI: Factor out pci_get_msi_cap() interface

2013-09-05 Thread Tejun Heo
Hello, On Thu, Sep 05, 2013 at 05:40:42PM +0200, Alexander Gordeev wrote: On Thu, Sep 05, 2013 at 11:04:42AM -0400, Tejun Heo wrote: The thing is, do we even have cases where arch code returns positive return to indicate possible partial allocation? If not, the whole interface is

Re: drivers/staging/bcm/InterfaceMisc.c-checkpatch cleanup-(foo*)-(foo *)

2013-09-05 Thread Dan Carpenter
Please send this instead of as an attachment. Send it to yourself first and apply it with 'git am'. Resend when that works. From: AVI avi@avi-VPCCW15FG.(none) That's wrong. The subject is too long and not the right format. It should be: Subject: [PATCH]

Re: RFC Block Layer Extensions to Support NV-DIMMs

2013-09-05 Thread Rob Gittins
Hi Jeff, Thanks for taking the time to look at this. On Thu, 2013-09-05 at 08:12 -0400, Jeff Moyer wrote: Rob Gittins rob.gitt...@linux.intel.com writes: Direct Memory Mappable DIMMs (DMMD) appear in the system address space and are accessed via load and store instructions. These NVDIMMs

Re: bride: IPv6 multicast snooping enhancements

2013-09-05 Thread David Miller
From: Linus Lüssing linus.luess...@web.de Date: Wed, 4 Sep 2013 02:13:37 +0200 Here are two, small feature changes I would like to submit to increase the usefulness of the multicast snooping of the bridge code. The first patch is an unaltered one I had submitted before, but since it got no

Re: [PATCH 3/3] perf: parse the .debug_frame section in case .eh_frame is not present

2013-09-05 Thread Jiri Olsa
On Wed, Sep 04, 2013 at 08:04:14PM +0200, Jean Pihet wrote: On ARM the debug info is not present in the .eh_frame sections but instead in .debug_frame. Use libunwind to load and parse the debug info. hum, cannot make final link: $ make LIBUNWIND_DIR=/opt/libunwind/ CHK

Re: [PATCH 04/11] vfs: check unlinked ancestors before mount

2013-09-05 Thread Miklos Szeredi
On Thu, Sep 5, 2013 at 4:56 PM, Al Viro v...@zeniv.linux.org.uk wrote: I'd probably just do this, and to hell with helper functions... int d_set_mounted(struct dentry *dentry) { struct dentry *p; int ret = 0; write_seqlock(rename_lock); for (p = dentry;

Re: [PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-05 Thread Afzal Mohammed
Hi Philipp, On Thursday 05 September 2013 03:37 PM, Philipp Zabel wrote: Am Montag, den 02.09.2013, 19:41 +0530 schrieb Afzal Mohammed: Two new reset API's are provided to check whether reset is ready and to clear reset. This would be required in case IP needs to mix reset handling procedure

Re: drivers/staging/bcm/InterfaceMisc.c-checkpatch cleanup-(foo*)-(foo *)

2013-09-05 Thread Dan Carpenter
On Thu, Sep 05, 2013 at 07:32:16PM +0300, Dan Carpenter wrote: Please send this instead of as an attachment. Send this *inline* I meant. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: perf, x86: Add parts of the remaining haswell PMU functionality

2013-09-05 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: The correct way is to implement it like TopDown level 1, but I don't know how to put that into the kernel. Create an event group, with some callbacks to do the additions/subtractions to get at the right figures? (if it's plain linear arithmetics then

Re: RFC Block Layer Extensions to Support NV-DIMMs

2013-09-05 Thread Jeff Moyer
Matthew Wilcox wi...@linux.intel.com writes: On Thu, Sep 05, 2013 at 08:12:05AM -0400, Jeff Moyer wrote: If the memory is available to be mapped into the address space of the kernel or a user process, then I don't see why we should have a block device at all. I think it would make more sense

Re: [PATCH] parisc: Export flush_cache_page() (needed by lustre)

2013-09-05 Thread Kyle McMartin
On Thu, Sep 05, 2013 at 09:01:59AM -0700, James Bottomley wrote: +EXPORT_SYMBOL_GPL(flush_cache_page); This is an internal API: no architecture exports this. Whoever is trying to use it needs to use the correct API, so this is the wrong patch. I suspect it's copy_{to,from}_user_page

Re: [PATCH V2 net-next 1/2] tuntap: purge socket error queue on detach

2013-09-05 Thread David Miller
From: Jason Wang jasow...@redhat.com Date: Thu, 5 Sep 2013 17:53:59 +0800 Commit eda297729171fe16bf34fe5b0419dfb69060f623 (tun: Support software transmit time stamping) will queue skbs into error queue when tx stamping is enabled. But it forgets to purge the error queue during detach. This

Re: [PATCH v5 03/13] arm64: define DMA_ERROR_CODE

2013-09-05 Thread Stefano Stabellini
On Thu, 5 Sep 2013, Catalin Marinas wrote: On Thu, Aug 29, 2013 at 07:32:24PM +0100, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: catalin.mari...@arm.com CC: will.dea...@arm.com --- arch/arm64/include/asm/dma-mapping.h |1 + 1

Re: [GIT PULL] please pull infiniband.git

2013-09-05 Thread David Miller
From: Linus Torvalds torva...@linux-foundation.org Date: Thu, 5 Sep 2013 09:42:05 -0700 On Wed, Sep 4, 2013 at 5:31 PM, Stephen Rothwell s...@canb.auug.org.au wrote: I am carrying the following merge fix patch for a semantic conflict between this tree and Dave's net-next tree: Ok. I

Re: [GIT PULL] please pull infiniband.git

2013-09-05 Thread Linus Torvalds
On Wed, Sep 4, 2013 at 5:31 PM, Stephen Rothwell s...@canb.auug.org.au wrote: I am carrying the following merge fix patch for a semantic conflict between this tree and Dave's net-next tree: Ok. I haven't gotten David's pull request yet, and unless I get it later today I'll probably forget

Re: [PATCH v3] ARM: xen: only set pm function ptrs for Xen guests

2013-09-05 Thread Stefano Stabellini
On Thu, 29 Aug 2013, Stefano Stabellini wrote: On Thu, 29 Aug 2013, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com xen_pm_init was unconditionally setting pm_power_off and arm_pm_restart function pointers. This breaks multi-platform kernels. Make this conditional on

Re: [PATCH v5 11/13] xen: introduce xen_alloc/free_coherent_pages

2013-09-05 Thread Stefano Stabellini
On Thu, 5 Sep 2013, Catalin Marinas wrote: On Thu, Aug 29, 2013 at 07:32:32PM +0100, Stefano Stabellini wrote: xen_swiotlb_alloc_coherent needs to allocate a coherent buffer for cpu and devices. On native x86 and ARMv8 is sufficient to call __get_free_pages in order to get a coherent

Re: [PATCH V2 net-next 2/2] tuntap: orphan frags before trying to set tx timestamp

2013-09-05 Thread David Miller
From: Jason Wang jasow...@redhat.com Date: Thu, 5 Sep 2013 17:54:00 +0800 sock_tx_timestamp() will clear all zerocopy flags of skb which may lead the frags never to be orphaned. This will break guest to guest traffic when zerocopy is enabled. Fix this by orphaning the frags before trying to

Re: [PATCH net-next 0/5] driver/net: enic: enic driver updates

2013-09-05 Thread David Miller
From: Govindarajulu Varadarajan govindarajul...@gmail.com Date: Wed, 4 Sep 2013 11:17:13 +0530 This series includes support for multi-tx, rss_hash, RPS, RFS, DMA64, export symbols for cisco low latency driver and update the driver version and driver maintainers. Series applied, thanks. --

Re: perf, x86: Add parts of the remaining haswell PMU functionality

2013-09-05 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: On Thu, Sep 05, 2013 at 03:15:02PM +0200, Ingo Molnar wrote: * Ingo Molnar mi...@kernel.org wrote: One thing I'm not seeing in the current Haswell code is the config set up for PERF_COUNT_HW_STALLED_CYCLES_FRONTEND/BACKEND. Both SB and IB

Re: [PATCH v5 12/13] swiotlb-xen: use xen_alloc/free_coherent_pages

2013-09-05 Thread Stefano Stabellini
On Fri, 30 Aug 2013, Konrad Rzeszutek Wilk wrote: On Thu, Aug 29, 2013 at 07:32:33PM +0100, Stefano Stabellini wrote: Use xen_alloc_coherent_pages and xen_free_coherent_pages to allocate or free coherent pages. We need to be careful handling the pointer returned by

Re: [PATCH] dcache: Translating dentry into pathname without taking rename_lock

2013-09-05 Thread Waiman Long
On 09/05/2013 12:30 AM, George Spelvin wrote: As long as you're removing locks from prepend_name and complicating its innards, I notice that each and every call site follows it by prepending /. How about moving that into prepend_name as well? Also, if you happen to feel like it, you can delete

Re: [PATCH 3/3] perf: parse the .debug_frame section in case .eh_frame is not present

2013-09-05 Thread Jean Pihet
Hi Jiri, On 5 September 2013 18:30, Jiri Olsa jo...@redhat.com wrote: On Wed, Sep 04, 2013 at 08:04:14PM +0200, Jean Pihet wrote: On ARM the debug info is not present in the .eh_frame sections but instead in .debug_frame. Use libunwind to load and parse the debug info. hum, cannot make

Re: [Xen-devel] [PATCH v5 02/13] arm: introduce a global dma_ops pointer

2013-09-05 Thread Stefano Stabellini
On Mon, 2 Sep 2013, Julien Grall wrote: On 08/29/2013 07:32 PM, Stefano Stabellini wrote: Initially set dma_ops to arm_dma_ops. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com CC: will.dea...@arm.com CC:

Re: [GIT PATCH] Staging driver patches for 3.12-rc1

2013-09-05 Thread Geert Uytterhoeven
On Thu, Sep 5, 2013 at 5:05 PM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Sep 05, 2013 at 04:09:48PM +0200, Geert Uytterhoeven wrote: On Tue, Sep 3, 2013 at 1:58 AM, Greg KH gre...@linuxfoundation.org wrote: Here's the bit staging tree pull request for 3.12-rc1. Lots of staging

Re: [PATCH v5 05/13] xen/arm,arm64: move Xen initialization earlier

2013-09-05 Thread Stefano Stabellini
On Thu, 5 Sep 2013, Catalin Marinas wrote: On Thu, Aug 29, 2013 at 07:32:26PM +0100, Stefano Stabellini wrote: Move Xen initialization earlier, before any DMA requests can be made. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com I guess you should cc the corresponding

Re: RFC Block Layer Extensions to Support NV-DIMMs

2013-09-05 Thread Jeff Moyer
Rob Gittins rob.gitt...@linux.intel.com writes: void (*commitpmem)(struct block_device *bdev, void *addr); Seems like this would benefit from a length argument as well, no? Yes. Great point. I will add that in. Rob, taking it a step further, maybe a vectored interface would be more

Re: [PATCH v8 02/10] tracing: Add basic event trigger framework

2013-09-05 Thread Steven Rostedt
On Mon, 2 Sep 2013 22:52:18 -0500 Tom Zanussi tom.zanu...@linux.intel.com wrote: include/linux/ftrace_event.h| 11 ++ include/trace/ftrace.h | 4 + kernel/trace/Makefile | 1 + kernel/trace/trace.h| 182

[3.8.y.z extended stable] Linux 3.8.13.8

2013-09-05 Thread Kamal Mostafa
I am announcing the release of the Linux 3.8.13.8 kernel. The updated 3.8.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.8.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.8.y;a=shortlog The diff from v3.8.13.7 is

Re: [PATCH 1/2] tick: broadcast: Deny per-cpu clockevents from being broadcast sources

2013-09-05 Thread Sören Brinkmann
On Thu, Aug 22, 2013 at 10:06:40AM -0700, Stephen Boyd wrote: On most ARM systems the per-cpu clockevents are truly per-cpu in the sense that they can't be controlled on any other CPU besides the CPU that they interrupt. If one of these clockevents were to become a broadcast source we will run

[PATCH] workqueue: fix ordered workqueue in NUMA setups

2013-09-05 Thread Tejun Heo
Hello, Libin. Thanks a lot for the report and the possible fix. I took a different approach as ensuring the pwqs are setup correctly during creation is cleaner / lower overhead. Can you please consider the followings when submitting patches in the future? * Please use your full name in SOBs.

Re: [gcv v3 27/35] arm: Replace __get_cpu_var uses

2013-09-05 Thread Will Deacon
On Thu, Sep 05, 2013 at 03:24:25PM +0100, Christoph Lameter wrote: On Thu, 5 Sep 2013, Will Deacon wrote: if (el == DBG_ACTIVE_EL1 - local_dec_and_test(this_cpu_ptr(kde_ref_count))) + this_cpu_dec_return(kde_ref_count)) disable = ~DBG_MDSCR_KDE; Almost! I

[PATCH] staging: bcm: InterfaceMisc.c: fixed styling issue in casting (foo*)-(foo *)

2013-09-05 Thread Avinash Kumar
fixed styling issue in pointer typecast. Signed-off-by: Avinash Kumar avi.kp@gmail.com --- drivers/staging/bcm/InterfaceMisc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/bcm/InterfaceMisc.c b/drivers/staging/bcm/InterfaceMisc.c index

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-05 Thread Waiman Long
On 09/05/2013 09:31 AM, Ingo Molnar wrote: * Waiman Longwaiman.l...@hp.com wrote: The latest tty patches did work. The tty related spinlock contention is now completely gone. The short workload can now reach over 8M JPM which is the highest I have ever seen. The perf profile was: 5.85%

RE: [PATCH] lockref: remove cpu_relax() again

2013-09-05 Thread Luck, Tony
And there can't be any livelock, since by definition somebody else _did_ make progress. In fact, adding the cpu_relax() probably just makes things much less fair - once somebody else raced on you, the cpu_relax() now makes it more likely that _another_ cpu does so too. That said, let's see

Re: kobject: delayed kobject release: help find buggy drivers

2013-09-05 Thread Russell King - ARM Linux
On Thu, Sep 05, 2013 at 01:19:45AM -0400, Dave Jones wrote: Got it. (I think I was getting tracebacks from multiple cpus, hence the spewing). Adding a check for tainted() = infinite loop to show_backtrace() combined with boot_delay gave me a really long oops that I had to grab video to record.

Re: [PATCH] ethernet/arc/arc_emac: optimize the Tx/Tx-reclaim paths a bit

2013-09-05 Thread David Miller
From: Vineet Gupta vineet.gup...@synopsys.com Date: Wed, 4 Sep 2013 18:33:11 +0530 This came out of staring at code due to recent performance fix. * TX BD reclaim can call netif_wake_queue() once, outside the loop if one/more BDs were freed, NO need to do this each iteration. * TX need

Re: [PATCH] kernel-doc: Update script to find more Return: sections

2013-09-05 Thread Randy Dunlap
On 09/03/13 17:34, Joe Perches wrote: Many kernel-doc return description sections headers use variants of the Return: section prefix. (some or maybe even most of these aren't in kernel-doc sections, but many are) $ git grep -E -i ^\s*\*\s*return[s]?:| \ cut -f2- -d: | awk '{print $1

Re: [PATCH] ethernet/arc/arc_emac: Fix huge delays in large file copies

2013-09-05 Thread David Miller
From: Vineet Gupta vineet.gup...@synopsys.com Date: Wed, 4 Sep 2013 17:17:15 +0530 copying large files to a NFS mounted host was taking absurdly large time. Turns out that TX BD reclaim had a sublte bug. Loop starts off from @txbd_dirty cursor and stops when it hits a BD still in use by

Re: [PATCH] checkpatch: Extend CamelCase types and ignore existing CamelCase uses in a patch

2013-09-05 Thread Sarah Sharp
On Wed, Sep 04, 2013 at 04:08:06PM -0700, Joe Perches wrote: (sending for 3rd time, odd dns problems today, apologies for dupes) On Wed, 2013-09-04 at 08:58 -0700, Sarah Sharp wrote: On Tue, Sep 03, 2013 at 10:25:21AM -0700, Joe Perches wrote: Extend the CamelCase words found to include

[tip:x86/urgent] x86/smpboot: Fix announce_cpu() to printk() the last OK properly

2013-09-05 Thread tip-bot for Libin
Commit-ID: 52239484bf8aec031afa84ae08aa88224d819b93 Gitweb: http://git.kernel.org/tip/52239484bf8aec031afa84ae08aa88224d819b93 Author: Libin huawei.li...@huawei.com AuthorDate: Thu, 5 Sep 2013 18:57:56 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 5 Sep 2013 15:05:37

[PATCH] of: clean-up ifdefs in of_irq.h

2013-09-05 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Much of of_irq.h is needlessly ifdef'ed. Clean this up and minimize the amount ifdef'ed code. This fixes some build warnings when CONFIG_OF is not enabled (seen on i386 and x86_64): include/linux/of_irq.h:82:7: warning: 'struct device_node' declared

Re: [PATCH] perf tools: Clarify error when running perf lock record

2013-09-05 Thread Rodrigo Campos
On Thu, Sep 05, 2013 at 08:29:10AM -0600, David Ahern wrote: On 9/5/13 2:32 AM, Rodrigo Campos wrote: If you have the config options enabled in your kernel, you still need to be root to run perf lock. And is kind of misleading when you have that options enabled and the error says that they

Re: RFC Block Layer Extensions to Support NV-DIMMs

2013-09-05 Thread Matthew Wilcox
On Thu, Sep 05, 2013 at 01:15:40PM -0400, Jeff Moyer wrote: Matthew Wilcox wi...@linux.intel.com writes: On Thu, Sep 05, 2013 at 08:12:05AM -0400, Jeff Moyer wrote: If the memory is available to be mapped into the address space of the kernel or a user process, then I don't see why we

Re: [PATCH] parisc: Export flush_cache_page() (needed by lustre)

2013-09-05 Thread Geert Uytterhoeven
On Thu, Sep 5, 2013 at 7:13 PM, Kyle McMartin k...@infradead.org wrote: On Thu, Sep 05, 2013 at 09:01:59AM -0700, James Bottomley wrote: +EXPORT_SYMBOL_GPL(flush_cache_page); This is an internal API: no architecture exports this. Whoever is trying to use it needs to use the correct API, so

Re: kobject: delayed kobject release: help find buggy drivers

2013-09-05 Thread Dave Jones
On Thu, Sep 05, 2013 at 06:35:40PM +0100, Russell King - ARM Linux wrote: On Thu, Sep 05, 2013 at 01:19:45AM -0400, Dave Jones wrote: Got it. (I think I was getting tracebacks from multiple cpus, hence the spewing). Adding a check for tainted() = infinite loop to show_backtrace()

Re: [PATCH v9 12/13] KVM: PPC: Add support for IOMMU in-kernel handling

2013-09-05 Thread Gleb Natapov
On Wed, Sep 04, 2013 at 02:01:28AM +1000, Alexey Kardashevskiy wrote: On 09/03/2013 08:53 PM, Gleb Natapov wrote: On Mon, Sep 02, 2013 at 01:14:29PM +1000, Alexey Kardashevskiy wrote: On 09/01/2013 10:06 PM, Gleb Natapov wrote: On Wed, Aug 28, 2013 at 06:50:41PM +1000, Alexey Kardashevskiy

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-05 Thread Ingo Molnar
* Waiman Long waiman.l...@hp.com wrote: On 09/05/2013 09:31 AM, Ingo Molnar wrote: * Waiman Longwaiman.l...@hp.com wrote: The latest tty patches did work. The tty related spinlock contention is now completely gone. The short workload can now reach over 8M JPM which is the highest I

Re: [PATCH] lockref: remove cpu_relax() again

2013-09-05 Thread Waiman Long
On 09/05/2013 11:31 AM, Linus Torvalds wrote: On Thu, Sep 5, 2013 at 6:18 AM, Heiko Carstens heiko.carst...@de.ibm.com wrote: *If* however the cpu_relax() makes sense on other platforms maybe we could add something like we have already with arch_mutex_cpu_relax(): I actually think it won't.

Re: [PATCH] MIPS: Export copy_from_user_page() (needed by lustre)

2013-09-05 Thread Ralf Baechle
On Thu, Sep 05, 2013 at 11:22:45AM +0200, Geert Uytterhoeven wrote: ERROR: copy_from_user_page [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Thanks, applied! But I'm sort surprised to see somebody testing Lustre on MIPS :-) Ralf -- To unsubscribe from this list: send the

Re: [gcv v3 27/35] arm: Replace __get_cpu_var uses

2013-09-05 Thread Christoph Lameter
On Thu, 5 Sep 2013, Will Deacon wrote: Ok can you take it from here and modify it? I have no build and test environment set up for ARM. Sure. Does that include the original arm/arm64 patches from your v3 series as well as these two fixups? I think so. Take whatever you can and I will make

Re: [PATCH v4 3/5] clk: dt: binding for basic multiplexer clock

2013-09-05 Thread Mike Turquette
On Wed, Sep 4, 2013 at 11:36 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 09/03/2013 05:22 PM, Mike Turquette wrote: Quoting Stephen Warren (2013-08-30 14:37:46) On 08/30/2013 02:33 PM, Mike Turquette wrote: ... The clock _data_ seems to always have some churn to it. Moving it out to

Re: [PATCH v5 1/5] ARM: add basic Trusted Foundations support

2013-09-05 Thread Rob Herring
On 09/04/2013 10:27 PM, Alexandre Courbot wrote: Trusted Foundations is a TrustZone-based secure monitor for ARM that can be invoked using a consistent SMC-based API on all supported platforms. This patch adds initial basic support for Trusted Foundations using the ARM firmware API. Current

Re: [PATCH] lockref: remove cpu_relax() again

2013-09-05 Thread Linus Torvalds
On Thu, Sep 5, 2013 at 10:35 AM, Luck, Tony tony.l...@intel.com wrote: So Linus is right that the cpu_relax() makes things less fair ... but without it performance sucks so much that I don't want to use the clever cmpxchg at all - I'm much better off without it! Hmm. Is this single-socket?

Re: linux-next: Tree for Sep 5 (netfilter: xt_socket.c)

2013-09-05 Thread Randy Dunlap
On 09/05/13 02:32, Stephen Rothwell wrote: Hi all, Please do not add any code for v3.13 to your linux-next included branches until after v3.12-rc1 is released. Changes since 20130904: on x86_64: when CONFIG_IPV6=m and CONFIG_NETFILTER_XT_MATCH_SOCKET=y: net/built-in.o: In function

Re: [PATCH] parisc: Export flush_cache_page() (needed by lustre)

2013-09-05 Thread John David Anglin
On 9/5/2013 12:01 PM, James Bottomley wrote: On Thu, 2013-09-05 at 11:33 +0200, Geert Uytterhoeven wrote: ERROR: flush_cache_page [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- arch/parisc/kernel/cache.c |1 + 1

Re: linux-next: Tree for Sep 5 (netfilter: xt_socket.c)

2013-09-05 Thread David Miller
From: Randy Dunlap rdun...@infradead.org Date: Thu, 05 Sep 2013 10:37:04 -0700 On 09/05/13 02:32, Stephen Rothwell wrote: Hi all, Please do not add any code for v3.13 to your linux-next included branches until after v3.12-rc1 is released. Changes since 20130904: on x86_64: when

[PATCH v2 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-05 Thread Waiman Long
When running the AIM7's short workload, Linus' lockref patch eliminated most of the spinlock contention. However, there were still some left: 8.46% reaim [kernel.kallsyms] [k] _raw_spin_lock |--42.21%-- d_path | proc_pid_readlink

Re: [PATCH v14 0/6] LSM: Multiple concurrent LSMs

2013-09-05 Thread Kees Cook
On Mon, Aug 26, 2013 at 7:29 PM, Casey Schaufler ca...@schaufler-ca.com wrote: On 8/6/2013 3:36 PM, Kees Cook wrote: On Tue, Aug 6, 2013 at 3:25 PM, Casey Schaufler ca...@schaufler-ca.com wrote: On 8/5/2013 11:30 PM, Kees Cook wrote: On Thu, Jul 25, 2013 at 11:52 PM, Casey Schaufler

Re: [PATCH] random, Add user configurable get_bytes_random()

2013-09-05 Thread Theodore Ts'o
On Thu, Sep 05, 2013 at 11:08:28AM -0400, Prarit Bhargava wrote: The issue isn't userspace /dev/random as much as it is the use of get_random_bytes() through out the kernel. Switching to get_random_bytes_arch() is a search'n'replace on the entire kernel. If a user wants the faster random

RE: [PATCH] lockref: remove cpu_relax() again

2013-09-05 Thread Luck, Tony
Also, it strikes me that ia64 has tons of different versions of cmpxchg, and the one you use by default is the one with acquire semantics Not tons, just two. You can ask for acquire or release semantics, there is no relaxed option. Worse still - early processor implementations actually just

Re: ext4: cache all of an extent tree's leaf block upon reading

2013-09-05 Thread Theodore Ts'o
On Thu, Sep 05, 2013 at 11:14:57AM -0400, Dave Jones wrote: So the only reason to add a line explicitly setting es_pblk to zero would be to suppress a warning from some insufficiently smart static code analysis tool. I didn't see a warning from gcc, but it's possible that this is

Re: [RFC][PATCH 14/18 v2] ftrace/lockdep: Have the RCU lockdep splat show what function triggered

2013-09-05 Thread Peter Zijlstra
On Sat, Aug 31, 2013 at 01:11:31AM -0400, Steven Rostedt wrote: +void print_ftrace_rcu_func(int cpu) +{ + unsigned long ip = per_cpu(ftrace_rcu_func, cpu); + + if (ip) + printk(ftrace_rcu_func: %pS\n, +(void *)per_cpu(ftrace_rcu_func, cpu)); +}

Re: [GIT PULL for v3.12-rc1] media updates

2013-09-05 Thread Linus Torvalds
On Thu, Sep 5, 2013 at 7:24 AM, Mauro Carvalho Chehab m.che...@samsung.com wrote: Also, a trivial conflict at s5p_mfc_dec.c and s5p_mfc_enc.c will happen as a macro name got renamed from IS_MFCV6 to IS_MFCV6_PLUS. I did an ugly merge when fixing that conflict up, because the stupid code at the

[PATCH v2 0/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-05 Thread Waiman Long
Change History v1-v2: - Check for internal vs external dname, taking d_lock only for external dname for safety. - Replace memchr() by a byte-by-byte checking for loop. - Try lockless dentry to pathname conversion 3 times before falling back to taking the rename_lock to prevent live-lock.

Re: Restrict AM335x PHY driver to only be built on !ARM when COMPILE_TEST is set.

2013-09-05 Thread Felipe Balbi
On Tue, Sep 03, 2013 at 05:35:52PM -0400, Dave Jones wrote: Signed-off-by: Dave Jones da...@fedoraproject.org you *really* need a commit log here. Also, Cc linux-usb for anyhing under drivers/usb/ -- balbi signature.asc Description: Digital signature

Re: [PATCH v2 2/6] PCI/MSI: Factor out pci_get_msi_cap() interface

2013-09-05 Thread Alexander Gordeev
On Thu, Sep 05, 2013 at 11:44:36AM -0400, Tejun Heo wrote: Given that multiple MSI is something which isn't too popular / already superseded and that the condition is highly unlikely, do we really care about possible partial success? This sort of interface is unnecessarily complex and

Re: kobject: delayed kobject release: help find buggy drivers

2013-09-05 Thread Dave Jones
On Thu, Sep 05, 2013 at 06:35:40PM +0100, Russell King - ARM Linux wrote: Dave - thanks for your patience and effort in trying to track this down. Hopefully the patch below will make it easier. I'm not sure if this is happening because I enabled DEBUG_KOBJECT this time around or not, but

Re: [git pull] drm tree for 3.12-rc1

2013-09-05 Thread Linus Torvalds
On Thu, Sep 5, 2013 at 3:41 AM, Dave Airlie airl...@linux.ie wrote: i915: Haswell PC8+ support and eLLC support, HDMI 4K support, initial per-process VMA pieces, watermark reworks, convert to generic hdmi infoframes, encoder reworking, fastboot support, Hmm. The first time I booted

Re: [PATCH v2] sparc64: Export flush_ptrace_access() (needed by lustre)

2013-09-05 Thread David Miller
From: Geert Uytterhoeven ge...@linux-m68k.org Date: Thu, 5 Sep 2013 11:17:33 +0200 ERROR: flush_ptrace_access [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- v2: Use EXPORT_SYMBOL_GPL instead of EXPORT_SYMBOL Applied,

Re: [PATCH] of: clean-up ifdefs in of_irq.h

2013-09-05 Thread Randy Dunlap
On 09/05/13 11:06, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com Much of of_irq.h is needlessly ifdef'ed. Clean this up and minimize the amount ifdef'ed code. This fixes some build warnings when CONFIG_OF is not enabled (seen on i386 and x86_64):

Excess dmesg output from ACPIPHP on boot (was: Re: [PATCH 25/30] ACPI / hotplug / PCI: Check for new devices on enabled slots)

2013-09-05 Thread Rafael J. Wysocki
On Thursday, September 05, 2013 08:21:41 AM Alex Williamson wrote: On Thu, 2013-09-05 at 07:19 -0600, Alex Williamson wrote: On Thu, 2013-09-05 at 13:54 +0200, Rafael J. Wysocki wrote: On Wednesday, September 04, 2013 10:06:02 PM Alex Williamson wrote: On Wed, 2013-09-04 at 21:37 -0600,

Re: [PATCH v2 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-05 Thread Linus Torvalds
On Thu, Sep 5, 2013 at 11:55 AM, Waiman Long waiman.l...@hp.com wrote: +static int prepend_name(char **buffer, int *buflen, struct dentry *dentry) { - return prepend(buffer, buflen, name-name, name-len); + /* +* With RCU path tracing, it may race with rename. Use +

Re: [RFC][PATCH 14/18 v2] ftrace/lockdep: Have the RCU lockdep splat show what function triggered

2013-09-05 Thread Peter Zijlstra
On Sat, Aug 31, 2013 at 01:11:31AM -0400, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Why put RHT in there? Surely greg and jonathan know you work for them? :-) When the RCU lockdep splat hits because of the unsafe RCU checker, the backtrace does not always show

Re: [PATCH] lockref: remove cpu_relax() again

2013-09-05 Thread Linus Torvalds
On Thu, Sep 5, 2013 at 11:57 AM, Luck, Tony tony.l...@intel.com wrote: Not tons, just two. You can ask for acquire or release semantics, there is no relaxed option. Seriously? You can't just do a cache-coherent cmpxchg without extra serialization? Oh well. Worse still - early processor

Re: [PATCH] perf: builtin-trace.c: check if MAP_32BIT is defined

2013-09-05 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 05, 2013 at 10:29:47AM -0400, Kyle McMartin escreveu: From: Kyle McMartin k...@redhat.com MAP_32BIT is defined only on x86... this means perf fails to build on all other platforms. Signed-off-by: Kyle McMartin k...@redhat.com Thanks, applying. - Arnaldo -- To unsubscribe from

Re: perf, x86: Add parts of the remaining haswell PMU functionality

2013-09-05 Thread Andi Kleen
Well, at least the front-end side is still documented in the SDM as being usable to count stalled cycles. Stalled frontend cycles does not necessarily mean frontend bound. The real bottleneck can be still somewhere later in the PipeLine. Out of Order CPUs are complex. AFAICS backend stall

[RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-05 Thread Christoph Lameter
I am not sure how to call this kernel option but we need something like that. I see drivers and the kernel spawning processes on the nohz cores. The name kthread is not really catching the purpose. os_cpus=? highlatency_cpus=? Subject: Restrict kernel spawning of threads to a specified set of

RE: [PATCH] lockref: remove cpu_relax() again

2013-09-05 Thread Luck, Tony
That said, another thing that strikes me is that you have 32 CPU threads, and the stupid test-program I sent out had MAX_THREADS set to 16. Did you change that? Becuase if not, then some of the extreme performance profile might be about how the threads get scheduled on your machine (HT

Re: [PATCH v2 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-05 Thread Al Viro
On Thu, Sep 05, 2013 at 02:55:16PM -0400, Waiman Long wrote: + const char *dname = ACCESS_ONCE(dentry-d_name.name); + u32 dlen = dentry-d_name.len; + int error; + + if (likely(dname == (const char *)dentry-d_iname)) { + /* + * Internal dname, the

[PATCH 5/6] perf trace: Check if MAP_32BIT is defined

2013-09-05 Thread Arnaldo Carvalho de Melo
From: Kyle McMartin k...@redhat.com MAP_32BIT is defined only on x86... this means perf fails to build on all other platforms. Signed-off-by: Kyle McMartin k...@redhat.com Cc: Ingo Molnar mi...@redhat.com Cc: Linus Torvalds torva...@linux-foundation.org Link:

[PATCH 1/6] perf trace: Check control+C more often

2013-09-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com We were checking for it only after processing all events in the buffer, delaying processing the termination request for long periods. Cc: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker

Re: [RFC][PATCH 14/18 v2] ftrace/lockdep: Have the RCU lockdep splat show what function triggered

2013-09-05 Thread Steven Rostedt
On Thu, 5 Sep 2013 21:18:39 +0200 Peter Zijlstra pet...@infradead.org wrote: On Sat, Aug 31, 2013 at 01:11:31AM -0400, Steven Rostedt wrote: +void print_ftrace_rcu_func(int cpu) +{ + unsigned long ip = per_cpu(ftrace_rcu_func, cpu); + + if (ip) + printk(ftrace_rcu_func:

Re: mmotm 2013-08-27-16-51 uploaded

2013-09-05 Thread Kevin Hilman
On Tue, Aug 27, 2013 at 4:52 PM, a...@linux-foundation.org wrote: This mmotm tree contains the following patches against 3.11-rc7: (patches marked * will be included in linux-next) [...] * mm-munlock-manual-pte-walk-in-fast-path-instead-of-follow_page_mask.patch As has already been pointed

[PATCH 2/6] perf tools: Add test for parsing with no sample_id_all bit

2013-09-05 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Add a test for parsing a non-sample event when there is more than one selected event but no sample_id_all bit set. The test fails because of a bug in the evlist logic. That is fixed in a separate patch. Signed-off-by: Adrian Hunter

RE: RFC Block Layer Extensions to Support NV-DIMMs

2013-09-05 Thread Zuckerman, Boris
Hi, It's a great topic! I am glad to see this conversation happening... Let me try to open another can of worms... Persistent memory updates are more like DB transactions and less like flushing IO ranges. If someone offers commitpmem() functionality, someone has to assure that all updates

Re: [PATCH v2 2/6] PCI/MSI: Factor out pci_get_msi_cap() interface

2013-09-05 Thread Tejun Heo
Hello, Alexander. On Thu, Sep 05, 2013 at 08:54:40PM +0200, Alexander Gordeev wrote: I assume reasons for having this type of interface at the moment of taking design decision about pci_enable_msi_block() still hold true. I do not know what those reasons were, but I think the fact multiple

[GIT PULL] Ext3, reiserfs, udf isofs fixes

2013-09-05 Thread Jan Kara
Hello Linus, could you please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_linus The pull contains a bunch of ext3 cleanups and minor improvements, major reiserfs locking changes which should hopefully fix deadlocks introduced by BKL removal, and udf/isofs

[PATCH] rcu: Is it safe to enter an RCU read-side critical section?

2013-09-05 Thread Paul E. McKenney
There is currently no way for kernel code to determine whether it is safe to enter an RCU read-side critical section, in other words, whether or not RCU is paying attention to the currently running CPU. Given the large and increasing quantity of code shared by the idle loop and non-idle code, the

[PATCH 6/6] perf session: Separate progress bar update when processing events

2013-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Currently when processing events in the __perf_session__process_events function we update a progress bar based on the file_size. During the same processing we update the progress bar from within flush_sample_queue which is based on number of samples count. Having

Re: linux-next: Tree for Sep 5 (netfilter: xt_socket.c)

2013-09-05 Thread Randy Dunlap
On 09/05/13 11:38, David Miller wrote: From: Randy Dunlap rdun...@infradead.org Date: Thu, 05 Sep 2013 10:37:04 -0700 On 09/05/13 02:32, Stephen Rothwell wrote: Hi all, Please do not add any code for v3.13 to your linux-next included branches until after v3.12-rc1 is released. Changes

Re: [PATCH] rcu: Is it safe to enter an RCU read-side critical section?

2013-09-05 Thread Steven Rostedt
On Thu, 5 Sep 2013 12:52:34 -0700 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: There is currently no way for kernel code to determine whether it is safe to enter an RCU read-side critical section, in other words, whether or not RCU is paying attention to the currently running CPU. Given

[ 01/36] drm/nouveau/mc: fix race condition between constructor and request_irq()

2013-09-05 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs bske...@redhat.com commit 6ff8c76a566f823d796359a6c1d76b7668f1e34d upstream. Signed-off-by: Ben Skeggs bske...@redhat.com Signed-off-by: Greg Kroah-Hartman

[ 3/7] drivers/base/memory.c: fix show_mem_removable() to handle missing sections

2013-09-05 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Russ Anderson r...@sgi.com commit 21ea9f5ace3a7317cc3ba1fbc749758021a83136 upstream. cat /sys/devices/system/memory/memory*/removable crashed the system. The problem is that

[ 14/14] SCSI: sg: Fix user memory corruption when SG_IO is interrupted by a signal

2013-09-05 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Roland Dreier rol...@purestorage.com commit 35dc248383bbab0a7203fca4d722875bc81ef091 upstream. There is a nasty bug in the SCSI SG_IO ioctl that in some circumstances leads to one process

[ 1/7] jfs: fix readdir cookie incompatibility with NFSv4

2013-09-05 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dave Kleikamp dave.kleik...@oracle.com commit 44512449c0ab368889dd13ae0031fba74ee7e1d2 upstream. NFSv4 reserves readdir cookie values 0-2 for special entries (. and ..), but jfs allows a value

<    5   6   7   8   9   10   11   12   13   >