Re: [PATCH 4/6] trace: Replace seq_printf by simpler equivalents

2014-11-05 Thread Joe Perches
On Wed, 2014-11-05 at 17:34 -0500, Steven Rostedt wrote: On Fri, 12 Sep 2014 11:25:52 +0200 Rasmus Villemoes li...@rasmusvillemoes.dk wrote: Using seq_printf to print a simple string or a single character is a lot more expensive than it needs to be, since seq_puts and seq_putc exist. []

[PATCH V3b] x86, cpu: trivial printk formatting fixes

2014-11-05 Thread Steven Honeyman
dmesg (from util-linux) currently has two methods for reading the kernel message ring buffer: /dev/kmsg and syslog(2). Since kernel 3.5.0 kmsg has been the default, which escapes control characters (e.g. new lines) before they are shown. This change means that when dmesg is using /dev/kmsg, a

Re: [PATCH 2/2 v3] ftracetest: Add a couple of ftrace test cases

2014-11-05 Thread Steven Rostedt
On Wed, 05 Nov 2014 17:41:15 +0900 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: (2014/11/05 16:52), Namhyung Kim wrote: Hi Steve, On Tue, 04 Nov 2014 10:28:47 -0500, Steven Rostedt wrote: +count=`cat trace | grep '()' | grep -v schedule | wc -l` + +if [ $count -ne 0 ];

Re: [PATCH] Staging: rtl8192e: Fix segfault upon alloc failure

2014-11-05 Thread Greg Kroah-Hartman
On Thu, Nov 06, 2014 at 01:11:17AM +0900, Daniel Dressler wrote: Kernel space allocations can fail. This patch fixes a crash condition upon allocation failure. Should this condition occur init_firmware() will goto its error handler and declare download failure. Of interesting note is that

Re: [PATCH] staging : lustre : Fixed static symbol sparse warnings

2014-11-05 Thread Greg KH
On Tue, Nov 04, 2014 at 11:01:44AM -0500, Jerry Stralko wrote: Signed-off-by: Jerry Stralko gerb.stra...@gmail.com --- drivers/staging/lustre/lnet/lnet/lib-move.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) Someone sent this same patch in before you did, make sure

Re: [PATCH] Documentation: vm: Add 1GB large page support information

2014-11-05 Thread Andi Kleen
Dave Hansen dave.han...@intel.com writes: On 11/05/2014 07:21 AM, Masanari Iida wrote: Luiz, Dave, Thanks for comments. I understand that there are some exception cases which doesn't support 1G large pages on newer CPUs. I like Dave's example, at the same time I would like to add pdpe1gb

Re: [PATCH v2] [RESEND] mmc: add Toshiba PCI SD controller driver

2014-11-05 Thread Ondrej Zary
On Tuesday 04 November 2014 22:41:44 Ondrej Zary wrote: On Tuesday 04 November 2014 12:09:44 Ulf Hansson wrote: On 2 November 2014 22:51, Ondrej Zary li...@rainbow-software.org wrote: This patch resurrects an old never-finished driver for Toshiba PCI SD controllers found in some older

Re: [PATCH 04/13] autofs4 - change printks AUTOFS defined prints

2014-11-05 Thread Ian Kent
On Mon, 2014-11-03 at 06:33 -0800, Joe Perches wrote: That's fine. I left out the trailing semicolon/space. The pr_fmt could be something like: #define pr_fmt(fmt) KBUILD_MODNAME :%d:%s: fmt, current-pid, __func__ or add a pid: descriptor prefix if you like too: #define pr_fmt(fmt)

[PATCH 2/2 v4] ftracetest: Add a couple of ftrace test cases

2014-11-05 Thread Steven Rostedt
Added three test cases to get the feel of adding tests to ftracetest. The three cases are: function profiling test, to make sure function profiling still works with function tracing (was a regression) function graph filter test to make sure that function graph filtering works.

Re: [PATCH] Documentation: vm: Add 1GB large page support information

2014-11-05 Thread Dave Hansen
On 11/05/2014 02:58 PM, Andi Kleen wrote: I understand that there are some exception cases which doesn't support 1G large pages on newer CPUs. I like Dave's example, at the same time I would like to add pdpe1gb flag in the document. For example, x86 CPUs normally support 4K and 2M

Re: [PATCH v2 03/13] backports: allow for different backport prefix

2014-11-05 Thread Andi Kleen
You know, this use case seems unavoidable so I'll just proceed with the configurability of it. But note that it seems we're both in agreement that right now what you described requires more work before in any way shape or form folks start using it for the exact purpose you described. I also

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Bjorn Helgaas
On Tue, Nov 04, 2014 at 08:01:55PM +0800, Jiang Liu wrote: In your topic: PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain There's no need to repeat PCI MSI. Please run git log --oneline drivers/pci/msi.c and make your similar (capitalize the first word). Enhance PCI MSI core

Re: [PATCH V3b] x86, cpu: trivial printk formatting fixes

2014-11-05 Thread Borislav Petkov
On Wed, Nov 05, 2014 at 10:52:18PM +, Steven Honeyman wrote: dmesg (from util-linux) currently has two methods for reading the kernel message ring buffer: /dev/kmsg and syslog(2). Since kernel 3.5.0 kmsg has been the default, which escapes control characters (e.g. new lines) before they

Re: [ANNOUNCE] 3.14.23-rt20

