Re: [PATCH] devfreq: event: Add 'const' keyword for devfreq_event_ops structure

2015-03-11 Thread MyungJoo Ham
> > This patch adds the 'const' keyword for devfreq_event_ops structure > because the ops of devfreq_event_desc structure shold not be changed > after initialization. > > Cc: Myungjoo Ham > Cc: Kyungmin Park > Signed-off-by: Chanwoo Choi > --- > drivers/devfreq/event/exynos-ppmu.c | 2 +- >

Re: [PATCH v6 06/30] PCI: Combine PCI domain and bus number in u32 arg

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:03AM +0800, Yijing Wang wrote: > Currently, we use int type for bus number in > pci_create_root_bus(), pci_scan_root_bus() and > pci_scan_bus_legacy. Because PCI bus number > always <= 255, so we could change the bus number > argument type to u32, and combine PCI domai

Re: [PATCH 4/6] zram: describe device attrs in documentation

2015-03-11 Thread Minchan Kim
On Wed, Mar 11, 2015 at 12:08:32AM +0900, Sergey Senozhatsky wrote: > Briefly describe exported device stat attrs in zram documentation. > We will eventually get rid of per-stat sysfs nodes and, thus, > clean up Documentation/ABI/testing/sysfs-block-zram file, which is > the only source of informat

Re: [PATCH v2 2/3] sysfs: Only accept read/write permissions for file attributes

2015-03-11 Thread Guenter Roeck
On 03/11/2015 11:22 AM, Vivien Didelot wrote: For sysfs file attributes, only read and write permissions make sense. Mask provided attribute permissions accordingly and send a warning to the console if invalid permission bits are set. This patch is originally from Guenter [1] and includes the fi

Re: [PATCH v6 07/30] PCI: Pass PCI domain number combined with root bus number

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:04AM +0800, Yijing Wang wrote: > Now we could pass PCI domain combined with bus number > in u32 argu. Because in arm/arm64, PCI domain number > is assigned by pci_bus_assign_domain_nr(). So we leave > pci_scan_root_bus() and pci_create_root_bus() in arm/arm64 > unchang

Re: [PATCH] usb gadget: remove size limitation for storage cdrom

2015-03-11 Thread Dave Young
On 03/09/15 at 10:22am, Alan Stern wrote: > On Mon, 9 Mar 2015, Dave Young wrote: > > > On 03/08/15 at 11:29am, Alan Stern wrote: > > > On Sun, 8 Mar 2015, Dave Young wrote: > > > > > > > I used usb cdrom emulation to play video dvd for my daughter, but I got > > > > below > > > > error: > > > >

Re: [PATCH 5/6] zram: export new 'io_stat' sysfs attrs

2015-03-11 Thread Minchan Kim
On Wed, Mar 11, 2015 at 12:08:33AM +0900, Sergey Senozhatsky wrote: > Per-device `zram/io_stat' file provides accumulated I/O statistics > of particular zram device in a format similar to block layer statistics. > The file consists of a single line and represents the following stats > (separated by

Re: [v3 24/26] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-03-11 Thread Marcelo Tosatti
On Fri, Mar 06, 2015 at 06:51:52AM +, Wu, Feng wrote: > > > > -Original Message- > > From: Marcelo Tosatti [mailto:mtosa...@redhat.com] > > Sent: Wednesday, March 04, 2015 8:06 PM > > To: Wu, Feng > > Cc: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; x...@kernel.org; > > g...@

[PATCH 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to Intel ValleyView and LynxPoint LP

2015-03-11 Thread Lu Baolu
When a device with an isochronous endpoint is plugged into the Intel xHCI host controller, and the driver submits multiple frames per URB, the xHCI driver will set the Block Event Interrupt (BEI) flag on all but the last TD for the URB. This causes the host controller to place an event on the event

Re: [PATCH v6 08/30] PCI: Introduce pci_host_assign_domain_nr() to assign domain

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:05AM +0800, Yijing Wang wrote: > Introduce pci_host_assign_domain_nr() to assign domain > number for pci_host_bridge. Later we will remove > pci_bus_assign_domain_nr(). > > Signed-off-by: Yijing Wang > Signed-off-by: Bjorn Helgaas > --- > drivers/pci/pci.c | 20

Re: [PATCH] x86/PCI: Fully disable devices before releasing IRQ resource

2015-03-11 Thread Jiang Liu
On 2015/3/12 9:17, Rafael J. Wysocki wrote: > On Wednesday, March 11, 2015 10:04:42 PM Luck, Tony wrote: Unfortunately there's a long standing comment in pci_device_remove(): /* * We would love to complain here if pci_dev->is_enabled is set, that

Re: [PATCH 6/6] zram: export new 'mm_stat' sysfs attrs

2015-03-11 Thread Minchan Kim
On Wed, Mar 11, 2015 at 12:08:34AM +0900, Sergey Senozhatsky wrote: > Per-device `zram/mm_stat' file provides accumulated mm statistics > of particular zram device in a format similar to block layer statistics. > The file consists of a single line and represents the following stats > (separated by

