Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-24 Thread Hillf Danton
> +static void try_to_push_tasks(void *arg) > +{ > + struct rt_rq *rt_rq = arg; > + struct rq *rq, *next_rq; > + int next_cpu = -1; > + int next_prio = MAX_PRIO + 1; > + int this_prio; > + int src_prio; > + int prio; > + int this_cpu; > + int success; > +

Re: [PATCH] kasan, module, vmalloc: rework shadow allocation for modules

2015-02-24 Thread Andrey Ryabinin
On 02/25/2015 09:25 AM, Rusty Russell wrote: > Andrey Ryabinin writes: >> On 02/23/2015 11:26 AM, Rusty Russell wrote: >>> Andrey Ryabinin writes: On 02/20/2015 03:15 AM, Rusty Russell wrote: > Andrey Ryabinin writes: >> On 02/19/2015 02:10 AM, Rusty Russell wrote: >>> This is

Re: [PATCH v4 1/3] mmc: dw_mmc: update clock after host reach a stable voltage

2015-02-24 Thread Alim Akhtar
Hi Doug, On Fri, Feb 20, 2015 at 5:19 AM, Doug Anderson wrote: > Alim and Addy, > > On Sun, Feb 15, 2015 at 3:28 PM, Alim Akhtar wrote: >> Hi Addy, >> >> On Sat, Feb 14, 2015 at 11:47 AM, Addy Ke wrote: >>> As show in mmc_power_up(), in MMC_POWER_UP state, the voltage isn't >>> stable and we

Re: [PATCH v3 0/3] epoll: introduce round robin wakeup mode

2015-02-24 Thread Ingo Molnar
* Jason Baron wrote: > Hi, > > When we are sharing a wakeup source among multiple epoll > fds, we end up with thundering herd wakeups, since there > is currently no way to add to the wakeup source > exclusively. This series introduces a new EPOLL_ROTATE > flag to allow for round robin

Re: [PATCH 0/2] fix ehrpwm tbclk data on am33xx and am43xx

2015-02-24 Thread Tero Kristo
On 02/24/2015 07:15 PM, Tony Lindgren wrote: * Vignesh R [150209 22:43]: In am33xx and am43xx, ehrpwm tbclk is derived from functional clock of PWMSS. The schematics and TRMs show that there is only one input clock to the PWMSS. But currently, tbclk is wrongly shown to be deriving from

Re: [PATCH] kernel/module.c: fix typos in message about unused symbols

2015-02-24 Thread Yannick Guerrini
Le 25/02/2015 01:44, Rusty Russell a écrit : Yannick Guerrini writes: Fix typos in pr_warn message about unused symbols Signed-off-by: Yannick Guerrini Thanks. AFAICT you changed "evalute" to "evaluate", "mainlinglist" to "mailing list" and added a "to". Applied, Rusty. Exactly, I

RE: [E1000-devel] [PATCH] ixgbe: make VLAN filter conditional in SR-IOV case

2015-02-24 Thread Hiroshi Shimamoto
> On Wed, 2015-02-25 at 00:51 +, Hiroshi Shimamoto wrote: > > > Subject: Re: [E1000-devel] [PATCH] ixgbe: make VLAN filter > > conditional in SR-IOV case > > > > > > On Thu, 2014-11-13 at 08:28 +, Hiroshi Shimamoto wrote: > > > > From: Hiroshi Shimamoto > > > > > > > > Disable hardware

0001-media-vb2-Fill-vb2_buffer-with-bytesused-from-user.patch

2015-02-24 Thread Sudip JAIN
Dear Maintainer, PFA attached patch that prevents user from being returned garbage bytesused value from vb2 framework. Regards, Sudip Jain From 804e76f89d73d10b9fd7b25a48a6edc31faa40a9 Mon Sep 17 00:00:00 2001 From: Sudip Jain Date: Wed, 25 Feb 2015 12:24:53 +0530 Subject: [PATCH] media: vb2:

Re: [PATCH 0/2] ARM: DRA7x/OMAP5: Clock: DPLL Clock fixes

2015-02-24 Thread Tero Kristo
On 02/24/2015 06:27 PM, Tony Lindgren wrote: * Ravikumar Kattekola [150219 08:13]: On 1/31/2015 10:36 PM, Ravikumar Kattekola wrote: Fix bypass clock source for a few DPLLs. On DRA7x/OMAP5, for a few DPLLs, both CLKINP and CLKINPULOW are connected to a mux and the output from mux is routed

Re: [PATCH 04/15] twl4030_charger: use runtime_pm to keep usb phy active while charging.

2015-02-24 Thread Lee Jones
On Tue, 24 Feb 2015, NeilBrown wrote: > The twl4030 usb phy needs to be active while we are using > the USB VBUS as a current source for charging. > In particular, the usb3v1 regulator must be enabled and the > PHY_PWR_PHYPWD bit must be set to keep the phy powered. > > commit

Re: [PATCH 1/3] x86_64, entry: Remove a bogus ret_from_fork optimization

2015-02-24 Thread Ingo Molnar
* Andy Lutomirski wrote: > ret_from_fork checks TIF_IA32 to determine whether pt_regs and the > related state make sense for ret_from_sys_call. This is entirely > the wrong check. TS_COMPAT would make a little more sense, but > there's really no point in keeping this optimization at all. > >

Re: [PATCH v8 7/7] x86, mm: Add set_memory_wt() for WT

2015-02-24 Thread Ingo Molnar
* Toshi Kani wrote: > +int set_pages_array_wt(struct page **pages, int addrinarray) > +{ > + return _set_pages_array(pages, addrinarray, _PAGE_CACHE_MODE_WT); > +} > +EXPORT_SYMBOL(set_pages_array_wt); So by default we make new APIs EXPORT_SYMBOL_GPL(): we don't want proprietary modules

Re: [PATCH 1/3 v5] kernel/fork.c: new function for max_threads

2015-02-24 Thread Heinrich Schuchardt
On 24.02.2015 23:16, David Rientjes wrote: > On Tue, 24 Feb 2015, Heinrich Schuchardt wrote: > >>> I'm afraid I don't understand this. The intent of the patch is to >>> separate the max_threads logic into a new function, correct? If that's >>> true, then I don't understand why UINT_MAX is

Re: [RESEND PATCH v2 7/9] mfd: rtsx: add support for rts524A

2015-02-24 Thread Lee Jones
On Wed, 25 Feb 2015, 敬锐 wrote: > > On 02/16/2015 10:28 PM, Lee Jones wrote: > > > > +static int rts524a_optimize_phy(struct rtsx_pcr *pcr) > > +{ > > + int err; > > + > > + err = rtsx_pci_write_register(pcr, RTS524A_PM_CTRL3, > > + D3_DELINK_MODE_EN, 0x00); > > + if (err < 0) > >

Re: [E1000-devel] [PATCH] ixgbe: make VLAN filter conditional in SR-IOV case

2015-02-24 Thread Jeff Kirsher
On Wed, 2015-02-25 at 00:51 +, Hiroshi Shimamoto wrote: > > Subject: Re: [E1000-devel] [PATCH] ixgbe: make VLAN filter > conditional in SR-IOV case > > > > On Thu, 2014-11-13 at 08:28 +, Hiroshi Shimamoto wrote: > > > From: Hiroshi Shimamoto > > > > > > Disable hardware VLAN filtering if

Re: [PATCH v6 3/6] mfd: ti_am335x_tscadc: Remove unwanted reg_se_cache save

2015-02-24 Thread Lee Jones
On Wed, 07 Jan 2015, Vignesh R wrote: > In one shot mode, sequencer automatically disables all enabled steps at > the end of each cycle. (both ADC steps and TSC steps) Hence these steps > need not be saved in reg_se_cache for clearing these steps at a later > stage. > Also, when ADC wakes up

Re: [PATCH RFC 1/4] mm: throttle MADV_FREE

2015-02-24 Thread Minchan Kim
On Wed, Feb 25, 2015 at 09:08:09AM +0900, Minchan Kim wrote: > Hi Michal, > > On Tue, Feb 24, 2015 at 04:43:18PM +0100, Michal Hocko wrote: > > On Tue 24-02-15 17:18:14, Minchan Kim wrote: > > > Recently, Shaohua reported that MADV_FREE is much slower than > > > MADV_DONTNEED in his MADV_FREE

Re: regression in 4.0.0-rc1 with r8169 ethernet

2015-02-24 Thread Bjorn Helgaas
[+cc Jiang, Thomas, Lv, Rafael, linux-pci, linux-acpi] On Tue, Feb 24, 2015 at 9:47 PM, Dave Airlie wrote: > Hey, > > just booted an old AMD rs780 box with new kernel and my ethernet > failed to come up! > > Looks like the MAC addr is all ff's because the PCI bridge windows are > messed up. > >

Re: [PATCH] OMAPDSS: restore "name" sysfs entry.

2015-02-24 Thread Tomi Valkeinen
On 24/02/15 22:31, NeilBrown wrote: > On Tue, 24 Feb 2015 12:40:32 +0200 Tomi Valkeinen > wrote: > >> Hi, >> >> On 24/02/15 11:37, NeilBrown wrote: >>> >>> >>> commit 303e4697e762dc92a40405f4e4b8aac02cd0d70b >>> OMAPDSS: rename display-sysfs 'name' entry >>> >>> broke the xorg X server on my

[ANNOUNCE] Git v2.3.1

2015-02-24 Thread Junio C Hamano
The latest maintenance release Git v2.3.1 is now available at the usual places. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories all have a copy of the 'v2.3.1' tag and the 'maint' branch that the tag points at: url =

[PATCH net-next] net: dsa: Introduce dsa_is_port_initialized

2015-02-24 Thread Guenter Roeck
To avoid race conditions when using the ds->ports[] array, we need to check if the accessed port has been initialized. Introduce and use helper function dsa_is_port_initialized for that purpose and use it where needed. Signed-off-by: Guenter Roeck --- Applies to net-next on top of Florian's

Re: [PATCH] perf tools: Fix pthread_attr_setaffinity_np build error

2015-02-24 Thread Adrian Hunter
On 24/02/2015 4:31 p.m., Josh Boyer wrote: On Tue, Feb 24, 2015 at 8:52 AM, Adrian Hunter wrote: On 24/02/15 15:32, Josh Boyer wrote: On Tue, Feb 24, 2015 at 5:46 AM, Adrian Hunter wrote: Feature detection for pthread_attr_setaffinity_np was failing, producing this error: In file included

[Patch V6 01/10] MAINTAINERS: Add QCOM audio ASoC maintainer

2015-02-24 Thread Kenneth Westfield
From: Kenneth Westfield Add maintainers for the Qualcomm Technologies sound drivers. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[Patch V6 04/10] ASoC: qcom: add LPASS header files

2015-02-24 Thread Kenneth Westfield
From: Kenneth Westfield Add the LPASS header files for ipq806x SOC. This includes the register definitions for the ipq806x LPAIF, and the structure definition for the driver data. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- sound/soc/qcom/lpass-lpaif-ipq806x.h | 172

[Patch V6 02/10] ASoC: qcom: Document LPASS CPU bindings

2015-02-24 Thread Kenneth Westfield
From: Kenneth Westfield Add documentation to the sound directory of the device-tree bindings for the QTi LPASS CPU DAI device. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- .../devicetree/bindings/sound/qcom,lpass-cpu.txt | 49 ++ 1 file changed, 49

[Patch V6 05/10] ASoC: qcom: Add LPASS CPU DAI driver

2015-02-24 Thread Kenneth Westfield
From: Kenneth Westfield Add the CPU DAI driver for the Qualcomm Technologies low-power audio subsystem (LPASS). Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- sound/soc/qcom/lpass-cpu.c | 508 + 1 file changed, 508 insertions(+)

[Patch V6 00/10] ASoC: QCOM: Add support for ipq806x SOC

2015-02-24 Thread Kenneth Westfield
From: Kenneth Westfield This patch series adds support for I2S audio playback on the Storm board, which contains a Qualcomm Technologies ipq806x SOC and a Maxim max98357a DAC/amp. The ipq806x SOC has audio-related hardware blocks in its low-power audio subsystem (or LPASS). One of the relevant

[Patch V6 03/10] ASoC: qcom: Document Storm bindings

2015-02-24 Thread Kenneth Westfield
From: Kenneth Westfield Add documentation to the sound directory of the device-tree bindings for the soundcard of the Storm board. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- Documentation/devicetree/bindings/sound/storm.txt | 23 +++ 1 file changed, 23

[Patch V6 06/10] ASoC: qcom: Add LPASS platform driver

2015-02-24 Thread Kenneth Westfield
From: Kenneth Westfield Add platform driver for the Qualcomm Technologies low-power audio subsystem (LPASS) ports. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- sound/soc/qcom/lpass-platform.c | 526 1 file changed, 526 insertions(+)

[Patch V6 08/10] ASoC: qcom: Add ability to build QCOM drivers

2015-02-24 Thread Kenneth Westfield
From: Kenneth Westfield Define the LPASS platform driver, the LPASS CPU DAI driver and the Storm machine driver configurations, and how to build them. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- sound/soc/qcom/Kconfig | 23 +++ sound/soc/qcom/Makefile

[Patch V6 09/10] ASoC: Allow for building QCOM drivers

2015-02-24 Thread Kenneth Westfield
From: Kenneth Westfield Allow for the Qualcomm Technologies ASoC drivers to build. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- sound/soc/Kconfig | 1 + sound/soc/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index

[Patch V6 07/10] ASoC: qcom: Add Storm machine driver

2015-02-24 Thread Kenneth Westfield
From: Kenneth Westfield Add machine driver for the Storm board with the IPQ806X SOC connected to the MAX98357A DAC. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- sound/soc/qcom/storm.c | 162 + 1 file changed, 162 insertions(+)

[Patch V6 10/10] ARM: dts: Model IPQ LPASS audio hardware

2015-02-24 Thread Kenneth Westfield
From: Kenneth Westfield Model the Qualcomm Technologies LPASS hardware for the ipq806x SOC. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- arch/arm/boot/dts/qcom-ipq8064.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git

[Patch] ASoC: max98357a: Use standard DAI names

2015-02-24 Thread Kenneth Westfield
From: Kenneth Westfield Use the standard naming convention for the codec DAI. Signed-off-by: Kenneth Westfield --- based on next/topic/max98357a branch sound/soc/codecs/max98357a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/max98357a.c

Re: [PATCH 2/3 v4] resource: Add new flag IORESOURCE_MEM_WARN

2015-02-24 Thread Boaz Harrosh
On 02/24/2015 07:04 PM, Dan Williams wrote: > On Tue, Feb 24, 2015 at 7:00 AM, Boaz Harrosh wrote: >> >> Resource providers set this flag if they want >> that request_region will print a warning in dmesg >> if this particular memory resource is locked by a driver. >> >> Thous acting as a Protocol

Non-linear Remap Vs. VM Cleanup: Performance Hit

2015-02-24 Thread D. Cooper Stevenson
Hello All, I read the Linus's release for RC1. One of his favorite features in the release are, "actually some vm cleanups, where this release is getting rid of the largely unused non-linear remapping code (replaced with just emulating it with lots of smaller mappings) and unifies the NUMA

[PATCH] intel_idle: Make the auto-demotion flag generic

2015-02-24 Thread Srinidhi Kasagar
Disabling core and module C6 auto-demotion helps other Intel platforms other than just Baytrail. Signed-off-by: Srinidhi Kasagar --- drivers/idle/intel_idle.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c index

Re: [PATCH] kasan, module, vmalloc: rework shadow allocation for modules

2015-02-24 Thread Rusty Russell
Andrey Ryabinin writes: > On 02/23/2015 11:26 AM, Rusty Russell wrote: >> Andrey Ryabinin writes: >>> On 02/20/2015 03:15 AM, Rusty Russell wrote: Andrey Ryabinin writes: > On 02/19/2015 02:10 AM, Rusty Russell wrote: >> This is not portable. Other archs don't use vmalloc, or

Re: [PATCH v2] scripts: checkpatch.pl: add 2 new checks on memset calls

2015-02-24 Thread Joe Perches
On Wed, 2015-02-25 at 08:08 +0200, Aya Mahfouz wrote: > What is the next step? Ideally, you understanding why the suggested patch is an improvement over the patch you proposed. Beyond that, submit a patch. Then submit more... cheers, Joe -- To unsubscribe from this list: send the line

Re: [PATCH v2] scripts: checkpatch.pl: add 2 new checks on memset calls

2015-02-24 Thread Aya Mahfouz
On Tue, Feb 24, 2015 at 09:45:43PM -0800, Joe Perches wrote: > On Wed, 2015-02-25 at 06:59 +0200, Aya Mahfouz wrote: > > On Tue, Feb 24, 2015 at 08:41:23PM -0800, Joe Perches wrote: > > > On Wed, 2015-02-25 at 06:35 +0200, Aya Mahfouz wrote: > > > > On Tue, Feb 24, 2015 at 07:10:52PM -0800, Joe

Re: [PATCH] fib_trie: Add proc entry for next-hop exceptions

2015-02-24 Thread Chris Rorvick
On Tue, Feb 24, 2015 at 11:33 PM, David Miller wrote: > From: Chris Rorvick > Date: Tue, 24 Feb 2015 23:27:12 -0600 > >> Exceptions are added to the FIB in response to ICMP redirects and to >> account for PMTU, but there is little visibility into what the current >> exceptions are. Add a proc

[PATCH v3 4/9] mfd: rtsx: update driving settings

2015-02-24 Thread micky_ching
From: Micky Ching update card drive settings, This setting can be used for rts5249 rts524A and rts525A. Signed-off-by: Micky Ching Acked-by: Lee Jones --- drivers/mfd/rts5249.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/rts5249.c

[PATCH v3 3/9] mfd: rtsx: update PETXCFG address

2015-02-24 Thread micky_ching
From: Micky Ching PETXCFG is defined at 0xFF03, the old 0xFE49 not used any more. Signed-off-by: Micky Ching Acked-by: Lee Jones --- drivers/mfd/rts5227.c| 6 ++ drivers/mfd/rts5249.c| 6 ++ include/linux/mfd/rtsx_pci.h | 2 +- 3 files changed, 5 insertions(+), 9

[PATCH v3 2/9] mfd: rtsx: place register address and values togather

2015-02-24 Thread micky_ching
From: Micky Ching It is more readable to place register address and values define togather. The values define add two leading space indicate belong to the register address defined above. Signed-off-by: Micky Ching Acked-by: Lee Jones --- include/linux/mfd/rtsx_pci.h | 836

[PATCH v3 0/9] mfd: rtsx: add support for new rts524A and rts525A

2015-02-24 Thread micky_ching
From: Micky Ching v3: - define member pcr->reg_pm_ctrl3 for PM_CTRL3 address - update phy register without change the indent - define macro for switch output voltage resend: - add lee jones ack for some patch. v2: - remove debug info when access failed. - using macro list for phy register init.

[PATCH v3 1/9] mfd: rtsx: replace TAB by SPC after #define

2015-02-24 Thread micky_ching
From: Micky Ching Re-format coding-style, using uniform SPC after "#define" keyword instead of mixing using TAB and SPC. Signed-off-by: Micky Ching Acked-by: Lee Jones --- include/linux/mfd/rtsx_pci.h | 254 +-- 1 file changed, 127 insertions(+), 127

[PATCH v3 6/9] mfd: rtsx: remove LCTLR defination

2015-02-24 Thread micky_ching
From: Micky Ching To enable/disable ASPM we should find LINK CONTROL register in PCI config space. All old chip use 0x80 address, but new chip may use another address, so we using pci_find_capability() to get LINK CONTROL address. rtsx_gops.c was removed, we consider to put some common

[PATCH v3 8/9] mfd: rtsx: add support for rts525A

2015-02-24 Thread micky_ching
From: Micky Ching add support for new chip rts525A. Signed-off-by: Micky Ching --- drivers/mfd/rts5249.c| 103 +++ drivers/mfd/rtsx_pcr.c | 13 -- drivers/mfd/rtsx_pcr.h | 1 + include/linux/mfd/rtsx_pci.h | 15 +++ 4

[PATCH v3 9/9] mfd: rtsx: using pcr_dbg replace dev_dbg

2015-02-24 Thread micky_ching
From: Micky Ching pcr_dbg is a wrapper of dev_dbg, which can save some code, and help to enable/disable debug message static. Signed-off-by: Micky Ching Acked-by: Lee Jones --- drivers/mfd/rtl8411.c | 11 +-- drivers/mfd/rts5209.c | 4 ++-- drivers/mfd/rts5227.c | 4 ++--

[PATCH v3 7/9] mfd: rtsx: add support for rts524A

2015-02-24 Thread micky_ching
From: Micky Ching add support for new chip rts524A. Signed-off-by: Micky Ching --- drivers/mfd/rts5249.c| 186 --- drivers/mfd/rtsx_pcr.c | 25 +- drivers/mfd/rtsx_pcr.h | 7 ++ include/linux/mfd/rtsx_pci.h | 132

[PATCH v3 5/9] mfd: rtsx: update phy register

2015-02-24 Thread micky_ching
From: Micky Ching Update some phy register name and value for rts5249, the updated value makes chip more stable on some platform. Signed-off-by: Micky Ching --- drivers/mfd/rts5249.c| 29 +++- include/linux/mfd/rtsx_pci.h | 109 ++- 2

Re: [PATCH Resend] cpufreq: Set cpufreq_cpu_data to NULL before putting kobject

2015-02-24 Thread Ethan Zhao
Viresh, Will do that when I get the test box. Thanks, Ethan On Wed, Feb 25, 2015 at 12:35 PM, viresh kumar wrote: > On Wednesday 25 February 2015 08:54 AM, Ethan Zhao wrote: >> Viresh, >> With this patch applied, still got the following warning and panic, >> seems it needs more care. >>

Re: regression in 4.0.0-rc1 with r8169 ethernet

2015-02-24 Thread Bjorn Helgaas
[+cc linux-pci] On Tue, Feb 24, 2015 at 9:47 PM, Dave Airlie wrote: > Hey, > > just booted an old AMD rs780 box with new kernel and my ethernet > failed to come up! > > Looks like the MAC addr is all ff's because the PCI bridge windows are > messed up. > > I've attached two dmesg one from a

Re: [PATCH v2] scripts: checkpatch.pl: add 2 new checks on memset calls

2015-02-24 Thread Joe Perches
On Wed, 2015-02-25 at 06:59 +0200, Aya Mahfouz wrote: > On Tue, Feb 24, 2015 at 08:41:23PM -0800, Joe Perches wrote: > > On Wed, 2015-02-25 at 06:35 +0200, Aya Mahfouz wrote: > > > On Tue, Feb 24, 2015 at 07:10:52PM -0800, Joe Perches wrote: > > > > On Wed, 2015-02-25 at 04:40 +0200, Aya Mahfouz

Re: [PATCH v2] mmc: dw_mmc: Don't start commands while busy

2015-02-24 Thread Doug Anderson
Javier, On Tue, Feb 24, 2015 at 3:20 AM, Javier Martinez Canillas wrote: >> Hm. In the cases I was seeing I didn't need the "reset" since the >> "SDMMC_CMD_UPD_CLK" was the one from dw_mci_set_ios() and my patch: >> >> * mmc: dw_mmc: Give a good reset after we give power >>

Re: [PATCH] fib_trie: Add proc entry for next-hop exceptions

2015-02-24 Thread David Miller
From: Chris Rorvick Date: Tue, 24 Feb 2015 23:27:12 -0600 > Exceptions are added to the FIB in response to ICMP redirects and to > account for PMTU, but there is little visibility into what the current > exceptions are. Add a proc entry for listing the current next-hop > exceptions > >

Re: [RFC v2 0/5] introduce gcma

2015-02-24 Thread SeongJae Park
Hello Michal, Thanks for your comment :) On Tue, 24 Feb 2015, Michal Hocko wrote: On Tue 24-02-15 04:54:18, SeongJae Park wrote: [...] include/linux/cma.h |4 + include/linux/gcma.h | 64 +++ mm/Kconfig | 24 + mm/Makefile |1 + mm/cma.c | 113

[PATCH] fib_trie: Add proc entry for next-hop exceptions

2015-02-24 Thread Chris Rorvick
Exceptions are added to the FIB in response to ICMP redirects and to account for PMTU, but there is little visibility into what the current exceptions are. Add a proc entry for listing the current next-hop exceptions Signed-off-by: Chris Rorvick --- I wrote this patch while looking into some

[ANNOUNCE]: SCST 3.0.1 released

2015-02-24 Thread Vladislav Bolkhovitin
I'm glad to announce that maintenance update for SCST and its drivers 3.0.1 has just been released and ready for download from http://scst.sourceforge.net/downloads.html. All SCST users are encouraged to update. SCST is alternative SCSI target stack for Linux. SCST allows creation of

Re: [PATCH v2] scripts: checkpatch.pl: add 2 new checks on memset calls

2015-02-24 Thread Aya Mahfouz
On Tue, Feb 24, 2015 at 08:41:23PM -0800, Joe Perches wrote: > On Wed, 2015-02-25 at 06:35 +0200, Aya Mahfouz wrote: > > On Tue, Feb 24, 2015 at 07:10:52PM -0800, Joe Perches wrote: > > > On Wed, 2015-02-25 at 04:40 +0200, Aya Mahfouz wrote: > > > > This patch adds 2 new checks on memset calls in

[PATCH] f2fs: fix recover orphan inodes

2015-02-24 Thread Wanpeng Li
recover_orphan_inodes is used to recover orphan inodes, the meta pages which readahead should be orphan_blkaddr - start_blk instead of orphan_blkaddr. This patch fix it. Signed-off-by: Wanpeng Li --- fs/f2fs/checkpoint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v2] scripts: checkpatch.pl: add 2 new checks on memset calls