2014-11-05 Thread Thomas Gleixner
On Wed, 5 Nov 2014, Steven Rostedt wrote: On Wed, 5 Nov 2014 23:29:32 +0100 (CET) Thomas Gleixner t...@linutronix.de wrote: When we allow multiple readers, this will be allowed. But even in mainline, if a writer were to come in and block between those two down_read_trylocks(), the

RE: [PATCH 0/5] staging: comedi: split bus support into separate modules

2014-11-05 Thread Hartley Sweeten
On Wednesday, November 05, 2014 3:51 PM, Greg Kroah-Hartman wrote: On Fri, Oct 31, 2014 at 11:00:54PM +, Ian Abbott wrote: On 31/10/14 22:53, Ian Abbott wrote: I like the idea of the core comedi module being separated from all the various buses. And other buses can be added easily without

Re: [PATCH v2 03/13] backports: allow for different backport prefix

2014-11-05 Thread Luis R. Rodriguez
On Wed, Nov 5, 2014 at 3:09 PM, Andi Kleen a...@firstfloor.org wrote: You know, this use case seems unavoidable so I'll just proceed with the configurability of it. But note that it seems we're both in agreement that right now what you described requires more work before in any way shape or

Re: [PATCH v2 02/11] crypto: Documentation - userspace interface spec

2014-11-05 Thread Joy M. Latten
Hi Stephan, On Sun, 2014-11-02 at 21:36 +0100, Stephan Mueller wrote: The userspace interface of the kernel crypto API is documented with * a general explanation * a discussion of the memory in-place operation * the description of the message digest API * the description of the symmetric

Re: [PATCH 04/13] autofs4 - change printks AUTOFS defined prints

2014-11-05 Thread Joe Perches
On Thu, 2014-11-06 at 07:02 +0800, Ian Kent wrote: On Mon, 2014-11-03 at 06:33 -0800, Joe Perches wrote: That's fine. I left out the trailing semicolon/space. The pr_fmt could be something like: #define pr_fmt(fmt) KBUILD_MODNAME :%d:%s: fmt, current-pid, __func__ or add a pid:

Re: [PATCH 3/8] netfilter: Convert print_tuple functions to return void

2014-11-05 Thread Pablo Neira Ayuso
On Wed, Nov 05, 2014 at 02:24:29PM -0500, Steven Rostedt wrote: From: Joe Perches j...@perches.com Since adding a new function to seq_file (seq_has_overflowed()) there isn't any value for functions called from seq_show to return anything. Remove the int returns of the various

Re: [PATCH 00/20] kselftest install target feature

2014-11-05 Thread Kees Cook
On Tue, Nov 4, 2014 at 3:45 PM, Shuah Khan shua...@osg.samsung.com wrote: On 11/04/2014 12:22 PM, Kees Cook wrote: On Tue, Nov 4, 2014 at 9:10 AM, Shuah Khan shua...@osg.samsung.com wrote: This patch series adds a new kselftest_install make target to enable selftest install. When make

Re: [PATCH 3/8] netfilter: Convert print_tuple functions to return void

2014-11-05 Thread Joe Perches
On Thu, 2014-11-06 at 00:23 +0100, Pablo Neira Ayuso wrote: On Wed, Nov 05, 2014 at 02:24:29PM -0500, Steven Rostedt wrote: From: Joe Perches j...@perches.com Since adding a new function to seq_file (seq_has_overflowed()) there isn't any value for functions called from seq_show to

Re: [PATCH next] xen: pcifront: Process failure for pcifront_(re)scan_root()

2014-11-05 Thread Bjorn Helgaas
[+cc linux-pci again] On Fri, Oct 24, 2014 at 4:50 PM, Chen Gang gang.chen.5...@gmail.com wrote: On 10/16/14 5:03, Konrad Rzeszutek Wilk wrote: On Wed, Oct 15, 2014 at 08:20:06AM +0800, Chen Gang wrote: At least for me, what you said sound OK. Let me review it - next week. Please help

Re: [PATCH v2 03/13] backports: allow for different backport prefix

2014-11-05 Thread Andi Kleen
The only thing that was not clear to me from reviewing the module namespace stuff a while ago was the original intent, but I confess I actually only looked at the technical details to see if it was applicable to the backports case, do you recall the original motivation ? The original intent

Re: [PATCH v2 03/11] crypto: Documentation - RNG API documentation

2014-11-05 Thread Joy M. Latten
Hi Stephan, Just one quick comment below... regards, Joy On Sun, 2014-11-02 at 21:36 +0100, Stephan Mueller wrote: The API function calls exported by the kernel crypto API for RNGs to be used by consumers are documented. Signed-off-by: Stephan Mueller smuel...@chronox.de CC: Marek Vasut

[PATCH net-next] net: esp: Convert NETDEBUG to pr_info

2014-11-05 Thread Joe Perches
Commit 64ce207306de ([NET]: Make NETDEBUG pure printk wrappers) originally had these NETDEBUG printks as always emitting. Commit a2a316fd068c ([NET]: Replace CONFIG_NET_DEBUG with sysctl) added a net_msg_warn sysctl to these NETDEBUG uses. Convert these NETDEBUG uses to normal pr_info calls.

Re: [RFC 2/4] PCI: generic: Add support for ARM64 and MSI(x)

2014-11-05 Thread Bjorn Helgaas
On Wed, Oct 22, 2014 at 10:52:19PM +0200, Arnd Bergmann wrote: On Wednesday 22 October 2014 16:59:14 Lorenzo Pieralisi wrote: On Wed, Oct 01, 2014 at 10:38:45AM +0100, Arnd Bergmann wrote: [...] The arm32 implementations of pci_domain_nr/pci_proc_domain can probably be removed if