Re: Re: [PATCH v2] perf probe: Find compilation directory path for lazy matching

2015-03-11 Thread Masami Hiramatsu
(2015/03/11 22:30), Arnaldo Carvalho de Melo wrote: > Em Wed, Mar 04, 2015 at 09:34:38PM +0900, Masami Hiramatsu escreveu: >> (2015/03/04 16:52), Naohiro Aota wrote: >>> If we use lazy matching, it failed to open a souce file if perf command >>> is invoked outside of compilation directory: >>> >>>

Re: [PATCH 4/6] zram: describe device attrs in documentation

2015-03-11 Thread Sergey Senozhatsky
On (03/12/15 10:33), Minchan Kim wrote: > FYI, git-am got failed based on next-2015311 but patch tool worked. > hm... oh, do you have this one applied From: Sergey Senozhatsky Subject: zram: do not let user enforce new device dev_id This patch forbids user to enforce de

Hit a deadlock: between AER and pcieport/pciehp

2015-03-11 Thread Rajat Jain
Hello, I have hit a kernel deadlock situation on my system that has hierarchical hot plug situations (i.e. we can hot-plug a card, that itself may have a hot-plug slot for another level of hot-pluggable add-on cards). In summary, I see 2 threads that are both waiting on mutexes that is acquired b

Re: [PATCH v10 16/21] irqchip: Add GICv2 specific ACPI boot support

2015-03-11 Thread Hanjun Guo
On 2015/3/12 7:11, Jason Cooper wrote: > Hey Grant, > > On Wed, Mar 11, 2015 at 06:04:50PM +, Grant Likely wrote: >> On 11 Mar 2015 12:42, "Hanjun Guo" wrote: >>> From: Tomasz Nowicki >>> >>> ACPI kernel uses MADT table for proper GIC initialization. It needs to >>> parse GIC related subtable

Re: [PATCH 6/6] zram: export new 'mm_stat' sysfs attrs

2015-03-11 Thread Sergey Senozhatsky
On (03/12/15 10:41), Minchan Kim wrote: > Any user doesn't take care of document. I think we should add > pr_warn_once to notify the user if he tried deprecated interface. yes, that was something I didn't want to include into this patch. I agree that some sort of a warning should go into the logs.

Re: [PATCH] 9p/trans_virtio: fix hot-unplug

2015-03-11 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On device hot-unplug, 9p/virtio currently will kfree channel while > it might still be in use. > > Of course, it might stay used forever, so it's an extremely ugly hack, > but it seems better than use-after-free that we have now. > > Signed-off-by: Michael S. Tsirkin

Re: [PATCH] libata: revert "libata: use blk taging" et al.

2015-03-11 Thread Shaohua Li
On Wed, Mar 11, 2015 at 06:19:27PM -0400, Tony Battersby wrote: > On 03/11/2015 05:45 PM, Jens Axboe wrote: > > On 03/11/2015 02:15 PM, Tony Battersby wrote: > >> This reverts commits 12cb5ce101abfaf74421f8cc9f196e708209eb79 and > >> 98bd4be1ba95f2fe7f543910792b7163a5de06eb. > >> > >> Commit 12cb5c

Re: [PATCH 0/6] new zram statistics reporting scheme

2015-03-11 Thread Minchan Kim
Hi Sergey, On Wed, Mar 11, 2015 at 12:08:28AM +0900, Sergey Senozhatsky wrote: > Hello, > > This patch introduces rework to zram stats. We have per-stat sysfs > nodes, and it makes things a bit hard to use in user space: it doesn't > give an immediate stats 'snapshot', it requires user space to u

Re: [PATCH v3 1/1] mmc: dw_mmc: Add runtime pm to dw_mmc

2015-03-11 Thread Jaehoon Chung
Hi, Karol. Is there the benefit of power consumption? If there is, could you share the result? On 03/09/2015 10:46 PM, Karol Wrona wrote: > This patch adds runtime pm handling to dw_mmc. > It mainly uses mci_request/mci_request_end for mmc host state information. > The goal of the runtime pm in

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

