[patch 1/2] x86, apic: Remove support for ia32-based Unisys ES7000

2014-02-11 Thread David Rientjes
There should no longer be any ia32-based Unisys ES7000 systems out in the wild, so remove support for it. We've done our due diligence in reaching out to any contact information listed for this system and no indication was given that it should be kept around. Signed-off-by: David Rientjes --- a

[PATCH part1 v6 4/7] PCI: Introduce pci_serial_number_changed()

2014-02-11 Thread Yijing Wang
Sometimes OS do not know the physical device swap, for instance, some device hotplug during system suspend. Interrupt can not deliver to OS in some platform. So we can use pci serial number capability to detect this issue if device supports serial number. Signed-off-by: Yijing Wang Cc: Paul Bolle

[PATCH part1 v6 2/7] PCI: introduce pci_bus_find_ext_capability()

2014-02-11 Thread Yijing Wang
Sometimes we need to find PCI EXT CAP before pci_dev set up. So introduce pci_bus_find_ext_capability(), it will be used to get PCI EXT DSN before pci_dev set up. Signed-off-by: Yijing Wang --- drivers/pci/pci.c | 32 include/linux/pci.h |1 + 2 files cha

[patch 2/2] x86, apic: Remove support for IBM Summit/EXA chipset

2014-02-11 Thread David Rientjes
There should no longer be any IBM x440 systems or those using the Summit/EXA chipset out in the wild, so remove support for it. We've done our due diligence in reaching out to any contact information listed for this chipset and no indication was given that it should be kept around. Signed-off-by:

[PATCH part1 v6 1/7] PCI: rework pci_find_next_ext_capability()

2014-02-11 Thread Yijing Wang
Rework pci_find_next_ext_capability(), use pci_bus_read_config_xxx() instead of pci_read_config_xxx(). So we can use this function before pci_dev setup. Signed-off-by: Yijing Wang --- drivers/pci/pci.c | 17 + include/linux/pci.h |2 +- 2 files changed, 10 insertions(+),

[PATCH part1 v6 6/7] PCI: Check pci device serial number when scan device

2014-02-11 Thread Yijing Wang
Sometimes pci device will be removed and reinsert while suspended. In this case system can not identify the device has been changed. Now PCIe support Device Serial Number Capability which has the unique number. So make system check pci device DSN during scanning device if support. Signed-off-by: Y

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Linus Torvalds
On Tue, Feb 11, 2014 at 5:09 PM, Al Viro wrote: > > Slap the check in vfs_create(), see if interrupts had been disabled by it or > by something in ->create(). Since it's reproducible... path_openat() starts off with a get_empty_filp(), which allocates a file pointer with GFP_KERNEL. So that shou

Re: [PATCH 09/12] hwmon: vexpress: Use devm helper for hwmon device registration