Re: [RFC 2/4] PCI: generic: Add support for ARM64 and MSI(x)

2014-11-05 Thread Bjorn Helgaas
On Thu, Oct 23, 2014 at 03:33:16PM +0200, Arnd Bergmann wrote: On Thursday 23 October 2014 10:13:09 Liviu Dudau wrote: @@ -335,7 +329,9 @@ void __init cns3xxx_pcie_init_late(void) cns3xxx_pwr_soft_rst(0x1 PM_SOFT_RST_REG_OFFST_PCIE(i));

[PATCH net-next] sock.h: Remove unused NETDEBUG macro

2014-11-05 Thread Joe Perches
It's unused now, just delete it. Signed-off-by: Joe Perches j...@perches.com --- Assuming the 2 NETDEBUG conversion deletion patches are applied... include/net/sock.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/net/sock.h b/include/net/sock.h index 7db3db1..6767d75 100644 ---

Re: [PATCH 04/13] autofs4 - change printks AUTOFS defined prints

2014-11-05 Thread Ian Kent
On Wed, 2014-11-05 at 15:20 -0800, Joe Perches wrote: But idea of using pr_xxx() and pr_fmt() (actually that's too open to name clashes so it would need to be named something like autofs_pr_fmt() anyway) looks like it results in less readable code so I'd really prefer not to do that.

[PATCH v2] ARM: bcm2835: add device tree for Raspberry Pi model B+

2014-11-05 Thread Matthias Klein
The model B and B+ differ in the GPIO lines for ACT and PWR leds, and the I2S interface. Signed-off-by: Matthias Klein matthias.kl...@linux.com --- Changes in v2: - move the common parts between the B and B+ model into the new bcm2835-rpi.dtsi file - add the I2S signals to the B+ file which fix

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Sebastian Reichel
Hi, On Wed, Nov 05, 2014 at 11:03:59PM +0100, Pavel Machek wrote: Maybe you need to enable modem? This is n900 init sequence from script: nokia-n900-configs.sh From the dts, it looks like this should somehow work without this. Right :) The n900-modem driver will take care of this if

Re: [Patch Part2 v4 01/31] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-11-05 Thread Thomas Gleixner
On Tue, 4 Nov 2014, Jiang Liu wrote: /* Number of irqs reserved for a legacy isa controller */ #define NUM_ISA_INTERRUPTS 16 @@ -64,6 +66,16 @@ struct irq_domain_ops { int (*xlate)(struct irq_domain *d, struct device_node *node, const u32 *intspec, unsigned int

mmotm 2014-11-05-16-01 uploaded

2014-11-05 Thread akpm
The mm-of-the-moment snapshot 2014-11-05-16-01 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH RFC 1/2] drivers: pci: fix window allocation order wrt bus_range filtering

2014-11-05 Thread Bjorn Helgaas
On Thu, Oct 23, 2014 at 04:23:06PM +0100, Lorenzo Pieralisi wrote: The number of windows allocated for the host bridge depends on the bus resource. Instead of first allocating the windows and then limit the bus resource, this patch reshuffles the code so that if any limitation is applied to

Re: [V10 PATCH 2/2] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-11-05 Thread Suravee Suthikulanit
On 11/4/2014 7:01 AM, Jiang Liu wrote: Hi Suravee, You may build a two level hierarchy irqdomains. Use the utilities in this thread http://www.spinics.net/lists/arm-kernel/msg374722.html to build an MSI irqdomain to manage MSI controllers in PCI devices. And build another irqdomain to

Re: [RFC 2/4] PCI: generic: Add support for ARM64 and MSI(x)

2014-11-05 Thread Arnd Bergmann
On Wednesday 05 November 2014 16:39:21 Bjorn Helgaas wrote: On Wed, Oct 22, 2014 at 10:52:19PM +0200, Arnd Bergmann wrote: On Wednesday 22 October 2014 16:59:14 Lorenzo Pieralisi wrote: On Wed, Oct 01, 2014 at 10:38:45AM +0100, Arnd Bergmann wrote: [...] The arm32

Re: [RFC 2/4] PCI: generic: Add support for ARM64 and MSI(x)

2014-11-05 Thread Arnd Bergmann
On Wednesday 05 November 2014 16:40:58 Bjorn Helgaas wrote: See below for a sample patch I just did. It duplicates the code from pci_common_init_dev/pci_common_init because we know that all users of pci_common_init_dev are modern and only pass a single host bridge. The new

Re: [PATCH] goldfish: fixed sparse warning

2014-11-05 Thread Greg Kroah-Hartman
On Fri, Oct 10, 2014 at 07:28:45PM +0530, Sudip Mukherjee wrote: fixed sparse warning of Using plain integer as NULL pointer Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/tty/goldfish.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH RESEND] PM / sleep: Fix racing timers

2014-11-05 Thread Rafael J. Wysocki
On Thursday, October 02, 2014 09:01:15 AM Sören Brinkmann wrote: Hi Rafael, Hi, Sorry for the huge delay. On Tue, 2014-09-23 at 01:01AM +0200, Rafael J. Wysocki wrote: On Monday, September 22, 2014 10:07:03 AM Soren Brinkmann wrote: On platforms that do not power off during suspend,