2015-03-11 Thread Stephen Rothwell
Hi all, On Tue, 10 Mar 2015 13:01:20 +1100 Stephen Rothwell wrote: > > After merging the sound-asoc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > sound/soc/codecs/rt5670.c: In function 'is_sys_clk_from_pll': > sound/soc/codecs/rt5670.c:519:38: error: 'struct snd_s

Re: [PATCH 0/6] new zram statistics reporting scheme

2015-03-11 Thread Sergey Senozhatsky
On (03/12/15 10:55), Minchan Kim wrote: > I really appreciate you enhance stat functions, esp, working with iostat! thanks! my pleasure. > One thing I want to discuss is sometime we could remove RO fields > in /sys/block/zram/ but we couldn't remove RW fields because > io_stat/mm_stat doesn't hav

[RFC PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-03-11 Thread Songjun Wu
Enable WM8731 to support common clock framework. Signed-off-by: Songjun Wu --- sound/soc/codecs/wm8731.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 098c143..8df1550 100644 --- a/sound/soc/c

Re: [PATCH v4 2/2] cgroups: add a pids subsystem

2015-03-11 Thread Aleksa Sarai
> I did not necessarily word this very clearly. What I meant is that > /proc/sys/kernel/pid_max is essentially an external limiting factor that > caps the total number of pids that can be under the root cgroup and it's > children, not that the cgroup in any way payed attention to it. It might be

Re: [PATCH] libata: revert "libata: use blk taging" et al.

2015-03-11 Thread Shaohua Li
On Wed, Mar 11, 2015 at 06:19:27PM -0400, Tony Battersby wrote: > On 03/11/2015 05:45 PM, Jens Axboe wrote: > > On 03/11/2015 02:15 PM, Tony Battersby wrote: > >> This reverts commits 12cb5ce101abfaf74421f8cc9f196e708209eb79 and > >> 98bd4be1ba95f2fe7f543910792b7163a5de06eb. > >> > >> Commit 12cb5c

Re: linux-next: Tree for Mar 11 (powerpc build failure due to vmx crypto code)

2015-03-11 Thread Guenter Roeck
On 03/11/2015 06:23 PM, Herbert Xu wrote: On Wed, Mar 11, 2015 at 08:47:17AM -0700, Guenter Roeck wrote: Building powerpc:allmodconfig: ERROR: ".aes_p8_cbc_encrypt" [drivers/crypto/vmx/vmx-crypto.ko] undefined! ERROR: ".aes_p8_set_encrypt_key" [drivers/crypto/vmx/vmx-crypto.ko] undefined! ERRO

RE: linux-next: build failure after merge of the sound-asoc tree

2015-03-11 Thread Bard Liao
> -Original Message- > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > Sent: Thursday, March 12, 2015 10:12 AM > To: Mark Brown; Liam Girdwood > Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; Bard Liao > Subject: Re: linux-next: build failure after merge of the sound-

[PATCH] ASoC: wm8994: Manage wm8994's MCLK in codec driver

2015-03-11 Thread Inha Song
Previously, When we use wm8994 codec, we should control its MCLK in machine driver. But, It should be managed by wm8994 codec driver, not machine driver. This patch add MCLK clock DT parsing logic and control own MCLK. Signed-off-by: Inha Song --- sound/soc/codecs/wm8994.c | 27 +++

[alsa-devel] [PATCH] ASoC: wm8994: Manage wm8994's MCLK in codec driver

2015-03-11 Thread Inha Song
Previously, When we use wm8994 codec, we should control its MCLK in machine driver. But, It should be managed by wm8994 codec driver, not machine driver. This patch add MCLK clock DT parsing logic and control own MCLK. Signed-off-by: Inha Song --- sound/soc/codecs/wm8994.c | 27 +++

Re: btrfs: kernel BUG at fs/btrfs/extent_io.c:676!

2015-03-11 Thread Sasha Levin
On 10/14/2014 02:31 AM, Chris Mason wrote: > On Sun, Oct 12, 2014 at 10:15 PM, Sasha Levin wrote: >> Ping? >> >> This BUG_ON()ing due to GFP_ATOMIC allocation failure is really silly :( > > Agreed, I have a patch for this in testing. It didn't make my first pull but > I'll get it fixed up. I'v

Re: [PATCH v6 10/30] PCI: Introduce pci_host_bridge_list to manage host bridges

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:07AM +0800, Yijing Wang wrote: > Introduce pci_host_bridge_list to manage pci host > bridges in system, so we could detect whether > the host in domain:bus is alreay registered. > Then we could remove bus alreay exist test in > __pci_create_root_bus(). It's a nice ide

Re: [PATCH V2 1/3 net-next] Drivers: hv: vmbus: Export the vmbus_sendpacket_pagebuffer_ctl()

2015-03-11 Thread Jason Wang
On Thu, Mar 12, 2015 at 3:04 AM, K. Y. Srinivasan wrote: Export the vmbus_sendpacket_pagebuffer_ctl() interface. This interface will be used in the netvsc driver to optimize signalling the host. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel.c |1 + 1 files changed, 1 insertion

Re: [PATCH] virtio_mmio: generation support

2015-03-11 Thread Rusty Russell
"Michael S. Tsirkin" writes: > virtio_mmio currently lacks generation support which > makes multi-byte field access racy. > Fix by getting the value at offset 0xfc for version 2 > devices. Nothing we can do for version 1, so return > generation id 0. > > Signed-off-by: Michael S. Tsirkin > --- >

Re: [PATCH] virtio_mmio: fix endian-ness for mmio

2015-03-11 Thread Rusty Russell
"Michael S. Tsirkin" writes: > Going over the virtio mmio code, I noticed that it doesn't correctly > return device config values in LE format when using virtio 1.0. > Borrow code from virtio_pci_modern to do this correctly. AFAICT, it doesn't need to. The endian correction is done by the caller

Re: [PATCH V2 2/3 net-next] Drivers: hv: vmbus: Fix a bug in the signalling logic with kick_q

2015-03-11 Thread Jason Wang
On Thu, Mar 12, 2015 at 3:04 AM, K. Y. Srinivasan wrote: When the caller specifies that signalling should be deferred, we need to address the case where we are not able to place the current packet because the buffer is full. In this case, we will signal the host as some packets may have be

Re: [PATCH V2 3/3 net-next] hyperv: Support batched notification

2015-03-11 Thread Jason Wang
On Thu, Mar 12, 2015 at 3:04 AM, K. Y. Srinivasan wrote: Optimize notifying the host by deferring notification until there are no more packets to be sent. This will help in batching the requests on the host. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |2 +-

Re: [PATCH v4 4/9] selftests: Add install target

2015-03-11 Thread Michael Ellerman
On Wed, 2015-03-11 at 10:03 -0600, Shuah Khan wrote: > On 03/11/2015 07:18 AM, Shuah Khan wrote: > > > > I don't see my comments addressed. If you want me to take > > this work, please address the following comments: > > > > - Name install directory kselftest. It should work with the > > the us

[PATCH 02/22] netfilter: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: net...@vger.kernel.org Cc: netfilter-de...@vger.kernel.org Cc: lvs-de...@vger.kernel.org --- net/netfilter/ipvs/ip_vs_conn.c | 2 +- net/netfi

[PATCH 07/22] alpha: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Even on other architectures, refrain from setting a bad example that people copy. Signed-off-by: Scott Wood Cc: linux-al...@vger.kernel.org --- arch/alpha/kernel/pci_iommu

[PATCH 06/22] random: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: "Theodore Ts'o" --- drivers/char/random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/random.c b/drivers

[PATCH 17/22] esp_scsi: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: linux-s...@vger.kernel.org Cc: Hannes Reinecke --- drivers/scsi/esp_scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 18/22] usb: gadget: serial: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: linux-...@vger.kernel.org Cc: Felipe Balbi --- drivers/usb/gadget/function/u_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 05/22] PM / AVS: SmartReflex: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: linux...@vger.kernel.org Cc: Kevin Hilman Cc: Nishanth Menon --- drivers/power/avs/smartreflex.c | 10 +- 1 file changed, 5 insertio

