Re: ftrace/kprobes: Warning when insmod two modules

2014-03-24 Thread Takao Indoh
(2014/03/24 23:59), Steven Rostedt wrote: > On Mon, 24 Mar 2014 20:26:05 +0900 > Masami Hiramatsu wrote: > > >> Thank you for reporting with this pretty backtrace :) >> Steven, I think this is not the kprobe bug but ftrace (and perhaps, module). > > Looks to be more of a module issue than a

[PATCH] uio: fix vma io range check in mmap

2014-03-24 Thread Bin Wang
the vma range size is always page size aligned in mmap, while the real io space range may not be page aligned, thus leading to range check failure in the uio_mmap_physical(). for example, in a case of io range size "mem->size == 1KB", and we have (vma->vm_end - vma->vm_start) == 4KB, due to "len"

RE: [PATCH net-next 4/7] qlcnic: Remove casts of pointer to same type

2014-03-24 Thread Shahed Shaikh
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Tuesday, March 25, 2014 1:46 AM > To: netdev > Cc: Shahed Shaikh; Dept-HSG Linux NIC Dev; linux-kernel > Subject: [PATCH net-next 4/7] qlcnic: Remove casts of pointer to same type > > Casting a pointer to a pointer

Re: [GIT PULL rcu/next] Additional RCU commit for 3.15

2014-03-24 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > And, if you are willing to take it, one late-breaking commit. This one > was requested for 3.15 by Peter Zijlstra. [...] No objections at all, looks like a useful facility! > [...] It is low risk because it adds a new in-kernel API with >

Re: [PATCH 1/2] nohz: use seqlock to avoid race on idle time stats

2014-03-24 Thread Preeti U Murthy
On 03/24/2014 01:51 PM, Hidetoshi Seto wrote: > (2014/03/24 16:45), Preeti Murthy wrote: >> Hi Hidetoshi, >> >> The patch looks good to me except the comments around the monotonicity >> of the return value of the idle stats observer. I am unable to relate them >> to the dependency on

Re: [PATCH v0 01/15] drivers: clk: st: Support for DIVMUX and PreDiv Clocks

