Re: [PATCH 2/7] block: loop: don't hold lo_ctl_mutex in lo_open

2015-04-07 Thread Ming Lei
Hi Jarod, On Wed, Apr 8, 2015 at 2:23 PM, Jarod Wilson wrote: > From: Ming Lei > > The lo_ctl_mutex is held for running all ioctl handlers, and > in some ioctl handlers, ioctl_by_bdev(BLKRRPART) is called for > rereading partitions, which requires bd_mutex. > > So it is easy to cause failure bec

Re: [PATCH] smp/call: Detect stuck CSD locks

2015-04-07 Thread Ingo Molnar
* Chris J Arges wrote: > Ingo, > > Looks like sched_clock() works in this case. > > Adding the dump_stack() line caused various issues such as the VM > oopsing on boot or the softlockup never being detected properly (and > thus not crashing). So the below is running with your patch and > 'd

[PATCH] of/flattree: print memory scan node results in CPU endian

2015-04-07 Thread Florian Fainelli
Commit 51975db0b7333 ("of/flattree: merge early_init_dt_scan_memory() common code") consolidated some code from PowerPC (typically big-endian), and ended-up adding a pr_debug() printing reg properties in big-endian (DT native) format, not CPU endian. Unsurprisingly, when these messages are turned o

Re: not syncing: Attempted to kill init! exitcode=0x00000004 ?

2015-04-07 Thread Masahiro Yamada
Hi Dennis, 2015-04-07 23:09 GMT+09:00 Dennis Mungai : > Hello Masahiro, > > Please see this patch here on the LKML: > > https://lkml.org/lkml/2013/7/12/173 > > signed off by Stephen Boyd > > This may be related to the problem you're having. > > Regards, > > Dennis. Thanks for this information.

Re: [PATCH] irq: Remove unnecessary warning with affinity_hint

2015-04-07 Thread Ingo Molnar
* Seiichi Ikarashi wrote: > Hi, > > If you turn off a PCI device whose driver has set affinity_hint, > you will get warning message which does _not_ explain the reason > why it appeared from the user's point of view. > > # echo 0 > /sys/bus/pci/slots/65/power > > Apr 28 20:29:39 localhost

Re: not syncing: Attempted to kill init! exitcode=0x00000004 ?

2015-04-07 Thread Masahiro Yamada
Hi Andrew, 2015-04-07 21:42 GMT+09:00 Andrew Lunn : > On Tue, Apr 07, 2015 at 12:34:30PM +0900, Masahiro Yamada wrote: >> Hello experts, >> I hope this is the correct ML to ask this question. >> >> I am struggling to port Linux-4.0-rc7 onto my SoC/board, >> based on ARM cortex-A9 (single CPU), bu

[PATCH] kvm: x86: fix x86 eflags fixed bit

2015-04-07 Thread Wanpeng Li
Guest can't be booted w/ ept=0, there is a message dumped as below: If you're running a guest on an Intel machine without unrestricted mode support, the failure can be most likely due to the guest entering an invalid state for Intel VT. For example, the guest maybe running in big real mode which i

[PATCH 3/7] block: loop: fix another reread part failure

2015-04-07 Thread Jarod Wilson
loop_clr_fd() can be run piggyback with lo_release(), and under this situation, reread partition may always fail because of bd_mutex which has been held in release path. This patch detects the situation by the reference count, and call blkdev_reread_part_nolock() to avoid acquiring the lock again.

[PATCH 4/7] block: nbd: convert to blkdev_reread_part()

2015-04-07 Thread Jarod Wilson
From: Ming Lei CC: Christoph Hellwig CC: Jens Axboe CC: Tejun Heo CC: Alexander Viro CC: Markus Pargmann CC: Stefan Weinhuber CC: Stefan Haberland CC: Sebastian Ott CC: Fabian Frederick CC: Ming Lei CC: David Herrmann CC: Mike Galbraith CC: Andrew Morton CC: Peter Zijlstra CC: nbd-g

[PATCH 6/7] block: replace trylock with mutex_lock in blkdev_reread_part()

2015-04-07 Thread Jarod Wilson
From: Ming Lei The only possible problem of using mutex_lock() instead of trylock is about deadlock. If there aren't any locks held before calling blkdev_reread_part(lock), deadlock can't be caused by this conversion. If there are locks held before calling blkdev_reread_part(lock), and if these

sched_debug: runnable tasks sum-sleep

2015-04-07 Thread Manish Yadav
Hi, i am looking for document to understand the output of "cat /proc/sched_debug": .. runnable tasks: task PID tree-key switches prio exec-runtime sum-execsum-sleep

[PATCH 5/7] block: dasd_genhd: convert to blkdev_reread_part

2015-04-07 Thread Jarod Wilson
From: Ming Lei Also remove the obsolete comment. CC: Christoph Hellwig CC: Jens Axboe CC: Tejun Heo CC: Alexander Viro CC: Markus Pargmann CC: Stefan Weinhuber CC: Stefan Haberland CC: Sebastian Ott CC: Fabian Frederick CC: Ming Lei CC: David Herrmann CC: Mike Galbraith CC: Andrew Mo

[PATCH 2/7] block: loop: don't hold lo_ctl_mutex in lo_open

2015-04-07 Thread Jarod Wilson
From: Ming Lei The lo_ctl_mutex is held for running all ioctl handlers, and in some ioctl handlers, ioctl_by_bdev(BLKRRPART) is called for rereading partitions, which requires bd_mutex. So it is easy to cause failure because trylock(bd_mutex) may fail inside blkdev_reread_part(), and follows the

