Reminder: 3 open syzbot bugs in vhost subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 3 of them as possibly being bugs in the vhost

drivers/power/reset/nvmem-reboot-mode.c:27:42: warning: passing argument 2 of 'nvmem_cell_write' from incompatible pointer type

2019-07-23 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master head: ad5e427e0f6b702e52c11d1f7b2b7be3bac7de82 commit: 7a78a7f7695bf9ef9cef3c06fbc5fa4573fd0eef power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface date: 4 weeks ago config:

Re: [PATCH] mfd/syscon: Add device_node_to_regmap()

2019-07-23 Thread Paul Cercueil
Actually I'll make a revised version and merge it with a patchset that makes use of this feature. -Paul Le mar. 23 juil. 2019 à 14:55, Paul Cercueil a écrit : device_node_to_regmap() is exactly like syscon_node_to_regmap(), but it does not check that the node is compatible with "syscon".

Reminder: 4 open syzbot bugs in "net/hsr" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 4 of them as possibly being bugs in the "net/hsr"

Reminder: 4 open syzbot bugs in "net/rds" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 4 of them as possibly being bugs in the "net/rds"

Re: [PATCH] USB: serial: option: Add Motorola modem UARTs

2019-07-23 Thread Lars Melin
On 7/23/2019 21:49, Tony Lindgren wrote: +#define MOTOROLA_VENDOR_ID 0x22b8 +#define MOTOROLA_PRODUCT_MDM6600 0x2a70 +#define MOTOROLA_PRODUCT_MDM9600 0x2e0a +#define MOTOROLA_PRODUCT_MDM_RAM_DL0x4281 +#define

Reminder: 4 open syzbot bugs in tty subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 4 of them as possibly being bugs in the tty subsystem.

Reminder: 5 open syzbot bugs in "fs/fuse" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 5 of them as possibly being bugs in the "fs/fuse"

Reminder: 5 open syzbot bugs in "fs/ntfs" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 5 of them as possibly being bugs in the "fs/ntfs"

linux-next: manual merge of the keys tree with the afs tree

2019-07-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the keys tree got conflicts in: fs/afs/security.c include/linux/key.h between commit: dd05d852085f ("afs: Provide an RCU-capable key lookup") from the afs tree and commit: f802f2b3a991 ("keys: Replace uid/gid/perm permissions checking with an ACL")

Reminder: 5 open syzbot bugs in "fs/reiserfs" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 5 of them as possibly being bugs in the "fs/reiserfs"

Re: [PATCH] asm-generic: fix -Wtype-limits compiler warnings

2019-07-23 Thread Nathan Chancellor
On Tue, Jul 23, 2019 at 04:49:46PM -0400, Qian Cai wrote: > The commit d66acc39c7ce ("bitops: Optimise get_order()") introduced a > compilation warning because "rx_frag_size" is an "ushort" while > PAGE_SHIFT here is 16. The commit changed the get_order() to be a > multi-line macro where compilers

Reminder: 5 open syzbot bugs in "net/smc" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 5 of them as possibly being bugs in the "net/smc"

Reminder: 5 open syzbot bugs in "net/x25" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 5 of them as possibly being bugs in the "net/x25"

Re: [PATCH AUTOSEL 5.2 039/249] signal/cifs: Fix cifs_put_tcp_session to call send_sig instead of force_sig

2019-07-23 Thread Steve French
I did some additional testing and it looks like the "allow_signal" change may be safe enough # git diff -a diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index a4830ced0f98..a15a6e738eb5 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -1113,6 +1113,7 @@ cifs_demultiplex_thread(void

Reminder: 6 open syzbot bugs in "net/dccp" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 6 of them as possibly being bugs in the "net/dccp"

Re: [PATCH AUTOSEL 5.2 039/249] signal/cifs: Fix cifs_put_tcp_session to call send_sig instead of force_sig

2019-07-23 Thread Steve French
Pavel noticed I missed a line from the attempt to do a similar patch to Eric's suggestion (it still didn't work though - although "allow_signal" does albeit is possibly dangerous as user space can kill cifsd) # git diff -a diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index

Reminder: 8 open syzbot bugs in input subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 8 of them as possibly being bugs in the input

Reminder: 10 open syzbot bugs in "net/sctp" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 10 of them as possibly being bugs in the "net/sctp"

[PATCH v2] sys_prctl(): remove unsigned comparision with less than zero

