regression: 3a878c430fd6 ("tty: serial: msm: Add TX DMA support") drops data

2016-04-19 Thread Frank Rowand
Hi Ivan, It appears that I have found a regression caused by 3a878c430fd6 ("tty: serial: msm: Add TX DMA support"). When I cat a file slightly larger than 126000 bytes on the console, viewed via minicom connected to the serial port, I am losing random chunks of data, almost always three bytes in

RE: [PATCH 2/2 v2] arm64: dts: ls2080a: fsl-mc dt node updates

2016-04-19 Thread Stuart Yoder
> -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Sunday, April 17, 2016 9:56 PM > To: Stuart Yoder > Cc: devicet...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > german.riv...@freescale.com; > linux-kernel@vger.kernel.org; robh...@kernel.org; Yang-L

Re: [PATCH 14/16] vfs: Implement mount_super_once

2016-04-19 Thread Linus Torvalds
On Tue, Apr 19, 2016 at 11:22 AM, Eric W. Biederman wrote: > Linus Torvalds writes: >> >> No. >> >> We want to get *rid* of the idiotic "primary instance" crap. > > That is actually pretty much the opposite of what you said last time, > but having looked at the cost to maintian a "primary instanc

Re: [PATCH 01/16] devpts: Attempting to get it right

2016-04-19 Thread Linus Torvalds
On Tue, Apr 19, 2016 at 3:06 PM, Eric W. Biederman wrote: > > I have work inspired by this rolled into my code. I will post shortly > after a little more testing. Actually, I have a slightly fixed version in my tree. I've been running this on my own machines for a few days, just to verify, along

Re: [PATCH v2 1/1] drivers: net: cpsw: Prevent NUll pointer dereference with two PHYs

2016-04-19 Thread David Rivshin (Allworx)
On Tue, 19 Apr 2016 18:43:39 -0400 (EDT) David Miller wrote: > From: Grygorii Strashko > Date: Tue, 19 Apr 2016 21:44:09 +0300 > > > May be you can send revert + your patch 1 (only fix for this issue). > > > > Dave, Does that sound good to you? > > Sure. OK, I will hopefully have that read

[BUG linux-next] Kernel panic found with linux-next-20160414

