Re: [PATCH 3.10 000/319] 3.10.105-stable review

2017-02-06 Thread Guenter Roeck
On Mon, Feb 06, 2017 at 11:48:03PM +0100, Willy Tarreau wrote: > On Mon, Feb 06, 2017 at 06:46:39AM -0800, Guenter Roeck wrote: > > > An updated patch was pushed here : > > > > > > > > > https://kernel.org/pub/linux/kernel/v3.x/stable-review/patch-3.10.105-rc2.gz > > > > > > > Better, but unf

Re: [PATCH] mm: extend zero pages to same element pages for zram

2017-02-06 Thread Minchan Kim
Hi On Mon, Feb 06, 2017 at 09:28:18AM +0800, zhouxianrong wrote: > > > On 2017/2/5 22:21, Minchan Kim wrote: > >Hi zhouxianrong, > > > >On Fri, Feb 03, 2017 at 04:42:27PM +0800, zhouxianr...@huawei.com wrote: > >>From: zhouxianrong > >> > >>test result as listed below: > >> > >>zero pattern_c

Re: net/kcm: WARNING in kcm_write_msgs

2017-02-06 Thread Cong Wang
On Mon, Feb 6, 2017 at 4:43 AM, Dmitry Vyukov wrote: > [resending as plain text] > > Hello, > > The following program triggers WARNING in kcm_write_msgs: > > WARNING: CPU: 3 PID: 2936 at net/kcm/kcmsock.c:627 > kcm_write_msgs+0x12e3/0x1b90 net/kcm/kcmsock.c:627 > CPU: 3 PID: 2936 Comm: a.out Not t

Re: [PATCH] fs: ext3/ext4: increase the protection of nlink dec and inode destroy

2017-02-06 Thread Andreas Dilger
On Feb 6, 2017, at 5:35 AM, yi zhang wrote: > > From: zhangyi > > Because of the disk and hardware issue, the ext3/4 filesystem have > many errors, the inode->i_nlink of ext3/4 becomes zero abnormally > but the dentry is still positive, it will cause memory corruption > after the following proc

Re: [PATCH 2/3] mm, vmscan: consider eligible zones in get_scan_count

2017-02-06 Thread Andrew Morton
On Mon, 6 Feb 2017 09:10:07 +0100 Michal Hocko wrote: > Hi Andrew, > it turned out that this is not a theoretical issue after all. Trevor > (added to the CC) was seeing pre-mature OOM killer triggering [1] > bisected to b2e18757f2c9 ("mm, vmscan: begin reclaiming pages on a > per-node basis"). >

Group Imbalance bug - performance drop upto factor 10x

2017-02-06 Thread Jirka Hladky
Hello, we observe that group imbalance bug can cause performance degradation upto factor 10x on 4 NUMA server. I have opened Bug 194231 https://bugzilla.kernel.org/show_bug.cgi?id=194231 for this issue. The problem was first described in this paper http://www.ece.ubc.ca/~sasha/papers/eurosys16-

[PATCH v2] serial: 8250_dw: Avoid "too much work" from bogus rx timeout interrupt

2017-02-06 Thread Douglas Anderson
On a Rockchip rk3399-based board during suspend/resume testing, we found that we could get the console UART into a state where it would print this to the console a lot: serial8250: too much work for irq42 Followed eventually by: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 11s! Upon debug

Re: [PATCH] mm/page_alloc: return 0 in case this node has no page within the zone

2017-02-06 Thread Andrew Morton
On Mon, 6 Feb 2017 23:43:14 +0800 Wei Yang wrote: > The whole memory space is divided into several zones and nodes may have no > page in some zones. In this case, the __absent_pages_in_range() would > return 0, since the range it is searching for is an empty range. > > Also this happens more of

RE: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-02-06 Thread Luck, Tony
> cgroup mode gives a per-CPU breakdown of event and running time, the > tool aggregates it into running time vs event count. Both per-cpu > breakdown and the aggregate are useful. > > Piggy-backing on perf's cgroup mode would give us all the above for free. Do you have some sample output from a p

Re: [PATCH v3 03/14] mm: use pmd lock instead of racy checks in zap_pmd_range()

2017-02-06 Thread Naoya Horiguchi
On Mon, Feb 06, 2017 at 07:02:41AM -0600, Zi Yan wrote: > On 6 Feb 2017, at 1:43, Naoya Horiguchi wrote: > > > On Sun, Feb 05, 2017 at 11:12:41AM -0500, Zi Yan wrote: > >> From: Zi Yan > >> > >> Originally, zap_pmd_range() checks pmd value without taking pmd lock. > >> This can cause pmd_protnone

Re: [PATCH 4/4] clk: mvebu: Expand mv98dx3236-core-clock support

2017-02-06 Thread Chris Packham
On 07/02/17 12:14, Stephen Boyd wrote: > On 02/03, Chris Packham wrote: >> The initial implementation in commit e120c17a70e5 ("clk: mvebu: support >> for 98DX3236 SoC") hardcoded a fixed value for the main PLL frequency. >> Port code from the Marvell supplied Linux kernel to support different >> PL

