Re: [PATCH v5 0/4] Allow bigger 64bit window by removing default DMA window

2020-09-09 Thread Michael Ellerman
On Wed, 5 Aug 2020 00:04:51 -0300, Leonardo Bras wrote: > There are some devices in which a hypervisor may only allow 1 DMA window > to exist at a time, and in those cases, a DDW is never created to them, > since the default DMA window keeps using this resource. > > LoPAR recommends this procedure

Re: [PATCH v3 1/2] powerpc/uaccess: Use flexible addressing with __put_user()/__get_user()

2020-09-09 Thread Michael Ellerman
On Wed, 12 Aug 2020 12:25:16 + (UTC), Christophe Leroy wrote: > At the time being, __put_user()/__get_user() and friends only use > D-form addressing, with 0 offset. Ex: > > lwz reg1, 0(reg2) > > Give the compiler the opportunity to use other adressing modes > whenever possible, to

[PATCH net-next + mvebu v2 7/7] arm64: dts: armada-3720-turris-mox: add nodes for ethernet PHY LEDs

2020-09-09 Thread Marek Behún
Add nodes for the green and yellow LEDs that are connected to the ethernet PHY chip on Turris MOX A. Signed-off-by: Marek Behún --- .../dts/marvell/armada-3720-turris-mox.dts| 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-turri

[PATCH net-next + leds v2 0/7] PLEASE REVIEW: Add support for LEDs on Marvell PHYs

2020-09-09 Thread Marek Behún
Hello Andrew and Pavel, please review these patches adding support for HW controlled LEDs. The main difference from previous version is that the API is now generalized and lives in drivers/leds, so that part needs to be reviewed (and maybe even applied) by Pavel. As discussed previously between y

[PATCH] iio: trigger: Don't use RT priority

2020-09-09 Thread Christian Eggers
Triggers may raise transactions on slow busses like I2C. Using the original RT priority of a threaded IRQ may prevent other important IRQ handlers from being run. In my particular case (on a RT kernel), the RT priority of the sysfstrig threaded IRQ handler caused (temporarily) raising the prio of

Re: [PATCH] arm64: PCI: fix memleak when calling pci_iomap/unmap()

2020-09-09 Thread Catalin Marinas
On Wed, Sep 09, 2020 at 12:36:13PM +0100, Lorenzo Pieralisi wrote: > On Mon, Sep 07, 2020 at 12:21:19PM +0100, Catalin Marinas wrote: > > On Mon, Sep 07, 2020 at 10:51:21AM +, George Cherian wrote: > > > Catalin Marinas wrote: > > > > On Sat, Sep 05, 2020 at 10:48:11AM +0800, Yang Yingliang wr

Re: [PATCH -next] RDMA/bnxt_re: Remove set but not used variable 'qplib_ctx'

2020-09-09 Thread Jason Gunthorpe
On Sat, Sep 05, 2020 at 08:16:24PM +0800, YueHaibing wrote: > drivers/infiniband/hw/bnxt_re/main.c:1012:25: > warning: variable ‘qplib_ctx’ set but not used [-Wunused-but-set-variable] > > Signed-off-by: YueHaibing > Reviewed-by: Leon Romanovsky > --- > drivers/infiniband/hw/bnxt_re/main.c | 2

Re: [PATCH v4 bpf-next 5/5] docs/bpf: add BPF ring buffer design notes

2020-09-09 Thread Mauro Carvalho Chehab
Em Fri, 29 May 2020 00:54:24 -0700 Andrii Nakryiko escreveu: > Add commit description from patch #1 as a stand-alone documentation under > Documentation/bpf, as it might be more convenient format, in long term > perspective. > > Suggested-by: Stanislav Fomichev > Signed-off-by: Andrii Nakryiko

[PATCH -next] media: rkvdec: Remove redundant platform_get_irq error message

2020-09-09 Thread YueHaibing
platform_get_irq() will call dev_err() itself on failure, so there is no need for the driver to also do this. This is detected by coccinelle. Signed-off-by: YueHaibing --- drivers/staging/media/rkvdec/rkvdec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging

Re: [RFC PATCH 00/16] 1GB THP support on x86_64

2020-09-09 Thread David Hildenbrand
On 09.09.20 15:49, Rik van Riel wrote: > On Wed, 2020-09-09 at 15:43 +0200, David Hildenbrand wrote: >> On 09.09.20 15:19, Rik van Riel wrote: >>> On Wed, 2020-09-09 at 09:04 +0200, Michal Hocko wrote: >>> That CMA has to be pre-reserved, right? That requires a configuration. >>> >>> To s

[PATCH -next] mfd: ene-kb3930: Make symbol 'kb3930_power_off' static