2014-03-24 Thread Mike Turquette
Quoting Gabriel FERNANDEZ (2014-02-27 07:24:14) > +/** > + * DOC: Clock mux with a programmable divider on each of its three inputs. > + * The mux has an input setting which effectively gates its output. > + * > + * Traits of this clock: > + * prepare - clk_(un)prepare only ensures parent is

on kernel 2.6.34.15, vlan and raw packets can not be received with gfar-enet nic

2014-03-24 Thread zhuyj
Hi, Sandeep Gopalpet I am a developer. Now I confronted an interesting phenomena. When I used linux kernel 2.6.34.15 on freescale-p2020, I can not receive raw and vlan packets on gfar-enet nic. But with e1000e nic, we can make vlan and raw packets work well. I looked into the source code and

[PATCH] staging: comedi: s626: use comedi_timeout() on remaining loops

2014-03-24 Thread Chase Southwood
There were just a handful of more while loops in this file that need timeouts, and this patch takes care of them, using comedi_timeout(). A couple of new callbacks are introduced, but there was one case where the appropriate callback function was already defined; in this case I have just used

[PATCH] [media] uvcvideo: Fix marking buffer erroneous in case of FID toggling

2014-03-24 Thread Anton Leontiev
Set error bit for incomplete buffers when end of buffer is detected by FID toggling (for example when last transaction with EOF is lost). This prevents passing incomplete buffers to the userspace. Signed-off-by: Anton Leontiev --- drivers/media/usb/uvc/uvc_video.c | 21 +++-- 1

Re: linux-next: manual merge of the net-next tree with the net tree

2014-03-24 Thread David Miller
From: Stephen Rothwell Date: Tue, 25 Mar 2014 13:04:47 +1100 > Today's linux-next merge of the net-next tree got a conflict in > net/core/netpoll.c between commit c27f0872a344 ("netpoll: fix the skb > check in pkt_is_ns") from the net tree and commit 9c62a68d1311 ("netpoll: > Remove dead packet

Re: [PATCH] intel_pstate: Use del_timer_sync in intel_pstate_cpu_stop

2014-03-24 Thread Viresh Kumar
On Mon, Mar 24, 2014 at 8:11 PM, wrote: > From: Dirk Brandewie > > Ensure that no timer callback is running since we are about to free > the timer structure. We cannot guarantee that the call back is called > on the CPU where the timer is running. > > Reported-by: Thomas Gleixner >

[GIT PULL rcu/next] Additional RCU commit for 3.15

2014-03-24 Thread Paul E. McKenney
Hello, Ingo, And, if you are willing to take it, one late-breaking commit. This one was requested for 3.15 by Peter Zijlstra. It is low risk because it adds a new in-kernel API with minimal changes to the existing code. Those minimal changes are the addition of memory barriers and

linux-next: manual merge of the omap_dss2 tree with the drm tree

2014-03-24 Thread Stephen Rothwell
Hi Tomi, Today's linux-next merge of the omap_dss2 tree got a conflict in drivers/video/fbdev/exynos/Kconfig between commit 2e4e678aa8a4 ("drm/exynos: Move dp driver from video/ to drm/") from the drm tree and commits 07e521b66cf0 ("video: exynos: Remove OF dependency for Exynos DP") and

Re: [dm-devel] [PATCH RFC v1 00/01] dm-lightnvm introduction

2014-03-24 Thread Matias Bjorling
On 03/24/2014 08:08 PM, David Lang wrote: > On Fri, 21 Mar 2014, Matias Bjorling wrote: > >> On 03/21/2014 02:06 AM, Joe Thornber wrote: >>> Hi Matias, >>> >>> This looks really interesting and I'd love to get involved. Do you >>> have any recommendations for what hardware I should pick up? >>

Re: [dm-devel] [PATCH RFC v1 01/01] dm-lightnvm: An open FTL for open firmware SSDs

2014-03-24 Thread Matias Bjorling
On 03/24/2014 07:22 PM, Akira Hayakawa wrote: > Hi, Matias, > > Sorry for jumping in. I am interested in this new feature, too. > >>> Does it even make sense to expose the underlying devices as block >>> devices? It surely would help to send this together with a driver >>> that you plan to use

Re: [PATCH] bonding: Inactive slaves should keep inactive flag's value to 1 in tlb and alb mode.

2014-03-24 Thread Ding Tianhong
On 2014/3/25 11:00, Zheng Li wrote: > In bond mode tlb and alb, inactive slaves should keep inactive flag to > 1 to refuse to receive broadcast packets. Now, active slave send broadcast > packets > (for example ARP requests) which will arrive inactive slaves on same host > from switch, > but

Re: [dm-devel] [PATCH RFC v1 01/01] dm-lightnvm: An open FTL for open firmware SSDs

2014-03-24 Thread Matias Bjorling
On 03/23/2014 11:13 PM, Bart Van Assche wrote: > On 03/21/14 16:37, Christoph Hellwig wrote: >> Just curious: why do you think implementing this as a block remapper >> inside device mapper is a better idea than as a blk-mq driver? >> >> At the request layer you already get a lot of infrastructure

Re: [PATCH v4 0/5] KVM: x86: flush tlb out of mmu-lock after write protection

2014-03-24 Thread Xiao Guangrong
Ping.. On 03/10/2014 10:01 PM, Xiao Guangrong wrote: > This patchset is splited from my previous patchset: > [PATCH v3 00/15] KVM: MMU: locklessly write-protect > that can be found at: > https://lkml.org/lkml/2013/10/23/265 > > Changelog v4 : > - add more comments for patch 5 and thank for

Re: [dm-devel] [PATCH RFC v1 00/01] dm-lightnvm introduction

2014-03-24 Thread David Lang
On Fri, 21 Mar 2014, Matias Bjorling wrote: On 03/21/2014 02:06 AM, Joe Thornber wrote: Hi Matias, This looks really interesting and I'd love to get involved. Do you have any recommendations for what hardware I should pick up? Hi Joe, The most easily available platform is OpenSSD

linux-next: build failure after merge of the modules tree

2014-03-24 Thread Stephen Rothwell
Hi Rusty, After merging the modules tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from include/linux/thread_info.h:11:0, from arch/x86/include/asm/preempt.h:6, from include/linux/preempt.h:18, from

Re: Re: [PATCH 3.4 93/99] iwlwifi: always copy first 16 bytes of commands

2014-03-24 Thread Ben Hutchings
On Sat, 2014-03-22 at 22:01 +0100, Andreas Sturmlechner wrote: > Original Message from: Ben Hutchings > > > > Andreas, could you test whether this regression is also present in > > 3.2.55? This patch is based on my backport for 3.2.y. > > > > 3.2.55 is OK here. One piece of my backport to

[PATCH] bonding: Inactive slaves should keep inactive flag's value to 1 in tlb and alb mode.

2014-03-24 Thread Zheng Li
In bond mode tlb and alb, inactive slaves should keep inactive flag to 1 to refuse to receive broadcast packets. Now, active slave send broadcast packets (for example ARP requests) which will arrive inactive slaves on same host from switch, but inactive slave's inactive flag is zero that cause

Linux 3.14-rc8

2014-03-24 Thread Linus Torvalds
I delayed things a day from my normal schedule, hoping I'd feel more comfortable doing a 3.14 release, but that was not to be. So here's an rc8, and I expect to do the final 3.14 release next weekend. There wasn't that much scary stuff going on, but there's a few vfs fixes still pending, and we

Re: [PATCH] staging/usbip: fix store_attach() sscanf return value check

2014-03-24 Thread Shuah Khan
On 03/24/2014 06:38 PM, Greg KH wrote: On Mon, Mar 24, 2014 at 05:12:09PM -0600, Shuah Khan wrote: Fix commit - 88fa1ebfa21b5deaaad2dc88ecd9f6af91796cf7 What do you mean by this line? Nothing really. Sloppiness on my part. I was keeping notes as I was chasing the problem and those ended

RESEND: PATCH[60485 Bug adding breakpoint for msi-pci]

2014-03-24 Thread Nick Krause
> From: nickkra...@sympatico.ca > To: a...@lxorguk.ukuu.org.uk > CC: linux-m...@linux-mips.org; linux-kernel@vger.kernel.org; > r...@linux-mips.org > Subject: RE: PATCH[60485 Bug adding breakpoint] > Date: Mon, 24 Mar 2014 00:19:29 + > > > > > > Here

Re: [dm-devel] [PATCH RFC v1 01/01] dm-lightnvm: An open FTL for open firmware SSDs

2014-03-24 Thread Akira Hayakawa
Hi, Matias, Sorry for jumping in. I am interested in this new feature, too. > > Does it even make sense to expose the underlying devices as block > > devices? It surely would help to send this together with a driver > > that you plan to use it on top of. > > > > Agree, an underlying driver is

Re: [PATCH 7/7] gpio: dwapb: use d->mask instead od BIT(bit)

2014-03-24 Thread Alexandre Courbot
On Sun, Mar 23, 2014 at 1:16 AM, Sebastian Andrzej Siewior wrote: > d->mask contains exact the same information as BIT(bit) so we could save > a few cycles here. > > Signed-off-by: Sebastian Andrzej Siewior > --- > drivers/gpio/gpio-dwapb.c | 25 - > 1 file changed, 12

Re: [PATCH] compat_audit: allow it to work without asm/unistd32.h

2014-03-24 Thread AKASHI Takahiro
On 03/25/2014 01:39 AM, Chris Metcalf wrote: The problem is that audit_is_compat() is a dynamic test that the compiler can't optimize away, so you end with an undefined reference to audit_classify_compat_syscall(). For some reason audit_classify_compat_syscall() is declared as __weak in ;

linux-next: manual merge of the net-next tree with the net tree

2014-03-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/core/netpoll.c between commit c27f0872a344 ("netpoll: fix the skb check in pkt_is_ns") from the net tree and commit 9c62a68d1311 ("netpoll: Remove dead packet receive code (CONFIG_NETPOLL_TRAP)") from the net-next tree.

linux-next: manual merge of the net-next tree with the net tree

2014-03-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in Documentation/devicetree/bindings/net/micrel-ks8851.txt between commit ebf4ad955d3e ("net: micrel : ks8851-ml: add vdd-supply support") from the tree and commit e8f08ee0ad86 ("DT: net: document Ethernet bindings in one

Re: linux-next: manual merge of the keystone tree with the arm-soc tree

2014-03-24 Thread Felipe Balbi
On Mon, Mar 24, 2014 at 08:00:03PM -0400, Santosh Shilimkar wrote: > On Monday 24 March 2014 07:55 PM, Stephen Rothwell wrote: > > Hi Santosh, > > > > Today's linux-next merge of the keystone tree got a conflict in > > arch/arm/boot/dts/Makefile between commit ba5a37e52194 ("ARM: mvebu: Move > >

Re: [PATCH v3] shdma: add R-Car Audio DMAC peri peri driver

2014-03-24 Thread Kuninori Morimoto
Hi Vinod, and all Could you please teach me current status of this patch ?? > From: Kuninori Morimoto > > Add support Audio DMAC peri peri driver > for Renesas R-Car Gen2 SoC, using 'shdma-base' > DMA driver framework. > > Signed-off-by: Kuninori Morimoto > --- > v2 -> v3 > > - modiry

Re: [PATCH 1/2] staging: binder: add __user annotation in binder.c

2014-03-24 Thread Mathieu Maret
Joe Perches wrote: > On Tue, 2014-03-25 at 01:24 +0100, Mathieu Maret wrote: > > Fix the following spare warning > > sparse > > > drivers/staging/android/binder.c:2691:21: warning: incorrect type in > > argument 1 (different address spaces) > [] > > diff --git a/drivers/staging/android/binder.c

Re: [PATCH 1/2] staging: binder: add __user annotation in binder.c

2014-03-24 Thread Joe Perches
On Tue, 2014-03-25 at 01:24 +0100, Mathieu Maret wrote: > Fix the following spare warning sparse > drivers/staging/android/binder.c:2691:21: warning: incorrect type in argument > 1 (different address spaces) [] > diff --git a/drivers/staging/android/binder.c >

Re: [git pull] vfs fixes

2014-03-24 Thread Linus Torvalds
Just to clarify: the current vfs tree from Al works for you, no new issues? I was delaying the release first a day, and now I think I'll just do an rc8 after all (and do the final 3.14 next weekend), but I'd like to be sure what the status of Al's tree is. Al, can you send a new pull request

Re: fs: gpf in simple_setattr

2014-03-24 Thread Sasha Levin
On 03/24/2014 05:48 PM, Jan Kara wrote: >[ 339.948946] ** 4194304 8805ac03ba38 [eventpoll] 8806ec051fe0 >[eventpoll] 84666040 88056c73e7b0 (null) OK, great. So finally we have something useful. We know we have problems with [eventpoll] dentry. That is actually

Re: [PATCH] staging/usbip: fix store_attach() sscanf return value check

2014-03-24 Thread Greg KH
On Mon, Mar 24, 2014 at 05:12:09PM -0600, Shuah Khan wrote: > Fix commit - 88fa1ebfa21b5deaaad2dc88ecd9f6af91796cf7 What do you mean by this line? > This commit added return value check for sscanf() that parses the > input buffer for four input items. However, the return value check > is

[RESEND: RFC PATCH 0/3] Add Keystone pcie driver

2014-03-24 Thread Murali Karicheri
This is a RFC to add Keystone pcie driver. I had some earlier discussion on the pcie mailing about this driver and at that time I didn't have the driver ported to dw core driver. I now have a driver working with intel's e1000e ethernet driver and want to review this RFC on this list. Kestone PCIE

[RESEND: RFC PATCH 2/3] pci: designware: enhancements to support keystone pcie

2014-03-24 Thread Murali Karicheri
keystone pcie hardware is based on designware hw version 3.65. There is no support for ATU port and have registers in application space to configure inbound/outbound access. Also doesn't support PCI PVM option. So the MSI IRQ registers available in application space is used to mask/unmask/enable

[RESEND: RFC PATCH 3/3] pcie: keystone: add pcie driver based on designware core driver

2014-03-24 Thread Murali Karicheri
keystone pcie hardware is based on designware version 3.65. This doesn't support standard MSI controller and ATU port available on newer version of the designware hardware. In keystone dw hardware the application register space implements the legacy and MSI irq controller registers and has

[RESEND: RFC PATCH 1/3] ARM: keystone: add pcie related options

2014-03-24 Thread Murali Karicheri
Add pcie related options by default for keystone architecture CC: Jingoo Han CC: Bjorn Helgaas CC: Kukjin Kim CC: Richard Zhu CC: Shawn Guo CC: Mohit Kumar CC: Santosh Shilimkar Signed-off-by: Murali Karicheri --- arch/arm/mach-keystone/Kconfig |2 ++ 1 file changed, 2 insertions(+)

[PATCH 2/3] pci: designware: enhancements to support keystone pcie

2014-03-24 Thread Murali Karicheri
keystone pcie hardware is based on designware hw version 3.65. There is no support for ATU port and have registers in application space to configure inbound/outbound access. Also doesn't support PCI PVM option. So the MSI IRQ registers available in application space is used to mask/unmask/enable

[PATCH 1/3] ARM: keystone: add pcie related options

2014-03-24 Thread Murali Karicheri
Add pcie related options by default for keystone architecture CC: Jingoo Han CC: Bjorn Helgaas CC: Kukjin Kim CC: Richard Zhu CC: Shawn Guo CC: Mohit Kumar CC: Santosh Shilimkar Signed-off-by: Murali Karicheri --- arch/arm/mach-keystone/Kconfig |2 ++ 1 file changed, 2 insertions(+)

[RFC PATCH 0/3] Add Keystone pcie driver

2014-03-24 Thread Murali Karicheri
This is a RFC to add Keystone pcie driver. I had some earlier discussion on the pcie mailing about this driver and at that time I didn't have the driver ported to dw core driver. I now have a driver working with intel's e1000e ethernet driver and want to review this RFC on this list. Kestone PCIE

[PATCH 3/3] pcie: keystone: add pcie driver based on designware core driver

2014-03-24 Thread Murali Karicheri
keystone pcie hardware is based on designware version 3.65. This doesn't support standard MSI controller and ATU port available on newer version of the designware hardware. In keystone dw hardware the application register space implements the legacy and MSI irq controller registers and has

[PATCH 2/2] staging: binder: reduce line size

2014-03-24 Thread Mathieu Maret
Signed-off-by: Mathieu Maret --- drivers/staging/android/binder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c index 9418086..4e51034 100644 --- a/drivers/staging/android/binder.c +++

[PATCH 1/2] staging: binder: add __user annotation in binder.c

2014-03-24 Thread Mathieu Maret
Fix the following spare warning drivers/staging/android/binder.c:2691:21: warning: incorrect type in argument 1 (different address spaces) Signed-off-by: Mathieu Maret --- drivers/staging/android/binder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 14/16] backlight: atmel-pwm-bl: remove obsolete driver

2014-03-24 Thread Jingoo Han
On Tuesday, March 25, 2014 12:54 AM, Alexandre Belloni wrote: > On 21/03/2014 at 09:51:16 +0900, Jingoo Han wrote : > > On Wednesday, March 19, 2014 11:23 PM, Hans-Christian Egtvedt wrote: > > > Around Wed 19 Mar 2014 14:03:27 +0100 or thereabout, Alexandre Belloni > > > wrote: > > > > The

Re: [PATCH 1/2] clk: s2mps11: Fix possible NULL pointer dereference

2014-03-24 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2014-03-21 05:18:17) > If parent device does not have of_node set the s2mps11_clk_parse_dt() > returned NULL. This NULL was later passed to of_clk_add_provider() which > dereferenced it in pr_debug() call. > > Signed-off-by: Krzysztof Kozlowski I've taken both of

Re: linux-next: manual merge of the keystone tree with the arm-soc tree

2014-03-24 Thread Santosh Shilimkar
On Monday 24 March 2014 07:55 PM, Stephen Rothwell wrote: > Hi Santosh, > > Today's linux-next merge of the keystone tree got a conflict in > arch/arm/boot/dts/Makefile between commit ba5a37e52194 ("ARM: mvebu: Move > kirkwood DT boards into mach-mvebu") from the arm-soc tree and commit >

[PATCH net-next v3 3/3] xen-netback: Functional follow-up patch for grant mapping series

2014-03-24 Thread Zoltan Kiss
Ian made some late comments about the grant mapping series, I incorporated the functional outcomes into this patch: - use callback_param macro to shorten access to pending_tx_info in xenvif_fill_frags() and xenvif_tx_submit() - print an error message in xenvif_idx_unmap() before panic

[PATCH net-next v3 2/3] xen-netback: Non-functional follow-up patch for grant mapping series

2014-03-24 Thread Zoltan Kiss
Ian made some late comments about the grant mapping series, I incorporated the non-functional outcomes into this patch: - typo fixes in a comment of xenvif_free(), and add another one there as well - typo fix for comment of rx_drain_timeout_msecs - remove stale comment before calling

[PATCH net-next v3 1/3] xen-netback: Stop using xenvif_tx_pending_slots_available

2014-03-24 Thread Zoltan Kiss
Since the early days TX stops if there isn't enough free pending slots to consume a maximum sized (slot-wise) packet. Probably the reason for that is to avoid the case when we don't have enough free pending slot in the ring to finish the packet. But if we make sure that the pending ring has the

linux-next: manual merge of the keystone tree with the arm-soc tree

2014-03-24 Thread Stephen Rothwell
Hi Santosh, Today's linux-next merge of the keystone tree got a conflict in arch/arm/boot/dts/Makefile between commit ba5a37e52194 ("ARM: mvebu: Move kirkwood DT boards into mach-mvebu") from the arm-soc tree and commit 400550ae7e77 ("ARM: dts: Build all keystone dt blobs") from the keystone

Re: [PATCH net-next 1/7] altera: Remove casts of pointer to same type

2014-03-24 Thread Vince Bridgers
Hi Joe, thanks for the patch. On Mon, Mar 24, 2014 at 3:15 PM, Joe Perches wrote: > Casting a pointer to a pointer of the same type is pointless, > so remove these unnecessary casts. > > Done via coccinelle script: > > $ cat typecast_2.cocci > @@ > type T; > T *foo; > @@ > > - (T *)foo > +

Re: [PATCH RFC 0/3] tcp: allow to repair a tcp connections in closing states

2014-03-24 Thread David Miller
From: Andrey Vagin Date: Fri, 21 Mar 2014 17:32:58 +0400 > Currently connections only in the TCP_ESTABLISHED state can be dumped and > restored. This series allows to restore connections in the FIN_WAIT_1, > FIN_WAIT_2, LAST_ACK, CLOSE_WAIT or CLOSING states. > > For restoring closing states we

Re: [PATCH] pinctrl: rockchip: fix offset of mux registers for rk3188

2014-03-24 Thread Heiko Stübner
Am Montag, 24. März 2014, 23:36:01 schrieb Beniamino Galvani: > The correct value of .mux_offset for rk3188 seems to be 0x60 > instead of 0x68. Executive summary: the offset-change itself is correct, therefore Reviewed-by: Heiko Stuebner That is what one gets when the only source is a vendor

[PATCH] staging/usbip: fix store_attach() sscanf return value check

2014-03-24 Thread Shuah Khan
Fix commit - 88fa1ebfa21b5deaaad2dc88ecd9f6af91796cf7 This commit added return value check for sscanf() that parses the input buffer for four input items. However, the return value check is incorrect, as it checks for one input item instead of four which is what it is expecting in the input

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-24 Thread Andreas Mohr
Hi, On Mon, Mar 24, 2014 at 10:46:49PM +0100, Daniel Vetter wrote: > On Mon, Mar 24, 2014 at 9:40 PM, Mikulas Patocka wrote: > > If someone understands the locking issues I pointed out above, it could be > > easy to fix. > > The locking issue isn't your problem, the real issue is that putting a

Re: [PATCH 12/12] drm/nouveau: support for probing GK20A

2014-03-24 Thread Thierry Reding
On Mon, Mar 24, 2014 at 05:42:34PM +0900, Alexandre Courbot wrote: [...] > diff --git a/drivers/gpu/drm/nouveau/core/engine/device/nve0.c > b/drivers/gpu/drm/nouveau/core/engine/device/nve0.c [...] > + /* TODO will need an implementation for this at some point... */ Do we? If so the

