Re: [PATCH rfc] workqueue: honour cond_resched() more effectively.

2020-11-09 Thread Peter Zijlstra
On Mon, Nov 09, 2020 at 01:54:59PM +1100, NeilBrown wrote: > diff --git a/include/linux/sched.h b/include/linux/sched.h > index 4418f5cb8324..728870965df1 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -1784,7 +1784,12 @@ static inline int test_tsk_need_resched(struct > ta

Re: linux-next: build failure after merge of the drivers-memory tree

2020-11-09 Thread Krzysztof Kozlowski
On Mon, 9 Nov 2020 at 02:01, Dmitry Osipenko wrote: > > 09.11.2020 02:23, Stephen Rothwell пишет: > > Hi all, > > > > After merging the drivers-memory tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > In file included from drivers/devfreq/tegra20-devfreq.c:18: > >

Re: [PATCH v2] arm64: dts: imx: Fix imx8mm-kontron-n801x-s.dtb target

2020-11-09 Thread Frieder Schrempf
On 08.11.20 20:16, Nathan Chancellor wrote: While running 'make dtbs_install', the following error occurs: make[3]: *** No rule to make target 'rootfs/freescale/imx8mm-kontron-n801x-s.dts', needed by '__dtbs_install'. It should be .dtb, not .dts. Fixes: 8668d8b2e67f ("arm64: dts: Add the Kont

[PATCH net-next] net: stmmac: dwc-qos: Change the dwc_eth_dwmac_data's .probe prototype

2020-11-09 Thread Jisheng Zhang
The return pointer of dwc_eth_dwmac_data's .probe isn't used, and "probe" usually return int, so change the prototype to follow standard way. Secondly, it can simplify the tegra_eqos_probe() code. Signed-off-by: Jisheng Zhang --- .../stmicro/stmmac/dwmac-dwc-qos-eth.c| 46 ---

Re: [PATCH] s390/qeth: remove useless if/else

2020-11-09 Thread Julian Wiedmann
On 08.11.20 08:34, xiakaixu1...@gmail.com wrote: > From: Kaixu Xia > > Fix the following coccinelle report: > > ./drivers/s390/net/qeth_l3_main.c:107:2-4: WARNING: possible condition with > no effect (if == else) > > Both branches are the same, so remove them. > Indeed, missed that in commit

[PATCH] sparc32: Fix comparing pointer to 0 coccicheck warning

2020-11-09 Thread xiakaixu1987
From: Kaixu Xia Fixes coccicheck warning: /arch/sparc/mm/srmmu.c:354:42-43: WARNING comparing pointer to 0 Avoid pointer type value compared to 0. Reported-by: Tosk Robot Signed-off-by: Kaixu Xia --- arch/sparc/mm/srmmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a

[GIT PULL] AMDTEE driver fixes for v5.10

2020-11-09 Thread Jens Wiklander
Hello arm-soc maintainers, Please pull these AMDTEE driver fixes which are needed when opening multiple contexts or file descriptors. Note that this isn't a usual Arm driver update. This targets x86/AMD instead, but is still part of the TEE subsystem. Thanks, Jens The following changes since co

[PATCH net-next] net: stmmac: platform: use optional clk/reset get APIs

2020-11-09 Thread Jisheng Zhang
Use the devm_reset_control_get_optional() and devm_clk_get_optional() rather than open coding them. Signed-off-by: Jisheng Zhang --- .../ethernet/stmicro/stmmac/stmmac_platform.c | 21 +++ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/drivers/net/ethernet/stmicro

Re: [RFC PATCH net-next 3/3] net: dsa: listen for SWITCHDEV_{FDB,DEL}_ADD_TO_DEVICE on foreign bridge neighbors

2020-11-09 Thread Tobias Waldekranz
On Mon, Nov 09, 2020 at 02:30, Vladimir Oltean wrote: > On Mon, Nov 09, 2020 at 12:59:39AM +0100, Andrew Lunn wrote: >> We also need to make sure the static entries get removed correctly >> when a host moves. The mv88e6xxx will not replace a static entry with >> a dynamically learned one. It will

Re: [LKP] Re: [mm] e6e88712e4: stress-ng.tmpfs.ops_per_sec -69.7% regression

2020-11-09 Thread Xing Zhengjun
On 11/7/2020 4:55 AM, Matthew Wilcox wrote: On Mon, Nov 02, 2020 at 01:21:39PM +0800, Rong Chen wrote: we compared the tmpfs.ops_per_sec: (363 / 103.02) between this commit and parent commit. Thanks! I see about a 50% hit on my system, and this patch restores the performance. Can you veri

[PATCH] fs/nfs: remove duplicate include

2020-11-09 Thread menglong8 . dong
From: Menglong Dong 'nfs42.h' is already included above and can be removed here. Signed-off-by: Menglong Dong --- fs/nfs/nfs4proc.c | 4 1 file changed, 4 deletions(-) diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 9e0ca9b2b210..807fdaeed357 100644 --- a/fs/nfs/nfs4proc.c +++ b

arch/arm/kernel/swp_emulate.c:198:14: sparse: sparse: incorrect type in argument 1 (different base types)

2020-11-09 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f8394f232b1eab649ce2df5c5f15b0e528c92091 commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr() date: 2 months ago config: arm-randconfig-s031-20201105 (attach

Re: [PATCH] driver core: export device_is_bound() to fix build failure

2020-11-09 Thread Christoph Hellwig
On Fri, Nov 06, 2020 at 03:37:44PM +, Sudip Mukherjee wrote: > When CONFIG_MXC_CLK_SCU is configured as 'm' the build fails as it > is unable to find device_is_bound(). The error being: > ERROR: modpost: "device_is_bound" [drivers/clk/imx/clk-imx-scu.ko] > undefined! > > Export the symbo

Re: [PATCH v8 1/7] RISC-V: Move DT mapping outof fixmap

2020-11-09 Thread Anup Patel
On Mon, Nov 9, 2020 at 1:14 PM Greentime Hu wrote: > > Atish Patra 於 2020年9月18日 週五 上午6:37寫道: > > > > From: Anup Patel > > > > Currently, RISC-V reserves 1MB of fixmap memory for device tree. However, > > it maps only single PMD (2MB) space for fixmap which leaves only < 1MB space > > left for ot

Re: [PATCH v2 1/6] platform/chrome: cros_ec_typec: Make disc_done flag partner-only

2020-11-09 Thread Heikki Krogerus
On Fri, Nov 06, 2020 at 10:40:59AM -0800, Prashant Malani wrote: > Change the disc_done flag, which indicates whether PD discovery is > complete, to sop_disc_done instead, since we will process SOP and SOP' > discovery data separately. > > Signed-off-by: Prashant Malani Reviewed-by: Heikki Kroge

Re: [PATCH v2 2/6] platform/chrome: cros_ec_typec: Factor out PD identity parsing

2020-11-09 Thread Heikki Krogerus
On Fri, Nov 06, 2020 at 10:41:01AM -0800, Prashant Malani wrote: > Factor out the PD identity parsing code into a separate function. This > way it can be re-used for Cable PD identity parsing in future patches. > > No functional changes are introduced by this patch. > > Signed-off-by: Prashant Ma

Re: [PATCH v2 3/6] platform/chrome: cros_ec_typec: Rename discovery struct

2020-11-09 Thread Heikki Krogerus
On Fri, Nov 06, 2020 at 10:41:04AM -0800, Prashant Malani wrote: > Rename the sop_disc data struct which is used to store PD discovery data > to the more generic name of disc_data. It can then be re-used to store > and process cable discovery data. > > Signed-off-by: Prashant Malani Reviewed-by:

Re: [PATCH v2 4/6] platform/chrome: cros_ec_typec: Register cable

2020-11-09 Thread Heikki Krogerus
On Fri, Nov 06, 2020 at 10:41:06AM -0800, Prashant Malani wrote: > When the Chrome Embedded Controller notifies the driver that SOP' > discovery is complete, retrieve the PD discovery data and register a > cable object with the Type C connector class framework. > > Cc: Heikki Krogerus > Signed-of

Re: [PATCH v2 00/23] Rid W=1 warnings in MTD

2020-11-09 Thread Miquel Raynal
Hi Lee, Lee Jones wrote on Fri, 6 Nov 2020 21:36:32 +: > This set is part of a larger effort attempting to clean-up W=1 > kernel builds, which are currently overwhelmingly riddled with > niggly little warnings. > > v1 => v2: > - Added tags > - Satisfied Miquel's review comments > You

Re: [PATCH v2 5/6] usb: pd: Add captive Type C cable type

2020-11-09 Thread Heikki Krogerus
On Fri, Nov 06, 2020 at 10:41:08AM -0800, Prashant Malani wrote: > The USB Power Delivery Specification R3.0 adds a captive cable type > to the "USB Type-C plug to USB Type-C/Captive" field (Bits 19-18, > Passive/Active Cable VDO, Table 6-38 & 6-39). > > Add the corresponding definition to the Cab

Re: [PATCH 2/4] x86/bus_lock: Handle warn and fatal in #DB for bus lock

2020-11-09 Thread Peter Zijlstra
On Sun, Nov 08, 2020 at 04:29:16AM +, Fenghua Yu wrote: > split_lock_detect= > #AC for split lock #DB for bus lock > > off Do nothing Do nothing > > warn Kernel OOPs Warn once per task and > W

Re: [PATCH v2 6/6] platform/chrome: cros_ec_typec: Store cable plug type

2020-11-09 Thread Heikki Krogerus
On Fri, Nov 06, 2020 at 10:41:10AM -0800, Prashant Malani wrote: > Use the PD VDO Type C cable plug type macro to retrieve and store the > cable plug type in the cable descriptor. > > Cc: Heikki Krogerus > Cc: Greg Kroah-Hartman > Signed-off-by: Prashant Malani Reviewed-by: Heikki Krogerus >

Re: [PATCH] locking/lock_events: no need to check return value of debugfs_create functions

2020-11-09 Thread Peter Zijlstra
On Sat, Nov 07, 2020 at 05:19:13PM +0800, Tiezhu Yang wrote: > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. I strongly disagree and have told this to Greg be

RE: [PATCH] ASoC: Intel: Skylake: Add alternative topology binary name

2020-11-09 Thread Rojewski, Cezary
On 2020-11-08 6:00 PM, Greg KH wrote: > On Sun, Nov 08, 2020 at 04:17:16PM +, Rojewski, Cezary wrote: >> On 2020-11-04 12:58 PM, Greg KH wrote: >>> On Wed, Nov 04, 2020 at 12:46:36PM +0100, Gorski, Mateusz wrote: >> [ Upstream commit 1b290ef023b3eeb4f4688b582fecb773915ef937 ] >> >>

Re: [PATCH v5 0/4] DCMI BT656 parallel bus mode support

2020-11-09 Thread Alexandre Torgue
Hi Sakari On 11/6/20 12:53 PM, Sakari Ailus wrote: Hi Alexandre, On Thu, Nov 05, 2020 at 10:26:37AM +0100, Alexandre Torgue wrote: Hi Huges On 11/4/20 6:32 PM, Hugues Fruchet wrote: Add support of BT656 embedded synchronization bus. This mode allows to save hardware synchro lines hsync & vsy

Re: [PATCH 6/9] phy: cadence: sierra: Don't configure if any plls are already locked

2020-11-09 Thread Philipp Zabel
On Tue, 2020-11-03 at 09:25 +0530, Kishon Vijay Abraham I wrote: > From: Faiz Abbas > > Serdes lanes might be shared between multiple cores in some usecases > and its not possible to lock PLLs for both the lanes independently > by the two cores. This requires a bootloader to configure both the >

[PATCH] drivers: amdgpu: amdgpu_display.c: Fix a spelling doens\'t to doesn\'t

2020-11-09 Thread Bhaskar Chowdhury
s/doens't/doesn't/p Signed-off-by: Bhaskar Chowdhury --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index 7cc7af2a6822..a92cb137293a 100

Re: [PATCH v3] applesmc: Re-work SMC comms

2020-11-09 Thread Andreas Kemnade
On Sun, 8 Nov 2020 11:14:29 +0100 Henrik Rydberg wrote: > On Sun, Nov 08, 2020 at 09:35:28AM +0100, Henrik Rydberg wrote: > > Hi Brad, > > > > On 2020-11-08 02:00, Brad Campbell wrote: > > > G'day Henrik, > > > > > > I noticed you'd also loosened up the requirement for SMC_STATUS_BUSY in > >

Re: possible lockdep regression introduced by 4d004099a668 ("lockdep: Fix lockdep recursion")

2020-11-09 Thread Boqun Feng
Hi Filipe, On Thu, Nov 05, 2020 at 09:10:12AM +0800, Boqun Feng wrote: > On Wed, Nov 04, 2020 at 07:54:40PM +, Filipe Manana wrote: > [...] > > > > Ok, so I ran 5.10-rc2 plus your two patches (the fix and the debug one): > > > > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-11-09 Thread Thomas Hellström
On Fri, 2020-11-06 at 08:55 -0400, Jason Gunthorpe wrote: > On Fri, Nov 06, 2020 at 11:27:59AM +0100, Daniel Vetter wrote: > > On Fri, Nov 6, 2020 at 11:01 AM Daniel Vetter > > wrote: > > > On Fri, Nov 6, 2020 at 5:08 AM John Hubbard > > > wrote: > > > > On 11/5/20 4:49 AM, Jason Gunthorpe wrote:

Re: [PATCH v5 8/8] rpmsg: Turn name service into a stand alone driver

2020-11-09 Thread Arnaud POULIQUEN
Hi Guennadi, Mathieu, On 11/6/20 6:53 PM, Mathieu Poirier wrote: > On Fri, Nov 06, 2020 at 03:00:28PM +0100, Guennadi Liakhovetski wrote: >> On Fri, Nov 06, 2020 at 02:15:45PM +0100, Guennadi Liakhovetski wrote: >>> Hi Mathieu, Arnaud, >>> >>> On Thu, Nov 05, 2020 at 03:50:28PM -0700, Mathieu Poir

Re: [PATCH v8 17/18] scsi: megaraid_sas: Added support for shared host tagset for cpuhotplug

2020-11-09 Thread John Garry
On 07/11/2020 00:17, Qian Cai wrote: On Sat, 2020-11-07 at 00:55 +0530, Sumit Saxena wrote: I am able to hit the boot hang and similar kind of stack traces as reported by Qian with shared .config on x86 machine. In my case the system boots after a hang of 40-45 mins. Qian, is it true for you as

Re: [PATCH] ARM: dts: stm32: fix DCMI DMA features on stm32mp15 family

2020-11-09 Thread Alexandre Torgue
Hi Hugues On 10/8/20 11:09 AM, Hugues Fruchet wrote: Enable FIFO mode with half-full threshold. Signed-off-by: Hugues Fruchet --- arch/arm/boot/dts/stm32mp151.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm3

[PATCH v6 0/3] dmaengine: Add support for QCOM GSI dma controller

2020-11-09 Thread Vinod Koul
This series adds support for Qcom GSI dma controller found on Qualcomm SoCs. This controller can program the peripheral configuration so we add additional parameters in dma_slave_config for configuring the peripherals like spi and i2c. Changes in v6: - Fix error reported by dt tool Changes in v5

[PATCH v6 1/3] dt-bindings: dmaengine: Document qcom,gpi dma binding

2020-11-09 Thread Vinod Koul
Add devicetree binding documentation for GPI DMA controller implemented on Qualcomm SoCs Reviewed-by: Rob Herring Signed-off-by: Vinod Koul --- .../devicetree/bindings/dma/qcom,gpi.yaml | 88 +++ include/dt-bindings/dma/qcom-gpi.h| 11 +++ 2 files changed, 99 ins

[PATCH v6 3/3] dmaengine: qcom: Add GPI dma driver

2020-11-09 Thread Vinod Koul
This controller provides DMAengine capabilities for a variety of peripheral buses such as I2C, UART, and SPI. By using GPI dmaengine driver, bus drivers can use a standardize interface that is protocol independent to transfer data between memory and peripheral. Signed-off-by: Vinod Koul --- driv

[PATCH] dt-bindings: regulator: da9121: Use additionalProperties

2020-11-09 Thread Vincent Whitchurch
There's no $ref at the top level so use additionalProperties instead of unevaluatedProperties. This fixes the following warning with the latest dtschema: Documentation/devicetree/bindings/regulator/dlg,da9121.yaml: 'additionalProperties' is a required property Reported-by: Rob Herring Signed-

[PATCH v6 2/3] dmaengine: add peripheral configuration

2020-11-09 Thread Vinod Koul
Some complex dmaengine controllers have capability to program the peripheral device, so pass on the peripheral configuration as part of dma_slave_config Signed-off-by: Vinod Koul --- include/linux/dmaengine.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/dmaengine.h b/in

[PATCH 5/8] arm64: dts: agilex: Use generic "ngpios" rather than "snps,nr-gpios"

2020-11-09 Thread Jisheng Zhang
This is to remove similar errors as below: OF: /.../gpio-port@0: could not find phandle Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support") explained the reason of above errors well and added the generic "ngpios" property, let's use it. Signed-off-by: Jisheng Zhang --- arch/arm

[PATCH 8/8] ARM: dts: socfgpa: Use generic "ngpios" rather than "snps,nr-gpios"

2020-11-09 Thread Jisheng Zhang
This is to remove similar errors as below: OF: /.../gpio-port@0: could not find phandle Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support") explained the reason of above errors well and added the generic "ngpios" property, let's use it. Signed-off-by: Jisheng Zhang --- arch/arm

[PATCH 0/8] arm/arm64: dts: Use generic "ngpios" rather than "snps,nr-gpios"

2020-11-09 Thread Jisheng Zhang
To remove similar errors as below for all snps dw gpio users: OF: /...gpio-port@0: could not find phandle Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support") explained the reason of above errors well and added the generic "ngpios" property, let's use it. Jisheng Zhang (8):

[PATCH 3/8] arm64: dts: bitmain: Use generic "ngpios" rather than "snps,nr-gpios"

2020-11-09 Thread Jisheng Zhang
This is to remove similar errors as below: OF: /.../gpio-port@0: could not find phandle Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support") explained the reason of above errors well and added the generic "ngpios" property, let's use it. Signed-off-by: Jisheng Zhang --- arch/arm

[PATCH 4/8] arm64: dts: hisilicon: Use generic "ngpios" rather than "snps,nr-gpios"

2020-11-09 Thread Jisheng Zhang
This is to remove similar errors as below: OF: /.../gpio-port@0: could not find phandle Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support") explained the reason of above errors well and added the generic "ngpios" property, let's use it. Signed-off-by: Jisheng Zhang --- arch/arm

[PATCH 2/8] arm64: dts: apm: Use generic "ngpios" rather than "snps,nr-gpios"

2020-11-09 Thread Jisheng Zhang
This is to remove similar errors as below: OF: /.../gpio-port@0: could not find phandle Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support") explained the reason of above errors well and added the generic "ngpios" property, let's use it. Signed-off-by: Jisheng Zhang --- arch/arm

[PATCH 6/8] arm64: dts: synaptics: Use generic "ngpios" rather than "snps,nr-gpios"

2020-11-09 Thread Jisheng Zhang
This is to remove similar errors as below: OF: /.../gpio-port@0: could not find phandle Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support") explained the reason of above errors well and added the generic "ngpios" property, let's use it. Signed-off-by: Jisheng Zhang --- arch/arm

[PATCH 7/8] ARM: dts: berlin: Use generic "ngpios" rather than "snps,nr-gpios"

2020-11-09 Thread Jisheng Zhang
This is to remove similar errors as below: OF: /.../gpio-port@0: could not find phandle Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support") explained the reason of above errors well and added the generic "ngpios" property, let's use it. Signed-off-by: Jisheng Zhang --- arch/arm

[PATCH 1/8] arm64: dts: socfpga: Use generic "ngpios" rather than "snps,nr-gpios"

2020-11-09 Thread Jisheng Zhang
This is to remove similar errors as below: OF: /.../gpio-port@0: could not find phandle Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support") explained the reason of above errors well and added the generic "ngpios" property, let's use it. Signed-off-by: Jisheng Zhang --- arch/arm

[PATCH] scsi: qedi: fix missing destroy_workqueue() on error in __qedi_probe

2020-11-09 Thread Qinglang Miao
Add the missing destroy_workqueue() before return from __qedi_probe in the error handling case when fails to create workqueue qedi->offload_thread. Fixes: ace7f46ba5fd ("scsi: qedi: Add QLogic FastLinQ offload iSCSI driver framework.") Signed-off-by: Qinglang Miao --- drivers/scsi/qedi/qedi_mai

[PATCH] firmware: arm_scmi: fix missing destroy_workqueue() on error in scmi_notification_init

2020-11-09 Thread Qinglang Miao
Add the missing destroy_workqueue() before return from scmi_notification_init in the error handling case when fails to do devm_kcalloc(). Fixes: bd31b249692e ("firmware: arm_scmi: Add notification dispatch and delivery") Signed-off-by: Qinglang Miao --- drivers/firmware/arm_scmi/notify.c | 4 ++

[PATCH] scsi: ufshcd: fix missing destroy_workqueue() on error in ufshcd_init

2020-11-09 Thread Qinglang Miao
Add the missing destroy_workqueue() before return from ufshcd_init in the error handling case. It seems that exit_gating is an appropriate place. Fixes: 4db7a2360597 ("scsi: ufs: Fix concurrency of error handler and other error recovery paths") Signed-off-by: Qinglang Miao --- drivers/scsi/ufs/

Re: WARNING: can't access registers at asm_common_interrupt

2020-11-09 Thread Shinichiro Kawasaki
On Nov 06, 2020 / 12:06, Josh Poimboeuf wrote: > On Fri, Nov 06, 2020 at 06:04:15AM +, Shinichiro Kawasaki wrote: > > Greetings, > > > > I observe "WARNING: can't access registers at > > asm_common_interrupt+0x1e/0x40" > > in my kernel test system repeatedly, which is printed by > > unwind_n

Re: [RFC PATCH 01/15] PCI/P2PDMA: Don't sleep in upstream_bridge_distance_warn()

2020-11-09 Thread Christoph Hellwig
On Fri, Nov 06, 2020 at 10:00:22AM -0700, Logan Gunthorpe wrote: > In order to call this function from a dma_map function, it must not sleep. > The only reason it does sleep so to allocate the seqbuf to print > which devices are within the ACS path. > > Switch the kmalloc call to use GFP_NOWAIT an

Re: [RFC PATCH 04/15] lib/scatterlist: Add flag for indicating P2PDMA segments in an SGL

2020-11-09 Thread Christoph Hellwig
On Fri, Nov 06, 2020 at 10:00:25AM -0700, Logan Gunthorpe wrote: > We make use of the top bit of the dma_length to indicate a P2PDMA > segment. I don't think "we" can. There is nothing limiting the size of a SGL segment.

Re: [PATCH] iommu/vt-d: avoid unnecessory panic if iommu init fail in tboot

2020-11-09 Thread Zhenzhong Duan
Hi Baolu, On Mon, Nov 9, 2020 at 11:15 AM Lu Baolu wrote: > > Hi Zhenzhong, > > On 11/9/20 10:27 AM, Zhenzhong Duan wrote: > > +intel iommu maintainers, > > > > Can anyone help review this patch? Thanks > > > > Zhenzhong > > > > On Wed, Nov 4, 2020 at 4:15 PM Zhenzhong Duan > > wrote: > >> > >>

Re: [PATCH v3 3/6] mm: support THP migration to device private memory

2020-11-09 Thread Christoph Hellwig
On Fri, Nov 06, 2020 at 01:26:50PM -0800, Ralph Campbell wrote: > > On 11/6/20 12:03 AM, Christoph Hellwig wrote: >> I hate the extra pin count magic here. IMHO we really need to finish >> off the series to get rid of the extra references on the ZONE_DEVICE >> pages first. > > First, thanks for th

Re: linux-next: Signed-off-by missing for commit in the nfsd tree

2020-11-09 Thread Dan Carpenter
On Sun, Nov 08, 2020 at 04:29:36PM -0500, J. Bruce Fields wrote: > On Mon, Nov 09, 2020 at 08:20:32AM +1100, Stephen Rothwell wrote: > > Hi all, > > > > Commit > > > > bfb5aa1685d5 ("net/sunrpc: fix useless comparison in proc_do_xprt()") > > > > is missing a Signed-off-by from its author. > >

Re: [PATCH 15/20] input: touchscreen: cyttsp4_core: Move 'cyttsp4_tch_abs_string' to the only file that references it

2020-11-09 Thread Lee Jones
On Sun, 08 Nov 2020, Dmitry Torokhov wrote: > On Wed, Nov 04, 2020 at 04:24:22PM +, Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > > > In file included from drivers/input/touchscreen/cyttsp_i2c_common.c:24: > > drivers/input/touchscreen/cyttsp4_core.h:236:27: warni

Re: [PATCH 6/7] drm/panfrost: dev_pm_opp_put_*() accepts NULL argument

2020-11-09 Thread Steven Price
On 06/11/2020 07:03, Viresh Kumar wrote: The dev_pm_opp_put_*() APIs now accepts a NULL opp_table pointer and so there is no need for us to carry the extra check. Drop them. Signed-off-by: Viresh Kumar Reviewed-by: Steven Price --- drivers/gpu/drm/panfrost/panfrost_devfreq.c | 6 ++

[PATCH] MAINTAINERS: rectify file patterns for NETFILTER

2020-11-09 Thread Lukas Bulwahn
they are not matched, though, because this pattern only matches files, but not directories. Rectify the patterns to match the intended directories. Signed-off-by: Lukas Bulwahn --- applies cleanly on v5.10-rc3 and next-20201109 Pablo, Jozsef, Florian, please pick this minor non-urgent clean-up

[PATCH] net: Update window_clamp if SOCK_RCVBUF is set

2020-11-09 Thread Mao Wenan
When net.ipv4.tcp_syncookies=1 and syn flood is happened, cookie_v4_check tries to redo what tcp_v4_send_synack did, rsk_window_clamp will be changed if SOCK_RCVBUF is set by user, which will make rcv_wscale is different, the client still operates with initial window scale and can overshot granted

Re: [PATCH 0/5] Add a dirty logging performance test

2020-11-09 Thread Andrew Jones
On Fri, Nov 06, 2020 at 01:48:29PM +0100, Paolo Bonzini wrote: > On 28/10/20 00:37, Ben Gardon wrote: > > Currently KVM lacks a simple, userspace agnostic, performance benchmark for > > dirty logging. Such a benchmark will be beneficial for ensuring that dirty > > logging performance does not regre

Re: [PATCH] usb/mos7720: process deferred urbs in a workqueue

2020-11-09 Thread Oliver Neukum
Am Donnerstag, den 05.11.2020, 22:17 -0800 schrieb Davidlohr Bueso: > @@ -1888,16 +1732,8 @@ static void mos7720_release(struct usb_serial *serial) > usb_set_serial_data(serial, NULL); > mos_parport->serial = NULL; > > - /* if tasklet currently schedul

Re: [PATCH RT 2/6] tcp: Remove superfluous BH-disable around listening_hash

2020-11-09 Thread Sebastian Andrzej Siewior
On 2020-11-06 21:06:38 [-0500], Steven Rostedt wrote: > 5.4.74-rt42-rc1 stable review patch. > If anyone has any objections, please let me know. Please drop that one. Lockep complains on RT with newer softirq code. Older RT and mainline does not complain here unless it observes inet_listen_hashbuc

Re: [PATCH] staging: media: imx: drop dependency on ipuv3

2020-11-09 Thread Philipp Zabel
Hi Martin, On Mon, 2020-11-09 at 10:13 +0100, Martin Kepplinger wrote: > As described in NXPs' linux tree, the imx8m SoC includes the same > CSI bridge hardware that is part of imx7d. We should be able to > use the "fsl,imx7-csi" driver for imx8m directly. > > Since ipuv3 is not relevant for imx8

Re: [PATCH] PM / devfreq: passive: Update frequency when start governor

2020-11-09 Thread Marek Szyprowski
er frequency according to the frequency of parent device. > > So, when start the passive governor, update the frequency > according to the frequency of parent device. > > Signed-off-by: Chanwoo Choi This patch landed in linux next-20201109 as commit 9b38a4f6b664 ("PM / devfreq: pass

[PATCH] staging: media: imx: drop dependency on ipuv3

2020-11-09 Thread Martin Kepplinger
As described in NXPs' linux tree, the imx8m SoC includes the same CSI bridge hardware that is part of imx7d. We should be able to use the "fsl,imx7-csi" driver for imx8m directly. Since ipuv3 is not relevant for imx8m, drop the build dependency for it. Signed-off-by: Martin Kepplinger --- drive

Re: [PATCH] PM / devfreq: passive: Update frequency when start governor

2020-11-09 Thread Chanwoo Choi
ncy >> according to the frequency of parent device. >> >> Signed-off-by: Chanwoo Choi > > This patch landed in linux next-20201109 as commit 9b38a4f6b664 ("PM / > devfreq: passive: Update frequency when start governor"). Sadly it > causes the following warning

Re: [PATCH v2 01/15] dt-bindings: dma: Add YAML schemas for dw-axi-dmac

2020-11-09 Thread Vinod Koul
On 27-10-20, 14:38, Sia Jee Heng wrote: > YAML schemas Device Tree (DT) binding is the new format for DT to replace > the old format. Introduce YAML schemas DT binding for dw-axi-dmac and > remove the old version. I see that Rob and DT folks have not been cced, please do so > > Signed-off-by: Si

[PATCH] bcache: Fix potential memory leak in register_bcache()

2020-11-09 Thread Tiezhu Yang
Call kfree() in the error path to free the memory allocated by kzalloc(). Signed-off-by: Tiezhu Yang --- drivers/md/bcache/super.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c index 46a0013..af51574 100644 --- a

Re: [PATCH RT 6/6] Linux 5.4.74-rt42-rc1

2020-11-09 Thread Sebastian Andrzej Siewior
On 2020-11-06 21:06:42 [-0500], Steven Rostedt wrote: > 5.4.74-rt42-rc1 stable review patch. > If anyone has any objections, please let me know. The remaining queue looks good. Sebastian

Re: [PATCH] applesmc: Re-work SMC comms v1

2020-11-09 Thread kernel test robot
Hi Brad, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on hwmon/hwmon-next] [also build test WARNING on v5.10-rc3 next-20201109] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--bas

[PATCH v2 1/2] ASoC: Fix vaud18 power leakage of mt6359

2020-11-09 Thread Shane Chien
From: "Shane.Chien" vaud18 is power of mt6359 audio path. It should only enable when audio is used, instead of in boot up stage. Once mt6359 audio path is enabled or disabled, vaud18 is controlled by regulator supply widget "LDO_VAUD18". Due to vaud18 is controlled by regulator dapm macro instead

[PATCH v2 0/2] Fix vaud18 power leakage of mt6359

2020-11-09 Thread Shane Chien
From: "Shane.Chien" This series of patches is to fix vaud18 power leakage problem. vaud18 will be enable only when mt6359 audio path is turned on. Change since v1: - use dapm regulator supply widget for vaud18 control. - add vaud18 regulator property in mt6359 dt-binding. Shane.Chien (2): A

[PATCH v2 2/2] dt-bindings: mediatek: mt6359: Add new property for mt6359

2020-11-09 Thread Shane Chien
From: "Shane.Chien" This patch add "LDO_VAUD18-supply" property to control vaud18 regulator. It is labeled as required due to mt6359 audio path always need to enable vaud18. Signed-off-by: Shane.Chien --- .../devicetree/bindings/sound/mt6359.yaml |9 + 1 file changed, 9 in

RE: [PATCH v2 00/10] Introduced new Cadence USBSSP DRD Driver.

2020-11-09 Thread Pawel Laszczak
Hi, > >On Fri, Nov 06, 2020 at 12:42:50PM +0100, Pawel Laszczak wrote: >> This patch introduce new Cadence USBSS DRD driver to linux kernel. >> >> The Cadence USBSS DRD Controller is a highly configurable IP Core which >> can be instantiated as Dual-Role Device (DRD), Peripheral Only and >> Host O

[PATCH] auxdisplay: hd44780_common: Fix build error

2020-11-09 Thread poeschel
From: Lars Poeschel When building the hd44780_common driver without a driver that actually uses it like panel or hd44780 you got a build error, because hd44780_common uses charlcd, but did not select it. It's users did select it. This is fixed now. hd4478_common now selects charlcd in Kconfig and

Re: [PATCH] net/mlx4: Assign boolean values to a bool variable

2020-11-09 Thread Tariq Toukan
On 11/9/2020 9:07 AM, kaixuxia wrote: On 2020/11/8 16:20, Tariq Toukan wrote: On 11/7/2020 8:53 AM, xiakaixu1...@gmail.com wrote: From: Kaixu Xia Fix the following coccinelle warnings: Hi Kaixu, Which coccinelle version gave this warning? Hi Tariq, The version is coccinelle-1.0.

Re: [PATCH] auxdisplay: fix use after free in lcd2s_i2c_remove()

2020-11-09 Thread Lars Poeschel
On Fri, Nov 06, 2020 at 10:24:15PM +0300, Dan Carpenter wrote: > The kfree() needs to be moved down a line to prevent a use after free. > > Fixes: 8c9108d014c5 ("auxdisplay: add a driver for lcd2s character display") > Signed-off-by: Dan Carpenter > --- > drivers/auxdisplay/lcd2s.c | 2 +- > 1 f

[PATCH net v2] net: Update window_clamp if SOCK_RCVBUF is set

2020-11-09 Thread Mao Wenan
When net.ipv4.tcp_syncookies=1 and syn flood is happened, cookie_v4_check or cookie_v6_check tries to redo what tcp_v4_send_synack or tcp_v6_send_synack did, rsk_window_clamp will be changed if SOCK_RCVBUF is set, which will make rcv_wscale is different, the client still operates with initial windo

Re: [PATCH v2] Revert "kbuild: Do not enable -Wimplicit-fallthrough for clang for now"

2020-11-09 Thread kernel test robot
Hi Nick, I love your patch! Perhaps something to improve: [auto build test WARNING on kbuild/for-next] [also build test WARNING on v5.10-rc3 next-20201109] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as

Re: [PATCH 4/4] arm64: cpu_errata: Apply Erratum 845719 to KRYO2XX Silver

2020-11-09 Thread Sai Prakash Ranjan
Hi Marc, On 2020-11-05 14:59, Marc Zyngier wrote: On 2020-11-04 23:22, Konrad Dybcio wrote: QCOM KRYO2XX Silver cores are Cortex-A53 based and are susceptible to the 845719 erratum. Add them to the lookup list to apply the erratum. Signed-off-by: Konrad Dybcio --- arch/arm64/kernel/cpu_errat

[PATCH] x86/platform/uv: drop last traces of uv_flush_tlb_others

2020-11-09 Thread Jiri Slaby
Commit 39297dde7390 ("x86/platform/uv: Remove UV BAU TLB Shootdown Handler") removed uv_flush_tlb_others. Its declaration was removed also from asm/uv/uv.h. But only for the CONFIG_X86_UV=y case. The inline definition (!X86_UV case) is still in place. So remove this implementation with everything

[PATCH] clk: mediatek: fix mtk_clk_register_mux() as static function

2020-11-09 Thread Weiyi Lu
mtk_clk_register_mux() should be a static function Fixes: a3ae549917f16 ("clk: mediatek: Add new clkmux register API") Cc: Signed-off-by: Weiyi Lu --- drivers/clk/mediatek/clk-mux.c | 2 +- drivers/clk/mediatek/clk-mux.h | 4 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/dr

RE: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non-Transparent Bridge

2020-11-09 Thread Sherry Sun
Hi Kishon, > Subject: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non- > Transparent Bridge > > From: Kishon Vijay Abraham I > > Add support for EPF PCI-Express Non-Transparent Bridge (NTB) device. > This driver is platform independent and could be used by any platform which > have mu

[PATCH] drm/ast: Create chip AST2600

2020-11-09 Thread KuoHsiang Chou
[New] Support AST2600 Signed-off-by: KuoHsiang Chou --- drivers/gpu/drm/ast/ast_drv.h | 1 + drivers/gpu/drm/ast/ast_main.c | 5 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ast/ast_drv.h b/drivers/gpu/drm/ast/ast_drv.h index 467049ca8430..6b9e3b94a712 100

arch/arm64/kernel/kexec_image.c:130:16: sparse: sparse: Using plain integer as NULL pointer

2020-11-09 Thread kernel test robot
-20201109 (attached as .config) compiler: aarch64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.3-76-gf680124b

RE: [PATCH] scsi: ufshcd: fix missing destroy_workqueue() on error in ufshcd_init

2020-11-09 Thread Avri Altman
> > Add the missing destroy_workqueue() before return from > ufshcd_init in the error handling case. It seems that > exit_gating is an appropriate place. > > Fixes: 4db7a2360597 ("scsi: ufs: Fix concurrency of error handler and other > error recovery paths") > Signed-off-by: Qinglang Miao > ---

Re: [PATCH v3 17/26] coresight: etm4x: Cleanup secure exception level masks

2020-11-09 Thread Suzuki K Poulose
On 11/5/20 9:55 PM, Mathieu Poirier wrote: On Wed, Oct 28, 2020 at 10:09:36PM +, Suzuki K Poulose wrote: We rely on the ETM architecture version to decide whether Secure EL2 is available on the CPU for excluding the level for address comparators and viewinst main control register. We must in

Re: [PATCH v2 07/15] dmaegine: dw-axi-dmac: Support device_prep_dma_cyclic()

2020-11-09 Thread Vinod Koul
On 27-10-20, 14:38, Sia Jee Heng wrote: > Add support for device_prep_dma_cyclic() callback function to benefit > DMA cyclic client, for example ALSA. > > Existing AxiDMA driver only support data transfer between memory to memory. > Data transfer between device to memory and memory to device in cy

[PATCH 1/5] irqchip/gic, gic-v3: Make SGIs use handle_percpu_devid_irq()

2020-11-09 Thread Valentin Schneider
handle_percpu_devid_fasteoi_ipi() states: * The biggest difference with the IRQ version is that the interrupt is * EOIed early, as the IPI could result in a context switch, and we need to * make sure the IPI can fire again All that can actually happen scheduler-wise within the handling of an I

Re: [RFC PATCH v3 9/9] arm64: dts: lx2160a: fix FlexSPI clock

2020-11-09 Thread Michael Walle
Am 2020-11-08 22:21, schrieb Vladimir Oltean: On Sun, Nov 08, 2020 at 07:51:13PM +0100, Michael Walle wrote: Now that we have a proper driver for the FlexSPI interface use it. This will fix SCK frequency switching on Layerscape SoCs. Signed-off-by: Michael Walle --- Thanks to Vladimir Oltean,

Re: [PATCH 0/7] sunxi: Remove the calls to dma_direct_set_offset

2020-11-09 Thread Maxime Ripard
Hi Christoph, Chen-Yu, Hans, On Fri, Nov 06, 2020 at 05:07:37PM +0100, Christoph Hellwig wrote: > Thanks, > > this looks good to me: > > Reviewed-by: Christoph Hellwig > > Can you include this patch at the end of your series to that it gets > picked up with the other patches? I guess the easi

[PATCH 0/5] genirq: Get rid of handle_percpu_devid_fasteoi_ipi()

2020-11-09 Thread Valentin Schneider
Hi folks, While hacking on the GIC flow handlers, I grew increasingly suspicious of handle_percpu_devid_fasteoi_ipi() and thus did a bit of digging. AFAICT it isn't actually needed and handle_percpu_devid_irq() would suffice. Argumentation is in patch 1. Tested on my Juno (GICv2) and eMAG (GICv3

[PATCH 3/5] irqchip/bcm2836: Make IPIs use handle_percpu_devid_irq()

2020-11-09 Thread Valentin Schneider
As done for the Arm GIC irqchips, move IPIs to handle_percpu_devid_irq() as handle_percpu_devid_fasteoi_ipi() isn't actually required. Signed-off-by: Valentin Schneider --- drivers/irqchip/irq-bcm2836.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-bcm28

[PATCH 2/5] irqchip/armada-370-xp: Make IPIs use handle_percpu_devid_irq()

2020-11-09 Thread Valentin Schneider
As done for the Arm GIC irqchips, move IPIs to handle_percpu_devid_irq() as handle_percpu_devid_fasteoi_ipi() isn't actually required. Signed-off-by: Valentin Schneider --- drivers/irqchip/irq-armada-370-xp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq

[PATCH 4/5] irqchip/hip04: Make IPIs use handle_percpu_devid_irq()

2020-11-09 Thread Valentin Schneider
As done for the Arm GIC irqchips, move IPIs to handle_percpu_devid_irq() as handle_percpu_devid_fasteoi_ipi() isn't actually required. Signed-off-by: Valentin Schneider --- drivers/irqchip/irq-hip04.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/irqchip/irq-hi

[PATCH 5/5] Revert "genirq: Add fasteoi IPI flow"

2020-11-09 Thread Valentin Schneider
handle_percpu_devid_fasteoi_ipi() has no more users, and handle_percpu_devid_irq() can do all that it was supposed to do. Get rid of it. This reverts commit c5e5ec033c4ab25c53f1fd217849e75deb0bf7bf. Signed-off-by: Valentin Schneider --- include/linux/irq.h | 1 - kernel/irq/chip.c | 27 -

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

2020-11-09 Thread Maxim Levitsky
On Mon, 2020-11-09 at 08:14 +1100, Stephen Rothwell wrote: > Hi all, > > In commit > > cc4cb017678a ("KVM: x86: use positive error values for msr emulation that > causes #GP") > > Fixes tag > > Fixes: 291f35fb2c1d1 ("KVM: x86: report negative values from wrmsr > emulation to userspace") >

Re: [PATCH v3 18/26] coresight: etm4x: Clean up exception level masks

2020-11-09 Thread Suzuki K Poulose
On 11/6/20 6:52 PM, Mathieu Poirier wrote: Good morning, Good morning. On Wed, Oct 28, 2020 at 10:09:37PM +, Suzuki K Poulose wrote: etm4_get_access_type() calculates the exception level bits for use in address comparator registers. This is also used by the TRCVICTLR register by shiftin

Re: [PATCH 2/2] drivers/tty: delete break after goto/return

2020-11-09 Thread Greg Kroah-Hartman
On Fri, Nov 06, 2020 at 07:29:24PM -0800, Bernard Zhao wrote: > Delete break after goto/return, which will never run. > > Signed-off-by: Bernard Zhao > --- > drivers/tty/nozomi.c | 4 > 1 file changed, 4 deletions(-) If you look at the commits for this file: $ git log --oneline dr

  1   2   3   4   5   6   7   8   9   10   >