2019-07-23 Thread Yang Xu
Currently, when calling prctl(PR_SET_TIMERSLACK, arg2), arg2 is an unsigned long value, arg2 will never < 0. Negative judgment is meaningless, so remove it. Fixes: 6976675d9404 ("hrtimer: create a "timer_slack" field in the task struct") Signed-off-by: Yang Xu Cc: Cyrill Gorcunov ---

[PATCH v2 5/6] staging: mt7621-dts: fix register range of memc node in mt7621.dtsi

2019-07-23 Thread Chuanhong Guo
The memc node from mt7621.dtsi has incorrect register resource. Fix it according to the programming guide. Signed-off-by: Weijie Gao Signed-off-by: Chuanhong Guo --- Change since v1: None. drivers/staging/mt7621-dts/mt7621.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 4/6] dt: bindings: add mt7621-pll dt binding documentation

2019-07-23 Thread Chuanhong Guo
This commit adds device tree binding documentation for MT7621 PLL controller. Signed-off-by: Chuanhong Guo --- Change since v1: drop useless syscon in compatible string .../bindings/clock/mediatek,mt7621-pll.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644

[PATCH v2 6/6] staging: mt7621-dts: add dt nodes for mt7621-pll

2019-07-23 Thread Chuanhong Guo
This commit adds device-tree node for mt7621-pll and use its clocks accordingly. Signed-off-by: Chuanhong Guo --- Changes since v1: 1. drop cpuclock node in gbpc1.dts 2. drop syscon in mt7621-pll node drivers/staging/mt7621-dts/gbpc1.dts | 5 - drivers/staging/mt7621-dts/mt7621.dtsi |

[PATCH v2 3/6] MIPS: ralink: add clock device providing cpu/bus clock for mt7621

2019-07-23 Thread Chuanhong Guo
For a long time the mt7621 uses a fixed cpu clock which causes a problem if the cpu frequency is not 880MHz. This patch adds cpu/bus clock calculation code and binds clocks to mt7621-pll node. Ported from OpenWrt: c7ca224299 ramips: fix cpu clock of mt7621 and add dt clk devices Signed-off-by:

[PATCH v2 0/6] MIPS: ralink: add CPU clock detection for MT7621

2019-07-23 Thread Chuanhong Guo
This patchset ports CPU clock detection for MT7621 from OpenWrt. Last time I sent this, I forgot to add an binding include which caused a compile error and the patch doesn't stay in linux-next. This patchset resent the first two commits and also added binding documentation for mt7621-pll and

[PATCH v2 2/6] MIPS: ralink: drop ralink_clk_init for mt7621

2019-07-23 Thread Chuanhong Guo
This function isn't called anywhere. just drop it. Signed-off-by: Chuanhong Guo --- Change since v1: New patch. Split from: "MIPS: ralink: fix cpu clock of mt7621 and add dt clk devices" arch/mips/ralink/mt7621.c | 43 --- 1 file changed, 43 deletions(-)

[PATCH v2 1/6] dt-bindings: clock: add dt binding header for mt7621-pll

2019-07-23 Thread Chuanhong Guo
This patch adds dt binding header for mediatek,mt7621-pll Signed-off-by: Weijie Gao Signed-off-by: Chuanhong Guo Reviewed-by: Rob Herring --- Change since v1: Change commit title prefix. include/dt-bindings/clock/mt7621-clk.h | 14 ++ 1 file changed, 14 insertions(+) create mode

[PATCH] fs: kernfs: Fix possible null-pointer dereferences in kernfs_path_from_node_locked()

2019-07-23 Thread Jia-Ju Bai
In kernfs_path_from_node_locked(), there is an if statement on line 147 to check whether buf is NULL: if (buf) When buf is NULL, it is used on line 151: len += strlcpy(buf + len, parent_str, ...) and line 158: len += strlcpy(buf + len, "/", ...) and line 160: len += strlcpy(buf +

Re: [PATCH v4] mmc: host: sdhci-sprd: Fix the incorrect soft reset operation when runtime resuming

2019-07-23 Thread Baolin Wang
On Tue, 23 Jul 2019 at 20:39, Ulf Hansson wrote: > > On Tue, 23 Jul 2019 at 05:05, Baolin Wang wrote: > > > > Hi Ulf, > > > > On Mon, 22 Jul 2019 at 19:54, Ulf Hansson wrote: > > > > > > On Wed, 17 Jul 2019 at 04:29, Baolin Wang wrote: > > > > > > > > In sdhci_runtime_resume_host() function,

Re: [PATCH] ibmvfc: fix WARN_ON during event pool release

2019-07-23 Thread Martin K. Petersen
Tyrel, > While removing an ibmvfc client adapter a WARN_ON like the following > WARN_ON is seen in the kernel log: Applied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH v2] perf vendor events: Add Icelake V1.00 event file