[PATCH 1/7] block: export blkdev_reread_part() and __blkdev_reread_part()

2015-04-07 Thread Jarod Wilson
This patch exports blkdev_reread_part() for block drivers, also introduce __blkdev_reread_part(), a lockless version. For some drivers, such as loop, a reread of partitions can be run from the release path, and bd_mutex may already be held prior to calling ioctl_by_bdev(bdev, BLKRRPART, 0), so int

[PATCH 7/7] s390/block/dasd: remove obsolete while -EBUSY loop

2015-04-07 Thread Jarod Wilson
With the mutex_trylock bit gone from blkdev_reread_part(), the retry logic in dasd_scan_partitions() shouldn't be necessary. CC: Christoph Hellwig CC: Jens Axboe CC: Tejun Heo CC: Alexander Viro CC: Markus Pargmann CC: Stefan Weinhuber CC: Stefan Haberland CC: Sebastian Ott CC: Fabian Fred

[PATCH 0/7] block: reread partitions improvements

2015-04-07 Thread Jarod Wilson
For loop, the root cause is one ABBA and one AA lock dependency issue, and the two are fixed by patch 2 and patch 3 each. Another reason is from the trylock in blkdev_reread_part(), which may cause partition scanning failure too sometimes when another task is holding the bd_mutex. In the discussio

Re: not syncing: Attempted to kill init! exitcode=0x00000004 ?

2015-04-07 Thread Masahiro Yamada
Hi Arnd, 2015-04-07 21:22 GMT+09:00 Arnd Bergmann : > On Tuesday 07 April 2015 17:22:32 Masahiro Yamada wrote: >> Hi Arnd, >> >> Thanks for your comment! >> >> 2015-04-07 16:41 GMT+09:00 Arnd Bergmann : >> > On Tuesday 07 April 2015 12:34:30 Masahiro Yamada wrote: >> >> >> >> What is the cause of

Re: [PATCH -next] xtensa: Fix fix linker script transformation for .text / .text.fixup

2015-04-07 Thread Max Filippov
Hi Guenter, On Wed, Apr 8, 2015 at 8:49 AM, Guenter Roeck wrote: > Commit 779c88c94c34 ("ARM: 8321/1: asm-generic: introduce .text.fixup > input section") introduced a new .text.fixup section which is merged > with .text at link time. This causes xtensa builds to fail with lots > of error message

Re: [PATCH v5 3/6] arm64: Kprobes with single stepping support

2015-04-07 Thread Pratyush Anand
Hi Dave, On Wed, Feb 18, 2015 at 4:41 AM, David Long wrote: > > From: Sandeepa Prabhu > > Add support for basic kernel probes(kprobes) and jump probes > (jprobes) for ARM64. > [...] > > +#ifdef CONFIG_KPROBES > +static inline int notify_page_fault(struct pt_regs *regs, unsigned int esr) > +{ >

Re: [PATCH 2/3] Btrfs: unify subvol= and subvolid= mounting

2015-04-07 Thread Qu Wenruo
Original Message Subject: [PATCH 2/3] Btrfs: unify subvol= and subvolid= mounting From: Omar Sandoval To: Chris Mason , Josef Bacik , David Sterba , Date: 2015年04月08日 13:34 Currently, mounting a subvolume with subvolid= takes a different code path than mounting with subv

Re: [PATCH 3/3] Btrfs: show subvol= and subvolid= in /proc/mounts

2015-04-07 Thread Qu Wenruo
Original Message Subject: [PATCH 3/3] Btrfs: show subvol= and subvolid= in /proc/mounts From: Omar Sandoval To: Chris Mason , Josef Bacik , David Sterba , Date: 2015年04月08日 13:34 Currently, userspace has no way to know which subvolume is mounted.But, now that we're guara

Re: [PATCH] param: fixup quote parsing of kernel arguments

2015-04-07 Thread Rusty Russell
Arthur Gautier writes: > When starting kernel with arguments like: > init=/bin/sh -c "echo arguments" > the trailing double quote is not removed which results in following command > being executed: > /bin/sh -c 'echo arguments"' > > This commit removes the trailing double quote. > > Signed-off

Re: [GIT PULL 00/20] phy: for 4.1 merge window

2015-04-07 Thread Kishon Vijay Abraham I
Hi Greg, On Friday 03 April 2015 09:56 PM, Kishon Vijay Abraham I wrote: Hi Greg, Please find the pull request for 4.1 merge window. This includes two new PHY driver, bug fixes and few cleanups. A patch to add MAINTAINER for miphy PHY drivers has also been included. There is also a patch that

[PATCH -next] xtensa: Fix fix linker script transformation for .text / .text.fixup