[PATCH 08/22] ARM: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Even on other architectures, refrain from setting a bad example that people copy. Signed-off-by: Scott Wood Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/mm/alignm

Re: [PATCH v4 4/9] selftests: Add install target

2015-03-11 Thread Michael Ellerman
On Wed, 2015-03-11 at 07:18 -0600, Shuah Khan wrote: > On 03/10/2015 10:06 PM, Michael Ellerman wrote: > > This adds make install support to selftests. The basic usage is: > > > > $ cd tools/testing/selftests > > $ make install > > > > That installs into tools/testing/selftests/install, which can

Re: [PATCH 12/12] clocksource: Add some debug info about clocksources being registered

2015-03-11 Thread John Stultz
On Sat, Mar 7, 2015 at 1:50 AM, Ingo Molnar wrote: > > * John Stultz wrote: > >> Print the mask, max_cycles, and max_idle_ns values for clocksources >> being registered. >> >> Cc: Dave Jones >> Cc: Linus Torvalds >> Cc: Thomas Gleixner >> Cc: Richard Cochran >> Cc: Prarit Bhargava >> Cc: Ste

Re: [PATCH v6 12/30] PCI: Introduce pci_host_bridge_ops to support host specific operations

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:09AM +0800, Yijing Wang wrote: > Now we have weak functions like pcibios_root_bridge_prepare() > to setup pci host bridge, We could introduce pci_host_bridge_ops > which contain host bridge specific ops to setup pci_host_bridge. > Then host bridge driver could add pci_