2015-02-24 Thread Joe Perches
On Wed, 2015-02-25 at 06:35 +0200, Aya Mahfouz wrote: > On Tue, Feb 24, 2015 at 07:10:52PM -0800, Joe Perches wrote: > > On Wed, 2015-02-25 at 04:40 +0200, Aya Mahfouz wrote: > > > This patch adds 2 new checks on memset calls in the file > > > checkpatch.pl as follows: [] > ok, I didn't see your

[PATCH RESEND v2] sched/deadline: fix rt runtime corrupt when dl refuse a smaller bandwidth

2015-02-24 Thread Wanpeng Li
Dl class will refuse the bandwidth being set to some value smaller than the currently allocated bandwidth in any of the root_domains through sched_rt_runtime_us and sched_rt_period_us. RT runtime will be set according to sched_rt_runtime_us before dl class verify if the new bandwidth is suitable

Re: [PATCH Resend] cpufreq: Set cpufreq_cpu_data to NULL before putting kobject

2015-02-24 Thread viresh kumar
On Wednesday 25 February 2015 08:54 AM, Ethan Zhao wrote: > Viresh, > With this patch applied, still got the following warning and panic, > seems it needs more care. > > 54.474618] [ cut here ] > [ 54.545816] WARNING: CPU: 0 PID: 213 at include/linux/kref.h:47 >