Re: [V10 PATCH 2/2] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-11-05 Thread Suravee Suthikulanit
On 11/5/2014 6:05 PM, Suravee Suthikulanit wrote: - Overall, it seems that msi_domain_alloc() could be quite different across architectures. Would it be possible to declare this function as weak, and allow arch to override (similar to arch_setup_msi_irq)? Actually, declaring msi_domain_ops as

Re: [PATCH 4/6] trace: Replace seq_printf by simpler equivalents

2014-11-05 Thread Steven Rostedt
On Wed, 05 Nov 2014 23:44:17 +0100 Rasmus Villemoes li...@rasmusvillemoes.dk wrote: On Wed, Nov 05 2014, Steven Rostedt rost...@goodmis.org wrote: On Fri, 12 Sep 2014 11:25:52 +0200 Rasmus Villemoes li...@rasmusvillemoes.dk wrote: diff --git a/kernel/trace/ftrace.c

Re: [PATCH 4/6] trace: Replace seq_printf by simpler equivalents

2014-11-05 Thread Steven Rostedt
On Wed, 05 Nov 2014 14:51:48 -0800 Joe Perches j...@perches.com wrote: On Wed, 2014-11-05 at 17:34 -0500, Steven Rostedt wrote: On Fri, 12 Sep 2014 11:25:52 +0200 Rasmus Villemoes li...@rasmusvillemoes.dk wrote: Using seq_printf to print a simple string or a single character is a lot

Re: [RFC PATCH 0/3] Expose gpu counters via perf pmu driver

2014-11-05 Thread Robert Bragg
On Wed, Nov 5, 2014 at 12:33 PM, Peter Zijlstra pet...@infradead.org wrote: On Mon, Nov 03, 2014 at 09:47:17PM +, Robert Bragg wrote: And do I take it right that if you're able/allowed/etc.. to open/have the fd to the GPU/DRM/DRI whatever context you have the right credentials to also

Re: [PATCH 4/6] trace: Replace seq_printf by simpler equivalents

2014-11-05 Thread Joe Perches
On Wed, 2014-11-05 at 19:38 -0500, Steven Rostedt wrote: On Wed, 05 Nov 2014 14:51:48 -0800 Joe Perches j...@perches.com wrote: [] I know that it's considered bad form to split strings like this, but I consider this one of the exceptions to the rule. Why is that? btw: when the

