Re: [RFC/PATCH 1/3] pm: make PM macros more smart

2014-01-14 Thread David Cohen
On Fri, Dec 20, 2013 at 12:23:36PM -0800, David Cohen wrote: > On Fri, Dec 20, 2013 at 08:55:27PM +0100, Pavel Machek wrote: > > On Sun 2013-12-15 11:25:08, David Cohen wrote: > > > On Sun, Dec 15, 2013 at 06:51:12PM +0100, Pavel Machek wrote: > > > > On Thu 2013-12-12 21:18:23, David Cohen wrote:

RE:CONTACTING YOU AGAIN

2014-01-14 Thread Steven Tiano
Compliments, This is the second time I am contacting you in this project. I have a Benefiting Business transaction worth of millions of dollars which requires you to act as a Co-investor Partner to a diseased investor client from ExxonMobil Oil and Gas, where I work as an Audit Accountant.

Re: [x86, kaslr] BUG: kernel boot hang

2014-01-14 Thread Kees Cook
On Tue, Jan 14, 2014 at 5:31 AM, Fengguang Wu wrote: > Greetings, > > I got the below dmesg and the first bad commit is > > commit 82fa9637a2ba285bcc7c5050c73010b2c1b3d803 > Author: Kees Cook > AuthorDate: Thu Oct 10 17:18:16 2013 -0700 > Commit: H. Peter Anvin > CommitDate: Sun Oct 13

Re: [PATCH net-next] hyperv: Add support for physically discontinuous receive buffer

2014-01-14 Thread David Miller
From: Haiyang Zhang Date: Thu, 9 Jan 2014 14:24:47 -0800 > This will allow us to use bigger receive buffer, and prevent allocation > failure > due to fragmented memory. > > Signed-off-by: Haiyang Zhang > Reviewed-by: K. Y. Srinivasan Not until you start using paged SKBs in

Re: [PATCH 4/7] drivers/pci/host: don't check resource with devm_ioremap_resource

2014-01-14 Thread Jingoo Han
On Tuesday, January 14, 2014 10:17 PM, Marek Vasut wrote: > On Tuesday, January 14, 2014 at 12:58:55 PM, Wolfram Sang wrote: > > devm_ioremap_resource does sanity checks on the given resource. No need to > > duplicate this in the driver. > > > > Signed-off-by: Wolfram Sang > > True that, > >

Re: [PATCH] [trivial] ixgbe: Fix format string in ixgbe_fcoe.c

2014-01-14 Thread Brown, Aaron F
On Wed, 2014-01-15 at 01:14 +0900, Masanari Iida wrote: > cppcheck detected following warning in ixgbe_fcoe.c > (warning) %d in format string (no. 1) requires 'int' but the > argument type is 'unsigned int'. > > Signed-off-by: Masanari Iida > --- > drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c

