RE: [patch] mm, slab: faster active and free stats

2016-12-02 Thread
Hello, David. There is some problem on my e-mail client so I have to use another one. Please understand broken reply style. Yeah, I like this version much. Can we do account slabs_free directly in get_first_slab() and get_valid_first_slab()? Passing page_is_free isn't needed if we do it directl

[RFC][PATCH] [media] atmel-isc: add the isc pipeline function

2016-12-02 Thread Songjun Wu
Image Sensor Controller has an internal image processor. It can convert raw format to the other formats, like RGB565, YUV420P. A module parameter 'sensor_preferred' is used to enable or disable the pipeline function. Some v4l2 controls are added to tuning the image when the pipeline function is ena

Re: [PATCH v3] PCI/ACPI: xgene: Add ECAM quirk for X-Gene PCIe controller

2016-12-02 Thread Jon Masters
Quick reply - sorry for top posting (it's 3am...) - I would favor keeping the existing Fixed32Memory _CRS but switching over to prefer the PNP entry as a good citizen. The trouble is that it would be unfortunate if existing distros stopped working on newer firmware and it would lead to IMO more

Re: [PATCH 2/6] fscrypt: Release fscrypt context on in-place encryption

2016-12-02 Thread Eric Biggers
On Thu, Dec 01, 2016 at 11:14:54PM +0100, Richard Weinberger wrote: > From: David Gstir > > In case of in-place encryption ctx must be released right away. > Otherwise ctx is never freed. > I didn't notice this before, but the fscrypt_ctx isn't actually used at all in the "own pages" crypto cas

Re: [PATCH 1/2] mm, page_alloc: Keep pcp count and list contents in sync if struct page is corrupted

2016-12-02 Thread Michal Hocko
On Fri 02-12-16 00:22:43, Mel Gorman wrote: > Vlastimil Babka pointed out that commit 479f854a207c ("mm, page_alloc: > defer debugging checks of pages allocated from the PCP") will allow the > per-cpu list counter to be out of sync with the per-cpu list contents > if a struct page is corrupted. Thi

Re: [PATCH v4 1/1] PCI/ACPI: xgene: Add ECAM quirk for X-Gene PCIe controller

2016-12-02 Thread Jon Masters
You're welcome. (Unrelated) Note that I added a console= and earlycon in my test (and got the baud rate wrong for the console but nevermind...was ssh'd in after the earlycon output I cared about anyway) because of some other cleanup work for the SPCR parsing that apparently is still not quite f

[PATCH] trace: extend trace_clock to support arch_arm clock counter

2016-12-02 Thread Srinivas Ramana
Extend the trace_clock to support the arch timer cycle counter so that we can get the monotonic cycle count in the traces. This will help in correlating the traces with the timestamps/events in other subsystems in the soc which share this common counter for driving their timers. Signed-off-by: Sri

Re: [PATCH 1/2] Add crypto driver support for some MediaTek chips

2016-12-02 Thread Corentin Labbe
Hello I have some minor comment inline On Fri, Dec 02, 2016 at 11:26:44AM +0800, Ryder Lee wrote: > This adds support for the MediaTek hardware accelerator on > mt7623/mt2701/mt8521p SoC. > > This driver currently implement: > - SHA1 and SHA2 family(HMAC) hash alogrithms. > - AES block cipher in

Re: [PATCH 3/6] fscrypt: Cleanup fscrypt_{decrypt,encrypt}_page()

2016-12-02 Thread Eric Biggers
On Thu, Dec 01, 2016 at 11:14:55PM +0100, Richard Weinberger wrote: > + * @lblk_num: Logical block number. This must be unique for multiple > + * calls with same page. Must be unique for all calls with the same *inode*, except when overwriting previously written data. Eric

Re: [PATCH 2/2] mm: page_alloc: High-order per-cpu page allocator v5

2016-12-02 Thread Michal Hocko
On Fri 02-12-16 15:03:46, Joonsoo Kim wrote: [...] > > o pcp accounting during free is now confined to free_pcppages_bulk as it's > > impossible for the caller to know exactly how many pages were freed. > > Due to the high-order caches, the number of pages drained for a request > > is no long

Re: [patch 1/4] rtmutex: Prevent dequeue vs. unlock race

2016-12-02 Thread Thomas Gleixner
On Thu, 1 Dec 2016, Peter Zijlstra wrote: > On Wed, Nov 30, 2016 at 09:04:41PM -, Thomas Gleixner wrote: > > It's remarkable that the test program provided by David triggers on ARM64 > > and MIPS64 really quick, but it refuses to reproduce on x8664, while the > > problem exists there as well.

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-02 Thread Giuseppe CAVALLARO
Hello On 11/24/2016 10:25 PM, Pavel Machek wrote: Hi! I'm debugging strange delays during transmit in stmmac driver. They seem to be present in 4.4 kernel (and older kernels, too). Workload is burst of udp packets being sent, pause, burst of udp packets, ... ... 4.9-rc6 still has the delay

Re: [PATCH 2/2] mm: page_alloc: High-order per-cpu page allocator v5

2016-12-02 Thread Michal Hocko
On Fri 02-12-16 00:22:44, Mel Gorman wrote: > Changelog since v4 > o Avoid pcp->count getting out of sync if struct page gets corrupted > > Changelog since v3 > o Allow high-order atomic allocations to use reserves > > Changelog since v2 > o Correct initialisation to avoid -Woverflow warning > >

Re: [PATCH] stmmac: simplify flag assignment