2019-07-23 Thread Haiyan Song
Add a Intel event file for perf. Signed-off-by: Haiyan Song --- tools/perf/pmu-events/arch/x86/icelake/cache.json | 552 + .../arch/x86/icelake/floating-point.json | 102 +++ .../perf/pmu-events/arch/x86/icelake/frontend.json | 424 ++

Re: WARNING in __mmdrop

2019-07-23 Thread Jason Wang
On 2019/7/23 下午11:02, Michael S. Tsirkin wrote: On Tue, Jul 23, 2019 at 09:34:29PM +0800, Jason Wang wrote: On 2019/7/23 下午6:27, Michael S. Tsirkin wrote: Yes, since there could be multiple co-current invalidation requests. We need count them to make sure we don't pin wrong pages. I also

Re: [PATCH][next] scsi: megaraid_sas: fix spelling mistake "megarid_sas" -> "megaraid_sas"

2019-07-23 Thread Martin K. Petersen
Colin, > Fix spelling mistake in kernel warning message and replace printk with > with pr_warn. Applied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fcoe: fix a typo

2019-07-23 Thread Martin K. Petersen
Christophe, > #define relative to FCOE CTLR start with FCOE_CTLR, except > FCOE_CTRL_SOL_TOV. > > This is likely a typo and CTRL should be CTLR here as well. Applied to 5.3/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] scsi: megaraid_sas: Make some functions static

2019-07-23 Thread Martin K. Petersen
YueHaibing, > Fix sparse warnings: > > drivers/scsi/megaraid/megaraid_sas_fusion.c:541:1: warning: symbol > 'megasas_alloc_cmdlist_fusion' was not declared. Should it be static? Applied to 5.3/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH RESEND] scsi: megaraid_sas: fix panic on loading firmware crashdump

2019-07-23 Thread Martin K. Petersen
Junxiao, > While loading fw crashdump in function fw_crash_buffer_show(), left > bytes in one dma chunk was not checked, if copying size over it, > overflow access will cause kernel panic. Applied to 5.3/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] rpcrdma_decode_msg: check xdr_inline_decode result

2019-07-23 Thread Chuck Lever
> On Jul 23, 2019, at 9:51 PM, Navid Emamdoost > wrote: > > xdr_inline_decode may return NULL, so the check is necessary. The base > pointer will be dereferenced later in rpcrdma_inline_fixup. NACK. When xdr_inline_decode is passed a zero “length” argument, it can never return NULL. >

[PATCH v2] media: pci: Use dev_get_drvdata where possible

2019-07-23 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- Changes in v2: - Change pci_set_drvdata to dev_set_drvdata to keep consistency. drivers/media/pci/intel/ipu3/ipu3-cio2.c | 5 ++--- drivers/media/pci/pt1/pt1.c

Re: [PATCH AUTOSEL 5.2 039/249] signal/cifs: Fix cifs_put_tcp_session to call send_sig instead of force_sig