Re: [PATCH v2] scripts: checkpatch.pl: add 2 new checks on memset calls

2015-02-24 Thread Aya Mahfouz
On Tue, Feb 24, 2015 at 07:10:52PM -0800, Joe Perches wrote: > On Wed, 2015-02-25 at 04:40 +0200, Aya Mahfouz wrote: > > This patch adds 2 new checks on memset calls in the file > > checkpatch.pl as follows: > > > > replace memset by eth_zero_addr if the second argument is > > an address of zeros

[PATCH] README: Update version number reference

2015-02-24 Thread Jeff Kirsher
When 4.0 is released, the README should reflect the new numbering. Signed-off-by: Jeff Kirsher --- README | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/README b/README index a24ec89..67fc7a8 100644 --- a/README +++ b/README @@ -1,6 +1,6

Re: [PATCH] kernel/module.c: fix typos in message about unused symbols

2015-02-24 Thread Rusty Russell
Yannick Guerrini writes: > Fix typos in pr_warn message about unused symbols > > Signed-off-by: Yannick Guerrini Thanks. AFAICT you changed "evalute" to "evaluate", "mainlinglist" to "mailing list" and added a "to". Applied, Rusty. > --- > kernel/module.c | 6 +++--- > 1 file changed, 3

RE: [PATCH v10 10/12] xfstests: fsstress: Add fallocate insert range operation