2016-12-02 Thread Giuseppe CAVALLARO
+ Alex On 11/30/2016 12:44 PM, Pavel Machek wrote: Simplify flag assignment. Signed-off-by: Pavel Machek diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index ed20668..0b706a7 100644 --- a/drivers/net/ethernet/stmicro/stmmac

Re: fsnotify_mark_srcu wtf?

2016-12-02 Thread Miklos Szeredi
On Thu, Nov 10, 2016 at 8:46 PM, Jan Kara wrote: > On Wed 09-11-16 20:26:16, Amir Goldstein wrote: >> On Wed, Nov 9, 2016 at 1:10 PM, Jan Kara wrote: >> > And this does not work as well... Fanotify must notify groups by their >> > priority so you cannot arbitrarily reorder ordering in which grou

Re: [PATCH] bdisp: Clean up file handle in open() error path.

2016-12-02 Thread Fabien DESSENNE
Hi Shailendra, Thank you for the patch, it's good for me. On 12/02/2016 05:48 AM, Shailendra Verma wrote: > The File handle is not yet added in the vdev list.So no need to call > v4l2_fh_del(&ctx->fh)if it fails to create control. > > Signed-off-by: Shailendra Verma Reviewed-by: Fabien Dessenne

[PATCH net v3] tipc: check minimum bearer MTU

2016-12-02 Thread Michal Kubecek
Qian Zhang (张谦) reported a potential socket buffer overflow in tipc_msg_build() which is also known as CVE-2016-8632: due to insufficient checks, a buffer overflow can occur if MTU is too short for even tipc headers. As anyone can set device MTU in a user/net namespace, this issue can be abused by

Re: [PATCH] timekeeping: Change type of nsec variable to unsigned in its calculation.