2015-04-07 Thread Guenter Roeck
Commit 779c88c94c34 ("ARM: 8321/1: asm-generic: introduce .text.fixup input section") introduced a new .text.fixup section which is merged with .text at link time. This causes xtensa builds to fail with lots of error messages similar to the following. lib/lib.a(kobject.o): In function `kobject_cre

Re: [Bugfix v3] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-07 Thread Jiang Liu
On 2015/4/7 8:28, Rafael J. Wysocki wrote: > On Friday, April 03, 2015 10:04:11 PM Bjorn Helgaas wrote: >> Hi Jiang, >>> Currently acpi_dev_filter_resource_type() is only used by ACPI pci >>> host bridge and IOAPIC driver, so it shouldn't affect other drivers. >> >> We should assume it will eventu

Re: [PATCH 00/20] mpt3sas: driver update

2015-04-07 Thread Sreekanth Reddy
Hi Chris, There are no corresponding mpt2sas driver's patches, The last phase for mpt2sas drivers is Phase20 and this phase driver is already exits in the upstream kernel. Also mpt2sas driver is completely in maintains mode and there won't be any new features. Whereas mpt3sas is at its initial ba

[PATCH v3 2/3] if_link: Add VF multicast promiscuous control

2015-04-07 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto Add netlink directives and ndo entry to allow VF multicast promiscuous mode. This controls the permission to enter VF multicast promiscuous mode. The administrator will dedicatedly allow multicast promiscuous per VF. When the VF is under multicast promiscuous mode, all m

[PATCH v3 3/3] ixgbe: Add new ndo to allow VF multicast promiscuous mode

2015-04-07 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto Implements the new netdev op to allow VF multicast promiscuous mode. The multicast promiscuous mode is not allowed for all VFs by default. The administrator can allow to VF multicast promiscuous mode for only trusted VM. After allowing multicast promiscuous mode from the

[PATCH v3 1/3] ixgbe, ixgbevf: Add new mbox API to enable MC promiscuous mode

2015-04-07 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto The limitation of the number of multicast address for VF is not enough for the large scale server with SR-IOV feature. IPv6 requires the multicast MAC address for each IP address to handle the Neighbor Solicitation message. We couldn't assign over 30 IPv6 addresses to a si

Re: [PATCH] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in of parsing

2015-04-07 Thread Yinghai Lu
On Tue, Apr 7, 2015 at 8:49 PM, Benjamin Herrenschmidt wrote: > On Tue, 2015-04-07 at 17:24 -0700, Yinghai Lu wrote: >> For device resource PREF bit setting under bridge 64-bit pref resource, >> we need to make sure only set PREF for 64bit resource, so set >> IORESOUCE_MEM_64 >> for 64bit resourc

Re: [RFC PATCH v3 2/2] clk: exynos5420: Make sure MDMA0 clock is enabled during suspend

2015-04-07 Thread Javier Martinez Canillas
Hello Tomasz, On 04/07/2015 11:28 PM, Tomasz Figa wrote: > > Looks good to me. You can consider this Acked-by, as long as Sylwester > is not opposed to this approach. > Thanks a lot, I've posted it as a proper patch now. > Best regards, > Tomasz > Best regards, Javier -- To unsubscribe from

[PATCH 3/3] Btrfs: show subvol= and subvolid= in /proc/mounts

2015-04-07 Thread Omar Sandoval
Currently, userspace has no way to know which subvolume is mounted. But, now that we're guaranteed to have a meaningful root dentry, we can just export and use seq_dentry() in btrfs_show_options(). The subvolume ID is easy to get, so put that in there, too. Signed-off-by: Omar Sandoval --- fs/bt

[PATCH 0/3] Btrfs: show subvolume name and ID in /proc/mounts

2015-04-07 Thread Omar Sandoval
So this is something that has bothered me as a Btrfs user for some time and that came up in discussing a separate bug here: https://lkml.org/lkml/2015/4/2/447. It turns out that getting the name of a subvolume reliably is a bit trickier than it would seem because of how mounting subvolumes by ID i

[PATCH 1/1] clk: exynos5420: Restore GATE_BUS_TOP on suspend

2015-04-07 Thread Javier Martinez Canillas
Commit ae43b3289186 ("ARM: 8202/1: dmaengine: pl330: Add runtime Power Management support v12") added pm support for the pl330 dma driver but it makes the clock for the Exynos5420 MDMA0 DMA controller to be gated during suspend and this in turn makes its parent clock aclk266_g2d to be gated. But th

[PATCH 1/3] Btrfs: lock superblock before remounting for rw subvol

2015-04-07 Thread Omar Sandoval
Since commit 0723a0473fb4 ("btrfs: allow mounting btrfs subvolumes with different ro/rw options"), when mounting a subvolume read/write when another subvolume has previously been mounted read-only, we first do a remount. However, this should be done with the superblock locked, as per sync_filesyste

[PATCH 2/3] Btrfs: unify subvol= and subvolid= mounting

2015-04-07 Thread Omar Sandoval
Currently, mounting a subvolume with subvolid= takes a different code path than mounting with subvol=. This isn't really a big deal except for the fact that mounts done with subvolid= or the default subvolume don't have a dentry that's connected to the dentry tree like in the subvol= case. To unify

RE: [PATCH V2 2/6] i2c: qup: Add V2 tags support

2015-04-07 Thread Sricharan
Hi Andy, > -Original Message- > From: linux-arm-kernel [mailto:linux-arm-kernel- > boun...@lists.infradead.org] On Behalf Of Andy Gross > Sent: Tuesday, April 07, 2015 10:37 AM > To: Sricharan R > Cc: srich...@qti.qualcomm.com; devicet...@vger.kernel.org; linux-arm- > m...@vger.kernel.org;

Re: [PATCH v6 0/4] clk: Provide support for always-on clocks

2015-04-07 Thread Stephen Boyd
On 04/07, Lee Jones wrote: > Lots of platforms contain clocks which if turned off would prove fatal. > The only way to recover from these catastrophic failures is to restart > the board(s). Now, when a clock provider is registered with the > framework it is possible for a list of always-on clocks

Re: [PATCH] x86/ACPI: Fix regression caused by 16ee7b3dcc56

2015-04-07 Thread Jiang Liu
On 2015/4/8 0:49, Jim Bos wrote: > On 04/07/2015 04:34 PM, Jiang Liu wrote: >> Hi Jim, >> Could you please help to test this patch against v4.0-rc6? >> Thanks! >> Gerry >> >> Signed-off-by: Jiang Liu >> --- >> arch/x86/kernel/acpi/boot.c | 10 +++--- >> 1 file changed, 7 insertions(+),

Re: [PATCH v6 4/4] clk: dt: Introduce binding for always-on clock support

2015-04-07 Thread Stephen Boyd
On 04/07, Lee Jones wrote: > Signed-off-by: Lee Jones > --- Can you please add some commit text here? Why did we make this change? > .../devicetree/bindings/clock/clock-bindings.txt | 38 > ++ > 1 file changed, 38 insertions(+) > > diff --git a/Documentation/devicetree/b

Re: [PATCH v6 3/4] clk: Provide always-on clock support

2015-04-07 Thread Stephen Boyd
On 04/07, Lee Jones wrote: > Lots of platforms contain clocks which if turned off would prove fatal. > The only way to recover from these catastrophic failures is to restart > the board(s). Now, when a clock provider is registered with the > framework it is possible for a list of always-on clocks

Re: linux-next: build failure after merge of the tip tree

2015-04-07 Thread Stephen Rothwell
Hi all, On Tue, 07 Apr 2015 21:54:05 +0200 Daniel Borkmann wrote: > > On 04/07/2015 06:18 PM, Alexei Starovoitov wrote: > > On 4/7/15 4:13 AM, Daniel Borkmann wrote: > >> [ Cc'ing Dave, fyi ] > >> > >> On 04/07/2015 11:05 AM, Stephen Rothwell wrote: > >>> On Tue, 07 Apr 2015 10:56:13 +0200 Daniel

[PATCH 1/2] perf data: Show error message when ctf setup failed

2015-04-07 Thread He Kuang
Show message when errors occurred during ctf conversion setup. Before this patch: $ ./perf data convert --to-ctf=ctf $ echo $? 255 After this patch: $ ./perf data convert --to-ctf=ctf Error during CTF convert setup. Signed-off-by: He Kuang --- tools/perf/util/data-convert-bt.c | 8 ++

[PATCH 2/2] perf data: Fix ctf_writer setupenv failure

2015-04-07 Thread He Kuang
Due to babeltrace commit: 7f800dc7c2a1 ("ir: make trace environment use bt_object") The trace->frozen flag is set in bt_ctf_trace_create_stream(), this flag is checked before adding environment field to trace, and causes ctf_writer__setup_env() failed. Fix this by setting all environment fields

[PATCH] irq: Remove unnecessary warning with affinity_hint

2015-04-07 Thread Seiichi Ikarashi
Hi, If you turn off a PCI device whose driver has set affinity_hint, you will get warning message which does _not_ explain the reason why it appeared from the user's point of view. # echo 0 > /sys/bus/pci/slots/65/power Apr 28 20:29:39 localhost kernel: [ cut here ]

Re: [PATCH v4] x86, selftests: Add sigreturn selftest

2015-04-07 Thread Andy Lutomirski
On Tue, Apr 7, 2015 at 8:42 PM, Michael Ellerman wrote: > On Mon, 2015-04-06 at 23:11 -0700, Andy Lutomirski wrote: >> On Mon, Apr 6, 2015 at 8:39 PM, Michael Ellerman wrote: >> > On Mon, 2015-04-06 at 19:01 -0700, Andy Lutomirski wrote: >> >> This is my sigreturn test, added mostly unchanged fro

Re: [PATCH] Staging: rtl8188eu: Replaced kzalloc and memcpy combination with kmemdup

2015-04-07 Thread Sudip Mukherjee
On Tue, Apr 07, 2015 at 02:25:39PM +, Dhere, Chaitanya (C.) wrote: > This change was detected with the help of coccinelle tool. > It performs the same function as kzalloc amd memcpy. > > Signed-off-by: Chaitanya Dhere your From: name and this name does not match. regards sudip -- To unsubsc

Re: [GIT PULL] selftest: Add futex functional tests

2015-04-07 Thread Darren Hart
On Tue, Mar 31, 2015 at 10:37:51AM -0600, Shuah Khan wrote: > On 03/31/2015 10:24 AM, Darren Hart wrote: > > On 3/31/15, 8:32 AM, "Shuah Khan" wrote: > > > >> Hi Daren, > >> > >> On 03/27/2015 04:17 PM, Darren Hart wrote: > >>> Hi Shuah, > >>> > >>> This series begins the process of migrating my

Re: [PATCH] MAINTAINERS: Add me on list of Dell laptop drivers

2015-04-07 Thread Darren Hart
On Sun, Apr 05, 2015 at 11:11:49PM +0200, Pali Rohár wrote: > On Thursday 02 April 2015 07:10:27 Darren Hart wrote: > > On Sun, Mar 29, 2015 at 03:38:50PM +0200, Pali Rohár wrote: > > > > Please include why. No empty commit messages please. > > > > For example, you've written nearly a third of th

Re: [PATCH 1/2] kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM

2015-04-07 Thread Michael Ellerman
On Thu, 2015-04-02 at 11:02 -0700, John Stultz wrote: > On Thu, Apr 2, 2015 at 3:18 AM, Prarit Bhargava wrote: > > On 03/26/2015 01:33 PM, Tyler Baker wrote: > >> I realize this may be a good amount of work, so I'd like to help out. > >> Perhaps working John to convert his timer tests to use TAP o

[PATCH] perf record: Conditionally define CLOCK_MONOTONIC_RAW for older OSes

2015-04-07 Thread Yunlong Song
Commit 31a9883106cc ("perf record: Add clockid parameter") used CLOCK_MONOTONIC_RAW in the struct clockid_map clockids[], but the CLOCK_MONOTONIC_RAW macro is not defined in older releases (e.g., SLES 11 SP2), thus there is a building error when making perf: builtin-record.c:738: error: ‘CLOCK_MON

[PATCH v4 2/2] perf: report/annotate: fix segfault problem.

2015-04-07 Thread Wang Nan
perf report and perf annotate are easy to trigger segfault if trace data contain kernel module information like this: # perf report -D -i ./perf.data ... 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0: [0xffbff1018000(0xf068000) @ 0]: x [test_module] ... # perf report -i ./perf.data --objdump=

Re: [PATCH v3 0/3] toshiba_acpi: Fix USB Sleep & Charge mode and documentation updates

2015-04-07 Thread Darren Hart
On Thu, Apr 02, 2015 at 07:26:19PM -0600, Azael Avalos wrote: > This patch fixes the USB Sleep & Charge charging mode on certain > models, fixes pr_* messages and also adds the missing entries in the > documentation file. > > Changes since v2: > - Check for TOS_SUCCESS to initialize and flag as su

Re: [PATCH v3 2/2] perf: report/annotate: fix segfault problem.

2015-04-07 Thread Wang Nan
On 2015/4/7 23:13, Arnaldo Carvalho de Melo wrote: > Em Tue, Apr 07, 2015 at 08:22:46AM +, Wang Nan escreveu: >> perf report and perf annotate are easy to trigger segfault if trace data >> contain kernel module information like this: >> >> # perf report -D -i ./perf.data >> ... >> 0 0 0x188

Re: [PATCH v4] x86, selftests: Add sigreturn selftest

2015-04-07 Thread Michael Ellerman
On Mon, 2015-04-06 at 23:11 -0700, Andy Lutomirski wrote: > On Mon, Apr 6, 2015 at 8:39 PM, Michael Ellerman wrote: > > On Mon, 2015-04-06 at 19:01 -0700, Andy Lutomirski wrote: > >> This is my sigreturn test, added mostly unchanged from its old home. > >> It exercises the sigreturn(2) syscall, sp

Re: [PATCH v9 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-04-07 Thread Dave Young
On 04/07/15 at 05:55pm, Li, ZhenHua wrote: > On 04/07/2015 05:08 PM, Dave Young wrote: > >On 04/07/15 at 11:46am, Dave Young wrote: > >>On 04/05/15 at 09:54am, Baoquan He wrote: > >>>On 04/03/15 at 05:21pm, Dave Young wrote: > On 04/03/15 at 05:01pm, Li, ZhenHua wrote: > >Hi Dave, > > >

[watchdog] WARNING: CPU: 0 PID: 1 at mm/memblock.c:1151 memblock_virt_alloc_internal()

2015-04-07 Thread Fengguang Wu
| e164ade07b | next-20150407 | +--+++---+ | boot_successes | 0 | 0 | 0 | | boot_failures| 80

Re: powerpc32: fix warning from include/linux/mm.h

2015-04-07 Thread Michael Ellerman
On Fri, 2015-03-20 at 18:52 -0500, Scott Wood wrote: > On Fri, Dec 05, 2014 at 12:20:20PM +0100, LEROY Christophe wrote: > > include/linux/mm.h: In function 'is_vmalloc_addr': > > include/linux/mm.h:367:14: warning: comparison between signed and unsigned > > integer expressions [-Wsign-compare] >

Re: linux-next: manual merge of the vfs tree with the ext4 tree

2015-04-07 Thread Theodore Ts'o
On Tue, Apr 07, 2015 at 09:02:14AM +0200, Christoph Hellwig wrote: > FYI, the ext4 tree seems to have the crypto support, which I don't think is > ready for 4.1 with all the implications of it.. What sort of implications are you concerned about? We're no longer exposing anything via the xattr int

Re: about the flood of trivial patches and the Code of Conduct (was: Re: [PATCH 19/25] sched: Use bool function return values of true/false not 1/0)

2015-04-07 Thread Theodore Ts'o
On Tue, Apr 07, 2015 at 01:32:12PM +0200, Peter Zijlstra wrote: > > I propose to send all this stuff though the trivial tree such that > > maintainers > > of other subsystems have less workload and newbies (which are supposed > > to send such patches) know which tree they have to work against. > >

Re: [PATCH kernel v7 26/31] powerpc/iommu: Add userspace view of TCE table

2015-04-07 Thread Alexey Kardashevskiy
On 04/03/2015 07:50 AM, Alex Williamson wrote: Should have sent this with the other comments, but found it hiding on my desktop... On Sat, 2015-03-28 at 01:55 +1100, Alexey Kardashevskiy wrote: In order to support memory pre-registration, we need a way to track the use of every registered memo

Re: blk-mq : blk_mq_map_swqueue maybe

2015-04-07 Thread Chong Yuan
nimisolo, 在 4/8/2015 10:10 AM, nimisolo 写道: Hi Jens, In blk_mq_map_swqueue(), all the blk_mq_hw_ctx's nr_ctx are set to zero, and then each blk_mq_ctx's index_hw is set to nr_ctx. I think the index_hw means the index of the hardware queue that map to this software queue, so maybe index_hw s

Re: [PATCH 2/2] perf trace: Fix segmentfault on perf trace

2015-04-07 Thread He Kuang
Hi, Arnaldo On 2015/4/7 20:36, Arnaldo Carvalho de Melo wrote: Em Tue, Apr 07, 2015 at 05:31:11PM +0800, He Kuang escreveu: After perf_evlist__filter_pollfd() filters out fds and releases perf_mmap by using perf_evlist__mmap_put(), refcnt of perf_mmap hits 1 then perf_evlist__mmap_consume() will

Re: [PATCH] md: fix md io stats accounting broken

2015-04-07 Thread NeilBrown
On Fri, 3 Apr 2015 08:44:47 +0800 Gu Zheng wrote: > Simon reported the md io stats accounting issue: > " > I'm seeing "iostat -x -k 1" print this after a RAID1 rebuild on 4.0-rc5. > It's not abnormal other than it's 3-disk, with one being SSD (sdc) and > the other two being write-mostly: > > Dev

Re: [PATCH V2] x86/numa: kernel stack corruption fix

2015-04-07 Thread Dave Young
On 04/08/15 at 10:41am, Xishi Qiu wrote: > On 2015/4/8 10:18, Baoquan He wrote: > > > On 04/08/15 at 09:59am, Xishi Qiu wrote: > >> On 2015/4/8 9:46, Dave Young wrote: > >> > > > > - /* Mark all kernel nodes. */ > > + /* > > +* Mark all kernel nodes. > > +

Re: [PATCH V2] x86/numa: kernel stack corruption fix

2015-04-07 Thread Xishi Qiu
On 2015/4/8 10:18, Baoquan He wrote: > On 04/08/15 at 09:59am, Xishi Qiu wrote: >> On 2015/4/8 9:46, Dave Young wrote: >> > > - /* Mark all kernel nodes. */ > + /* > + * Mark all kernel nodes. > + * > + * In case booting with mem=nn[kMG] or in kdump kernel, numa_meminf

Re: [PATCH] ext4 mballoc: fix tail allocation

2015-04-07 Thread Theodore Ts'o
On Mon, Apr 06, 2015 at 01:31:41PM -0600, Jun He wrote: > This patch addresses the tail allocation problem found at paper "Reducing > File System Tail Latencies with Chopper". > https://www.usenix.org/system/files/conference/fast15/fast15-paper-he.pdf . > The paper refers the tail allocation pro

Re: [PATCH 3/8] x86/asm/entry: Zero EXTRA_REGS for stub32_execve[at] too

2015-04-07 Thread Brian Gerst
On Tue, Apr 7, 2015 at 4:43 PM, Denys Vlasenko wrote: > The change which affected how execve clears EXTRA_REGS missed > 32-bit execve syscalls. > > Fix this by using 64-bit execve stub epilogue for them too. > > Run-tested. > > Signed-off-by: Denys Vlasenko > CC: Linus Torvalds > CC: Steven Rost

Re: [PATCH -tip] perf probe: fix ARM 32 building error.

2015-04-07 Thread Masami Hiramatsu
(2015/04/08 11:14), Wang Nan wrote: > Commit 9b118acae310f57baee770b5db402500d8695e50 ("perf probe: Fix to > handle aliased symbols in glibc") uses an absolute format '%lx' to > print u64 argument, which causes compiling error on ARM 32. > > This patch replaces it with PRIx64. Good catch! :) Ack

Re: [PATCH 2/2] ASoC: add core audio driver for Broadcom Cygnus SOC.

2015-04-07 Thread Lori Hikichi
On 15-04-06 09:19 AM, Mark Brown wrote: On Thu, Apr 02, 2015 at 11:47:18AM -0700, Lori Hikichi wrote: On 15-03-30 11:42 PM, Mark Brown wrote: +config SND_SOC_CYGNUS + tristate "SoC platform audio for Broadcom Cygnus chips" + depends on ARCH_BCM_CYGNUS || COMPILE_TEST + def

Re: [PATCH 0/2] Cygnus Audio Driver

2015-04-07 Thread Lori Hikichi
On 15-04-06 02:58 AM, Mark Brown wrote: On Fri, Apr 03, 2015 at 12:33:12PM -0700, Scott Branden wrote: On 15-03-30 11:43 PM, Mark Brown wrote: On Mon, Mar 30, 2015 at 08:16:22PM -0700, Scott Branden wrote: The audio PLL is embedded in the audio block and only used by the audio block. The a

Re: [PATCH V2] x86/numa: kernel stack corruption fix

2015-04-07 Thread Baoquan He
On 04/08/15 at 09:59am, Xishi Qiu wrote: > On 2015/4/8 9:46, Dave Young wrote: > > >>> > >>> - /* Mark all kernel nodes. */ > >>> + /* > >>> + * Mark all kernel nodes. > >>> + * > >>> + * In case booting with mem=nn[kMG] or in kdump kernel, numa_meminfo > >> > >> Hi Dave, > >> > >> It should

[PATCH -tip] perf probe: fix ARM 32 building error.

2015-04-07 Thread Wang Nan
Commit 9b118acae310f57baee770b5db402500d8695e50 ("perf probe: Fix to handle aliased symbols in glibc") uses an absolute format '%lx' to print u64 argument, which causes compiling error on ARM 32. This patch replaces it with PRIx64. Signed-off-by: Wang Nan --- tools/perf/util/probe-event.c | 3 +

blk-mq : blk_mq_map_swqueue maybe

2015-04-07 Thread nimisolo
Hi Jens, In blk_mq_map_swqueue(), all the blk_mq_hw_ctx's nr_ctx are set to zero, and then each blk_mq_ctx's index_hw is set to nr_ctx. I think the index_hw means the index of the hardware queue that map to this software queue, so maybe index_hw should be set to blk_mq_hw_ctx's queue_num.

Re: [PATCH V2] x86/numa: kernel stack corruption fix

2015-04-07 Thread Xishi Qiu
On 2015/4/8 9:46, Dave Young wrote: >>> >>> - /* Mark all kernel nodes. */ >>> + /* >>> +* Mark all kernel nodes. >>> +* >>> +* In case booting with mem=nn[kMG] or in kdump kernel, numa_meminfo >> >> Hi Dave, >> >> It should both set mem=xx and numa=off, then numa_meminfo may not

Re: [GIT PULL] (xen) stable/for-jens-4.1

2015-04-07 Thread Jens Axboe
On 04/07/2015 08:56 AM, Konrad Rzeszutek Wilk wrote: Hey Jens, Please git pull the following tree: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-4.1 which is based on your for-4.1/drivers branch. Specifically commit de9ad6d4edb63e0ba5d5aae365fb3565064fc00d "n

Re: [PATCH] pinctrl: Add support for PM8916 GPIO's and MPP's

2015-04-07 Thread Bjorn Andersson
On Tue, Mar 31, 2015 at 2:37 AM, Ivan T. Ivanov wrote: > Add compatible string definitions and supported pin functions. > > Signed-off-by: Ivan T. Ivanov > --- [..] > diff --git a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h > b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h [..] > > +#define PM89

[PATCH] mm: show free pages per each migrate type

2015-04-07 Thread Neil Zhang
show detailed free pages per each migrate type in show_free_areas. Signed-off-by: Neil Zhang --- mm/internal.h |2 ++ mm/page_alloc.c | 55 ++- mm/vmstat.c | 13 - 3 files changed, 28 insertions(+), 42 deletions(-) di

Re: [RFC PATCH v3 1/2] memory-failure: export page_type and action result

2015-04-07 Thread Naoya Horiguchi
On Tue, Apr 07, 2015 at 07:05:30PM +0800, Xie XiuQi wrote: > Export 'outcome' and 'page_type' to mm.h, so we could use this emnus > outside. > > This patch is preparation for adding trace events for memory-failure > recovery action. > > Signed-off-by: Xie XiuQi I made some update on mm/memory-f

Re: [RFC PATCH v3 2/2] clk: exynos5420: Make sure MDMA0 clock is enabled during suspend

2015-04-07 Thread Abhilash Kesavan
Hi Javier, On Tue, Apr 7, 2015 at 8:30 PM, Javier Martinez Canillas wrote: > Hello Abhilash, > > On 04/07/2015 04:38 PM, Abhilash Kesavan wrote: >>> >>> [0] >>> From 78aa551ebcb9a4a7ae9d5581c33e0c0f19fe5ad6 Mon Sep 17 00:00:00 2001 >>> From: Javier Martinez Canillas >>> Date: Tue, 7 Apr 2015 15:

Re: [PATCH V2] x86/numa: kernel stack corruption fix

2015-04-07 Thread Dave Young
> > > > - /* Mark all kernel nodes. */ > > + /* > > +* Mark all kernel nodes. > > +* > > +* In case booting with mem=nn[kMG] or in kdump kernel, numa_meminfo > > Hi Dave, > > It should both set mem=xx and numa=off, then numa_meminfo may not include all > the memblock.reserved me

Re: [RFC PATCH v3 2/2] tracing: add trace event for memory-failure

2015-04-07 Thread Naoya Horiguchi
On Tue, Apr 07, 2015 at 07:05:31PM +0800, Xie XiuQi wrote: > RAS user space tools like rasdaemon which base on trace event, could > receive mce error event, but no memory recovery result event. So, I > want to add this event to make this scenario complete. > > This patch add a event at ras group f

Re: [PATCH V2] x86/numa: kernel stack corruption fix

2015-04-07 Thread Xishi Qiu
On 2015/4/7 21:41, Dave Young wrote: > I got below kernel panic during kdump test on Thinkpad T420 laptop: > > [0.00] No NUMA configuration found > > [0.00] Faking a node at [mem 0x-0x37ba4fff] > > [0.00]

Re: [PATCH] [PATCH v3] mtd:spi-nor: Add Altera Quad SPI Driver

2015-04-07 Thread Viet Nga Dao
Hi Brian, Can you help me to review this patch of mine? Thanks, Nga On Mon, Mar 16, 2015 at 4:16 PM, wrote: > From: VIET NGA DAO > > Altera Quad SPI Controller is a soft IP which enables access to Altera EPCQ > and > EPCS flash chips. This patch adds driver for these devices. > > Signed-off-by

Re: [PATCH] fix platform_no_drv_owner.cocci warnings

2015-04-07 Thread Fengguang Wu
On Tue, Apr 07, 2015 at 03:09:46PM +0200, Linus Walleij wrote: > On Mon, Mar 30, 2015 at 3:05 PM, Thierry Reding wrote: > > On Sun, Mar 29, 2015 at 03:49:20PM +0800, kbuild test robot wrote: > >> drivers/pinctrl/pinctrl-max77620.c:472:3-8: No need to set .owner here. > >> The core will do it. > >

Re: [PATCH v9 06/30] PCI: Separate pci_host_bridge creation out of pci_create_root_bus()

2015-04-07 Thread Yijing Wang
>> +/* >> + * If support CONFIG_PCI_DOMAINS_GENERIC, use >> + * pci_host_assign_domain_nr() to update domain >> + * number. >> + */ >> +host->domain = domain; >> +pci_host_assign_domain_nr(host); > > I think it's a bit confusing that there's another "host->domain =" > a

Re: [RFC PATCH 00/11] an introduction of library operating system for Linux (LibOS)

2015-04-07 Thread Rusty Russell
Hajime Tazaki writes: > is it the following ? it's really cool stuff ! > > https://github.com/rustyrussell/pettycoin/blob/master/test/mockup.sh Yep. It's ugly, but it Works For Me(TM). Cheers, Rusty. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

Re: Hang on large copy_from_user with PREEMPT_NONE

2015-04-07 Thread Rusty Russell
Linus Torvalds writes: > Alternatively, we could just limit module loading size to some (fairly > arbitrary) big number. Yeah, we used to do that because vmalloc would BUG rather than returning NULL. But you're already CAP_SYS_MODULE in this path, which kind of makes it hard to care very much ab

Re: Audio Jack Out does not work

2015-04-07 Thread Taylor Smock
Yes; reverting the patch does fix the problem. On Wed, 2015-04-08 at 01:56 +0300, Dan Carpenter wrote: > So it's 03ad6a8c93b6df2 ('ALSA: hda - Fix "PCM" name being used on > one > DAC when there are two DACs') which causes the problem? Have you > tried > to just revert that patch? > > git show

Re: [PATCH v4] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-04-07 Thread Simon Horman
On Tue, Apr 07, 2015 at 03:56:35PM +0100, Russell King - ARM Linux wrote: > On Mon, Apr 06, 2015 at 01:24:13PM -0700, Stephen Boyd wrote: > > Writes to /sys/.../cpuX/online fail if we determine the platform > > doesn't support hotplug for that CPU. Furthermore, if the cpu_die > > op isn't specified

Re: Why not build kernel with -O3

2015-04-07 Thread Pengfei Yuan
Could you please provide some examples that I can investigate? Thanks! 2015-04-08 2:05 GMT+08:00 Austin S Hemmelgarn : > On 2015-04-07 06:09, Mike Galbraith wrote: >> On Tue, 2015-04-07 at 15:56 +0800, Pengfei Yuan wrote: >>> I am trying legacy GCC versions. >>> But I am not able to try different

Re: [PATCH v2 1/2] rtmutex Real-Time Linux: Fixing kernel BUG at kernel/locking/rtmutex.c:997!

2015-04-07 Thread Thavatchai Makphaibulchoke
On 04/06/2015 07:59 PM, Steven Rostedt wrote: > Thanks for the comments. > Hmm, why is it not allowed? > > If we just let it boost it, it will cut down on the code changes and > checks that add to the hot paths. > There is a WARN_ON() at line 3150 in sched/core.c to warn against boosting id

[PATCH] virtio_ring: Update weak barriers to use dma_wmb/rmb

2015-04-07 Thread Alexander Duyck
This change makes it so that instead of using smp_wmb/rmb which varies depending on the kernel configuration we can can use dma_wmb/rmb which for most architectures should be equal to or slightly more strict than smp_wmb/rmb. The advantage to this is that these barriers are available to uniprocess

Re: [PATCH 1/6] Revert "staging: board: disable as it breaks the build"

2015-04-07 Thread Simon Horman
On Tue, Apr 07, 2015 at 03:16:54PM +0200, Geert Uytterhoeven wrote: > On Mon, Apr 6, 2015 at 2:40 AM, Simon Horman wrote: > > On Fri, Apr 03, 2015 at 02:41:58PM +0200, Geert Uytterhoeven wrote: > >> This reverts commit d13778d537a0ed6115d2a79a942af999cfb8eec6. > >> > >> Commit 13c11072536f2613 ("s

[PATCH v2 1/5] perf: Add a flags parameter to pmu txn interfaces

2015-04-07 Thread Sukadev Bhattiprolu
Currently, the PMU interface allows reading only one counter at a time. But some PMUs like the 24x7 counters in Power, support reading several counters at once. To leveage this functionality, extend the transaction interface to support a "transaction type". The first type, PERF_PMU_TXN_ADD, refers

[PATCH v2 4/5] perf: Define PMU_TXN_READ interface

2015-04-07 Thread Sukadev Bhattiprolu
Define a new PERF_PMU_TXN_READ interface to read a group of counters at once. Note that we use this interface with all PMUs. PMUs that implement this interface will queue the counters to be read in ->read() and read them all at once in ->commit_txn(). PMUs that don't implement PERF_PMU_TXN_READ w

Re: [PATCH V2] mailbox: add ACPI support for mailbox framework

2015-04-07 Thread Feng Kan
Please disregard this, I messed up on the indexing. Will resubmit after fixing. On Tue, Apr 7, 2015 at 4:34 PM, Feng Kan wrote: > This will add support for ACPI parsing of the mboxes attribute > when booting with ACPI table. The client will have a attribute > mimic the dts call "mboxes". In the A

[PATCH v2 5/5] powerpc/perf/hv-24x7: Use PMU_TXN_READ interface

2015-04-07 Thread Sukadev Bhattiprolu
The 24x7 counters in Powerpc allow monitoring a large number of counters simultaneously. They also allow reading several counters in a single HCALL so we can get a more consistent snapshot of the system. Use the PMU's transaction interface to monitor and read several event counters at once. The id

[PATCH v2 3/5] perf: Rename perf_event_read_value

2015-04-07 Thread Sukadev Bhattiprolu
perf_event_read_value() is mostly computing the event count and enabled/ running times. Move the perf_event_read() into caller and rename perf_event_read_value() to perf_event_compute_values(). Changelog[v2] Export symbol perf_event_read() since x86/kvm needs it now. Signed-off-by: Sukade

[PATCH v2 0/5] perf: Implement event group read using txn interface

2015-04-07 Thread Sukadev Bhattiprolu
Unlike normal hardware PMCs, the 24x7 counters[1] in Power8 are stored in memory and accessed via a hypervisor call (HCALL). A major aspect of the HCALL is that it allows retireving _SEVERAL_ counters at once (unlike regular PMCs, which are read one at a time). By reading several counters at once,

  1   2   3   4   5   6   7   8   9   10   >