2016-04-19 Thread Shi, Yang
Hi folks, When I ran ltp on linux-next-20160414 on my ARM64 machine, I got the below kernel panic: Unable to handle kernel paging request at virtual address ffc007846000 pgd = ffc01e21d000 [ffc007846000] *pgd=, *pud= Internal error: Oops: 9647 [#

Re: Does anyone care about a race free ptsname?

2016-04-19 Thread H. Peter Anvin
On 04/19/2016 04:23 PM, Linus Torvalds wrote: > On Tue, Apr 19, 2016 at 11:44 AM, Eric W. Biederman > wrote: >> >> I will take a look in a minute. Before I do that I want to mention >> why I care about /dev/pts/ptmx. >> >> There is a posix function that is widely used called ptsname. It's >> fu

Re: [PATCHv7 00/29] THP-enabled tmpfs/shmem using compound pages

2016-04-19 Thread Shi, Yang
On 4/19/2016 9:50 AM, Andrea Arcangeli wrote: Hello, On Mon, Apr 18, 2016 at 03:55:44PM -0700, Shi, Yang wrote: Hi Kirill, Finally, I got some time to look into and try yours and Hugh's patches, got two problems. One thing that come to mind to test is this: qemu with -machine accel=kvm -mem-

Re: [PATCH 0/2] PCI: Skylake PCH ACS quirks

2016-04-19 Thread Bjorn Helgaas
On Thu, Mar 31, 2016 at 04:34:26PM -0600, Alex Williamson wrote: > Intel Skylake systems attempted to implement ACS on the PCH root > ports, but it came out a wee bit off. As noted in the second patch > and the datasheets from Intel, dwords were used for the ACS > capability and control words, so

Re: [BUG] machine check Oops on Alpha

2016-04-19 Thread Bob Tracy
On Mon, Apr 18, 2016 at 09:52:43PM -0500, Bob Tracy wrote: > 4.6.0-rc4 build complete, including suggested (by Alan Young) "Verbose > Machine Checks" option set to level 2 by default. System rebooted, and > now we wait... Thanks for everyone's continued patience. Within three minutes of rebootin

Re: [PATCH] net/mlx4_en: allocate non 0-order pages for RX ring with __GFP_NOMEMALLOC

2016-04-19 Thread David Miller
From: Konstantin Khlebnikov Date: Mon, 18 Apr 2016 14:33:54 +0300 > High order pages are optional here since commit 51151a16a60f ("mlx4: allow > order-0 memory allocations in RX path"), so here is no reason for depleting > reserves. Generic __netdev_alloc_frag() implements the same logic. > > Si

Re: [PATCH] net/mlx4_en: do batched put_page using atomic_sub

2016-04-19 Thread David Miller
From: Konstantin Khlebnikov Date: Mon, 18 Apr 2016 14:34:05 +0300 > This patch fixes couple error paths after allocation failures. > Atomic set of page reference counter is safe only if it is zero, > otherwise set can race with any speculative get_page_unless_zero. > > Signed-off-by: Konstantin

Re: [PATCH] cls_cgroup: get sk_classid only from full sockets

2016-04-19 Thread David Miller
From: Konstantin Khlebnikov Date: Mon, 18 Apr 2016 14:37:10 +0300 > skb->sk could point to timewait or request socket which has no sk_classid. > Detected as "BUG: KASAN: slab-out-of-bounds in cls_cgroup_classify". > > Signed-off-by: Konstantin Khlebnikov Applied, thank you.

Re: [PATCH 2/2] net/ipv6/addrconf: fix sysctl table indentation

2016-04-19 Thread David Miller
From: Konstantin Khlebnikov Date: Mon, 18 Apr 2016 14:41:17 +0300 > Separated from previous patch for readability. > > Signed-off-by: Konstantin Khlebnikov Applied.

Re: [PATCH 1/2] net/ipv6/addrconf: simplify sysctl registration

2016-04-19 Thread David Miller
From: Konstantin Khlebnikov Date: Mon, 18 Apr 2016 14:41:10 +0300 > Struct ctl_table_header holds pointer to sysctl table which could be used > for freeing it after unregistration. IPv4 sysctls already use that. > Remove redundant NULL assignment: ndev allocated using kzalloc. > > This also save

[PATCH v3 2/2] phy: phy-mt65xx-usb3: add support for mt2701 platform

2016-04-19 Thread Chunfeng Yun
Add a new OF device ID for mt2701 Some register settings to avoid RX sensitivity level degradation which may arise on mt8173 platform are separated from other platforms. Signed-off-by: Chunfeng Yun --- drivers/phy/Kconfig |5 ++- drivers/phy/phy-mt65xx-usb3.c | 77 ++

[PATCH v3 1/2] dt-bindings: phy-mt65xx-usb: add support for mt2701 platform

2016-04-19 Thread Chunfeng Yun
Add a new compatible string for "mt2701" Signed-off-by: Chunfeng Yun Reviewed-by: Matthias Brugger --- .../devicetree/bindings/phy/phy-mt65xx-usb.txt |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/phy-mt65xx-usb.txt b/Documen

Re: [PATCH v2 0/1] drivers: net: cpsw: Fix NULL pointer dereference with two slave PHYs

2016-04-19 Thread David Miller
From: Andrew Goodbody Date: Mon, 18 Apr 2016 14:53:25 +0100 > This is a fix for a NULL pointer dereference from cpsw which is triggered > by having two slave PHYs attached to a cpsw network device. The problem is > due to only maintaining a single reference to a PHY node in the prive data > which

Re: [PATCH 2/5] arcnet: com90xx: add __init attribute

2016-04-19 Thread David Miller
From: Julia Lawall Date: Mon, 18 Apr 2016 16:55:35 +0200 > Add __init attribute on a function that is only called from other __init > functions and that is not inlined, at least with gcc version 4.8.4 on an > x86 machine with allyesconfig. Currently, the function is put in the > .text.unlikely s

Re: Does anyone care about a race free ptsname?

2016-04-19 Thread Linus Torvalds
On Tue, Apr 19, 2016 at 4:39 PM, H. Peter Anvin wrote: > > What do you think of the idea of TIOCPTSOPEN (or whatever) to get a file > descriptor for the slave device given the master device? Then we can > use realpath() or a readlink on /proc/self/fd/# to get the pathname if > needed. That sound

Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API

2016-04-19 Thread Jayachandran C
On Wed, Apr 20, 2016 at 3:10 AM, Arnd Bergmann wrote: > On Friday 15 April 2016 19:06:43 Tomasz Nowicki wrote: >> From: Jayachandran C >> >> Add config option PCI_GENERIC_ECAM and file drivers/pci/ecam.c to >> provide generic functions for accessing memory mapped PCI config space. >> >> The API i

Re: [PATCH 01/16] devpts: Attempting to get it right

2016-04-19 Thread Peter Hurley
On 04/19/2016 04:35 PM, Linus Torvalds wrote: > On Tue, Apr 19, 2016 at 3:06 PM, Eric W. Biederman > wrote: >> >> I have work inspired by this rolled into my code. I will post shortly >> after a little more testing. > > Actually, I have a slightly fixed version in my tree. I've been > running th

Re: [PATCH net-next v2 0/2] BPF updates

2016-04-19 Thread David Miller
From: Daniel Borkmann Date: Mon, 18 Apr 2016 21:01:22 +0200 > This minor set adds a new helper bpf_event_output() for eBPF cls/act > program types which allows to pass events to user space applications. > For details, please see individual patches. ... > v1 -> v2: > - Address kbuild bot found

Re: [PATCH net-next] net: dsa: kill circular reference with slave priv

2016-04-19 Thread David Miller
From: Vivien Didelot Date: Mon, 18 Apr 2016 16:10:24 -0400 > The dsa_slave_priv structure does not need a pointer to its net_device. > Kill it. > > Signed-off-by: Vivien Didelot Applied.

Re: [PATCH] sched/cpufreq: don't trigger cpufreq update w/o real rt/deadline tasks running

2016-04-19 Thread Rafael J. Wysocki
On Monday, April 18, 2016 01:51:24 PM Wanpeng Li wrote: > Sometimes update_curr() is called w/o tasks actually running, it is > captured by: > u64 delta_exec = rq_clock_task(rq) - curr->se.exec_start; > We should not trigger cpufreq update in this case for rt/deadline > classes, and this pat

[PATCH net-next V5 0/2] ethernet: intel: Support Hyper-V hosts

2016-04-19 Thread K. Y. Srinivasan
Make adjustments to the Intel 10G VF driver to support running on Hyper-V hosts. K. Y. Srinivasan (2): ethernet: intel: Add the device ID's presented while running on Hyper-V intel: ixgbevf: Support Windows hosts (Hyper-V) drivers/net/ethernet/intel/ixgbevf/defines.h |5 + drive

[PATCH net-next V5 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)

2016-04-19 Thread K. Y. Srinivasan
On Hyper-V, the VF/PF communication is a via software mediated path as opposed to the hardware mailbox. Make the necessary adjustments to support Hyper-V. Signed-off-by: K. Y. Srinivasan --- V2: Addressed most of the comments from Alexander Duyck and Rustad, Mark

[PATCH net-next V5 1/2] ethernet: intel: Add the device ID's presented while running on Hyper-V

2016-04-19 Thread K. Y. Srinivasan
Intel SR-IOV cards present different ID when running on Hyper-V. Add the device IDs presented while running on Hyper-V. Signed-off-by: K. Y. Srinivasan --- V5: No change from V1 drivers/net/ethernet/intel/ixgbevf/defines.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-)

