[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 ---

[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 +++

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

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

[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

[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 +++

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

[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

[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

[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() ---

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

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

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

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 @@

[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

[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

[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

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

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:

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. > >

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

[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

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

[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 ---

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

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]

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

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

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

Re: [RFC PATCH 0/8] memcg: Enable fine-grained per process memory control

2020-09-09 Thread Michal Hocko
[Sorry, this slipped through cracks] On Mon 24-08-20 12:58:50, Johannes Weiner wrote: > On Fri, Aug 21, 2020 at 09:37:16PM +0200, Peter Zijlstra wrote: [...] > > Arguably seeing the rate drop to near 0 is a very good point to consider > > running cgroup-OOM. > > Agreed. In the past, that's

Re: [PATCH v2 3/6] drm: Add SPI DBI host driver

2020-09-09 Thread Linus Walleij
Hi Paul, I looked a bit at this patch On Sat, Aug 22, 2020 at 6:33 PM Paul Cercueil wrote: > +config DRM_MIPI_DBI_SPI > + tristate "SPI host support for MIPI DBI" > + depends on DRM && OF && SPI I think you want to depend on SPI_HOST actually. > + struct gpio_desc *dc;

Re: [PATCH] fsync.2: ERRORS: add EIO and ENOSPC

2020-09-09 Thread Michael Kerrisk (man-pages)
[CC += Neil, since he wrote the text we're talking about] Hello Jan, On 9/9/20 1:21 PM, Jan Kara wrote: > On Wed 09-09-20 12:52:48, Michael Kerrisk (man-pages) wrote: >>> So the error state isn't really stored "on pages in the file mapping". >>> Current implementation (since 4.14) is that error

Re: [PATCH v2 3/7] mm/memory_hotplug: prepare passing flags to add_memory() and friends

2020-09-09 Thread David Hildenbrand
On 09.09.20 13:37, David Hildenbrand wrote: > On 09.09.20 13:24, Michael Ellerman wrote: >> David Hildenbrand writes: >>> On 09.09.20 09:17, Greg Kroah-Hartman wrote: On Tue, Sep 08, 2020 at 10:10:08PM +0200, David Hildenbrand wrote: > We soon want to pass flags, e.g., to mark added

Re: [RFT net] net: ipa: fix u32_replace_bits by u32p_xxx version

2020-09-09 Thread Alex Elder
On 9/9/20 7:02 AM, Vadym Kochan wrote: > Hi Alex, > > On Wed, Sep 09, 2020 at 06:53:17AM -0500, Alex Elder wrote: >> On 9/8/20 9:32 AM, Vadym Kochan wrote: >>> Looks like u32p_replace_bits() should be used instead of >>> u32_replace_bits() which does not modifies the value but returns the >>>

[PATCH -next] drm/bridge/tc358775: Remove unneeded semicolon

2020-09-09 Thread Zheng Bin
Fixes coccicheck warning: drivers/gpu/drm/bridge/tc358775.c:488:2-3: Unneeded semicolon Signed-off-by: Zheng Bin --- drivers/gpu/drm/bridge/tc358775.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/tc358775.c b/drivers/gpu/drm/bridge/tc358775.c

Re: [PATCH v8 6/6] at24: Support probing while off

2020-09-09 Thread Sakari Ailus
On Wed, Sep 09, 2020 at 01:56:34PM +0200, Bartosz Golaszewski wrote: > On Wed, Sep 9, 2020 at 1:11 PM Wolfram Sang wrote: > > > > > > > This currently conflicts with the fix I queued for at24 for v5.9. > > > Which tree is going to take this series? > > > > I recall we agreed on I2C. > > > >

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

2020-09-09 Thread Jason Gunthorpe
On Tue, Sep 08, 2020 at 03:27:58PM +0100, Matthew Wilcox wrote: > On Tue, Sep 08, 2020 at 10:05:11AM -0400, Zi Yan wrote: > > On 8 Sep 2020, at 7:57, David Hildenbrand wrote: > > > I have concerns if we would silently use 1~GB THPs in most scenarios > > > where be would have used 2~MB THP. I'd

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

2020-09-09 Thread Muchun Song
On Wed, Sep 9, 2020 at 5:59 PM Chris Down wrote: > > Muchun Song writes: > >1. Double the threshold currently hard coded as "10" with each iteration > >suggested by Vlastimil. It is also a good idea. > > I think this sounds reasonable, although I'd like to see what the difference > in >

nouveau: BUG: Invalid wait context

2020-09-09 Thread Mike Galbraith
Greetings, Box is an aging generic i4790 + GTX-980 desktop. [ 1143.133663] = [ 1143.133666] [ BUG: Invalid wait context ] [ 1143.133671] 5.9.0.g34d4ddd-preempt #2 Tainted: G S E [ 1143.133675] - [ 1143.133678] X/2015 is trying to

Re: [PATCH 2/3] perf list: Do not print 'Metric Groups:' unnecessarily

2020-09-09 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 09, 2020 at 02:58:48PM +0900, Namhyung Kim escreveu: > It was printed unconditionally even if nothing is printed. > Check if the output list empty when filter is given. > > Before: > $ ./perf list duration > > List of pre-defined events (to be used in -e): > > duration_time

Re: [PATCH kernel] srcu: Fix static initialization

2020-09-09 Thread Alexey Kardashevskiy
On 09/09/2020 21:50, Paul E. McKenney wrote: > On Wed, Sep 09, 2020 at 07:24:11PM +1000, Alexey Kardashevskiy wrote: >> >> >> On 09/09/2020 00:43, Alexey Kardashevskiy wrote: >>> init_srcu_struct_nodes() is called with is_static==true only internally >>> and when this happens, the srcu->sda is

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

2020-09-09 Thread Gerald Schaefer
On Tue, 8 Sep 2020 07:30:50 -0700 Dave Hansen wrote: > On 9/7/20 11:00 AM, Gerald Schaefer wrote: > > Commit 1a42010cdc26 ("s390/mm: convert to the generic get_user_pages_fast > > code") introduced a subtle but severe bug on s390 with gup_fast, due to > > dynamic page table folding. > > Would

Re: [PATCH 1/3] perf list: Remove dead code in argument check

2020-09-09 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 09, 2020 at 02:58:47PM +0900, Namhyung Kim escreveu: > The sep is already checked being not NULL. The code seems to be a > leftover from some refactoring. > > Signed-off-by: Namhyung Kim There is a missing --- separator from the description to the patch, I had to add it so that

Re: kernel BUG at /usr/src/kernel/lib/dynamic_debug.c:267!

2020-09-09 Thread Greg Kroah-Hartman
On Wed, Sep 09, 2020 at 10:00:25AM +0200, Petr Mladek wrote: > On Wed 2020-09-09 14:47:45, Masami Hiramatsu wrote: > > Hi Naresh, > > > > Thanks for reporting, it seems that you have run the > > kselftests/livepatch/test-livepatch.sh. > > Then, I think it is better to report to Livepatch

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

2020-09-09 Thread Hector Yuan
On Wed, 2020-09-09 at 16:59 +0530, Viresh Kumar wrote: > 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

Re: [PATCH V2 4/8] mmc: sdhci-msm: Unconditionally call dev_pm_opp_of_remove_table()

2020-09-09 Thread Ulf Hansson
On Wed, 9 Sep 2020 at 13:07, Viresh Kumar wrote: > > On 31-08-20, 12:57, Ulf Hansson wrote: > > On Mon, 31 Aug 2020 at 12:45, Viresh Kumar wrote: > > > > > > On 28-08-20, 10:43, Ulf Hansson wrote: > > > > On Fri, 28 Aug 2020 at 08:08, Viresh Kumar > > > > wrote: > > > > > > > > > >

[PATCH -next] io_uring: Remove unneeded semicolon

2020-09-09 Thread Zheng Bin
Fixes coccicheck warning: fs/io_uring.c:4242:13-14: Unneeded semicolon Signed-off-by: Zheng Bin --- fs/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/io_uring.c b/fs/io_uring.c index d00eb6bf6ce9..565a3e568766 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@

Re: [RFC 5/5] mm, page_alloc: disable pcplists during page isolation

2020-09-09 Thread David Hildenbrand
On 09.09.20 13:44, David Hildenbrand wrote: > On 09.09.20 13:36, Michal Hocko wrote: >> On Wed 09-09-20 12:48:54, Vlastimil Babka wrote: >>> Here's a version that will apply on top of next-20200908. The first 4 >>> patches need no change. >>> >>> 8< >>> >From

Re: [PATCH 1/3] perf list: Remove dead code in argument check

2020-09-09 Thread Namhyung Kim
Hi Arnaldo, On Wed, Sep 9, 2020 at 9:27 PM Arnaldo Carvalho de Melo wrote: > > Em Wed, Sep 09, 2020 at 02:58:47PM +0900, Namhyung Kim escreveu: > > The sep is already checked being not NULL. The code seems to be a > > leftover from some refactoring. > > > > Signed-off-by: Namhyung Kim > >

Re: [PATCH 2/3] dfl: add dfl bus support to MODULE_DEVICE_TABLE()

2020-09-09 Thread Tom Rix
On 9/7/20 10:48 PM, Xu Yilun wrote: > Device Feature List (DFL) is a linked list of feature headers within the > device MMIO space. It is used by FPGA to enumerate multiple sub features Do you mean a linked list in the pci config space ? > within it. Each feature can be uniquely identified by

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

2020-09-09 Thread Kuldip Dwivedi
> -Original Message- > From: Mark Brown > Sent: Wednesday, September 9, 2020 5:32 PM > To: kuldip dwivedi > Cc: Ashish Kumar ; Yogesh Gaur > ; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Varun Sethi ; Arokia Samy > > Subject: Re: [PATCH v1] spi: spi-nxp-fspi: Add ACPI

[PATCH -next 2/8] drm/amd/amdgpu: fix comparison pointer to bool warning in gfx_v10_0.c

2020-09-09 Thread Zheng Bin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:3563:5-31: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

[PATCH -next 6/8] drm/amd/amdgpu: fix comparison pointer to bool warning in uvd_v6_0.c

2020-09-09 Thread Zheng Bin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:1243:14-25: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c

[PATCH -next 4/8] drm/amd/amdgpu: fix comparison pointer to bool warning in sdma_v5_2.c

2020-09-09 Thread Zheng Bin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c:562:5-11: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c

[PATCH -next 5/8] drm/amd/amdgpu: fix comparison pointer to bool warning in si.c

2020-09-09 Thread Zheng Bin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/si.c:1342:5-10: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/gpu/drm/amd/amdgpu/si.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/si.c b/drivers/gpu/drm/amd/amdgpu/si.c

[PATCH -next 7/8] drm/amd/amdgpu: fix comparison pointer to bool warning in amdgpu_atpx_handler.c

2020-09-09 Thread Zheng Bin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c:619:15-49: WARNING: Comparison to bool drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c:629:15-49: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 4 ++-- 1

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

2020-09-09 Thread Jason Gunthorpe
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. RDMA has the same basic issues, this should should not be solved

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

2020-09-09 Thread Josh Poimboeuf
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 > > > @@ -38,6 +38,8 @@ SYM_FUNC_START(__put_user_1) > > > ENTER > > > cmp

Re: [PATCH 1/3] fpga: dfl: move dfl_device_id to mod_devicetable.h

2020-09-09 Thread Tom Rix
On 9/7/20 10:48 PM, Xu Yilun wrote: > In order to support MODULE_DEVICE_TABLE() for dfl device driver, this > patch moves struct dfl_device_id to mod_devicetable.h > > Signed-off-by: Xu Yilun > Signed-off-by: Wu Hao > Signed-off-by: Matthew Gerlach > Signed-off-by: Russ Weight > --- >

[PATCH] fs/read_write.c: remove extra space

2020-09-09 Thread ownia
Signed-off-by: ownia --- fs/read_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/read_write.c b/fs/read_write.c index 5db58b8c78d0..4cdbf45ced98 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -1497,7 +1497,7 @@ static ssize_t do_sendfile(int out_fd, int

Re: [PATCH 00/12] Convert WAR defines to config options

2020-09-09 Thread Thomas Bogendoerfer
On Mon, Aug 24, 2020 at 06:32:42PM +0200, Thomas Bogendoerfer wrote: > This patches convert workaround (WAR) defines into config options and > gets rid of mach-*/war.h files. > > Thomas Bogendoerfer (12): > MIPS: Convert R4600_V1_INDEX_ICACHEOP into a config option > MIPS: Convert

Re: [Linux-kernel-mentees] [PATCH] checkpatch: GIT_COMMIT_ID: handle commit messages with multiple quotes

2020-09-09 Thread Lukas Bulwahn
On Wed, 9 Sep 2020, Joe Perches wrote: > On Wed, 2020-09-09 at 13:32 +0200, Lukas Bulwahn wrote: > > dropped the maintainers. > > > > On Wed, 9 Sep 2020, Ayush wrote: > > > > > Sir, > > > > > > > As the mentor in the linux kernel community bridge program, I usually > > > > inform the

Re: [PATCH v2 01/15] scsi: megaraid_sas: use generic power management

2020-09-09 Thread Bjorn Helgaas
On Wed, Sep 09, 2020 at 03:33:15PM +0530, Vaibhav Gupta wrote: > On Tue, Sep 08, 2020 at 12:32:09PM -0500, Bjorn Helgaas wrote: > > On Mon, Jul 20, 2020 at 07:04:14PM +0530, Vaibhav Gupta wrote: > > > With legacy PM hooks, it was the responsibility of a driver to manage PCI > > > states and also

Re: [RFC 5/5] mm, page_alloc: disable pcplists during page isolation

2020-09-09 Thread Vlastimil Babka
On 9/9/20 1:36 PM, Michal Hocko wrote: > On Wed 09-09-20 12:48:54, Vlastimil Babka wrote: >> Here's a version that will apply on top of next-20200908. The first 4 >> patches need no change. >> >> 8< >> >From 8febc17272b8e8b378e2e5ea5e76b2616f029c5b Mon Sep 17 00:00:00 2001 >> From:

[PATCH net-next] net: cavium: Fix a bunch of kerneldoc parameter issues

2020-09-09 Thread Wang Hai
Rename ptp to ptp_info. Fix W=1 compile warnings (invalid kerneldoc): drivers/net/ethernet/cavium/common/cavium_ptp.c:94: warning: Excess function parameter 'ptp' description in 'cavium_ptp_adjfine' drivers/net/ethernet/cavium/common/cavium_ptp.c:141: warning: Excess function parameter 'ptp'

Re: [PATCH -next 0/8] drm/amd/amdgpu: fix comparison pointer to bool warning

2020-09-09 Thread Christian König
Acked-by: Christian König for the series. Am 09.09.20 um 15:07 schrieb Zheng Bin: Zheng Bin (8): drm/amd/amdgpu: fix comparison pointer to bool warning in gfx_v9_0.c drm/amd/amdgpu: fix comparison pointer to bool warning in gfx_v10_0.c drm/amd/amdgpu: fix comparison pointer to bool

[PATCH net-next] ath5k: fix 'mode' kernel-doc warning in ath5k_hw_pcu_init()

2020-09-09 Thread Wang Hai
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/ath5k/pcu.c:955: warning: Excess function parameter 'mode' description in 'ath5k_hw_pcu_init' This parameter is not in use. Remove it. Reported-by: Hulk Robot Signed-off-by: Wang Hai ---

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

2020-09-09 Thread Rik van Riel
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 as it requires a pre-allocation

Re: WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected (2)

2020-09-09 Thread syzbot
syzbot has bisected this issue to: commit f08e3888574d490b31481eef6d84c61bedba7a47 Author: Boqun Feng Date: Fri Aug 7 07:42:30 2020 + lockdep: Fix recursive read lock related safe->unsafe detection bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=13034be190 start

[PATCH -next 3/8] drm/amd/amdgpu: fix comparison pointer to bool warning in sdma_v5_0.c

2020-09-09 Thread Zheng Bin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c:619:5-11: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c

[PATCH -next 0/8] drm/amd/amdgpu: fix comparison pointer to bool warning

2020-09-09 Thread Zheng Bin
Zheng Bin (8): drm/amd/amdgpu: fix comparison pointer to bool warning in gfx_v9_0.c drm/amd/amdgpu: fix comparison pointer to bool warning in gfx_v10_0.c drm/amd/amdgpu: fix comparison pointer to bool warning in sdma_v5_0.c drm/amd/amdgpu: fix comparison pointer to bool warning in

Re: [PATCH 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-09-09 Thread Andrew Lunn
On Wed, Sep 09, 2020 at 12:36:38PM +0200, Pavel Machek wrote: > Hi! > > > > Add support for the iEi WT61P803 PUZZLE LED driver. > > > Currently only the front panel power LED is supported. > > > > > > This driver depends on the iEi WT61P803 PUZZLE MFD driver. > > > > Can we make it OF

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

2020-09-09 Thread Jason Gunthorpe
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 too.. > An madvise flag is a different beast;

Re: [PATCH 3/3] fpga: dfl: move dfl-bus related APIs to include/linux/fpga/dfl-bus.h

2020-09-09 Thread Tom Rix
On 9/7/20 10:48 PM, Xu Yilun wrote: > The patch moves dfl-bus related APIs to include/linux/fpga/dfl-bus.h Should add a line in the MAINTAINERS under FPGA DFL DRIVERS F:  include/linux/fpga/dfl-bus.h Otherwise a straight forward move. Looks good to me. Reviewed-by: Tom Rix > > Now the

Re: [PATCH v3] Improve perf option help information in perf.txt

2020-09-09 Thread Namhyung Kim
On Wed, Sep 9, 2020 at 6:53 PM Zejiang Tang wrote: > > Perf could use many options, such as:-vv, --exec-path, > --html-path, -p, --paginate,--no-pager, --debugfs-dir, > --buildid-dir, --list-cmds, --list-opts. Add these options > in perf.txt. > > Signed-off-by: Zejiang Tang Acked-by: Namhyung

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

2020-09-09 Thread Josh Poimboeuf
On Wed, Sep 09, 2020 at 07:46:51AM -0500, Josh Poimboeuf wrote: > 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

[PATCH -next 8/8] drm/amd/amdgpu: fix comparison pointer to bool warning in sdma_v4_0.c

2020-09-09 Thread Zheng Bin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:1003:4-9: WARNING: Comparison to bool drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:1083:5-11: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH -next 1/8] drm/amd/amdgpu: fix comparison pointer to bool warning in gfx_v9_0.c

2020-09-09 Thread Zheng Bin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c:2805:5-11: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

[PATCH] media: siano: fix memory leak of debugfs members in smsdvb_hotplug

2020-09-09 Thread Keita Suzuki
When dvb_create_media_graph fails, the debugfs kept inside client should be released. However, the current implementation does not release them. Fix this by adding a new goto label to call smsdvb_debugfs_release. Fixes: 0d3ab8410dcb ("[media] dvb core: must check dvb_create_media_graph()")

Re: [PATCH] sched/deadline: Fix stale throttling on de-/boosted tasks

2020-09-09 Thread Lucas Stach
On Mi, 2020-09-02 at 11:43 +0200, pet...@infradead.org wrote: > On Wed, Sep 02, 2020 at 08:00:24AM +0200, Juri Lelli wrote: > > On 31/08/20 13:07, Lucas Stach wrote: > > > When a boosted task gets throttled, what normally happens is that it's > > > immediately enqueued again with

Re: [PATCH v7 71/72] x86/efi: Add GHCB mappings when SEV-ES is active

2020-09-09 Thread Laszlo Ersek
On 09/09/20 10:27, Ard Biesheuvel wrote: > (adding Laszlo and Brijesh) > > On Tue, 8 Sep 2020 at 20:46, Borislav Petkov wrote: >> >> + Ard so that he can ack the efi bits. >> >> On Mon, Sep 07, 2020 at 03:16:12PM +0200, Joerg Roedel wrote: >>> From: Tom Lendacky >>> >>> Calling down to EFI

Re: [RFC 5/5] mm, page_alloc: disable pcplists during page isolation

2020-09-09 Thread Pavel Tatashin
> because we do not want to call out pcp free lists). I strongly suspect > that only the memory hotplug really cares for this hard guanrantee. > alloc_contig_range simply goes with EBUSY. > You are right, the strong requirement is for hotplug case only, but if PCP disable/enable functionality is

Re: [PATCH 4/5] drm/panfrost: add amlogic reset quirk callback

2020-09-09 Thread Neil Armstrong
Hi, On 09/09/2020 14:23, Steven Price wrote: > On 08/09/2020 16:18, Neil Armstrong wrote: >> The T820, G31 & G52 GPUs integratewd by Amlogic in the respective GXM, >> G12A/SM1 & G12B >> SoCs needs a quirk in the PWR registers at the GPU reset time. >> >> Since the documentation of the GPU cores

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