Re: [PATCH 2/5] x86/intel_rdt: Improvements to parsing schemata

2017-03-10 Thread Thomas Gleixner
On Fri, 10 Mar 2017, Luck, Tony wrote: > On Fri, Mar 10, 2017 at 07:58:51PM +0100, Thomas Gleixner wrote: > > Well, we have several options to tackle this: > > > > 1) Have schemata files for each resource > > > >schemata_l2, _l3 _mb > > > > 2) Request a full overwrite every time (all entries

[GIT PULL] Staging driver warning fixes for 4.11-rc2

2017-03-10 Thread Greg KH
The following changes since commit c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201: Linux 4.11-rc1 (2017-03-05 12:59:56 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.11-rc2 for you to fetch changes up to 69eb1596b4d

[GIT PULL] TTY/Serial driver fixes for 4.11-rc2

2017-03-10 Thread Greg KH
The following changes since commit c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201: Linux 4.11-rc1 (2017-03-05 12:59:56 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.11-rc2 for you to fetch changes up to f98c7bce570bdbe344b

[GIT PULL] USB/PHY driver fixes for 4.11-rc2

2017-03-10 Thread Greg KH
The following changes since commit c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201: Linux 4.11-rc1 (2017-03-05 12:59:56 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.11-rc2 for you to fetch changes up to dcc7620cad5ad1326a7

Re: [PATCH v5 01/19] block: DAC960: Replace PCI pool old API

2017-03-10 Thread kbuild test robot
Hi Romain, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.11-rc1 next-20170310] [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/Romain-Perier/Replace-PCI-pool-by-DMA

[PATCH] block: DAC960: fix ifnullfree.cocci warnings

2017-03-10 Thread kbuild test robot
drivers/block/DAC960.c:441:3-19: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values. drivers/block/DAC960.c:446:1-17: WARNING: NULL check before fre

Re: [Outreachy kernel] [PATCH 1/3] staging: sm750fb: function prototype argument should have an identifier name

2017-03-10 Thread Julia Lawall
On Sat, 11 Mar 2017, Arushi Singhal wrote: > function prototype arguments like 'struct vb_device_info *','unsigned > long' etc. should have an identifier name. > > Signed-off-by: Arushi Singhal > --- > drivers/staging/sm750fb/ddk750_display.h | 2 +- > drivers/staging/sm750fb/ddk750_mode.h

Re: [PATCH] ARM64: dts: meson-gxbb-odroidc2: enable USB Host Nodes

2017-03-10 Thread Anand Moon
Hi Martin, On 10 March 2017 at 01:06, Martin Blumenstingl wrote: > Hi Anand, > > On Thu, Mar 9, 2017 at 6:58 PM, Anand Moon wrote: >>> Hi Anand, >>> >>> For this specific use case, the only way to manage this is to use the >>> Work-In-Progress >>> Power Sequence Library proposer by Peter Chen a

Re: [Outreachy kernel] [PATCH 3/3] staging: sm750fb: Alignment should match open parenthesis

2017-03-10 Thread Julia Lawall
On Sat, 11 Mar 2017, Arushi Singhal wrote: > Fix checkpatch issues: "CHECK: Alignment should match open parenthesis". > > Signed-off-by: Arushi Singhal > --- > drivers/staging/sm750fb/ddk750_mode.c | 79 > +-- > 1 file changed, 39 insertions(+), 40 deletions(-)

Re: [Outreachy kernel] [PATCH 00/10] staging: iio: Remove exceptional & on functions name

2017-03-10 Thread Julia Lawall
On Sat, 11 Mar 2017, simran singhal wrote: > This patch-series removes exceptional & on functions name. The semantic patch shown does nothing to check that the use of & is exception in the given file. It just removes all the & on function names. julia > > simran singhal (10): > staging: ii

[PATCH v4 5/8] phy: phy-mt65xx-usb3: add support for new version phy

2017-03-10 Thread Chunfeng Yun
There are some variations from mt2701 to mt2712: 1. banks shared by multiple ports are put back into each port, such as SPLLC and U2FREQ; 2. add a new bank MISC for u2port, and CHIP for u3port; 3. bank's offset in each port are also rearranged; Signed-off-by: Chunfeng Yun --- drivers/phy/phy

[PATCH v4 3/8] phy: phy-mt65xx-usb3: split SuperSpeed port into two ones

2017-03-10 Thread Chunfeng Yun
Currently usb3 port in fact includes two sub-ports, but it is not flexible for some cases, such as following one: usb3 port0 includes u2port0 and u3port0; usb2 port0 includes u2port1; If wants to support only HS, we can use u2port0 or u2port1, when select u2port0, u3port0 is not needed; If

[PATCH v4 8/8] dt-bindings: phy-mt65xx-usb: add support for new version phy

2017-03-10 Thread Chunfeng Yun
add a new compatible string for "mt2712", and move reference clock into each port node; Signed-off-by: Chunfeng Yun Acked-by: Rob Herring --- .../devicetree/bindings/phy/phy-mt65xx-usb.txt | 93 +--- 1 file changed, 80 insertions(+), 13 deletions(-) diff --git a/Documenta

[PATCH v4 6/8] arm64: dts: mt8173: split usb SuperSpeed port into two ports

2017-03-10 Thread Chunfeng Yun
split the old SuperSpeed port node into a HighSpeed one and a new SuperSpeed one. Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/a

[PATCH v4 7/8] arm64: dts: mt8173: move clock from phy node into port nodes

2017-03-10 Thread Chunfeng Yun
there is a reference clock for each port, HighSpeed port is 48M, and SuperSpeed port is usually 26M. it is flexible to move it into port node, then unused clock can be disabled. Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173.dtsi |8 ++-- 1 file changed, 6 insertions

[PATCH v4 4/8] phy: phy-mt65xx-usb3: move clock from phy node into port nodes

2017-03-10 Thread Chunfeng Yun
each port has its own reference clock, the HighSpeed port is 48M, and the SuperSpeed port is usually 26M, put them into port node for flexibility, this can close clock if the port is not used. Signed-off-by: Chunfeng Yun --- drivers/phy/phy-mt65xx-usb3.c | 29 ++--- 1 f

[PATCH v4 1/8] phy: phy-mt65xx-usb3: improve RX detection stable time

2017-03-10 Thread Chunfeng Yun
The default value of RX detection stable time is 10us, and this margin is too big for some critical cases which cause U3 link fail and link to U2(probability is about 1%). So change it to 5us. Signed-off-by: Chunfeng Yun --- drivers/phy/phy-mt65xx-usb3.c | 18 ++ 1 file changed

[PATCH v4 2/8] phy: phy-mt65xx-usb3: increase LFPS filter threshold

2017-03-10 Thread Chunfeng Yun
Increase LFPS filter threshold to avoid some fake remote wakeup signal which cause U3 link fail and link to U2 only at about 0.01% probability. Signed-off-by: Chunfeng Yun --- drivers/phy/phy-mt65xx-usb3.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/phy/phy-mt65xx-usb

[PATCH v2] MAINTAINERS: Add maintianer entry for crypto/s5p-sss

2017-03-10 Thread Krzysztof Kozlowski
Add Krzysztof Kozlowski and Vladimir Zapolskiy as maintainers of s5p-sss driver for handling reviews, testing and getting bug reports from the users. Cc: Vladimir Zapolskiy Cc: Herbert Xu Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Add also Vladimir --- MAINTAINERS | 8 ++

Re: [PATCH] MAINTAINERS: Add Krzysztof Kozlowski as maintainer of crypto/s5p-sss

2017-03-10 Thread Krzysztof Kozlowski
On Fri, Mar 10, 2017 at 11:18:13PM +0200, Vladimir Zapolskiy wrote: > Hi Krzysztof, > > On 03/10/2017 09:10 PM, Krzysztof Kozlowski wrote: > > Beside developing of this driver recently, I handle also reviews and > > bug reports from users so having a maintainer entry will ensure that I > > will be

Re: oops with 4.9.13-rt12 under mild load (and no rt-tasks active)

2017-03-10 Thread Mike Galbraith
On Fri, 2017-03-10 at 19:47 +, Nicholas Mc Guire wrote: > Has anyone seen 4.9.13-rt12 oopses related to ext4 or vfs in general ? FWIW, here it's seen quite a bit of hefty use on boxen large and small with no trouble. That said, @stable has a large pile queued for 4.9, 8 for ext4, some of wh

Re: [PATCH] scripts: objdiff: Ignore debug info when comparing

2017-03-10 Thread Masahiro Yamada
2017-02-17 6:18 GMT+09:00 Stephen Boyd : > If the kernel is configured to be built with debug symbols, or > has bug tables, comparing files may not work if line numbers > change. This makes comparing object files with these options > harder to do. Let's strip out the debug info and drop the > __bug

Re: [RESEND][PATCH] Kbuild: fix file name in comment about extra gcc checks

2017-03-10 Thread Masahiro Yamada
2017-03-10 11:01 GMT+09:00 Seung-Woo Kim : > Extra gcc checks like W=1 were moved to scripts/Makefile.exrawarn, > so the file name in comment needs to be fixed. > > Signed-off-by: Seung-Woo Kim > --- > Makefile |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/Makefil

Re: Kbuild maintainership

2017-03-10 Thread Masahiro Yamada
Hi Michal, 2017-03-10 19:15 GMT+09:00 Michal Marek : > On 2017-03-10 10:17, Stephen Rothwell wrote: >> I assume that I will get a request to change the kbuild-current and >> kbuilt trees in linux-next soon. In the meantime, should I remove the >> current ones? > > There is one genksyms fix in kbu

Re: [PATCH v9 00/11] uapi: export all headers under uapi directories

2017-03-10 Thread Masahiro Yamada
Hi Nicolas, 2017-03-11 1:34 GMT+09:00 Nicolas Dichtel : > Le 02/03/2017 à 17:56, Nicolas Dichtel a écrit : >> Patches #1 and #2 are just cleanup: some exported headers were still under >> a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was >> not under an uapi directory. >>

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

2017-03-10 Thread Masahiro Yamada
Hi Luis, 2017-01-24 0:07 GMT+09:00 Luis R. Rodriguez : > 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 asm > cha

Re: [PATCH 4.4 49/91] ext4: preserve the needs_recovery flag when the journal is aborted

2017-03-10 Thread Ben Hutchings
On Fri, 2017-03-10 at 15:14 -0500, Theodore Ts'o wrote: > On Fri, Mar 10, 2017 at 04:58:02PM +, Ben Hutchings wrote: > > > --- > > >  fs/ext4/super.c |6 -- > > >  1 file changed, 4 insertions(+), 2 deletions(-) > > > > > > --- a/fs/ext4/super.c > > > +++ b/fs/ext4/super.c > > > > [...

[PATCH] netfilter: Force fake conntrack entry to be at least 8 bytes aligned

2017-03-10 Thread Steven Rostedt (VMware)
Since the nfct and nfctinfo have been combined, the nf_conn structure must be at least 8 bytes aligned, as the 3 LSB bits are used for the nfctinfo. But there's a fake nf_conn structure to denote untracked connections, which is created by a PER_CPU construct. This does not guarantee that it will be

Re: [PATCH 1/3] ata: add Palmchip BK3710 PATA controller driver

2017-03-10 Thread kbuild test robot
Hi Bartlomiej, [auto build test WARNING on tj-libata/for-next] [also build test WARNING on v4.11-rc1 next-20170310] [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/Bartlomiej-Zolnierkiewicz/ata

Re: [PATCH] irqdomain: handle the per-CPU irq trigger type settings

2017-03-10 Thread gengdongjiu
Hi Gleixner, Thank you very much for your comment and review, I will update it later. > > > > On Fri, 10 Mar 2017, gengdongjiu wrote: > >> when devices parse and map an per-cpu interrupt into linux virq space >> using irq_of_parse_and_map API, it will always be failed if needs to set

Re: [PATCH v2] don't forget to call pd_online_fn when activate policy

2017-03-10 Thread Jens Axboe
> On Mar 10, 2017, at 8:46 PM, zhouchengming wrote: > >> On 2017/3/10 23:12, Jens Axboe wrote: >>> On 03/08/2017 07:20 PM, Zhou Chengming wrote: >>> When we activate policy on the request_queue, we will create policy_date >>> for all the existing blkgs of the request_queue, so we should call >>>

[PATCH v3] don't forget to call pd_online_fn when activate policy

2017-03-10 Thread Zhou Chengming
When we activate policy on the request_queue, we will create policy_date for all the existing blkgs of the request_queue, so we should call pd_init_fn() and pd_online_fn() on these newly created policy_data. Signed-off-by: Zhou Chengming --- block/blk-cgroup.c | 6 ++ 1 file changed, 6 inser

Re: [PATCH v2] don't forget to call pd_online_fn when activate policy

2017-03-10 Thread zhouchengming
On 2017/3/10 23:12, Jens Axboe wrote: On 03/08/2017 07:20 PM, Zhou Chengming wrote: When we activate policy on the request_queue, we will create policy_date for all the existing blkgs of the request_queue, so we should call pd_init_fn() and pd_online_fn() on these newly created policy_data. Sig

Re: [PATCH RFC] mm/vmscan: donot retry shrink zones when memcg is disabled

2017-03-10 Thread Shakeel Butt
On Fri, Mar 10, 2017 at 6:19 PM, Yisheng Xie wrote: > From: Yisheng Xie > > When we enter do_try_to_free_pages, the may_thrash is always clear, and > it will retry shrink zones to tap cgroup's reserves memory by setting > may_thrash when the former shrink_zones reclaim nothing. > > However, if CO

[PATCH 03/10] staging: iio: cdc: ad7746: Remove exceptional & on function name

2017-03-10 Thread simran singhal
In this file,function names are otherwise used as pointers without &. Found using coccinelle. // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/cdc/ad7746.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 06/10] staging: iio: adis16201: Remove exceptional & on function name

2017-03-10 Thread simran singhal
In this file,function names are otherwise used as pointers without &. Found using coccinelle. // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/accel/adis16201.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH 05/10] staging: iio: adis16240: Remove exceptional & on function name

2017-03-10 Thread simran singhal
In this file,function names are otherwise used as pointers without &. Found using coccinelle. // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/accel/adis16240.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH 04/10] staging: iio: cdc: ad7152: Remove exceptional & on function name

2017-03-10 Thread simran singhal
In this file,function names are otherwise used as pointers without &. Found using coccinelle. // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/cdc/ad7152.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-

[PATCH 02/10] staging: iio: ad7780: Remove exceptional & on function name

2017-03-10 Thread simran singhal
In this file,function names are otherwise used as pointers without &. Found using coccinelle. // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/adc/ad7780.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH 10/10] staging: iio: gyro: Remove exceptional & on function name

2017-03-10 Thread simran singhal
In this file,function names are otherwise used as pointers without &. Found using coccinelle. // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/gyro/adis16060_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH 09/10] staging: iio: resolver: Remove exceptional & on function name

2017-03-10 Thread simran singhal
In this file,function names are otherwise used as pointers without &. Found using coccinelle. // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/resolver/ad2s1200.c | 2 +- drivers/staging/iio/resolver/ad2s90.c | 2

[PATCH 07/10] staging: iio: adis16209: Remove exceptional & on function name

2017-03-10 Thread simran singhal
In this file,function names are otherwise used as pointers without &. Found using coccinelle. // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/accel/adis16209.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH 08/10] staging: iio: adis16203: Remove exceptional & on function name

2017-03-10 Thread simran singhal
In this file, function names are otherwise used as pointers without &. Found using coccinelle. // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/accel/adis16203.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletio

[PATCH 01/10] staging: iio: ad7192: Remove exceptional & on function name

2017-03-10 Thread simran singhal
In this file,function names are otherwise used as pointers without &. Found using coccinelle. // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/adc/ad7192.c | 12 ++-- 1 file changed, 6 insertions(+), 6 dele

[PATCH 00/10] staging: iio: Remove exceptional & on functions name

2017-03-10 Thread simran singhal
This patch-series removes exceptional & on functions name. simran singhal (10): staging: iio: ad7192: Remove exceptional & on function name staging: iio: ad7780: Remove exceptional & on function name staging: iio: cdc: ad7746: Remove exceptional & on function name staging: iio: cdc: ad7152

[PATCH 1/3] staging: sm750fb: function prototype argument should have an identifier name

2017-03-10 Thread Arushi Singhal
function prototype arguments like 'struct vb_device_info *','unsigned long' etc. should have an identifier name. Signed-off-by: Arushi Singhal --- drivers/staging/sm750fb/ddk750_display.h | 2 +- drivers/staging/sm750fb/ddk750_mode.h| 2 +- drivers/staging/sm750fb/ddk750_power.h | 2 +- dr

[PATCH 2/3] staging: sm750fb: fixes add blank line after function/struct/union/enum declarations

2017-03-10 Thread Arushi Singhal
This patch fixes the warnings reported by checkpatch.pl for please use a blank line after function/struct/union/enum declarations. Signed-off-by: Arushi Singhal --- drivers/staging/sm750fb/sm750_cursor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/sm750fb/sm750_cursor.

[PATCH 3/3] staging: sm750fb: Alignment should match open parenthesis

2017-03-10 Thread Arushi Singhal
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis". Signed-off-by: Arushi Singhal --- drivers/staging/sm750fb/ddk750_mode.c | 79 +-- 1 file changed, 39 insertions(+), 40 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_mode.c b/driv

[PATCH 0/3] staging: sm750fb: multiple checkpatch issues

2017-03-10 Thread Arushi Singhal
Improve readability by fixing multiple checkpatch.pl issues in sm750fb driver. Arushi Singhal (3): staging: sm750fb: function prototype argument should have an identifier name staging: sm750fb: fixes add blank line after function/struct/union/enum declarations staging: sm750fb: Align

[PATCH V2] Staging: bcm2835: Fixed style of block comments

2017-03-10 Thread Derek Robson
Fixed style of block comments across whole driver Found using checkpatch Signed-off-by: Derek Robson --- Version #1 had ugly long subject name. .../media/platform/bcm2835/bcm2835-camera.c| 24 ++ drivers/staging/media/platform/bcm2835/controls.c | 22 +++

[PATCH v1] soc: rockchip: power-domain: Fix clang warning about negative shift count

2017-03-10 Thread Matthias Kaehlcke
The following warning is generated when building with clang: drivers/soc/rockchip/pm_domains.c:726:22: error: shift count is negative [-Werror,-Wshift-count-negative] [RK3399_PD_TCPD0] = DOMAIN_RK3399(8, 8, -1, false), ^~

[PATCH RFC] mm/vmscan: donot retry shrink zones when memcg is disabled

2017-03-10 Thread Yisheng Xie
From: Yisheng Xie When we enter do_try_to_free_pages, the may_thrash is always clear, and it will retry shrink zones to tap cgroup's reserves memory by setting may_thrash when the former shrink_zones reclaim nothing. However, if CONFIG_MEMCG=n, it should not do this useless retry at all, for we

[PATCH linux v4 1/2] Documentation: dt-bindings: Document bindings for ASPEED AST2400/AST2500 PWM and Fan tach controller device driver

2017-03-10 Thread Jaghathiswari Rankappagounder Natarajan
This binding provides interface for adding values related to ASPEED AST2400/2500 PWM and Fan tach controller support. The PWM controller can support upto 8 PWM output ports. The Fan tach controller can support upto 16 tachometer inputs. Signed-off-by: Jaghathiswari Rankappagounder Natarajan ---

[PATCH linux v4 2/2] drivers: hwmon: Support for ASPEED PWM/Fan tach

2017-03-10 Thread Jaghathiswari Rankappagounder Natarajan
The ASPEED AST2400/2500 PWM controller supports 8 PWM output ports. The ASPEED AST2400/2500 Fan tach controller supports 16 tachometer inputs. The device driver matches on the device tree node. The configuration values are read from the device tree and written to the respective registers. The drive

[PATCH linux v4 0/2] Support for ASPEED AST2400/AST2500 PWM and Fan Tach driver

2017-03-10 Thread Jaghathiswari Rankappagounder Natarajan
Support for ASPEED AST2400/AST2500 PWM and Fan Tach driver. Patches based on the upstream tag 4.9. Changes made in Version 4 are indicated in the individual patches. The AST2400/AST2500 PWM controller can support 8 PWM output ports. The AST2400/AST2500 Fan Tach controller can support 16 tachometer

Re: [PATCH 1/1] x86/cqm: Cqm requirements

2017-03-10 Thread David Carrillo-Cisneros
> > Fine. So we need this for ONE particular use case. And if that is not well > documented including the underlying mechanics to analyze the data then this > will be a nice source of confusion for Joe User. > > I still think that this can be done differently while keeping the overhead > small. > >

Re: [PATCH v7] mm: Add memory allocation watchdog kernel thread.

2017-03-10 Thread Tetsuo Handa
Michal Hocko wrote: > So, we have means to debug these issues. Some of them are rather coarse > and your watchdog can collect much more and maybe give us a clue much > quicker but we still have to judge whether all this is really needed > because it doesn't come for free. Have you considered this a

[PATCH] usbnet: smsc95xx: Reduce logging noise

2017-03-10 Thread Guenter Roeck
An insert/remove stress test generated the following log message sequence. usb 7-1.1: New USB device found, idVendor=0424, idProduct=ec00 usb 7-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 smsc95xx 7-1.1:1.0 (unnamed net_device) (uninitialized): Fai

Re: [PATCH 4.10 000/167] 4.10.2-stable review

2017-03-10 Thread Kevin Hilman
On Fri, Mar 10, 2017 at 5:04 PM, Guenter Roeck wrote: > On 03/10/2017 03:52 PM, Kevin Hilman wrote: >> >> On Fri, Mar 10, 2017 at 3:24 PM, Kevin Hilman >> wrote: >>> >>> kernelci.org bot writes: >>> stable-rc boot: 541 boots: 6 failed, 500 passed with 34 offline, 1 conflict (v4.10.1-16

[PATCH 2/4] mwifiex: set adapter->dev before starting to use mwifiex_dbg()

2017-03-10 Thread Brian Norris
The mwifiex_dbg() log handler utilizes the struct device in adapter->dev. Without it, it decides not to print anything. As of commit 2e02b5814217 ("mwifiex: Allow mwifiex early access to device structure"), we started assigning that pointer only after we finished mwifiex_register() -- this effecti

[PATCH 1/4] mwifiex: pcie: don't leak DMA buffers when removing

2017-03-10 Thread Brian Norris
When PCIe FLR support was added, much of the remove/release code for PCIe was migrated to ->down_dev(), but ->down_dev() is never called for device removal. Let's refactor the cleanup to be done in both cases. Also, drop the comments above mwifiex_cleanup_pcie(), because they were clearly wrong, a

[PATCH 3/4] mwifiex: uninit wakeup info when removing device

2017-03-10 Thread Brian Norris
We manually init wakeup info, but we don't detach it on device removal. This means that if we (for example) rmmod + modprobe the driver, the device framework might return -EEXIST the second time, and we'll complain in the logs: [ 839.311881] mwifiex_pcie :01:00.0: fail to init wakeup for mwif

[PATCH 4/4] mwifiex: pcie: de-duplicate buffer allocation code

2017-03-10 Thread Brian Norris
This code was duplicated as part of the PCIe FLR code added to this driver. Let's de-duplicate it to: * make things easier to read (mwifiex_pcie_free_buffers() now has a corresponding mwifiex_pcie_alloc_buffers()) * reduce likelihood of bugs * make error logging equally verbose * save lines

[PATCH 0/4] mwifiex: several bugfixes

2017-03-10 Thread Brian Norris
Hi, I've been stressing a few aspects of this driver on 4.11-rc1, and I've noticed several bugs. The first 3 are probably bugfix material for the current cycle IMO, and the 4th is some more cleanup that matches the patterns introduced in the 1st bugfix. I have more patches coming sometime, but th

[PATCH] x86/mce: Don't print all MCEs when mcelog is active

2017-03-10 Thread Andi Kleen
From: Andi Kleen Since cd9c57c x86/MCE: Dump MCE to dmesg if no consumers in 4.9 all MCEs are printed even when mcelog is running. This fixes the code again to not print when mcelog is running, because it already takes care of the logging and predicting. This fixes spamming all xterms for corr

Re: [v6 PATCH 00/21] x86: Enable User-Mode Instruction Prevention

2017-03-10 Thread Ricardo Neri
On Fri, 2017-03-10 at 06:17 -0800, Andy Lutomirski wrote: > On Fri, Mar 10, 2017 at 3:33 AM, Stas Sergeev wrote: > > 10.03.2017 05:39, Andy Lutomirski пишет: > > > >> On Thu, Mar 9, 2017 at 2:10 PM, Stas Sergeev wrote: > >>> > >>> 09.03.2017 04:15, Ricardo Neri пишет: > >>> > On Wed, 2017-03

Re: [PATCH] fs: switch order of CAP_DAC_OVERRIDE and CAP_DAC_READ_SEARCH checks

2017-03-10 Thread James Morris
On Fri, 10 Mar 2017, Stephen Smalley wrote: > generic_permission() presently checks CAP_DAC_OVERRIDE prior to > CAP_DAC_READ_SEARCH. This can cause misleading audit messages when > using a LSM such as SELinux or AppArmor, since CAP_DAC_OVERRIDE > may not be required for the operation. Flip the o

Re: [PATCH 4.10 000/167] 4.10.2-stable review

2017-03-10 Thread Guenter Roeck
On 03/10/2017 03:52 PM, Kevin Hilman wrote: On Fri, Mar 10, 2017 at 3:24 PM, Kevin Hilman wrote: kernelci.org bot writes: stable-rc boot: 541 boots: 6 failed, 500 passed with 34 offline, 1 conflict (v4.10.1-168-gcdc1f9d24aac) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/

Re: [PATCH v2] blk: improve order of bio handling in generic_make_request()

2017-03-10 Thread NeilBrown
On Fri, Mar 10 2017, Lars Ellenberg wrote: >> --- a/block/blk-core.c >> +++ b/block/blk-core.c >> @@ -1975,7 +1975,14 @@ generic_make_request_checks(struct bio *bio) >> */ >> blk_qc_t generic_make_request(struct bio *bio) >> { >> - struct bio_list bio_list_on_stack; >> + /* >> +

[PATCH] auxdisplay: use setup_timer

2017-03-10 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/auxdisplay/img-ascii-lcd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/auxdisplay/img-ascii-lcd.c b/drivers/auxdisplay/img-ascii-lcd.c index bf43b5d..1f30b7

[PATCH] libata: use setup_deferrable_timer

2017-03-10 Thread Geliang Tang
Use setup_deferrable_timer() instead of init_timer_deferrable() to simplify the code. Signed-off-by: Geliang Tang --- drivers/ata/libata-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index ca75823..55d3c8b 1

[PATCH] fs/ocfs2/cluster: use setup_timer

2017-03-10 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- fs/ocfs2/cluster/tcp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/ocfs2/cluster/tcp.c b/fs/ocfs2/cluster/tcp.c index 4348027..de51b23 100644 --- a/fs/ocfs2/cluster/tcp

[PATCH] ambassador: use setup_timer

2017-03-10 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/atm/ambassador.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/atm/ambassador.c b/drivers/atm/ambassador.c index 4a61079..906705e 100644 --- a/drivers/atm/am

[PATCH] Bluetooth: bluecard: use setup_timer

2017-03-10 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- drivers/bluetooth/bluecard_cs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/bluetooth/bluecard_cs.c b/drivers/bluetooth/bluecard_cs.c index c0b3b55..007c0a4 100644

[PATCH] drop_monitor: use setup_timer

2017-03-10 Thread Geliang Tang
Use setup_timer() instead of init_timer() to simplify the code. Signed-off-by: Geliang Tang --- net/core/drop_monitor.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net/core/drop_monitor.c b/net/core/drop_monitor.c index fb55327..70ccda2 100644 --- a/net/core/drop_mon

[PATCH] ACPI / APEI: use setup_deferrable_timer

2017-03-10 Thread Geliang Tang
Use setup_deferrable_timer() instead of init_timer_deferrable() to simplify the code. Signed-off-by: Geliang Tang --- drivers/acpi/apei/ghes.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c index b192b42..33ca196 10064

[PATCH] tpm_crb: check for bad response size

2017-03-10 Thread Jerry Snitselaar
Make sure size of response buffer is at least 6 bytes, or we will underflow and pass large size_t to memcpy_fromio(). This was encountered while testing earlier version of locality patchset. Fixes: 30fc8d138e912 ("tpm: TPM 2.0 CRB Interface") Signed-off-by: Jerry Snitselaar --- drivers/char/tpm/

[PATCH] debugfs: set no_llseek in DEFINE_DEBUGFS_ATTRIBUTE

2017-03-10 Thread Geliang Tang
In DEFINE_DEBUGFS_ATTRIBUTE() macro, since we use nonseekable_open() to open, we should use no_llseek() to seek, not generic_file_llseek(). Signed-off-by: Geliang Tang --- include/linux/debugfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/debugfs.h b/includ

Re: [PATCH v2 1/2] add driver for cypress cy8cmbr3102

2017-03-10 Thread Dmitry Torokhov
Hi Patrick, On Tue, Feb 21, 2017 at 07:40:20AM +0100, Patrick Vogelaar wrote: > Version 2: > * removed .owner > * based on branch next A better changelog would be nice: the kid of device, limitations, etc. > > Signed-off-by: Patrick Vogelaar > --- > drivers/input/misc/Kconfig | 12 +++

Re: [PATCH v3 0/3] meson-gx: Add mali-450 support

2017-03-10 Thread Kevin Hilman
Neil Armstrong writes: > Since the merge of the Mali dt bindings at [1], add support for Mali clocks > and DT node. > > The Mali is clocked by two identical clock paths behind a glitch free mux > to safely change frequency while running. > So these clocks must be added to the meson-gxbb clock con

Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free}

2017-03-10 Thread Brian Norris
Hi Kuninori, On Thu, Mar 09, 2017 at 12:53:50AM +, Kuninori Morimoto wrote: > > All I know is that I'm definitely hitting a NULL > > platform->driver->pcm_new callback, and that either reverting your patch > > or applying the patch I just sent fixes it. > > I want to know why this happen. > C

Re: [PATCH v2 0/9] clk: meson: update clock controller for audio support

2017-03-10 Thread Kevin Hilman
Jerome Brunet writes: > This patchset is a first round of update to the meson clock controllers > to bring audio support. The patchset is based on clk-next. It could be > rebased on amlogic tree later on, if you prefer the patches to go through > Kevin's tree. I'd prefer these go through the clk

Re: linux-next: WARNING: CPU: 1 PID: 24110 at fs/dcache.c:1445 umount_check+0x81/0x90

2017-03-10 Thread Andrei Vagin
We have reproduced the same issue on the Linus' tree (24c534bb16): https://s3.amazonaws.com/archive.travis-ci.org/jobs/209936923/log.txt [ 702.992802] BUG: Dentry 95b3006c4b40{i=8deba,n=default} still in use (1) [unmount of proc proc] [ 703.002345] [ cut here ] [ 70

[PATCH 1/2] x86/xsave: Move xsave initialization to after parsing early parameters

2017-03-10 Thread Andi Kleen
From: Andi Kleen Move the XSAVE initialization code to be after parsing early parameters. I don't see any reason why the FPU code needs to be initialized that early, nothing else in the initialization phase uses XSAVE. This is useful to be able to handle command line parameters in the XSAVE initi

[PATCH 2/2] x86/fpu: Support disabling AVX and AVX512

2017-03-10 Thread Andi Kleen
From: Andi Kleen For performance testing it is useful to be able to disable AVX and AVX512. User programs check in XGETBV if AVX is supported by the OS. If we don't initialize the XSAVE state for AVX it will appear as if the OS is not supporting AVX. For kernel users we can also clear the interna

[PATCH] x86-32: fix tlb flushing when lguest clears PGE

2017-03-10 Thread Daniel Borkmann
Fengguang reported [1] random corruptions from various locations on x86-32 after commits d2852a224050 ("arch: add ARCH_HAS_SET_MEMORY config") and 9d876e79df6a ("bpf: fix unlocking of jited image when module ronx not set") that uses the former. While x86-32 doesn't have a JIT like x86_64, the bpf_p

Re: tty crash in Linux 4.6

2017-03-10 Thread Michael Neuling
> This patch works, I've had no tty crashes since applying it. > > I've seen that you haven't sent this patch yet to Linux-4.7-rc and > Linux-4.6-stable. Will you? Or did you create a different patch? We are hitting this now on powerpc. This patch never seemed to make it upstream (drivers/tty/tty

Re: [PATCH] tpm_crb: request and relinquish locality 0

2017-03-10 Thread Jason Gunthorpe
On Sat, Mar 11, 2017 at 01:58:00AM +0200, Jarkko Sakkinen wrote: > Added two new callbacks to struct tpm_class_ops: > > - request_locality > - relinquish_locality > > These are called before sending and receiving data from the TPM. If we are going to add new ops, I think we should also adjust th

Re: [PATCH 3/3] ARM64: dts: meson-gx: Prepend GX generic compatible like other nodes

2017-03-10 Thread Kevin Hilman
Neil Armstrong writes: > Signed-off-by: Neil Armstrong Could use a bit more changelog here (in order to support generic drivers that work for all GX family, blah, blah...) Kevin > --- > arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 16 > 1 file changed, 8 insertions(+), 8 del

Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free}

2017-03-10 Thread Brian Norris
On Thu, Mar 09, 2017 at 12:09:18PM +0100, Mark Brown wrote: > On Wed, Mar 08, 2017 at 03:18:54PM -0800, Brian Norris wrote: > > Not all platform drivers have pcm_{new,free} callbacks. Seen with a > > "snd-soc-dummy" codec from sound/soc/rockchip/rk3399_gru_sound.c. > > > > Resolves an OOPS seen on

Re: [PATCH 1/3] ARM64: dts: meson-gx: Finally move common nodes to GX dtsi

2017-03-10 Thread Kevin Hilman
Neil Armstrong writes: > Signed-off-by: Neil Armstrong Could use a bit more changelog here (probably what you have in the cover letter.) Otherwise, looks good. Thanks for the cleanup. Kevin > --- > arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 24 > arch/arm64/boot/dts/aml

Re: [v6 PATCH 00/21] x86: Enable User-Mode Instruction Prevention

2017-03-10 Thread Ricardo Neri
On Sat, 2017-03-11 at 02:58 +0300, Stas Sergeev wrote: > 11.03.2017 02:47, Ricardo Neri пишет: > >> > It doesn't need to be a matter of this particular > patch set, i.e. this proposal should not trigger a > v7 resend of all 21 patches. :) But it would be useful > for the future

Re: tty layer NULL pointer reference with 4.10

2017-03-10 Thread Andi Kleen
Andi Kleen writes: > Hi, > > I had a large systems with lots of cores stop responding to new ssh > requests. It turned out it crashed in the tty layer. The system > has a serial console and had some active sshs and screen Correction. This may have been a linux-next kernel, not 4.10 I'll see if

Re: [f2fs-dev] [PATCH 1/2] f2fs: le16_to_cpu for xattr->e_value_size

2017-03-10 Thread Kinglong Mee
On 3/11/2017 01:53, Jaegeuk Kim wrote: > This patch fixes missing le16 conversion, reported by kbuild test robot. > > Fixes: 5f35a2cd5 ("f2fs: Don't update the xattr data that same as the exist") > Signed-off-by: Jaegeuk Kim Reviewed-by: Kinglong Mee > --- > fs/f2fs/xattr.c | 4 +++- > 1 file

Re: [v6 PATCH 00/21] x86: Enable User-Mode Instruction Prevention

2017-03-10 Thread Ricardo Neri
On Fri, 2017-03-10 at 14:33 +0300, Stas Sergeev wrote: > 10.03.2017 05:39, Andy Lutomirski пишет: > > On Thu, Mar 9, 2017 at 2:10 PM, Stas Sergeev wrote: > >> 09.03.2017 04:15, Ricardo Neri пишет: > >> > >>> On Wed, 2017-03-08 at 08:46 -0800, Andy Lutomirski wrote: > On Wed, Mar 8, 2017 at 8:

Re: [v6 PATCH 00/21] x86: Enable User-Mode Instruction Prevention

2017-03-10 Thread Stas Sergeev
11.03.2017 02:47, Ricardo Neri пишет: It doesn't need to be a matter of this particular patch set, i.e. this proposal should not trigger a v7 resend of all 21 patches. :) But it would be useful for the future development of dosemu2. Would dosemu2 use 32-bit processes in order to keep segmentat

Re: [v6 PATCH 00/21] x86: Enable User-Mode Instruction Prevention

2017-03-10 Thread Ricardo Neri
On Thu, 2017-03-09 at 18:39 -0800, Andy Lutomirski wrote: > On Thu, Mar 9, 2017 at 2:10 PM, Stas Sergeev wrote: > > 09.03.2017 04:15, Ricardo Neri пишет: > > > >> On Wed, 2017-03-08 at 08:46 -0800, Andy Lutomirski wrote: > >>> > >>> On Wed, Mar 8, 2017 at 8:29 AM, Stas Sergeev wrote: > > >>>

[PATCH] tpm_crb: request and relinquish locality 0

2017-03-10 Thread Jarkko Sakkinen
Added two new callbacks to struct tpm_class_ops: - request_locality - relinquish_locality These are called before sending and receiving data from the TPM. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-interface.c | 9 + drivers/char/tpm/tpm_crb.c | 41 +

Re: [RFC] Add option to mount only a pids subset

2017-03-10 Thread Alexey Gladkov
On Tue, Mar 07, 2017 at 08:24:12AM -0800, Andy Lutomirski wrote: > On Mon, Mar 6, 2017 at 3:05 PM, Alexey Gladkov > wrote: > > > > After discussion with Oleg Nesterov I reimplement my patch as an additional > > option for /proc. This option affects the mountpoint. It means that in one > > pid nam

Re: [PATCH 4.10 000/167] 4.10.2-stable review

2017-03-10 Thread Kevin Hilman
On Fri, Mar 10, 2017 at 3:24 PM, Kevin Hilman wrote: > kernelci.org bot writes: > >> stable-rc boot: 541 boots: 6 failed, 500 passed with 34 offline, 1 conflict >> (v4.10.1-168-gcdc1f9d24aac) >> >> Full Boot Summary: >> https://kernelci.org/boot/all/job/stable-rc/kernel/v4.10.1-168-gcdc1f9d24aa

  1   2   3   4   5   6   7   8   9   10   >