Fast Loans

2016-04-19 Thread Financial Growth
Do you need a loan? we lease loan to individuals,companies and business firm at a soft interest rate to those who are seriously in need of a loan.If you are in need of a loan contact us today.

Re: [PATCH] VSOCK: Only check error on skb_recv_datagram when skb is NULL

2016-04-19 Thread David Miller
From: Jorgen Hansen Date: Mon, 18 Apr 2016 23:58:52 -0700 > If skb_recv_datagram returns an skb, we should ignore the err > value returned. Otherwise, datagram receives will return EAGAIN > when they have to wait for a datagram. > > Acked-by: Adit Ranadive > Signed-off-by: Jorgen Hansen Appli

[PATCH v2] sched/cpufreq: fix trigger cpufreq update w/o real rt/deadline tasks running

2016-04-19 Thread Wanpeng Li
From: Wanpeng Li Sometimes update_curr() is called w/o tasks actually running, it is captured by: u64 delta_exec = rq_clock_task(rq) - curr->se.exec_start; We should not trigger cpufreq update in this case for rt/deadline classes, and this patch fix it. Signed-off-by: Wanpeng Li ---

Re: [BUG] machine check Oops on Alpha

2016-04-19 Thread Maciej W. Rozycki
On Tue, 19 Apr 2016, Bob Tracy wrote: > > 4.6.0-rc4 build complete, including suggested (by Alan Young) "Verbose > > Machine Checks" option set to level 2 by default. System rebooted, and > > now we wait... Thanks for everyone's continued patience. > > Within three minutes of rebooting, I got a