Re: [PATCH v6 13/30] PCI: Introduce new scan function pci_scan_host_bridge()

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:10AM +0800, Yijing Wang wrote: > Introduce new scan function pci_scan_host_bridge() to > support host bridge drivers that need to provide platform > own pci_host_bridge_ops. > > Signed-off-by: Yijing Wang > Signed-off-by: Bjorn Helgaas > --- > drivers/pci/probe.c |

[PATCH 03/22] sound: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: alsa-de...@alsa-project.org --- sound/core/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/core/device.c b/

Re: [PATCH v2] ipv6: expose RFC4191 route preference via rtnetlink

2015-03-11 Thread David Miller
From: Lubomir Rintel Date: Wed, 11 Mar 2015 15:39:21 +0100 > This makes it possible to retain the route preference when RAs are handled in > userspace. > > Signed-off-by: Lubomir Rintel > --- > Changes since v1: > - In case an invalid value is specified treat it as > ICMPV6_ROUTER_PREF_MEDIU

Re: linux-next: Tree for Mar 11 (powerpc build failure due to vmx crypto code)

2015-03-11 Thread Herbert Xu
On Wed, Mar 11, 2015 at 07:43:22PM -0700, Guenter Roeck wrote: > > It looks like the perl scripts do run - I see the .S files, and I do see .o > files created. > But I still get the error. > > Looking into the object files, I see > > $ nm vmx-crypto.o | grep aes_p8_cbc_encrypt > 0680

[PATCH 04/22] md/bcache: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: linux-bca...@vger.kernel.org Cc: Kent Overstreet --- drivers/md/bcache/closure.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) d

[PATCH 10/22] microblaze: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Even on other architectures, refrain from setting a bad example that people copy. Signed-off-by: Scott Wood Cc: Michal Simek --- arch/microblaze/mm/pgtable.c | 2 +- 1 fi

[PATCH 12/22] sparc: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Even on other architectures, refrain from setting a bad example that people copy. Signed-off-by: Scott Wood Cc: sparcli...@vger.kernel.org --- arch/sparc/kernel/ds.c | 2 +

[PATCH 09/22] blackfin: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Even on other architectures, refrain from setting a bad example that people copy. Signed-off-by: Scott Wood Cc: adi-buildroot-de...@lists.sourceforge.net Cc: Steven Miao -

[PATCH 13/22] x86: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Even on other architectures, refrain from setting a bad example that people copy. Signed-off-by: Scott Wood Cc: x...@kernel.org Cc: xen-de...@lists.xenproject.org --- arch

[PATCH 21/22] xfs: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: x...@oss.sgi.com --- fs/xfs/xfs_error.c | 2 +- fs/xfs/xfs_trace.h | 20 ++-- 2 files changed, 11 insertions(+), 11 deletions

[PATCH 20/22] pstore: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: Anton Vorontsov Cc: Colin Cross Cc: Kees Cook Cc: Tony Luck --- fs/pstore/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 19/22] jfs: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: jfs-discuss...@lists.sourceforge.net --- fs/jfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/jfs/super.c b/f

[PATCH 22/22] tracing: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: Steven Rostedt Cc: Ingo Molnar --- include/trace/events/btrfs.h | 4 ++-- include/trace/events/ext3.h| 2 +- include/trace/e

Re: [PATCH v6 20/30] sparc/PCI: Use pci_scan_host_bridge() for simplicity

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:17AM +0800, Yijing Wang wrote: > Now we could use pci_scan_host_bridge() to scan > pci buses, provide sparc specific pci_host_bridge_ops. > > Signed-off-by: Yijing Wang > CC: "David S. Miller" > CC: sparcli...@vger.kernel.org > Signed-off-by: Bjorn Helgaas > --- >

[PATCH 16/22] mfd: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: Samuel Ortiz Cc: Lee Jones --- drivers/mfd/mc13xxx-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/

[BUG] perf report: ordered events and flushing bug