Re: [V10 PATCH 2/2] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-11-05 Thread Thomas Gleixner
On Wed, 5 Nov 2014, Suravee Suthikulanit wrote: On 11/5/2014 6:05 PM, Suravee Suthikulanit wrote: - Overall, it seems that msi_domain_alloc() could be quite different across architectures. Would it be possible to declare this function as weak, and allow arch to override (similar to

Re: [PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-11-05 Thread leizhen
On 2014/11/5 21:52, Grant Likely wrote: On Wed, Nov 5, 2014 at 12:49 AM, leizhen thunder.leiz...@huawei.com wrote: On 2014/11/5 1:03, Bjorn Helgaas wrote: On Tue, Nov 4, 2014 at 9:20 AM, Grant Likely grant.lik...@linaro.org wrote: On Tue, 28 Oct 2014 19:51:05 +0800 , Zhen Lei

Re: CMA alignment question

2014-11-05 Thread Weijie Yang
On Thu, Nov 6, 2014 at 6:01 AM, Michal Nazarewicz min...@mina86.com wrote: On Tue, Nov 04 2014, Gregory Fong wrote: The alignment in cma_alloc() is done w.r.t. the bitmap. This is a problem when, for example: - a device requires 16M (order 12) alignment - the CMA region is not 16 M aligned

Re: [PATCH net 0/5] Implement ndo_gso_check() for vxlan nics

2014-11-05 Thread Joe Stringer
On Wed, Nov 05, 2014 at 04:38:25PM -0500, David Miller wrote: From: Or Gerlitz gerlitz...@gmail.com Date: Wed, 5 Nov 2014 23:32:44 +0200 but fact is that the proposed patch series has the --same-- helper for four drivers, so why not start with a that limited helper which would be picked

Re: [RESEND PATCH 0/2] Add dt support for extcon gpio driver

2014-11-05 Thread Chanwoo Choi
Hi George, On 11/06/2014 12:29 AM, George Cherian wrote: This series - Adds dt support to extcon-gpio driver. - Add cable name support in case of dt. George Cherian (2): extcon: gpio: Add dt support for the driver extcon: gpio: Add support for using cable names

Re: [PATCH] aio: fix uncorrent dirty pages accouting when truncating AIO ring buffer

2014-11-05 Thread Gu Zheng
Hi Andrew, On 11/06/2014 05:00 AM, Andrew Morton wrote: On Wed, 5 Nov 2014 09:56:20 -0500 Benjamin LaHaise b...@kvack.org wrote: On Wed, Nov 05, 2014 at 05:53:11PM +0800, Gu Zheng wrote: ping... I need someone a bit more familiar with this area of code to chime in on reviewing this.

[PATCH v2] usb: dwc2: add bus suspend/resume for dwc2

2014-11-05 Thread Kever Yang
Hcd controller needs bus_suspend/resume, dwc2 controller make root hub generate suspend/resume signal with hprt0 register when work in host mode. After the root hub enter suspend, we can make controller enter low power state with PCGCTL register. We also update the lx_state for hsotg state. This

[PATCH] rtsx_usb_ms: Use msleep_interruptible() in polling loop

2014-11-05 Thread Ben Hutchings
rtsx_usb_ms creates a task that mostly sleeps, but tasks in uninterruptible sleep still contribute to the load average (for bug-compatibility with Unix). A load average of ~1 on a system that should be idle is somewhat alarming. Change the sleep to be interruptible, but still ignore signals. A

Re: [Patch Part2 v4 20/31] PCI/MSI: Kill redundant calling for irq_set_msi_desc() for MSIx interrupts

2014-11-05 Thread Yijing Wang
On 2014/11/6 6:45, Bjorn Helgaas wrote: On Tue, Nov 04, 2014 at 08:01:54PM +0800, Jiang Liu wrote: It's arch_setup_msi_irq()/arch_setup_msi_irqs()'s responsibility to call irq_set_msi_desc() to associate IRQ descriptors and MSI descriptors, so kill the redundant call of irq_set_msi_desc() for

Re: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Barto
Bjorn : the patch initialy created for bug 81551 ( ATAPI-CD-ROM-drive dead after resume from suspend/s2disk ) was not enough for the bug 84861 ( JMicron Technology Corp. JMB368 IDE controller dead after resume when async suspend is enabled ), the reason : there are too much models inside the

Re: [PATCH 0/5] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-11-05 Thread Li, ZhenHua
Yes, that's it. The function context_set_address_root does not set the address root correctly. I have created another patch for it, see https://lkml.org/lkml/2014/11/5/43 Thanks Zhenhua On 11/06/2014 09:31 AM, Takao Indoh wrote: Hi Zhenhua, Baoquan, (2014/10/22 19:05), Baoquan He

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-05 Thread Bjorn Andersson
On Wed, Nov 5, 2014 at 10:31 AM, Ivan T. Ivanov iiva...@mm-sol.com wrote: On Wed, 2014-11-05 at 10:11 -0800, Bjorn Andersson wrote: On Tue, Nov 4, 2014 at 5:33 AM, Ivan T. Ivanov iiva...@mm-sol.com wrote: [..] @@ -28,11 +144,27 @@ static int pmic_spmi_probe(struct spmi_device *sdev) {

Re: [PATCH 0/5] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-11-05 Thread Takao Indoh
Hi Zhenhua, Baoquan, (2014/10/22 19:05), Baoquan He wrote: Hi Zhenhua, I tested your latest patch on 3.18.0-rc1+, there are still some dmar errors. I remember it worked well with Bill's original patchset. This should be a problem in copy_context_entry(). +static int

[PATCH v4 0/1] vfs: Respect MS_RDONLY at bind mount creation

2014-11-05 Thread Richard Yao
Dear Linus, I am the ZFSOnLinux developer that ran into you on his way to the airport at LinuxCon Europe last month. This is the VFS patch that you volunteered to help me get properly reviewed. My plan was to send it the week after LinuxCon Europe (last week) as you had asked. However, that was

[PATCH v4 1/1] vfs: Respect MS_RDONLY at bind mount creation

2014-11-05 Thread Richard Yao
`mount -o bind,ro ...` suffers from a silent failure where the readonly flag is ignored. The bind mount will be created rw whenever the target is rw. Users typically workaround this by remounting readonly, but that does not work when you want to define readonly bind mounts in fstab. This is a

For Your Information

2014-11-05 Thread Frank Wong
I am Mr Frank Wong,Chairman of DBS Bank in (Hong Kong).I have a secured business proposal for you,get back to me for more details wongfra...@gmail.com OR wongfran...@yahoo.com.hk Regards, Frank Wong. --- This email is free from viruses and malware because avast! Antivirus protection is

Re: [PATCH 0/5] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-11-05 Thread Takao Indoh
(2014/11/06 10:35), Li, ZhenHua wrote: Yes, that's it. The function context_set_address_root does not set the address root correctly. I have created another patch for it, see https://lkml.org/lkml/2014/11/5/43 Oh, ok. I'll try again with this patch, thank you. Thanks, Takao Indoh

RE: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Liu, Chuansheng
Hello Bjorn, -Original Message- From: Bjorn Helgaas [mailto:bhelg...@google.com] Sent: Thursday, November 06, 2014 3:04 AM To: Barto Cc: Liu, Chuansheng; Lu, Aaron; Tejun Heo; Rafael Wysocki; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI: Do not

Re: [PATCH 1/2 v2] x86, mce, severity: extend the the mce_severity

2014-11-05 Thread Chen Yucong
On Wed, 2014-11-05 at 10:27 -0800, Tony Luck wrote: +#define ONEXCP.excp = NO_EXCP I'm sorry, this is a typing error. Thanks! Shouldn't this be named NOEXCP and used in the initializations for the deferred and UCNA table entries? In fact, NOEXCP can be used in the initialization

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Yijing Wang
@@ -1098,3 +1099,128 @@ int pci_enable_msix_range(struct pci_dev *dev, struct msix_entry *entries, return nvec; } EXPORT_SYMBOL(pci_enable_msix_range); + +#ifdef CONFIG_PCI_MSI_IRQ_DOMAIN Space, not tab. +static inline irq_hw_number_t +msi_get_hwirq(struct pci_dev

Re: [PATCH 2/2 v4] ftracetest: Add a couple of ftrace test cases

2014-11-05 Thread Namhyung Kim
Hi Steve, On Thu, Nov 6, 2014 at 8:05 AM, Steven Rostedt rost...@goodmis.org wrote: Added three test cases to get the feel of adding tests to ftracetest. The three cases are: function profiling test, to make sure function profiling still works with function tracing (was a regression)

Re: [Qemu-devel] [RFC PATCH 0/2] virtio-mmio: add irqfd support for vhost-net based on virtio-mmio

2014-11-05 Thread Shannon Zhao
On 2014/11/5 16:43, Eric Auger wrote: On 10/27/2014 12:23 PM, Li Liu wrote: On 2014/10/27 17:37, Peter Maydell wrote: On 25 October 2014 09:24, john.liuli john.li...@huawei.com wrote: To get the interrupt reason to support such VIRTIO_NET_F_STATUS features I add a new register offset

[PATCH 2/3] ftracetest: Clear trace buffer after running kprobe testcases

2014-11-05 Thread Namhyung Kim
The kprobe testcases create, use and delete dynamic events during the test but didn't clear the trace buffer so it'll leave the result after it finishes. # ./ftracetest ... # cat trace # tracer: nop # # entries-in-buffer/entries-written: 2/2 #P:12 # #

[PATCH 1/3] ftracetest: Use logfile name supported by busybox's mktemp

2014-11-05 Thread Namhyung Kim
When I run the ftracetest in a busybox docker container, I saw following error. Make the logfile template to comply with busybox's mktemp. It also keep the logfiles under the logs directory. # /linux/tools/testing/selftests/ftrace/ftracetest === Ftrace unit tests === mktemp: unrecognized

[PATCH 3/3] ftracetest: Add basic event tracing test cases

2014-11-05 Thread Namhyung Kim
This patch adds basic event tracing tests like enable/disable with top-level, subsystem-level and individual event files. # ./ftracetest === Ftrace unit tests === [1] Basic trace file check[PASS] [2] Basic trace clock test[PASS] [3] Basic event tracing check [PASS] [4] Basic

Re: [RFC PATCH v2] sched/deadline: support dl task migration during cpu hotplug

2014-11-05 Thread Wanpeng Li
Hi Peter, On Wed, Nov 05, 2014 at 01:52:54PM +0100, Peter Zijlstra wrote: On Wed, Nov 05, 2014 at 06:59:35PM +0800, Wanpeng Li wrote: Hi Peter, On 14/11/5 下午6:50, Peter Zijlstra wrote: On Wed, Nov 05, 2014 at 04:51:57PM +0800, Wanpeng Li wrote: Note: dl task can be migrated successfully if rq

Re: [LKP] [sched] kernel BUG at kernel/smpboot.c:134!

2014-11-05 Thread Yuyang Du
Hi Peter and Thomas, LKP found a bug, and it was bisected to my rewrite patch: http://article.gmane.org/gmane.linux.kernel/1818393/ But I really don't have a clue about why the patch can introduce such a bug, as the patch does not modify anything related. Or maybe the bug could be indirectly

Re: [PATCH 1/6] clk: sunxi: Add support for sun9i a80 usb clocks and resets

2014-11-05 Thread Chen-Yu Tsai
On Wed, Nov 5, 2014 at 6:09 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Wed, Nov 05, 2014 at 06:02:35PM +0800, Chen-Yu Tsai wrote: +static void __init sunxi_usb_clk_setup(struct device_node *node, +const struct usb_clk_data *data, +

Re: [PATCH 0/5] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-11-05 Thread Li, ZhenHua
This patch does the same thing as you said in your mail. It should work, I have tested on my HP huge system. On 11/06/2014 09:48 AM, Takao Indoh wrote: (2014/11/06 10:35), Li, ZhenHua wrote: Yes, that's it. The function context_set_address_root does not set the address root correctly. I have

Re: [PATCH net 0/5] Implement ndo_gso_check() for vxlan nics

2014-11-05 Thread David Miller
From: Joe Stringer joestrin...@nicira.com Date: Wed, 5 Nov 2014 17:06:46 -0800 My impression was that the changes are more likely to be hardware-specific (like the i40e changes) rather than software-specific, like changes that might be integrated into the helper. I think there is more

Re: [PATCH v4 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-11-05 Thread Josh Stone
On 11/05/2014 01:05 AM, Masami Hiramatsu wrote: [Off topic] I really don't like that the current SDT's semaphore. If the user apps see the instruction at the probe point, it is easy to check whether the event is enabled or not. Thus I recommend to change its implementation and update

Re: Possible regression with commit 52221610d

2014-11-05 Thread Alexandre Courbot
On 11/06/2014 12:27 AM, Tim Kryger wrote: On Wed, Nov 5, 2014 at 12:10 AM, Alexandre Courbot acour...@nvidia.com wrote: On 11/05/2014 12:31 AM, Tim Kryger wrote: On Tue, Nov 4, 2014 at 1:00 AM, Alexandre Courbot acour...@nvidia.com wrote: Hi Tim, thanks for your reply! On 11/04/2014 02:28

Re: [PATCH v2 01/11] crypto: Documentation - crypto API high level spec

2014-11-05 Thread Tadeusz Struk
Hi, On 11/02/2014 12:35 PM, Stephan Mueller wrote: + * type: + - blkcipher for symmetric block ciphers blkcipher for synchronous block ciphers + - ablkcipher for asymmetric block ciphers ablkcipher for asynchronous block ciphers + - cipher for single

Re: [RFC 1/2] core: Add generic object registry implementation

2014-11-05 Thread Greg Kroah-Hartman
On Wed, Nov 05, 2014 at 10:13:53AM +0100, Thierry Reding wrote: On Tue, Nov 04, 2014 at 08:38:45AM -0800, Greg Kroah-Hartman wrote: On Tue, Nov 04, 2014 at 05:29:27PM +0100, Thierry Reding wrote: [...] diff --git a/drivers/base/registry.c b/drivers/base/registry.c [...] +/** + *

Re: [PATCH v3 2/3] usb: xhci: This reworks ff8cbf250b448aac35589f6075082c3fcad8a8fe

2014-11-05 Thread Lu, Baolu
On 11/6/2014 5:24 AM, Alan Stern wrote: On Wed, 5 Nov 2014, Lu Baolu wrote: xhci: clear root port wake on bits if controller isn't allowed to do wakeup When system is being suspended, if host device is not allowed to do wakeup, xhci_suspend() needs to clear all root port wake on bits.

Re: linux-next: manual merge of the usb tree with the usb.current tree

2014-11-05 Thread Greg KH
On Wed, Nov 05, 2014 at 09:33:33AM +0100, Paul Bolle wrote: On Tue, 2014-11-04 at 20:30 -0800, Greg KH wrote: On Wed, Nov 05, 2014 at 03:18:25PM +1100, Stephen Rothwell wrote: Today's linux-next merge of the usb tree got a conflict in drivers/usb/host/Kconfig between commit cd6e245a2d06

Re: [char-misc-next V3] mei: add reference counting for me clients

2014-11-05 Thread Greg KH
On Tue, Nov 04, 2014 at 05:22:51AM +, Winkler, Tomas wrote: On Mon, Nov 03, 2014 at 10:42:05AM +0200, Tomas Winkler wrote: To support dynamic addition/remove we add reference counter. What is keeping two different threads / cpus from grabbing a reference at the same time the

Re: linux-next: manual merge of the staging tree with the v4l-dvb tree

2014-11-05 Thread Greg KH
On Wed, Nov 05, 2014 at 03:29:11PM +1100, Stephen Rothwell wrote: Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/media/lirc/lirc_imon.c between commit f3a75505ab5f ([media] Staging: media: lirc: cleaned up packet dump in 2 files) from the v4l-dvb

Re: [PATCH -next v2 10/26] tty: Don't take tty_mutex for tty count changes

2014-11-05 Thread Greg Kroah-Hartman
On Wed, Nov 05, 2014 at 12:12:53PM -0500, Peter Hurley wrote: Holding tty_mutex is no longer required to serialize changes to the tty_count or to prevent concurrent opens of closing ttys; tty_lock() is sufficient. Reviewed-by: Alan Cox a...@linux.intel.com Signed-off-by: Peter Hurley

Re: [PATCH -next v2 10/26] tty: Don't take tty_mutex for tty count changes

2014-11-05 Thread Peter Hurley
On 11/05/2014 09:33 PM, Greg Kroah-Hartman wrote: On Wed, Nov 05, 2014 at 12:12:53PM -0500, Peter Hurley wrote: Holding tty_mutex is no longer required to serialize changes to the tty_count or to prevent concurrent opens of closing ttys; tty_lock() is sufficient. Reviewed-by: Alan Cox

Re: [PATCH v7 1/6] arm64: ptrace: add PTRACE_SET_SYSCALL

2014-11-05 Thread AKASHI Takahiro
Hi Will, Kees #Sorry for this late ping, On 10/09/2014 06:23 PM, Will Deacon wrote: On Wed, Oct 08, 2014 at 04:30:18PM +0100, Kees Cook wrote: On Wed, Oct 8, 2014 at 9:13 AM, Will Deacon will.dea...@arm.com wrote: On Thu, Oct 02, 2014 at 10:46:11AM +0100, AKASHI Takahiro wrote: diff --git

Re: [PATCH -next v2 11/26] tty: Don't release tty locks for wait queue sanity check

2014-11-05 Thread Greg Kroah-Hartman
On Wed, Nov 05, 2014 at 12:12:54PM -0500, Peter Hurley wrote: Releasing the tty locks while waiting for the tty wait queues to be empty is no longer necessary nor desirable. Prior to tty: Don't take tty_mutex for tty count changes, dropping the tty locks was necessary to reestablish the

[RFC PATCH v3] sched/deadline: support dl task migration during cpu hotplug

2014-11-05 Thread Wanpeng Li
I observe that dl task can't be migrated to other cpus during cpu hotplug, in addition, task may/may not be running again if cpu is added back. The root cause which I found is that dl task will be throtted and removed from dl rq after comsuming all budget, which leads to stop task can't pick it up

Re: [PATCH net 0/5] Implement ndo_gso_check() for vxlan nics

2014-11-05 Thread Tom Herbert
On Wed, Nov 5, 2014 at 6:15 PM, David Miller da...@davemloft.net wrote: From: Joe Stringer joestrin...@nicira.com Date: Wed, 5 Nov 2014 17:06:46 -0800 My impression was that the changes are more likely to be hardware-specific (like the i40e changes) rather than software-specific, like

Re: [PATCH -next v2 10/26] tty: Don't take tty_mutex for tty count changes

2014-11-05 Thread Peter Hurley
On 11/05/2014 09:39 PM, Peter Hurley wrote: On 11/05/2014 09:33 PM, Greg Kroah-Hartman wrote: On Wed, Nov 05, 2014 at 12:12:53PM -0500, Peter Hurley wrote: Holding tty_mutex is no longer required to serialize changes to the tty_count or to prevent concurrent opens of closing ttys; tty_lock()

Re: [PATCH -next 05/10] tty: Document defunct ASYNC_* bits in uapi header

2014-11-05 Thread Greg Kroah-Hartman
On Fri, Oct 17, 2014 at 03:31:28PM +0200, Jiri Slaby wrote: On 10/17/2014, 02:44 PM, Peter Hurley wrote: Hi Jiri, On 10/17/2014 04:46 AM, Jiri Slaby wrote: On 10/16/2014, 10:54 PM, Peter Hurley wrote: Note the serial_struct flags for which the kernel ignores and performs no action.

Re: [PATCH net 3/5] fm10k: Implement ndo_gso_check()

2014-11-05 Thread Alexander Duyck
On 11/04/2014 01:56 PM, Joe Stringer wrote: ndo_gso_check() was recently introduced to allow NICs to report the offloading support that they have on a per-skb basis. Add an implementation for this driver which checks for something that looks like VXLAN. Implementation shamelessly stolen from

RE: [PATCH 1/1 v4] driver:mtd:spi-nor: Add quad I/O support for Micron spi nor

2014-11-05 Thread bpqw
This patch adds code which enables Quad I/O mode on Micron SPI NOR flashes. Also, your patch is still corrupt and cannot be applied as-is. Please double-check your mailer settings and resend once you have something I can apply. Brian Hi,Brian Thanks your patience.this maybe linux kernel has

[PATCH v4 2/3] usb: xhci: This reworks ff8cbf250b448aac35589f6075082c3fcad8a8fe

2014-11-05 Thread Lu Baolu
xhci: clear root port wake on bits if controller isn't allowed to do wakeup When system is being suspended, if host device is not allowed to do wakeup, xhci_suspend() needs to clear all root port wake on bits. Otherwise, some platforms may generate spurious wakeup, even if PCI PME# is disabled.

[PATCH v4 3/3] usb: xhci: fix comment for PORT_DEV_REMOVE

2014-11-05 Thread Lu Baolu
According to xHCI specification, PORT_DEV_REMOVE(bit 30) in PORTSC true means Device is non-removable. Signed-off-by: Lu Baolu baolu...@linux.intel.com Reported-by: Juro Bystricky jurobystri...@hotmail.com --- drivers/usb/host/xhci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v4 0/3] Rework xhci: clear root port wake on bits if controller isn't wake-up capable

2014-11-05 Thread Lu Baolu
This serie of patch reworks commit ff8cbf250b448aac35589f6075082c3fcad8a8fe. This has been discussed at http://www.spinics.net/lists/linux-usb/msg114986.html It also includes a patch to fix a comment in drivers/usb/host/xhci.h. Changes in v4: - Refine xhci_disable_port_wake_on_bits().

[PATCH v4 1/3] usb: xhci: Revert xhci: clear root port wake on bits if controller isn't wake-up capable

2014-11-05 Thread Lu Baolu
This reverts commit ff8cbf250b448aac35589f6075082c3fcad8a8fe. Commit ff8cbf250b448aac35589f6075082c3fcad8a8fe triggers the bug logged at https://bugzilla.kernel.org/show_bug.cgi?id=85701 Signed-off-by: Lu Baolu baolu...@linux.intel.com Reported-by: Dmitry Nezhevenko d...@inhex.net ---

Re: [PATCH] rtlwifi: Add more checks for get_btc_status callback

2014-11-05 Thread Mike Galbraith
On Wed, 2014-11-05 at 12:12 -0600, Larry Finger wrote: Yes, I am aware that rtl8192se is failing, and now that I am back from vacation, I am working on the problem. If you want to use the driver with kernel 3.18, clone the repo at http://github.com/lwfinger/rtlwifi_new.git and build and

Re: [PATCH v4 0/2] mtd: hisilicon: add a new driver for NAND controller of hisilicon hip04 Soc

2014-11-05 Thread Haojian Zhuang
On Tue, Nov 4, 2014 at 8:46 PM, Zhou Wang wangzhou@gmail.com wrote: This patchset adds the support for NAND controller of hisilicon hip04 Soc. The NAND controller IP was developed by hisilicon and needs a new driver to support it. This patchset is based on v3.18-rc1. I have tested that NAND

Re: [PATCH next] xen: pcifront: Process failure for pcifront_(re)scan_root()

2014-11-05 Thread Konrad Rzeszutek Wilk
On Wed, Nov 05, 2014 at 04:31:17PM -0700, Bjorn Helgaas wrote: [+cc linux-pci again] On Fri, Oct 24, 2014 at 4:50 PM, Chen Gang gang.chen.5...@gmail.com wrote: On 10/16/14 5:03, Konrad Rzeszutek Wilk wrote: On Wed, Oct 15, 2014 at 08:20:06AM +0800, Chen Gang wrote: At least for me,

[V5 PATCH 1/1] driver:mtd:spi-nor: Add quad I/O support for Micron spi nor

2014-11-05 Thread bpqw
This patch adds code which enables Quad I/O mode on Micron SPI NOR flashes. For Micron SPI NOR flash,enabling or disabling quad I/O protocol is controlled by EVCR (Enhanced Volatile Configuration Register), Quad I/O protocol bit 7. When EVCR bit 7 is reset to 0,the SPI NOR flash will operate in

<    4   5   6   7   8   9   10   11   12   13   >