[PATCH REBASE v4 00/14] Provide generic top-down mmap layout functions

2019-07-23 Thread Alexandre Ghiti
Hi Andrew, This is simply a rebase on top of next-20190719, where I added various Acked/Reviewed-by from Kees and Catalin and a note on commit 08/14 suggested by Kees regarding the removal of STACK_RND_MASK that is safe doing. I would have appreciated a feedback from a mips maintainer but failed

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

2019-07-23 Thread Kelsey Skunberg
On Tue, Jul 23, 2019 at 02:07:39PM -0700, David Miller wrote: > From: David Miller > Date: Tue, 23 Jul 2019 14:06:46 -0700 (PDT) > > > From: Kelsey Skunberg > > Date: Tue, 23 Jul 2019 12:58:11 -0600 > > > >> acpi_evaluate_object will already return an error if the needed method > >> does not

Re: linux-next: Fixes tag needs some work in the s390-fixes tree

2019-07-23 Thread Heiko Carstens
Hi Stephen, On Wed, Jul 24, 2019 at 07:42:27AM +1000, Stephen Rothwell wrote: > In commit > 8b515be512a2 ("vfio-ccw: Fix memory leak and don't call cp_free in cp_init") > Fixes tag > Fixes: 812271b910 ("s390/cio: Squash cp_free() and cp_unpin_free()") > - SHA1 should be at least 12 digits

Re: [PATCH 0/8] ti-sysc related warning fixes for v5.3-rc cycle

2019-07-23 Thread Keerthy
On 23/07/19 4:58 PM, Tony Lindgren wrote: Hi all, I noticed that with recent ti-sysc driver changes some new warnings have crept in. Mostly they are caused by having different configuration in the dts compared to the legacy platform data. Let's fix these first before we continue dropping the

Re: [PATCH 2/8] ARM: OMAP2+: Remove unconfigured midlemode for am3 lcdc

2019-07-23 Thread Keerthy
On 24/07/19 12:33 AM, Suman Anna wrote: + Jyri On 7/23/19 6:28 AM, Tony Lindgren wrote: We currently get a warning for lcdc because of a difference with dts provided configuration compared to the legacy platform data. This is because lcdc has SYSC_HAS_MIDLEMODE configured in the platform

[PATCH] quota: fix condition for resetting time limit in do_set_dqblk()

2019-07-23 Thread Chengguang Xu
We reset time limit when current usage is smaller or equal to soft limit in other place, so follow this rule in do_set_dqblk(). Signed-off-by: Chengguang Xu --- fs/quota/dquot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index

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

