Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread H. Peter Anvin
On 08/05/2013 11:20 AM, Linus Torvalds wrote: > > Of course, it would be good to optimize static_key_false() itself - > right now those static key jumps are always five bytes, and while they > get nopped out, it would still be nice if there was some way to have > just a two-byte nop (turning into

Re: [3.10.4] NFS locking panic, plus persisting NFS shutdown panic from 3.9.*

2013-08-05 Thread Jeff Layton
On Mon, 5 Aug 2013 18:18:03 + "Myklebust, Trond" wrote: > On Mon, 2013-08-05 at 13:37 -0400, Jeff Layton wrote: > > On Mon, 5 Aug 2013 16:15:01 + > > "Myklebust, Trond" wrote: > > > > > From 3c50ba80105464a28d456d9a1e0f1d81d4af92a8 Mon Sep 17 00:00:00 2001 > > > From: Trond Myklebust

Re: [3.10.4] NFS locking panic, plus persisting NFS shutdown panic from 3.9.*

2013-08-05 Thread Nix
On 5 Aug 2013, Trond Myklebust told this: > Does the attached patch fix the problem? > From 3c50ba80105464a28d456d9a1e0f1d81d4af92a8 Mon Sep 17 00:00:00 2001 > From: Trond Myklebust > Date: Mon, 5 Aug 2013 12:06:12 -0400 > Subject: [PATCH] LOCKD: Don't call utsname()->nodename from >

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread H. Peter Anvin
On 08/05/2013 11:23 AM, Steven Rostedt wrote: > On Mon, 2013-08-05 at 11:17 -0700, H. Peter Anvin wrote: >> On 08/05/2013 10:55 AM, Steven Rostedt wrote: >>> >>> Well, as tracepoints are being added quite a bit in Linux, my concern is >>> with the inlined functions that they bring. With jump

[PATCH v2] cpufreq: loongson2: fix broken cpufreq

2013-08-05 Thread Aaro Koskinen
Commit 42913c799 (MIPS: Loongson2: Use clk API instead of direct dereferences) broke the cpufreq functionality on Loongson2 boards: clk_set_rate() is called before the CPU frequency table is initialized, and therefore will always fail. Fix by moving the clk_set_rate() after the table

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 11:20 AM, Linus Torvalds wrote: > > The static_key_false() approach with minimal inlining sounds like a > much better approach overall. Sorry, I misunderstood your thing. That's actually what you want that section thing for, because right now you cannot generate the

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 11:17 -0700, H. Peter Anvin wrote: > On 08/05/2013 10:55 AM, Steven Rostedt wrote: > > > > Well, as tracepoints are being added quite a bit in Linux, my concern is > > with the inlined functions that they bring. With jump labels they are > > disabled in a very unlikely way

Re: [PATCH 00/11] Add compression support to pstore

2013-08-05 Thread Tony Luck
See attachment for what I actually applied - I think I got what you suggested (I added a declaration for "total_len"). Forcing a panic worked some things were logged to pstore. But on reboot with your patches applied I'm still seeing a GP fault when pstore is mounted and we find compressed

Re: [edk2] Corrupted EFI region

2013-08-05 Thread Borislav Petkov
On Mon, Aug 05, 2013 at 08:50:17AM -0700, Andrew Fish wrote: > AFAICT EFI pre-dates kexec merge into mainline by a number of years as > SetVirtualaddressMap() was part of EFI 1.0 (previous millennium) Ok, fair enough. > The EFI to UEFI conversion was placing EFI 1.10 into an industry > standard,

Re: [PATCH 3/4] staging: ozwpan: Reset port configuration number.

2013-08-05 Thread Dan Carpenter
On Mon, Aug 05, 2013 at 06:40:14PM +0100, Rupesh Gujare wrote: > Make sure that we reset port configuration no. when PD departs. > What happens if we don't do this? What is the user visible effect of this patch? regards, dan carpenter -- To unsubscribe from this list: send the line

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 10:55 AM, Steven Rostedt wrote: > > My main concern is with tracepoints. Which on 90% (or more) of systems > running Linux, is completely off, and basically just dead code, until > someone wants to see what's happening and enables them. The static_key_false() approach with

Re: [PATCH 1/4] staging: ozwpan: Fixes crash due to invalid port aceess.

2013-08-05 Thread Dan Carpenter
On Mon, Aug 05, 2013 at 06:40:12PM +0100, Rupesh Gujare wrote: > This patch fixes kernel crash issue, when we receive URB request > after de-enumerating device. > In other words we were getting a NULL dereference dereferencing "ep". There is an existing check already, which should be cleaned

[PATCH RESEND] ARM: dts: Add USBPHY nodes to Exynos4x12

2013-08-05 Thread Dongjin Kim
This patch adds device nodes for USBPHY to Exynos4x12. CC: Sachin Kamat Signed-off-by: Dongjin Kim --- arch/arm/boot/dts/exynos4x12.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi index

Re: [3.10.4] NFS locking panic, plus persisting NFS shutdown panic from 3.9.*

2013-08-05 Thread Myklebust, Trond
On Mon, 2013-08-05 at 13:37 -0400, Jeff Layton wrote: > On Mon, 5 Aug 2013 16:15:01 + > "Myklebust, Trond" wrote: > > > From 3c50ba80105464a28d456d9a1e0f1d81d4af92a8 Mon Sep 17 00:00:00 2001 > > From: Trond Myklebust > > Date: Mon, 5 Aug 2013 12:06:12 -0400 > > Subject: [PATCH] LOCKD: Don't

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread H. Peter Anvin
On 08/05/2013 10:55 AM, Steven Rostedt wrote: > > Well, as tracepoints are being added quite a bit in Linux, my concern is > with the inlined functions that they bring. With jump labels they are > disabled in a very unlikely way (the static_key_false() is a nop to skip > the code, and is

Re: [PATCH] net/vmw_vsock/af_vsock.c: drop unneeded semicolon

2013-08-05 Thread David Miller
From: Julia Lawall Date: Mon, 5 Aug 2013 16:47:38 +0200 > From: Julia Lawall > > Drop the semicolon at the end of the list_for_each_entry loop header. > > Signed-off-by: Julia Lawall > > --- > Not tested, but I can't imagine how the current code could work, since vsk > should end up

PROBLEM: Kernel causing 5minute delay mounting USB memory stick

2013-08-05 Thread Vern Clark
kernel 3.8.0.28-generic problem started syslog output: Aug 2 09:39:15 u kernel: [ 2268.769492] usb 1-8: new high-speed USB device number 11 using ehci-pci ... Aug 2 09:44:26 u udevd[3606]: timeout: killing '/sbin/blkid -o udev -p /dev/sdb' [3717] Aug 2 09:44:57 udevd[3606]: last message

Re: [PATCH 1/3] tracing/perf: Expand TRACE_EVENT(sched_stat_runtime)

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 18:50 +0200, Oleg Nesterov wrote: > Signed-off-by: Oleg Nesterov > Tested-by: David Ahern > Reviewed-and-Acked-by: Steven Rostedt Just so you know. The standard that we now want to live by is only one tag per line. I know I gave you that tag in my email, but when adding

Re: [PATCH v3 07/22] ARM: dts: Remove '0x's from Exynos4210 DTSI file

2013-08-05 Thread Kukjin Kim
On 07/25/13 00:09, Lee Jones wrote: ... for the sake of consistency and assumed convention. Cc: Kukjin Kim Cc: linux-samsung-...@vger.kernel.org Signed-off-by: Lee Jones diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index b7f358a..53e2527 100644 ---

[PATCH RESEND] ARM: dts: Add USB host node for Exynos4

2013-08-05 Thread Dongjin Kim
This patch adds EHCI and OHCI host device nodes for Exynos4. CC: Jingoo Han Signed-off-by: Dongjin Kim --- arch/arm/boot/dts/exynos4.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index

Re: [PATCH 15/23] cgroup: make hierarchy iterators deal with cgroup_subsys_state instead of cgroup

2013-08-05 Thread Aristeu Rozanski
On Thu, Aug 01, 2013 at 05:49:53PM -0400, Tejun Heo wrote: > cgroup is currently in the process of transitioning to using css > (cgroup_subsys_state) as the primary handle instead of cgroup in > subsystem API. For hierarchy iterators, this is beneficial because > > * In most cases, css is the

Re: Linux 3.11-rc4

2013-08-05 Thread Felipe Contreras
On Mon, Aug 5, 2013 at 12:43 PM, Felipe Contreras wrote: > On Mon, Aug 5, 2013 at 12:39 PM, Linus Torvalds > wrote: > >> That said, Felipe, can you double-check that it's not timing-related >> in some subtle way, and test multiple times with just that commit >> reverted (and not reverted) to

Re: [PATCH] net/ipv4: fix the conditions of entering TCP_CA_Disorder state

2013-08-05 Thread Eric Dumazet
On Mon, 2013-08-05 at 20:45 -0400, Dong Fang wrote: > if have some packets loss by network, the kernel can't reach here, we can see > the tcp_time_to_recover() function: > > static bool tcp_time_to_recover(struct sock *sk, int flag) > { > struct tcp_sock *tp = tcp_sk(sk); > __u32

Re: [Xen-devel] [PATCH 2/3] MAINTAINERS: Update the Xen subsystem's with proper mailing list.

2013-08-05 Thread Ian Campbell
On Mon, 2013-08-05 at 14:05 -0400, Konrad Rzeszutek Wilk wrote: > And also drop the virtualization one since we don't really use it. > > CC: stefano.stabell...@eu.citrix.com > Signed-off-by: Konrad Rzeszutek Wilk Acked-by: Ian Campbell The whole thing but especially: > XEN NETWORK BACKEND

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 13:55 -0400, Steven Rostedt wrote: > The difference between this and the > "section" hack I suggested, is that this would use a "call"/"ret" when > enabled instead of a "jmp"/"jmp". I wonder if this is what Kris Kross meant in their song? /me goes back to work... -- Steve

[PATCH 1/3] MAINTAINERS: Remove Jeremy from the Xen subsystem.

2013-08-05 Thread Konrad Rzeszutek Wilk
Jeremy has been a key person in making Linux work with Xen. He has been enjoying the last year working on something different so reflect that in the maintainers file. CC: Jeremy Fitzhardinge Signed-off-by: Konrad Rzeszutek Wilk --- CREDITS | 1 + MAINTAINERS | 1 - 2 files changed, 1

[PATCH] Update MAINTAINERS file in Linux. (v1)

2013-08-05 Thread Konrad Rzeszutek Wilk
Please see the three patches that update the MAINTAINERS file. They do need Acks so please provide them if you are comfortable. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 3/3] MAINTAINERS: Add in two extra co-maintainers of the Xen tree.

2013-08-05 Thread Konrad Rzeszutek Wilk
Both Boris and David have graciously volunteered to help in maintaining the Xen subsystem tree. Cementing this in the MAINTAINERS file so they are copied on Xen related patches. CC: Boris Ostrovsky CC: David Vrabel Signed-off-by: Konrad Rzeszutek Wilk --- MAINTAINERS | 2 ++ 1 file changed, 2

[PATCH 2/3] MAINTAINERS: Update the Xen subsystem's with proper mailing list.

2013-08-05 Thread Konrad Rzeszutek Wilk
And also drop the virtualization one since we don't really use it. CC: stefano.stabell...@eu.citrix.com Signed-off-by: Konrad Rzeszutek Wilk --- MAINTAINERS | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 440af74..785f56a 100644

Re: [PATCH 12/23] cgroup: pass around cgroup_subsys_state instead of cgroup in file methods

2013-08-05 Thread Aristeu Rozanski
On Thu, Aug 01, 2013 at 05:49:50PM -0400, Tejun Heo wrote: > cgroup is currently in the process of transitioning to using struct > cgroup_subsys_state * as the primary handle instead of struct cgroup. > Please see the previous commit which converts the subsystem methods > for rationale. > > This

Re: [PATCH v3] macvlan: validate flags

2013-08-05 Thread David Miller
From: "Michael S. Tsirkin" Date: Mon, 5 Aug 2013 18:25:54 +0300 > commit df8ef8f3aaa6692970a436204c4429210addb23a > macvlan: add FDB bridge ops and macvlan flags > added a flags field to macvlan, which can be > controlled from userspace. > The idea is to make the interface future-proof > so

Re: Linux 3.11-rc4

2013-08-05 Thread Oleg Nesterov
On 08/05, Felipe Contreras wrote: > > Would it be possible to just revert that patch for v3.11, and fix it later? Sure, but it would be nice to investigate. I think we have the time for revert, this patch was added after 3.10 so I hope we can always revert it before 3.11. Felipe, I'll try to

Re: [PATCH 08/23] cgroup: pass around cgroup_subsys_state instead of cgroup in subsystem methods

2013-08-05 Thread Aristeu Rozanski
On Thu, Aug 01, 2013 at 05:49:46PM -0400, Tejun Heo wrote: > cgroup is currently in the process of transitioning to using struct > cgroup_subsys_state * as the primary handle instead of struct cgroup * > in subsystem implementations for the following reasons. > > * With unified hierarchy,

Re: [PATCH v3 07/22] ARM: dts: Remove '0x's from Exynos4210 DTSI file

2013-08-05 Thread Kukjin Kim
On 07/25/13 16:52, Lee Jones wrote: On Wed, 24 Jul 2013, Tomasz Figa wrote: On Wednesday 24 of July 2013 16:09:37 Lee Jones wrote: ... for the sake of consistency and assumed convention. Cc: Kukjin Kim Cc: linux-samsung-...@vger.kernel.org Signed-off-by: Lee Jones diff --git

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 10:12 -0700, Linus Torvalds wrote: > On Mon, Aug 5, 2013 at 9:55 AM, Steven Rostedt wrote: > First off, we have very few things that are *so* unlikely that they > never get executed. Putting things in a separate section would > actually be really bad. My main concern is

Re: [PATCH 2/4] staging: ozwpan: Increment port number for new device.

2013-08-05 Thread Dan Carpenter
On Mon, Aug 05, 2013 at 06:40:13PM +0100, Rupesh Gujare wrote: > This patch fixes crash issue when there is quick cycle of > de-enumeration & enumeration due to loss of wireless link. > > It is found that sometimes new device (or coming back device) > returns very fast, even before USB core read

Re: Linux 3.11-rc4

2013-08-05 Thread Oleg Nesterov
On 08/05, Linus Torvalds wrote: > > On Mon, Aug 5, 2013 at 6:29 AM, Oleg Nesterov wrote: > > > > I never used wine, but I am puzzled anyway. This patch really looks > > like a simple and minor bugfix. > > The patch is indeed trivial, but.. What's the locking here? > > Afaik, ptrace_detach() by

Re: Linux 3.11-rc4

2013-08-05 Thread Felipe Contreras
On Mon, Aug 5, 2013 at 12:39 PM, Linus Torvalds wrote: > That said, Felipe, can you double-check that it's not timing-related > in some subtle way, and test multiple times with just that commit > reverted (and not reverted) to make sure that it's 100% that one > single line by that particular

Re: Linux 3.11-rc4

2013-08-05 Thread Felipe Contreras
On Mon, Aug 5, 2013 at 12:11 PM, Oleg Nesterov wrote: > On 08/05, Felipe Contreras wrote: >> >> On Mon, Aug 5, 2013 at 9:39 AM, Oleg Nesterov wrote: >> > >> > Hmm. It should not crash under strace... please see below. >> > >> >> 953 ptrace(PTRACE_ATTACH, 1035, 0, 0) = -1 EPERM (Operation not

[PATCH 3/4] staging: ozwpan: Reset port configuration number.

2013-08-05 Thread Rupesh Gujare
Make sure that we reset port configuration no. when PD departs. Signed-off-by: Rupesh Gujare --- drivers/staging/ozwpan/ozhcd.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c index a739986..b060e43 100644 ---

Re: [PATCH 1/2] input: ti_tsc: Enable shared IRQ for TSC

2013-08-05 Thread Dmitry Torokhov
On Mon, Aug 05, 2013 at 06:02:02PM +0100, Zubair Lutfullah : wrote: > On Mon, Aug 05, 2013 at 09:12:56AM -0700, Dmitry Torokhov wrote: > > > > Touchscreen and ADC share the same IRQ line from parent MFD core. > > > > Previously only Touchscreen was interrupt based. > > > > With continuous mode

[PATCH 1/4] staging: ozwpan: Fixes crash due to invalid port aceess.

2013-08-05 Thread Rupesh Gujare
This patch fixes kernel crash issue, when we receive URB request after de-enumerating device. Signed-off-by: Rupesh Gujare --- drivers/staging/ozwpan/ozhcd.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ozwpan/ozhcd.c

[PATCH 4/4] staging: ozwpan: Return correct hub status.

2013-08-05 Thread Rupesh Gujare
Fix a bug where we were not returning correct hub status for 8th port. Signed-off-by: Rupesh Gujare --- drivers/staging/ozwpan/ozhcd.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c index

[PATCH 0/4] staging: ozwpan: Fix crash issues.

2013-08-05 Thread Rupesh Gujare
This patch series fixes crash issues observed, & fix a bug in hub status code. Rupesh Gujare (4): staging: ozwpan: Fixes crash due to invalid port aceess. staging: ozwpan: Increment port number for new device. staging: ozwpan: Reset port configuration number. staging: ozwpan: Return

[PATCH 2/4] staging: ozwpan: Increment port number for new device.

2013-08-05 Thread Rupesh Gujare
This patch fixes crash issue when there is quick cycle of de-enumeration & enumeration due to loss of wireless link. It is found that sometimes new device (or coming back device) returns very fast, even before USB core read out hub status, resulting in allocation of same port, which results in

Re: Linux 3.11-rc4

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 6:29 AM, Oleg Nesterov wrote: > > I never used wine, but I am puzzled anyway. This patch really looks > like a simple and minor bugfix. The patch is indeed trivial, but.. What's the locking here? Afaik, ptrace_detach() by the parent can race with do_exit() by the child,

Re: [3.10.4] NFS locking panic, plus persisting NFS shutdown panic from 3.9.*

2013-08-05 Thread Jeff Layton
On Mon, 5 Aug 2013 16:15:01 + "Myklebust, Trond" wrote: > From 3c50ba80105464a28d456d9a1e0f1d81d4af92a8 Mon Sep 17 00:00:00 2001 > From: Trond Myklebust > Date: Mon, 5 Aug 2013 12:06:12 -0400 > Subject: [PATCH] LOCKD: Don't call utsname()->nodename from > nlmclnt_setlockargs >

Re: O_TMPFILE fs corruption (Re: Linux 3.11-rc4)

2013-08-05 Thread Jörn Engel
On Mon, 5 August 2013 01:26:46 -0700, Christoph Hellwig wrote: > On Sun, Aug 04, 2013 at 08:45:16PM -0700, Linus Torvalds wrote: > > The patch looks right to me - we should pass in similar flags for the > > create case as for tmpfile to the filesystem. > > > > But let's make sure we're all on the

[GIT PULL] x86/mce fix to queue for 3.12

2013-08-05 Thread Luck, Tony
The following changes since commit c095ba7224d8edc71dcef0d655911399a8bd4a3f: Linux 3.11-rc4 (2013-08-04 13:46:46 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git tags/please-pull-mce-f-bit for you to fetch changes up to

Re: [PATCH 03/10] vfio: add external user support

2013-08-05 Thread Alex Williamson
On Tue, 2013-07-23 at 19:07 +1000, Alexey Kardashevskiy wrote: > On 07/23/2013 12:23 PM, Alex Williamson wrote: > > On Tue, 2013-07-16 at 10:53 +1000, Alexey Kardashevskiy wrote: > >> VFIO is designed to be used via ioctls on file descriptors > >> returned by VFIO. > >> > >> However in some

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 10:02 -0700, H. Peter Anvin wrote: > > if (x) __attibute__((section(".foo"))) { > > /* do something */ > > } > > > > One concern I have is how this kind of code would work when embedded > inside a function which already has a section attribute. This could > easily

Re: [PATCH 17/18] ARM: SAMSUNG: Switch to sched_clock_register()

2013-08-05 Thread Kukjin Kim
On 08/01/13 07:31, Stephen Boyd wrote: The 32 bit sched_clock interface now supports 64 bits. Upgrade to the 64 bit function to allow us to remove the 32 bit registration interface. Cc: Ben Dooks Cc: Kukjin Kim Acked-by: Kukjin Kim Thanks, Kukjin Signed-off-by: Stephen Boyd ---

Re: [PATCH 1/3] mips/kvm: Improve code formatting in arch/mips/kvm/kvm_locore.S

2013-08-05 Thread Gleb Natapov
On Mon, Aug 05, 2013 at 07:06:10PM +0200, Ralf Baechle wrote: > On Mon, Aug 05, 2013 at 04:43:27PM +0300, Gleb Natapov wrote: > > Date: Mon, 5 Aug 2013 16:43:27 +0300 > > From: Gleb Natapov > > To: Ralf Baechle > > Cc: James Hogan , David Daney > > , linux-m...@linux-mips.org,

[PATCH aio-next] aio: fix error handling and rcu usage in "convert the ioctx list to table lookup v3"

2013-08-05 Thread Benjamin LaHaise
On Mon, Aug 05, 2013 at 12:08:28PM -0400, Benjamin LaHaise wrote: > Hi Sasha, > > On Mon, Aug 05, 2013 at 09:57:08AM -0400, Sasha Levin wrote: > > Hi all, > > > > While fuzzing with trinity inside a KVM tools guest running latest -next > > kernel, > > I've stumbled on the following spew caused

Re: [QUERY] lguest64

2013-08-05 Thread Konrad Rzeszutek Wilk
> >>> struct pv_cpu_ops pv_cpu_ops; > >>> > >>> [only end up using cpuid. This one is a tricky one. We could > >>>arguable remove it but it does do some filtering - for example > >>>THERM is turned off, or MWAIT

Re: Linux 3.11-rc4

2013-08-05 Thread Oleg Nesterov
On 08/05, Felipe Contreras wrote: > > On Mon, Aug 5, 2013 at 9:39 AM, Oleg Nesterov wrote: > > > > Hmm. It should not crash under strace... please see below. > > > >> 953 ptrace(PTRACE_ATTACH, 1035, 0, 0) = -1 EPERM (Operation not > >> permitted) > > > > OK, so it actually uses ptrace ;) > > >

Re: [PATCH v2 3/3] dma: Add Freescale eDMA engine driver support

2013-08-05 Thread Vinod Koul
On Mon, Aug 05, 2013 at 02:07:04PM +0800, Jingchang Lu wrote: > Add Freescale enhanced direct memory(eDMA) controller support. > The eDMA controller deploys DMAMUXs routing DMA request sources(slot) > to eDMA channels. > This module can be found on Vybrid and LS-1 SoCs. > > Signed-off-by: Alison

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 10:12 AM, Linus Torvalds wrote: > > Secondly, you don't want a separate section anyway for any normal > kernel code, since you want short jumps if possible Just to clarify: the short jump is important regardless of how unlikely the code you're jumping is, since even if

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Linus Torvalds
On Mon, Aug 5, 2013 at 9:55 AM, Steven Rostedt wrote: > > Almost a full year ago, Mathieu suggested something like: > > if (unlikely(x)) __attribute__((section(".unlikely"))) { > ... > } else __attribute__((section(".likely"))) { > ... > } It's almost certainly a horrible idea.

[PATCH v2 5/5] memcg: rename cgroup_event to mem_cgroup_event

2013-08-05 Thread Tejun Heo
>From 2d3340a32a52602ec4cda348b26affeae52d1964 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Mon, 5 Aug 2013 12:00:24 -0400 cgroup_event is only available in memcg now. Let's brand it that way. While at it, add a comment encouraging deprecation of the feature and remove the respective section

Re: [PATCH 00/11] Add compression support to pstore

2013-08-05 Thread Aruna Balakrishnaiah
Hi Tony, Thank you very much for testing my patches. On Saturday 03 August 2013 03:42 AM, Tony Luck wrote: A quick experiment to use your patchset - but with compression disabled by tweaking this line in pstore_dump(): zipped_len = -1; //zip_data(dst, hsize + len); turned out well. This

[PATCH v2 3/5] cgroup, memcg: move cgroup_event implementation to memcg

2013-08-05 Thread Tejun Heo
>From ab9c79598563898b0af18aa26b8a218fe5cbfda6 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Mon, 5 Aug 2013 12:00:23 -0400 cgroup_event is way over-designed and tries to build a generic flexible event mechanism into cgroup - fully customizable event specification for each user of the

[PATCH v2 2/5] cgroup: make __cgroup_from_dentry() and __cgroup_dput() global

2013-08-05 Thread Tejun Heo
>From eb06a03636eb8477ea034780c37463a086112115 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Mon, 5 Aug 2013 12:00:23 -0400 cgroup_event will no longer be supported as cgroup generic mechanism and be moved to memcg. To enable the relocation, implement and expose __cgroup_from_dentry() which

Re: [edk2] Corrupted EFI region

2013-08-05 Thread Laszlo Ersek
On 08/05/13 18:47, Borislav Petkov wrote: > On Mon, Aug 05, 2013 at 06:41:20PM +0200, Laszlo Ersek wrote: >> I didn't realize the timestamps survive kexec. (As far as I remember >> the kernels I played with kexec on didn't have the automatic >> timestamps yet in dmesg, but I might have messed up

Re: [PATCH] trivial: adjust code alignment

2013-08-05 Thread Dan Carpenter
On Mon, Aug 05, 2013 at 06:24:43PM +0200, walter harms wrote: > Hello Julia, > > IMHO keep the patch as it is. > It does not change any code that is good. > Suspicious code that comes up here can be addressed > in a separate patch. > Gar... No, if we silence static checker warnings without

Re: [PATCH 1/3] mips/kvm: Improve code formatting in arch/mips/kvm/kvm_locore.S

2013-08-05 Thread Ralf Baechle
On Mon, Aug 05, 2013 at 04:43:27PM +0300, Gleb Natapov wrote: > Date: Mon, 5 Aug 2013 16:43:27 +0300 > From: Gleb Natapov > To: Ralf Baechle > Cc: James Hogan , David Daney > , linux-m...@linux-mips.org, k...@vger.kernel.org, > Sanjay Lal , linux-kernel@vger.kernel.org, David > Daney >

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread H. Peter Anvin
On 08/05/2013 09:55 AM, Steven Rostedt wrote: > > Almost a full year ago, Mathieu suggested something like: > > if (unlikely(x)) __attribute__((section(".unlikely"))) { > ... > } else __attribute__((section(".likely"))) { > ... > } > > https://lkml.org/lkml/2012/8/9/658 > >

[PATCH V9 00/14] perf tools: some fixes and tweaks

2013-08-05 Thread Adrian Hunter
Hi Here are some fixes and tweaks to perf tools (version 9). Changes in V9: perf: Update perf_event_type documentation Dropped since its been applied perf tools: tidy up sample parsing overflow checking Changed to use a single overflow function

Re: Linux 3.11-rc4

2013-08-05 Thread Felipe Contreras
On Mon, Aug 5, 2013 at 9:39 AM, Oleg Nesterov wrote: > On 08/05, Felipe Contreras wrote: >> >> On Mon, Aug 5, 2013 at 8:29 AM, Oleg Nesterov wrote: >> > >> > Could you please run wine under strace >> > >> > strace -f -e ptrace -o LOG wine ... >> > >> > and show the result? >> >> Sure. >

Re: [PATCH 1/2] input: ti_tsc: Enable shared IRQ for TSC

2013-08-05 Thread Zubair Lutfullah :
On Mon, Aug 05, 2013 at 09:12:56AM -0700, Dmitry Torokhov wrote: > > > Touchscreen and ADC share the same IRQ line from parent MFD core. > > > Previously only Touchscreen was interrupt based. > > > With continuous mode support added in ADC driver, driver requires > > > interrupt to process the ADC

RE: [edk2] Corrupted EFI region

2013-08-05 Thread Kinney, Michael D
Boris, A memory map entry with zero size does not look right to me. The memory map passed into SetVirtualAddressMap() must contain the exact same set of memory map entries that existed when ExitBootServices() was called with a return result of EFI_SUCCESS. When you are showing comparisons of

Re: [QUERY] lguest64

2013-08-05 Thread H. Peter Anvin
On 08/05/2013 09:50 AM, Konrad Rzeszutek Wilk wrote: >>> >>> Let me iterate down what the experimental patch uses: >>> >>> struct pv_init_ops pv_init_ops; >>> >>> [still use xen_patch, but I think that is not needed anymore] >>> >>>

Re: [PATCH v7] dmaengine: Add MOXA ART DMA engine driver

2013-08-05 Thread Mark Rutland
6. use devm_request_irq instead of setup_irq > 7. elaborate commit message > > device tree bindings document: > 8. in the example, change "#dma-cells" to "<2>" > > Applies to next-20130805 > > .../devicetree/bindings/

[PATCH 1/3] tracing/perf: Expand TRACE_EVENT(sched_stat_runtime)

2013-08-05 Thread Oleg Nesterov
To simplify the review of the next patches: 1. We are going to reimplent __perf_task/counter and embedd them into TP_ARGS(). expand TRACE_EVENT(sched_stat_runtime) into DECLARE_EVENT_CLASS() + DEFINE_EVENT(), this way they can use different TP_ARGS's. 2. Change perf_trace_##call() macro

[PATCH 3/3] tracing/perf: Avoid perf_trace_buf_*() in perf_trace_##call() when possible

2013-08-05 Thread Oleg Nesterov
perf_trace_buf_prepare() + perf_trace_buf_submit(task => NULL) make no sense if hlist_empty(head). Change perf_trace_##call() to check ->perf_events beforehand and do nothing if it is empty. This removes the overhead for tasks without events associated with them. For example, "perf record -e

[PATCH 0/3] Teach perf_trace_##call() to check hlist_empty(perf_events)

2013-08-05 Thread Oleg Nesterov
Sorry for double post, forgot to cc lkml... On 07/19, Ingo Molnar wrote: > > * Oleg Nesterov wrote: > > > Hello. > > > > The patches are the same, I only tried to update the changelogs a bit. > > I am also quoting my old email below, to explain what this hack tries > > to do. > > > > Say,

[PATCH 2/3] tracing/perf: Reimplement TP_perf_assign() logic

2013-08-05 Thread Oleg Nesterov
The next patch tries to avoid the costly perf_trace_buf_* calls when possible but there is a problem. We can only do this if __task == NULL, perf_tp_event(task != NULL) has the additional code for this case. Unfortunately, TP_perf_assign/__perf_xxx which changes the default values of

[RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
[ sent to both Linux kernel mailing list and to gcc list ] I was looking at some of the old code I still have marked in my TODO list, that I never pushed to get mainlined. One of them is to move trace point logic out of the fast path to get rid of the stress that it imposes on the icache. Almost

Re: [PATCH 1/3] mips/kvm: Improve code formatting in arch/mips/kvm/kvm_locore.S

2013-08-05 Thread David Daney
On 08/05/2013 06:43 AM, Gleb Natapov wrote: On Mon, Aug 05, 2013 at 03:21:57PM +0200, Ralf Baechle wrote: On Mon, Aug 05, 2013 at 02:17:01PM +0100, James Hogan wrote: On 01/08/13 21:22, David Daney wrote: From: David Daney No code changes, just reflowing some comments and consistently

Re: [PATCH] trivial: adjust code alignment

2013-08-05 Thread Jonathan Corbet
On Mon, 5 Aug 2013 18:19:18 +0200 (CEST) Julia Lawall wrote: > Oops, thanks for spotting that. I'm not sure whether it is safe to abort > these calls as soon as the first one fails, but perhaps I could introduce > some more variables, and test them all afterwards. Yes, it would be safe. But

Re: [QUERY] lguest64

2013-08-05 Thread Konrad Rzeszutek Wilk
On Sun, Aug 04, 2013 at 03:37:08PM +0300, Gleb Natapov wrote: > On Fri, Aug 02, 2013 at 03:09:34PM -0400, Konrad Rzeszutek Wilk wrote: > > On Wed, Jul 31, 2013 at 06:25:04AM -0700, H. Peter Anvin wrote: > > > On 07/31/2013 06:17 AM, Konrad Rzeszutek Wilk wrote: > > > >> > > > >> The big problem

Re: [PATCH V2 4/4] x86: correctly detect hypervisor

2013-08-05 Thread Konrad Rzeszutek Wilk
On Mon, Aug 05, 2013 at 08:20:53AM -0700, H. Peter Anvin wrote: > On 08/05/2013 07:34 AM, Konrad Rzeszutek Wilk wrote: > > > > Could you provide me with a git branch so I can test it overnight please? > > > > Pull tip:x86/paravirt. It works for me. Thanks. > > -hpa > > -- To

Re: [edk2] Corrupted EFI region

2013-08-05 Thread Andrew Fish
On Aug 5, 2013, at 7:40 AM, Borislav Petkov wrote: > On Mon, Aug 05, 2013 at 04:27:44PM +0200, Laszlo Ersek wrote: >> I wouldn't call the design of SetVirtualAddressMap() braindead. > > Ok, I've always wondered and you could probably shed some light on the > matter: why is

Re: [PATCH V2 1/9] perf tools: add test for reading object code

2013-08-05 Thread Arnaldo Carvalho de Melo
Em Sat, Aug 03, 2013 at 04:45:03PM +0300, Adrian Hunter escreveu: > On 31/07/2013 5:17 p.m., Arnaldo Carvalho de Melo wrote: > >Em Wed, Jul 31, 2013 at 12:13:50AM +0300, Adrian Hunter escreveu: > >>Using the information in mmap events, perf tools can read object > >>code associated with sampled

Re: [edk2] Corrupted EFI region

2013-08-05 Thread Borislav Petkov
On Mon, Aug 05, 2013 at 06:41:20PM +0200, Laszlo Ersek wrote: > I didn't realize the timestamps survive kexec. (As far as I remember > the kernels I played with kexec on didn't have the automatic > timestamps yet in dmesg, but I might have messed up just as well...) No, no, no, kexec is not

[PATCH] net/ipv4: fix the conditions of entering TCP_CA_Disorder state

2013-08-05 Thread Dong Fang
if have some packets loss by network, the kernel can't reach here, we can see the tcp_time_to_recover() function: static bool tcp_time_to_recover(struct sock *sk, int flag) { struct tcp_sock *tp = tcp_sk(sk); __u32 packets_out; /* Trick#1: The loss is proven. */

Re: [PATCH 00/11] Add compression support to pstore

2013-08-05 Thread Tony Luck
One more experiment - removed previous hack that disabled compression. Added a new hack to skip decompression. System died cleanly when I forced a panic. On reboot I found 3 files in pstore: -r--r--r-- 1 root root 3972 Aug 5 09:24 dmesg-erst-5908671953186586625 -r--r--r-- 1 root root 2565

Re: [PATCH] iommu/exynos: remove dead code (set_prefbuf)

2013-08-05 Thread Grant Grundler
Ping? Adding linux-iommu ML. thanks, grant On Tue, Jul 2, 2013 at 9:08 AM, Grant Grundler wrote: > exynos_sysmmu_set_prefbuf() is not called any where. > > Signed-off-by: Grant Grundler > --- > drivers/iommu/exynos-iommu.c | 44 > > 1 file

[PATCH v3 02/10] swiotlb-xen: replace dma_length with sg_dma_len() macro

2013-08-05 Thread Stefano Stabellini
swiotlb-xen has an implicit dependency on CONFIG_NEED_SG_DMA_LENGTH. Remove it by replacing dma_length with sg_dma_len. Signed-off-by: Stefano Stabellini --- drivers/xen/swiotlb-xen.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/xen/swiotlb-xen.c

[PATCH v3 04/10] arm: introduce a global dma_ops pointer

2013-08-05 Thread Stefano Stabellini
Initially set dma_ops to arm_dma_ops. Signed-off-by: Stefano Stabellini CC: will.dea...@arm.com CC: li...@arm.linux.org.uk Changes in v3: - keep using arm_dma_ops in dmabounce. --- arch/arm/include/asm/dma-mapping.h |3 ++- arch/arm/mm/dma-mapping.c |3 +++ 2 files changed,

[PATCH v3 09/10] swiotlb-xen: support autotranslate guests

2013-08-05 Thread Stefano Stabellini
Support autotranslate guests in swiotlb-xen by keeping track of the phys-to-bus and bus-to-phys mappings of the swiotlb buffer (xen_io_tlb_start-xen_io_tlb_end). Use a simple direct access on a pre-allocated array for phys-to-bus queries. Use a red-black tree for bus-to-phys queries.

[PATCH v3 10/10] xen/arm,arm64: enable SWIOTLB_XEN

2013-08-05 Thread Stefano Stabellini
Xen on arm and arm64 needs SWIOTLB_XEN: when running on Xen we need to program the hardware with mfns rather than pfns for dma addresses. Remove SWIOTLB_XEN dependency on X86 and PCI and make XEN select SWIOTLB_XEN on arm and arm64. Implement xen_create_contiguous_region on arm and arm64 by using

Re: [edk2] Corrupted EFI region

2013-08-05 Thread Laszlo Ersek
On 08/05/13 18:12, Borislav Petkov wrote: > On Mon, Aug 05, 2013 at 05:15:38PM +0200, Laszlo Ersek wrote: >> The current implementation (how pointers are converted) probably doesn't >> accommodate a second call. >> >> Of course you want to know why SetVirtualAddressMap() was designed like >>

[PATCH v3 06/10] xen/arm,arm64: move Xen initialization earlier

2013-08-05 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini Changes in v3: - add missing __init in xen_early_init declaration. --- arch/arm/include/asm/xen/hypervisor.h |8 arch/arm/kernel/setup.c |2 ++ arch/arm/xen/enlighten.c | 21 ++---

[PATCH v3 07/10] xen: introduce XENMEM_get_dma_buf and xen_put_dma_buf

2013-08-05 Thread Stefano Stabellini
XENMEM_exchange can't be used by autotranslate guests because of two severe limitations: - it does not copy back the mfns into the out field for autotranslate guests; - it does not guarantee that the hypervisor won't change the p2m mappings for the exchanged pages while the guest is using

[PATCH v3 08/10] xen: make xen_create_contiguous_region return the dma address

2013-08-05 Thread Stefano Stabellini
Modify xen_create_contiguous_region to return the dma address of the newly contiguous buffer. Signed-off-by: Stefano Stabellini Reviewed-by: David Vrabel --- arch/x86/xen/mmu.c|4 +++- drivers/xen/swiotlb-xen.c |6 +++--- include/xen/xen-ops.h |3 ++- 3 files changed, 8

[PATCH v3 03/10] arm: make SWIOTLB available

2013-08-05 Thread Stefano Stabellini
IOMMU_HELPER is needed because SWIOTLB calls iommu_is_span_boundary, provided by lib/iommu_helper.c. Signed-off-by: Stefano Stabellini CC: will.dea...@arm.com CC: li...@arm.linux.org.uk Changes in v3: - dma_capable: do not treat dma_mask as a limit; - remove SWIOTLB dependency on

[PATCH v3 01/10] swiotlb: replace dma_length with sg_dma_len() macro

2013-08-05 Thread Stefano Stabellini
From: EUNBONG SONG This patch replace dma_length in "lib/swiotlb.c" to sg_dma_len() macro, because the build error can occur if CONFIG_NEED_SG_DMA_LENGTH is not set, and CONFIG_SWIOTLB is set. Singed-off-by: EunBong Song Signed-off-by: Stefano Stabellini --- lib/swiotlb.c |8 1

[PATCH v3 05/10] arm64: do not initialize arm64_swiotlb if dma_ops is already set

2013-08-05 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini CC: catalin.mari...@arm.com CC: will.dea...@arm.com --- arch/arm64/mm/dma-mapping.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c index 4bd7579..a006e84 100644 ---

[PATCH] MAINTAINERS: drivers/power: add entry for SmartReflex AVS drivers

2013-08-05 Thread Kevin Hilman
The SmartReflex AVS driver evolved out of the OMAP kernel and now lives under drivers/power/avs. I've historically been maintainer of this but Nishanth Menon is doing most of the heavy lifting now. Add us both as co-maintainers. Cc: Anton Vorontsov Cc: David Woodhouse Cc: Rafael J. Wysocki

<    1   2   3   4   5   6   7   8   9   10   >