2016-12-02 Thread Thomas Gleixner
On Fri, 2 Dec 2016, David Gibson wrote: > On Thu, Dec 01, 2016 at 12:59:51PM +0100, Thomas Gleixner wrote: > > So I assume that you are talking about a VM which was not scheduled by the > > host due to overcommitment (who ever thought that this is a good idea) or > > whatever other reason (yes, peo

Re: [PATCH v3] x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic

2016-12-02 Thread Vitaly Kuznetsov
Thomas Gleixner writes: > Vitaly, > > On Thu, 1 Dec 2016, Vitaly Kuznetsov wrote: > >> There is a feature in Hyper-V (Debug-VM --InjectNonMaskableInterrupt) which >> injects NMI to the guest. Prior to WS2016 the NMI is injected to all CPUs >> of the guest and WS2016 injects it to CPU0 only. When

Re: [PATCH V5] leds: pca955x: Add ACPI support for pca955x

2016-12-02 Thread Jacek Anaszewski
Hi Tin, On 12/02/2016 05:39 AM, Tin Huynh wrote: This patch enables ACPI support for leds-pca955x driver. Signed-off-by: Tin Huynh --- drivers/leds/leds-pca955x.c | 24 ++-- 1 files changed, 22 insertions(+), 2 deletions(-) Change from V4: -Using client->name instead o

Re: stmmac: turn coalescing / NAPI off in stmmac

2016-12-02 Thread Giuseppe CAVALLARO
On 12/1/2016 11:48 PM, Pavel Machek wrote: @@ -2771,12 +2771,8 @@ static netdev_features_t stmmac_fix_features(struct net_device *dev, features &= ~NETIF_F_CSUM_MASK; /* Disable tso if asked by ethtool */ - if ((priv->plat->tso_en) && (priv->dma_cap.tsoen)) { -

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-02 Thread Giuseppe CAVALLARO
+ Lino On 12/2/2016 9:24 AM, Giuseppe CAVALLARO wrote: Hello On 11/24/2016 10:25 PM, Pavel Machek wrote: Hi! I'm debugging strange delays during transmit in stmmac driver. They seem to be present in 4.4 kernel (and older kernels, too). Workload is burst of udp packets being sent, pause, bu

Re: [PATCH 1/2] net: stmmac: avoid Camelcase naming

2016-12-02 Thread Giuseppe CAVALLARO
Hello Corentin patches look ok, I just wonder if you tested it in case of the stmmac is connected to a transceiver. Let me consider it a critical part of the driver to properly work. Regards Peppe On 12/1/2016 4:19 PM, Corentin Labbe wrote: This patch simply rename regValue to value, like it w

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-02 Thread Pavel Machek
Hi! > >>1 HZ, which is the lowest granularity of non-highres timers in the > >>kernel, is variable as well as already too large of a delay for > >>effective TX coalescing. > >> > >>I seriously think that the TX coalescing support should be ripped out > >>or disabled entirely until it is implemente

Re: [PATCH net 0/7] net: stmmac: fix probe error handling and phydev leaks

2016-12-02 Thread Giuseppe CAVALLARO
On 11/30/2016 3:29 PM, Johan Hovold wrote: This series fixes a number of issues with the stmmac-driver probe error handling, which for example left clocks enabled after probe failures. The final patch fixes a failure to deregister and free any fixed-link PHYs that were registered during probe on

Re: [PATCH 1/4] bindings: net: stmmac: correct note about TSO

2016-12-02 Thread Giuseppe CAVALLARO
On 11/23/2016 3:24 PM, Niklas Cassel wrote: From: Niklas Cassel snps,tso was previously placed under AXI BUS Mode parameters, suggesting that the property should be in the stmmac-axi-config node. TSO (TCP Segmentation Offloading) has nothing to do with AXI BUS Mode parameters, and the parser a

Re: [BUG 4.9] New led trigger usbport gets the kernel to panic

2016-12-02 Thread Ralph Sennhauser
On Thu, 1 Dec 2016 17:56:07 +0100 Rafał Miłecki wrote: > On 12/01/2016 03:28 PM, Ralph Sennhauser wrote: > > Below the oops with your debug patch applied. > > > > (...) > > > > root@wrt1900acs:/# cd sys/class/leds/pca963x\:shelby\:white\:usb2/ > > root@wrt1900acs:/sys/devices/platform/soc/soc:int

Re: [PATCHv3] tools build: Make fixdep parsing wait for last target

2016-12-02 Thread Jiri Olsa
On Thu, Dec 01, 2016 at 04:53:23PM -0200, Arnaldo Carvalho de Melo wrote: SNIP > [acme@jouet linux]$ m > make: Entering directory '/home/acme/git/linux/tools/perf' > BUILD: Doing 'make -j4' parallel build > CC /tmp/build/perf/jvmti/libjvmti.o > CC /tmp/build/perf/jvmti/jvmti_a

[PATCH 0/2] Add support for Tianma TM070JDHG30 display

2016-12-02 Thread Gary Bisson
Hi all, This series adds support for the Tianma TM070JDHG30 7" display (1280x800). http://usa.tianma.com/products-technology/product/tm070jdhg30-00 https://boundarydevices.com/product/bd070lic2/ The first patch adds Tianma as a new vendor prefix whereas the second patch adds the display to the si

[PATCH 1/2] of: Add vendor prefix for Tianma Micro-electronics

2016-12-02 Thread Gary Bisson
Tianma Micro-electronics Co., Ltd. (Tianma) specializes in providing display solutions and efficient support services worldwide. More info: http://en.tianma.com/about.shtml Signed-off-by: Gary Bisson --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)

[PATCH 2/2] drm/panel: simple: Add support for Tianma TM070JDHG30

2016-12-02 Thread Gary Bisson
The Tianma TM070JDHG30 is a 7" LVDS display with a resolution of 1280x800. http://usa.tianma.com/products-technology/product/tm070jdhg30-00 You can also find this product along with a FT5x06 touch controller from Boundary Devices: https://boundarydevices.com/product/bd070lic2/ Signed-off-by: Gary

Re: [PATCH 1/2] net: stmmac: avoid Camelcase naming

2016-12-02 Thread Corentin Labbe
On Fri, Dec 02, 2016 at 09:44:48AM +0100, Giuseppe CAVALLARO wrote: > Hello Corentin > > patches look ok, I just wonder if you tested it in case of > the stmmac is connected to a transceiver. Let me consider it > a critical part of the driver to properly work. > > Regards > Peppe > I tested it

Re: [PATCH 06/12] usb: dwc3: omap: Replace the extcon API

2016-12-02 Thread Felipe Balbi
Hi, Chanwoo Choi writes: > Hi Felipe, > > On 2016년 11월 30일 19:36, Felipe Balbi wrote: >> >> Hi, >> >> Chanwoo Choi writes: >>> This patch uses the resource-managed extcon API for >>> extcon_register_notifier() >>> and replaces the deprecated extcon API as following: >>> - extcon_get_cable_st

Re: [PATCH 2/2] mm: page_alloc: High-order per-cpu page allocator v5

2016-12-02 Thread Mel Gorman
On Fri, Dec 02, 2016 at 03:03:46PM +0900, Joonsoo Kim wrote: > > @@ -1132,14 +1134,17 @@ static void free_pcppages_bulk(struct zone *zone, > > int count, > > if (unlikely(isolated_pageblocks)) > > mt = get_pageblock_migratetype(page); > > > > +

[PATCH] clk: ti: divider: Add the table parsing to get the best divider value

2016-12-02 Thread Keerthy
Currently the divider selection logic blindly divides the parent_rate by the clk rate and gives the divider value for the divider clocks which do not have the CLK_SET_RATE_PARENT flag set. Add the clk divider table parsing to get the closest divider available in the table provided via Device tree.

Re: [GIT PULL 00/19] perf/core improvements and fixes

2016-12-02 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit 2471cece40d61b0035360338569d338f9dea6099: > > Merge tag 'perf-core-for-mingo-20161125' of > git://gi

Re: [RFC PATCH 0/2] arm64: memory-hotplug: Add Memory Hotplug support

2016-12-02 Thread Maciej Bielski
Hello, Recently we have announced our effort on that: https://lkml.org/lkml/2016/11/17/49 For now we have a working solution for hotplug and we are performing code cleanup to push the patches soon. BR, On 02/12/2016 01:19, Scott Branden wrote: > This patchset is sent for comment to add memory h

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-12-02 Thread Donald Buczek
On 11/30/16 12:43, Donald Buczek wrote: On 11/30/16 12:09, Michal Hocko wrote: [CCing Paul] On Wed 30-11-16 11:28:34, Donald Buczek wrote: [...] shrink_active_list gets and releases the spinlock and calls cond_resched(). This should give other tasks a chance to run. Just as an experiment, I'm

Re: [PATCHv3] tools build: Make fixdep parsing wait for last target

2016-12-02 Thread Jiri Olsa
On Thu, Dec 01, 2016 at 04:53:23PM -0200, Arnaldo Carvalho de Melo wrote: > Em Thu, Dec 01, 2016 at 09:48:40AM -0800, Peter Foley escreveu: > > On Thu, Dec 1, 2016 at 5:00 AM, Jiri Olsa wrote: > > > ok, so v3 actually ;-) > > > > > > the v2 was tricky for the case when fixdep is not available, > >

Re: [PATCH v27 02/21] vfs: Add MAY_CREATE_FILE and MAY_CREATE_DIR permission flags

2016-12-02 Thread Miklos Szeredi
On Tue, Oct 11, 2016 at 2:50 PM, Andreas Gruenbacher wrote: > Richacls distinguish between creating non-directories and directories. To > support that, add an isdir parameter to may_create(). When checking > inode_permission() for create permission, pass in an additional > MAY_CREATE_FILE or MAY_C

[PATCH] ARM: multi_v7_defconfig: fix config typo

2016-12-02 Thread Valentin Rothberg
s/CONFIG_CONFIG_BCM47XX_NVRAM/CONFIG_BCM47XX_NVRAM/ Signed-off-by: Valentin Rothberg --- Detected by running scripts/checkkconfigsymbols.py arch/arm/configs/multi_v7_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/con

Re: [PATCH 1/2] net: stmmac: avoid Camelcase naming

2016-12-02 Thread Giuseppe CAVALLARO
On 12/2/2016 9:58 AM, Corentin Labbe wrote: On Fri, Dec 02, 2016 at 09:44:48AM +0100, Giuseppe CAVALLARO wrote: Hello Corentin patches look ok, I just wonder if you tested it in case of the stmmac is connected to a transceiver. Let me consider it a critical part of the driver to properly work.

Re: [RFC PATCH 0/3] Add a new flag for ITS device to control indirect route

2016-12-02 Thread majun (Euler7)
在 2016/12/1 17:07, Marc Zyngier 写道: > On 01/12/16 07:45, Majun wrote: >> From: MaJun >> >> For current ITS driver, two level table (indirect route) is enabled when the >> memory used >> for LPI route table over the limit(64KB * 2) size. But this function impact >> the >> performance of LPI in

Re: [PATCH v6 2/2] tpm: add securityfs support for TPM 2.0 firmware event log

2016-12-02 Thread Nayna
On 12/01/2016 05:13 PM, Jarkko Sakkinen wrote: On Wed, Nov 30, 2016 at 10:29:00PM +0530, Nayna wrote: On 11/26/2016 09:17 PM, Jarkko Sakkinen wrote: On Sat, Nov 26, 2016 at 07:45:39AM -0500, Nayna Jain wrote: Unlike the device driver support for TPM 1.2, the TPM 2.0 does not support the se

Re: [PATCH 4/6] ubifs: Maintain a parent pointer

2016-12-02 Thread Marcus Folkesson
On Thu, Dec 01, 2016 at 11:02:19PM +0100, Richard Weinberger wrote: > > + if (new_dir != old_dir) { > + fst_inode_ui->parent_inum = new_dir->i_ino; > + snd_inode_ui->parent_inum = old_dir->i_ino; > + } > + > if (old_dir != new_dir) { > if (S_ISD

Re: [RFC PATCH 0/3] Add a new flag for ITS device to control indirect route

2016-12-02 Thread Marc Zyngier
On 02/12/16 09:29, majun (Euler7) wrote: > > > 在 2016/12/1 17:07, Marc Zyngier 写道: >> On 01/12/16 07:45, Majun wrote: >>> From: MaJun >>> >>> For current ITS driver, two level table (indirect route) is enabled when >>> the memory used >>> for LPI route table over the limit(64KB * 2) size. But t

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-12-02 Thread Michal Hocko
On Thu 01-12-16 21:10:01, Boris Zhmurov wrote: > Michal Hocko 30/11/16 21:25: > > >>> Do I get it right that s@cond_resched_rcu_qs@cond_resched@ didn't help? > >> > >> I didn't try that. I've tried 4 patches from Paul's linux-rcu tree. > >> I can try another portion of patches, no problem :) > >

Re: [PATCH 1/2] mm, page_alloc: Keep pcp count and list contents in sync if struct page is corrupted

2016-12-02 Thread Hillf Danton
On Friday, December 02, 2016 2:19 PM Vlastimil Babka wrote: > On 12/02/2016 04:47 AM, Hillf Danton wrote: > > On Friday, December 02, 2016 8:23 AM Mel Gorman wrote: > >> Vlastimil Babka pointed out that commit 479f854a207c ("mm, page_alloc: > >> defer debugging checks of pages allocated from the PC

[PATCH] ARM: multi_v7_defconfig: set bcm47xx watchdog

2016-12-02 Thread Valentin Rothberg
Correct the bcm47xx watchdog option. The convention of bcm watchdogs is the _WDT suffix. Signed-off-by: Valentin Rothberg --- Detected by running scripts/checkkconfigsymbols.py arch/arm/configs/multi_v7_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/conf

Re: [PATCH v2] x86/suspend: fix false positive KASAN warning on suspend/resume

2016-12-02 Thread Dmitry Vyukov
On Thu, Dec 1, 2016 at 9:31 PM, Josh Poimboeuf wrote: > Resuming from a suspend operation is showing a KASAN false positive > warning: > > BUG: KASAN: stack-out-of-bounds in unwind_get_return_address+0x11d/0x130 at > addr 8803867d7878 > Read of size 8 by task pm-suspend/7774 > page:

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-12-02 Thread Giuseppe CAVALLARO
Hi Pavel On 12/2/2016 9:45 AM, Pavel Machek wrote: Hi! 1 HZ, which is the lowest granularity of non-highres timers in the kernel, is variable as well as already too large of a delay for effective TX coalescing. I seriously think that the TX coalescing support should be ripped out or disabled

Re: [PATCH 2/8] x86/head: Refactor 32-bit pgtable setup

2016-12-02 Thread Ingo Molnar
* Boris Ostrovsky wrote: > On 10/31/2016 08:33 AM, Boris Ostrovsky wrote: > > > > > > On 10/14/2016 02:05 PM, Boris Ostrovsky wrote: > >> From: Matt Fleming > >> > >> The new Xen PVH entry point requires page tables to be setup by the > >> kernel since it is entered with paging disabled. > >> >

[PATCH v2] netfilter: avoid warn and OOM killer on vmalloc call

2016-12-02 Thread Marcelo Ricardo Leitner
Andrey Konovalov reported that this vmalloc call is based on an userspace request and that it's spewing traces, which may flood the logs and cause DoS if abused. Florian Westphal also mentioned that this call should not trigger OOM killer. This patch brings the vmalloc call in sync to kmalloc and

Re: [PATCH 1/2] mm, page_alloc: Keep pcp count and list contents in sync if struct page is corrupted

2016-12-02 Thread Mel Gorman
On Fri, Dec 02, 2016 at 09:12:17AM +0100, Michal Hocko wrote: > On Fri 02-12-16 00:22:43, Mel Gorman wrote: > > Vlastimil Babka pointed out that commit 479f854a207c ("mm, page_alloc: > > defer debugging checks of pages allocated from the PCP") will allow the > > per-cpu list counter to be out of sy

[PATCH] net: wireless: realtek: constify rate_control_ops structures

2016-12-02 Thread Bhumika Goyal
The structures rate_control_ops are only passed as an argument to the functions ieee80211_rate_control_{register/unregister}. This argument is of type const, so rate_control_ops having this property can also be declared as const. Done using Coccinelle: @r1 disable optional_qualifier @ identifier

Re: [PATCH v2] ia64: move cacheinfo sysfs to generic cacheinfo infrastructure

2016-12-02 Thread Hanjun Guo
On 2016/12/1 23:08, Sudeep Holla wrote: This patch removes the redundant sysfs cacheinfo code by reusing the recently introduced generic cacheinfo infrastructure through the commit 246246cbde5e ("drivers: base: support cpu cache information interface to userspace via sysfs") Signed-off-by: Sudee

Re: [PATCH v27 03/21] vfs: Add MAY_DELETE_SELF and MAY_DELETE_CHILD permission flags

2016-12-02 Thread Miklos Szeredi
On Tue, Oct 11, 2016 at 2:50 PM, Andreas Gruenbacher wrote: > Normally, deleting a file requires MAY_WRITE access to the parent > directory. With richacls, a file may be deleted with MAY_DELETE_CHILD access > to the parent directory or with MAY_DELETE_SELF access to the file. > > To support that,

[PATCH] mm, vmscan: add cond_resched into shrink_node_memcg

2016-12-02 Thread Michal Hocko
From: Michal Hocko Boris Zhmurov has reported RCU stalls during the kswapd reclaim: 17511.573645] INFO: rcu_sched detected stalls on CPUs/tasks: [17511.573699] 23-...: (22 ticks this GP) idle=92f/140/0 softirq=2638404/2638404 fqs=23 [17511.573740] (detected by 4, t=6389 jiffies, g=

Re: [PATCH 4/6] net: ethernet: ti: cpts: add ptp pps support

2016-12-02 Thread Richard Cochran
On Wed, Nov 30, 2016 at 11:17:38PM +0100, Richard Cochran wrote: > On Wed, Nov 30, 2016 at 02:43:57PM -0600, Grygorii Strashko wrote: > > Sry, but this is questionable - code for pps comes from TI internal > > branches (SDK releases) where it survived for a pretty long time. Actually, there is a w

Re: [PATCH 1/2] mm, page_alloc: Keep pcp count and list contents in sync if struct page is corrupted

2016-12-02 Thread Michal Hocko
On Fri 02-12-16 09:49:33, Mel Gorman wrote: > On Fri, Dec 02, 2016 at 09:12:17AM +0100, Michal Hocko wrote: > > On Fri 02-12-16 00:22:43, Mel Gorman wrote: > > > Vlastimil Babka pointed out that commit 479f854a207c ("mm, page_alloc: > > > defer debugging checks of pages allocated from the PCP") wil

Re: [lkp] [printk.c] ea0639c4d5: BUG:recent_printk_recursion

2016-12-02 Thread Petr Mladek
On Fri 2016-12-02 01:12:32, kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: ea0639c4d5c700ad63c0ace6a7a17877aac5b4c2 ("printk.c: removed > unnecessary code") > url: > https://github.com/0day-ci/linux/commits/Sebastian-Duda/printk-c-removed-unnecessary-code/2016113

Re: [Linaro-acpi] [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for ThunderX pass2.x silicon version

2016-12-02 Thread Tomasz Nowicki
On 02.12.2016 07:42, Duc Dang wrote: On Thu, Dec 1, 2016 at 9:50 PM, Jon Masters wrote: On 11/30/2016 07:28 PM, Bjorn Helgaas wrote: I'm hoping to end up with something like this: https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?h=pci/ecam&id=51ad4df79a9b7f2a66b346a46b21a7

Re: [PATCH v3 11/14] ACPI: irq: introduce interrupt producer

2016-12-02 Thread Hanjun Guo
Hi Aleksey, On 2016/12/1 19:12, Aleksey Makarov wrote: Hi Hanjun, On 10/25/2016 09:09 PM, Hanjun Guo wrote: From: Hanjun Guo In ACPI 6.1 spec, section 19.6.62, Interrupt Resource Descriptor Macro, [ ... ] --- drivers/acpi/gsi.c | 10 -- drivers/acpi/resource.c | 85 +++

[PATCH v4] x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic

2016-12-02 Thread Vitaly Kuznetsov
There is a feature in Hyper-V ('Debug-VM --InjectNonMaskableInterrupt') which injects NMI to the guest. We may want to crash the guest and do kdump on this NMI by enabling unknown_nmi_panic. To make kdump succeed we need to allow the kdump kernel to re-establish VMBus connection so it will see VMBu

Re: [PATCH] Staging: wlan-ng: hfa384x_usb.c Fixed too long code line warnings.

2016-12-02 Thread Yan Laijun
Remove initialization of usbin on its decarlation. Yan Laijun (1): Staging: wlan-ng: hfa384x_usb.c Fixed too long code line warnings. drivers/staging/wlan-ng/hfa384x_usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 1.9.1

[PATCH v2] staging: wlan-ng: Fixed too long code line warnings.

2016-12-02 Thread Yan Laijun
Fixed checkpatch warning "line over 80 characters" in wlan-ng/hfa384x_usb.c file. Signed-off-by: Yan Laijun --- Changes in v2: - Remove initialization of usbin on its decarlation. --- drivers/staging/wlan-ng/hfa384x_usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dr

Re: [PATCH] x86/suspend: fix false positive KASAN warning on suspend/resume

2016-12-02 Thread Ingo Molnar
* Rafael J. Wysocki wrote: > >> Looks OK to me. > >> > >> Whom do you expect to apply this? > > > > Assuming it gets an ack from Andrey, can you take it? Or would the tip > > tree be better? > > I can take it unless anyone else wants to take care of it. :-) Please pick up the fixes in this th

Re: [PATCH 0/4] CPUID-less CPU fixes and improvements

2016-12-02 Thread Ingo Molnar
* Andy Lutomirski wrote: > Ugh, please ignore the accidental re-send of v1. I suck at using git. > v2 is what I meant to send, but I accidentally sent both versions. :-( Would be nice to get an Ack from the Xen bits - can pick -v2 up after that. Thanks, Ingo

Re: [PATCH 1/2] mm, page_alloc: Keep pcp count and list contents in sync if struct page is corrupted

2016-12-02 Thread Michal Hocko
On Fri 02-12-16 17:30:07, Hillf Danton wrote: [...] > > >> @@ -2217,13 +2217,14 @@ static int rmqueue_bulk(struct zone *zone, > > >> unsigned int order, > > >> else > > >> list_add_tail(&page->lru, list); > > >> list = &page->lru; > > >> +

[PATCH v3 4/7] PWM: add pwm driver for stm32 plaftorm

2016-12-02 Thread Benjamin Gaignard
This driver add support for pwm driver on stm32 platform. The SoC have multiple instances of the hardware IP and each of them could have small differences: number of channels, complementary output, counter register size... Use DT parameters to handle those differentes configuration version 2: - on

[PATCH v3 3/7] PWM: add pwm-stm32 DT bindings

2016-12-02 Thread Benjamin Gaignard
Define bindings for pwm-stm32 version 2: - use parameters instead of compatible of handle the hardware configuration Signed-off-by: Benjamin Gaignard --- .../devicetree/bindings/pwm/pwm-stm32.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Document

[PATCH v3 0/7] Add pwm and IIO timer drivers for stm32

2016-12-02 Thread Benjamin Gaignard
version 3: - no change on mfd and pwm divers patches - add cross reference between bindings - change compatible to "st,stm32-timer-trigger" - fix attributes access rights - use string instead of int for master_mode and slave_mode - document device attributes in sysfs-bus-iio-timer-stm32 - udpate DT

[PATCH v3 2/7] MFD: add stm32 general purpose timer driver

2016-12-02 Thread Benjamin Gaignard
This hardware block could at used at same time for PWM generation and IIO timer for other IPs like DAC, ADC or other timers. PWM and IIO timer configuration are mixed in the same registers so we need a multi fonction driver to be able to share those registers. version 2: - rename driver "stm32-gpt

[PATCH 21/22 v2] staging/lustre/libcfs: Convert to hotplug state machine

2016-12-02 Thread Sebastian Andrzej Siewior
From: Anna-Maria Gleixner Install the callbacks via the state machine. Cc: Oleg Drokin Cc: Andreas Dilger Cc: James Simmons Cc: Greg Kroah-Hartman Cc: lustre-de...@lists.lustre.org Cc: de...@driverdev.osuosl.org Signed-off-by: Anna-Maria Gleixner [bigeasy: rebase to linux-next] Signed-off-by

[PATCH v3 7/7] ARM: dts: stm32: add stm32 general purpose timer driver in DT

2016-12-02 Thread Benjamin Gaignard
Add general purpose timers and it sub-nodes into DT for stm32f4. Define and enable pwm1 and pwm3 for stm32f469 discovery board version 3: - use "st,stm32-timer-trigger" in DT version 2: - use parameters to describe hardware capabilities - do not use references for pwm and iio timer subnodes Sign

[PATCH v3 6/7] IIO: add STM32 timer trigger driver

2016-12-02 Thread Benjamin Gaignard
Timers IPs can be used to generate triggers for other IPs like DAC, ADC or other timers. Each trigger may result of timer internals signals like counter enable, reset or edge, this configuration could be done through "master_mode" device attribute. A timer device could be triggered by other timers

[PATCH v3 5/7] IIO: add bindings for stm32 timer trigger driver

2016-12-02 Thread Benjamin Gaignard
Define bindings for stm32 timer trigger version 3: - change file name - add cross reference with mfd bindings version 2: - only keep one compatible - add DT parameters to set lists of the triggers: one list describe the triggers created by the device another one give the triggers accepted by

[PATCH v3 1/7] MFD: add bindings for stm32 general purpose timer driver

2016-12-02 Thread Benjamin Gaignard
Add bindings information for stm32 general purpose timer version 2: - rename stm32-mfd-timer to stm32-gptimer - only keep one compatible string Signed-off-by: Benjamin Gaignard --- .../bindings/mfd/stm32-general-purpose-timer.txt | 47 ++ 1 file changed, 47 insertions(+)

Re: [PATCH 1/1] dma: ioat: set error code on failures

2016-12-02 Thread Vinod Koul
On Thu, Dec 01, 2016 at 03:10:12PM +0800, Pan Bian wrote: > Fix bug https://bugzilla.kernel.org/show_bug.cgi?id=188591. In function > ioat_dma_self_test(), when the calls to dma_mapping_error() fails, the > value of return variable err is 0 (indicates no error). As a result, the > return value may

Re: [PATCH 2/2] dma: ioat: fix improper return value on failures

2016-12-02 Thread Vinod Koul
On Thu, Dec 01, 2016 at 03:32:09PM +0800, Pan Bian wrote: > Fix bug https://bugzilla.kernel.org/show_bug.cgi?id=188601. This patch > is based on "0001-dma-ioat-set-error-code-on-failures.patch". In this > patch, assign error code -ENOMEM to return variable err as long as the > call to dma_mapping_e

Re: drm/radeon spamming alloc_contig_range: [xxx, yyy) PFNs busy busy

2016-12-02 Thread Lucas Stach
Am Donnerstag, den 01.12.2016, 15:11 +0100 schrieb Michal Hocko: > Let's also CC Marek > > On Thu 01-12-16 08:43:40, Vlastimil Babka wrote: > > On 12/01/2016 08:21 AM, Michal Hocko wrote: > > > Forgot to CC Joonsoo. The email thread starts more or less here > > > http://lkml.kernel.org/r/201611300

[PATCH] tty: serial: fsl_lpuart: fix del_timer_sync() vs timer routine deadlock

2016-12-02 Thread Nikita Yushchenko
Problem found via lockdep: - lpuart_set_termios() calls del_timer_sync(&sport->lpuart_timer) while holding sport->port.lock - sport->lpuart_timer routine is lpuart_timer_func() that calls lpuart_copy_rx_to_tty() that acquires same lock. To fix, move Rx DMA stopping out of lock, as it already

Re: [PATCH v13 0/8] x86/arch_prctl Add ARCH_[GET|SET]_CPUID for controlling the CPUID instruction

2016-12-02 Thread Ingo Molnar
* Kyle Huey wrote: > rr (http://rr-project.org/), a userspace record-and-replay reverse- > execution debugger, would like to trap and emulate the CPUID instruction. > This would allow us to a) mask away certain hardware features that rr does > not support (e.g. RDRAND) and b) enable trace portab

Re: [PATCH 1/3] pinctrl: sx150x: use correct registers for reg_sense (sx1502 and sx1508)

2016-12-02 Thread Peter Rosin
On 2016-11-25 14:40, Linus Walleij wrote: > On Thu, Nov 24, 2016 at 9:45 PM, Peter Rosin wrote: > >> All other registers on these chips are 8-bit, but reg_sense is 16-bits >> and therefore needs to be moved down one notch. >> This was apparently overlooked in the conversion to regmap, which only

Re: [RFC PATCH] PCI: designware: add host_init() error handling

2016-12-02 Thread Joao Pinto
Hi Srinivas, Às 11:51 AM de 12/1/2016, Srinivas Kandagatla escreveu: > drivers/pci/host/pci-dra7xx.c | 4 +++- > drivers/pci/host/pci-exynos.c | 4 +++- > drivers/pci/host/pci-imx6.c | 4 +++- > drivers/pci/host/pci-keystone.c | 4 +++- > drivers/pci/h

[tip:perf/core] perf annotate: Show invalid jump offset in error message

2016-12-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5252b1aeabd0ae794cfaf323c10968443f10a363 Gitweb: http://git.kernel.org/tip/5252b1aeabd0ae794cfaf323c10968443f10a363 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 25 Nov 2016 15:56:34 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 25 Nov 2016 15:56:34 -0300 pe

[tip:perf/core] perf ui helpline: Provide a printf variant

2016-12-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 9484b86e9cad903d3295d75c03961c3bdd1444a8 Gitweb: http://git.kernel.org/tip/9484b86e9cad903d3295d75c03961c3bdd1444a8 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 25 Nov 2016 15:48:25 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 25 Nov 2016 15:49:16 -0300 pe

[tip:perf/core] tools lib bpf: Add private field for bpf_object

2016-12-02 Thread tip-bot for Wang Nan
Commit-ID: 10931d2413478239bdceac5546cce85d7a497a4e Gitweb: http://git.kernel.org/tip/10931d2413478239bdceac5546cce85d7a497a4e Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:26 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 29 Nov 2016 12:09:41 -0300 tools lib bpf: Add

[tip:perf/core] perf trace: Update tid/pid filtering option to leverage symbol_conf

2016-12-02 Thread tip-bot for David Ahern
Commit-ID: aa07df6eb5061eed3f5d0820dc646d7f6ddface2 Gitweb: http://git.kernel.org/tip/aa07df6eb5061eed3f5d0820dc646d7f6ddface2 Author: David Ahern AuthorDate: Fri, 25 Nov 2016 09:29:52 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 25 Nov 2016 16:04:22 -0300 perf trace: Upd

Re: [PATCH 4/6] ubifs: Maintain a parent pointer

2016-12-02 Thread Richard Weinberger
On 02.12.2016 10:28, Marcus Folkesson wrote: > On Thu, Dec 01, 2016 at 11:02:19PM +0100, Richard Weinberger wrote: >> >> +if (new_dir != old_dir) { >> +fst_inode_ui->parent_inum = new_dir->i_ino; >> +snd_inode_ui->parent_inum = old_dir->i_ino; >> +} >> + >> if

[tip:perf/core] tools lib bpf: Add missing BPF functions

2016-12-02 Thread tip-bot for Wang Nan
Commit-ID: 9742da0150788e6ea7796372c3e643f876a49741 Gitweb: http://git.kernel.org/tip/9742da0150788e6ea7796372c3e643f876a49741 Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:25 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 29 Nov 2016 12:09:36 -0300 tools lib bpf: Add

[tip:perf/core] perf sched timehist: Handle cpu migration events

2016-12-02 Thread tip-bot for David Ahern
Commit-ID: 350f54fab2afd7f819e64fbeecdf980086fa59f2 Gitweb: http://git.kernel.org/tip/350f54fab2afd7f819e64fbeecdf980086fa59f2 Author: David Ahern AuthorDate: Fri, 25 Nov 2016 09:28:41 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 25 Nov 2016 16:00:22 -0300 perf sched time

[tip:perf/core] perf test: Remove "test" and similar strings from test descriptions

2016-12-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 030910c085467c7f08f49735c19c66c1baa53f76 Gitweb: http://git.kernel.org/tip/030910c085467c7f08f49735c19c66c1baa53f76 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 29 Nov 2016 12:38:14 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 29 Nov 2016 12:46:11 -0300 pe

[tip:perf/core] perf tools: Introduce perf hooks

2016-12-02 Thread tip-bot for Wang Nan
Commit-ID: a074865e60edd762b99ec5dacec69b406f702e66 Gitweb: http://git.kernel.org/tip/a074865e60edd762b99ec5dacec69b406f702e66 Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:28 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 29 Nov 2016 12:13:27 -0300 perf tools: Introd

[tip:perf/core] tools lib bpf: Retrive bpf_map through offset of bpf_map_def

2016-12-02 Thread tip-bot for Wang Nan
Commit-ID: 5a6acad17d2e81765dd4c2fce7346a6f045eab25 Gitweb: http://git.kernel.org/tip/5a6acad17d2e81765dd4c2fce7346a6f045eab25 Author: Wang Nan AuthorDate: Sat, 26 Nov 2016 07:03:27 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 29 Nov 2016 12:10:19 -0300 tools lib bpf: Ret

[tip:perf/core] perf kmem stat: Track memory freed

2016-12-02 Thread tip-bot for David Ahern
Commit-ID: aa58e9afb613fab74f33292705bb43beb0f1828d Gitweb: http://git.kernel.org/tip/aa58e9afb613fab74f33292705bb43beb0f1828d Author: David Ahern AuthorDate: Fri, 25 Nov 2016 14:42:13 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 29 Nov 2016 12:50:32 -0300 perf kmem stat:

[tip:perf/core] perf script: Add option to stop printing callchain

2016-12-02 Thread tip-bot for David Ahern
Commit-ID: 64eff7d9c4469b7e24fb7e5416a67ee5959c3f76 Gitweb: http://git.kernel.org/tip/64eff7d9c4469b7e24fb7e5416a67ee5959c3f76 Author: David Ahern AuthorDate: Fri, 25 Nov 2016 13:00:21 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 29 Nov 2016 13:06:19 -0300 perf script: Ad

[tip:perf/core] perf sched timehist: Add option to specify time window of interest

2016-12-02 Thread tip-bot for David Ahern
Commit-ID: 853b74071110bed344bad1ca9d8de27731b1c574 Gitweb: http://git.kernel.org/tip/853b74071110bed344bad1ca9d8de27731b1c574 Author: David Ahern AuthorDate: Tue, 29 Nov 2016 10:15:44 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 1 Dec 2016 13:02:52 -0300 perf sched timeh

[tip:locking/core] locking/rtmutex: Get rid of RT_MUTEX_OWNER_MASKALL

2016-12-02 Thread tip-bot for Thomas Gleixner
Commit-ID: b5016e8203003c44264ec88fe2276ff54a51f689 Gitweb: http://git.kernel.org/tip/b5016e8203003c44264ec88fe2276ff54a51f689 Author: Thomas Gleixner AuthorDate: Wed, 30 Nov 2016 21:04:44 + Committer: Ingo Molnar CommitDate: Fri, 2 Dec 2016 11:13:57 +0100 locking/rtmutex: Get rid

Re: [Linaro-acpi] [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for ThunderX pass2.x silicon version

2016-12-02 Thread Robert Richter
On 02.12.16 11:06:24, Tomasz Nowicki wrote: > On 02.12.2016 07:42, Duc Dang wrote: > >@@ -98,16 +98,16 @@ struct mcfg_fixup { > >{ "CAVIUM", "THUNDERX", rev, seg, MCFG_BUS_ANY, \ > >&pci_thunder_ecam_ops } > >/* SoC pass1.x */ > >- THUNDER_PEM_QUIRK(2, 0)

  1   2   3   4   5   6   7   >