2015-03-11 Thread Stephane Eranian
Hi, I am working on the JIT support to improve the flow and have perf record inject the MMAPs at the end of the collection. For that I piggyback on the buildid pass. To avoid rewriting the entire perf.data file, I simply append the the MMAP records at the end of the file. And that puts them out-of

[PATCH 14/22] parisc: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Even on other architectures, refrain from setting a bad example that people copy. Signed-off-by: Scott Wood Cc: linux-par...@vger.kernel.org --- drivers/parisc/superio.c |

[PATCH 11/22] powerpc/32: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Even on other architectures, refrain from setting a bad example that people copy. Signed-off-by: Scott Wood Cc: linuxppc-...@lists.ozlabs.org --- arch/powerpc/mm/pgtable_3

RE: [PATCH V2 2/3 net-next] Drivers: hv: vmbus: Fix a bug in the signalling logic with kick_q

2015-03-11 Thread KY Srinivasan
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Wednesday, March 11, 2015 8:08 PM > To: KY Srinivasan > Cc: da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; gre...

[PATCH 01/22] mm/memblock.c: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: linux...@kvack.org --- mm/memblock.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/memblock.c b/mm/membl

Re: [PATCH v6 21/30] PCI: Introduce pci_bus_child_max_busnr()

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:18AM +0800, Yijing Wang wrote: > Sometimes, we need to know the highest reserved > busnr for children bus. Because parent's > bus->busn_res could have padding in it. > This function return the max child busnr as > pci_scan_child_bus(). I'm not convinced about this one

[PATCH 15/22] drm: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: dri-de...@lists.freedesktop.org --- drivers/gpu/drm/drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/

RE: [PATCH V2 3/3 net-next] hyperv: Support batched notification

2015-03-11 Thread KY Srinivasan
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Wednesday, March 11, 2015 8:09 PM > To: KY Srinivasan > Cc: da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; gre...

Re: [PATCH v6 21/30] PCI: Introduce pci_bus_child_max_busnr()

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:18AM +0800, Yijing Wang wrote: > Sometimes, we need to know the highest reserved > busnr for children bus. Because parent's > bus->busn_res could have padding in it. > This function return the max child busnr as > pci_scan_child_bus(). > > Signed-off-by: Yijing Wang

Re: [rhashtable] [ INFO: possible recursive locking detected ]

2015-03-11 Thread Herbert Xu
On Thu, Mar 12, 2015 at 11:29:24AM +0800, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next.git master > > commit aa34a6cb0478842452bac58edb50d3ef9e178c92 > Author:

Re: [rhashtable] [ INFO: possible recursive locking detected ]

2015-03-11 Thread David Miller
From: Herbert Xu Date: Thu, 12 Mar 2015 14:37:45 +1100 > rhashtable: Add annotation to nested lock > > Commit aa34a6cb0478842452bac58edb50d3ef9e178c92 ("rhashtable: > Add arbitrary rehash function") killed the annotation on the > nested lock which leads to bitching from lockdep. > > Rep

Re: [PATCH v2] clk: qcom: Properly change rates for ahbix clock

2015-03-11 Thread Kenneth Westfield
On Fri, Mar 06, 2015 at 03:41:53PM -0800, Stephen Boyd wrote: > The ahbix clock can never be turned off in practice. To change the > rates we need to switch the mux off the M/N counter to an always on > source (XO), reprogram the M/N counter to get the rate we want and > finally switch back to the

Re: [PATCH v6 28/30] PCI: Export find_pci_host_bridge() and rename to pci_find_host_bridge()

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:25AM +0800, Yijing Wang wrote: > Signed-off-by: Yijing Wang > Signed-off-by: Bjorn Helgaas > --- > drivers/pci/host-bridge.c |6 +++--- > drivers/pci/pci.h |2 ++ > 2 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/drivers/pci/host-b

[PATCH kernel] vfio-pci: Add missing break to enable VFIO_PCI_ERR_IRQ_INDEX

2015-03-11 Thread Alexey Kardashevskiy
This adds a missing break statement to VFIO_DEVICE_SET_IRQS handler without which vfio_pci_set_err_trigger() would never be called. While we are here, add another "break" to VFIO_PCI_REQ_IRQ_INDEX case so if we add more indexes later, we won't miss it. Signed-off-by: Alexey Kardashevskiy --- dr

Re: [rhashtable] [ INFO: possible recursive locking detected ]

2015-03-11 Thread Herbert Xu
On Wed, Mar 11, 2015 at 11:41:56PM -0400, David Miller wrote: > From: Herbert Xu > Date: Thu, 12 Mar 2015 14:37:45 +1100 > > > rhashtable: Add annotation to nested lock > > > > Commit aa34a6cb0478842452bac58edb50d3ef9e178c92 ("rhashtable: > > Add arbitrary rehash function") killed the annota