2015-02-24 Thread Namjae Jeon
> On Sun, Feb 22, 2015 at 12:45:52AM +0900, Namjae Jeon wrote: > > From: Namjae Jeon > > > > This commit adds insert operation support for fsstress, which is > > meant to exercise fallocate FALLOC_FL_INSERT_RANGE support. > > This causes xfs/068 to fail because it changes the file creation >

Re: [PATCH v6 3/6] mfd: ti_am335x_tscadc: Remove unwanted reg_se_cache save

2015-02-24 Thread Vignesh R
Hi, On Thursday 05 February 2015 11:51 AM, Vignesh R wrote: > > > On Wednesday 21 January 2015 03:44 PM, Vignesh R wrote: >> On Tuesday 20 January 2015 09:34 PM, Lee Jones wrote: >>> On Tue, 20 Jan 2015, R, Vignesh wrote: On 1/20/2015 5:23 PM, Lee Jones wrote: > On Wed, 07 Jan 2015,

[PATCH 3/7] clk: pistachio: Add PLL driver

2015-02-24 Thread Andrew Bresticker
Add a driver for the integer (GF40LP_LAINT) and fractional (GF40LP_FRAC) PLLs present on Pistachio. Signed-off-by: Andrew Bresticker --- drivers/clk/pistachio/Makefile | 1 + drivers/clk/pistachio/clk-pll.c | 401 drivers/clk/pistachio/clk.h | 50