Re: [PATCH 11/12] drm/nouveau: support GK20A in nouveau_accel_init()

2014-03-24 Thread Thierry Reding
On Mon, Mar 24, 2014 at 05:42:33PM +0900, Alexandre Courbot wrote: > GK20A does not embed a dedicated COPY engine and thus cannot allocate > the copy channel that nouveau_accel_init() attempts to create. It also > lacks any display hardware, so the creation of a software channel does > not apply

Re: [PATCH 09/12] drm/nouveau/graph: pad firmware code at load time

2014-03-24 Thread Thierry Reding
On Mon, Mar 24, 2014 at 05:42:31PM +0900, Alexandre Courbot wrote: > Pad the microcode to a multiple of 0x40, otherwise firmware will fail to > run from non-prepadded firmware files. Perhaps this (and the comment in the code) should mention a unit. In this case it's 0x40 words. Also, I think

Re: [PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h

2014-03-24 Thread tytso
On Mon, Mar 24, 2014 at 08:22:12AM +0100, Jakub Sitnicki wrote: > acl.c has not been (directly) using the interface defined by > linux/capability.h header since commit 3bd858ab1c451725c07a > ("Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid > check"). Remove it. > > Signed-off-by:

Re: [git pull] vfs fixes

2014-03-24 Thread Imre Deak
> [...] > Shortlog: > Al Viro (6): > make prepend_name() work correctly when called with negative *buflen A proper attribution for the above fix would have been nice. Tracking down the bug was the main thing after all: https://lkml.org/lkml/2014/3/12/620 --Imre -- To unsubscribe from

Re: [PATCH 08/12] drm/nouveau/graph: enable when using external firmware

2014-03-24 Thread Thierry Reding
On Mon, Mar 24, 2014 at 05:42:30PM +0900, Alexandre Courbot wrote: [...] > diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c > b/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c > index 6ef8bf181b2d..f997a18f5760 100644 > --- a/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c > +++

[ANNOUNCE] 3.4.84-rt105

2014-03-24 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.84-rt105 stable release. This release is just an update to the new stable 3.4.84 version and no RT specific changes have been made. You can get this release via the git tree at:

[PATCH v2] staging: line6: Add blank lines after declarations

2014-03-24 Thread Fabian Mewes
Use the more common kernel coding style. Signed-off-by: Fabian Mewes --- applies to next-20140324 v1..v2: improve commit message as suggested by Joe drivers/staging/line6/driver.c | 1 + drivers/staging/line6/playback.c | 5 + drivers/staging/line6/toneport.c | 1 + 3 files changed, 7

Re: [PATCH 1/3] tcp: allow to enable repair mode for sockets in any state

2014-03-24 Thread Pavel Emelyanov
> @@ -2375,7 +2378,7 @@ void tcp_sock_destruct(struct sock *sk) > static inline bool tcp_can_repair_sock(const struct sock *sk) > { > return ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN) && > - ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_ESTABLISHED)); > +