Re: [PATCH v4 2/2] cgroups: add a pids subsystem

2015-03-11 Thread Tejun Heo
On Wed, Mar 11, 2015 at 11:13:48AM -0400, Austin S Hemmelgarn wrote: > I did not necessarily word this very clearly. What I meant is that > /proc/sys/kernel/pid_max is essentially an external limiting factor that > caps the total number of pids that can be under the root cgroup and it's > children

Re: [PATCH v6 30/30] PCI: Remove pci_bus_assign_domain_nr()

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:27AM +0800, Yijing Wang wrote: > Now we save the domain number in pci_host_bridge, > we could remove pci_bus_assign_domain_nr() and > clean the domain member in pci_bus. > > Signed-off-by: Yijing Wang > Signed-off-by: Bjorn Helgaas > --- > drivers/pci/pci.c |

Re: linux-next: Tree for Mar 11 (powerpc build failure due to vmx crypto code)

2015-03-11 Thread Guenter Roeck
On 03/11/2015 08:28 PM, Herbert Xu wrote: On Wed, Mar 11, 2015 at 07:43:22PM -0700, Guenter Roeck wrote: It looks like the perl scripts do run - I see the .S files, and I do see .o files created. But I still get the error. Looking into the object files, I see $ nm vmx-crypto.o | grep aes_p8_

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

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:06AM +0800, Yijing Wang wrote: > This patch separate pci_host_bridge creation out > of pci_create_root_bus(), and try to make a generic > pci_host_bridge, then we could place generic PCI > infos like domain number in it. Also Ripping out > pci_host_bridge creation from

Re: linux-next: Tree for Mar 11 (powerpc build failure due to vmx crypto code)

2015-03-11 Thread Herbert Xu
On Wed, Mar 11, 2015 at 08:51:32PM -0700, Guenter Roeck wrote: > > Yes, this helps. > > Feel free to add > > Tested-by: Guenter Roeck Thanks for testing and the quick feedback. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pu

[PATCH] mm/memory hotplog: postpone the reset of obsolete pgdat