[PATCH 2/7] clk: Add basic infrastructure for Pistachio clocks

2015-02-24 Thread Andrew Bresticker
Add helpers for registering clocks and clock providers on Pistachio. Signed-off-by: Andrew Bresticker --- drivers/clk/Makefile | 1 + drivers/clk/pistachio/Makefile | 1 + drivers/clk/pistachio/clk.c| 140 + drivers/clk/pistachio/clk.h

[PATCH 1/7] clk: Add binding document for Pistachio clock controllers

2015-02-24 Thread Andrew Bresticker
Add a device-tree binding document describing the four clock controllers present on the IMG Pistachio SoC. Signed-off-by: Damien Horsley Signed-off-by: Andrew Bresticker Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala ---

[PATCH 4/7] clk: pistachio: Register core clocks

2015-02-24 Thread Andrew Bresticker
Register the clocks generated by the core clock controller. This includes the 7 PLLs and clocks for the CPU, RPU co-processor, audio, WiFi, bluetooth, and several other peripherals. The MIPS and PERIPH_SYS clocks must remain enabled at all times. Signed-off-by: Damien Horsley Signed-off-by:

[PATCH 5/7] clk: pistachio: Register peripheral clocks

2015-02-24 Thread Andrew Bresticker
Register the clocks generated by the peripheral clock controller. This includes the clocks for several peripherals, including I2C, PWM, watchdog, and timer. Signed-off-by: Damien Horsley Signed-off-by: Andrew Bresticker --- drivers/clk/pistachio/clk-pistachio.c | 67