[PATCH] pinctrl: rockchip: fix offset of mux registers for rk3188

2014-03-24 Thread Beniamino Galvani
The correct value of .mux_offset for rk3188 seems to be 0x60 instead of 0x68. Signed-off-by: Beniamino Galvani --- drivers/pinctrl/pinctrl-rockchip.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c

Re: [PATCH 06/12] drm/nouveau/ibus: add GK20A support

2014-03-24 Thread Thierry Reding
On Mon, Mar 24, 2014 at 05:42:28PM +0900, Alexandre Courbot wrote: [...] > diff --git a/drivers/gpu/drm/nouveau/core/subdev/ibus/nvea.c > b/drivers/gpu/drm/nouveau/core/subdev/ibus/nvea.c [...] > +#include > + > +struct nvea_ibus_priv { > + struct nouveau_ibus base; > +}; > + > +static void

[ANNOUNCE] 3.10.34-rt34

2014-03-24 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.10.34-rt34 stable release. This release is just an update to the new stable 3.10.34 version and no RT specific changes have been made. You can get this release via the git tree at:

RE: [PATCH net-next 6/7] mwifiex: Remove casts of pointer to same type

2014-03-24 Thread Bing Zhao
Hi Joe, Thanks for the patch. > Casting a pointer to a pointer of the same type is pointless, > so remove these unnecessary casts. > > Done via coccinelle script: > > $ cat typecast_2.cocci > @@ > type T; > T *foo; > @@ > > - (T *)foo > + foo > > Signed-off-by: Joe Perches