2014-02-11 Thread Guenter Roeck
On Tue, Feb 11, 2014 at 05:10:33PM +, Pawel Moll wrote: > Use devm_hwmon_device_register_with_groups instead of > the old-style manual attributes and hwmon device registration. > [ ... ] > static int vexpress_hwmon_probe(struct platform_device *pdev) > { > - int err; > const stru

[PATCH v3] ARM: tegra: cpuidle: use firmware for power down

2014-02-11 Thread Alexandre Courbot
Attempt to invoke the prepare_idle() and do_idle() firmware calls to power down a CPU so an underlying firmware gets informed of the idle operation and performs it by itself if designed in such a way. Signed-off-by: Alexandre Courbot --- This is the only v3 patch in the series. Changes since v2:

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

2014-02-11 Thread Stephen Rothwell
ppc64_runlatch_on(); ^ Caused by commit d8c6ad3184ca ("sched/idle, PPC: Remove redundant cpuidle_idle_call()"). I have used the tip tree from next-20140210 again today (since next-20140211 was broken differently). -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpfXTCgG6VEo.pgp Description: PGP signature

Re: [PATCH 0/4] hugetlb: add hugepagesnid= command-line option

2014-02-11 Thread Andi Kleen
> The real syntax is hugepagesnid=nid,nr-pages,size. Which looks straightforward > to me. I honestly can't think of anything better than that, but I'm open for > suggestions. hugepages_node=nid:nr-pages:size,... ? -Andi -- a...@linux.intel.com -- Speaking for myself only. -- To unsubscribe fro

Re: [PATCH] Documentation cleanup, update 00-INDEX files in Documentation/

2014-02-11 Thread Paul Gortmaker
On Fri, Jan 31, 2014 at 5:24 PM, Andrew Morton wrote: > On Wed, 29 Jan 2014 22:24:11 -0600 Rob Landley wrote: > >> On 01/29/14 18:27, Henrik Austad wrote: >> > Some of the 00-INDEX files are somewhat outdated and some folders does not >> > contain 00-INDEX at all. Only outdated (with the notably

Re: [PATCH] ACPI / video: Add HP EliteBook Revolve 810 to the blacklist

2014-02-11 Thread Aaron Lu
On 02/07/2014 06:25 PM, Mika Westerberg wrote: > On Fri, Feb 07, 2014 at 09:29:58AM +0800, Aaron Lu wrote: >> On 02/03/2014 06:59 PM, Mika Westerberg wrote: >>> On HP EliteBook Revolve 810 the ACPI backlight device doesn't work as >>> expected. For example when resuming from system sleep, it seems

Re: [PATCH cgroup/for-3.14-fixes] cgroup: protect modifications to cgroup_idr with cgroup_mutex

2014-02-11 Thread Li Zefan
On 2014/2/12 10:15, Li Zefan wrote: > On 2014/2/12 0:26, Michal Hocko wrote: >> On Tue 11-02-14 10:41:05, Tejun Heo wrote: >> [...] >>> @@ -4254,12 +4256,12 @@ static long cgroup_create(struct cgroup *parent, >>> struct dentry *dentry, >>> >>> return 0; >>> >>> -err_unlock: >>> - mutex_u

Re: [PATCH RESEND 3/10] ext4: Add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2014-02-11 Thread Namjae Jeon
2014-02-11 20:59 GMT+09:00, Lukáš Czerner : > On Sun, 2 Feb 2014, Namjae Jeon wrote: > >> Date: Sun, 2 Feb 2014 14:44:34 +0900 >> From: Namjae Jeon >> To: v...@zeniv.linux.org.uk, da...@fromorbit.com, b...@sgi.com, >> ty...@mit.edu, >> adilger.ker...@dilger.ca, j...@suse.cz, mtk.manpa...@gmai

Re: [PATCH 2/3] mfd: vexpress: Convert custom func API to regmap

2014-02-11 Thread Guenter Roeck
On Tue, Feb 11, 2014 at 04:53:29PM +, Pawel Moll wrote: > Components of the Versatile Express platform (configuration > microcontrollers on motherboard and daughterboards in particular) > talk to each other over a custom configuration bus. They > provide miscellaneous functions (from clock gene

Re: [PATCH] x86: fix two sparse warnings in early boot string handling

2014-02-11 Thread David Rientjes
On Tue, 11 Feb 2014, Paul Gortmaker wrote: > > > Fixes: > > > > > > arch/x86/boot/compressed/../string.c:60:14: warning: symbol 'atou' was > > > not declared. Should it be static? > > > arch/x86/boot/string.c:133:6: warning: symbol 'strstr' was not declared. > > > Should it be static? > > > >

Re: [PATCH v2 2/2] of/gpio: Automatically decode OF_GPIO_OPEN_DRAIN and OF_GPIO_OPEN_SOURCE flags in gpiolib.

2014-02-11 Thread Alexandre Courbot
On Wed, Feb 12, 2014 at 4:50 AM, David Daney wrote: > From: David Daney > > Just as gpiod_get() automatically interprets the OF_GPIO_ACTIVE_LOW > flag from the device tree, add handling for OF_GPIO_OPEN_DRAIN and > OF_GPIO_OPEN_SOURCE. > > This keeps the details of handling open-drain GPIOs in th

Re: [PATCH v2 1/2] of/gpio: Define OF_GPIO_OPEN_DRAIN and OF_GPIO_OPEN_SOURCE flags.

2014-02-11 Thread Alexandre Courbot
On Wed, Feb 12, 2014 at 4:49 AM, David Daney wrote: > From: David Daney > > When we have a GPIO pin connected to an open-drain network, we want a > standard way of specifying this in the device tree. So we choose bit > 1 of the flag field to indicate open drain. > > A typical use case would be s

[PATCH v2] Documentation/networking: delete orphaned 3c505.txt file.

2014-02-11 Thread Paul Gortmaker
In the commit 0e245dbaac9fa1c2fd0f4e2af7b9f6d874083a8b ("drivers/net: delete the 3Com 3c505/3c507 intel i825xx support") we clobbered the 3c505 driver (over a year ago) along with other abandoned ISA drivers. However, this orphaned README file escaped detection at that time, and has lived on until

Re: [PATCH] of: Turn of_match_node into a static inline when CONFIG_OF isn't set

2014-02-11 Thread Josh Cartwright
On Tue, Feb 11, 2014 at 05:14:51PM -0600, Rob Herring wrote: > On Tue, Feb 11, 2014 at 3:55 PM, Josh Cartwright wrote: [..] > > Okay, so maybe caching a pointer in the device isn't the best option, > > what if we considered extending the platform_driver callbacks to include > > a set of per-method

[PATCH] init:Fix comment error

2014-02-11 Thread chishanmingshen
fix comment error Signed-off-by: chishanmingshen --- init/do_mounts.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/do_mounts.c b/init/do_mounts.c index 8e5addc..82f2288 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -102,13 +102,13 @@ no_match: /**

Re: [PATCH cgroup/for-3.14-fixes] cgroup: protect modifications to cgroup_idr with cgroup_mutex

2014-02-11 Thread Li Zefan
On 2014/2/12 0:26, Michal Hocko wrote: > On Tue 11-02-14 10:41:05, Tejun Heo wrote: > [...] >> @@ -4254,12 +4256,12 @@ static long cgroup_create(struct cgroup *parent, >> struct dentry *dentry, >> >> return 0; >> >> -err_unlock: >> -mutex_unlock(&cgroup_mutex); >> -/* Release the

Re: [PATCH v4 0/3] ext4: increase mbcache scalability

2014-02-11 Thread Thavatchai Makphaibulchoke
On 01/24/2014 11:09 PM, Andreas Dilger wrote: > I think the ext4 block groups are locked with the blockgroup_lock that has > about the same number of locks as the number of cores, with a max of 128, > IIRC. See blockgroup_lock.h. > > While there is some chance of contention, it is also unlikel

Re: 3.14-mw regression: rtl8169 WARNING: DMA-API: exceeded 7 overlapping mappings of pfn 55ebe

2014-02-11 Thread Dan Williams
rrier=1,errors=remount-ro > [ 101.638559] EXT4-fs (sdb1): mounted filesystem with ordered data mode. > Opts: barrier=1,errors=remount-ro > [ 218.073407] [ cut here ] > [ 218.080983] WARNING: CPU: 5 PID: 0 at lib/dma-debug.c:492 > add_dma_entry+0xf1/0x210(

Re: [PATCH] x86: fix two sparse warnings in early boot string handling

2014-02-11 Thread Paul Gortmaker
[Re: [PATCH] x86: fix two sparse warnings in early boot string handling] On 11/02/2014 (Tue 14:26) David Rientjes wrote: > On Tue, 11 Feb 2014, Paul Gortmaker wrote: > > > Fixes: > > > > arch/x86/boot/compressed/../string.c:60:14: warning: symbol 'atou' was not > > declared. Should it be stati

Re: [PATCH v2 6/6] ARM: tegra: cpuidle: use firmware for power down

2014-02-11 Thread Alexandre Courbot
On 02/12/2014 10:36 AM, Olof Johansson wrote: On Fri, Feb 07, 2014 at 01:35:06PM +0900, Alexandre Courbot wrote: Attempt to invoke the prepare_idle() and do_idle() firmware calls to power down a CPU so an underlying firmware gets informed of the idle operation and performs it by itself if design

Re: [PATCH] cgroup: protect modifications to cgroup_idr with cgroup_mutex

2014-02-11 Thread Li Zefan
On 2014/2/11 18:20, Michal Hocko wrote: > Hi Li, > good work in reproducing the issue so quickly! > I have tried to backport this patch to 3.12 kernel but the code has > changed since then. > The only two instances of idr_remove which are called outside of > cgroup_mutex seem to be: > - cgroup_cre

Re: [PATCH 2/3] jffs2: avoid soft-lockup in jffs2_reserve_space_gc()

2014-02-11 Thread Li Zefan
>> --- a/fs/jffs2/nodemgmt.c >> +++ b/fs/jffs2/nodemgmt.c >> @@ -216,15 +216,20 @@ int jffs2_reserve_space_gc(struct jffs2_sb_info *c, >> uint32_t minsize, >> >> jffs2_dbg(1, "%s(): Requested 0x%x bytes\n", __func__, minsize); >> >> -spin_lock(&c->erase_completion_lock); >> -while

Re: [PATCH v2 0/6] ARM: firmware: improvements to Trusted Foundations support

2014-02-11 Thread Olof Johansson
On Fri, Feb 07, 2014 at 01:35:00PM +0900, Alexandre Courbot wrote: > These (mostly minor) patches fix a few typos, improve points that > were agreed upon when the Trusted Foundation series was initially > submitted, and more importantly add support for a prepare_idle() > firmware operation that inf

Re: [PATCH v2 6/6] ARM: tegra: cpuidle: use firmware for power down

2014-02-11 Thread Olof Johansson
On Fri, Feb 07, 2014 at 01:35:06PM +0900, Alexandre Courbot wrote: > Attempt to invoke the prepare_idle() and do_idle() firmware calls > to power down a CPU so an underlying firmware gets informed of > the idle operation and performs it by itself if designed in such a way. > > Signed-off-by: Alexa

Re: [PATCH] disable kaslr in kdump kernel

2014-02-11 Thread Dave Young
On 02/11/14 at 08:16am, Vivek Goyal wrote: > On Tue, Feb 11, 2014 at 06:08:38PM +0800, Dave Young wrote: > > > > KASLR does not work in kdump kernel because it's too early that mem=exactmap > > has not been parsed. > > > > Since KASLR does not make much sense for kdump kernel thus let's disable i

[RFC/PATCH 0/3] Add devicetree scanning for randomness

2014-02-11 Thread Laura Abbott
Hi, This is an RFC to seed the random number pool earlier when using devicetree. The big issue this is trying to solve is the fact that the stack canary for ARM tends to be the same across bootups of the same device. This is because the random number pools do not get initialized until after the ca

[RFC/PATCH 3/3] init: Move stack canary initialization after setup_arch

2014-02-11 Thread Laura Abbott
Stack canary intialization involves getting a random number. Getting this random number may involve accessing caches or other architectural specific features which are not available until after the architecture is setup. Move the stack canary initialization later to accomodate this. Signed-off-by:

[RFC/PATCH 1/3] of: Add early randomness hooks

2014-02-11 Thread Laura Abbott
Until randomness is added to the kernel's pools, random numbers returned may not be truly 'random'. Randomness comes from a variety of sources in the kernel but much of the randomness comes from device related initialization. This means that any random numbers that are needed before drivers are ini

[RFC/PATCH 2/3] arm: Add ARCH_WANT_OF_RANDOMNESS

2014-02-11 Thread Laura Abbott
The stack canary for ARM is currently the same across reboots due to lack of randomness early enough. Add ARCH_WANT_OF_RANDOMNESS to allow devices to add whatever randomness they need. Signed-off-by: Laura Abbott --- arch/arm/Kconfig |3 +++ arch/arm/kernel/vmlinux.lds.S |1

[PATCH 1/2] regulator: gpio: print warning if gpios <-> gpios-states mismatch on DT

2014-02-11 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- drivers/regulator/gpio-regulator.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c index ac3a8c7..5491cee 100644 --- a/drivers/regulator/g

[PATCH 2/2] regulator: gpio: explain detail of gpios-states

2014-02-11 Thread Kuninori Morimoto
From: Kuninori Morimoto gpios-states is array, and default is 0 Signed-off-by: Kuninori Morimoto --- .../bindings/regulator/gpio-regulator.txt |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt b/Doc

Re: [PATCH] pci: Makefile: Cleanup per-arch list of object files

2014-02-11 Thread Bjorn Helgaas
On Mon, Feb 03, 2014 at 05:38:36PM +, Liviu Dudau wrote: > setup-bus.o is now included unconditionally as of commit > 7dc30303342562685392c8c7aa5194e98fd27625. Remove it from > the per-arch list of object files. > > Signed-off-by: Liviu Dudau Applied to pci/misc for v3.15, thanks! Bjorn >

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Al Viro
On Tue, Feb 11, 2014 at 07:44:03PM -0500, Dave Jones wrote: > The 'good' news is I seem to be able to reproduce it fairly quickly. > I've seen it 3-4 times this afternoon. (Always from the coredump path) > > I was on vacation last week, but I wasn't hitting this before then, so it's a > fairly re

Re: [PATCH 2/3] jffs2: avoid soft-lockup in jffs2_reserve_space_gc()

2014-02-11 Thread Brian Norris
Hi Andrew, On Tue, Feb 11, 2014 at 3:54 PM, Andrew Morton wrote: > On Sat, 8 Feb 2014 10:15:39 +0800 Li Zefan wrote: > I now have four jffs2 bugfixes but cannot unload them on anyone. > Waddup? Well, at best we have 3 "maintainers" involved in MTD (David, Artem, and me), but David is often quit

Re: [PATCH v4 0/3] ext4: increase mbcache scalability

2014-02-11 Thread Thavatchai Makphaibulchoke
On 01/28/2014 02:09 PM, Andreas Dilger wrote: > On Jan 28, 2014, at 5:26 AM, George Spelvin wrote: >>> The third part of the patch further increases the scalablity of an ext4 >>> filesystem by having each ext4 fielsystem allocate and use its own private >>> mbcache structure, instead of sharing a

Re: [PATCH] pci: fix kernel-doc notation warning

2014-02-11 Thread Bjorn Helgaas
On Sun, Feb 02, 2014 at 07:02:24PM -0800, Randy Dunlap wrote: > From: Randy Dunlap > > Fix a "blank" kernel-doc line to have an asterisk instead of > being totally empty. This fixes the kernel-doc warning: > > Warning(drivers/pci/msi.c:962): bad line: > > Signed-off-by: Randy Dunlap I appli

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Dave Jones
On Tue, Feb 11, 2014 at 03:49:14PM -0600, Eric Sandeen wrote: > On 2/11/14, 3:08 PM, Dave Chinner wrote: > > On Tue, Feb 11, 2014 at 12:27:07PM -0500, Dave Jones wrote: > >> BUG: sleeping function called from invalid context at mm/mempool.c:203 > >> in_atomic(): 0, irqs_disabled(): 1, pid: 2751

Re: [process_vm_access] BUG: unable to handle kernel paging request at fffffff27b92dd20

2014-02-11 Thread Al Viro
On Tue, Feb 11, 2014 at 04:27:45PM -0800, Andrew Morton wrote: > On Mon, 10 Feb 2014 19:22:31 +0800 Fengguang Wu > wrote: > > > We noticed the below oops since commit > > 68a25f08c9bec07ad95e55a01b127168e43aed84 > > ("process_vm_access: take get_user_pages/put_pages one level up") > > while run

Re: [PATCH] staging: r8188eu: default to "y" in Kconfig

2014-02-11 Thread Paul Bolle
On Wed, 2014-02-12 at 01:25 +0100, Paul Bolle wrote: > (Greg, is it too late to add this tag in your queue?) Greg already did! It was "USB: ELAN: Remove useless "default M" lines" that lacks a Reported-by: tag. Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel

Re: [PATCH] sh: sh7757: switch RSPI clock to dev ID match

2014-02-11 Thread Shimoda, Yoshihiro
Hi Geert-san, (2014/02/07 21:45), Geert Uytterhoeven wrote: > On Sun, Jan 12, 2014 at 11:30 AM, Geert Uytterhoeven > wrote: >> From: Geert Uytterhoeven >> >> Switch the RSPI MSTP clock on SH7757 from a con ID match to a dev ID >> match, so we can start looking it up using clk_get() with a NULL I

qib_lookup_qpn() appears to leak pointer out of rcu_read_unlock()

2014-02-11 Thread Paul E. McKenney
Hello! The qib_lookup_qpn() function does RCU pointer traversals within RCU read-side critical sections as required, but the qp pointer is returned from this function after it does rcu_read_unlock(). One of the callers, qib_rcv_hdrerr(), dereferences this pointer upon return. This appears to me

Re: [PATCH 1/3] ath10k: Get rid of superfluous call to pci_disable_msi()

2014-02-11 Thread Bjorn Helgaas
On Wed, Feb 05, 2014 at 10:54:37AM +0200, Kalle Valo wrote: > Alexander Gordeev writes: > > > On Wed, Feb 05, 2014 at 10:21:28AM +0200, Kalle Valo wrote: > >> Is it ok for me to take these patches to my ath.git tree or would you > >> prefer to route them some other way? > > > > Yeah, Bjorn has in

Re: [question] how to figure out OOM reason? should dump slab/vmalloc info when OOM?

2014-02-11 Thread David Rientjes
On Tue, 11 Feb 2014, Jianguo Wu wrote: > Thanks for your kindly explanation, do you have any specific plans on this? > We're going to be discussing it at the LSF/mm conference at the end of March. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

Re: [process_vm_access] BUG: unable to handle kernel paging request at fffffff27b92dd20

2014-02-11 Thread Andrew Morton
On Mon, 10 Feb 2014 19:22:31 +0800 Fengguang Wu wrote: > We noticed the below oops since commit > 68a25f08c9bec07ad95e55a01b127168e43aed84 > ("process_vm_access: take get_user_pages/put_pages one level up") > while running ltp tests inside kvm. I can't find this patch anywhere. Where did it co

Re: [PATCH] staging: r8188eu: default to "y" in Kconfig

2014-02-11 Thread Paul Bolle
On Wed, 2014-02-12 at 01:09 +0100, Martin Walch wrote: > On Tuesday 11 February 2014 13:31:32 Paul Bolle wrote: > > This patch also deserves a > > Reported-by: Martin Walch > > > > line, but that apparently requires Martin's permission. > > I would be happy. It seems I interpreted the requi

Re: [PATCH] staging: r8188eu: default to "y" in Kconfig

2014-02-11 Thread Martin Walch
On Tuesday 11 February 2014 13:31:32 Paul Bolle wrote: > This patch also deserves a > Reported-by: Martin Walch > > line, but that apparently requires Martin's permission. I would be happy. And I am sorry for not sending patches myself. As I expect to find some more issues in Kconfig files s

[PATCH 3/3] regulator: ti-abb-regulator: do not open-code counting and access of dt array elements

2014-02-11 Thread Heiko Stübner
From: Heiko Stuebner Open coding the counting of elements in a dt-property is abstracted by the newly introduced of_property_count_uXX_elems functions. Additionally the raw iteration over the states element exposes the endian conversion and dtb-format details, which according to Mark Rutland "wou

[PATCH 2/3] regulator: gpio-regulator: do not open-code counting and access of dt array elements

2014-02-11 Thread Heiko Stübner
From: Heiko Stuebner Open coding the counting of elements in a dt-property is abstracted by the newly introduced of_property_count_uXX_elems functions. Additionally the raw iteration over the states element exposes the endian conversion and dtb-format details, which according to Mark Rutland "wou

[PATCH 1/3] of: add functions to count number of elements in a property

2014-02-11 Thread Heiko Stübner
From: Heiko Stuebner The need to know the number of array elements in a property is a common pattern. To prevent duplication of open-coded implementations add a helper static function that also centralises strict sanity checking and DTB format details, as well as a set of wrapper functions for u8

[PATCH 0/3] of: functions to count number of elements and convert regulators

2014-02-11 Thread Heiko Stübner
In a different thread [0] Mark Rutland suggested that drivers should not repeatedly open-code the counting of array elements in a property as well as handling the format and endianes of the DTB, as these should be limited to the of_ helper functions. Therefore the first patch introduces a set of h

n_tty: Simplify input_available_p()

2014-02-11 Thread Peter Hurley
Greg, Please note this patch requires n_tty: Fix poll() when TIME_CHAR and MIN_CHAR == 0 Regards, Peter Hurley --- >% --- From: Peter Hurley Date: Tue, 11 Feb 2014 10:19:14 -0500 Subject: [PATCH] n_tty: Simplify input_available_p() Return the result of the respective boolean evaluation, rat

Re: [PATCH 2/3] jffs2: avoid soft-lockup in jffs2_reserve_space_gc()

2014-02-11 Thread Andrew Morton
On Sat, 8 Feb 2014 10:15:39 +0800 Li Zefan wrote: > We triggered soft-lockup under stress test on 2.6.34 kernel. > > BUG: soft lockup - CPU#1 stuck for 60009ms! [lockf2.test:14488] > ... > [] (jffs2_do_reserve_space+0x420/0x440 [jffs2]) > [] (jffs2_reserve_space_gc+0x34/0x78 [jffs2]) > [] (jffs2

[PATCH] perf, nmi: fix unknown NMI warning

2014-02-11 Thread Andi Kleen
From: Markus Metzger [From Markus, just sending for him because he had problems with his mail] When using BTS on Core i7-4*, I get the below kernel warning. $ perf record -c 1 -e branches:u ls Message from syslogd@labpc1501 at Nov 11 15:49:25 ... kernel:[ 438.317893] Uhhuh. NMI received for u

[PATCH] ACPI / container: Fix error code path in container_device_attach()

2014-02-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki To avoid leaking memory on errors from device_register(), do a put_device() on the device object in question in the error code path of container_device_attach(). Fixes: caa73ea158de (ACPI / hotplug / driver core: Handle containers in a special way) Signed-off-by: Rafael

Re: [BUG] can't boot up: unable to handle kernel paging request at ffffffffff340003

2014-02-11 Thread Rafael J. Wysocki
On Tuesday, February 11, 2014 02:18:46 PM Matt Fleming wrote: > (Entering the realm of ACPI, pulling in more folks) > > On Tue, 11 Feb, at 09:47:57PM, Madper Xie wrote: > > Thanks for your reply. I attached the all the dmesg outputs for you. > > [0.00] ACPI: BGRT d9bb5100 3C (v

Re: 3.12: ethernet controller missing after resuming from suspend to RAM

2014-02-11 Thread Rafael J. Wysocki
On Tuesday, February 11, 2014 07:17:37 PM Peter Wu wrote: > On Tuesday 11 February 2014 12:42:37 Mika Westerberg wrote: > > On Mon, Feb 10, 2014 at 11:39:29PM +0100, Rafael J. Wysocki wrote: > > > > _STA() returns 0x0A instead of 0x0F. Could there be something missing in > > > > the ACPI hotplug co

Re: [PATCH 1/1] kernel: panic: display reason at end + pr_emerg

2014-02-11 Thread Andrew Morton
On Sat, 8 Feb 2014 15:45:22 +0800 Fabian Frederick wrote: > Currently, booting without initrd specified on 80x25 screen > gives a call trace followed by atkbd : Spurious ACK. > Original message ("VFS: Unable to mount root fs") is not available. > Of course this could happen in other situations...

[PATCH] staging/rtl8821ae: fix build, depends on MAC80211

2014-02-11 Thread Randy Dunlap
irqsafe" [drivers/staging/rtl8821ae/rtl8821ae.ko] undefined! Signed-off-by: Randy Dunlap --- drivers/staging/rtl8821ae/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20140211.orig/drivers/staging/rtl8821ae/Kconfig +++ linux-next-20140211/drivers/staging/rtl8

Re: [PATCH] PCI: pciehp: Remove surprise bit checks

2014-02-11 Thread Bjorn Helgaas
On Tue, Feb 11, 2014 at 06:52:30PM +, Rajat Jain wrote: > Hello Takashi, > > > -Original Message- > > From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci- > > ow...@vger.kernel.org] On Behalf Of Takashi Iwai > > Sent: Tuesday, February 11, 2014 3:39 AM > > To: Bjorn Helgaas > > Cc:

Re: [PATCH] of: Turn of_match_node into a static inline when CONFIG_OF isn't set

2014-02-11 Thread Rob Herring
On Tue, Feb 11, 2014 at 3:55 PM, Josh Cartwright wrote: > On Tue, Feb 11, 2014 at 03:30:33PM -0600, Rob Herring wrote: >> On Tue, Feb 11, 2014 at 12:29 PM, Geert Uytterhoeven >> wrote: >> > On Tue, Feb 11, 2014 at 7:08 PM, Josh Cartwright >> > wrote: >> >> It sure would be convenient if platfor

Re: [PATCH v5 19/22] ext4: Add XIP functionality

2014-02-11 Thread Ross Zwisler
On Wed, 15 Jan 2014, Matthew Wilcox wrote: > From: Ross Zwisler > > This is a port of the XIP functionality found in the current version of > ext2. > > Signed-off-by: Ross Zwisler > Reviewed-by: Andreas Dilger > [heavily tweaked] > Signed-off-by: Matthew Wilcox ... > diff --git a/fs/ext4/in

Re: [PATCH 1/2] kobject: don't block for each kobject_uevent

2014-02-11 Thread Andrew Morton
On Sun, 9 Feb 2014 14:56:15 +0400 Vladimir Davydov wrote: > Currently kobject_uevent has somewhat unpredictable semantics. The point > is, since it may call a usermode helper and wait for it to execute > (UMH_WAIT_EXEC), it is impossible to say for sure what lock dependencies > it will introduce

Re: [PATCH] power: reset: msm - switch Kconfig to ARCH_QCOM depends

2014-02-11 Thread Dmitry Eremin-Solenikov
On Wed, Feb 12, 2014 at 12:22 AM, Kumar Gala wrote: > We've split Qualcomm MSM support into legacy and multiplatform. The reset > driver is only relevant on the multiplatform supported SoCs so switch the > Kconfig depends to ARCH_QCOM. > > Signed-off-by: Kumar Gala Acked-by: Dmitry Eremin-Solen

Re: 3.14-mw regression: rtl8169 WARNING: DMA-API: exceeded 7 overlapping mappings of pfn 55ebe

2014-02-11 Thread Sander Eikelenboom
>> [ 76.128678] EXT4-fs (dm-43): mounted filesystem with ordered data mode. >> Opts: barrier=1,errors=remount-ro >> [ 82.922836] EXT4-fs (dm-44): mounted filesystem with ordered data mode. >> Opts: barrier=1,errors=remount-ro >> [ 89.232889] EXT4-fs (dm-45): mounted filesystem w

Re: [PATCH v2] mm/zswap: add writethrough option

2014-02-11 Thread Dan Streetman
On Mon, Feb 10, 2014 at 6:06 PM, Andrew Morton wrote: > On Mon, 10 Feb 2014 14:05:14 -0500 Dan Streetman wrote: > >> > >> > It does sound like the feature is of marginal benefit. Is "zswap >> > filled up" an interesting or useful case to optimize? >> > >> > otoh the addition is pretty simple and

Re: [PATCH 19/21] fs: Add prototype declaration to header file include/linux/syscalls.h

2014-02-11 Thread Andrew Morton
On Sun, 9 Feb 2014 18:58:34 +0530 Rashika Kheria wrote: > Subject: [PATCH 19/21] fs: Add prototype declaration to header file > include/linux/syscalls.h The subjects are pretty meaningless - this really isn't an "fs" patch. I'll rewrite it to Subject: include/linux/syscalls.h: add sys32_quot

Re: [RFT][PATCH v2] mmc: change cb710-mmc platform power management to use dev_pm_ops

2014-02-11 Thread Ulf Hansson
On 11 February 2014 21:16, Shuah Khan wrote: > Change cb710-mmc platform driver to register pm ops using dev_pm_ops instead > of legacy pm_ops. The existing legacy suspend/resume routines are identical > and simply clear IRQ mask in the device in case it got undefined during sleep > state. Changed

[PATCH] checkpatch: Add checks for constant non-octal permissions

2014-02-11 Thread Joe Perches
umode_t permissions are sometimes mistakenly written with decimal constants. Verify that numeric permissions are using octal. Add a list of the most commonly used functions and macros that have umode_t permissions and the argument position. Add a $Octal type to $Constant. Allow $LvalOrFunc to be

Re: [BUG] Linux 3.14 fails to boot with new EFI changes

2014-02-11 Thread Borislav Petkov
On Tue, Feb 11, 2014 at 04:19:03PM -0600, Alex Thorlton wrote: > Have there been any developments on this since last week, Boris? Just > trying to make sure that we stay in the loop on this issue. > > Let me know if there's anything else we can do from our end to help > expedite the process. I'm al

Re: [PATCH 21/21] fs: Move prototype declaration to appropriate header file

2014-02-11 Thread Andrew Morton
On Sun, 9 Feb 2014 19:03:54 +0530 Rashika Kheria wrote: > Move prototype declaration to header file include/linux/crash_dump.h It adds a prototype rather than moving it. > because it is used by more than file. True, but you didn't notice the second user ;) > --- a/include/linux/crash_dump.h

Re: [PATCH v5 8/8] Allow Link state changes for Hot-Plug

2014-02-11 Thread Bjorn Helgaas
On Mon, Feb 10, 2014 at 7:22 PM, Rajat Jain wrote: > Today it is there is no protection around pciehp_enable_slot() and > pciehp_disable_slot() to ensure that they complete before another > hot-plug operation can be done on that particular slot. > > This patch introduces the slot->hotplug_lock to

Re: Too many rescheduling interrupts (still!)

2014-02-11 Thread Andy Lutomirski
On Tue, Feb 11, 2014 at 1:21 PM, Thomas Gleixner wrote: > On Tue, 11 Feb 2014, Andy Lutomirski wrote: > > Just adding Peter for now, as I'm too tired to grok the issue right > now. > >> Rumor has it that Linux 3.13 was supposed to get rid of all the silly >> rescheduling interrupts. It doesn't, a

Re: [PATCH] nfsd4: fix acl buffer overrun

2014-02-11 Thread J. Bruce Fields
On Tue, Feb 11, 2014 at 12:25:48PM -0800, Christoph Hellwig wrote: > Looks good and sorry for the regression. Well, my fault for not reviewing the patch, I saw it and didn't give it more than a skim. Not sure I would have caught that, though. The only thing I can think of that might have made it

Re: [PATCH 3.8 070/124] x86: Add check for number of available vectors before CPU down

2014-02-11 Thread Kamal Mostafa
On Mon, 2014-02-10 at 19:50 -0500, Prarit Bhargava wrote: > > On 02/10/2014 02:40 PM, Kamal Mostafa wrote: > > 3.8.13.18 -stable review patch. If anyone has any objections, please let > > me know. > > > > There are some additional fixes required in this code. I'll push a stable > request when

Re: [PATCH] x86: fix two sparse warnings in early boot string handling

2014-02-11 Thread David Rientjes
On Tue, 11 Feb 2014, Paul Gortmaker wrote: > Fixes: > > arch/x86/boot/compressed/../string.c:60:14: warning: symbol 'atou' was not > declared. Should it be static? > arch/x86/boot/string.c:133:6: warning: symbol 'strstr' was not declared. > Should it be static? > > The atou one could be consid

[PATCHv3 2/4] zram: use zram_comp compressing backends

2014-02-11 Thread Sergey Senozhatsky
Do not perform direct LZO compress/decompress calls, initialise and use zram_comp LZO backend instead. Signed-off-by: Sergey Senozhatsky --- drivers/block/zram/Makefile | 2 +- drivers/block/zram/zram_drv.c | 62 +++ drivers/block/zram/zram_drv.h | 8 +

[PATCHv3 0/4] add compression backend abstraction

2014-02-11 Thread Sergey Senozhatsky
This patchset introduces zram_comp compression backend abstraction adding ability to support compression algorithms other than LZO, and support for multi buffers, making parallel compressions possible. Sergey Senozhatsky (4): zram: introduce compressing backend abstraction zram: use zram_comp

[PATCHv3 3/4] zram: support multi compressing buffers

2014-02-11 Thread Sergey Senozhatsky
1) Extend zram_comp zcomp_create() with `num_wm' parameter. `num_wm' limits the number of workmem structs in compression backend's idle list (max buffers). 2) Introduce zram device attribute max_buffers to show and store current device's zram_comp max number (num_wm) of workmems. Usage example:

[PATCHv3 1/4] zram: introduce compressing backend abstraction

2014-02-11 Thread Sergey Senozhatsky
ZRAM performs direct LZO compression algorithm calls, making it the one and only option. Introduce abstract struct zram_comp in order to support multiple compression algorithms. struct zram_comp defines the following set of compressing backend operations: .create .destroy .c

[PATCHv3 4/4] zram: document max_buffers

2014-02-11 Thread Sergey Senozhatsky
Add max_buffers device attribute documentation. Signed-off-by: Sergey Senozhatsky --- Documentation/ABI/testing/sysfs-block-zram | 9 - Documentation/blockdev/zram.txt| 21 - 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/Documentation/AB

Re: [BUG] Linux 3.14 fails to boot with new EFI changes

2014-02-11 Thread Alex Thorlton
On Thu, Feb 06, 2014 at 12:15:40AM +0100, Borislav Petkov wrote: > On Wed, Feb 05, 2014 at 03:45:36PM -0600, Alex Thorlton wrote: > > While working on an answer to this question, I ran across another issue > > on some newer hardware, that looks like it's definitely related to this > > problem, and

[PATCH] intel_pstate: deinline largish functions

2014-02-11 Thread Denys Vlasenko
No need to manually inline one-use functions, gcc does it automatically. intel_pstate_busy_pid_reset() and intel_pstate_sample() aren't one-use and expand into ~200 and ~400 bytes of duplicated code. Result of this change: textdata bss dec hex filename 6073 517 104

Re: [PATCH] ipc,mqueue: remove limits for the amount of system-wide queues

2014-02-11 Thread Andrew Morton
On Sun, 09 Feb 2014 13:06:03 -0800 Davidlohr Bueso wrote: > From: Davidlohr Bueso > > Commit 93e6f119 (ipc/mqueue: cleanup definition names and locations) added > global hardcoded limits to the amount of message queues that can be created. > While these limits are per-namespace, reality is that

RE: [PATCH v5 1/1] watchdog: Add tegra watchdog

2014-02-11 Thread Andrew Chew
> On 02/06/2014 05:54 PM, Andrew Chew wrote: > > Add a driver for the hardware watchdogs in NVIDIA Tegra SoCs (Tegra30 > > and later). This driver will configure one watchdog timer that will > > reset the system in the case of a watchdog timeout. > > > > This driver binds to the nvidia,tegra30-tim

Re: [PATCH v5 1/1] drm/i915: Add 180 degree primary plane rotation support

2014-02-11 Thread Daniel Vetter
On Tue, Feb 11, 2014 at 11:59 AM, wrote: > From: Sagar Kamble > > Primary planes support 180 degree rotation. Expose the feature > through rotation drm property. > > v2: Calculating linear/tiled offsets based on pipe source width and > height. Added 180 degree rotation support in ironlake_update

Re: [PATCH V4 2/3] tick/cpuidle: Initialize hrtimer mode of broadcast

2014-02-11 Thread Daniel Lezcano
On 02/11/2014 05:09 PM, Preeti U Murthy wrote: Hi Daniel, Thank you very much for the review. On 02/11/2014 03:46 PM, Daniel Lezcano wrote: On 02/07/2014 09:06 AM, Preeti U Murthy wrote: From: Thomas Gleixner On some architectures, in certain CPU deep idle states the local timers stop. An e

Re: [PATCH 01/28] Remove CPU_MMP3

2014-02-11 Thread Paul Bolle
On Tue, 2014-02-11 at 13:30 -0800, Greg Kroah-Hartman wrote: > On Sun, Feb 09, 2014 at 07:47:39PM +0100, Richard Weinberger wrote: > > The symbol is an orphan, get rid of it. > > > > Signed-off-by: Richard Weinberger > > Acked-by: Paul Bolle > > > > --- > > drivers/usb/phy/Kconfig | 1 - >

Re: [PATCH V4 2/3] tick/cpuidle: Initialize hrtimer mode of broadcast

2014-02-11 Thread Daniel Lezcano
On 02/11/2014 04:58 PM, Thomas Gleixner wrote: On Tue, 11 Feb 2014, Daniel Lezcano wrote: On 02/07/2014 09:06 AM, Preeti U Murthy wrote: Setting the smp affinity on the earliest timer should be handled automatically with the CLOCK_EVT_FEAT_DYNIRQ flag. Did you look at using this flag ? How sho

setproctitle()

2014-02-11 Thread Ruslan Kuprieiev
Hello everyone! I'm wondering, what is the status of setproctitle() for linux? Best regards, Ruslan -- 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 http://vger.kernel.org/majordomo-info.html

Re: [PATCH] of: Turn of_match_node into a static inline when CONFIG_OF isn't set

2014-02-11 Thread Josh Cartwright
On Tue, Feb 11, 2014 at 03:30:33PM -0600, Rob Herring wrote: > On Tue, Feb 11, 2014 at 12:29 PM, Geert Uytterhoeven > wrote: > > On Tue, Feb 11, 2014 at 7:08 PM, Josh Cartwright > > wrote: > >> It sure would be convenient if platform_device had a 'const struct > >> of_device_id *of_id_entry' mem

Re: [PATCH v2] [media] of: move graph helpers from drivers/media/v4l2-core to drivers/media

2014-02-11 Thread Mauro Carvalho Chehab
Em Tue, 11 Feb 2014 22:41:45 +0100 Philipp Zabel escreveu: > From: Philipp Zabel > > This patch moves the parsing helpers used to parse connected graphs > in the device tree, like the video interface bindings documented in > Documentation/devicetree/bindings/media/video-interfaces.txt, from > d

Re: [RFC 2/2] xen-netback: disable multicast and use a random hw MAC address

2014-02-11 Thread Luis R. Rodriguez
Cc'ing kvm folks as they may have a shared interest on the shared physical case with the bridge (non NAT). On Tue, Feb 11, 2014 at 12:43 AM, Ian Campbell wrote: > On Mon, 2014-02-10 at 14:29 -0800, Luis R. Rodriguez wrote: >> From: "Luis R. Rodriguez" >> >> Although the xen-netback interfaces do

Re: [PATCH 5/5] idle: Add more comments to the code

2014-02-11 Thread Daniel Lezcano
On 02/11/2014 06:51 PM, Nicolas Pitre wrote: On Tue, 11 Feb 2014, Daniel Lezcano wrote: The idle main function is a complex and a critical function. Added more comments to the code. Signed-off-by: Daniel Lezcano Few questions below. In any case,: Acked-by: Nicolas Pitre Thanks for the

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