2019-07-23 Thread Christoph Hellwig
On Tue, Jul 23, 2019 at 11:57:52PM +, Jason Gunthorpe wrote: > diff --git a/mm/hmm.c b/mm/hmm.c > index 16b6731a34db79..3d8cdfb67a6ab8 100644 > --- a/mm/hmm.c > +++ b/mm/hmm.c > @@ -285,8 +285,9 @@ struct hmm_vma_walk { > struct hmm_range*range; > struct dev_pagemap

Re: [PATCH v5 04/13] media: rc: sunxi: Add RXSTA bits definition

2019-07-23 Thread Sean Young
On Tue, Jul 23, 2019 at 09:04:40AM +0200, Maxime Ripard wrote: > Hi Sean, > > On Tue, Jul 23, 2019 at 07:25:57AM +0100, Sean Young wrote: > > On Mon, Jul 15, 2019 at 01:12:45PM +0100, Sean Young wrote: > > > On Sun, Jul 14, 2019 at 04:32:22PM +0200, Clément Péron wrote: > > > > Hi Sean, > > > > >

Re: [PATCH] mt76_init_sband_2g: null check the allocation

2019-07-23 Thread Kalle Valo
Navid Emamdoost writes: > devm_kzalloc may fail and return NULL. So the null check is needed. > > Signed-off-by: Navid Emamdoost > --- > drivers/net/wireless/mediatek/mt7601u/init.c | 3 +++ > 1 file changed, 3 insertions(+) The prefix in the title should be "mt7601u:".

Re: [PATCH v2] media:dvb-frontends:Remove dvb_pll_devcount and id module parameters.

2019-07-23 Thread Sean Young
On Sat, Jul 20, 2019 at 11:43:02AM +0530, Vandana BN wrote: > Syzbot reported global-out-of-bounds Read in dvb_pll_attach, while > accessing id[dvb_pll_devcount], because dvb_pll_devcount was 65, > that is more than size of 'id' which is DVB_PLL_MAX(64). > > Fix would be to check if DVB_PLL_MAX

[PATCH] powerpc: Support CMDLINE_EXTEND

2019-07-23 Thread Chris Packham
Device tree aware platforms can make use of CMDLINE_EXTEND to extend the kernel command line provided by the bootloader. This is particularly useful to set parameters for built-in modules that would otherwise be done at module insertion. Add support for this in the powerpc architecture.

Re: [PATCH] arm64: dts: meson: odroid-n2: keep SD card regulator always on

2019-07-23 Thread Anand Moon
Hi All, On Mon, 22 Jul 2019 at 12:51, Neil Armstrong wrote: > > On 19/07/2019 21:29, Xavier Ruppen wrote: > > When powering off the Odroid N2, the tflash_vdd regulator is > > automatically turned off by the kernel. This is a problem > > when issuing the "reboot" command while using an SD card. >

[PATCH] ASoC: wm8955: Fix a typo in 'wm8995_pll_factors()' function name

2019-07-23 Thread Christophe JAILLET
This should be 'wm8955_pll_factors()' instead. Fix it and use it. Signed-off-by: Christophe JAILLET --- sound/soc/codecs/wm8955.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/wm8955.c b/sound/soc/codecs/wm8955.c index cd204f79647d..ec82a8fafdf6 100644

Re: [PATCH] powerpc: Wire up clone3 syscall

2019-07-23 Thread Arseny Solokha
Hi, may I also ask to provide ppc_clone3 symbol also for 32-bit powerpc? Otherwise Michael's patch breaks build for me: powerpc-e500v2-linux-gnuspe-ld: arch/powerpc/kernel/systbl.o: in function `sys_call_table': (.rodata+0x6cc): undefined reference to `ppc_clone3' make: ***

Re: [PATCH v2 5/5] arm64: dts: qcom: sdm845-cheza: remove macro from unit name

2019-07-23 Thread Amit Kucheria
On Wed, Jul 24, 2019 at 10:20 AM Vinod Koul wrote: > > Unit address is supposed to be a number, using a macro with hex value is > not recommended, so add the value in unit name. > > arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi:966.16-969.4: Warning > (unit_address_format):

Re: [PATCH v2 3/5] arm64: dts: qcom: sdm845: remove unit name for thermal trip points

2019-07-23 Thread Amit Kucheria
On Wed, Jul 24, 2019 at 10:20 AM Vinod Koul wrote: > > The thermal trip points have unit name but no reg property, so we can > remove them > > arch/arm64/boot/dts/qcom/sdm845.dtsi:2824.31-2828.7: Warning > (unit_address_vs_reg): /thermal-zones/cpu0-thermal/trips/trip-point@0: node > has a unit

Re: [PATCH v2 4/5] arm64: dts: qcom: sdm845: remove macro from unit name

2019-07-23 Thread Amit Kucheria
On Wed, Jul 24, 2019 at 10:20 AM Vinod Koul wrote: > > Unit name is supposed to be a number, using a macro with hex value is > not recommended, so add the value in unit name. > > arch/arm64/boot/dts/qcom/pm8998.dtsi:81.18-84.6: Warning > (unit_address_format):

[GIT PULL] FPGA Manager fix for 5.3

2019-07-23 Thread Moritz Fischer
The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mdf/linux-fpga.git tags/fixes-for-5.3 for you to fetch changes up to

Re: [PATCH V2 1/1] can: sja1000: f81601: add Fintek F81601 support

2019-07-23 Thread Ji-Ze Hong (Peter Hong)
Hi, Saeed Mahameed 於 2019/7/24 上午 05:38 寫道: On Mon, 2019-07-22 at 14:22 +0800, Ji-Ze Hong (Peter Hong) wrote: This patch add support for Fintek PCIE to 2 CAN controller support Signed-off-by: Ji-Ze Hong (Peter Hong) --- Changelog: v2: 1: Fix comment on the spinlock with write

Re: [LKP] [SUNRPC] 0472e47660: fsmark.app_overhead 16.0% regression

2019-07-23 Thread Xing Zhengjun
On 7/12/2019 2:42 PM, Xing Zhengjun wrote: Hi Trond,     I attached perf-profile part big changes, hope it is useful for analyzing the issue. Ping... In testcase: fsmark on test machine: 40 threads Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz with 384G memory with following

Great News: National Heart Center Singapore CT Coronary Calcium Score 18 July 2019

2019-07-23 Thread Turritopsis Dohrnii Teo En Ming
Subject: Great News: National Heart Center Singapore CT Coronary Calcium Score 18 July 2019 Good day from Singapore, This is good news for trillions and trillions of years to come! 1. My weight/mass is 123.5 kg (taken on 23 July 2019). 2. My height is 1.79 meters (taken on 23 July 2019). 3.

[PATCH] taskstats: Fix a typo - taskstsats --> taskstats

2019-07-23 Thread Christophe JAILLET
There is an extra 's' in 'taskstsats', remove it. Signed-off-by: Christophe JAILLET --- kernel/taskstats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/taskstats.c b/kernel/taskstats.c index 13a0f2e6ebc2..30578b139d16 100644 --- a/kernel/taskstats.c +++

Re: [PATCH v2 2/5] arm64: dts: qcom: sdm845: remove unnecessary properties for dsi nodes

2019-07-23 Thread Amit Kucheria
On Wed, Jul 24, 2019 at 10:20 AM Vinod Koul wrote: > > We get a warning about unnecessary properties of > > arch/arm64/boot/dts/qcom/sdm845.dtsi:2211.22-2257.6: Warning > (avoid_unnecessary_addr_size): /soc/mdss@ae0/dsi@ae94000: unnecessary > #address-cells/#size-cells without "ranges" or

Re: [PATCH v2 1/5] arm64: dts: qcom: sdm845: Add unit name to soc node

2019-07-23 Thread Amit Kucheria
On Wed, Jul 24, 2019 at 10:20 AM Vinod Koul wrote: > > We get a warning about missing unit name for soc node, so add it. > > arch/arm64/boot/dts/qcom/sdm845.dtsi:623.11-2814.4: Warning > (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit > name > > Signed-off-by: Vinod

linux-next: Tree for Jul 24

2019-07-23 Thread Stephen Rothwell
Hi all, Changes since 20190723: The v4l-dvb tree lost its build failure. The keys tree gained a conflict against the afs tree. The devicetree tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 1806 1963 files changed, 153894 insertions(+), 30986

[PATCH] media: uvcvideo: Fix a typo in UVC_METATADA_BUF_SIZE

2019-07-23 Thread Christophe JAILLET
It is likely that it should be UVC_METADATA_BUF_SIZE instead. Fix it and use it. Signed-off-by: Christophe JAILLET --- drivers/media/usb/uvc/uvc_metadata.c | 4 ++-- drivers/media/usb/uvc/uvc_queue.c| 2 +- drivers/media/usb/uvc/uvcvideo.h | 2 +- 3 files changed, 4 insertions(+), 4

Re: [PATCH 3/4] locking/lockdep: Reduce space occupied by stack traces

2019-07-23 Thread Eric Biggers
On Mon, Jul 22, 2019 at 11:24:42AM -0700, Bart Van Assche wrote: > Although commit 669de8bda87b ("kernel/workqueue: Use dynamic lockdep keys > for workqueues") unregisters dynamic lockdep keys when a workqueue is > destroyed, a side effect of that commit is that all stack traces > associated with

[PATCH v2 3/5] arm64: dts: qcom: sdm845: remove unit name for thermal trip points

2019-07-23 Thread Vinod Koul
The thermal trip points have unit name but no reg property, so we can remove them arch/arm64/boot/dts/qcom/sdm845.dtsi:2824.31-2828.7: Warning (unit_address_vs_reg): /thermal-zones/cpu0-thermal/trips/trip-point@0: node has a unit name, but no reg property

[PATCH v2 5/5] arm64: dts: qcom: sdm845-cheza: remove macro from unit name

2019-07-23 Thread Vinod Koul
Unit address is supposed to be a number, using a macro with hex value is not recommended, so add the value in unit name. arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi:966.16-969.4: Warning (unit_address_format): /soc@0/spmi@c44/pmic@0/adc@3100/adc-chan@0x4d: unit name should not have leading

[PATCH v2 4/5] arm64: dts: qcom: sdm845: remove macro from unit name

2019-07-23 Thread Vinod Koul
Unit name is supposed to be a number, using a macro with hex value is not recommended, so add the value in unit name. arch/arm64/boot/dts/qcom/pm8998.dtsi:81.18-84.6: Warning (unit_address_format): /soc/spmi@c44/pmic@0/adc@3100/adc-chan@0x06: unit name should not have leading "0x"

[PATCH v2 0/5] arm64: dts: qcom: sdm845: Fix DTS warnings

2019-07-23 Thread Vinod Koul
So this is an attempt to fix some warns on sdm845 dts. We still have bunch of warnings to fix after this series (duplicate address and node names having underscores etc). Lets get long hanging ones fixed, we can see the warns with W=1 or W=2 Changes since v1: - Fix space after adc node

[PATCH v2 2/5] arm64: dts: qcom: sdm845: remove unnecessary properties for dsi nodes

2019-07-23 Thread Vinod Koul
We get a warning about unnecessary properties of arch/arm64/boot/dts/qcom/sdm845.dtsi:2211.22-2257.6: Warning (avoid_unnecessary_addr_size): /soc/mdss@ae0/dsi@ae94000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

[PATCH v2 1/5] arm64: dts: qcom: sdm845: Add unit name to soc node

2019-07-23 Thread Vinod Koul
We get a warning about missing unit name for soc node, so add it. arch/arm64/boot/dts/qcom/sdm845.dtsi:623.11-2814.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name Signed-off-by: Vinod Koul Reviewed-by: Stephen Boyd ---

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

2019-07-23 Thread Kai-Heng Feng
Hi Stephen, at 07:54, Stephen Rothwell wrote: 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

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 Eric W. Biederman
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 since "cifsd" thread is still active) > > mount launches a thread to read

Re: WARNING in enqueue_task_dl

2019-07-23 Thread Eric Biggers
On Thu, Feb 07, 2019 at 10:35:04AM +0100, 'Dmitry Vyukov' via syzkaller-bugs wrote: > On Mon, Jan 7, 2019 at 5:19 PM Daniel Bristot de Oliveira > wrote: > > > > On 11/19/18 4:32 PM, Juri Lelli wrote: > > > From 9326fd2b20269cffef7290bdc5b8173460d3c870 Mon Sep 17 00:00:00 2001 > > > From: Juri

[PATCH] net: fix semicolon.cocci warnings

2019-07-23 Thread kbuild test robot
From: kbuild test robot drivers/target/iscsi/cxgbit/cxgbit_target.c:1451:47-48: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: d7840976e391 ("net: Use skb accessors in network drivers") CC: Matthew Wilcox (Oracle) Signed-off-by:

Re: [PATCH v6 0/5] soc: qcom: Add SoC info driver

2019-07-23 Thread Vinod Koul
On 24-07-19, 04:05, Vaishali Thakkar wrote: > This patchset adds SoC info driver which can provide information > such as Chip ID, Chip family and serial number about Qualcomm SoCs > to user space via sysfs. Furthermore, it allows userspace to get > information about custom attributes and various

Re: [PATCH v6 5/5] soc: qcom: socinfo: Expose image information

2019-07-23 Thread Vinod Koul
On 24-07-19, 04:05, Vaishali Thakkar wrote: > The socinfo driver provides information about version of the various > images loaded in the system. Expose this to user space for debugging > purpose. Reviewed-by: Vinod Koul -- ~Vinod

Re: [PATCH v6 4/5] soc: qcom: socinfo: Expose custom attributes

2019-07-23 Thread Vinod Koul
On 24-07-19, 04:05, Vaishali Thakkar wrote: > The Qualcomm socinfo provides a number of additional attributes, > add these to the socinfo driver and expose them via debugfs > functionality. Reviewed-by: Vinod Koul -- ~Vinod

[PATCH 01/12] mm/gup: add make_dirty arg to put_user_pages_dirty_lock()

2019-07-23 Thread john . hubbard
From: John Hubbard Provide more capable variation of put_user_pages_dirty_lock(), and delete put_user_pages_dirty(). This is based on the following: 1. Lots of call sites become simpler if a bool is passed into put_user_page*(), instead of making the call site choose which put_user_page*()

Re: [PATCH v6 3/5] soc: qcom: Add socinfo driver

2019-07-23 Thread Vinod Koul
On 24-07-19, 04:05, Vaishali Thakkar wrote: > From: Imran Khan > > The Qualcomm socinfo driver exposes information about the SoC, its > version and its serial number to user space. Reviewed-by: Vinod Koul -- ~Vinod

Re: [PATCH v6 1/5] base: soc: Add serial_number attribute to soc

2019-07-23 Thread Vinod Koul
On 24-07-19, 04:05, Vaishali Thakkar wrote: > From: Bjorn Andersson > > Add new attribute named "serial_number" as a standard interface for > user space to acquire the serial number of the device. > > For ST-Ericsson SoCs this is exposed by the cryptically named "soc_id" > attribute, but this

[PATCH] x86/entry/32: pass cr2 to do_async_page_fault

2019-07-23 Thread Matt Mullins
Commit a0d14b8909de ("x86/mm, tracing: Fix CR2 corruption") added the address parameter to do_async_page_fault, but does not pass it from the 32-bit entry point. To plumb it through, factor-out common_exception_read_cr2 in the same fashion as common_exception, and uses it from both page_fault and

[PATCH] x86/crash: remove unnecessary comparison

2019-07-23 Thread Nikolas Nyby
This ret comparison and return are unnecessary as of f296f2634920d205b93d878b48d87bb7e0a4c256 elf_header_exclude_ranges() returns ret in any case, with or without this comparison. Signed-off-by: Nikolas Nyby --- arch/x86/kernel/crash.c | 2 -- 1 file changed, 2 deletions(-) diff --git

Re: [PATCH 1/5] arm64: dts: qcom: sdm845: Add unit name to soc node

2019-07-23 Thread Vinod Koul
On 23-07-19, 07:50, Stephen Boyd wrote: > Quoting Vinod Koul (2019-07-22 05:34:18) > > We get a warning about missing unit name for soc node, so add it. > > > > arch/arm64/boot/dts/qcom/sdm845.dtsi:623.11-2814.4: Warning > > (unit_address_vs_reg): /soc: node has a reg or ranges property, but no

Re: [PATCH] mbcache: Speed up cache entry creation

2019-07-23 Thread Sultan Alsawaf
On Tue, Jul 23, 2019 at 10:56:05AM -0600, Andreas Dilger wrote: > Do you have any kind of performance metrics that show this is an actual > improvement in performance? This would be either macro-level benchmarks > (e.g. fio, but this seems unlikely to show any benefit), or micro-level >

Re: [PATCH v2] RDMA/hns: Fix build error for hip06

2019-07-23 Thread Yuehaibing
Pls ignore this, I will fix it. On 2019/7/24 11:44, YueHaibing wrote: > If INFINIBAND_HNS_HIP06 is selected and HNS_DSAF > is m, but INFINIBAND_HNS is y, building fails: > > drivers/infiniband/hw/hns/hns_roce_hw_v1.o: In function `hns_roce_v1_reset': > hns_roce_hw_v1.c:(.text+0x39fa):

[PATCH resend v2] lib: scatterlist: Fix to support no mapped sg

2019-07-23 Thread Zhou Wang
In function sg_split, the second sg_calculate_split will return -EINVAL when in_mapped_nents is 0. Indeed there is no need to do second sg_calculate_split and sg_split_mapped when in_mapped_nents is 0, as in_mapped_nents indicates no mapped entry in original sgl. Signed-off-by: Zhou Wang

Reminder: 3 open syzbot bugs in isdn 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 isdn subsystem.

[PATCH] net: dsa: Check existence of .port_mdb_add callback before calling it

2019-07-23 Thread Chen-Yu Tsai
From: Chen-Yu Tsai With the recent addition of commit 75dad2520fc3 ("net: dsa: b53: Disable all ports on setup"), users of b53 (BCM53125 on Lamobo R1 in my case) are forced to use the dsa subsystem to enable the switch, instead of having it in the default transparent "forward-to-all" mode. The

[PATCH v2] RDMA/hns: Fix build error for hip06

2019-07-23 Thread YueHaibing
If INFINIBAND_HNS_HIP06 is selected and HNS_DSAF is m, but INFINIBAND_HNS is y, building fails: drivers/infiniband/hw/hns/hns_roce_hw_v1.o: In function `hns_roce_v1_reset': hns_roce_hw_v1.c:(.text+0x39fa): undefined reference to `hns_dsaf_roce_reset' hns_roce_hw_v1.c:(.text+0x3a25): undefined

[PATCH v2] RDMA/hns: Fix build error for hip08

2019-07-23 Thread YueHaibing
If INFINIBAND_HNS_HIP08 is selected and HNS3 is m, but INFINIBAND_HNS is y, building fails: drivers/infiniband/hw/hns/hns_roce_hw_v2.o: In function `hns_roce_hw_v2_exit': hns_roce_hw_v2.c:(.exit.text+0xd): undefined reference to `hnae3_unregister_client'

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 Eric W. Biederman
Steve French writes: > 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

From: Mr.Ahmed Muzashah,

2019-07-23 Thread Mr.Ahmed Muzashah
Good Day, I am Mr.Ahmed Muzashah, account Manager with an investment bank here in Burkina Faso. There is a draft account opened in my firm by a long-time client of our bank.I have the opportunity of transferring the left over fund (15.8 Million UsDollars)Fiftheen Million Eight Hundred Thousand

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
Patch attached - tests out ok. On Tue, Jul 23, 2019 at 9:28 PM Steve French wrote: > > 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

[PATCH net-next 10/11] net: hns3: Add support for using order 1 pages with a 4K buffer

2019-07-23 Thread Huazhong Tan
From: Yunsheng Lin Hardware supports 0.5K, 1K, 2K, 4K RX buffer size, the RX buffer can not be reused because the hns3_page_order return 0 when page size and RX buffer size are both 4096. So this patch changes the hns3_page_order to return 1 when RX buffer is greater than half of the page size

[PATCH net-next 11/11] net: hns3: add support for handling IMP error

2019-07-23 Thread Huazhong Tan
From: Weihang Li When IMP goes errors, the hardware reports a RAS to the driver, the driver record this kind of error. Then a IMP reset will happen, the driver checks the reason and takes the corresponding action when doing IMP reset. So this patch adds imp_err_state field to the struct

[PATCH net-next 04/11] net: hns3: fix mis-counting IRQ vector numbers issue

2019-07-23 Thread Huazhong Tan
From: Yonglong Liu The num_msi_left means the vector numbers of NIC, but if the PF supported RoCE, it contains the vector numbers of NIC and RoCE(Not expected). This may cause interrupts lost in some case, because of the NIC module used the vector resources which belongs to RoCE. This patch

[PATCH net-next 01/11] net: hns3: add reset checking before set channels

2019-07-23 Thread Huazhong Tan
From: Jian Shen hns3_set_channels() should check the resetting status firstly, since the device will reinitialize when resetting. If the reset has not completed, the hns3_set_channels() may access invalid memory. Signed-off-by: Jian Shen Signed-off-by: Huazhong Tan ---

[PATCH net-next 03/11] net: hns3: remove upgrade reset level when reset fail

2019-07-23 Thread Huazhong Tan
Currently, hclge_reset_err_handle() will assert a global reset when the failing count is smaller than MAX_RESET_FAIL_CNT, which will affect other running functions. So this patch removes this upgrading, and uses re-scheduling reset task to do it. Signed-off-by: Huazhong Tan Reviewed-by:

[PATCH net-next 07/11] net: hns3: adds debug messages to identify eth down cause

2019-07-23 Thread Huazhong Tan
From: Yonglong Liu Some times just see the eth interface have been down/up via dmesg, but can not know why the eth down. So adds some debug messages to identify the cause for this. Signed-off-by: Yonglong Liu Signed-off-by: Peng Li Signed-off-by: Huazhong Tan ---

[PATCH net-next 09/11] net: hns3: make hclge_service use delayed workqueue

2019-07-23 Thread Huazhong Tan
From: Yunsheng Lin Use delayed work instead of using timers to trigger the hclge_serive. Simplify the code with one less middle function and in order to support misc irq affinity. Signed-off-by: Yunsheng Lin Reviewed-by: Peng Li Signed-off-by: Huazhong Tan ---

[PATCH net-next 02/11] net: hns3: add a check for get_reset_level

2019-07-23 Thread Huazhong Tan
From: Guangbin Huang For some cases, ops->get_reset_level may not be implemented, so we should check whether it is NULL before calling get_reset_level. Signed-off-by: Guangbin Huang Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 2 +- 1 file changed, 1

[PATCH net-next 05/11] net: hns3: change GFP flag during lock period

2019-07-23 Thread Huazhong Tan
From: Yufeng Mo When allocating memory, the GFP_KERNEL cannot be used during the spin_lock period. This is because it may cause scheduling when holding spin_lock. This patch changes GFP flag to GFP_ATOMIC in this case. Fixes: dd74f815dd41 ("net: hns3: Add support for rule add/delete for flow

[PATCH net-next 00/11] net: hns3: some code optimizations & bugfixes & features

2019-07-23 Thread Huazhong Tan
This patch-set includes code optimizations, bugfixes and features for the HNS3 ethernet controller driver. [patch 1/11] checks reset status before setting channel. [patch 2/11] adds a NULL pointer checking. [patch 3/11] removes reset level upgrading when current reset fails. [patch 4/11] fixes

[PATCH net-next 08/11] net: hns3: add interrupt affinity support for misc interrupt

2019-07-23 Thread Huazhong Tan
From: Yunsheng Lin The misc interrupt is used to schedule the reset and mailbox subtask, and a 1 sec timer is used to schedule the service subtask, which does periodic work. This patch sets the above three subtask's affinity using the misc interrupt' affinity. Also this patch setups a affinity

[PATCH net-next 06/11] net: hns3: modify firmware version display format

2019-07-23 Thread Huazhong Tan
From: Yufeng Mo This patch modifies firmware version display format in hclge(vf)_cmd_init() and hns3_get_drvinfo(). Also, adds some optimizations for firmware version display format. Signed-off-by: Yufeng Mo Signed-off-by: Peng Li Signed-off-by: Huazhong Tan ---

Re: [PATCH] mt76: switch to SPDX tag instead of verbose boilerplate text

2019-07-23 Thread Ryder Lee
On Wed, 2019-07-24 at 11:03 +0800, Roy Luo wrote: > Hi Ryder, > > Please follow the convention, some of your header files use //. > > C source: // SPDX-License-Identifier: > C header: /* SPDX-License-Identifier: */ > > Regards, > Cheng-Hao (Roy) Luo I also found that - copy paste mistake.

[PATCH] clk: imx7ulp: Make sure earlycon's clock is enabled

2019-07-23 Thread Anson . Huang
From: Anson Huang Earlycon's clock could be disabled during kernel boot up, if earlycon is enabled and its clock is gated, then kernel boot up will fail. Make sure earlycon's clock is enabled during kernel boot up. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx7ulp.c | 31

Re: Reminder: 3 open syzbot bugs in vhost subsystem

2019-07-23 Thread Eric Biggers
On Wed, Jul 24, 2019 at 11:05:14AM +0800, Jason Wang wrote: > > > > Title: KASAN: use-after-free Write in tlb_finish_mmu > > Last occurred: 5 days ago > > Reported: 4 days ago > > Branches:

Re: [PATCH] RDMA/hns: Fix build error for hip08

2019-07-23 Thread Yuehaibing
On 2019/7/23 21:37, Jason Gunthorpe wrote: > On Tue, Jul 23, 2019 at 04:35:40PM +0300, Leon Romanovsky wrote: >> On Tue, Jul 23, 2019 at 09:34:02AM -0300, Jason Gunthorpe wrote: >>> On Tue, Jul 23, 2019 at 10:43:39AM +0300, Leon Romanovsky wrote: On Tue, Jul 23, 2019 at 10:49:08AM +0800,

Re: [PATCH] kexec: Bail out upon SIGKILL when allocating memory.

2019-07-23 Thread Tetsuo Handa
On 2019/07/24 11:54, Eric Biggers wrote: > > What happened to this patch? This bug is still occurring. Andrew Morton added this patch to the -mm tree. Should appear in the linux-next tree in a few days. https://marc.info/?l=linux-mm-commits=156391134729795=2

RE: [PATCH v3 2/2] mailbox: introduce ARM SMC based mailbox

2019-07-23 Thread Peng Fan
Hi All, > Subject: [PATCH v3 2/2] mailbox: introduce ARM SMC based mailbox Any comments with this patch? > > From: Peng Fan > > This mailbox driver implements a mailbox which signals transmitted data via > an ARM smc (secure monitor call) instruction. The mailbox receiver is > implemented in

Re: Re: Reminder: 3 open syzbot bugs in vhost subsystem

2019-07-23 Thread syzbot
On 2019/7/24 上午10:38, Eric Biggers wrote: [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

Re: Reminder: 3 open syzbot bugs in vhost subsystem

2019-07-23 Thread Jason Wang
On 2019/7/24 上午10:38, Eric Biggers wrote: [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

Re: [PATCH] mt76: switch to SPDX tag instead of verbose boilerplate text

2019-07-23 Thread Roy Luo
Hi Ryder, Please follow the convention, some of your header files use //. C source: // SPDX-License-Identifier: C header: /* SPDX-License-Identifier: */ Regards, Cheng-Hao (Roy) Luo On Tue, Jul 23, 2019 at 2:45 PM Ryder Lee wrote: > > Add SPDX identifiers to all remaining files in mt76/ > >

[PATCH] ata: libata-core: Fix possible null-pointer dereferences in ata_host_alloc_pinfo()

2019-07-23 Thread Jia-Ju Bai
In ata_host_alloc_pinfo(), when ppi[j] is NULL (line 6184), pi is NULL. In this case, pi is used on lines 6187-6195: ap->pio_mask = pi->pio_mask; ap->mwdma_mask = pi->mwdma_mask; ... Thus, possible null-pointer dereferences may occur. To fix these possible bugs, when ppi[j] is NULL,

linux-next: manual merge of the devicetree tree with Linus' tree

2019-07-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the devicetree tree got a conflict in: Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt between commit: 355fb0e54e85 ("dt-bindings: input: sun4i-lradc-keys: Add A64 compatible") from Linus' tree and commit: 3f587b3b77b9 ("dt-bindings:

Reminder: 1 open syzbot bug in "android/ashmem" 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 1 of them as possibly being a bug in the

Reminder: 1 open syzbot bug in "kernel/cgroup" 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 1 of them as possibly being a bug in the

arch/xtensa/kernel/coprocessor.S:128: Error: literal pool location required for text-section-literals; specify with .literal_position

2019-07-23 Thread kbuild test robot
Hi Max, First bad commit (maybe != root cause): tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master head: ad5e427e0f6b702e52c11d1f7b2b7be3bac7de82 commit: d6d5f19e21d98c0607ff029e4e2e508d4cdd1d5a xtensa: abstract 'entry' and 'retw' in assembly code

Re: [PATCH] kexec: Bail out upon SIGKILL when allocating memory.

2019-07-23 Thread Eric Biggers
On Fri, Jun 14, 2019 at 07:16:18PM +0900, Tetsuo Handa wrote: > syzbot found that a thread can stall for minutes inside kexec_load() after > that thread was killed by SIGKILL [1]. It turned out that the reproducer > was trying to allocate 2408MB of memory using kimage_alloc_page() from >

Reminder: 1 open syzbot bug in "net/pfkey" 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 1 of them as possibly being a bug in the "net/pfkey"

Reminder: 1 open syzbot bug in "net/ppp" 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 1 of them as possibly being a bug in the "net/ppp"

Reminder: 1 open syzbot bug in "net/sunrpc" 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 1 of them as possibly being a bug in the "net/sunrpc"

Reminder: 1 open syzbot bug in "net/strparser" 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 1 of them as possibly being a bug in the

Reminder: 1 open syzbot bug in rtc 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 1 of them as possibly being a bug in the rtc subsystem.

Reminder: 1 open syzbot bug in "security/integrity" 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 1 of them as possibly being a bug in the

Reminder: 1 open syzbot bug in "security/smack" 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 1 of them as possibly being a bug in the

Reminder: 1 open syzbot bug in sound 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 1 of them as possibly being a bug in the sound

[PATCH] fs: jffs2: Fix possible null-pointer dereferences in jffs2_add_frag_to_fragtree()

2019-07-23 Thread Jia-Ju Bai
In jffs2_add_frag_to_fragtree(), there is an if statement on line 223 to check whether "this" is NULL: if (this) When "this" is NULL, it is used at several places, such as on line 249: if (this->node) and on line 260: if (newfrag->ofs > this->ofs) Thus possible null-pointer

Reminder: 2 open syzbot bugs in "net/l2tp" 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 2 of them as possibly being bugs in the "net/l2tp"

Reminder: 2 open syzbot bugs in "net/rxrpc" 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 2 of them as possibly being bugs in the "net/rxrpc"

Re: x86 - clang / objtool status

2019-07-23 Thread Josh Poimboeuf
On Thu, Jul 18, 2019 at 10:40:09PM +0200, Thomas Gleixner wrote: > drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o: warning: objtool: > .altinstr_replacement+0x86: redundant UACCESS disable Looking at this one, I think I agree with objtool. PeterZ, Linus, I know y'all discussed this code a

Reminder: 2 open syzbot bugs in "security/tomoyo" 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 2 of them as possibly being bugs in the

Reminder: 3 open syzbot bugs in hid 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 hid subsystem.

Reminder: 3 open syzbot bugs in "net/kcm" 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 "net/kcm"

Reminder: 3 open syzbot bugs in "net/llc" 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 "net/llc"

Reminder: 3 open syzbot bugs in "net/rose" 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 "net/rose"

  1   2   3   4   5   6   7   8   9   >