2020-09-09 Thread Wei Yongjun
The sparse tool complains as follows: drivers/mfd/ene-kb3930.c:36:15: warning: symbol 'kb3930_power_off' was not declared. Should it be static? This variable is not used outside of ene-kb3930.c, this commit marks it static. Fixes: 753bd752e181 ("mfd: ene-kb3930: Add driver for ENE KB3930 Embedd

Re: [PATCH] kernel: events: Use scnprintf() in show_pmu_*() instead of snprintf()

2020-09-09 Thread Shuah Khan
On 9/9/20 12:45 AM, Alexander Shishkin wrote: Shuah Khan writes: Since snprintf() returns would-be-output size instead of the actual output size, replace it with scnprintf(), so the nr_addr_filters_show(), type_show(), and perf_event_mux_interval_ms_show() routines return the actual size. We

Re: [PATCH v1] spi: spi-nxp-fspi: Add ACPI support

2020-09-09 Thread Mark Brown
On Tue, Sep 08, 2020 at 11:32:27AM +0530, kuldip dwivedi wrote: This appears to be v2 not v1? > Currently NXP fspi driver has support of DT only. Adding ACPI > support to the driver so that it can be used by UEFI firmware > booting in ACPI mode. This driver will be probed if any firmware > will

Re: [RFC PATCH 05/16] mm: thp: handling 1GB THP reference bit.

2020-09-09 Thread Zi Yan
On 9 Sep 2020, at 10:09, Kirill A. Shutemov wrote: > On Wed, Sep 02, 2020 at 02:06:17PM -0400, Zi Yan wrote: >> From: Zi Yan >> >> Add PUD-level TLB flush ops and teach page_vma_mapped_talk about 1GB >> THPs. >> >> Signed-off-by: Zi Yan >> --- >> arch/x86/include/asm/pgtable.h | 3 +++ >> arch

Re: [PATCH v4 1/2] dt-bindings: sound: add DT bindings for Microchip S/PDIF TX Controller

2020-09-09 Thread Mark Brown
On Wed, 9 Sep 2020 17:53:47 +0300, Codrin Ciubotariu wrote: > This patch adds DT bindings for the new Microchip S/PDIF TX Controller > embedded inside sama7g5 SoCs. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: add DT bindings for M

RE: [PATCH v2] Documentation: kunit: Add naming guidelines

2020-09-09 Thread Bird, Tim
> -Original Message- > From: David Gow > > As discussed in [1], KUnit tests have hitherto not had a particularly > consistent naming scheme. This adds documentation outlining how tests > and test suites should be named, including how those names should be > used in Kconfig entries and file

Re: [PATCH v9 00/24] coresight: allow to build coresight as modules

2020-09-09 Thread Mathieu Poirier
On Wed, Sep 09, 2020 at 02:54:33AM +, Tingwei Zhang wrote: > On Wed, Sep 09, 2020 at 01:53:51AM +0800, Mathieu Poirier wrote: > > Hi Tingwei, > > > > Apologies for the untimely response to this set, I am hoping to get to > > it in the next two weeks. > > > > It's fine, Mathieu. Please let me

Re: [PATCH v3 1/2] leds: mt6360: Add LED driver for MT6360

2020-09-09 Thread Andy Shevchenko
On Mon, Sep 7, 2020 at 1:31 PM Gene Chen wrote: > > From: Gene Chen > > Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode, > and 4-channel RGB LED support Register/Flash/Breath Mode I'm wondering why you don't use struct led_classdev_flash. ... > +// > +// Copyright (C)

[RESEND PATCH 2/2] /proc/stat: Simplify iowait and idle calculations when cpu is offline

2020-09-09 Thread Tom Hromatka
A customer reported that when a cpu goes offline, the iowait and idle times reported in /proc/stat will sometimes spike. This is being caused by a different data source being used for these values when a cpu is offline. Prior to this patch: put the system under heavy load so that there is little

RE: [PATCH v2] x86/uaccess: Use pointer masking to limit uaccess speculation

2020-09-09 Thread David Laight
From: Josh Poimboeuf > Sent: 09 September 2020 13:47 > On Wed, Sep 09, 2020 at 08:20:07AM +, David Laight wrote: > > From: Josh Poimboeuf > > > Sent: 08 September 2020 18:43 > > > Hi x86 maintainers, > > ... > > > > --- a/arch/x86/lib/putuser.S > > > > +++ b/arch/x86/lib/putuser.S > > > > @@ -

Re: [RFC PATCH v2 0/3] mm/gup: fix gup_fast with dynamic page table folding

2020-09-09 Thread Gerald Schaefer
On Tue, 8 Sep 2020 19:36:50 +0200 Gerald Schaefer wrote: [..] > > It seems now that the generalization is very well accepted so far, > apart from some apparent issues on arm. Also, merging 2 + 3 and > putting them first seems to be acceptable, so we could do that for > v3, if there are no object

Re: [RFC PATCH 03/16] mm: proc: add 1GB THP kpageflag.

2020-09-09 Thread Kirill A. Shutemov
On Wed, Sep 02, 2020 at 02:06:15PM -0400, Zi Yan wrote: > From: Zi Yan > > Bit 27 is used to identify 1GB THP. > > Signed-off-by: Zi Yan > --- > fs/proc/page.c | 2 ++ > include/uapi/linux/kernel-page-flags.h | 2 ++ > 2 files changed, 4 insertions(+) > > diff --git a/

RE: [EXT] [RESEND PATCH v3] mtd: spinand: micron: add support for MT29F2G01AAAED

2020-09-09 Thread Shivamurthy Shastri (sshivamurthy)
Hi Thirumalesha, I think it is better to split the patch into two: 1. Changes for the devices which are already present 2. For the device MT29F2G01AAAED, which you want to add > > The MT29F2G01AAAED is a single die, 2Gb Micron SPI NAND Flash with 4-bit > ECC > > Signed-off-by: Thirumalesha Nara

Re: [PATCH v18 00/32] per memcg lru_lock: reviews

2020-09-09 Thread Alexander Duyck
On Tue, Sep 8, 2020 at 4:41 PM Hugh Dickins wrote: > > [PATCH v18 28/32] mm/compaction: Drop locked from isolate_migratepages_block > Most of this consists of replacing "locked" by "lruvec", which is good: > but please fold those changes back into 20/32 (or would it be 17/32? > I've not yet loo

Re: [RFC PATCH 00/16] 1GB THP support on x86_64

2020-09-09 Thread David Hildenbrand
On 09.09.20 15:19, Rik van Riel wrote: > On Wed, 2020-09-09 at 09:04 +0200, Michal Hocko wrote: >> On Tue 08-09-20 10:41:10, Rik van Riel wrote: >>> On Tue, 2020-09-08 at 16:35 +0200, Michal Hocko wrote: >>> A global knob is insufficient. 1G pages will become a very precious resource

Re: [PATCH RFC v6 1/6] dt-bindings: exynos-bus: Add documentation for interconnect properties

2020-09-09 Thread Sylwester Nawrocki
Hi Georgi, On 09.09.2020 11:07, Georgi Djakov wrote: > On 8/28/20 17:49, Sylwester Nawrocki wrote: >> On 30.07.2020 14:28, Sylwester Nawrocki wrote: >>> On 09.07.2020 23:04, Rob Herring wrote: On Thu, Jul 02, 2020 at 06:37:19PM +0200, Sylwester Nawrocki wrote: > Add documentation for new

[PATCH net-next] net: stmmac: dwmac-intel-plat: remove redundant null check before clk_disable_unprepare()

2020-09-09 Thread Zhang Changzhong
Because clk_prepare_enable() and clk_disable_unprepare() already checked NULL clock parameter, so the additional checks are unnecessary, just remove them. Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel-plat.c | 8 ++-- 1 file chan

[PATCH 0/2] soundwire: qcom: fix IP version v1.5.1 support

2020-09-09 Thread Srinivas Kandagatla
While testing Qualcomm soundwire controller version 1.5.1, found two issue, Firstly the frame shape information configured vs the bus parameters are out of sync. secondly some ports on this ip version require block packing mode support. With this two patches on top of https://lkml.org/lkml/2020/9/

Re: [PATCH v2] mm/vmscan: fix infinite loop in drop_slab_node

2020-09-09 Thread Chris Down
Thanks! This looks reasonable to me, and avoids hard-to-reason-about changes in the existing semantics. zangchun...@bytedance.com writes: Signed-off-by: Chunxin Zang Signed-off-by: Muchun Song Acked-by: Chris Down

[PATCH 2/2] soundwire: qcom: get max rows and cols info from compatible

2020-09-09 Thread Srinivas Kandagatla
currently the max rows and cols values are hardcoded. In reality these values depend on the IP version. So get these based on device tree compatible strings. Signed-off-by: Srinivas Kandagatla --- drivers/soundwire/qcom.c | 46 +++- 1 file changed, 31 insertio

[PATCH 1/2] soundwire: qcom: add support to block packing mode

2020-09-09 Thread Srinivas Kandagatla
This patch adds support to block pack mode, which is required on Qcom soundwire controllers v1.5.x on few ports! Signed-off-by: Srinivas Kandagatla --- drivers/soundwire/qcom.c | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/drivers/soundwire/qcom.c b/

Re: [PATCH net-next v7 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices

2020-09-09 Thread Vadym Kochan
On Mon, Sep 07, 2020 at 10:55:49AM +0300, Andy Shevchenko wrote: > On Mon, Sep 7, 2020 at 10:30 AM Vadym Kochan wrote: > > On Fri, Sep 04, 2020 at 10:12:07PM +0300, Andy Shevchenko wrote: > > > On Fri, Sep 4, 2020 at 7:52 PM Vadym Kochan > > > wrote: > > I'm assuming that you agree on all non-c

Re: [PATCH net-next 0/1] Support for VLAN interface over HSR/PRP

2020-09-09 Thread Murali Karicheri
Hi Willem, On 9/8/20 1:51 PM, Willem de Bruijn wrote: On Tue, Sep 8, 2020 at 6:55 PM Murali Karicheri wrote: Hi Willem, On 9/4/20 11:52 AM, Willem de Bruijn wrote: On Thu, Sep 3, 2020 at 12:30 AM Murali Karicheri wrote: All, On 9/2/20 12:14 PM, Murali Karicheri wrote: All, On 9/1/20 3

Re: [PATCH] soundwire: bus: add enumerated slave to device list

2020-09-09 Thread Srinivas Kandagatla
On 09/09/2020 14:37, Pierre-Louis Bossart wrote: On 9/9/20 3:27 AM, Srinivas Kandagatla wrote: Currently slave devices are only added either from device tree or acpi entries. However lets say, there is wrong or no entry of a slave device in DT that is enumerated, then there is no way for us

[PATCH 6/6] arm64: dts: ls1088a: Add label to pcie nodes

2020-09-09 Thread Wasim Khan
From: Wasim Khan Add label to pcie nodes Signed-off-by: Wasim Khan --- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi ind

[PATCH V2 resend] mmc: sdhci-msm: Unconditionally call dev_pm_opp_of_remove_table()

2020-09-09 Thread Viresh Kumar
dev_pm_opp_of_remove_table() doesn't report any errors when it fails to find the OPP table with error -ENODEV (i.e. OPP table not present for the device). And we can call dev_pm_opp_of_remove_table() unconditionally here. Signed-off-by: Viresh Kumar --- V2: - Compare with -ENODEV only for failur

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

2020-09-09 Thread Rob Herring
On Tue, Sep 8, 2020 at 8:37 PM Stephen Rothwell wrote: > > Hi all, > > After merging the pci tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: Uggg. I guess 0-day just doesn't do arm32 builds anymore as it caught more obscure build issues, but not this one (and some

[PATCH 1/6] arm64: dts: lx2160a: Add label to pcie nodes

2020-09-09 Thread Wasim Khan
From: Wasim Khan Add label to pcie nodes Signed-off-by: Wasim Khan --- arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dts

Re: [PATCH net-next v7 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices

2020-09-09 Thread Vadym Kochan
Hi Andy, On Tue, Sep 08, 2020 at 12:38:04PM +0300, Andy Shevchenko wrote: > On Tue, Sep 8, 2020 at 11:35 AM Vadym Kochan wrote: > > On Fri, Sep 04, 2020 at 10:12:07PM +0300, Andy Shevchenko wrote: > > > On Fri, Sep 4, 2020 at 7:52 PM Vadym Kochan > > > wrote: > > ... > > > > > + words[3

[PATCH net-next] net: pxa168_eth: remove redundant null check before clk_disable_unprepare()

2020-09-09 Thread Zhang Changzhong
Because clk_prepare_enable() and clk_disable_unprepare() already checked NULL clock parameter, so the additional checks are unnecessary, just remove them. Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/net/ethernet/marvell/pxa168_eth.c | 4 +--- 1 file changed, 1 insertion(

Re: [PATCH v2 1/6] dt-bindings: mfd: Add Actions Semi ATC260x PMIC binding

2020-09-09 Thread Cristian Ciocaltea
Hi Rob, Thanks for reviewing! On Tue, Sep 08, 2020 at 03:47:24PM -0600, Rob Herring wrote: > On Sat, Aug 22, 2020 at 01:19:47AM +0300, Cristian Ciocaltea wrote: > > Add devicetree binding for Actions Semi ATC260x PMICs. > > > > Signed-off-by: Cristian Ciocaltea > > --- > > .../bindings/mfd/act

Re: [RFC PATCH 00/16] 1GB THP support on x86_64

2020-09-09 Thread Michal Hocko
On Wed 09-09-20 09:19:16, Rik van Riel wrote: > On Wed, 2020-09-09 at 09:04 +0200, Michal Hocko wrote: > > On Tue 08-09-20 10:41:10, Rik van Riel wrote: > > > On Tue, 2020-09-08 at 16:35 +0200, Michal Hocko wrote: > > > > > > > A global knob is insufficient. 1G pages will become a very > > > > pre

Re: [PATCH net-next] net: dsa: b53: Report VLAN table occupancy via devlink

2020-09-09 Thread Vladimir Oltean
On Tue, Sep 08, 2020 at 09:32:34PM -0700, Florian Fainelli wrote: > We already maintain an array of VLANs used by the switch so we can > simply iterate over it to report the occupancy via devlink. > > Signed-off-by: Florian Fainelli > --- > drivers/net/dsa/b53/b53_common.c | 59 +

Re: Question: Why is there no notification when a file is opened using filp_open()?

2020-09-09 Thread Amir Goldstein
On Wed, Sep 9, 2020 at 2:11 PM Jan Kara wrote: > > On Wed 09-09-20 10:36:57, Amir Goldstein wrote: > > On Wed, Sep 9, 2020 at 10:00 AM Xiaoming Ni wrote: > > > > > > On 2020/9/9 11:44, Amir Goldstein wrote: > > > > On Tue, Sep 8, 2020 at 8:19 PM Matthew Wilcox > > > > wrote: > > > >> > > > >> O

Re: [PATCH] usb: ohci: Default to per-port over-current protection

2020-09-09 Thread Alan Stern
On Wed, Sep 09, 2020 at 03:57:34PM +1200, Hamish Martin wrote: > Some integrated OHCI controller hubs do not expose all ports of the hub > to pins on the SoC. In some cases the unconnected ports generate > spurious over-current events. For example the Broadcom 56060/Ranger 2 SoC > contains a nomina

Re: [PATCH] soundwire: bus: add enumerated slave to device list

2020-09-09 Thread Pierre-Louis Bossart
Currently slave devices are only added either from device tree or acpi entries. However lets say, there is wrong or no entry of a slave device in DT that is enumerated, then there is no way for user to know all the enumerated devices on the bus. Sorry Srinivas, I don't understand your point.

Re: [PATCH v2] kdb: Use newer api for tasklist scanning

2020-09-09 Thread Daniel Thompson
On Mon, Sep 07, 2020 at 01:32:06PM -0700, Davidlohr Bueso wrote: > This kills using the do_each_thread/while_each_thread combo to > iterate all threads and uses for_each_process_thread() instead, > maintaining semantics. while_each_thread() is ultimately racy > and deprecated; although in this par

Re: [PATCH] mm: workingset: ignore slab memory size when calculating shadows pressure

2020-09-09 Thread Johannes Weiner
On Thu, Sep 03, 2020 at 04:00:55PM -0700, Roman Gushchin wrote: > In the memcg case count_shadow_nodes() sums the number of pages in lru > lists and the amount of slab memory (reclaimable and non-reclaimable) > as a baseline for the allowed number of shadow entries. > > It seems to be a good analo

Re: [PATCH V4 1/2] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-09-09 Thread Matthew Wilcox
On Wed, Sep 09, 2020 at 09:01:14AM +0100, Christoph Hellwig wrote: > I really don't think this approach is any good. You workaround > a deficiency in the pin_user_pages API in one particular caller for > one particular use case. > > I think you'd rather want either: > > (1) a FOLL_HUGEPAGE flag

[PATCH] ath10k: Remove unused macro ATH10K_ROC_TIMEOUT_HZ

2020-09-09 Thread YueHaibing
There is no caller in tree, so can remove it. Signed-off-by: YueHaibing --- drivers/net/wireless/ath/ath10k/mac.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index fed8682f266f..5991d0ac41ad 100644 --- a/driv

[PATCH 04/19] ALSA: pcm: Remove unused inline function snd_mask_sizeof

2020-09-09 Thread YueHaibing
There is no caller in tree, so can remove it. Signed-off-by: YueHaibing --- include/sound/pcm_params.h | 5 - 1 file changed, 5 deletions(-) diff --git a/include/sound/pcm_params.h b/include/sound/pcm_params.h index 36f94735d23d..ba184f49f7e1 100644 --- a/include/sound/pcm_params.h +++ b/in

[PATCH] wlcore: Remove unused macro WL1271_SUSPEND_SLEEP

2020-09-09 Thread YueHaibing
commit 45aa7f071b06 ("wlcore: Use generic runtime pm calls for wowlan elp configuration") left behind this, remove it. Signed-off-by: YueHaibing --- drivers/net/wireless/ti/wlcore/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wire

Re: [PATCH 1/2] dt-bindings: usb: dwc3-xilinx: Add documentation for Versal DWC3 Controller

2020-09-09 Thread Rob Herring
On Wed, Sep 9, 2020 at 9:46 AM Manish Narani wrote: > > Hi Rob, > > Thanks for the review. > > > -Original Message- > > From: Rob Herring > > Sent: Wednesday, September 9, 2020 4:35 AM > > To: Manish Narani > > Cc: gre...@linuxfoundation.org; Michal Simek ; > > ba...@kernel.org; p.za...@

drivers/pci/controller/pci-mvebu.c:368:17: sparse: sparse: restricted __le16 degrades to integer

2020-09-09 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 34d4ddd359dbcdf6c5fb3f85a179243d7a1cb7f8 commit: e0d9d30b73548fbfe5c024ed630169bdc9a08aee PCI: pci-bridge-emul: Fix big-endian support date: 11 months ago config: arm-randconfig-s032-20200909 (attached as

[PATCH -next] scsi: aic94xx: Remove unused inline function

2020-09-09 Thread YueHaibing
There is no caller in tree, so can remove it. Signed-off-by: YueHaibing --- drivers/scsi/aic94xx/aic94xx.h | 8 1 file changed, 8 deletions(-) diff --git a/drivers/scsi/aic94xx/aic94xx.h b/drivers/scsi/aic94xx/aic94xx.h index c23bbb609126..98978bc199ff 100644 --- a/drivers/scsi/aic94xx

[PATCH] vhost-vdpa: fix memory leak in error path

2020-09-09 Thread Li Qiang
Free the 'page_list' when the 'npages' is zero. Signed-off-by: Li Qiang --- drivers/vhost/vdpa.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c index 3fab94f88894..6a9fcaf1831d 100644 --- a/drivers/vhost/vdpa.c +++ b/driver

Re: [PATCH] soundwire: bus: add enumerated slave to device list

2020-09-09 Thread Srinivas Kandagatla
On 09/09/2020 15:39, Pierre-Louis Bossart wrote: Currently slave devices are only added either from device tree or acpi entries. However lets say, there is wrong or no entry of a slave device in DT that is enumerated, then there is no way for user to know all the enumerated devices on the bu

Re: [PATCH -next] btrfs: Remove unused function calc_global_rsv_need_space()

2020-09-09 Thread Anand Jain
On 9/9/20 9:51 pm, YueHaibing wrote: It is not used since commit 0096420adb03 ("btrfs: do not account global reserve in can_overcommit") Signed-off-by: YueHaibing Reviewed-by: Anand Jain Thanks, Anand

Re: [PATCH net-next] net: dsa: b53: Report VLAN table occupancy via devlink

2020-09-09 Thread Jakub Kicinski
On Tue, 8 Sep 2020 21:32:34 -0700 Florian Fainelli wrote: > We already maintain an array of VLANs used by the switch so we can > simply iterate over it to report the occupancy via devlink. > > Signed-off-by: Florian Fainelli Reviewed-by: Jakub Kicinski

[PATCH -next] serial: 8250_pci: Remove unused function get_pci_irq()

2020-09-09 Thread YueHaibing
It is not used since commit 8428413b1d14 ("serial: 8250_pci: Implement MSI(-X) support") Signed-off-by: YueHaibing --- drivers/tty/serial/8250/8250_pci.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index 85

[PATCH 08/30] docs: fix location of nommu-mmap.rst file

2020-09-09 Thread Mauro Carvalho Chehab
mm/nommu-mmap.rst -> admin-guide/mm/ nommu-mmap.rst Fixes: 800c02f5d030 ("docs: move nommu-mmap.txt to admin-guide and rename to ReST") Signed-off-by: Mauro Carvalho Chehab --- init/Kconfig | 2 +- mm/Kconfig | 2 +- mm/nommu.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff

Re: INFO: rcu detected stall in cleanup_net (4)

2020-09-09 Thread Jakub Kicinski
On Tue, 08 Sep 2020 22:29:21 -0700 syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:59126901 Merge tag 'perf-tools-fixes-for-v5.9-2020-09-03' .. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=12edb93590 > kernel config

[PATCH 09/19] ALSA: pci/asihpi: Remove unused function hpi_stream_group_get_map()

2020-09-09 Thread YueHaibing
There is no caller in tree, so can remove it. Signed-off-by: YueHaibing --- sound/pci/asihpi/asihpi.c | 9 - 1 file changed, 9 deletions(-) diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c index 35e76480306e..8bacd4f47540 100644 --- a/sound/pci/asihpi/asihpi.c +++ b/so

Re: [PATCH v9 1/2] Add a "nosymfollow" mount option.

2020-09-09 Thread Ross Zwisler
On Thu, Aug 27, 2020 at 2:25 PM Ross Zwisler wrote: > On Thu, Aug 27, 2020 at 09:10:15PM +0100, Al Viro wrote: > > On Thu, Aug 27, 2020 at 09:08:01PM +0100, Al Viro wrote: > > Applied (to -rc1) and pushed > > Many thanks! (apologies for the resend, the previous one had HTML and was rejected by th

[PATCH -next] btrfs: Remove unused function calc_global_rsv_need_space()

2020-09-09 Thread YueHaibing
It is not used since commit 0096420adb03 ("btrfs: do not account global reserve in can_overcommit") Signed-off-by: YueHaibing --- fs/btrfs/space-info.c | 5 - 1 file changed, 5 deletions(-) diff --git a/fs/btrfs/space-info.c b/fs/btrfs/space-info.c index b733718f45d3..0f16a2ce5401 100644 --

Re: [PATCH v7 00/34] Improvements for Tegra I2C driver

2020-09-09 Thread Wolfram Sang
On Wed, Sep 09, 2020 at 06:36:50PM +0300, Dmitry Osipenko wrote: > 09.09.2020 12:11, Andy Shevchenko пишет: > > On Wed, Sep 9, 2020 at 1:40 AM Dmitry Osipenko wrote: > >> > >> Hello! > >> > >> This series performs refactoring of the Tegra I2C driver code and hardens > >> the atomic-transfer mode.

Re: [PATCH v4 3/6] media: i2c: ov5640: Enable data pins on poweron for DVP mode

2020-09-09 Thread Hugues FRUCHET
Hi Prabhakar, I have checked quickly both OK and KO traces an some differences are ther that we have to understand, see bottom of this mail. On 9/7/20 4:35 PM, Lad, Prabhakar wrote: > Hi Hugues, > > Thank you for the review. > > On Mon, Sep 7, 2020 at 10:44 AM Hugues FRUCHET wrote: >> >> Hi P

[PATCH] ath11k: Remove unused inline function htt_htt_stats_debug_dump()

2020-09-09 Thread YueHaibing
There is no caller in tree, so can remove it. Signed-off-by: YueHaibing --- .../net/wireless/ath/ath11k/debug_htt_stats.c | 44 --- 1 file changed, 44 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/debug_htt_stats.c b/drivers/net/wireless/ath/ath11k/debug_htt_stats.c

[PATCH v4] scsi: libfc: Fix passing zero to 'PTR_ERR' warning

2020-09-09 Thread YueHaibing
drivers/scsi/libfc/fc_disc.c:304 fc_disc_error() warn: passing zero to 'PTR_ERR' fp maybe NULL in fc_disc_error(), use PTR_ERR_OR_ZERO to handle this. Signed-off-by: YueHaibing --- v4: fix error print type v3: use PTR_ERR_OR_ZERO v2: use use IS_ERR in fc_disc_error() --- drivers/scsi/libfc/fc

Re: [PATCH] drm/panfrost: Ensure GPU quirks are always initialised

2020-09-09 Thread Alyssa Rosenzweig
Reviewed-by: Alyssa Rosenzweig > diff --git a/drivers/gpu/drm/panfrost/panfrost_gpu.c > b/drivers/gpu/drm/panfrost/panfrost_gpu.c > index e0f190e43813..6d17d3cbd1df 100644 > --- a/drivers/gpu/drm/panfrost/panfrost_gpu.c > +++ b/drivers/gpu/drm/panfrost/panfrost_gpu.c > @@ -305,6 +305,8 @@ void p

Re: [PATCH v2 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-09-09 Thread Andrew Jones
On Fri, Sep 04, 2020 at 05:00:18PM +0100, Steven Price wrote: > Add a new VCPU features 'KVM_ARM_VCPU_MTE' which enables memory tagging > on a VCPU. When enabled on any VCPU in the virtual machine this causes > all pages that are faulted into the VM to have the PG_mte_tagged flag > set (and the tag

Re: [PATCH] block: remove redundant empty check of mq_list

2020-09-09 Thread Jens Axboe
On 9/9/20 12:48 AM, Xianting Tian wrote: > blk_mq_flush_plug_list() itself will do the empty check of mq_list, > so remove such check in blk_flush_plug_list(). > Actually normally mq_list is not empty when blk_flush_plug_list is > called. It's cheaper to do in the caller, instead of doing the func

Re: [RFC PATCH 00/16] 1GB THP support on x86_64

2020-09-09 Thread David Hildenbrand
On 09.09.20 15:14, Jason Gunthorpe wrote: > On Wed, Sep 09, 2020 at 01:32:44PM +0100, Matthew Wilcox wrote: > >> But here's the thing ... we already allow >> mmap(MAP_POPULATE | MAP_HUGETLB | MAP_HUGE_1GB) >> >> So if we're not doing THP, what's the point of this thread? > > I wondered that

[PATCH -next] timers: Remove unused inline funtion debug_timer_free()

2020-09-09 Thread YueHaibing
There is no caller in tree, so can remove it. Signed-off-by: YueHaibing --- kernel/time/timer.c | 5 - 1 file changed, 5 deletions(-) diff --git a/kernel/time/timer.c b/kernel/time/timer.c index a50364df1054..7da4af49d1d7 100644 --- a/kernel/time/timer.c +++ b/kernel/time/timer.c @@ -732,11

[PATCH -next] hrtimer: Remove unused inline function debug_hrtimer_free()

2020-09-09 Thread YueHaibing
There is no caller in tree, so can remove it. Signed-off-by: YueHaibing --- kernel/time/hrtimer.c | 5 - 1 file changed, 5 deletions(-) diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index 95b6a708b040..75d0cc1a2081 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c

[PATCH -next] mtd: rawnand: vf610_nfc: Remove unused function vf610_nfc_transfer_size()

2020-09-09 Thread YueHaibing
commit ecc40b8df59a ("mtd: rawnand: vf610_nfc: remove old hooks") left behind this, remove it. Signed-off-by: YueHaibing --- drivers/mtd/nand/raw/vf610_nfc.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/mtd/nand/raw/vf610_nfc.c b/drivers/mtd/nand/raw/vf610_nfc.c index 7248c590

[PATCH] iio: light: as73211: Increase measurement timeout

2020-09-09 Thread Christian Eggers
We found some sensors which are much slower (20% at room temperature) than nominal. According to the data sheet, up to 27% is possible. Now I add 33% to the nominal time out, hopefully this is enough. Signed-off-by: Christian Eggers --- drivers/iio/light/as73211.c | 5 ++--- 1 file changed, 2 in

[PATCH -next] PCI: dwc: unexport dw_pcie_link_set_max_speed

2020-09-09 Thread YueHaibing
This function has been made static, which causes warning: WARNING: modpost: "dw_pcie_link_set_max_speed" [vmlinux] is a static EXPORT_SYMBOL_GPL Fixes: 3af45d34d30c ("PCI: dwc: Centralize link gen setting") Signed-off-by: YueHaibing --- drivers/pci/controller/dwc/pcie-designware.c | 1 - 1 fil

Re: [PATCH V4 4/4] tty: serial: qcom_geni_serial: Fix the UART wakeup issue

2020-09-09 Thread skakit
On 2020-09-03 22:20, Matthias Kaehlcke wrote: On Thu, Sep 03, 2020 at 08:34:58PM +0530, satya priya wrote: As a part of system suspend uart_port_suspend is called from the Serial driver, which calls set_mctrl passing mctrl as NULL. This nit: s/NULL/0/ Okay, will correct it. makes RFR high

Re: [PATCH v18 31/32] mm: Add explicit page decrement in exception path for isolate_lru_pages

2020-09-09 Thread Alexander Duyck
On Tue, Sep 8, 2020 at 6:01 PM Matthew Wilcox wrote: > > On Mon, Aug 24, 2020 at 08:55:04PM +0800, Alex Shi wrote: > > +++ b/mm/vmscan.c > > @@ -1688,10 +1688,13 @@ static unsigned long isolate_lru_pages(unsigned > > long nr_to_scan, > > > > if (!TestClearPageLRU(page)) { >

[PATCH -next] drm/panel: s6e63m0: Add missing MODULE_LICENSE

2020-09-09 Thread YueHaibing
Kbuild warns when this file is built as a loadable module: WARNING: modpost: missing MODULE_LICENSE() in drivers/gpu/drm/panel/panel-samsung-s6e63m0.o Add the missing license/author/description tags. Fixes: b7b23e447687 ("drm/panel: s6e63m0: Break out SPI transport") Signed-off-by: YueHaibing

[PATCH v4 2/2] ASoC: mchp-spdiftx: add driver for S/PDIF TX Controller

2020-09-09 Thread Codrin Ciubotariu
The new SPDIF TX controller is a serial port compliant with the IEC- 60958 standard. It also supports programmable User Data and Channel Status fields. This IP is embedded in Microchip's sama7g5 SoC. Signed-off-by: Codrin Ciubotariu --- Changes in v4: - moved enable/disable of pclk clock from

[PATCH -next] media: av7110_v4l: Fix build error

2020-09-09 Thread YueHaibing
drivers/media/pci/ttpci/av7110_v4l.c: In function ‘vidioc_s_frequency’: drivers/media/pci/ttpci/av7110_v4l.c:163:11: error: SSE register return with SSE disabled if (freq < 16U * 168.25) ~^~ Get rid of float pointing math to fix this. Fixes: 13c129066845 ("media: av7110_v4

Re: [PATCH V2 0/8] opp: Unconditionally call dev_pm_opp_of_remove_table()

2020-09-09 Thread Mark Brown
On Fri, 28 Aug 2020 11:37:45 +0530, Viresh Kumar wrote: > This cleans up some of the user code around calls to > dev_pm_opp_of_remove_table(). > > All the patches can be picked by respective maintainers directly except > for the last patch, which needs the previous two to get merged first. > > Th

Re: [PATCH V2] scsi: ufs-pci: Add LTR support for Intel controllers

2020-09-09 Thread Adrian Hunter
On 2/09/20 12:27 pm, Adrian Hunter wrote: > On 2/09/20 5:12 am, Martin K. Petersen wrote: >> >> Adrian, >> >>> Intel host controllers support the setting of latency tolerance. >>> Accordingly, implement the PM QoS ->set_latency_tolerance() callback. The >>> raw register values are also exposed via

[PATCH 2/3] spi: spi-zynqmp-gqspi: Update driver to use spi-mem framework

2020-09-09 Thread Amit Kumar Mahapatra
Updated Zynqmp qspi controller driver to use spi-mem framework. Signed-off-by: Amit Kumar Mahapatra --- drivers/spi/spi-zynqmp-gqspi.c | 645 +++-- 1 file changed, 369 insertions(+), 276 deletions(-) diff --git a/drivers/spi/spi-zynqmp-gqspi.c b/drivers/spi/spi-zynqm

[PATCH v6 1/2] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

2020-09-09 Thread Hector Yuan
From: "Hector.Yuan" Add MT6779 cpufreq HW support. Signed-off-by: Hector.Yuan --- drivers/cpufreq/Kconfig.arm | 12 ++ drivers/cpufreq/Makefile |1 + drivers/cpufreq/mediatek-cpufreq-hw.c | 283 + 3 files changed, 296 insertions(+)

Re: [PATCH] dt-bindings: mfd: Correct interrupt flags in examples

2020-09-09 Thread Tim Harvey
On Tue, Sep 8, 2020 at 7:59 AM Krzysztof Kozlowski wrote: > > GPIO_ACTIVE_x flags are not correct in the context of interrupt flags. > These are simple defines so they could be used in DTS but they will not > have the same meaning: > 1. GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE > 2. GPIO_ACTIVE_LOW =

Re: [PATCH] dt-bindings: arm: sunxi: update H2+/H3 cpu clocks

2020-09-09 Thread Wilken Gottwalt
On Wed, 9 Sep 2020 14:08:59 +0200 Maxime Ripard wrote: > Hi! > > Thanks for contributing > > The prefix isn't right though. > > dt-bindings is used when you're modifying the binding itself, ie the > description of what the node is supposed to look like, not when you > actually use that node in

[RESEND PATCH 0/8] Add machine check recovery when copying from user space

2020-09-09 Thread Tony Luck
Machine check recovery from uncorrected memory errors currently focusses primarily on errors that are detected while running in user mode. There is a mechanism for recovering from errors in kernel code, but it is currently only used for memcpy_mcsafe(). The existing recover actions for errors foun

Re: [EXT] [PATCH 0/5 REBASED to v5.9-rc4] Qlogic drivers: Convert to SPDX license identifiers

2020-09-09 Thread Greg Kroah-Hartman
On Wed, Sep 09, 2020 at 11:36:44AM +0200, Lukas Bulwahn wrote: > > > On Wed, 9 Sep 2020, Nilesh Javali wrote: > > > Lukas, > > > > I have Acked for the storage drivers and opt for option B below for spdx > > maintainers to pick. > > > > Thomas, Greg, > > We got everything straightened out wi

[PATCH for-next] io_uring: fix ctx refcounting in io_uring_enter()

2020-09-09 Thread Stefano Garzarella
If the ring is disabled we don't decrease the 'ctx' refcount since we wrongly jump to 'out_fput' label. Instead let's jump to 'out' label where we decrease the 'ctx' refcount. Fixes: 7ec3d1dd9378 ("io_uring: allow disabling rings during the creation") Signed-off-by: Stefano Garzarella --- fs/io

Re: [PATCH v6 1/2] dt-bindings: dma: Add bindings for intel LGM SOC

2020-09-09 Thread Vinod Koul
Hi Amireddy, On 09-09-20, 07:07, Amireddy Mallikarjuna reddy wrote: > Add DT bindings YAML schema for DMA controller driver > of Lightning Mountain(LGM) SoC. > > Signed-off-by: Amireddy Mallikarjuna reddy > > --- > v1: > - Initial version. > > v2: > - Fix bot errors. > > v3: > - No change. >

Re: [PATCH v3 00/23] Use asm-generic for mmu_context no-op functions

2020-09-09 Thread Arnd Bergmann
On Wed, 2 Sep 2020 00:15:16 +1000, Nicholas Piggin wrote: > It would be nice to be able to modify mmu_context functions or add a > hook without updating all architectures, many of which will be no-ops. > > The motivation for this series is a change to lazy mmu handling, but > this series stands on

RE: [EXT] [PATCH v1] spi: spi-nxp-fspi: Add ACPI support

2020-09-09 Thread Ashish Kumar
Hi Kuldeep Dwivedi, > -Original Message- > From: kuldip dwivedi > Sent: Tuesday, September 8, 2020 11:32 AM > To: Ashish Kumar ; Yogesh Gaur > ; Mark Brown ; linux- > s...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: Varun Sethi ; Arokia Samy ; > kuldip dwivedi > Subject: [EXT] [P

Re: [PATCH v5 1/2] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

2020-09-09 Thread Viresh Kumar
On 09-09-20, 17:51, Hector Yuan wrote: > From: "Hector.Yuan" > > Add MT6779 cpufreq HW support. > > Signed-off-by: Hector.Yuan > --- > drivers/cpufreq/Kconfig.arm | 12 ++ > drivers/cpufreq/Makefile |1 + > drivers/cpufreq/mediatek-cpufreq-hw.c | 289 > ++

Re: [RFC PATCH] x86/mce: Make mce_rdmsrl() do a plain RDMSR only

2020-09-09 Thread Borislav Petkov
I guess something as straightforward as this: --- diff --git a/arch/x86/kernel/cpu/mce/core.c b/arch/x86/kernel/cpu/mce/core.c index 0ba24dfffdb2..9893caaf2696 100644 --- a/arch/x86/kernel/cpu/mce/core.c +++ b/arch/x86/kernel/cpu/mce/core.c @@ -373,10 +373,27 @@ static int msr_to_offset(u32 msr)

Re: [PATCH 1/2] ASoC: tlv320adcx140: Avoid accessing invalid gpio_reset

2020-09-09 Thread Mark Brown
On Wed, Sep 09, 2020 at 12:06:45PM +0200, Camel Guo wrote: > On 9/8/20 7:20 PM, Mark Brown wrote: > > Applied to > > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next > I think it is "ASoC: tlv320adcx140: Wake up codec before register setting" > that is applied to for ne

Re: RCU: Question rcu_preempt_blocked_readers_cgp in rcu_gp_fqs_loop func

2020-09-09 Thread Paul E. McKenney
On Wed, Sep 09, 2020 at 07:03:39AM +, Zhang, Qiang wrote: > > When config preempt RCU, and then there are multiple levels node, the > current task is preempted in rcu read critical region. > the current task be add to "rnp->blkd_tasks" link list, and the > "rnp->gp_tasks" may be assi

Re: [RFC 0/5] disable pcplists during page isolation

2020-09-09 Thread osalvador
On 2020-09-09 12:54, Vlastimil Babka wrote: Thanks! I expect no performance change while no isolation is in progress, as there are no new tests added in alloc/free paths. During page isolation there's a single drain instead of once-per-pageblock, which is a benefit. But the pcplists are effect

<    3   4   5   6   7   8   9   10   11   12   >