Re: [PATCH 05/12] drm/nouveau/fifo: add GK20A support

2014-03-24 Thread Thierry Reding
On Mon, Mar 24, 2014 at 05:42:27PM +0900, Alexandre Courbot wrote: > GK20A's FIFO is compatible with NVE0, but only features 128 channels and > 1 runlist. > > Signed-off-by: Alexandre Courbot > --- > drivers/gpu/drm/nouveau/Makefile | 1 + >

Re: [PATCH 03/12] drm/nouveau/bar: only ioremap BAR3 if it exists

2014-03-24 Thread Thierry Reding
On Mon, Mar 24, 2014 at 05:42:25PM +0900, Alexandre Courbot wrote: > Some chips that use system memory exclusively (e.g. GK20A) do not > expose 2 BAR regions. For them only BAR1 exists, and it should be used > for USERD mapping. Do not map BAR3 if its resource does not exist. > > Signed-off-by:

Re: [PATCH 04/12] drm/nouveau/bar/nvc0: support chips without BAR3

2014-03-24 Thread Thierry Reding
On Mon, Mar 24, 2014 at 05:42:26PM +0900, Alexandre Courbot wrote: [...] > diff --git a/drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c > b/drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c [...] > static int > -nvc0_bar_ctor(struct nouveau_object *parent, struct nouveau_object *engine, > -

Re: 3.14 radeon regression: radeon is broken (pci bug?)

2014-03-24 Thread Bjorn Helgaas
On Sat, Mar 22, 2014 at 9:18 AM, Andy Lutomirski wrote: > On Fri, Mar 21, 2014 at 9:37 AM, Bjorn Helgaas wrote: >> On Fri, Mar 21, 2014 at 9:49 AM, Andy Lutomirski wrote: >>> On Fri, Mar 21, 2014 at 7:41 AM, Alex Deucher wrote: On Thu, Mar 20, 2014 at 10:17 PM, Andy Lutomirski

Re: [RFC PATCH v2 0/2] clk: Support for DT assigned clock parents and rates

2014-03-24 Thread Mike Turquette
Quoting Maxime Coquelin (2014-03-21 07:09:26) > Hi Mike, > > On 03/21/2014 02:45 AM, Mike Turquette wrote: > > Quoting Sylwester Nawrocki (2014-03-20 05:42:33) > >> Hi Maxime, > >> > >> On 06/03/14 14:45, Maxime Coquelin wrote: > >>> Hi Sylwester, > >>> > >>>I like the principle of your

Re: [PATCH 02/12] drm/nouveau/timer: skip calibration on GK20A

2014-03-24 Thread Thierry Reding
On Mon, Mar 24, 2014 at 05:42:24PM +0900, Alexandre Courbot wrote: > GK20A's timer is directly attached to the system timer and cannot be > calibrated. Skip the calibration phase on that chip since the > corresponding registers do not exist. > > Signed-off-by: Alexandre Courbot > --- >

[PATCH 1/1] fs/ext4/ioctl.c: Remove unused macro MAX_32_NUM

2014-03-24 Thread Fabian Frederick
01f795f9e0d67a ("ext4: add online resizing support for meta_bg and 64-bit file systems") removed the last use of MAX_32_NUM Signed-off-by: Fabian Frederick --- fs/ext4/ioctl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index a2a837f..ea5dace 100644

Re: [PATCH v5 1/7] clk: sunxi: Remove calls to clk_put

2014-03-24 Thread Mike Turquette
Quoting Maxime Ripard (2014-03-13 08:14:13) > Callers of clk_put must disable the clock first. This also means that as long > as the clock is enabled the driver should hold a reference to that clock. > Hence, the call to clk_put here are bogus and should be removed. > > Signed-off-by: Maxime

Re: [PATCH 01/12] drm/nouveau: fix missing newline

2014-03-24 Thread Thierry Reding
On Mon, Mar 24, 2014 at 05:42:23PM +0900, Alexandre Courbot wrote: > Add a missing newline at the end of a DRM_INFO message. > > Signed-off-by: Alexandre Courbot > --- > drivers/gpu/drm/nouveau/nouveau_drm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Thierry Reding

Re: fs: gpf in simple_setattr

2014-03-24 Thread Jan Kara
On Mon 24-03-14 10:42:25, Sasha Levin wrote: > On 03/10/2014 10:13 AM, Sasha Levin wrote: > >On 03/10/2014 06:43 AM, Jan Kara wrote: > >> By garbage, do you mean that it is a poison, completely random data or > >> does > >>inode->i_sb look like a valid pointer but just superblock isn't where it

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-24 Thread Daniel Vetter
On Mon, Mar 24, 2014 at 9:40 PM, Mikulas Patocka wrote: >> > > -> All hell breaks loose if Xorg dies and takes all it's mappings with it >> > > (in master_destroy, since the Xorg /dev fd is the master) and leaves the >> > > driver hanging in the air if there's an interrupt still pending (or >> >

Re: [PATCH] staging: line6: Fix missing blanks after declarations

2014-03-24 Thread Joe Perches
On Mon, 2014-03-24 at 21:51 +0100, Fabian Mewes wrote: > This patch is part of eudyptula challenge task 10 > > Signed-off-by: Fabian Mewes Hi Fabian. The patch seems fine, but please do not use something like the above as a commit message. It would be better to describe _why_ the change

Re: Disabling gcc inline operation

2014-03-24 Thread anish singh
On Mon, Mar 24, 2014 at 2:33 AM, Arend van Spriel wrote: > On 23/03/14 23:31, anish singh wrote: >> >> Many a time i have got a crash and it is difficult >> to find out the exact function which crashed >> because the crash stack doesn't show the "real" >> function because gcc inlines many

Re: [PATCH RFC] ARM: mm: Fix for highmem on machines with more than 14 cores

2014-03-24 Thread Nicolas Pitre
On Mon, 24 Mar 2014, Anders Berg wrote: > The fixmap area was hard coded to 224 pages which was only enough for 14 > CPU:s. > Now the area adapts to the configured number of CPU:s (NR_CPUS). We still have > a hard limit of 30 CPU:s since we only have a single pte-chunk (512 pte:s). > >

Futex Question (64 bits?)

2014-03-24 Thread Ryan Nicholl
I would like to know if it would be possible to use a 64 bit futex call? If not, I would like to request it be added. (It is acknowledged in the manpages that it must be added eventually anyway.) I am programming a C++11+ library. One of the constructed features is a "locking pointer".

[PATCH RFC] ARM: mm: Fix for highmem on machines with more than 14 cores

2014-03-24 Thread Anders Berg
Hi, While working of platform support for the LSI AXM5516 SoC (a 16 x A15 device) we ran into this limitation in fixmap.h where there is not enough room for the per-cpu pages if NR_CPUS is set to 16. The following patch avoids the overlap by lowering the base address according to the values of

[PATCH RFC] ARM: mm: Fix for highmem on machines with more than 14 cores

2014-03-24 Thread Anders Berg
The fixmap area was hard coded to 224 pages which was only enough for 14 CPU:s. Now the area adapts to the configured number of CPU:s (NR_CPUS). We still have a hard limit of 30 CPU:s since we only have a single pte-chunk (512 pte:s). Signed-off-by: Anders Berg Signed-off-by: Fredrik Markström

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-24 Thread Mikulas Patocka
On Mon, 24 Mar 2014, Daniel Vetter wrote: > On Mon, Mar 24, 2014 at 01:17:12PM -0400, Mikulas Patocka wrote: > > > > > Hmm, given that Mikulas in > > > > > https://lkml.org/lkml/2014/2/26/537 > > > > > offered a diff of linux-3.13.5 files, it truly seems (shock! ack! > > > > > noo!) > > > > >

[PATCH] staging: line6: Fix missing blanks after declarations

2014-03-24 Thread Fabian Mewes
This patch is part of eudyptula challenge task 10 Signed-off-by: Fabian Mewes --- applies to next-20140324 drivers/staging/line6/driver.c | 1 + drivers/staging/line6/playback.c | 5 + drivers/staging/line6/toneport.c | 1 + 3 files changed, 7 insertions(+) diff --git a/drivers/staging

[PATCH][v5] netlink: have netlink per-protocol bind function return an error code.

2014-03-24 Thread Richard Guy Briggs
Have the netlink per-protocol optional bind function return an int error code rather than void to signal a failure. This will enable netlink protocols to perform extra checks including capabilities and permissions verifications when updating memberships in multicast groups. In netlink_bind() and

[PATCH] drivers:staging:lustre Fixed sparse warning: plain integer as NULL pointer

2014-03-24 Thread John de la Garza
Fixes these sparse warnings: drivers/staging/lustre/lustre/lmv/lproc_lmv.c:202:51: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/lmv/lproc_lmv.c:203:51: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/lmv/lproc_lmv.c:204:51: warning: Using

[PATCH 4/6 V2] perf, sort: Add physid sorting based on mmap2 data

2014-03-24 Thread Don Zickus
In order for the c2c tool to work correctly, it needs to properly sort all the records on uniquely identifiable data addresses. These unique addresses are converted from virtual addresses provided by the hardware into a kernel address using an mmap2 record as the decoder. Once a unique address

Re: [PATCH 01/15 V3] perf: Fix stddev calculation

2014-03-24 Thread Don Zickus
On Mon, Mar 24, 2014 at 04:54:38PM -0400, Don Zickus wrote: > The stddev calculation written matched standard error. As a result when > using this result to find the relative stddev between runs, it was not > accurate. > This isn't the patch I that had my updates... Sorry for the noise.

[PATCH 01/15 V3] perf: Fix stddev calculation

2014-03-24 Thread Don Zickus
The stddev calculation written matched standard error. As a result when using this result to find the relative stddev between runs, it was not accurate. Update the formula to match traditional stddev. Then rename the old stddev calculation to stderr_stats in case someone wants to use it.

Re: [PATCH trivial 2/3] workqueue: Spelling s/instensive/intensive/

2014-03-24 Thread Tejun Heo
On Mon, Mar 24, 2014 at 09:37:02PM +0100, Geert Uytterhoeven wrote: > From: Geert Uytterhoeven > > Signed-off-by: Geert Uytterhoeven > Cc: Tejun Heo Applied to wq/for-3.15. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

[PATCH] perf/tool: Fix usage of trace events with '-' in trace system name.

2014-03-24 Thread Christian Borntraeger
From: Alexander Yarygin Trace events potentially can have a '-' in their trace system name, e.g. kvm on s390 defines kvm-s390:* tracepoints. tools/perf could not parse them, because there was no rule for this: $ sudo ./perf top -e "kvm-s390:*" invalid or unsupported event: 'kvm-s390:*' This

Re: New NAND driver

2014-03-24 Thread Marek Vasut
On Monday, March 24, 2014 at 02:24:46 PM, Lee Jones wrote: > Hi Brian, > > Firstly I'd like to thank you for supporting the inclusion of ST's SPI > NOR (FSM) driver. As promised I will convert it over to the new > framework once it has been applied by your good self. > > In the meantime however,

[PATCH trivial 1/3] megaraid_sas: Spelling s/intance/instance/

2014-03-24 Thread Geert Uytterhoeven
From: Geert Uytterhoeven Signed-off-by: Geert Uytterhoeven Cc: Neela Syam Kolli Cc: linux-s...@vger.kernel.org --- drivers/scsi/megaraid/megaraid_sas_base.c |2 +- drivers/scsi/megaraid/megaraid_sas_fusion.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

  1   2   3   4   5   6   7   8   9   10   >