Re: [PATCH linux v6 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs

2017-02-06 Thread kbuild test robot
Hi Edward, [auto build test WARNING on hwmon/hwmon-next] [also build test WARNING on v4.10-rc7 next-20170206] [cannot apply to linux/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH v5 1/2] dt-bindings: brcm: clocks: add binding for brcmstb-cpu-clk-div

2017-02-06 Thread Florian Fainelli
On 02/06/2017 02:59 PM, Stephen Boyd wrote: > On 02/03, Florian Fainelli wrote: >> On 02/03/2017 12:06 PM, Stephen Boyd wrote: >>> On 02/01, Markus Mayer wrote: On 20 January 2017 at 16:52, Stephen Boyd wrote: > > Are these properties used? Please don't put these types of > detail

Re: [PATCH 4/4] clk: mvebu: Expand mv98dx3236-core-clock support

2017-02-06 Thread Stephen Boyd
On 02/03, Chris Packham wrote: > The initial implementation in commit e120c17a70e5 ("clk: mvebu: support > for 98DX3236 SoC") hardcoded a fixed value for the main PLL frequency. > Port code from the Marvell supplied Linux kernel to support different > PLL frequencies and provide clock gating suppor

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-02-06 Thread Steve Longerbeam
On 02/06/2017 02:33 PM, Laurent Pinchart wrote: Hi Hans, (CC'ing Sakari) On Monday 06 Feb 2017 10:50:22 Hans Verkuil wrote: On 02/05/2017 04:48 PM, Laurent Pinchart wrote: On Tuesday 24 Jan 2017 18:07:55 Steve Longerbeam wrote: On 01/24/2017 04:02 AM, Philipp Zabel wrote: On Fri, 2017-01-

Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback , breaks my box )

2017-02-06 Thread Linus Torvalds
On Mon, Feb 6, 2017 at 9:30 AM, Gabriel C wrote: > > Somewhat late , however I didn't tested 4.9.6 but jumped from 4.9.5 to 4.9.7 > and found out by box won't boot anymore. > > It hangs early and freeze with a lot RCU warnings. > Since I cannot setup a netconsole right now I cannot post the errors

Re: [PATCH] powerpc/pseries: Fix missing of_node_put

2017-02-06 Thread Tyrel Datwyler
On 02/06/2017 01:36 PM, Christophe JAILLET wrote: > If 'dlpar_configure_connector()' fails, 'parent_dn' should be released as > already done in the normal case. > > Signed-off-by: Christophe JAILLET > --- > arch/powerpc/platforms/pseries/mobility.c | 7 +-- > 1 file changed, 5 insertions(+),

Re: net/icmp: null-ptr-deref in ping_v4_push_pending_frames

2017-02-06 Thread Florian Westphal
Cong Wang wrote: > On Mon, Feb 6, 2017 at 11:39 AM, Andrey Konovalov > wrote: > > Hi, > > > > I've got the following error report while running the syzkaller fuzzer. > > > > The null-ptr-deref is caused by sendto() on a socket(PF_INET, > > SOCK_DGRAM, PROT_ICMP). > > Note, that this requires the

Re: [PATCH v5 1/2] dt-bindings: brcm: clocks: add binding for brcmstb-cpu-clk-div

2017-02-06 Thread Stephen Boyd
On 02/03, Florian Fainelli wrote: > On 02/03/2017 12:06 PM, Stephen Boyd wrote: > > On 02/01, Markus Mayer wrote: > >> On 20 January 2017 at 16:52, Stephen Boyd wrote: > >>> > >>> Are these properties used? Please don't put these types of > >>> details in DT. > >> > >> Yeah, unfortunately they are

Re: [PATCH 4/5] Input: xpad - restore LED state after device resume

2017-02-06 Thread Cameron Gutman
On 02/06/2017 02:05 PM, Dmitry Torokhov wrote: > On Sat, Feb 04, 2017 at 04:30:01PM -0800, Cameron Gutman wrote: >> The state of pad LEDs can be inconsistent when the system is >> woken up after sleep. Rather than leaving the controllers blinking, >> let's resend the last LED command to Xbox 360 pa

Re: [PATCH v3 2/7] drm/tinydrm: Add helper functions

2017-02-06 Thread Rob Herring
On Mon, Feb 6, 2017 at 5:08 AM, Thierry Reding wrote: > On Mon, Feb 06, 2017 at 11:07:42AM +0100, Daniel Vetter wrote: >> On Mon, Feb 6, 2017 at 10:35 AM, Thierry Reding >> wrote: >> >> > > > > +EXPORT_SYMBOL(tinydrm_disable_backlight); >> > > > > +#endif >> > > > >> > > > These look like they re

[PATCH] net: ethernet: ti: cpsw: remove netif_trans_update

2017-02-06 Thread Ivan Khoronzhuk
No need to update jiffies in txq->trans_start twice, it's supposed to be done in netdev_start_xmit() and anyway is re-written. Also, no reason to update trans time in case of an error. Signed-off-by: Ivan Khoronzhuk --- Based on net-next/master drivers/net/ethernet/ti/cpsw.c | 2 -- 1 file chan

[PATCH net-next v2 2/8] bpf: Use bpf_map_update_elem() from the library

2017-02-06 Thread Mickaël Salaün
Replace bpf_map_update() with bpf_map_update_elem() calls. Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Shuah Khan --- tools/lib/bpf/bpf.c| 5 +-- tools/lib/bpf/bpf.h| 2 +- tools/testing/selftests/bpf/bpf_sys.h

[PATCH net-next v2 3/8] bpf: Use bpf_map_lookup_elem() from the library

2017-02-06 Thread Mickaël Salaün
Replace bpf_map_lookup() with bpf_map_lookup_elem() calls. Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Shuah Khan --- tools/lib/bpf/bpf.c| 5 ++--- tools/lib/bpf/bpf.h| 2 +- tools/testing/selftests/bpf/bpf_sys

[PATCH net-next v2 1/8] bpf: Use bpf_load_program() from the library

2017-02-06 Thread Mickaël Salaün
Replace bpf_prog_load() with bpf_load_program() calls. Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Shuah Khan --- tools/lib/bpf/bpf.c | 9 - tools/lib/bpf/bpf.h | 4 ++-- tools/testing/selftests/bpf/Mak

[PATCH net-next v2 5/8] bpf: Use bpf_map_get_next_key() from the library

2017-02-06 Thread Mickaël Salaün
Replace bpf_map_next_key() with bpf_map_get_next_key() calls. Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Shuah Khan --- tools/lib/bpf/bpf.c| 5 ++--- tools/lib/bpf/bpf.h| 2 +- tools/testing/selftests/bpf/bpf_

Re: [PATCH 4/6] xfs: use memalloc_nofs_{save,restore} instead of memalloc_noio*

2017-02-06 Thread Dave Chinner
On Mon, Feb 06, 2017 at 07:47:43PM +0100, Michal Hocko wrote: > On Mon 06-02-17 10:32:37, Darrick J. Wong wrote: > > On Mon, Feb 06, 2017 at 06:44:15PM +0100, Michal Hocko wrote: > > > On Mon 06-02-17 07:39:23, Matthew Wilcox wrote: > > > > On Mon, Feb 06, 2017 at 03:07:16PM +0100, Michal Hocko wro

[PATCH v2] netfilter: xt_hashlimit: Fix integer divide round to zero.

2017-02-06 Thread Alban Browaeys
Diving the divider by the multiplier before applying to the input. When this would "divide by zero", divide the multiplier by the divider first then multiply the input by this value. Currently user2creds outputs zero when input value is bigger than the number of slices and lower than scale. This

Re: [PATCH net-next v1 6/7] bpf: Use the bpf_load_program() from the library

2017-02-06 Thread Daniel Borkmann
On 02/06/2017 10:30 PM, Mickaël Salaün wrote: On 06/02/2017 20:18, Daniel Borkmann wrote: On 02/06/2017 08:16 PM, Mickaël Salaün wrote: On 06/02/2017 16:30, Daniel Borkmann wrote: On 02/06/2017 12:14 AM, Mickaël Salaün wrote: Replace bpf_prog_load() with bpf_load_program() calls. Use the too

[PATCH net-next v2 7/8] bpf: Remove bpf_sys.h from selftests

2017-02-06 Thread Mickaël Salaün
Add require dependency headers. Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Shuah Khan --- tools/lib/bpf/bpf.c | 6 ++ tools/testing/selftests/bpf/bpf_sys.h | 27 --- tools/testing/selftests/bpf/test_l

Re: net/icmp: null-ptr-deref in ping_v4_push_pending_frames

2017-02-06 Thread Cong Wang
On Mon, Feb 6, 2017 at 11:39 AM, Andrey Konovalov wrote: > Hi, > > I've got the following error report while running the syzkaller fuzzer. > > The null-ptr-deref is caused by sendto() on a socket(PF_INET, > SOCK_DGRAM, PROT_ICMP). > Note, that this requires the ability to create such sockets, whic

[PATCH net-next v2 8/8] bpf: Add test_tag to .gitignore

2017-02-06 Thread Mickaël Salaün
Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Shuah Khan --- tools/testing/selftests/bpf/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore index d3b1c9bca407..541d9d7fad

[PATCH net-next v2 4/8] bpf: Use bpf_map_delete_elem() from the library

2017-02-06 Thread Mickaël Salaün
Replace bpf_map_delete() with bpf_map_delete_elem() calls. Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Shuah Khan --- tools/lib/bpf/bpf.c| 5 ++--- tools/lib/bpf/bpf.h| 2 +- tools/testing/selftests/bpf/bpf_sys

[PATCH net-next v2 6/8] bpf: Use bpf_create_map() from the library

2017-02-06 Thread Mickaël Salaün
Replace bpf_map_create() with bpf_create_map() calls. Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Shuah Khan --- tools/testing/selftests/bpf/bpf_sys.h | 15 --- tools/testing/selftests/bpf/test_lpm_map.c | 6 +++--- tools/testing/selftests/

Re: [tip:core/debugobjects] debugobjects: Reduce contention on the global pool_lock

2017-02-06 Thread Ingo Molnar
* Waiman Long wrote: > On 02/05/2017 05:03 AM, Ingo Molnar wrote: > > * tip-bot for Waiman Long wrote: > > > >> --- > >> lib/debugobjects.c | 31 ++- > >> 1 file changed, 22 insertions(+), 9 deletions(-) > >> > >> diff --git a/lib/debugobjects.c b/lib/debugobjects.c

Re: [PATCH 3.10 000/319] 3.10.105-stable review

2017-02-06 Thread Willy Tarreau
On Mon, Feb 06, 2017 at 06:46:39AM -0800, Guenter Roeck wrote: > > An updated patch was pushed here : > > > > > > https://kernel.org/pub/linux/kernel/v3.x/stable-review/patch-3.10.105-rc2.gz > > > > Better, but unfortunately there is now a different build error. > > Build results: > to

Re: [PATCH] clk: sunxi-ng: select SUNXI_CCU_MULT for sun5i

2017-02-06 Thread Stephen Boyd
On 02/02, Arnd Bergmann wrote: > We get a link error when CCU_MULT is not set with the > newly added driver: > > drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.17+0x4): undefined > reference to `ccu_mult_ops' > drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.5+0x4): undefin

Re: [PATCH] clk: sunxi-ng: Check kzalloc() for errors and cleanup error path

2017-02-06 Thread Stephen Boyd
On 02/06, Maxime Ripard wrote: > On Fri, Feb 03, 2017 at 03:00:50PM -0800, Stephen Boyd wrote: > > This kzalloc() could fail. Let's bail out with -ENOMEM here > > instead of NULL dereferencing. That silences static checkers. We > > should also cleanup on the error path even though this function > >

[GIT PULL] Power management fixes for v4.10-rc8

2017-02-06 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-4.10-rc8 with top-most commit cbf304e420da96992eae50bb6d51035681340ab8 Merge branches 'pm-core-fixes' and 'pm-cpufreq-fixes' on top of commit d5adbfcd5f7bcc6fa58a41c5c5ada0e5c826ce2c

Re: [PATCH net-next v1 6/7] bpf: Use the bpf_load_program() from the library

2017-02-06 Thread Mickaël Salaün
On 06/02/2017 23:44, Daniel Borkmann wrote: > On 02/06/2017 10:30 PM, Mickaël Salaün wrote: >> On 06/02/2017 20:18, Daniel Borkmann wrote: >>> On 02/06/2017 08:16 PM, Mickaël Salaün wrote: On 06/02/2017 16:30, Daniel Borkmann wrote: > On 02/06/2017 12:14 AM, Mickaël Salaün wrote: >>

Re: [PATCH net-next v2 3/3] bpf: Always test unprivileged programs

2017-02-06 Thread Daniel Borkmann
On 02/06/2017 09:52 PM, Mickaël Salaün wrote: If selftests are run as root, then execute the unprivileged checks as well. This switch from 240 to 364 tests. The test numbers are suffixed with "/u" when executed as unprivileged or with "/p" when executed as privileged. The geteuid() check is rep

Re: [PATCH 18/89] sched/core: Move task->mm handling methods to

2017-02-06 Thread Ingo Molnar
* Christoph Hellwig wrote: > On Mon, Feb 06, 2017 at 02:28:21PM +0100, Ingo Molnar wrote: > > Move the following task->mm helper APIs into a new header file, > > , to further reduce the size and complexity > > of : > > Is there any good reason why they can't just go into linux/mm.h? So mm.h is

Re: linux-next: build warning after merge of the tty tree

2017-02-06 Thread Stephen Rothwell
Hi all, On Mon, 6 Feb 2017 18:01:20 +0100 Ulrich Hecht wrote: > > On Mon, Feb 6, 2017 at 9:50 AM, Greg KH wrote: > > > > I think this is fixed by a patch I just took into my tree, which isn't > > in linux-next yet. Right Ulrich? > > That is correct, it's called in "[PATCH v4 2/4] serial: sh

Re: [PATCH 20/89] sched/headers, signals: Separate out task_struct::signal and task_struct::sighand types and accessors into

2017-02-06 Thread Ingo Molnar
* Linus Torvalds wrote: > On Mon, Feb 6, 2017 at 1:35 PM, Ingo Molnar wrote: > > > > > > BTW., most of the real work was in identifying and generating that "noise" > > - but > > to reviewers it's obviously the least interesting bits. > > > > Also note that beyond the header splitup the "noise"

Re: [PATCH 3.10 037/319] xen/pciback: Save xen_pci_op commands before processing it

2017-02-06 Thread Willy Tarreau
On Mon, Feb 06, 2017 at 09:33:45AM -0500, Konrad Rzeszutek Wilk wrote: > On Sun, Feb 05, 2017 at 08:20:24PM +0100, Willy Tarreau wrote: > > From: Konrad Rzeszutek Wilk > > > > commit 8135cf8b092723dbfcc611fe6fdcb3a36c9951c5 upstream. > > You also need: > > commit d159457b84395927b5a52adb72f748d

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-02-06 Thread Laurent Pinchart
Hi Hans, (CC'ing Sakari) On Monday 06 Feb 2017 10:50:22 Hans Verkuil wrote: > On 02/05/2017 04:48 PM, Laurent Pinchart wrote: > > On Tuesday 24 Jan 2017 18:07:55 Steve Longerbeam wrote: > >> On 01/24/2017 04:02 AM, Philipp Zabel wrote: > >>> On Fri, 2017-01-20 at 15:03 +0100, Hans Verkuil wrote:

[PATCH] hwrng: cavium: Use per device name to allow for multiple devices.

2017-02-06 Thread David Daney
Systems containing the Cavium HW RNG may have one device per NUMA node. A typical configuration is a 2-node NUMA system, which results in 2 RNG devices. The hwrng subsystem refuses (and rightly so) to register more than one device with he same name, so we get failure messages on these systems. M

Re: [PATCH v3 2/7] drm/tinydrm: Add helper functions

2017-02-06 Thread Dave Airlie
> > I definitely don't want that we don't attempt this. But brought from years > of experience, I recommend to merge first (with pre-refactoring already > applied, but helpers only extracted, not yet at the right spot), and then > follow up with. Because on average, there's way too many trees with

Re: [PATCH 3.10 141/319] scsi: mpt3sas: Fix secure erase premature termination

2017-02-06 Thread Willy Tarreau
Hi Sathya, On Mon, Feb 06, 2017 at 09:21:44AM -0700, Sathya Prakash Veerichetty wrote: > Willy, > I think this patch had a problem and later modified to a different > blocking mechanism. Could you please pull in the latest change for this? Much appreciated, thanks. I've checked and found the pat

Re: [PATCH] mm/autonuma: don't use set_pte_at when updating protnone ptes

2017-02-06 Thread Mel Gorman
On Mon, Feb 06, 2017 at 10:36:16PM +0530, Aneesh Kumar K.V wrote: > Architectures like ppc64, use privilege access bit to mark pte non accessible. > This implies that kernel can do a copy_to_user to an address marked for numa > fault. > This also implies that there can be a parallel hardware updat

Re: [PATCH] arm64: kconfig: allow support for memory failure handling

2017-02-06 Thread Baicar, Tyler
Hello Punit, On 2/3/2017 9:27 AM, Punit Agrawal wrote: Tyler Baicar writes: From: "Jonathan (Zhixiong) Zhang" If ACPI_APEI and MEMORY_FAILURE is configured, select ACPI_APEI_MEMORY_FAILURE. This enables memory failure recovery when such memory failure is reported through ACPI APEI. APEI (A

Re: tip: demise of tsk_cpus_allowed() and tsk_nr_cpus_allowed()

2017-02-06 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Mon, Feb 06, 2017 at 01:29:28PM +0100, Ingo Molnar wrote: > > > +/* Future-safe accessor for struct task_struct's cpus_allowed. */ > > > +static inline const struct cpumask *tsk_cpus_allowed(struct task_struct > > > *p) > > > +{ > > > + if (__migrate_disabled(

[PATCH] namei: Remove unlikely annotation for revalidate check in lookup_fast()

2017-02-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The likely/unlikely profiler showed that the unlikely around the dentry->d_flags & DCACHE_OP_REVALIDATE was wrong 95% of the time. Adding trace_printk()s, it revealed that the dentry ops had hooks to: kernfs_dop_revalidate pid_revalidate proc_sys_revalidate ti

Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-02-06 Thread David Carrillo-Cisneros
On Mon, Feb 6, 2017 at 1:22 PM, Luck, Tony wrote: >> 12) Whatever fs or syscall is provided instead of perf syscalls, it >> should provide total_time_enabled in the way perf does, otherwise is >> hard to interpret MBM values. > > It seems that it is hard to define what we even mean by memory bandw

Re: [PATCH v2] PCI: pciehp: Don't enable PME on runtime suspend

2017-02-06 Thread Bjorn Helgaas
On Mon, Feb 06, 2017 at 10:20:41PM +0100, Lukas Wunner wrote: > On Mon, Feb 06, 2017 at 11:54:05AM -0600, Bjorn Helgaas wrote: > > On Mon, Feb 06, 2017 at 06:54:37AM +0100, Lukas Wunner wrote: > > > Since commit 68db9bc81436 ("PCI: pciehp: Add runtime PM support for PCIe > > > hotplug ports") we ru

Re: [PATCH v13 1/2] serial: exar: split out the exar code from 8250_pci

2017-02-06 Thread Sudip Mukherjee
On Monday 06 February 2017 01:49 PM, Jan Kiszka wrote: On 2017-02-03 22:31, Sudip Mukherjee wrote: On Friday 03 February 2017 02:02 PM, Jan Kiszka wrote: BTW, are you personally the copyright holder or your employer Codethink? Depends on your contractual situation, but the former is less common

Re: [PATCH 00/89] Major reorganization of

2017-02-06 Thread Ingo Molnar
* Linus Torvalds wrote: > On Mon, Feb 6, 2017 at 5:28 AM, Ingo Molnar wrote: > > So 25+ years ago, in Linux-0.01, include/linux/sched.h was already > > the biggest core kernel header file: [...] > > Ok, so having tried to look through this series I do like it, but I'd be > *really* much happi

Re: [PATCH 3/5] Input: xpad - send rumble on Xbox One init to fix PowerA pads

2017-02-06 Thread Dmitry Torokhov
On Sat, Feb 04, 2017 at 04:30:00PM -0800, Cameron Gutman wrote: > Some PowerA pads require a rumble packet to start sending > input reports. > > Signed-off-by: Cameron Gutman > --- > drivers/input/joystick/xpad.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/input/joys

Re: [PATCH v3 2/7] drm/tinydrm: Add helper functions

2017-02-06 Thread Noralf Trønnes
Den 06.02.2017 16.53, skrev Daniel Vetter: On Mon, Feb 06, 2017 at 12:08:47PM +0100, Thierry Reding wrote: On Mon, Feb 06, 2017 at 11:07:42AM +0100, Daniel Vetter wrote: On Mon, Feb 6, 2017 at 10:35 AM, Thierry Reding wrote: +EXPORT_SYMBOL(tinydrm_disable_backlight); +#endif These look lik

Re: [tip:core/debugobjects] debugobjects: Reduce contention on the global pool_lock

2017-02-06 Thread Waiman Long
On 02/05/2017 05:03 AM, Ingo Molnar wrote: > * tip-bot for Waiman Long wrote: > >> --- >> lib/debugobjects.c | 31 ++- >> 1 file changed, 22 insertions(+), 9 deletions(-) >> >> diff --git a/lib/debugobjects.c b/lib/debugobjects.c >> index dc78217..5476bbe 100644 >> ---

Re: [PATCH] ARM: defconfigs: make NF_CT_PROTO_SCTP and NF_CT_PROTO_UDPLITE built-in

2017-02-06 Thread Robert Jarzmik
Arnd Bergmann writes: > On Fri, Feb 3, 2017 at 5:46 PM, Arnd Bergmann wrote: >> The symbols can no longer be used as loadable modules, leading to a harmless >> Kconfig >> warning: >> >> arch/arm/configs/imote2_defconfig:60:warning: symbol value 'm' invalid for >> NF_CT_PROTO_UDPLITE >> arch/ar

Re: [PATCH v13 1/2] serial: exar: split out the exar code from 8250_pci

2017-02-06 Thread Sudip Mukherjee
On Monday 06 February 2017 02:06 PM, Greg Kroah-Hartman wrote: On Mon, Feb 06, 2017 at 02:49:07PM +0100, Jan Kiszka wrote: On 2017-02-03 22:31, Sudip Mukherjee wrote: On Friday 03 February 2017 02:02 PM, Jan Kiszka wrote: BTW, are you personally the copyright holder or your employer Codethink?

Re: [PATCH] sched/fair: Fix the nohz.next_balance update mess

2017-02-06 Thread Wanpeng Li
2017-02-06 21:23 GMT+08:00 Vincent Guittot : > On 6 February 2017 at 09:33, Wanpeng Li wrote: >> Hi Vincent, >> 2017-02-06 16:07 GMT+08:00 Vincent Guittot : >>> Hi Wanpeng >>> >>> On 5 February 2017 at 10:57, Wanpeng Li wrote: From: Wanpeng Li The commit: c5afb6a87f2 ("sche

Re: mm: deadlock between get_online_cpus/pcpu_alloc

2017-02-06 Thread Mel Gorman
On Mon, Feb 06, 2017 at 08:13:35PM +0100, Dmitry Vyukov wrote: > On Mon, Jan 30, 2017 at 4:48 PM, Dmitry Vyukov wrote: > > On Sun, Jan 29, 2017 at 6:22 PM, Vlastimil Babka wrote: > >> On 29.1.2017 13:44, Dmitry Vyukov wrote: > >>> Hello, > >>> > >>> I've got the following deadlock report while ru

Re: [PATCH 4/5] Input: xpad - restore LED state after device resume

2017-02-06 Thread Dmitry Torokhov
On Sat, Feb 04, 2017 at 04:30:01PM -0800, Cameron Gutman wrote: > The state of pad LEDs can be inconsistent when the system is > woken up after sleep. Rather than leaving the controllers blinking, > let's resend the last LED command to Xbox 360 pads on resume. > > Since Xbox One pads stop flashing

Re: [PATCH v13 1/2] serial: exar: split out the exar code from 8250_pci

2017-02-06 Thread Sudip Mukherjee
On Monday 06 February 2017 02:45 PM, Jan Kiszka wrote: On 2017-01-30 23:28, Sudip Mukherjee wrote: From: Sudip Mukherjee Add the serial driver for the Exar chips. And also register the platform device for the GPIO provided by the Exar chips. And another question: you left pci_fastcom335_set

Re: [PATCH v2] firmware/Makefile: force recompilation if makefile changes

2017-02-06 Thread Luis R. Rodriguez
On Mon, Jan 23, 2017 at 07:07:27AM -0800, Luis R. Rodriguez wrote: > If you modify the target asm we currently do not force the > recompilation of the firmware files. The target asm is in > the firmware/Makefile, peg this file as a dependency to > require re-compilation of firmware targets when the

Re: [PATCH 5/5] Input: xpad - fix stuck mode button on Xbox One S pad

2017-02-06 Thread Dmitry Torokhov
On Sat, Feb 04, 2017 at 04:30:02PM -0800, Cameron Gutman wrote: > The Xbox One S requires an ack to its mode button report > otherwise it continuously retransmits the report. This > makes the mode button appear to be stuck down after it > is pressed for the first time. > > Signed-off-by: Cameron G

Re: [PATCH 78/89] sched/core: Remove the tsk_cpus_allowed() wrapper

2017-02-06 Thread Ingo Molnar
* Peter Zijlstra wrote: > > +++ b/arch/powerpc/kernel/smp.c > > +++ b/arch/sparc/kernel/sysfs.c > > +++ b/drivers/cpufreq/sparc-us2e-cpufreq.c > > +++ b/drivers/cpufreq/sparc-us3-cpufreq.c > > - cpumask_copy(&cpus_allowed, tsk_cpus_allowed(current)); > > + cpumask_copy(&cpus_allowed, ¤t->cp

[PATCH] gdrom: Add missing error code

2017-02-06 Thread Christophe JAILLET
In case of error, 'err' is known to be 0 here, because of the previous test. Set it to a -ENOMEM instead. Signed-off-by: Christophe JAILLET --- drivers/cdrom/gdrom.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/cdrom/gdrom.c b/drivers/cdrom/gdrom.c index b6

Re: [PATCH 20/89] sched/headers, signals: Separate out task_struct::signal and task_struct::sighand types and accessors into

2017-02-06 Thread Linus Torvalds
On Mon, Feb 6, 2017 at 1:35 PM, Ingo Molnar wrote: > > > BTW., most of the real work was in identifying and generating that "noise" - > but > to reviewers it's obviously the least interesting bits. > > Also note that beyond the header splitup the "noise" is actually what improves > kernel code th

Re: [PATCH v2] PCI: pciehp: Don't enable PME on runtime suspend

2017-02-06 Thread Rafael J. Wysocki
On Monday, February 06, 2017 10:20:41 PM Lukas Wunner wrote: > On Mon, Feb 06, 2017 at 11:54:05AM -0600, Bjorn Helgaas wrote: > > On Mon, Feb 06, 2017 at 06:54:37AM +0100, Lukas Wunner wrote: > > > Since commit 68db9bc81436 ("PCI: pciehp: Add runtime PM support for PCIe > > > hotplug ports") we run

Re: [PATCH net-next 0/6] net: dsa: add fabric notifier

2017-02-06 Thread David Miller
From: Vivien Didelot Date: Fri, 3 Feb 2017 13:20:15 -0500 > When a switch fabric is composed of multiple switch chips, these chips > must be programmed accordingly when an event occurred on one of them. > > Examples of such event include hardware bridging: when a Linux bridge > spans interconne

Re: [PATCH 57/89] sched/headers: Split out of

2017-02-06 Thread Ingo Molnar
* Linus Torvalds wrote: > So this was another of those "lots of noise, hiding the actual changes". > > And in the midst of all that noise was this fixup: > > On Mon, Feb 6, 2017 at 5:29 AM, Ingo Molnar wrote: > > > > diff --git a/arch/tile/mm/fault.c b/arch/tile/mm/fault.c > > index 1e0509a4c

[PATCH v2 3/4] cpufreq: bmips-cpufreq: CPUfreq driver for Broadcom's BMIPS SoCs

2017-02-06 Thread Markus Mayer
From: Markus Mayer Add the MIPS CPUfreq driver. This driver currently supports CPUfreq on BMIPS5xxx-based SoCs. Signed-off-by: Markus Mayer --- drivers/cpufreq/Kconfig | 10 +++ drivers/cpufreq/Makefile| 1 + drivers/cpufreq/bmips-cpufreq.c | 195

[PATCH v2 0/4] cpufreq: bmips-cpufreq: Add CPUfreq driver for Broadcom's BMIPS SoCs

2017-02-06 Thread Markus Mayer
From: Markus Mayer This series adds a CPUfreq driver for the BMIPS SoCs. In the first iteration only BMIPS5xxx SoCs are supported. The very first patch contains updates to bmips_stb_defconfig that are unrelated to this series. Looks like bmips_stb_defconfig hasn't been updated in a while. I didn

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-06 Thread J. Bruce Fields
On Mon, Feb 06, 2017 at 07:18:16AM -0800, James Bottomley wrote: > On Mon, 2017-02-06 at 09:50 -0500, Theodore Ts'o wrote: > > On Sun, Feb 05, 2017 at 10:46:23PM -0800, James Bottomley wrote: > > > Yes, I know the problem. However, I believe most current linux > > > filesystems no longer guarantee

[PATCH v2 4/4] MIPS: BMIPS: enable CPUfreq

2017-02-06 Thread Markus Mayer
From: Markus Mayer Enable all applicable CPUfreq options. Signed-off-by: Markus Mayer --- arch/mips/configs/bmips_stb_defconfig | 8 1 file changed, 8 insertions(+) diff --git a/arch/mips/configs/bmips_stb_defconfig b/arch/mips/configs/bmips_stb_defconfig index 3be15cb..3cefa6b 1006

[PATCH v2 2/4] BMIPS: Enable prerequisites for CPUfreq in MIPS Kconfig.

2017-02-06 Thread Markus Mayer
From: Markus Mayer Turn on CPU_SUPPORTS_CPUFREQ and MIPS_EXTERNAL_TIMER for BMIPS. Signed-off-by: Markus Mayer --- arch/mips/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index b3c5bde..e137eed 100644 --- a/arch/mips/Kconfig +++ b/arch/mips

[PATCH v2 1/4] MIPS: BMIPS: Update defconfig

2017-02-06 Thread Markus Mayer
From: Markus Mayer Ran "make savedefconfig" to bring bmips_stb_defconfig up to date. Signed-off-by: Markus Mayer --- arch/mips/configs/bmips_stb_defconfig | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/mips/configs/bmips_stb_defconfig b/arch/mips/configs/bmip

Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-02-06 Thread David Carrillo-Cisneros
On Mon, Feb 6, 2017 at 1:36 PM, Shivappa Vikas wrote: > > > On Mon, 6 Feb 2017, Luck, Tony wrote: > >>> 12) Whatever fs or syscall is provided instead of perf syscalls, it >>> should provide total_time_enabled in the way perf does, otherwise is >>> hard to interpret MBM values. >> >> >> It seems t

Re: [PATCH 52/89] sched/headers: Split out of

2017-02-06 Thread Ingo Molnar
* Ingo Molnar wrote: > > * Linus Torvalds wrote: > > > On Mon, Feb 6, 2017 at 5:28 AM, Ingo Molnar wrote: > > > diff --git a/mm/usercopy.c b/mm/usercopy.c > > > index 35685a236e34..2ce59b236d23 100644 > > > --- a/mm/usercopy.c > > > +++ b/mm/usercopy.c > > > @@ -17,6 +17,11 @@ > > > #includ

Re: [PATCH 52/89] sched/headers: Split out of

2017-02-06 Thread Ingo Molnar
* Linus Torvalds wrote: > On Mon, Feb 6, 2017 at 5:28 AM, Ingo Molnar wrote: > > diff --git a/mm/usercopy.c b/mm/usercopy.c > > index 35685a236e34..2ce59b236d23 100644 > > --- a/mm/usercopy.c > > +++ b/mm/usercopy.c > > @@ -17,6 +17,11 @@ > > #include > > #include > > #include > > +<<

[PATCHv4 2/7] tap: Renaming tap related APIs, data structures, macros

2017-02-06 Thread Sainath Grandhi
Renaming tap related APIs, data structures and macros in tap.c from macvtap_.* to tap_.* Signed-off-by: Sainath Grandhi --- drivers/net/macvtap_main.c | 18 +-- drivers/net/tap.c | 332 ++--- drivers/vhost/net.c| 3 +- include/linux/if

[PATCHv4 3/7] tap: Tap character device creation/destroy API

2017-02-06 Thread Sainath Grandhi
This patch provides tap device create/destroy APIs in tap.c. Signed-off-by: Sainath Grandhi --- drivers/net/macvtap_main.c | 30 +++--- drivers/net/tap.c | 62 ++ include/linux/if_tap.h | 3 +++ 3 files changed, 63 inserti

[PATCHv4 5/7] tap: Extending tap device create/destroy APIs

2017-02-06 Thread Sainath Grandhi
Extending tap APIs get/free_minor and create/destroy_cdev to handle more than one type of virtual interface. Signed-off-by: Sainath Grandhi --- drivers/net/macvtap_main.c | 6 +-- drivers/net/tap.c | 101 +++-- include/linux/if_tap.h | 4

[PATCHv4 4/7] tap: Abstract type of virtual interface from tap implementation

2017-02-06 Thread Sainath Grandhi
macvlan object is re-structured to hold tap related elements in a separate entity, tap_dev. Upon NETDEV_REGISTER device_event, tap_dev is registered with idr and fetched again on tap_open. Few of the tap functions are modified to accepted tap_dev as argument. tap_dev object includes callbacks to be

[PATCHv4 1/7] tap: Refactoring macvtap.c

2017-02-06 Thread Sainath Grandhi
macvtap module has code for tap/queue management and link management. This patch splits the code into macvtap_main.c for link management and tap.c for tap/queue management. Functionality in tap.c can be re-used for implementing tap on other virtual interfaces. Signed-off-by: Sainath Grandhi --

[PATCHv4 6/7] tap: tap as an independent module

2017-02-06 Thread Sainath Grandhi
This patch makes tap a separate module for other types of virtual interfaces, for example, ipvlan to use. Signed-off-by: Sainath Grandhi --- drivers/net/Kconfig | 15 +++ drivers/net/Makefile | 3 +-- drivers/net/{macvtap_main.c => macvtap

[PATCHv4 7/7] ipvtap: IP-VLAN based tap driver

2017-02-06 Thread Sainath Grandhi
This patch adds a tap character device driver that is based on the IP-VLAN network interface, called ipvtap. An ipvtap device can be created in the same way as an ipvlan device, using 'type ipvtap', and then accessed using the tap user space interface. Signed-off-by: Sainath Grandhi --- drivers/

[PATCHv4 0/7] Refactor macvtap to re-use tap functionality by other virtual intefaces

2017-02-06 Thread Sainath Grandhi
Tap character devices can be implemented on other virtual interfaces like ipvlan, similar to macvtap. Source code for tap functionality in macvtap can be re-used for this purpose. This patch series splits macvtap source into two modules, macvtap and tap. This patch series also includes a patch for

RE: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-02-06 Thread Shivappa Vikas
On Mon, 6 Feb 2017, Luck, Tony wrote: 12) Whatever fs or syscall is provided instead of perf syscalls, it should provide total_time_enabled in the way perf does, otherwise is hard to interpret MBM values. It seems that it is hard to define what we even mean by memory bandwidth. If you are m

[PATCH] powerpc/pseries: Fix missing of_node_put

2017-02-06 Thread Christophe JAILLET
If 'dlpar_configure_connector()' fails, 'parent_dn' should be released as already done in the normal case. Signed-off-by: Christophe JAILLET --- arch/powerpc/platforms/pseries/mobility.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/pseries/mob

Re: [PATCH] [net-next] net/mlx5e: fix another maybe-uninitialized false-positive

2017-02-06 Thread David Miller
From: Arnd Bergmann Date: Fri, 3 Feb 2017 17:37:03 +0100 > In commit abeffce ("net/mlx5e: Fix a -Wmaybe-uninitialized warning"), I fixed > a > gcc warning for the ipv4 offload handling. Now we get the same warning for the > added ipv6 support: > > drivers/net/ethernet/mellanox/mlx5/core/en_tc.

Re: [PATCH 20/89] sched/headers, signals: Separate out task_struct::signal and task_struct::sighand types and accessors into

2017-02-06 Thread Ingo Molnar
* Linus Torvalds wrote: > On Mon, Feb 6, 2017 at 5:28 AM, Ingo Molnar wrote: > > task_struct::signal and task_struct::sighand are pointers, which would > > normally make it > > straightforward to not define those types in sched.h. > > > > That is not so, because the types are accompanied by a

Re: pciehp is broken from 4.10-rc1

2017-02-06 Thread Lukas Wunner
On Mon, Feb 06, 2017 at 12:37:06PM +0200, Mika Westerberg wrote: > On Sun, Feb 05, 2017 at 08:34:54AM +0100, Lukas Wunner wrote: > > @Mika, Rafael: Are you aware of Skylake machines with unreliable link > > training, or perhaps errata of Skylake chips related to link training > > on hotplug ports?

Re: [PATCH v2] PCI: pciehp: Don't enable PME on runtime suspend

2017-02-06 Thread Rafael J. Wysocki
On Monday, February 06, 2017 10:20:41 PM Lukas Wunner wrote: > On Mon, Feb 06, 2017 at 11:54:05AM -0600, Bjorn Helgaas wrote: > > On Mon, Feb 06, 2017 at 06:54:37AM +0100, Lukas Wunner wrote: > > > Since commit 68db9bc81436 ("PCI: pciehp: Add runtime PM support for PCIe > > > hotplug ports") we run

Re: [PATCH 00/89] Major reorganization of

2017-02-06 Thread Linus Torvalds
On Mon, Feb 6, 2017 at 5:28 AM, Ingo Molnar wrote: > So 25+ years ago, in Linux-0.01, include/linux/sched.h was already > the biggest core kernel header file: [...] Ok, so having tried to look through this series I do like it, but I'd be *really* much happier if more of it was just verifiably a s

Re: [PATCH net-next v1 6/7] bpf: Use the bpf_load_program() from the library

2017-02-06 Thread Mickaël Salaün
On 06/02/2017 20:18, Daniel Borkmann wrote: > On 02/06/2017 08:16 PM, Mickaël Salaün wrote: >> On 06/02/2017 16:30, Daniel Borkmann wrote: >>> On 02/06/2017 12:14 AM, Mickaël Salaün wrote: Replace bpf_prog_load() with bpf_load_program() calls. Use the tools include directory instead

Re: [PATCHv2] regulator: cpcap: Add basic regulator support

2017-02-06 Thread Rob Herring
On Thu, Feb 2, 2017 at 5:43 PM, Tony Lindgren wrote: > Many Motorola phones like droid 4 are using a custom PMIC called CPCAP > or 6556002. This PMIC is used with several SoCs, I've noticed at least > omap3, omap4 and Tegra2 based Motorola phones and tablets using it. > > Cc: devicet...@vger.kerne

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