Re: [PATCH] sched/cpufreq: don't trigger cpufreq update w/o real rt/deadline tasks running

2016-04-19 Thread Wanpeng Li
2016-04-20 8:32 GMT+08:00 Rafael J. Wysocki : > On Monday, April 18, 2016 01:51:24 PM Wanpeng Li wrote: >> Sometimes update_curr() is called w/o tasks actually running, it is >> captured by: >> u64 delta_exec = rq_clock_task(rq) - curr->se.exec_start; >> We should not trigger cpufreq update i

Re: [PATCH 01/16] devpts: Attempting to get it right

2016-04-19 Thread Peter Hurley
On 04/19/2016 05:24 PM, Peter Hurley wrote: > On 04/19/2016 04:35 PM, Linus Torvalds wrote: >> On Tue, Apr 19, 2016 at 3:06 PM, Eric W. Biederman >> wrote: >>> >>> I have work inspired by this rolled into my code. I will post shortly >>> after a little more testing. >> >> Actually, I have a sligh

Re: [PATCH 1/3] gpio: tegra: Don't open code of_device_get_match_data()

2016-04-19 Thread Alexandre Courbot
On Mon, Apr 18, 2016 at 5:46 PM, Laxman Dewangan wrote: > Use of_device_get_match_data() for getting matched data > instead of implementing this locally. Maybe this is moving things around more than needed, but the end result is arguably nicer. Reviewed-by: Alexandre Courbot