[PATCH 6/7] clk: pistachio: Register system interface gate clocks

2015-02-24 Thread Andrew Bresticker
Register the system interface gate clocks provided by the peripheral general control block. These clocks gate register access for various peripherals. Signed-off-by: Damien Horsley Signed-off-by: Andrew Bresticker --- drivers/clk/pistachio/clk-pistachio.c | 42

[PATCH 7/7] clk: pistachio: Register external clock gates

2015-02-24 Thread Andrew Bresticker
Register the clock gates for the external audio and ethernet reference clocks provided by the top-level general control block. Signed-off-by: Damien Horsley Signed-off-by: Andrew Bresticker --- drivers/clk/pistachio/clk-pistachio.c | 21 + 1 file changed, 21 insertions(+)

[PATCH 0/7] clk: Common clock support for IMG Pistachio

2015-02-24 Thread Andrew Bresticker
This series adds common clock support for the IMG Pistachio SoC. Pistachio has two clock controllers (core and peripheral) and two general control blocks (peripheral and top) which also contain several clock gates. Like the recently submitted pinctrl driver [1], this driver is written so that

Re: [patch v2] sunrpc: integer underflow in rsc_parse()

2015-02-24 Thread Simo Sorce
On Tue, 2015-02-24 at 18:34 +0300, Dan Carpenter wrote: > If we call groups_alloc() with invalid values then it's might lead to > memory corruption. For example, with a negative value then we might not > allocate enough for sizeof(struct group_info). > > Signed-off-by: Dan Carpenter > --- > v2:

