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, Mikulas Patocka

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 dan.j.willi...@intel.com 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()

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 slub

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 khalid.a...@oracle.com I also verified that I cannot reproduce this problem with 3.13-rc8 Guillaume. On 14 Jan 21:34,

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; or

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(error, 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 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 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 vdavy...@parallels.com wrote: On 01/14/2014 03:05 AM, Andrew Morton wrote: On Sat, 11 Jan 2014 16:36:31 +0400 Vladimir Davydov vdavy...@parallels.com wrote: When reclaiming kmem, we currently don't scan slabs that have less than

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 cmpxchg_double?

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 k...@daterainc.com 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: [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 standby2...@gmail.com ---

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 bfie...@fieldses.org 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 l...@amacapital.net wrote: On Tue, Jan 14,

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 w...@the-dreams.de True that,

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

2014-01-14 Thread David Miller
From: Haiyang Zhang haiya...@microsoft.com 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 haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com

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

2014-01-14 Thread Kees Cook
On Tue, Jan 14, 2014 at 5:31 AM, Fengguang Wu fengguang...@intel.com wrote: Greetings, I got the below dmesg and the first bad commit is commit 82fa9637a2ba285bcc7c5050c73010b2c1b3d803 Author: Kees Cook keesc...@chromium.org AuthorDate: Thu Oct 10 17:18:16 2013 -0700 Commit: H.

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: This

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: [PATCH v2 0/4] Add Clovertrail and Merrifeld support to Intel MID

2014-01-14 Thread David Cohen
On Mon, Dec 16, 2013 at 12:07:35PM -0800, David Cohen wrote: Hi, I've a bunch of Intel MID patches under review but it seems they are becoming old and start to need changes. I gathered an up-to-date version of all of them in this single patch set. This series implements support of

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

2014-01-14 Thread Hannes Frederic Sowa
On Tue, Jan 14, 2014 at 10:07:05AM -0800, Eric Dumazet wrote: On Mon, 2014-01-13 at 22:42 +0100, Hannes Frederic Sowa wrote: This patch is a RFC and part of a series Daniel Borkmann and me want to do when introducing prandom_u32_range{,_ro} and prandom_u32_max{,_ro} helpers later this week.

Re: [PATCH] PM: Enable asynchronous noirq resume threads to save the resuming time

2014-01-14 Thread Rafael J. Wysocki
On Tuesday, January 14, 2014 03:18:08 PM Chuansheng Liu wrote: Currently, the dpm_resume_noirq() is done synchronously, and for PCI devices pci_pm_resume_noirq(): pci_pm_resume_noirq() pci_pm_default_resume_early() pci_power_up() pci_raw_set_power_state() Which set the device from

Re: [RFC][PATCH 3/3] audit: Audit proc cmdline value

2014-01-14 Thread Richard Guy Briggs
On 14/01/06, William Roberts wrote: During an audit event, cache and print the value of the process's cmdline value (proc/pid/cmdline). This is useful in situations where processes are started via fork'd virtual machines where the comm field is incorrect. Often times, setting the comm field

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

2014-01-14 Thread Taras Kondratiuk
On 14 January 2014 23:13, Nishanth Menon n...@ti.com wrote: On Tue, Jan 14, 2014 at 3:03 PM, Santosh Shilimkar santosh.shilim...@ti.com 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

Re: [PATCH] irq-gic: remove file name from heading comment

2014-01-14 Thread Sergei Shtylyov
Hello. On 12/14/2013 02:24 AM, Sergei Shtylyov wrote: File names in the heading comments fell out of favor long ago, and this one weren't even changed when the driver was moved from arch/arm/common/, so remove it at last... Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com

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

2014-01-14 Thread Eric Dumazet
On Tue, 2014-01-14 at 15:53 -0500, Austin S Hemmelgarn wrote: 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

Re: [PATCH 1/2] ipc: simplify platform data approach

2014-01-14 Thread David Cohen
On Mon, Dec 02, 2013 at 04:20:00PM -0800, David Cohen wrote: This patch removes the unnecessary enum for platform type to handle the array of pdatas. We can set pdata directly to pci_device_id struct instead. Ping. comments here? :) Br, David Cohen Signed-off-by: David Cohen

Re: linux-next: Tree for Jan 14 (lowpan, 802.15.4)

2014-01-14 Thread Dmitry Eremin-Solenikov
Hello, On Tue, Jan 14, 2014 at 9:49 PM, Randy Dunlap rdun...@infradead.org wrote: On 01/13/2014 09:51 PM, Stephen Rothwell wrote: Hi all, This tree fails (more than usual) the powerpc allyesconfig build. Changes since 20140113: on i386: net/built-in.o: In function

[PATCH v4 1/6] spmi: Linux driver framework for SPMI

2014-01-14 Thread Josh Cartwright
From: Kenneth Heitke khei...@codeaurora.org System Power Management Interface (SPMI) is a specification developed by the MIPI (Mobile Industry Process Interface) Alliance optimized for the real time control of Power Management ICs (PMIC). SPMI is a two-wire serial interface that supports up to 4

[PATCH v4 6/6] regmap: spmi: support base and extended register spaces

2014-01-14 Thread Josh Cartwright
SPMI states that a slave may contain two register spaces, the Base register space is a 5-bit byte-addressable space accessed via the Register Read/Write and Register Zero Write command sequences, and the Extended register space: a 16-bit byte-addressable space accessed via the Extended Read/Write

[PATCH v4 2/6] spmi: add generic SPMI controller binding documentation

2014-01-14 Thread Josh Cartwright
Signed-off-by: Josh Cartwright jo...@codeaurora.org --- Documentation/devicetree/bindings/spmi/spmi.txt | 41 + 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/spmi/spmi.txt diff --git

[PATCH v4 0/6] Add support for the System Power Management Interface (SPMI)

2014-01-14 Thread Josh Cartwright
The System Power Management Interface (SPMI) is a high-speed, low-latency, bi-directional, two-wire serial bus suitable for real-time control of voltage and frequency scaled multi-core application processors and its power management of auxiliary components. SPMI obsoletes a number of legacy,

[PATCH v4 4/6] spmi: pmic_arb: add support for interrupt handling

2014-01-14 Thread Josh Cartwright
The Qualcomm PMIC Arbiter, in addition to being a basic SPMI controller, also implements interrupt handling for slave devices. Note, this is outside the scope of SPMI, as SPMI leaves interrupt handling completely unspecified. Extend the driver to provide a irq_chip implementation and chained irq

[PATCH v4 5/6] spmi: document the PMIC arbiter SPMI bindings

2014-01-14 Thread Josh Cartwright
Signed-off-by: Josh Cartwright jo...@codeaurora.org --- .../bindings/spmi/qcom,spmi-pmic-arb.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.txt diff --git

[PATCH -v1.1] x86, CPU, AMD: Add workaround for family 16h, erratum 793

2014-01-14 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de This adds the workaround for erratum 793 as a precaution in case not every BIOS implements it. This addresses CVE-2013-6885. Signed-off-by: Borislav Petkov b...@suse.de Tested-by: Aravind Gopalakrishnan aravind.gopalakrish...@amd.com ---

[RFC][PATCH 0/3] PM: Mechanism to avoid resuming runtime-suspended devices during system suspend

2014-01-14 Thread Rafael J. Wysocki
Hi, The following experimental series of 3 patches implements a mechanism allowing subsystems to avoid resuming runtime-suspended devices during system suspend. As far as the PM core goes, it introduces a new flag, power.no_suspend, that will be set by the core for devices which can stay

[RFC][PATCH 1/3] PM / sleep: Flag to avoid executing suspend callbacks for devices

2014-01-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Currently, some subsystems (e.g. PCI and the ACPI PM domain) have to resume all runtime-suspended devices during system suspend, mostly because those devices may need to be reprogrammed due to different wakeup settings for system sleep and

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

2014-01-14 Thread Greg KH
On Tue, Jan 14, 2014 at 03:31:01PM -0600, Chase Southwood wrote: This patch to ni_mio_common.c changes a simple while loop to a timeout, which is preferred. Signed-off-by: Chase Southwood chase.southw...@yahoo.com --- I removed the extra counter variable this time. Greg, you mentioned

[RFC][PATCH 3/3] ACPI / PM: Avoid resuming devices in ACPI PM domain during system suspend

2014-01-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Rework the ACPI PM domain's PM callbacks to avoid resuming devices during system suspend in order to modify their wakeup settings if that isn't necessary. Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com --- drivers/acpi/device_pm.c

[RFC][PATCH 2/3] PM / runtime: Routine for checking device status during system suspend

2014-01-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Add a new helper routine, pm_runtime_enabled_and_suspended(), to allow subsystems (or PM domains) to check the runtime PM status of devices during system suspend (possibly to avoid resuming those devices upfront at that time). Signed-off-by:

Re: [PATCH 3.10 00/62] 3.10.27-stable review

2014-01-14 Thread Greg Kroah-Hartman
On Mon, Jan 13, 2014 at 07:02:23PM -0800, Guenter Roeck wrote: On 01/13/2014 04:26 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.27 release. There are 62 patches in this series, all will be posted as a response to this one. If anyone has any issues

Re: [PATCH 3.10 00/62] 3.10.27-stable review

2014-01-14 Thread Greg Kroah-Hartman
On Tue, Jan 14, 2014 at 12:30:35PM -0700, Shuah Khan wrote: On 01/13/2014 05:26 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.27 release. There are 62 patches in this series, all will be posted as a response to this one. If anyone has any issues with

Re: [PATCH 3.12 00/77] 3.12.8-stable review

2014-01-14 Thread Greg Kroah-Hartman
On Tue, Jan 14, 2014 at 11:42:22PM +0900, Satoru Takeuchi wrote: At Mon, 13 Jan 2014 16:27:21 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.12.8 release. There are 77 patches in this series, all will be posted as a response to this one. If

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

2014-01-14 Thread KY Srinivasan
-Original Message- From: Olaf Hering [mailto:o...@aepfle.de] Sent: Tuesday, January 14, 2014 2:13 PM To: KY Srinivasan Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; a...@canonical.com; jasow...@redhat.com Subject: Re: [PATCH V2 1/1]

Re: [RFC] hotplug, memory: move register_memory_resource out of the lock_memory_hotplug

2014-01-14 Thread Andrew Morton
On Tue, 14 Jan 2014 12:24:34 -0600 Nathan Zimmer nzim...@sgi.com wrote: We don't need to do register_memory_resource() since it has its own lock and doesn't make any callbacks. Also register_memory_resource return NULL on failure so we don't have anything to cleanup at this point. The

Re: [PATCH v6 1/8] x86: allow to handle errors in text_poke function family

2014-01-14 Thread Steven Rostedt
FYI, for future patches, start the subject with a capital letter. ie: x86: Allow to handle errors in text_poke function family On Tue, 10 Dec 2013 16:42:13 +0100 Petr Mladek pmla...@suse.cz wrote: The text_poke functions called BUG() in case of error. This was too strict. There are

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

2014-01-14 Thread H. Peter Anvin
On 01/14/2014 02:33 PM, Kees Cook wrote: Can you tell me how the initrd for quantal-core-x86_64.cgz was built in the qemu instances you're using? It seems like all the failures point to a problem with how kASLR is interacting with the initrd. If kASLR somehow causes the kernel to collide

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

2014-01-14 Thread Borislav Petkov
On Tue, Jan 14, 2014 at 02:45:37PM -0800, Eric Dumazet wrote: Even on a Jaguar, the proposed alternative I don't know what Jaguar you guys are talking about but the Jaguar I know - Fam16h - has an int hardware divider:

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

2014-01-14 Thread Santosh Shilimkar
On Tuesday 14 January 2014 04:26 PM, Kevin Hilman wrote: On Fri, Nov 15, 2013 at 8:12 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: On Friday 15 November 2013 11:11 AM, Tony Lindgren wrote: * Taras Kondratiuk taras.kondrat...@linaro.org [131115 08:03]: On 11/15/2013 05:36 PM, Tony

[PATCH v4 3/6] spmi: Add MSM PMIC Arbiter SPMI controller

2014-01-14 Thread Josh Cartwright
From: Kenneth Heitke khei...@codeaurora.org Qualcomm's PMIC Arbiter SPMI controller functions as a bus master and is used to communication with one or more PMIC (slave) devices on the SPMI bus. The PMIC Arbiter is actually a hardware wrapper around the SPMI controller that provides concurrent

[PATCH] Change the prototype of soc_widget_read

2014-01-14 Thread Arun Shamanna Lakshmi
soc_widget_read API returns the register data and it is possible that a register can contain 0x at any point of time. In such cases snd_soc_widget_write is not called after the read operation inside snd_soc_update_bits_locked API. Thus, change the prototype of soc_widget_read to return

[PATCH] ASoC: dapm: Change prototype of soc_widget_read

2014-01-14 Thread Arun Shamanna Lakshmi
soc_widget_read API returns the register data and it is possible that a register can contain 0x. Thus, change the prototype of soc_widget_read to return only the error code and pass the reg data through pointer argument. Signed-off-by: Arun Shamanna Lakshmi ar...@nvidia.com ---

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

2014-01-14 Thread Kees Cook
tip:x86/kaslr been sitting in linux-next? If this is some interaction between kaslr and something else, perhaps merge order just happens to be pointing at kaslr? Regardless, all my tests so far against next-20140114 and an initramfs haven't seen corruption (using the given .config). I don't have

[RFC PATCH V2 0/4] APM X-Gene PCIe controller

2014-01-14 Thread Tanmay Inamdar
This patch adds support for AppliedMicro X-Gene PCIe host controller. The driver is tested on X-Gene platform with different gen1/2/3 PCIe endpoint cards. X-Gene PCIe controller driver has depedency on the pcie arch support for arm64. The arm64 pcie arch support is not yet part of mainline Linux

[RFC PATCH V2 2/4] arm64:dts: APM X-Gene PCIe device tree nodes

2014-01-14 Thread Tanmay Inamdar
This patch adds the device tree nodes for APM X-Gene PCIe controller and PCIe clock interface. Since X-Gene SOC supports maximum 5 ports, 5 dts nodes are added. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- arch/arm64/boot/dts/apm-mustang.dts |4 + arch/arm64/boot/dts/apm-storm.dtsi |

[RFC PATCH V2 4/4] MAINTAINERS: entry for APM X-Gene PCIe host driver

2014-01-14 Thread Tanmay Inamdar
Add entry for AppliedMicro X-Gene PCIe host driver. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6c20792..9e3ed53 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6531,6 +6531,13 @@ L:

[RFC PATCH V2 3/4] dt-bindings: pci: xgene pcie device tree bindings

2014-01-14 Thread Tanmay Inamdar
This patch adds the bindings for X-Gene PCIe driver. The driver resides under 'drivers/pci/host/pci-xgene.c' file. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- .../devicetree/bindings/pci/xgene-pcie.txt | 45 1 file changed, 45 insertions(+) create mode

[RFC PATCH V2 1/4] pci: APM X-Gene PCIe controller driver

2014-01-14 Thread Tanmay Inamdar
This patch adds the AppliedMicro X-Gene SOC PCIe controller driver. X-Gene PCIe controller supports maxmum upto 8 lanes and GEN3 speed. X-Gene has maximum 5 PCIe ports supported. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- drivers/pci/host/Kconfig | 10 + drivers/pci/host/Makefile

Re: [PATCH] kdump: Fix exported size of vmcoreinfo note

2014-01-14 Thread Andrew Morton
On Tue, 14 Jan 2014 14:33:11 -0500 Vivek Goyal vgo...@redhat.com wrote: Right now we seem to be exporting the max data size contained inside vmcoreinfo note. But this does not include the size of meta data around vmcore info data. Like name of the note and starting and ending elf_note. I

Re: [PATCH] pci: Add try reset interfaces

2014-01-14 Thread Bjorn Helgaas
On Mon, Dec 16, 2013 at 3:14 PM, Alex Williamson alex.william...@redhat.com wrote: When doing a function/slot/bus reset PCI grabs the device_lock for each device to block things like suspend and driver probes, which is all well and good, but call paths exist where this lock may already be

[RFC PATCH v2 1/2] sysctl: Make neg_one a standard constraint

2014-01-14 Thread atomlin
From: Aaron Tomlin atom...@redhat.com Add neg_one to the list of standard constraints. Signed-off-by: Aaron Tomlin atom...@redhat.com --- kernel/sysctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 34a6047..dd531a6 100644 --- a/kernel/sysctl.c +++

Re: [PATCH v4 4/6] spmi: pmic_arb: add support for interrupt handling

2014-01-14 Thread Courtney Cavin
On Tue, Jan 14, 2014 at 07:41:38PM +0100, Josh Cartwright wrote: The Qualcomm PMIC Arbiter, in addition to being a basic SPMI controller, also implements interrupt handling for slave devices. Note, this is outside the scope of SPMI, as SPMI leaves interrupt handling completely unspecified.

[RFC PATCH v2 2/2] hung_task: Display every hung task warning

2014-01-14 Thread atomlin
From: Aaron Tomlin atom...@redhat.com The khungtaskd thread limits how many hung task warnings it displays at a time, when a timeout occurs. This patch allows that limit to be set to unlimited, by setting hung_task_warnings to -1, which will cause khungtaskd to display information about all hung

[RFC PATCH v2 0/2] hung_task: Display every hung task warning

2014-01-14 Thread atomlin
From: Aaron Tomlin atom...@redhat.com The khungtaskd thread limits how many hung task warnings it displays at a time, when a timeout occurs. This patch allows that limit to be set to unlimited, by setting hung_task_warnings to -1, which will cause khungtaskd to display information about all hung

Re: [PATCH v8 4/4] qrwlock: Use smp_store_release() in write_unlock()

2014-01-14 Thread Paul E. McKenney
On Tue, Jan 14, 2014 at 10:01:04AM -0800, Richard Henderson wrote: On 01/14/2014 09:08 AM, Matt Turner wrote: On Tue, Jan 14, 2014 at 3:03 AM, Peter Zijlstra pet...@infradead.org wrote: On Tue, Jan 14, 2014 at 10:28:23AM +0800, Daniel J Blueman wrote: Peter, I found out that the

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

2014-01-14 Thread Santosh Shilimkar
On Tuesday 14 January 2014 04:13 PM, Nishanth Menon wrote: On Tue, Jan 14, 2014 at 3:03 PM, Santosh Shilimkar santosh.shilim...@ti.com 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

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

2014-01-14 Thread H. Peter Anvin
, but clearly something is busted. How long has tip:x86/kaslr been sitting in linux-next? If this is some interaction between kaslr and something else, perhaps merge order just happens to be pointing at kaslr? Regardless, all my tests so far against next-20140114 and an initramfs haven't seen

Re: [GIT PULL] at91: cleanup for 3.14 #2

2014-01-14 Thread Kevin Hilman
Nicolas Ferre nicolas.fe...@atmel.com writes: Arnd, Olof, Kevin, A little cleanup pull-request for 3.14 that goes on top of the previous AT91 cleanup material. The thing to note from this pull-request is the beginning of board file removal thank to the conversion to DT. We are still

Re: [PATCH] vfio-pci: Use pci try reset interface

2014-01-14 Thread Bjorn Helgaas
On Mon, Dec 16, 2013 at 3:16 PM, Alex Williamson alex.william...@redhat.com wrote: PCI resets will attempt to take the device_lock for any device to be reset. This is a problem if that lock is already held, for instance in the device remove path. It's not sufficient to simply kill the user

[PATCH v3 0/7] ARM: brcmstb: Add Broadcom STB SoC support

2014-01-14 Thread Marc Carino
This patchset contains the board support package for the Broadcom BCM7445 ARM-based SoC [1]. These changes contain a minimal set of code needed for a BCM7445-based board to boot the Linux kernel. These changes heavily leverage the OF/devicetree framework. v3: - rebased to v3.13-rc8 - switched to

[PATCH v3 1/7] ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs

2014-01-14 Thread Marc Carino
The BCM7xxx series of Broadcom SoCs are used primarily in set-top boxes. This patch adds machine support for the ARM-based Broadcom SoCs. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com --- arch/arm/configs/multi_v7_defconfig |1 +

[PATCH v3 2/7] ARM: brcmstb: add debug UART for earlyprintk support

2014-01-14 Thread Marc Carino
Add the UART definitions needed to support earlyprintk on brcmstb machines. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com --- arch/arm/Kconfig.debug | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git

Re: [PATCH tip/core/timers 1/3] timers: Reduce __run_timers() latency for empty list

2014-01-14 Thread Paul E. McKenney
On Tue, Jan 14, 2014 at 07:48:28PM +0100, Oleg Nesterov wrote: On 01/13, Paul E. McKenney wrote: The __run_timers() function currently steps through the list one jiffy at a time in order to update the timer wheel. However, if the timer wheel is empty, no adjustment is needed other than

[PATCH v3 5/7] ARM: brcmstb: add misc. DT bindings for brcm,brcmstb-*

2014-01-14 Thread Marc Carino
Document the bindings that the Broadcom STB platform needs for proper bootup. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com --- .../devicetree/bindings/arm/brcm-brcmstb.txt | 43 1 files changed, 43 insertions(+), 0

[PATCH v3 3/7] ARM: do CPU-specific init for Broadcom Brahma15 cores

2014-01-14 Thread Marc Carino
Perform any CPU-specific initialization required on the Broadcom Brahma-15 core. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com --- arch/arm/mm/proc-v7.S | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git

[PATCH v3 6/7] ARM: brcmstb: gic: add compatible string for Broadcom Brahma15

2014-01-14 Thread Marc Carino
Document the Broadcom Brahma B15 GIC implementation as compatible with the ARM GIC standard. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com --- Documentation/devicetree/bindings/arm/gic.txt |1 + 1 files changed, 1 insertions(+), 0

[PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-14 Thread Marc Carino
Add a sample DTS which will allow bootup of a board populated with the BCM7445 chip. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com --- arch/arm/boot/dts/brcmstb-7445.dts | 104 1 files changed, 104

[PATCH v3 4/7] ARM: brcmstb: add CPU binding for Broadcom Brahma15

2014-01-14 Thread Marc Carino
Add the Broadcom Brahma B15 CPU to the DT CPU binding list. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com --- Documentation/devicetree/bindings/arm/cpus.txt |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [PATCH v2 0/4] Add Clovertrail and Merrifeld support to Intel MID

2014-01-14 Thread H. Peter Anvin
On 01/14/2014 02:44 PM, David Cohen wrote: On Mon, Dec 16, 2013 at 12:07:35PM -0800, David Cohen wrote: Hi, I've a bunch of Intel MID patches under review but it seems they are becoming old and start to need changes. I gathered an up-to-date version of all of them in this single patch set.

Re: [RFC] mm: show message when updating min_free_kbytes in thp

2014-01-14 Thread Andrew Morton
On Wed, 15 Jan 2014 04:07:20 +0800 Han Pingtian ha...@linux.vnet.ibm.com wrote: min_free_kbytes may be raised during THP's initialization. Sometimes, this will change the value being set by user. Showing message will clarify this confusion. Only show this message when changing the value

Re: [llvmlinux] [PATCH 3/4] x86: Allow building 16-bit code with -m16 with toolchains that support it

2014-01-14 Thread Woodhouse, David
On Tue, 2014-01-14 at 20:14 +0100, Jan-Simon Möller wrote: Hi David, what version of clang did you use btw ? This is LLVM HEAD + extra patches at git://, http://git.infradead.org/users/dwmw2/llvm.git and the following patch to clang HEAD: diff --git a/include/clang/Driver/Options.td

Re: [PATCH 0/6] Page I/O

2014-01-14 Thread Dave Chinner
On Fri, Jan 10, 2014 at 10:24:07AM -0500, Jeff Moyer wrote: Matthew Wilcox matthew.r.wil...@intel.com writes: This patch set implements pageio as I described in my talk at Linux.Conf.AU. It's for review more than application, I think benchmarking is going to be required to see if it's a

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

2014-01-14 Thread One Thousand Gnomes
+ pr_debug(Command IRQ complete %d %d %x\n, cmd-opcode, cmd-error, + cmd-flags); dev_dbg... (and a few other places) +/* Set MMC clock / power. + * Note: This controller uses a simple divider scheme therefore it cannot run + * SD/MMC cards at full speed (24/20MHz). HCLK

Re: [PATCH v2 0/4] Add Clovertrail and Merrifeld support to Intel MID

2014-01-14 Thread David Cohen
On Tue, Jan 14, 2014 at 03:52:01PM -0800, H. Peter Anvin wrote: On 01/14/2014 02:44 PM, David Cohen wrote: On Mon, Dec 16, 2013 at 12:07:35PM -0800, David Cohen wrote: Hi, I've a bunch of Intel MID patches under review but it seems they are becoming old and start to need changes. I

Re: [RFC PATCH v2 0/2] hung_task: Display every hung task warning

2014-01-14 Thread Andrew Morton
On Tue, 14 Jan 2014 23:41:56 + atom...@redhat.com wrote: The khungtaskd thread limits how many hung task warnings it displays at a time, when a timeout occurs. This patch allows that limit to be set to unlimited, by setting hung_task_warnings to -1, which will cause khungtaskd to display

Re: [PATCH v4 5/6] spmi: document the PMIC arbiter SPMI bindings

2014-01-14 Thread Courtney Cavin
On Tue, Jan 14, 2014 at 07:41:39PM +0100, Josh Cartwright wrote: Signed-off-by: Josh Cartwright jo...@codeaurora.org --- .../bindings/spmi/qcom,spmi-pmic-arb.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644

Re: [PATCH 2/2] x86: intel-mid: sfi_handle_*_dev() should check for pdata error code

2014-01-14 Thread David Cohen
Hi Ingo, On Fri, Dec 20, 2013 at 09:49:53AM +0100, Ingo Molnar wrote: * David Cohen david.a.co...@linux.intel.com wrote: Prevent sfi_handle_*_dev() to register device in case intel_mid_sfi_get_pdata() failed to execute. Since 'NULL' is a valid return value, this patch makes

Re: [numa shrinker] 9b17c62382: -36.6% regression on sparse file copy

2014-01-14 Thread Dave Chinner
On Thu, Jan 09, 2014 at 10:57:15AM +0800, Fengguang Wu wrote: Hi Dave, As you suggested, I added tests for ext4 and btrfs, the results are the same. Then I tried running perf record for 10 seconds starting from 200s. (The test runs for 410s). I see several warning messages and hope they

Re: [PATCH 2/3] Add shrink_pagecache_parent

2014-01-14 Thread Dave Chinner
On Wed, Jan 08, 2014 at 10:06:31AM +0800, Li Wang wrote: Hi, On 01/03/2014 07:55 AM, Andrew Morton wrote: On Mon, 30 Dec 2013 21:45:17 +0800 Li Wang liw...@ubuntukylin.com wrote: Analogous to shrink_dcache_parent except that it collects inodes. It is not very appropriate to be put in

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

2014-01-14 Thread Chase Southwood
This patch for ni_mio_common.c changes out a while loop for a timeout, which is preferred. Signed-off-by: Chase Southwood chase.southw...@yahoo.com --- OK, here's another go at it. Hopefully everything looks more correct this time. Greg, I've followed the pattern you gave me, and I really

Re: [PATCH v8 4/4] qrwlock: Use smp_store_release() in write_unlock()

2014-01-14 Thread Linus Torvalds
On Wed, Jan 15, 2014 at 6:44 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Which means that Alpha should be able to similarly emulate 1-byte and 2-byte atomics, correct? Not reasonably, no. The ldl/stc implementation on early alpha was so broken as to be unusable. It's not actually

Re: [RFC] mm: show message when updating min_free_kbytes in thp

2014-01-14 Thread David Rientjes
On Tue, 14 Jan 2014, Andrew Morton wrote: This is all a bit nasty, isn't it? THP goes and alters min_free_kbytes to improve its own reliability, but min_free_kbytes is also user-modifiable. And over many years we have trained a *lot* of users to alter min_free_kbytes. Often to prevent

[RFC 0/3] mutex: Reduce spinning contention when there is no lock owner

2014-01-14 Thread Jason Low
While optimistic spinning is beneficial to performance, I have found that threads can potentially spin for a long time while there is no lock owner during high contention cases. In these scenarios, too much spinning can reduce performance. This RFC patchset attempts to address some of the issues

[RFC 1/3] mutex: In mutex_can_spin_on_owner(), return false if task need_resched()

2014-01-14 Thread Jason Low
The mutex_can_spin_on_owner() function should also return false if the task needs to be rescheduled. Signed-off-by: Jason Low jason.l...@hp.com --- kernel/locking/mutex.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/kernel/locking/mutex.c b/kernel/locking/mutex.c

[RFC 3/3] mutex: When there is no owner, stop spinning after too many tries

2014-01-14 Thread Jason Low
When running workloads that have high contention in mutexes on an 8 socket machine, spinners would often spin for a long time with no lock owner. One of the potential reasons for this is because a thread can be preempted after clearing lock-owner but before releasing the lock, or preempted after

[RFC 2/3] mutex: Modify the way optimistic spinners are queued

2014-01-14 Thread Jason Low
This patch is needed for patch 3, but should also be beneficial in general. The mutex-spin_mlock was introduced in order to ensure that only 1 thread loops on lock-owner field at a time to reduce cache line contention. When lock-owner is NULL and the lock-count is still not 1, the spinner(s) will

Re: [PATCH v6 3/8] x86: add generic function to modify more calls using int3 framework

2014-01-14 Thread Steven Rostedt
On Tue, 10 Dec 2013 16:42:15 +0100 Petr Mladek pmla...@suse.cz wrote: diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alternative.h index 586747f5f41d..82ffe7e1529c 100644 --- a/arch/x86/include/asm/alternative.h +++ b/arch/x86/include/asm/alternative.h @@ -232,4

Re: [RFC] mm: show message when updating min_free_kbytes in thp

2014-01-14 Thread Andrew Morton
On Tue, 14 Jan 2014 16:25:10 -0800 (PST) David Rientjes rient...@google.com wrote: On Tue, 14 Jan 2014, Andrew Morton wrote: This is all a bit nasty, isn't it? THP goes and alters min_free_kbytes to improve its own reliability, but min_free_kbytes is also user-modifiable. And over

Re: [slub] WARNING: CPU: 0 PID: 0 at mm/slub.c:1511 __kmem_cache_create()

2014-01-14 Thread David Rientjes
On Tue, 14 Jan 2014, Dave Hansen wrote: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=c65c1877bd6826ce0d9713d76e30a7bed8e49f38 I think the assert is just bogus at least in the early case. early_kmem_cache_node_alloc() says: * No kmalloc_node yet so do it by

RE: [PATCH] PM: Enable asynchronous noirq resume threads to save the resuming time

2014-01-14 Thread Liu, Chuansheng
Hello Rafael, -Original Message- From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Wednesday, January 15, 2014 6:55 AM To: Liu, Chuansheng Cc: gre...@linuxfoundation.org; Brown, Len; pa...@ucw.cz; linux...@vger.kernel.org; linux-kernel@vger.kernel.org; Li, Zhuangzhi

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

2014-01-14 Thread H. Peter Anvin
On 01/14/2014 03:07 PM, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de This adds the workaround for erratum 793 as a precaution in case not every BIOS implements it. This addresses CVE-2013-6885. Signed-off-by: Borislav Petkov b...@suse.de Tested-by: Aravind Gopalakrishnan

<    11   12   13   14   15   16   17   18   19   >