RE: [PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

2016-04-19 Thread Li, Liang Z
> On Tue, 2016-04-19 at 15:02 +, Li, Liang Z wrote: > > > > > > On Tue, 2016-04-19 at 22:34 +0800, Liang Li wrote: > > > > > > > > The free page bitmap will be sent to QEMU through virtio interface > > > > and used for live migration optimization. > > > > Drop the cache before building the free

Re: [PATCH next v2 1/2] PCI: keystone: add pci error irq handler

2016-04-19 Thread Bjorn Helgaas
Hi Murali, On Mon, Apr 11, 2016 at 10:50:30AM -0400, Murali Karicheri wrote: > Keystone PCI hardware generates error interrupts at RC using platform > irq instead of standard msi/legacy irq. Add a simple error handler that > logs the fatal interrupt status to the console. > > Signed-off-by: Mural

[PATCH] ASoC: ak4642: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Kuninori Morimoto Signed-off-by: Stephen Boyd --- sound/soc/codecs/ak4642.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/

[RFC/PATCHv2 v2 1/4] ARM64: dma: Add support for NO_KERNEL_MAPPING attribute

2016-04-19 Thread Stephen Boyd
Both the IOMMU and non-IOMMU allocations don't respect the NO_KERNEL_MAPPING attribute, therefore drivers can't save virtual address space and time spent mapping large buffers that are intended only for userspace. Plumb this attribute into the code for both types of DMA ops. Cc: Robin Murphy Cc:

[RFC/PATCHv2 v2 0/4] request_firmware() on memory constrained devices

2016-04-19 Thread Stephen Boyd
I'm sending this again to solicit feedback on if this is even the right approach. After Mimi's patches that change where firmware loading code is done, I've had to modify fs/exec.c and add a struct to linux/fs.h, and that feels wrong. If that is OK, then my only other concern is doing the security

[RFC/PATCHv2 v2 4/4] firmware: Support requesting firmware directly into DMA memory

2016-04-19 Thread Stephen Boyd
Some systems are memory constrained but they need to load very large firmwares. The firmware subsystem allows drivers to request this firmware be loaded from the filesystem, but this requires that the entire firmware be loaded into kernel memory first before it's provided to the driver. This can le

[RFC/PATCHv2 v2 2/4] dma-mapping: Add dma_remap() APIs

2016-04-19 Thread Stephen Boyd
From: Laura Abbott Some systems are memory constrained but they need to load very large firmwares. The firmware subsystem allows drivers to request this firmware be loaded from the filesystem, but this requires that the entire firmware be loaded into kernel memory first before it's provided to th

[RFC/PATCHv2 v2 3/4] firmware_class: Provide infrastructure to make fw caching optional

2016-04-19 Thread Stephen Boyd
From: Vikram Mulukutla Some low memory systems with complex peripherals cannot afford to have the relatively large firmware images taking up valuable memory during suspend and resume. Change the internal implementation of firmware_class to disallow caching based on a configurable option. In the n

[PATCH] kprobes: fix race condition in __unregister_kprobe_top

2016-04-19 Thread Li Bin
In the following case, it will trigger kernel panic: 1. register a kprobe for one function 2. register a jprobe for the same function (to make it easier to reproduce, let the entry callback take a long time such as calling mdelay) 3. trigger the function be called, and then unregister the jprobe (b

Re: [PATCH next v2 2/2] PCI: keystone: remove unnecessary goto statement

2016-04-19 Thread Bjorn Helgaas
Hi Murali, On Mon, Apr 11, 2016 at 10:50:31AM -0400, Murali Karicheri wrote: > Fix the misuse of goto statement in ks_pcie_get_irq_controller_info() > as simple return is more appropriate for this function. While at > it add an error log for absence of interrupt controller node. > > Signed-off-by

[PATCH] ASoC: rsnd: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Kuninori Morimoto Signed-off-by: Stephen Boyd --- sound/soc/sh/rcar/adg.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sound/soc/sh/rcar/adg.c b/sound/soc

[PATCH] spi: spi-pxa2xx: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Daniel Mack Cc: Haojian Zhuang Cc: Robert Jarzmik Signed-off-by: Stephen Boyd --- drivers/spi/spi-pxa2xx-pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/

[PATCH] rtc: pcf8563: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Heiko Schocher Signed-off-by: Stephen Boyd --- drivers/rtc/rtc-pcf8563.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-

[PATCH] rtc: hym8563: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Heiko Stuebner Signed-off-by: Stephen Boyd --- drivers/rtc/rtc-hym8563.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-hym8563.c b/drivers/rtc/rtc-

[PATCH] rtc: ds1307: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Akinobu Mita Cc: Michael Tatarinov Signed-off-by: Stephen Boyd --- drivers/rtc/rtc-ds1307.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/

Re: [PATCH 2/3] gpio: tegra: Remove the need of keeping device handle for gpio driver

2016-04-19 Thread Alexandre Courbot
On Mon, Apr 18, 2016 at 5:46 PM, Laxman Dewangan wrote: > Remove the file static device handle variable as this is just > required for prints. The required handle can be stored in > tegra_gpio_chip and hence it become redundancy. Small but still worthy change. "dev" in the file's global namespace

[PATCH] phy: rockhip-usb: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Heiko Stuebner Signed-off-by: Stephen Boyd --- drivers/phy/phy-rockchip-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/phy-rockchip-usb.c b/driver

答复: [PATCH -next] thermal: fix mtk_thermal build dependency

2016-04-19 Thread 吴含贻
n(+) --- linux-next-20160419.orig/drivers/thermal/Kconfig +++ linux-next-20160419/drivers/thermal/Kconfig @@ -366,6 +366,7 @@ config MTK_THERMAL tristate "Temperature sensor driver for mediatek SoCs" depends on ARCH_MEDIATEK || COMPILE_TEST depends on HAS_IOMEM +

[PATCH] of: document refcount incrementation of of_get_cpu_node()

2016-04-19 Thread Masahiro Yamada
This function increments refcount. This is worth noting. Signed-off-by: Masahiro Yamada --- drivers/of/base.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index b299de2..365e1c02 100644 --- a/drivers/of/base.c +++ b/drivers/of/base

[PATCH] mfd: intel_quark_i2c_gpio: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Andy Shevchenko Signed-off-by: Stephen Boyd --- drivers/mfd/intel_quark_i2c_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/intel_quark_i2c_gpio.c

[PATCH] mfd: intel-lpss: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Andy Shevchenko Cc: Mika Westerberg Signed-off-by: Stephen Boyd --- drivers/mfd/intel-lpss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/intel-l

Re: [PATCH] ASoC: rsnd: Remove CLK_IS_ROOT

2016-04-19 Thread Kuninori Morimoto
> This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate > CLK_IS_ROOT", 2016-02-02) so remove it. > > Cc: Kuninori Morimoto > Signed-off-by: Stephen Boyd > --- Acked-by: Kuninori Morimoto

Re: [PATCH] ASoC: ak4642: Remove CLK_IS_ROOT

2016-04-19 Thread Kuninori Morimoto
> This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate > CLK_IS_ROOT", 2016-02-02) so remove it. > > Cc: Kuninori Morimoto > Signed-off-by: Stephen Boyd > --- Acked-by: Kuninori Morimoto

[PATCH] clk: hisilicon: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Jiancheng Xue Signed-off-by: Stephen Boyd --- drivers/clk/hisilicon/clk-hi3519.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/clk/hisil

[PATCH] arm64: spin-table: add missing of_node_put()

2016-04-19 Thread Masahiro Yamada
Since of_get_cpu_node() increments refcount, the node should be put. Signed-off-by: Masahiro Yamada --- arch/arm64/kernel/smp_spin_table.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm64/kernel/smp_spin_table.c b/arch/arm64/kernel/smp_spin_table.c ind

Re: [PATCH][v3] cpufreq: governor: Fix overflow when calculating idle time

2016-04-19 Thread Rafael J. Wysocki
On Tuesday, April 19, 2016 11:57:32 AM Chen Yu wrote: > It was reported that after Commit 0df35026c6a5 ("cpufreq: governor: > Fix negative idle_time when configured with CONFIG_HZ_PERIODIC"), > cpufreq ondemand governor started to act oddly. Without any load, > with freshly booted system, it pumped

Re: [PATCH 14/16] vfs: Implement mount_super_once

2016-04-19 Thread Linus Torvalds
On Tue, Apr 19, 2016 at 4:29 PM, Linus Torvalds wrote: > > I _violently_ oppose the stupid DEVPTS_MULTIPLE_INSTANCES config option. So just to show what I want to actually happen, here's the hacky patch on top of my (now merged) cleanup patch that actually does what I want devpts to do. I say it

Umount failing due to a file leak on 3.18 Android

2016-04-19 Thread Nikhilesh Reddy
Hi I am looking into a bug that results in umount failures ( since there is a mount ref from the leaked file that is never freed on the mount ) The issue seems to be a result of the following callstack 39.958104: <6> Call trace: 39.958108: <2> [] fput+0x1e0/0x1f8 39.958113: <2

[PATCH] ACPI / APD: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Ken Xue Cc: Mika Westerberg Signed-off-by: Stephen Boyd --- drivers/acpi/acpi_apd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/acpi/acpi_apd.c b/driv

[PATCH] ACPI / amba: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Graeme Gregory Cc: Aleksey Makarov Signed-off-by: Stephen Boyd --- drivers/acpi/acpi_amba.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/acpi/acpi_amba

Re: Umount failing due to a file leak on 3.18 Android

2016-04-19 Thread Nikhilesh Reddy
On Tue 19 Apr 2016 06:26:27 PM PDT, Nikhilesh Reddy wrote: Hi I am looking into a bug that results in umount failures ( since there is a mount ref from the leaked file that is never freed on the mount ) The issue seems to be a result of the following callstack 39.958104: <6> Call trace

Re: [PATCH v11 5/9] arm64: Kprobes with single stepping support

2016-04-19 Thread Li Bin
Hi David, on 2016/3/9 13:32, David Long wrote: > +int __kprobes arch_prepare_kprobe(struct kprobe *p) > +{ > + unsigned long probe_addr = (unsigned long)p->addr; Here should verify the addr alignment: if (probe_addr & 0x3) return -EINVAL; Thanks, Li Bin > + > +

[PATCH] powerpc/512x: clk: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Gerhard Sittig Signed-off-by: Stephen Boyd --- arch/powerpc/platforms/512x/clock-commonclk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/5

[PATCH] MIPS: ath79: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Antony Pavlov Signed-off-by: Stephen Boyd --- arch/mips/ath79/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/ath79/clock.c b/arch/mips/ath79/clock

[PATCH] MIPS: alchemy: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Manuel Lauss Signed-off-by: Stephen Boyd --- arch/mips/alchemy/common/clock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/mips/alchemy/common/clock.c b/ar

Re: [fuse-devel] Horrible mmap write performance (kernel writeback issue?)

2016-04-19 Thread Howard Cochran
On Mon, Apr 18, 2016 at 5:06 PM, Jakob Unterwurzacher wrote: > On 12.04.2016 13:09, Tejun Heo wrote: >>> >>> Probably you want to look into: >>> https://lkml.org/lkml/2016/3/10/21 >>> >>> The patch mentioned above solves the issue for me. >> >> Heh, I tracked it down to wb_over_bg_thresh() and fel

[PATCH] vexpress/spc: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Signed-off-by: Stephen Boyd --- arch/arm/mach-vexpress/spc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-vexpress/spc.c b/arch/arm/mach-vexpress/spc.c i

[PATCH] ARM: pxa: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Signed-off-by: Stephen Boyd --- arch/arm/mach-pxa/eseries.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-pxa/eseries.c b/arch/arm/mach-pxa/eseries.c inde

[PATCH] ARM: orion5x: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Andrew Lunn Signed-off-by: Stephen Boyd --- arch/arm/mach-orion5x/common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-orion5x/common.c b/arch/ar

[PATCH] ARM: mv78xx0: Remove CLK_IS_ROOT

2016-04-19 Thread Stephen Boyd
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Andrew Lunn Cc: Jason Cooper --- arch/arm/mach-mv78xx0/common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-mv78xx0/common.c b/arch/arm/mach-mv78

[PATCH v5 00/14] ACPI NUMA support for ARM64

2016-04-19 Thread David Daney
From: David Daney Based on v16 of device-tree NUMA patch set for arm64 [1],this patch set introduce the ACPI based configuration to provide NUMA information. ACPI 5.1 already introduced NUMA support for ARM64, which can get the NUMA domain information from SRAT and SLIT table, so parse those two

RE: [PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

2016-04-19 Thread Li, Liang Z
> Cc: Rik van Riel; v...@zeniv.linux.org.uk; linux-kernel@vger.kernel.org; > quint...@redhat.com; amit.s...@redhat.com; pbonz...@redhat.com; > dgilb...@redhat.com; linux...@kvack.org; k...@vger.kernel.org; qemu- > de...@nongnu.org; ag...@suse.de; borntrae...@de.ibm.com > Subject: Re: [PATCH kernel

[PATCH v5 02/14] acpi, numa: Replace ACPI_DEBUG_PRINT() with pr_debug()

2016-04-19 Thread David Daney
From: Hanjun Guo ACPI_DEBUG_PRINT is a bit fragile in acpi/numa.c, the first thing is that component ACPI_NUMA(0x8000) is not described in the Documentation/acpi/debug.txt, and even not defined in the struct acpi_dlayer acpi_debug_layers which we can not dynamically enable/disable it with /sy

[PATCH v5 05/14] acpi, numa: move acpi_numa_slit_init() to drivers/acpi/numa.c

2016-04-19 Thread David Daney
From: Hanjun Guo Identical implementations of acpi_numa_slit_init() are used by both x86 and follow-on arm64 support. Move it to drivers/acpi/numa.c, and guard with CONFIG_X86 || CONFIG_ARM64 because ia64 has its own architecture specific implementation. No code change. Signed-off-by: Hanjun G

[PATCH v5 11/14] acpi, numa, srat: Improve SRAT error detection and add messages.

2016-04-19 Thread David Daney
From: David Daney Loosely based on code from Robert Richter and Hanjun Guo. Improve out of range node detection as well as allow for Larger SRAT entities. Add printing of nice messages. Signed-off-by: David Daney --- drivers/acpi/numa.c | 15 +++ 1 file changed, 11 insertions(+),

[PATCH v5 10/14] acpi, numa: Move acpi_numa_memory_affinity_init() to drivers/acpi/numa.c

2016-04-19 Thread David Daney
From: Hanjun Guo acpi_numa_memory_affinity_init() will be reused by arm64. Move it to drivers/acpi/numa.c to facilitate reuse. No code change. Signed-off-by: Hanjun Guo Signed-off-by: Robert Richter Signed-off-by: David Daney --- arch/x86/mm/srat.c | 57 ---

[PATCH v5 13/14] acpi, numa: Enable ACPI based NUMA on ARM64

2016-04-19 Thread David Daney
From: Hanjun Guo Add function needed for cpu to node mapping, and enable ACPI based NUMA for ARM64 in Kconfig Signed-off-by: Hanjun Guo Signed-off-by: Robert Richter Signed-off-by: David Daney --- drivers/acpi/Kconfig | 2 +- drivers/acpi/numa.c | 35 +++ in

[PATCH v5 12/14] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-04-19 Thread David Daney
From: Hanjun Guo Introduce a new file to hold ACPI based NUMA information parsing from SRAT and SLIT. SRAT includes the CPU ACPI ID to Proximity Domain mappings and memory ranges to Proximity Domain mapping. SLIT has the information of inter node distances(relative number for access latency).

[PATCH v5 04/14] acpi, numa: Move acpi_numa_arch_fixup() to ia64 only

2016-04-19 Thread David Daney
From: Robert Richter Since acpi_numa_arch_fixup() is only used in arch ia64, move it there to make a generic interface easier. This avoids empty function stubs or some complex kconfig options for x86 and arm64. Signed-off-by: Robert Richter Signed-off-by: David Daney --- arch/ia64/include/asm

[PATCH v5 03/14] acpi, numa: remove duplicate NULL check

2016-04-19 Thread David Daney
From: Hanjun Guo The argument "header" for acpi_table_print_srat_entry() is always checked before the function is called, it's duplicate to check it again, remove it. Signed-off-by: Hanjun Guo Signed-off-by: Robert Richter Signed-off-by: David Daney --- drivers/acpi/numa.c | 3 --- 1 file ch

[PATCH v5 08/14] acpi, numa: move bad_srat() and srat_disabled() to drivers/acpi/numa.c

2016-04-19 Thread David Daney
From: Hanjun Guo bad_srat() and srat_disabled() are shared by x86 and follow-on arm64 patches. Move them to drivers/acpi/numa.c in preparation for arm64 support. Signed-off-by: Hanjun Guo Signed-off-by: Robert Richter [david.da...@cavium.com moved definitions to drivers/acpi/numa.c] Signed-of

<    4   5   6   7   8   9