linux-next: Tree for Feb 25

2015-02-24 Thread Stephen Rothwell
Hi all, Changes since 20150224: The drm-intel tree gained a conflict against the drm-intel-fixes tree. The drm-misc tree lost its build failure. Non-merge commits (relative to Linus' tree): 1506 1173 files changed, 30443 insertions(+), 30102 deletions

[PATCH v3 2/2] leds: add Qualcomm PM8941 WLED driver

2015-02-24 Thread Bjorn Andersson
From: Courtney Cavin This adds support for the WLED ('White' LED) block on Qualcomm's PM8941 PMICs. Signed-off-by: Courtney Cavin Signed-off-by: Bjorn Andersson --- The details surrounding the OVP spike issue that Stephen brought up during v2 review is still unkown, the patches provided on

[PATCH v3 1/2] leds: add DT binding for Qualcomm PM8941 WLED block

2015-02-24 Thread Bjorn Andersson
From: Courtney Cavin This adds device tree binding documentation for the WLED ('White' LED) block on Qualcomm's PM8941 PMICs. Signed-off-by: Courtney Cavin Signed-off-by: Bjorn Andersson --- Changes since v2: - None Changes since v1: - None

Re: [PATCH] media: em28xx replace printk in dprintk macros

2015-02-24 Thread Joe Perches
On Tue, 2015-02-24 at 16:41 -0700, Shuah Khan wrote: > On 02/24/2015 03:03 PM, Mauro Carvalho Chehab wrote: > > Em Tue, 24 Feb 2015 11:53:47 -0700 Shuah Khan > > escreveu: > >> Replace printk macro in dprintk macros in em28xx audio, dvb, > >> and input files with pr_* equivalent routines. [] >

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-24 Thread Serge Hallyn
Quoting Christoph Lameter (c...@linux.com): > On Tue, 24 Feb 2015, Serge Hallyn wrote: > > > Unless I'm misunderstanding what you are saying, apps do have surprises. > > They drop capabilities, execute a file, and the result has capabilities > > which the app couldn't have expected. At least if

Re: [PATCH RFC v3 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-24 Thread Fam Zheng
On Wed, 02/18 19:49, Ingo Molnar wrote: > > * Fam Zheng wrote: > > > On Sun, 02/15 15:00, Jonathan Corbet wrote: > > > On Fri, 13 Feb 2015 17:03:56 +0800 > > > Fam Zheng wrote: > > > > > > > SYNOPSIS > > > > > > > >#include > > > > > > > >int epoll_pwait1(int epfd, int

Re: [PATCH 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-02-24 Thread Rik van Riel
On 02/24/2015 09:15 PM, David Rientjes wrote: > On Mon, 23 Feb 2015, r...@redhat.com wrote: > >> From: Rik van Riel >> >> The previous patch makes it so the code skips over isolcpus when >> building scheduler load balancing domains. This makes it hard to >> see for a user which of the CPUs in a

Re: [RESEND PATCH v2 7/9] mfd: rtsx: add support for rts524A

2015-02-24 Thread 敬锐
On 02/16/2015 10:28 PM, Lee Jones wrote: > > +static int rts524a_optimize_phy(struct rtsx_pcr *pcr) > +{ > + int err; > + > + err = rtsx_pci_write_register(pcr, RTS524A_PM_CTRL3, > + D3_DELINK_MODE_EN, 0x00); > + if (err < 0) > + return err; > + > +

Re: [PATCH Resend] cpufreq: Set cpufreq_cpu_data to NULL before putting kobject

2015-02-24 Thread Ethan Zhao
Viresh, With this patch applied, still got the following warning and panic, seems it needs more care. 54.474618] [ cut here ] [ 54.545816] WARNING: CPU: 0 PID: 213 at include/linux/kref.h:47 kobject_get+0x41/0x50() [ 54.642595] Modules linked in: i2c_i801(+)

Re: [PATCH 3.2 055/152] x86_64, switch_to(): Load TLS descriptors before switching DS and ES

2015-02-24 Thread Brian Gerst
On Tue, Feb 24, 2015 at 3:08 PM, Denys Vlasenko wrote: > On Tue, Feb 24, 2015 at 9:02 PM, Andy Lutomirski wrote: >>> This currently fails in 32-bit kernels (at least in qemu): >>> >>> / # ./es_test >>> Allocated GDT index 7 >>> [FAIL]ES changed from 0x3b to 0x7b >>> [FAIL]ES was

Re: [PATCH v2] scripts: checkpatch.pl: add 2 new checks on memset calls

2015-02-24 Thread Joe Perches
On Wed, 2015-02-25 at 04:40 +0200, Aya Mahfouz wrote: > This patch adds 2 new checks on memset calls in the file > checkpatch.pl as follows: > > replace memset by eth_zero_addr if the second argument is > an address of zeros (0x00). eth_zero_addr is a wrapper function > for memset that takes an

Re: [PATCH v10 10/12] xfstests: fsstress: Add fallocate insert range operation

2015-02-24 Thread Dave Chinner
On Sun, Feb 22, 2015 at 12:45:52AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > This commit adds insert operation support for fsstress, which is > meant to exercise fallocate FALLOC_FL_INSERT_RANGE support. This causes xfs/068 to fail because it changes the file creation pattern that

[PATCH] eCryptfs: don't pass fs-specific ioctl commands through

2015-02-24 Thread Tyler Hicks
eCryptfs can't be aware of what to expect when after passing an arbitrary ioctl command through to the lower filesystem. The ioctl command may trigger an action in the lower filesystem that is incompatible with eCryptfs. One specific example is when one attempts to use the Btrfs clone ioctl

Re: [PATCH] scripts: checkpatch.pl: add 2 new checks on memset calls

2015-02-24 Thread Aya Mahfouz
On Mon, Feb 23, 2015 at 07:06:27PM -0800, Joe Perches wrote: > On Mon, 2015-02-23 at 21:18 +0200, Aya Mahfouz wrote: > > This patch adds 2 new checks on memset calls in the file > > checkpatch.pl as follows: > > > > replace memset by eth_zero_addr if the second argument is > > an address of zeros

Re: Trying to use 'perf probe' to debug perf itself

2015-02-24 Thread Masami Hiramatsu
Hi Arnaldo, (2015/02/25 3:49), Arnaldo Carvalho de Melo wrote: > Hi Masami, > > I'm adding thread refcounting in perf, and in this process I am > investigating a problem, so thought about using perf itself to match > thread__get with thread__put: > > [root@ssdandy ~]# perf probe -x

[PATCH] arm64: mm: remove unused functions and variable protoypes

2015-02-24 Thread Yingjoe Chen
The functions __cpu_flush_user_tlb_range and __cpu_flush_kern_tlb_range were removed in commit fa48e6f780 'arm64: mm: Optimise tlb flush logic where we have >4K granule'. Global variable cpu_tlb was never used in arm64. Remove them. Signed-off-by: Yingjoe Chen ---

Re: Build regressions/improvements in v4.0-rc1

2015-02-24 Thread Michael Ellerman
On Tue, 2015-02-24 at 10:38 +0100, Geert Uytterhoeven wrote: > Hi Michael, > > On Tue, Feb 24, 2015 at 5:52 AM, Michael Ellerman wrote: > >> > + error: book3s_64_vio_hv.c: undefined reference to > >> > `power7_wakeup_loss': => .text+0x408) > >> > >> pseries_defconfig > > > > This one is

[PATCH v2] scripts: checkpatch.pl: add 2 new checks on memset calls

2015-02-24 Thread Aya Mahfouz
This patch adds 2 new checks on memset calls in the file checkpatch.pl as follows: replace memset by eth_zero_addr if the second argument is an address of zeros (0x00). eth_zero_addr is a wrapper function for memset that takes an address array to set as zero. The size address has to be ETH_ALEN.

Re: [patch] mm, hugetlb: close race when setting PageTail for gigantic pages

2015-02-24 Thread Hillf Danton
> Now that gigantic pages are dynamically allocatable, care must be taken > to ensure that p->first_page is valid before setting PageTail. > > If this isn't done, then it is possible to race and have compound_head() > return NULL. > > Signed-off-by: David Rientjes > --- Acked-by: Hillf Danton

[PATCH 3.10 01/16] ip: zero sockaddr returned on error queue

2015-02-24 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit f812116b174e59a350acc8e4856213a166a91222 ] The sockaddr is returned in IP(V6)_RECVERR as part of errhdr. That structure is defined and allocated on the

[PATCH 3.10 05/16] net: sctp: fix slab corruption from use after free on INIT collisions

2015-02-24 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 600ddd6825543962fb807884169e57b580dba208 ] When hitting an INIT collision case during the 4WHS with AUTH enabled, as already described in detail in commit

[PATCH 3.10 03/16] ipv6: stop sending PTB packets for MTU < 1280

2015-02-24 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Hagen Paul Pfeifer [ Upstream commit 9d289715eb5c252ae15bd547cb252ca547a3c4f2 ] Reduce the attack vector and stop generating IPv6 Fragment Header for paths with an MTU smaller than the

  1   2   3   4   5   6   7   8   9   10   >