2019-07-23 Thread Steve French
On Tue, Jul 23, 2019 at 8:32 PM Eric W. Biederman wrote: > > Steve French writes: > > > Very easy to see what caused the regression with this global change: > > > > mount (which launches "cifsd" thread to read the socket) > > umount (which kills the "cifsd" thread) > > rmmod (rmmod now fails

RE: [PATCH v5 12/15] ARM: dts: imx6ul: add dma support on ecspi

2019-07-23 Thread Robin Gong
On 2019-7-24 at 08:49 Shawn Guo wrote: > On Tue, Jul 23, 2019 at 09:39:38AM +, Robin Gong wrote: > > On 2019-7-17 at 14:42 Shawn Guo wrote: > > > On Mon, Jun 10, 2019 at 04:17:50PM +0800, yibin.g...@nxp.com wrote: > > > > From: Robin Gong > > > > > > > > Add dma support on ecspi. > > > > >

[PATCH] rpcrdma_decode_msg: check xdr_inline_decode result

2019-07-23 Thread Navid Emamdoost
xdr_inline_decode may return NULL, so the check is necessary. The base pointer will be dereferenced later in rpcrdma_inline_fixup. Signed-off-by: Navid Emamdoost --- net/sunrpc/xprtrdma/rpc_rdma.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/sunrpc/xprtrdma/rpc_rdma.c

[PATCH] carl9170: remove set but not used variable 'udev'

2019-07-23 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/net/wireless/ath/carl9170/usb.c: In function 'carl9170_usb_disconnect': drivers/net/wireless/ath/carl9170/usb.c:1110:21: warning: variable 'udev' set but not used [-Wunused-but-set-variable] It is not used, so can be removed. Reported-by:

Reminder: 11 open syzbot bugs in RDMA subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 11 of them as possibly being bugs in the RDMA

Reminder: 11 open syzbot bugs in "net/wireless" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 11 of them as possibly being bugs in the "net/wireless"

Reminder: 13 open syzbot bugs in "net/netrom" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 13 of them as possibly being bugs in the "net/netrom"

Reminder: 14 open syzbot bugs in "net/tipc" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 14 of them as possibly being bugs in the "net/tipc"

Reminder: 18 open syzbot bugs in "fs/9p" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 18 of them as possibly being bugs in the "fs/9p"

Reminder: 19 open syzbot bugs in perf subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 19 of them as possibly being bugs in the perf

Reminder: 25 open syzbot bugs in kvm subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 25 of them as possibly being bugs in the kvm subsystem.

[PATCH v4 5/5] PM / devfreq: Add required OPPs support to passive governor

2019-07-23 Thread Saravana Kannan
Look at the required OPPs of the "parent" device to determine the OPP that is required from the slave device managed by the passive governor. This allows having mappings between a parent device and a slave device even when they don't have the same number of OPPs. Signed-off-by: Saravana Kannan

[PATCH v4 3/5] OPP: Improve required-opps linking

2019-07-23 Thread Saravana Kannan
Currently, the linking of required-opps fails silently if the destination OPP table hasn't been added before the source OPP table is added. This puts an unnecessary requirement that the destination table be added before the source table is added. In reality, the destination table is needed only

[PATCH v4 4/5] PM / devfreq: Cache OPP table reference in devfreq

2019-07-23 Thread Saravana Kannan
The OPP table can be used often in devfreq. Trying to get it each time can be expensive, so cache it in the devfreq struct. Signed-off-by: Saravana Kannan Reviewed-by: Chanwoo Choi Acked-by: MyungJoo Ham --- drivers/devfreq/devfreq.c | 6 ++ include/linux/devfreq.h | 2 ++ 2 files

Reminder: 26 open syzbot bugs in "net/xfrm" subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 26 of them as possibly being bugs in the "net/xfrm"

[PATCH v4 2/5] OPP: Add function to look up required OPP's for a given OPP

2019-07-23 Thread Saravana Kannan
Add a function that allows looking up required OPPs given a source OPP table, destination OPP table and the source OPP. Signed-off-by: Saravana Kannan --- drivers/opp/core.c | 53 ++ include/linux/pm_opp.h | 11 + 2 files changed, 64

[PATCH v4 0/5] Add required-opps support to devfreq passive gov

2019-07-23 Thread Saravana Kannan
The devfreq passive governor scales the frequency of a "child" device based on the current frequency of a "parent" device (not parent/child in the sense of device hierarchy). As of today, the passive governor requires one of the following to work correctly: 1. The parent and child device have the

[PATCH v4 1/5] OPP: Allow required-opps even if the device doesn't have power-domains

2019-07-23 Thread Saravana Kannan
A Device-A can have a (minimum) performance requirement on another Device-B to be able to function correctly. This performance requirement on Device-B can also change based on the current performance level of Device-A. The existing required-opps feature fits well to describe this need. So,

Reminder: 29 open syzbot bugs in bluetooth subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 29 of them as possibly being bugs in the bluetooth

Re: [PATCH] kbuild: clean compressed initramfs image

2019-07-23 Thread Nicholas Piggin
Greg Thelen's on July 22, 2019 4:32 pm: > Since commit 9e3596b0c653 ("kbuild: initramfs cleanup, set target from > Kconfig") "make clean" leaves behind compressed initramfs images. > Example: > $ make defconfig > $ sed -i >

Reminder: 35 open syzbot bugs in media subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 35 of them as possibly being bugs in the media

Re: [PATCH] mm/memory-failure: Poison read receives SIGKILL instead of SIGBUS if mmaped more than once

2019-07-23 Thread Matthew Wilcox
On Tue, Jul 23, 2019 at 05:38:30PM -0600, Jane Chu wrote: > @@ -331,16 +330,21 @@ static void add_to_kill(struct task_struct *tsk, struct > page *p, > tk->size_shift = compound_order(compound_head(p)) + PAGE_SHIFT; > > /* > - * In theory we don't have to kill when the

Reminder: 99 open syzbot bugs in net subsystem

2019-07-23 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status.] Of the currently open syzbot reports against the upstream kernel, I've manually marked 99 of them as possibly being bugs in the net subsystem.

Re: [PATCH] mm/memory-failure: Poison read receives SIGKILL instead of SIGBUS if mmaped more than once

2019-07-23 Thread Dan Williams
On Tue, Jul 23, 2019 at 4:49 PM Jane Chu wrote: > > Mmap /dev/dax more than once, then read the poison location using address > from one of the mappings. The other mappings due to not having the page > mapped in will cause SIGKILLs delivered to the process. SIGKILL succeeds > over SIGBUS, so user

Re: [PATCH] media: pci: Use dev_get_drvdata where possible

2019-07-23 Thread Chuhong Yuan
On Tue, Jul 23, 2019 at 10:39 PM Cao, Bingbu wrote: > > > > > BRs, > Bingbu Cao > > > -Original Message- > From: Chuhong Yuan > Sent: Tuesday, July 23, 2019 7:50 PM > Cc: Zhi, Yong ; Sakari Ailus > ; Cao, Bingbu ; Mauro > Carvalho Chehab ; Akihiro Tsukada ; >

[PATCH RESEND] regulator: lp87565: Fix probe failure for "ti,lp87565"

2019-07-23 Thread Axel Lin
The "ti,lp87565" compatible string is still in of_lp87565_match_table, but current code will return -EINVAL because lp87565->dev_type is unknown. This was working in earlier kernel versions, so fix it. Fixes: 7ee63bd74750 ("regulator: lp87565: Add 4-phase lp87561 regulator support")

Re: [PATCH RFT] regulator: lp87565: Fix probe failure for "ti,lp87565"

2019-07-23 Thread Axel Lin
Mark Brown 於 2019年7月24日 週三 上午12:35寫道: > > On Tue, Jul 23, 2019 at 08:28:35PM +0800, Axel Lin wrote: > > Mark Brown 於 2019年7月23日 週二 下午7:26寫道: > > > On Thu, Jul 11, 2019 at 07:35:17PM +0800, Axel Lin wrote: > > > > > The "ti,lp87565" compatible string is still in of_lp87565_match_table, > > > >

Re: [PATCH v5 12/15] ARM: dts: imx6ul: add dma support on ecspi

2019-07-23 Thread Shawn Guo
On Tue, Jul 23, 2019 at 09:39:38AM +, Robin Gong wrote: > On 2019-7-17 at 14:42 Shawn Guo wrote: > > On Mon, Jun 10, 2019 at 04:17:50PM +0800, yibin.g...@nxp.com wrote: > > > From: Robin Gong > > > > > > Add dma support on ecspi. > > > > > > Signed-off-by: Robin Gong > > > > Applied,

Re: [PATCH AUTOSEL 5.2 039/249] signal/cifs: Fix cifs_put_tcp_session to call send_sig instead of force_sig

2019-07-23 Thread Steve French
Very easy to see what caused the regression with this global change: mount (which launches "cifsd" thread to read the socket) umount (which kills the "cifsd" thread) rmmod (rmmod now fails since "cifsd" thread is still active) mount launches a thread to read from the socket ("cifsd") umount is

Re: [PATCH v3 5/5] PM / devfreq: Add required OPPs support to passive governor

2019-07-23 Thread Saravana Kannan
On Tue, Jul 23, 2019 at 3:04 AM Viresh Kumar wrote: > > On 17-07-19, 15:23, Saravana Kannan wrote: > > Look at the required OPPs of the "parent" device to determine the OPP that > > is required from the slave device managed by the passive governor. This > > allows having mappings between a parent

Re: [PATCH v3 2/5] OPP: Add function to look up required OPP's for a given OPP

2019-07-23 Thread Saravana Kannan
On Tue, Jul 23, 2019 at 2:53 AM Viresh Kumar wrote: > > On 17-07-19, 15:23, Saravana Kannan wrote: > > Add a function that allows looking up required OPPs given a source OPP > > table, destination OPP table and the source OPP. > > > > Signed-off-by: Saravana Kannan > > --- > >

[PATCH v2] .gitignore: Add compilation database file

2019-07-23 Thread Toru Komatsu
This file is used by clangd to use language server protocol. It can be generated at each compile using scripts/gen_compile_commands.py. Therefore it is different depending on the environment and should be ignored. Signed-off-by: Toru Komatsu --- .gitignore | 3 +++ 1 file changed, 3

Re: [PATCH v3 1/6] dt-bindings: opp: Introduce opp-peak-KBps and opp-avg-KBps bindings

2019-07-23 Thread Saravana Kannan
On Tue, Jul 23, 2019 at 7:27 AM Rob Herring wrote: > > On Mon, Jul 22, 2019 at 5:41 PM Saravana Kannan wrote: > > > > On Mon, Jul 22, 2019 at 4:35 PM Rob Herring wrote: > > > > > > On Tue, Jul 16, 2019 at 11:58:08AM -0700, Saravana Kannan wrote: > > > > On Tue, Jul 16, 2019 at 10:25 AM Sibi

[PATCH v7 7/7] of/platform: Don't create device links for default busses

2019-07-23 Thread Saravana Kannan
Default busses also have devices created for them. But there's no point in creating device links for them. It's especially wasteful as it'll cause the traversal of the entire device tree and also spend a lot of time checking and figuring out that creating those links isn't allowed. So check for

[PATCH v7 4/7] driver core: Add sync_state driver/bus callback

2019-07-23 Thread Saravana Kannan
This sync_state driver/bus callback is called once all the consumers of a supplier have probed successfully. This allows the supplier device's driver/bus to sync the supplier device's state to the software state with the guarantee that all the consumers are actively managing the resources

[PATCH v7 6/7] of/platform: Create device links for all child-supplier depencencies

2019-07-23 Thread Saravana Kannan
A parent device can have child devices that it adds when it probes. But this probing of the parent device can happen way after kernel init is done -- for example, when the parent device's driver is loaded as a module. In such cases, if the child devices depend on a supplier in the system, we need

[PATCH v7 5/7] of/platform: Pause/resume sync state during init and of_platform_populate()

2019-07-23 Thread Saravana Kannan
When all the top level devices are populated from DT during kernel init, the supplier devices could be added and probed before the consumer devices are added and linked to the suppliers. To avoid the sync_state() callback from being called prematurely, pause the sync_state() callbacks before

[PATCH v7 1/7] driver core: Add support for linking devices during device addition

2019-07-23 Thread Saravana Kannan
When devices are added, the bus might want to create device links to track functional dependencies between supplier and consumer devices. This tracking of supplier-consumer relationship allows optimizing device probe order and tracking whether all consumers of a supplier are active. The add_links

[PATCH v7 2/7] driver core: Add edit_links() callback for drivers

2019-07-23 Thread Saravana Kannan
The driver core/bus adding supplier-consumer dependencies by default enables functional dependencies to be tracked correctly even when the consumer devices haven't had their drivers registered or loaded (if they are modules). However, when the bus incorrectly adds dependencies that it shouldn't

[PATCH v7 0/7] Solve postboot supplier cleanup and optimize probe ordering

2019-07-23 Thread Saravana Kannan
Add device-links to track functional dependencies between devices after they are created (but before they are probed) by looking at their common DT bindings like clocks, interconnects, etc. Having functional dependencies automatically added before the devices are probed, provides the following

Re: [PATCH v9 5/6] mm,thp: add read-only THP support for (non-shmem) FS

2019-07-23 Thread Huang, Kai
On Mon, 2019-06-24 at 17:12 -0700, Song Liu wrote: > This patch is (hopefully) the first step to enable THP for non-shmem > filesystems. > > This patch enables an application to put part of its text sections to THP > via madvise, for example: > > madvise((void *)0x60, 0x20,

Re: [PATCH 1/2] mm/hmm: a few more C style and comment clean ups

2019-07-23 Thread Jason Gunthorpe
On Tue, Jul 23, 2019 at 04:30:15PM -0700, Ralph Campbell wrote: > - if (pmd_huge(pmd) && (range->vma->vm_flags & VM_HUGETLB)) > + if (pmd_huge(pmd) && is_vm_hugetlb_page(vma)) > return hmm_pfns_bad(start, end, walk); This one is not a minor cleanup.. I think it should be

Re: [5.2 REGRESSION] Generic vDSO breaks seccomp-enabled userspace on i386

2019-07-23 Thread Thomas Gleixner
On Tue, 23 Jul 2019, Kees Cook wrote: > On Wed, Jul 24, 2019 at 12:59:03AM +0200, Thomas Gleixner wrote: > > And as we have sys_clock_gettime64() exposed for 32bit anyway you need to > > deal with that in seccomp independently of the VDSO. It does not make sense > > to treat sys_clock_gettime()

linux-next: build warning after merge of the input-current tree

2019-07-23 Thread Stephen Rothwell
Hi all, After merging the input-current tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/input/mouse/elantech.c: In function 'elantech_use_host_notify': drivers/input/mouse/elantech.c:1843:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

Re: [5.2 REGRESSION] Generic vDSO breaks seccomp-enabled userspace on i386

2019-07-23 Thread Kees Cook
On Wed, Jul 24, 2019 at 12:59:03AM +0200, Thomas Gleixner wrote: > And as we have sys_clock_gettime64() exposed for 32bit anyway you need to > deal with that in seccomp independently of the VDSO. It does not make sense > to treat sys_clock_gettime() differently than sys_clock_gettime64(). They >

[PATCH] mm/memory-failure: Poison read receives SIGKILL instead of SIGBUS if mmaped more than once

2019-07-23 Thread Jane Chu
Mmap /dev/dax more than once, then read the poison location using address from one of the mappings. The other mappings due to not having the page mapped in will cause SIGKILLs delivered to the process. SIGKILL succeeds over SIGBUS, so user process looses the opportunity to handle the UE. Although

Re: [PATCH V6 16/21] soc/tegra: pmc: Add pmc wake support for tegra210

2019-07-23 Thread Sowjanya Komatineni
On 7/23/19 7:27 AM, Dmitry Osipenko wrote: 23.07.2019 6:43, Dmitry Osipenko пишет: 23.07.2019 6:31, Sowjanya Komatineni пишет: On 7/22/19 8:25 PM, Dmitry Osipenko wrote: 23.07.2019 6:09, Sowjanya Komatineni пишет: On 7/22/19 8:03 PM, Dmitry Osipenko wrote: 23.07.2019 4:52, Sowjanya

Re: [Linux-kernel-mentees] [PATCH] PCI: Stop exporting pci_bus_sem

2019-07-23 Thread Bjorn Helgaas
On Wed, Jul 17, 2019 at 09:29:52PM -0600, Kelsey Skunberg wrote: > pci_bus_sem is not used by a loadable kernel module and does not need to > be exported. Remove line exporting pci_bus_sem. > > Signed-off-by: Kelsey Skunberg Applied to pci/hide for v5.4, thanks! > --- > drivers/pci/search.c |

Re: [Linux-kernel-mentees] [PATCH] PCI: Remove unused EXPORT_SYMBOL()s from drivers/pci/bus.c

2019-07-23 Thread Bjorn Helgaas
[+cc Greg] On Wed, Jul 17, 2019 at 12:23:53PM -0600, Kelsey Skunberg wrote: > pci_bus_get() and pci_bus_put() are not used by a loadable kernel module > and do not need to be exported. Remove lines exporting pci_bus_get() and > pci_bus_put(). > > Functions were exported in commit fe830ef62ac6

[PATCH] fsl/fman: Remove comment referring to non-existent function

2019-07-23 Thread Chris Packham
fm_set_max_frm() existed in the Freescale SDK as a callback for an early_param. When this code was ported to the upstream kernel the early_param was converted to a module_param making the reference to the function incorrect. The rest of the comment already does a good job of explaining the

Re: [Linux-kernel-mentees] [PATCH v3] PCI: Remove functions not called in include/linux/pci.h

2019-07-23 Thread Bjorn Helgaas
On Mon, Jul 15, 2019 at 02:34:16PM -0600, Kelsey Skunberg wrote: > Remove the following uncalled functions from include/linux/pci.h: > > pci_block_cfg_access() > pci_block_cfg_access_in_atomic() > pci_unblock_cfg_access() > > Functions were added in commit fb51ccbf217c

[PATCH 1/2] mm/hmm: a few more C style and comment clean ups

2019-07-23 Thread Ralph Campbell
A few more comments and minor programming style clean ups. There should be no functional changes. Signed-off-by: Ralph Campbell Cc: "Jérôme Glisse" Cc: Jason Gunthorpe Cc: Christoph Hellwig --- mm/hmm.c | 34 -- 1 file changed, 16 insertions(+), 18

[PATCH 0/2] mm/hmm: more HMM clean up

2019-07-23 Thread Ralph Campbell
Here are two more patches for things I found to clean up. I assume this will go into Jason's tree since there will likely be more HMM changes in this cycle. Ralph Campbell (2): mm/hmm: a few more C style and comment clean ups mm/hmm: make full use of walk_page_range() mm/hmm.c | 231

[PATCH 2/2] mm/hmm: make full use of walk_page_range()

2019-07-23 Thread Ralph Campbell
hmm_range_snapshot() and hmm_range_fault() both call find_vma() and walk_page_range() in a loop. This is unnecessary duplication since walk_page_range() calls find_vma() in a loop already. Simplify hmm_range_snapshot() and hmm_range_fault() by defining a walk_test() callback function to filter

Re: memory leak in rds_send_probe

2019-07-23 Thread Eric Biggers
On Tue, Jul 23, 2019 at 03:23:36PM -0700, Andrew Morton wrote: > On Tue, 23 Jul 2019 15:17:00 -0700 syzbot > wrote: > > > syzbot has bisected this bug to: > > > > commit af49a63e101eb62376cc1d6bd25b97eb8c691d54 > > Author: Matthew Wilcox > > Date: Sat May 21 00:03:33 2016 + > > > >

Re: [PATCH 00/11] PCI: Move symbols to drivers/pci/pci.h

2019-07-23 Thread Kelsey Skunberg
On Tue, Jul 23, 2019 at 06:07:01PM -0500, Bjorn Helgaas wrote: > On Thu, Jul 11, 2019 at 04:23:30PM -0600, Kelsey Skunberg wrote: > > Move symbols defined in include/linux/pci.h that are only used in > > drivers/pci/ to drivers/pci/pci.h. > > > > Symbols only used in drivers/pci/ do not need to

Re: [PATCH AUTOSEL 5.2 039/249] signal/cifs: Fix cifs_put_tcp_session to call send_sig instead of force_sig

2019-07-23 Thread ronnie sahlberg
On Tue, Jul 16, 2019 at 1:15 AM Sasha Levin wrote: > > From: "Eric W. Biederman" > > [ Upstream commit 72abe3bcf0911d69b46c1e8bdb5612675e0ac42c ] > > The locking in force_sig_info is not prepared to deal with a task that > exits or execs (as sighand may change). The is not a locking problem >

Re: [PATCH v2] drivers: net: xgene: Remove acpi_has_method() calls

2019-07-23 Thread Kelsey Skunberg
On Tue, Jul 23, 2019 at 05:56:04PM -0500, Bjorn Helgaas wrote: > On Tue, Jul 23, 2019 at 1:59 PM Kelsey Skunberg > wrote: > > > > acpi_evaluate_object will already return an error if the needed method > > does not exist. Remove unnecessary acpi_has_method() calls and check the > > returned

memory leak in kobject_set_name_vargs (2)

2019-07-23 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3bfe1fc4 Merge tag 'for-5.3/dm-changes-2' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=130322afa0 kernel config: https://syzkaller.appspot.com/x/.config?x=dcfc65ee492509c6

Re: [PATCH 00/11] PCI: Move symbols to drivers/pci/pci.h

2019-07-23 Thread Bjorn Helgaas
On Thu, Jul 11, 2019 at 04:23:30PM -0600, Kelsey Skunberg wrote: > Move symbols defined in include/linux/pci.h that are only used in > drivers/pci/ to drivers/pci/pci.h. > > Symbols only used in drivers/pci/ do not need to be visible to the rest of > the kernel. > > Kelsey Skunberg (11): >

Re: [PATCH 3/3] platform//x86/pcengines-apuv2: update gpio button definition

2019-07-23 Thread Enrico Weigelt, metux IT consult
On 23.07.19 09:06, Florian Eckert wrote: I'd like to ack only the keycode change, but not the deprecated .gpio field. I'll post a separate patch for the keycode change only. I am fine if we only change the keycode. Do I have to send a v2 patch set? already sent one. -- Enrico Weigelt,

Re: [5.2 REGRESSION] Generic vDSO breaks seccomp-enabled userspace on i386

2019-07-23 Thread Thomas Gleixner
On Tue, 23 Jul 2019, Kees Cook wrote: > On Mon, Jul 22, 2019 at 04:47:36PM -0700, Andy Lutomirski wrote: > > I don't love this whole concept, but I also don't have a better idea. > > How about we revert the vDSO change? :P Sigh. Add more special case code to the VDSO again? > I keep coming back

<    1   2   3   4   5   6   7   8   9   >