2015-03-11 Thread Gu Zheng
Qiu Xishi reported the following BUG when testing hot-add/hot-remove node under stress condition. [ 1422.011064] BUG: unable to handle kernel paging request at 00025f60 [ 1422.011086] IP: [] next_online_pgdat+0x1/0x50 [ 1422.011178] PGD 0 [ 1422.011180] Oops: [#1] SMP [ 1422.011409] AC

[PATCH 1/7] blk-mq: fix use of incorrect goto label in blk_mq_init_queue error path

2015-03-11 Thread Mike Snitzer
If percpu_ref_init() fails the 'err_hctxs' label should be used instead of 'err_map'. Signed-off-by: Mike Snitzer --- block/blk-mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 4f4bea2..459840c 100644 --- a/block/blk-mq.c +++ b/block/

[PATCH 7/7] dm: add 'use_blk_mq' module param and expose in per-device ro sysfs attr

2015-03-11 Thread Mike Snitzer
Request-based DM's blk-mq support defaults to off; but a user can easily change the default using the dm_mod.use_blk_mq module/boot option. Also, you can check what mode a given request-based DM device is using with: cat /sys/block/dm-X/dm/use_blk_mq This change enabled further cleanup and reduce

[PATCH 3/7] blk-mq: export blk_mq_run_hw_queues

2015-03-11 Thread Mike Snitzer
Rename blk_mq_run_queues to blk_mq_run_hw_queues, add async argument, and export it. DM's suspend support must be able to run the queue without starting stopped hw queues. Signed-off-by: Mike Snitzer --- block/blk-mq.c | 8 include/linux/blk-mq.h | 1 + 2 files changed, 5 inser

[PATCH 4/7] blk-mq: don't wait in blk_mq_queue_enter() if __GFP_WAIT isn't set

2015-03-11 Thread Mike Snitzer
From: Keith Busch Return -EBUSY if we're unable to enter a queue immediately when allocating a blk-mq request without __GFP_WAIT. Signed-off-by: Keith Busch Signed-off-by: Mike Snitzer --- block/blk-mq.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/block/blk-mq

[PATCH 2/7] blk-mq: add blk_mq_init_allocated_queue and export blk_mq_register_disk

2015-03-11 Thread Mike Snitzer
Add a variant of blk_mq_init_queue that allows a previously allocated queue to be initialized. blk_mq_init_allocated_queue models blk_init_allocated_queue -- which was also created for DM's use. DM's approach to device creation requires a placeholder request_queue be allocated for use with alloc_

[PATCH 0/7] dm: add full blk-mq support to request-based DM

2015-03-11 Thread Mike Snitzer
This patchset updates request-based DM (used exclussively by DM multipath) to support blk-mq I/O path or the old ->request_fn I/O path -- the default is still the old ->request_fn I/O path. Like was done for SCSI, I've exposed a dm-mod.ko 'use_blk_mq' module parameter and a CONFIG_DM_MQ_DEFAULT.

[PATCH 6/7] dm: optimize dm_mq_queue_rq to _not_ use kthread if using pure blk-mq

2015-03-11 Thread Mike Snitzer
dm_mq_queue_rq() is in atomic context so care must be taken to not sleep -- as such GFP_ATOMIC is used for the md->bs bioset allocations and dm-mpath's call to blk_get_request(). In the future the bioset allocations will hopefully go away (by removing support for partial completions of a request).

[PATCH 5/7] dm: add full blk-mq support to request-based DM

2015-03-11 Thread Mike Snitzer
Commit e5863d9ad ("dm: allocate requests in target when stacking on blk-mq devices") served as the first step toward fully utilizing blk-mq in request-based DM -- it enabled stacking a old-style (request_fn) request_queue ontop of the underlying blk-mq device(s). This first step didn't improve per

[ALSA] f2c5784f827: snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0009. -5

2015-03-11 Thread Fengguang Wu
Hi Takashi, We noticed the below dmesg errors on git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/hda-regmap commit f2c5784f82792221990f708dff42a71a4a51b721 ("ALSA: hda - Use regmap for amp accesses") <6>[ 17.709789] snd_hda_intel :02:00.1: Disabling MSI <6>[ 17.71011

[PATCH] kobject: WARN as tip when call kobject_get() to a kobject not initialized

2015-03-11 Thread Ethan Zhao
call kobject_get() to kojbect that is not initalized or released will only leave following like call trace to us: ---[ cut here ] [ 54.545816] WARNING: CPU: 0 PID: 213 at include/linux/kref.h:47 kobject_get+0x41/0x50() [ 54.642595] Modules linked in: i2c_i801(+) mfd_core sh

Re: [PATCH 3/15] net/mlx5_core: don't export static symbol

2015-03-11 Thread David Miller
From: Julia Lawall Date: Wed, 11 Mar 2015 17:56:25 +0100 > From: Julia Lawall > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) ... > Signed-off-by: Julia Lawall Applied, thank you Julia. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v4] HID: multitouch: Add support for button type usage

2015-03-11 Thread Jiri Kosina
On Wed, 11 Mar 2015, Benjamin Tissoires wrote: > On Mar 11 2015 or thereabouts, Seth Forshee wrote: > > According to [1], Windows Precision Touchpad devices must supply > > a button type usage in the device capabilities feature report. A > > value of 0 indicates that the device contains a depressi

[PATCH] staging: fsl-mc: Corrected email addresses in TODO file

2015-03-11 Thread J. German Rivera
Signed-off-by: J. German Rivera --- drivers/staging/fsl-mc/TODO | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fsl-mc/TODO b/drivers/staging/fsl-mc/TODO index 49ebfd9..d78288b 100644 --- a/drivers/staging/fsl-mc/TODO +++ b/drivers/staging/fsl-mc/TODO @@ -

[PATCH 04/12] time: Add debugging checks to warn if we see delays

2015-03-11 Thread John Stultz
Recently there's been some request for better sanity checking in the time code, so that its more clear when something is going wrong since timekeeping issues could manifest in a large number of strange ways with various subsystems. Thus, this patch adds some extra infrastructure to add a check upd

[PATCH 09/12] clocksource: Mostly kill clocksource_register()

2015-03-11 Thread John Stultz
A long running project has been to cleanup remaining uses of clocksource_register(), replacing it with the simpler clocksource_register_khz/hz() functions. However, there are a few cases where we need to self-define our mult/shift values, so switch the function to a more obviously internal __clock

[PATCH 03/12] clocksource: Add max_cycles to clocksource structure

2015-03-11 Thread John Stultz
In order to facilitate some clocksource validation, add a max_cycles entry to the structure which will hold the maximum cycle value that can safely be multiplied without potentially causing an overflow. Cc: Dave Jones Cc: Linus Torvalds Cc: Thomas Gleixner Cc: Richard Cochran Cc: Prarit Bharga

<    4   5   6   7   8   9   10   >