Re: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread Andy Lutomirski
On Tue, Jan 14, 2014 at 1:51 PM, J. Bruce Fields wrote: > On Tue, Jan 14, 2014 at 01:26:26PM -0800, Andy Lutomirski wrote: >> [grr, gmail -- I didn't actually intend to send that.] >> >> On Tue, Jan 14, 2014 at 1:24 PM, Andy Lutomirski wrote: >> > On Tue, Jan 14, 2014 at 1:19 PM, Frank Filz >>

Re: next bio iters break discard?

2014-01-14 Thread Kent Overstreet
On Tue, Jan 14, 2014 at 03:17:32PM -0500, Martin K. Petersen wrote: > > "Kent" == Kent Overstreet writes: > > >> IOW, DISCARD, WRITE SAME and the impending COPY requests do not have > >> a 1:1 mapping between the block range worked on and the size of any > >> bvecs attached. Your recent

Re: [RFC][PATCH 3/9] mm: page->pfmemalloc only used by slab/skb

2014-01-14 Thread Dave Hansen
On 01/14/2014 11:49 AM, Christoph Lameter wrote: > On Tue, 14 Jan 2014, Dave Hansen wrote: >> page->pfmemalloc does not deserve a spot in 'struct page'. It is >> only used transiently _just_ after a page leaves the buddy >> allocator. > > Why would we need to do this if we are removing the

Re: [PATCH 1/5] mm: vmscan: shrink all slab objects if tight on memory

2014-01-14 Thread Andrew Morton
On Tue, 14 Jan 2014 11:23:30 +0400 Vladimir Davydov wrote: > On 01/14/2014 03:05 AM, Andrew Morton wrote: > > On Sat, 11 Jan 2014 16:36:31 +0400 Vladimir Davydov > > wrote: > > > >> When reclaiming kmem, we currently don't scan slabs that have less than > >> batch_size objects (see

Re: [PATCH 00/12] [v2] Reorganize x86 Kconfig menu

2014-01-14 Thread Dave Hansen
On 01/14/2014 06:25 AM, Borislav Petkov wrote: > On Mon, Jan 13, 2014 at 11:22:45AM -0800, Dave Hansen wrote: > * CONFIG_X86_X2APIC could go into "Processor Options and Features" > > * We should put "Processor family (...) --->" into the main menu since > it is one of the most important ones. >

Re: [PATCH V2 1/1] Drivers: hv: Implement the file copy service

2014-01-14 Thread Olaf Hering
On Tue, Jan 14, K. Y. Srinivasan wrote: > +static ssize_t fcopy_write(struct file *file, const char __user *buf, > + size_t count, loff_t *ppos) > +{ > + int error = 0; > + > + if (count != sizeof(int)) > + return 0; > + > + if (copy_from_user(, buf,

performance: spawning (exec*/wait) shows non-constant time if memory grows

2014-01-14 Thread Dirk Bächle
Hi there, when running the attached program "spawn_test.c" on my machine (see end of this mail), I get the following results (as measured with "/usr/bin/time"): cycles | elapsed time - 2000 | 0:01.69 4000 | 0:04.04 8000 | 0:10.72 16000 | 0:32.51 32000 | 1:46.85 ,

Re: [PATCH 04/11] vfs: add renameat2 syscall

2014-01-14 Thread Tetsuo Handa
Miklos Szeredi wrote: > + > + if (flags) > + return -EOPNOTSUPP; > + If (at least for now) only ext4 interprets renameat2() flags, I think adding a new member to "struct inode_operations" and check it like if (!old_dir->i_op->swapname) return -EOPNOTSUPP;

Re: BUG: Bad page state in process with linux 3.4.76

2014-01-14 Thread Guillaume Morin
Greg, I am going to do more testing but it seems that reverting this patch from 3.4.69 fixes the BUG commit b07ef016454ff46f98e633b5a6247ca7e343fb67 Author: Khalid Aziz I also verified that I cannot reproduce this problem with 3.13-rc8 Guillaume. On 14 Jan 21:34, Guillaume Morin wrote: > >

Re: [PATCH 0/9] re-shrink 'struct page' when SLUB is on.

2014-01-14 Thread Dave Hansen
On 01/14/2014 12:07 PM, Christoph Lameter wrote: > One easy way to shrink struct page is to simply remove the feature. The > patchset looked a bit complicated and does many other things. Sure. There's a clear path if you only care about 'struct page' size, or if you only care about making the

Re: [PATCH v3 4/4] dma debug: introduce debug_dma_assert_idle()

2014-01-14 Thread Dan Williams
On Mon, 2014-01-13 at 17:14 -0800, Andrew Morton wrote: > On Mon, 13 Jan 2014 16:48:47 -0800 Dan Williams > wrote: > > > Record actively mapped pages and provide an api for asserting a given > > page is dma inactive before execution proceeds. Placing > > debug_dma_assert_idle() in

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

2014-01-14 Thread Rafael J. Wysocki
On Tuesday, January 14, 2014 04:52:20 PM Mikulas Patocka wrote: > > On Tue, 14 Jan 2014, Rafael J. Wysocki wrote: > > > On Tuesday, January 14, 2014 04:43:43 PM Mikulas Patocka wrote: > > > > > > On Tue, 14 Jan 2014, Peter Zijlstra wrote: > > > > > > > On Tue, Jan 14, 2014 at 02:06:57PM -0500,

Re: [PATCH V2] ACPI/Battery: Add a _BIX quirk for NEC LZ750/LS

2014-01-14 Thread Rafael J. Wysocki
On Tuesday, January 14, 2014 09:24:06 PM Matthew Garrett wrote: > On Tue, Jan 14, 2014 at 10:37:02PM +0100, Rafael J. Wysocki wrote: > > On Tuesday, January 14, 2014 04:06:01 PM Matthew Garrett wrote: > > > On Mon, Jan 06, 2014 at 11:25:53PM +0100, Rafael J. Wysocki wrote: > > > > > > > Queued up

Re: [PATCH V3 2/2] mm/memblock: Add support for excluded memory areas

2014-01-14 Thread Andrew Morton
On Tue, 14 Jan 2014 10:42:53 +0100 Philipp Hachtmann wrote: > Am Mon, 13 Jan 2014 16:36:20 -0800 > schrieb Andrew Morton : > > > Patch is big. I'll toss this in for some testing but it does look too > > large and late for 3.14. How will this affect your s390 development? > > It is needed

Re: [PATCH] Staging: android: fix parentheses coding style issue in alarm-dev.c

2014-01-14 Thread Greg Kroah-Hartman
On Tue, Jan 14, 2014 at 10:43:04PM +0100, Levente Kurusa wrote: > Hello, > > 2014/1/14 Michał Kwiatkowski : > > From: Michal Kwiatkowski > > > > This is a patch to the alarm-dev.c file that removes parentheses which > > should not appear in return statement. This error was found by the > >

Re: [PATCH v5 0/4] Krait L1/L2 EDAC driver

2014-01-14 Thread Stephen Boyd
On 01/14/14 13:48, Borislav Petkov wrote: > On Tue, Jan 14, 2014 at 01:30:30PM -0800, Stephen Boyd wrote: >> This patchset adds support for the Krait L1/L2 cache error detection >> hardware. The first patch adds the Krait l2 indirection >> register code. This patch is in need of an ACK from ARM

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

2014-01-14 Thread Mikulas Patocka
On Tue, 14 Jan 2014, Rafael J. Wysocki wrote: > On Tuesday, January 14, 2014 04:43:43 PM Mikulas Patocka wrote: > > > > On Tue, 14 Jan 2014, Peter Zijlstra wrote: > > > > > On Tue, Jan 14, 2014 at 02:06:57PM -0500, Mikulas Patocka wrote: > > > > On Tue, 14 Jan 2014, Peter Zijlstra wrote: > >

[PATCH v5] ARM: imx: add select on ARCH_MXC for cpufreq support

2014-01-14 Thread John Tobias
Move ARCH_HAS_CPUFREQ, ARCH_HAS_OPP and PM_OPP on ARCH_MXC so that the user can enable the cpufreq support for iMX6Q and/or iMX6SL. Signed-off-by: John Tobias --- arch/arm/mach-imx/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/Kconfig

Re: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread J. Bruce Fields
On Tue, Jan 14, 2014 at 01:26:26PM -0800, Andy Lutomirski wrote: > [grr, gmail -- I didn't actually intend to send that.] > > On Tue, Jan 14, 2014 at 1:24 PM, Andy Lutomirski wrote: > > On Tue, Jan 14, 2014 at 1:19 PM, Frank Filz wrote: > >>> process 2 requests a write lock, gets

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

2014-01-14 Thread Rafael J. Wysocki
On Tuesday, January 14, 2014 04:43:43 PM Mikulas Patocka wrote: > > On Tue, 14 Jan 2014, Peter Zijlstra wrote: > > > On Tue, Jan 14, 2014 at 02:06:57PM -0500, Mikulas Patocka wrote: > > > On Tue, 14 Jan 2014, Peter Zijlstra wrote: > > > > > Caused by commit 62b94a08da1b ("sched/preempt: Take

Re: [PATCH v5 0/4] Krait L1/L2 EDAC driver

2014-01-14 Thread Borislav Petkov
On Tue, Jan 14, 2014 at 01:30:30PM -0800, Stephen Boyd wrote: > This patchset adds support for the Krait L1/L2 cache error detection > hardware. The first patch adds the Krait l2 indirection > register code. This patch is in need of an ACK from ARM folks. > The next two patches add the driver and

[PATCH] net,via-rhine: Fix tx_timeout handling

2014-01-14 Thread Richard Weinberger
rhine_reset_task() misses to disable the tx scheduler upon reset, this can lead to a crash if work is still scheduled while we're resetting the tx queue. Fixes: [ 93.591707] BUG: unable to handle kernel NULL pointer dereference at 004c [ 93.595514] IP: [] rhine_napipoll+0x491/0x6

Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it

2014-01-14 Thread Greg KH
On Tue, Jan 14, 2014 at 01:40:15PM -0800, Josh Triplett wrote: > On Tue, Jan 14, 2014 at 09:56:53PM +0100, Michal Marek wrote: > > Dne 3.1.2014 22:00, Josh Triplett napsal(a): > > > On Fri, Jan 03, 2014 at 09:55:16PM +0100, Michal Marek wrote: > > >> On 3.1.2014 21:29, Josh Triplett wrote: > > >>>

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

2014-01-14 Thread Mikulas Patocka
On Tue, 14 Jan 2014, Peter Zijlstra wrote: > On Tue, Jan 14, 2014 at 02:06:57PM -0500, Mikulas Patocka wrote: > > On Tue, 14 Jan 2014, Peter Zijlstra wrote: > > > > Caused by commit 62b94a08da1b ("sched/preempt: Take away > > > > preempt_enable_no_resched() from modules") > > Read these two

Re: [PATCH] Staging: android: fix parentheses coding style issue in alarm-dev.c

2014-01-14 Thread Levente Kurusa
Hello, 2014/1/14 Michał Kwiatkowski : > From: Michal Kwiatkowski > > This is a patch to the alarm-dev.c file that removes parentheses which > should not appear in return statement. This error was found by the > checkpatch.pl tool. > > Signed-off-by: Michał Kwiatkowski > -- This is like the

Re: [RFC][PATCH 2/9] mm: slub: abstract out double cmpxchg option

2014-01-14 Thread Dave Hansen
On 01/14/2014 11:49 AM, Christoph Lameter wrote: > On Tue, 14 Jan 2014, Dave Hansen wrote: >> I found this useful to have in my testing. I would like to have >> it available for a bit, at least until other folks have had a >> chance to do some testing with it. > > I dont really see the point of

Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it

2014-01-14 Thread Josh Triplett
On Tue, Jan 14, 2014 at 09:56:53PM +0100, Michal Marek wrote: > Dne 3.1.2014 22:00, Josh Triplett napsal(a): > > On Fri, Jan 03, 2014 at 09:55:16PM +0100, Michal Marek wrote: > >> On 3.1.2014 21:29, Josh Triplett wrote: > >>> Please feel free to take the entire series through your tree; I received

[RFC PATCH] mmc: add Toshiba PCI SD controller driver

2014-01-14 Thread Ondrej Zary
Hello, this patch resurrects an old never-finished driver for Toshiba PCI SD controllers found in some older Toshiba laptops (such as Portege R100): 02:0d.0 System peripheral [0880]: Toshiba America Info Systems SD TypA Controller [1179:0805] (rev 05) The hardware is slow (around 2 MB/s - same

Re: [PATCH v4 1/2] ARM: imx: add select on ARCH_MXC for cpufreq support

2014-01-14 Thread John Tobias
I made a mistake. The HAVE_IMX_ANATOP doesn't require to move up. It should be ARCH_HAS_OPP. On Sun, Jan 12, 2014 at 10:01 PM, Shawn Guo wrote: > On Sun, Jan 12, 2014 at 08:54:18PM -0800, John Tobias wrote: >> I tested leaving the HAVE_IMX_ANATOP under SOC_IMX6Q and SOC_IMX6SL. >> The iMX6Q

RE: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread Frank Filz
> [grr, gmail -- I didn't actually intend to send that.] > > On Tue, Jan 14, 2014 at 1:24 PM, Andy Lutomirski > wrote: > > On Tue, Jan 14, 2014 at 1:19 PM, Frank Filz > wrote: > >>> process 2 requests a write lock, gets -EDEADLK, unlocks and > >>> requests a new read lock. That

[PATCH v5 4/4] ARM: dts: msm: Add Krait CPU/L2 nodes

2014-01-14 Thread Stephen Boyd
This allows us to probe the krait-edac driver. Cc: David Brown Signed-off-by: Stephen Boyd --- arch/arm/boot/dts/qcom-msm8974.dtsi | 41 + 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi

[PATCH v5 0/4] Krait L1/L2 EDAC driver

2014-01-14 Thread Stephen Boyd
This patchset adds support for the Krait L1/L2 cache error detection hardware. The first patch adds the Krait l2 indirection register code. This patch is in need of an ACK from ARM folks. The next two patches add the driver and the binding and the final patch hooks it all up by adding the device

[PATCH v5 3/4] edac: Add support for Krait CPU cache error detection

2014-01-14 Thread Stephen Boyd
Add support for the Krait CPU cache error detection. This is a simplified version of the code originally written by Stepan Moskovchenko[1] ported to the EDAC device framework. [1] https://www.codeaurora.org/cgit/quic/la/kernel/msm/tree/arch/arm/mach-msm/cache_erp.c?h=msm-3.4 Cc: Stepan

[PATCH v5 1/4] ARM: Add Krait L2 register accessor functions

2014-01-14 Thread Stephen Boyd
Krait CPUs have a handful of L2 cache controller registers that live behind a cp15 based indirection register. First you program the indirection register (l2cpselr) to point the L2 'window' register (l2cpdr) at what you want to read/write. Then you read/write the 'window' register to do what you

[PATCH v3] Staging: comedi: convert while loop to timeout in ni_mio_common.c

2014-01-14 Thread Chase Southwood
This patch to ni_mio_common.c changes a simple while loop to a timeout, which is preferred. Signed-off-by: Chase Southwood --- I removed the extra counter variable this time. Greg, you mentioned that I could just look at the time that has expired to far, and exit and error out if that

Re: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread J. Bruce Fields
On Tue, Jan 14, 2014 at 04:21:53PM -0500, Richard Hipp wrote: > SQLite uses only F_SETLK, never F_SETLKW. Doesn't that mean that SQLite > will work the same with or without deadlock detection? Doesn't deadlock > detection only come into play with F_SETLKW? That's correct. > > >> (Actually,

[PATCH v5 2/4] devicetree: bindings: Document Krait CPU/L1 EDAC

2014-01-14 Thread Stephen Boyd
The Krait CPU/L1 error reporting device is made up a per-CPU interrupt. While we're here, document the next-level-cache property that's used by the Krait EDAC driver. Cc: Lorenzo Pieralisi Cc: Mark Rutland Cc: Kumar Gala Cc: Signed-off-by: Stephen Boyd ---

KREDIT ANGEBOT

2014-01-14 Thread STANDARD LOAN
Sie benötigen die Finanzierung? Haben Sie Geschäfts-oder persönliche Darlehen benötigen? Wollen Sie Ihr Unternehmen refinanzieren wollen? Unser Unternehmen ist in den Vereinigten Staaten und Europa. Wir geben Darlehen an jedem einzelnen Unternehmen und bei 2% Zinsen jährlich. Für weitere

[PATCH] Staging: android: fix parentheses coding style issue in alarm-dev.c

2014-01-14 Thread Michał Kwiatkowski
From: Michal Kwiatkowski This is a patch to the alarm-dev.c file that removes parentheses which should not appear in return statement. This error was found by the checkpatch.pl tool. Signed-off-by: Michał Kwiatkowski --- drivers/staging/android/alarm-dev.c |4 ++-- 1 file changed, 2

Re: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst [NEW HARDWARE]

2014-01-14 Thread walt
On 01/14/2014 09:20 AM, Sarah Sharp wrote: > On Mon, Jan 13, 2014 at 03:39:07PM -0800, walt wrote: >> Sarah, I just fixed my xhci bug for US$19.99 :) >> >> #lspci | tail -1 >> 04:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller >> (rev 03) >> >> This new NEC usb3 controller

Re: [PATCH v2] ARM: OMAP4460: cpuidle: Extend PM_OMAP4_ROM_SMP_BOOT_ERRATUM_GICD on cpuidle

2014-01-14 Thread Kevin Hilman
On Fri, Nov 15, 2013 at 8:12 AM, Santosh Shilimkar wrote: > On Friday 15 November 2013 11:11 AM, Tony Lindgren wrote: >> * Taras Kondratiuk [131115 08:03]: >>> On 11/15/2013 05:36 PM, Tony Lindgren wrote: * Tony Lindgren [131114 10:36]: > * Grygorii Strashko [131022 12:09]: >> The

Re: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread Andy Lutomirski
[grr, gmail -- I didn't actually intend to send that.] On Tue, Jan 14, 2014 at 1:24 PM, Andy Lutomirski wrote: > On Tue, Jan 14, 2014 at 1:19 PM, Frank Filz wrote: >>> process 2 requests a write lock, gets -EDEADLK, unlocks and >>> requests a new read lock. That request succeeds

Re: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread J. Bruce Fields
On Tue, Jan 14, 2014 at 01:24:23PM -0800, Andy Lutomirski wrote: > On Tue, Jan 14, 2014 at 1:19 PM, Frank Filz wrote: > >> On Tue, Jan 14, 2014 at 12:29:17PM -0800, Andy Lutomirski wrote: > >> > [cc: drh, who I suspect is responsible for the most widespread > >> > userspace software that uses

Re: [PATCH resend] ASoC: simple-card: fix one bug to writing to the platform data

2014-01-14 Thread Mark Brown
On Tue, Jan 14, 2014 at 12:35:32PM +0800, Xiubo Li wrote: > It's a bug that writing to the platform data directly, for it should > be constant. So just copy it before writing. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 3/5] perf report: Add --percentage option

2014-01-14 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 14, 2014 at 01:07:00PM -0800, Andi Kleen escreveu: > Namhyung Kim writes: > > > > +--percentage:: > > + Determine how to display the overhead percentage of filtered > > entries. > > This should describe also what a "filtered entry" exactly is. It's not clear > even to me. Yeah,

Re: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread Andy Lutomirski
On Tue, Jan 14, 2014 at 1:21 PM, Richard Hipp wrote: > I have no context here. I'm not sure what you are discussing or what > questions you have or what SQLite has to do with any of it. Nevertheless, I > have injected a few remarks inline > The discussion is about a new set of fcntl

Re: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread J. Bruce Fields
On Tue, Jan 14, 2014 at 01:17:20PM -0800, Andy Lutomirski wrote: > On Tue, Jan 14, 2014 at 1:10 PM, J. Bruce Fields wrote: > > On Tue, Jan 14, 2014 at 12:29:17PM -0800, Andy Lutomirski wrote: > >> [cc: drh, who I suspect is responsible for the most widespread > >> userspace software that uses

Re: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread Andy Lutomirski
On Tue, Jan 14, 2014 at 1:19 PM, Frank Filz wrote: >> On Tue, Jan 14, 2014 at 12:29:17PM -0800, Andy Lutomirski wrote: >> > [cc: drh, who I suspect is responsible for the most widespread >> > userspace software that uses this stuff] >> > >> > On Tue, Jan 14, 2014 at 11:27 AM, J. Bruce Fields >>

Re: [PATCH V2] ACPI/Battery: Add a _BIX quirk for NEC LZ750/LS

2014-01-14 Thread Matthew Garrett
On Tue, Jan 14, 2014 at 10:37:02PM +0100, Rafael J. Wysocki wrote: > On Tuesday, January 14, 2014 04:06:01 PM Matthew Garrett wrote: > > On Mon, Jan 06, 2014 at 11:25:53PM +0100, Rafael J. Wysocki wrote: > > > > > Queued up as a fix for 3.13 (I fixed up the indentation). > > > > Ah, sorry, I

Re: [PATCH V2] ACPI/Battery: Add a _BIX quirk for NEC LZ750/LS

2014-01-14 Thread Rafael J. Wysocki
On Tuesday, January 14, 2014 04:06:01 PM Matthew Garrett wrote: > On Mon, Jan 06, 2014 at 11:25:53PM +0100, Rafael J. Wysocki wrote: > > > Queued up as a fix for 3.13 (I fixed up the indentation). > > Ah, sorry, I missed this chunk of the thread. If the system provides > valid _BIF data then we

[char-misc-next] mei: export active connections to debugfs

2014-01-14 Thread Tomas Winkler
Export active connection state to debugfs The information displayed is [me,host] id pair, client connection state, and client's read and write states Signed-off-by: Tomas Winkler Reviewed-by: Alexander Usyskin --- drivers/misc/mei/debugfs.c | 54 ++

RE: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread Frank Filz
> On Tue, Jan 14, 2014 at 12:29:17PM -0800, Andy Lutomirski wrote: > > [cc: drh, who I suspect is responsible for the most widespread > > userspace software that uses this stuff] > > > > On Tue, Jan 14, 2014 at 11:27 AM, J. Bruce Fields > wrote: > > > On Thu, Jan 09, 2014 at 04:58:59PM -0800,

Re: [PATCH 2/2] sys, seccomp: add PR_SECCOMP_EXT and SECCOMP_EXT_ACT_TSYNC

2014-01-14 Thread Will Drewry
On Tue, Jan 14, 2014 at 3:09 PM, Andy Lutomirski wrote: > On Tue, Jan 14, 2014 at 12:59 PM, Will Drewry wrote: >> On Tue, Jan 14, 2014 at 2:24 PM, Andy Lutomirski wrote: >>> On Tue, Jan 14, 2014 at 10:59 AM, Will Drewry wrote: On Mon, Jan 13, 2014 at 5:36 PM, Andy Lutomirski wrote:

Re: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread Jeff Layton
On Tue, 14 Jan 2014 16:10:09 -0500 "J. Bruce Fields" wrote: > On Tue, Jan 14, 2014 at 12:29:17PM -0800, Andy Lutomirski wrote: > > [cc: drh, who I suspect is responsible for the most widespread > > userspace software that uses this stuff] > > > > On Tue, Jan 14, 2014 at 11:27 AM, J. Bruce

Re: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread Andy Lutomirski
On Tue, Jan 14, 2014 at 1:10 PM, J. Bruce Fields wrote: > On Tue, Jan 14, 2014 at 12:29:17PM -0800, Andy Lutomirski wrote: >> [cc: drh, who I suspect is responsible for the most widespread >> userspace software that uses this stuff] >> >> On Tue, Jan 14, 2014 at 11:27 AM, J. Bruce Fields >>

Re: [PATCH] hvc: ensure hvc_init is only ever called once in hvc_console.c

2014-01-14 Thread Greg Kroah-Hartman
On Tue, Jan 14, 2014 at 04:03:37PM -0500, Paul Gortmaker wrote: > Commit 3e6c6f630a5282df8f3393a59f10eb9c56536d23 ("Delay creation of > khcvd thread") moved the call of hvc_init from being a device_initcall > into hvc_alloc, and used a non-null hvc_driver as indication of whether > hvc_init had

Re: [PATCH] ARM: OMAP4: sleep: byteswap data for big-endian

2014-01-14 Thread Nishanth Menon
On Tue, Jan 14, 2014 at 3:03 PM, Santosh Shilimkar wrote: > >> ok.. some sort of Linaro thing about which I have no background about >> - but dont really care in this context. >> > Nothing related Linaro. Its just that platforms are supporting ARM BE > mode and Linaro folks had working patches

Re: [RFC] sysfs_rename_link() and its usage

2014-01-14 Thread Greg KH
On Tue, Jan 14, 2014 at 10:06:10PM +0100, Veaceslav Falico wrote: > On Tue, Jan 14, 2014 at 11:31:39AM -0800, Greg KH wrote: > >On Tue, Jan 14, 2014 at 08:12:08PM +0100, Veaceslav Falico wrote: > >>On Tue, Jan 14, 2014 at 10:21:35AM -0800, Greg KH wrote: > >>>On Tue, Jan 14, 2014 at 06:17:40PM

[char-misc-next] mei: allow multiple retries if the hw reset has failed

2014-01-14 Thread Tomas Winkler
In some rare case mei hw reset may take long time to settle. Instead of blocking resume flow we span another driver reset flow in separate work context This allows as to shorten hw reset timeout to something more acceptable by DPM_WATCHDOG_TIMEOUT Signed-off-by: Tomas Winkler Signed-off-by:

Re: [PATCH 2/2] sys, seccomp: add PR_SECCOMP_EXT and SECCOMP_EXT_ACT_TSYNC

2014-01-14 Thread Andy Lutomirski
On Tue, Jan 14, 2014 at 12:59 PM, Will Drewry wrote: > On Tue, Jan 14, 2014 at 2:24 PM, Andy Lutomirski wrote: >> On Tue, Jan 14, 2014 at 10:59 AM, Will Drewry wrote: >>> On Mon, Jan 13, 2014 at 5:36 PM, Andy Lutomirski >>> wrote: On 01/13/2014 12:30 PM, Will Drewry wrote: > Applying

Re: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks

2014-01-14 Thread J. Bruce Fields
On Tue, Jan 14, 2014 at 12:29:17PM -0800, Andy Lutomirski wrote: > [cc: drh, who I suspect is responsible for the most widespread > userspace software that uses this stuff] > > On Tue, Jan 14, 2014 at 11:27 AM, J. Bruce Fields > wrote: > > On Thu, Jan 09, 2014 at 04:58:59PM -0800, Andy

Re: [RFC] sysfs_rename_link() and its usage

2014-01-14 Thread Veaceslav Falico
On Tue, Jan 14, 2014 at 11:31:39AM -0800, Greg KH wrote: On Tue, Jan 14, 2014 at 08:12:08PM +0100, Veaceslav Falico wrote: On Tue, Jan 14, 2014 at 10:21:35AM -0800, Greg KH wrote: >On Tue, Jan 14, 2014 at 06:17:40PM +0100, Veaceslav Falico wrote: >>Hi, >> >>I'm hitting a strange issue and/or

Re: [PATCH 3/5] perf report: Add --percentage option

2014-01-14 Thread Andi Kleen
Namhyung Kim writes: > > +--percentage:: > + Determine how to display the overhead percentage of filtered > entries. This should describe also what a "filtered entry" exactly is. It's not clear even to me. -Andi > + "relative" means it's relative to filtered entries only so that the

Re: [Question] Should we make the primary interrupt handler configurable for regmap_add_irq_chip()?

2014-01-14 Thread Mark Brown
On Sat, Jan 11, 2014 at 12:15:21PM +0800, Yi Zhang wrote: > I met a scenario: > As soon as the interrupt is triggered, a wakelock is needed to be held > until the threaded handler finishes, > I think we may hold it in the primary interrupt handler, but now it's > NULL by default; This sounds

Re: [PATCH 2/2] sys, seccomp: add PR_SECCOMP_EXT and SECCOMP_EXT_ACT_TSYNC

2014-01-14 Thread Will Drewry
On Tue, Jan 14, 2014 at 1:21 PM, Oleg Nesterov wrote: > On 01/13, Will Drewry wrote: >> >> +static pid_t seccomp_sync_threads(void) >> +{ >> + struct task_struct *thread, *caller; >> + pid_t failed = 0; >> + thread = caller = current; >> + >> + read_lock(_lock); >> + if

[PATCH] hvc: ensure hvc_init is only ever called once in hvc_console.c

2014-01-14 Thread Paul Gortmaker
Commit 3e6c6f630a5282df8f3393a59f10eb9c56536d23 ("Delay creation of khcvd thread") moved the call of hvc_init from being a device_initcall into hvc_alloc, and used a non-null hvc_driver as indication of whether hvc_init had already been called. The problem with this is that hvc_driver is only

Re: [PATCH] ARM: OMAP4: sleep: byteswap data for big-endian

2014-01-14 Thread Santosh Shilimkar
On Tuesday 14 January 2014 03:56 PM, Nishanth Menon wrote: > On Tue, Jan 14, 2014 at 2:20 PM, Victor Kamensky > wrote: >> On 14 January 2014 09:56, Nishanth Menon wrote: >>> On Tue, Jan 14, 2014 at 11:35 AM, Victor Kamensky >>> wrote: When BE kernel is built Makefile does take of

Re: [PATCH 2/2] sys, seccomp: add PR_SECCOMP_EXT and SECCOMP_EXT_ACT_TSYNC

2014-01-14 Thread Will Drewry
On Tue, Jan 14, 2014 at 2:24 PM, Andy Lutomirski wrote: > On Tue, Jan 14, 2014 at 10:59 AM, Will Drewry wrote: >> On Mon, Jan 13, 2014 at 5:36 PM, Andy Lutomirski wrote: >>> On 01/13/2014 12:30 PM, Will Drewry wrote: Applying restrictive seccomp filter programs to large or diverse

Re: [PATCH 2/7] ARM: perf_event: Support percpu irqs for the CPU PMU

2014-01-14 Thread Stephen Boyd
On 01/13/14 03:52, Will Deacon wrote: > On Fri, Jan 10, 2014 at 07:36:57PM +, Stephen Boyd wrote: >> >> Passing the hw_events as the pcpu token here is kind of hacky. >> The reason is because the token is dereferenced into cpu_pmu in >> armv7pmu_handle_irq() like so: >> >> struct arm_pmu

Re: [PATCH 7/7] Makefile: Build with -Werror=date-time if the compiler supports it

2014-01-14 Thread Michal Marek
Dne 3.1.2014 22:00, Josh Triplett napsal(a): > On Fri, Jan 03, 2014 at 09:55:16PM +0100, Michal Marek wrote: >> On 3.1.2014 21:29, Josh Triplett wrote: >>> Please feel free to take the entire series through your tree; I received >>> some maintainer acks, but no indications that the patches are

Re: [PATCH] ARM: OMAP4: sleep: byteswap data for big-endian

2014-01-14 Thread Nishanth Menon
On Tue, Jan 14, 2014 at 2:20 PM, Victor Kamensky wrote: > On 14 January 2014 09:56, Nishanth Menon wrote: >> On Tue, Jan 14, 2014 at 11:35 AM, Victor Kamensky >> wrote: >>> >>> When BE kernel is built Makefile does take of compiling code in BE >>> mode. I.e all proper flags like -mbig-endian

Re: [PATCH 00/11] cross rename v3

2014-01-14 Thread Tetsuo Handa
John Johansen wrote: > On 01/14/2014 05:03 AM, Tetsuo Handa wrote: > > Miklos Szeredi wrote: > >> On Mon, Jan 13, 2014 at 11:03 PM, Tetsuo Handa > >> wrote: > >>> Miklos Szeredi wrote: > Cross rename (A, B) is equivalent to plain rename(A, B) + plain rename > (B, A) done as a single

Re: [PATCH 2/2] sys, seccomp: add PR_SECCOMP_EXT and SECCOMP_EXT_ACT_TSYNC

2014-01-14 Thread Will Drewry
On Tue, Jan 14, 2014 at 2:13 PM, Oleg Nesterov wrote: > On 01/14, Oleg Nesterov wrote: >> >> On 01/14, Oleg Nesterov wrote: >> > >> > > + get_seccomp_filter(caller); >> > > + /* >> > > + * Drop the task reference to the shared ancestor since >> > >

Re: [PATCH RFC] reciprocal_divide: correction/update of the algorithm

2014-01-14 Thread Austin S Hemmelgarn
On 2014-01-14 14:50, Eric Dumazet wrote: > On Tue, 2014-01-14 at 14:22 -0500, Austin S Hemmelgarn wrote: > >> I disagree with the statement that current CPU's have reasonably fast >> dividers. A lot of embedded processors and many low-end x86 CPU's do >> not in-fact have any hardware divider,

Re: [PATCH] perf tools: Synthesize anon MMAP records on the heap

2014-01-14 Thread Gaurav Jain
On 1/13/14, 11:54 AM, "Don Zickus" wrote: >On Sat, Jan 11, 2014 at 08:32:14PM -0800, Gaurav Jain wrote: >> Anon records usually do not have the 'execname' entry. However if they >>are on >> the heap, the execname shows up as '[heap]'. The fix considers any >>executable >> entries in the map that

[PATCH 2/3] kernel: audit/fix non-modular users of module_init in core code

2014-01-14 Thread Paul Gortmaker
Code that is obj-y (always built-in) or dependent on a bool Kconfig (built-in or absent) can never be modular. So using module_init as an alias for __initcall can be somewhat misleading. Fix these up now, so that we can relocate module_init from init.h into module.h in the future. If we don't

[PATCH 3/3] mm: audit/fix non-modular users of module_init in core code

2014-01-14 Thread Paul Gortmaker
Code that is obj-y (always built-in) or dependent on a bool Kconfig (built-in or absent) can never be modular. So using module_init as an alias for __initcall can be somewhat misleading. Fix these up now, so that we can relocate module_init from init.h into module.h in the future. If we don't

[PATCH 1/3] mm: make creation of the mm_kobj happen earlier than device_initcall

2014-01-14 Thread Paul Gortmaker
The use of __initcall is to be eventually replaced by choosing one from the prioritized groupings laid out in init.h header: pure_initcall 0 core_initcall 1 postcore_initcall 2 arch_initcall 3

[PATCH 0/3] kernel/mm -- audit/fix core code using module_init

2014-01-14 Thread Paul Gortmaker
This series had an interesting genesis in chain on effects, typical of how things can creep and spill over. I wanted to clobber pointless instances of #include mostly left behind from __cpuinit and __devinit removal. But to fully complete that, I had to plan to move module_init into module.h;

Re: [PATCH v2 02/10] genirq: Add devm_request_any_context_irq()

2014-01-14 Thread Stephen Boyd
On 01/06/14 14:24, Stephen Boyd wrote: > On 01/02/14 16:37, Stephen Boyd wrote: >> Some drivers use request_any_context_irq() but there isn't a >> devm_* function for it. Add one so that these drivers don't need >> to explicitly free the irq on driver detach. >> >> Cc: Thomas Gleixner >>

Re: [PATCH 0/4] x86: Add Cache QoS Monitoring (CQM) support

2014-01-14 Thread Waskiewicz Jr, Peter P
On Mon, 2014-01-13 at 08:55 +0100, Peter Zijlstra wrote: > On Fri, Jan 10, 2014 at 06:55:11PM +, Waskiewicz Jr, Peter P wrote: > > I've spoken with the CPU architect, and he's set me straight. I was > > getting some simulation data and reality mixed up, so apologies. > > > > The cacheline is

Re: [PATCH 1/2] sched/nohz: add debugfs control over sched_tick_max_deferment

2014-01-14 Thread Kevin Hilman
Frederic Weisbecker writes: > On Mon, Jan 06, 2014 at 10:37:27AM -0800, Kevin Hilman wrote: >> Frederic Weisbecker writes: >> >> > On Tue, Dec 17, 2013 at 01:23:07PM -0800, Kevin Hilman wrote: >> >> Allow debugfs override of sched_tick_max_deferment in order to ease >> >> finding/fixing the

[PATCH net-next v4 1/9] xen-netback: Introduce TX grant map definitions

2014-01-14 Thread Zoltan Kiss
This patch contains the new definitions necessary for grant mapping. v2: - move unmapping to separate thread. The NAPI instance has to be scheduled even from thread context, which can cause huge delays - that causes unfortunately bigger struct xenvif - store grant handle after checking validity

[PATCH net-next v4 5/9] xen-netback: Add stat counters for zerocopy

2014-01-14 Thread Zoltan Kiss
These counters help determine how often the buffers had to be copied. Also they help find out if packets are leaked, as if "sent != success + fail", there are probably packets never freed up properly. Signed-off-by: Zoltan Kiss --- drivers/net/xen-netback/common.h|3 +++

[PATCH net-next v4 2/9] xen-netback: Change TX path from grant copy to mapping

2014-01-14 Thread Zoltan Kiss
This patch changes the grant copy on the TX patch to grant mapping v2: - delete branch for handling fragmented packets fit PKT_PROT_LEN sized first request - mark the effect of using ballooned pages in a comment - place setting of skb_shinfo(skb)->tx_flags |= SKBTX_DEV_ZEROCOPY right before

[PATCH net-next v4 3/9] xen-netback: Remove old TX grant copy definitons and fix indentations

2014-01-14 Thread Zoltan Kiss
These became obsolate with grant mapping. I've left intentionally the indentations in this way, to improve readability of previous patches. v2: - move the indentation fixup patch here v4: - indentation fixes Signed-off-by: Zoltan Kiss --- drivers/net/xen-netback/common.h | 37

Re: [PATCH 2/3] mm/memcg: fix endless iteration in reclaim

2014-01-14 Thread Hugh Dickins
On Tue, 14 Jan 2014, Michal Hocko wrote: > On Tue 14-01-14 14:27:27, Michal Hocko wrote: > > On Mon 13-01-14 17:52:30, Hugh Dickins wrote: > > > On one home machine I can easily reproduce (by rmdir of memcgdir during > > > reclaim) multiple processes stuck looping forever in mem_cgroup_iter(): > >

[PATCH net-next v4 7/9] xen-netback: Add stat counters for frag_list skbs

2014-01-14 Thread Zoltan Kiss
These counters help determine how often the guest sends a packet with more than MAX_SKB_FRAGS frags. Signed-off-by: Zoltan Kiss --- drivers/net/xen-netback/common.h|1 + drivers/net/xen-netback/interface.c |7 +++ drivers/net/xen-netback/netback.c |1 + 3 files changed, 9

[PATCH net-next v4 6/9] xen-netback: Handle guests with too many frags

2014-01-14 Thread Zoltan Kiss
Xen network protocol had implicit dependency on MAX_SKB_FRAGS. Netback has to handle guests sending up to XEN_NETBK_LEGACY_SLOTS_MAX slots. To achieve that: - create a new skb - map the leftover slots to its frags (no linear buffer here!) - chain it to the previous through

[PATCH net-next v4 0/9] xen-netback: TX grant mapping with SKBTX_DEV_ZEROCOPY instead of copy

2014-01-14 Thread Zoltan Kiss
A long known problem of the upstream netback implementation that on the TX path (from guest to Dom0) it copies the whole packet from guest memory into Dom0. That simply became a bottleneck with 10Gb NICs, and generally it's a huge perfomance penalty. The classic kernel version of netback used

[PATCH net-next v4 9/9] xen-netback: Aggregate TX unmap operations

2014-01-14 Thread Zoltan Kiss
Unmapping causes TLB flushing, therefore we should make it in the largest possible batches. However we shouldn't starve the guest for too long. So if the guest has space for at least two big packets and we don't have at least a quarter ring to unmap, delay it for at most 1 milisec. v4: - use bool

[PATCH net-next v4 8/9] xen-netback: Timeout packets in RX path

2014-01-14 Thread Zoltan Kiss
A malicious or buggy guest can leave its queue filled indefinitely, in which case qdisc start to queue packets for that VIF. If those packets came from an another guest, it can block its slots and prevent shutdown. To avoid that, we make sure the queue is drained in every 10 seconds. The QDisc

[PATCH net-next v4 4/9] xen-netback: Change RX path for mapped SKB fragments

2014-01-14 Thread Zoltan Kiss
RX path need to know if the SKB fragments are stored on pages from another domain. v4: - indentation fixes Signed-off-by: Zoltan Kiss --- drivers/net/xen-netback/netback.c | 46 + 1 file changed, 41 insertions(+), 5 deletions(-) diff --git

Re: [PATCH] x86, CPU, AMD: Add workaround for family 16h, erratum 793

2014-01-14 Thread Borislav Petkov
On Tue, Jan 14, 2014 at 02:15:08PM -0600, Aravind Gopalakrishnan wrote: > Scrubbing the RevGuide for Fam16, I found couple more Errata that need > workarounds: Before you go and do that, just ask internally whether those workarounds are being delivered with AGESA instead. We don't want to have a

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