[PATCH 5/6] mm: Replace PF_MEMALLOC_NOIO with memalloc_nocma

2020-06-25 Thread Matthew Wilcox (Oracle)
We're short on PF_* flags, so make memalloc_nocma its own bit where we have plenty of space. Signed-off-by: Matthew Wilcox (Oracle) --- include/linux/sched.h| 2 +- include/linux/sched/mm.h | 15 +++ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/include/linux/sc

[PATCH 2/6] mm: Add become_kswapd and restore_kswapd

2020-06-25 Thread Matthew Wilcox (Oracle)
Since XFS needs to pretend to be kswapd in some of its worker threads, create methods to save & restore kswapd state. Don't bother restoring kswapd state in kswapd -- the only time we reach this code is when we're exiting and the task_struct is about to be destroyed anyway. Signed-off-by: Matthew

[PATCH 6/6] mm: Add memalloc_nowait

2020-06-25 Thread Matthew Wilcox (Oracle)
Similar to memalloc_noio() and memalloc_nofs(), memalloc_nowait() guarantees we will not sleep to reclaim memory. Use it to simplify dm-bufio's allocations. Signed-off-by: Matthew Wilcox (Oracle) --- drivers/md/dm-bufio.c| 30 -- include/linux/sched.h| 1 +

[PATCH 1/6] mm: Replace PF_MEMALLOC_NOIO with memalloc_noio

2020-06-25 Thread Matthew Wilcox (Oracle)
We're short on PF_* flags, so make memalloc_noio its own bit where we have plenty of space. Signed-off-by: Matthew Wilcox (Oracle) --- drivers/block/loop.c | 3 ++- drivers/md/dm-zoned-metadata.c | 5 ++--- include/linux/sched.h | 2 +- include/linux/sched/mm.h | 30 +

[PATCH 0/6] Overhaul memalloc_no*

2020-06-25 Thread Matthew Wilcox (Oracle)
I want a memalloc_nowait like we have memalloc_noio and memalloc_nofs for an upcoming patch series, and Jens also wants it for non-blocking io_uring. It turns out we already have dm-bufio which could benefit from memalloc_nowait, so it may as well go into the tree now. The biggest problem is that

Re: [PATCH V2 1/2] PCI: Add ACPI StorageD3Enable _DSD support

2020-06-25 Thread Rafael J. Wysocki
On Wed, Jun 24, 2020 at 11:15 PM Bjorn Helgaas wrote: > > On Fri, Jun 12, 2020 at 01:48:19PM -0700, David E. Box wrote: > > StorageD3Enable is a boolean property that indicates that the platform > > wants to use D3 for PCIe storage drives during suspend-to-idle. It is a > > BIOS work around that i

Re: brocken devfreq simple_ondemand for Odroid XU3/4?

2020-06-25 Thread Kamil Konieczny
Hi Lukasz, On 25.06.2020 12:02, Lukasz Luba wrote: > Hi Sylwester, > > On 6/24/20 4:11 PM, Sylwester Nawrocki wrote: >> Hi All, >> >> On 24.06.2020 12:32, Lukasz Luba wrote: >>> I had issues with devfreq governor which wasn't called by devfreq >>> workqueue. The old DELAYED vs DEFERRED work discu

Re: [PATCH stable 4.9 00/21] Unbreak 32-bit DVB applications on 64-bit kernels

2020-06-25 Thread Sean Young
On Tue, Jun 23, 2020 at 09:13:34PM +0200, Greg KH wrote: > On Fri, Jun 05, 2020 at 09:24:57AM -0700, Florian Fainelli wrote: > > Hi all, > > > > This long patch series was motivated by backporting Jaedon's changes > > which add a proper ioctl compatibility layer for 32-bit applications > > running

Re: [rcu:rcu/next 35/35] kernel/rcu/tree.c:251:8: error: implicit declaration of function 'arch_atomic_add_return'; did you mean

2020-06-25 Thread Peter Zijlstra
On Thu, Jun 25, 2020 at 11:55:13AM +0200, Marco Elver wrote: > On Wed, 24 Jun 2020 at 22:30, Paul E. McKenney wrote: > > diff --git a/include/linux/atomic-fallback.h > > b/include/linux/atomic-fallback.h > > index 2c4927b..b7935857 100644 > > --- a/include/linux/atomic-fallback.h > > +++ b/inclu

Re: [PATCH v3 3/8] mm/hugetlb: unify migration callbacks

2020-06-25 Thread Michal Hocko
On Tue 23-06-20 15:13:43, Joonsoo Kim wrote: > From: Joonsoo Kim > > There is no difference between two migration callback functions, > alloc_huge_page_node() and alloc_huge_page_nodemask(), except > __GFP_THISNODE handling. This patch adds an argument, gfp_mask, on > alloc_huge_page_nodemask() a

Re: [PATCH v3 2/2] sched/uclamp: Protect uclamp fast path code with static key

2020-06-25 Thread Valentin Schneider
On 25/06/20 12:00, Qais Yousef wrote: > Hi Valentin > > On 06/25/20 01:16, Valentin Schneider wrote: >> In schedutil_cpu_util(), when uclamp isn't compiled it, we have an explicit >> 'goto max'. When uclamp *is* compiled in, that's taken care of by the >> "natural" RT uclamp aggregation... Which

Re: [PATCH] mm: Skip opportunistic reclaim for dma pinned pages

2020-06-25 Thread Jan Kara
On Wed 24-06-20 17:11:30, John Hubbard wrote: > On 2020-06-24 16:20, Jason Gunthorpe wrote: > > > I do like this code change, though. And I *think* it's actually safe to > > > do this, as it stays away from writeback or other filesystem activity. > > > But let me double check that, in case I'm forg

Re: [PATCH 10/19] perf ftrace: add support for trace option funcgraph-tail

2020-06-25 Thread Changbin Du
Hi Arnaldo, First appologize for so long dealy! Maybe you have forgot the context of this serias ;) On Wed, May 20, 2020 at 06:05:09PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, May 10, 2020 at 11:06:19PM +0800, Changbin Du escreveu: > > This adds an option '--funcgraph-tail' for function

Re: Search function in xconfig is partially broken after recent changes

2020-06-25 Thread Mauro Carvalho Chehab
Em Thu, 25 Jun 2020 12:59:15 +0200 Mauro Carvalho Chehab escreveu: > Hi Maxim, > > Em Thu, 25 Jun 2020 12:25:10 +0300 > Maxim Levitsky escreveu: > > > Hi! > > > > I noticed that on recent kernels the search function in xconfig is > > partially broken. > > This means that when you select a fo

Re: [PATCH v2 2/2] arm64: mm: reserve per-numa CMA after numa_init

2020-06-25 Thread Robin Murphy
On 2020-06-25 08:43, Barry Song wrote: Right now, smmu is using dma_alloc_coherent() to get memory to save queues and tables. Typically, on ARM64 server, there is a default CMA located at node0, which could be far away from node2, node3 etc. with this patch, smmu will get memory from local numa n

Re: [PATCH] cpufreq: Fix locking issues with governors

2020-06-25 Thread Quentin Perret
Hey Viresh On Thursday 25 Jun 2020 at 16:24:16 (+0530), Viresh Kumar wrote: > The locking around governors handling isn't adequate currently. The list > of governors should never be traversed without locking in place. Also we > must make sure the governor isn't removed while it is still referenced

Re: [PATCH v2 0/2] remove workarounds for gcc bug wrt unnamed fields in initializers

2020-06-25 Thread Niklas Cassel
On Wed, Jun 24, 2020 at 10:40:21PM +, Chaitanya Kulkarni wrote: > Christoph, Sagi and Keith, > > On 6/24/20 9:44 AM, Christoph Hellwig wrote: > > This looks good to me, but I'd rather wait a few releases to > > avoid too mush backporting pain. > > > > Here is a summary, for longer explanatio

Re: [PATCH v2 1/2] dma-direct: provide the ability to reserve per-numa CMA

2020-06-25 Thread Robin Murphy
On 2020-06-25 08:43, Barry Song wrote: This is useful for at least two scenarios: 1. ARM64 smmu will get memory from local numa node, it can save its command queues and page tables locally. Tests show it can decrease dma_unmap latency at lot. For example, without this patch, smmu on node2 will ge

Re: [PATCH] media: i2c: tvp5150: Fix horizontal crop stop boundry

2020-06-25 Thread Hans Verkuil
On 17/09/2019 09:14, Robin van der Gracht wrote: > The value for AVID stop is relative to the width of the active video area, > not the maximum register value. Zero means equal and a negative value means > we're cropping on the right side. While going through old unreviewed patches I came across t

Re: [RFC] MFD's relationship with Device Tree (OF)

2020-06-25 Thread Michael Walle
Am 2020-06-25 08:13, schrieb Lee Jones: On Wed, 24 Jun 2020, Frank Rowand wrote: On 2020-06-22 16:03, Michael Walle wrote: > Am 2020-06-14 12:26, schrieb Michael Walle: >> Hi Rob, >> >> Am 2020-06-10 00:03, schrieb Rob Herring: >> [..] >>> Yes, we should use 'reg' whenever possible. If we don't

Re: [PATCH 2/2] clocksource: Ingenic: Add support for the Ingenic X1000 OST.

2020-06-25 Thread kernel test robot
g git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Zhou-Yanjie/Add-support-for-the-OST-in-Ingenic-X1000/20200625-005621 base: https://git.kernel.org/pub/scm/

Re: [PATCH v3 2/2] sched/uclamp: Protect uclamp fast path code with static key

2020-06-25 Thread Qais Yousef
Hi Valentin On 06/25/20 01:16, Valentin Schneider wrote: > > Hi Qais, > > On 24/06/20 18:26, Qais Yousef wrote: > [...] > > --- > > > > This takes a different approach to PSI which introduces a config option > > > > ``` > > CONFIG_PSI_DEFAULT_DISABLED > > > > Require boot parameter

Re: Search function in xconfig is partially broken after recent changes

2020-06-25 Thread Mauro Carvalho Chehab
Hi Maxim, Em Thu, 25 Jun 2020 12:25:10 +0300 Maxim Levitsky escreveu: > Hi! > > I noticed that on recent kernels the search function in xconfig is partially > broken. > This means that when you select a found entry, it is not selected in the main > window, > something that I often do to find

Re: [PATCH v4 3/7] ACPI: button: Access input device's users under appropriate mutex

2020-06-25 Thread Rafael J. Wysocki
On Thu, Jun 25, 2020 at 7:23 AM Dmitry Torokhov wrote: > > On Wed, Jun 24, 2020 at 05:00:09PM +0200, Rafael J. Wysocki wrote: > > On Mon, Jun 8, 2020 at 1:22 PM Andrzej Pietrasiewicz > > wrote: > > > > > > Inspecting input device's 'users' member should be done under device's > > > mutex, so add

[PATCH] cpufreq: Fix locking issues with governors

2020-06-25 Thread Viresh Kumar
The locking around governors handling isn't adequate currently. The list of governors should never be traversed without locking in place. Also we must make sure the governor isn't removed while it is still referenced by code. Reported-by: Quentin Perret Signed-off-by: Viresh Kumar --- drivers/c

Re: [PATCH v2 2/2] cpufreq: Specify default governor on command line

2020-06-25 Thread Rafael J. Wysocki
On Thu, Jun 25, 2020 at 10:50 AM Viresh Kumar wrote: > > On 24-06-20, 16:32, Quentin Perret wrote: > > Right, but I must admit that, looking at this more, I'm getting a bit > > confused with the overall locking for governors :/ > > > > When in cpufreq_init_policy() we find a governor using > > fin

Re: ath9k broken [was: Linux 5.7.3]

2020-06-25 Thread Gabriel C
Am Do., 25. Juni 2020 um 12:48 Uhr schrieb Gabriel C : > > Am Do., 25. Juni 2020 um 06:57 Uhr schrieb Jiri Slaby : > > > > On 25. 06. 20, 0:05, Gabriel C wrote: > > > Am Mi., 17. Juni 2020 um 18:13 Uhr schrieb Greg Kroah-Hartman > > > : > > >> > > >> I'm announcing the release of the 5.7.3 kernel.

Re: [PATCH] tty: serial: fsl_lpuart: minimum baud rate support

2020-06-25 Thread Greg KH
On Thu, Jun 25, 2020 at 10:12:54AM +, Vabhav Sharma (OSS) wrote: > > > > -Original Message- > > From: Greg KH > > Sent: Thursday, June 25, 2020 3:34 PM > > To: Vabhav Sharma (OSS) > > Cc: jsl...@suse.com; linux-ser...@vger.kernel.org; linux- > > ker...@vger.kernel.org; Varun Sethi ;

Re: ath9k broken [was: Linux 5.7.3]

2020-06-25 Thread Gabriel C
Am Do., 25. Juni 2020 um 06:57 Uhr schrieb Jiri Slaby : > > On 25. 06. 20, 0:05, Gabriel C wrote: > > Am Mi., 17. Juni 2020 um 18:13 Uhr schrieb Greg Kroah-Hartman > > : > >> > >> I'm announcing the release of the 5.7.3 kernel. > >> > > > > Hello Greg, > > > >> Qiujun Huang (5): > >> ath9k: F

Re: [PATCH 2/2][v3] PM / s2idle: Code cleanup to make s2idle consistent with normal idle path

2020-06-25 Thread Rafael J. Wysocki
On Thu, Jun 25, 2020 at 7:14 AM Chen Yu wrote: > > Hi Rafael, > On Tue, Jun 23, 2020 at 07:57:59PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > Subject: [PATCH] cpuidle: Rearrange s2idle-specific idle state entry code > > > > Implement call_cpuidle_s2idle() in analogy with call

Re: [PATCH] sched/cfs: change initial value of runnable_avg

2020-06-25 Thread Holger Hoffstätte
On 2020-06-25 11:56, Vincent Guittot wrote: On Thu, 25 Jun 2020 at 11:24, Holger Hoffstätte wrote: On 2020-06-24 17:44, Vincent Guittot wrote: Some performance regression on reaim benchmark have been raised with commit 070f5e860ee2 ("sched/fair: Take into account runnable_avg to classify

Re: [RFC][PATCH v5 03/51] objtool: Make recordmcount into mcount subcmd

2020-06-25 Thread Miroslav Benes
On Thu, 18 Jun 2020, Matt Helsley wrote: > Rather than a standalone executable merge recordmcount as a sub command > of objtool. This is a small step towards cleaning up recordmcount and > eventually sharing ELF code with objtool. > > For the initial step all that's required is a bit of Makefile

Re: [PATCH] intel_idle: Fix uninitialized variable bug

2020-06-25 Thread Rafael J. Wysocki
On Thu, Jun 25, 2020 at 11:05 AM Dan Carpenter wrote: > > On Wed, Jun 24, 2020 at 03:41:05PM +0200, Rafael J. Wysocki wrote: > > On Wed, Jun 24, 2020 at 3:19 PM Dan Carpenter > > wrote: > > > > > > The "tick" variable isn't initialized if "lapic_timer_always_reliable" > > > is true. > > > > If l

Re: [PATCH 1/3] v4l2-subdev: Add subdev ioctl support for ENUM/GET/SET INPUT

2020-06-25 Thread Hans Verkuil
On 25/06/2020 12:29, Laurent Pinchart wrote: > Hi Ramzi, > > On Thu, Jun 25, 2020 at 12:18:35PM +0200, Ramzi Ben Meftah wrote: >> On Thu, Jun 25, 2020 at 12:47:24PM +0300, Laurent Pinchart wrote: >>> On Thu, Jun 25, 2020 at 11:30:46AM +0200, Ramzi Ben Meftah wrote: On Thu, Jun 25, 2020 at 05:

Re: [PATCH 3/8] backlight: ili922x: Add missing kerneldoc descriptions for CHECK_FREQ_REG() args

2020-06-25 Thread Lee Jones
On Thu, 25 Jun 2020, Daniel Thompson wrote: > On Wed, Jun 24, 2020 at 03:57:16PM +0100, Lee Jones wrote: > > Kerneldoc syntax is used, but not complete. Descriptions required. > > > > Prevents warnings like: > > > > drivers/video/backlight/ili922x.c:116: warning: Function parameter or > > mem

[PATCH] arm64: Add KRYO{3,4}XX silver CPU cores to SSB safelist

2020-06-25 Thread Sai Prakash Ranjan
QCOM KRYO{3,4}XX silver/LITTLE CPU cores are based on Cortex-A55 and are SSB safe, hence add them to SSB safelist -> arm64_ssb_cpus[]. Reported-by: Stephen Boyd Signed-off-by: Sai Prakash Ranjan --- arch/arm64/kernel/cpu_errata.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/

Re: [PATCH 1/3] v4l2-subdev: Add subdev ioctl support for ENUM/GET/SET INPUT

2020-06-25 Thread Laurent Pinchart
Hi Ramzi, On Thu, Jun 25, 2020 at 12:18:35PM +0200, Ramzi Ben Meftah wrote: > On Thu, Jun 25, 2020 at 12:47:24PM +0300, Laurent Pinchart wrote: > > On Thu, Jun 25, 2020 at 11:30:46AM +0200, Ramzi Ben Meftah wrote: > >> On Thu, Jun 25, 2020 at 05:01:38AM +0300, Laurent Pinchart wrote: > >>> On Wed,

[PATCH v14 3/3] Input: new da7280 haptic driver

2020-06-25 Thread Roy Im
Adds support for the Dialog DA7280 LRA/ERM Haptic Driver with multiple mode and integrated waveform memory and wideband support. It communicates via an I2C bus to the device. Signed-off-by: Roy Im --- v14: - Updated pwm related code, alignments and comments. v13: - Updated some c

[PATCH v14 0/3] da7280: haptic driver submission

2020-06-25 Thread Roy Im
This patch adds support for the Dialog DA7280 Haptic driver IC. In this patch set the following is provided: [PATCH v14 1/3] MAINTAINERS file update for DA7280 [PATCH v14 2/3] DA7280 DT Binding [PATCH v14 3/3] DA7280 Driver This patch applies against linux-next and v5.8-rc2 Thank you, Roy Im, D

[PATCH v14 1/3] MAINTAINERS: da7280 updates to the Dialog Semiconductor search terms

2020-06-25 Thread Roy Im
This patch adds the da7280 bindings doc and driver to the Dialog Semiconductor support list. Signed-off-by: Roy Im --- v14: No changes. v13: No changes. v12: Corrected file list order. v11: No changes. v10: No changes. v9: No changes. v8: No changes. v7: No changes. v6: No changes. v5: No change

[PATCH v14 2/3] dt-bindings: input: Add document bindings for DA7280

2020-06-25 Thread Roy Im
Add device tree binding information for DA7280 haptic driver. Example bindings for DA7280 are added. Reviewed-by: Rob Herring . Signed-off-by: Roy Im --- v14: No changes. v13: No changes. v12: No changes. v11: No changes. v10: No changes. v9: No changes. v8: Updated descriptions for new propert

Re: [PATCH 09/22] gpiolib: cdev: rename priv to gcdev

2020-06-25 Thread Bartosz Golaszewski
On Thu, Jun 25, 2020 at 1:16 AM Kent Gibson wrote: > > On Wed, Jun 24, 2020 at 04:20:49PM +0200, Bartosz Golaszewski wrote: > > śr., 24 cze 2020 o 16:19 Kent Gibson napisał(a): > > > > > > On Wed, Jun 24, 2020 at 04:04:09PM +0200, Bartosz Golaszewski wrote: > > > > wt., 23 cze 2020 o 06:02 Kent G

RE: [EXT] [PATCH v2] scsi: ufs: Disable WriteBooster capability in non-supported UFS device

2020-06-25 Thread Bean Huo (beanhuo)
> > If UFS device is not qualified to enter the detection of WriteBooster probing > by > disallowed UFS version or device quirks, then WriteBooster capability in host > shall be disabled to prevent any WriteBooster operations in the future. > > Fixes: 3d17b9b5ab11 ("scsi: ufs: Add write booster

Re: [PATCH] cpufreq: schedutil: force frequency update when limits change

2020-06-25 Thread Viresh Kumar
On 24-06-20, 23:46, Wei Wang wrote: > To avoid reducing the frequency of a CPU prematurely, we skip reducing > the frequency if the CPU had been busy recently. > > This should not be done when the limits of the policy are changed, for > example due to thermal throttling. We should always get the f

Re: [PATCH] soc: qcom: rpmh: Remove serialization of TCS commands

2020-06-25 Thread Maulik Shah
Hi, On 6/19/2020 9:57 AM, Doug Anderson wrote: Hi, On Fri, May 29, 2020 at 3:52 AM Maulik Shah wrote: From: Lina Iyer Requests sent to RPMH can be sent as fire-n-forget or response required, with the latter ensuring the command has been completed by the hardware accelerator. Commands in a r

Re: [PATCH v2] Bluetooth: btusb: Reset port on cmd timeout

2020-06-25 Thread Oliver Neukum
Am Mittwoch, den 24.06.2020, 11:11 -0700 schrieb Abhishek Pandit- Subedi: > QCA_ROME sometimes gets into a state where it is unresponsive to > commands. Since it doesn't have support for a reset gpio, reset the usb > port when this occurs instead. Hi, on first glance this looks like an unbalanced

Warning triggered in drm_dp_delayed_destroy_work workqueue

2020-06-25 Thread Luis Henriques
Hi! I've been seeing this warning occasionally, not sure if it has been reported yet. It's not a regression as I remember seeing it in, at least, 5.7. Anyway, here it is: [ cut here ] sysfs group 'power' not found for kobject 'i2c-7' WARNING: CPU: 1 PID: 17996 at fs/sysf

[PATCH] firmware: arm_scmi: Use HAVE_ARM_SMCCC_DISCOVERY instead of ARM_PSCI_FW

2020-06-25 Thread Sudeep Holla
Commit e5bfb21d98b6 ("firmware: smccc: Add HAVE_ARM_SMCCC_DISCOVERY to identify SMCCC v1.1 and above") introduced new config option to identify the availability of SMCCC discoverability of version and features transparently hiding the indirect dependency on ARM_PSCI_FW. Commit 5a897e3ab429 ("firmw

Re: [RESEND PATCH v5 3/5] drivers core: allow probe_err accept integer and pointer types

2020-06-25 Thread Andrzej Hajda
On 25.06.2020 10:41, Andy Shevchenko wrote: > On Wed, Jun 24, 2020 at 10:40 PM Andrzej Hajda wrote: >> On 24.06.2020 17:16, Robin Murphy wrote: > ... > >> I have proposed such thing in my previous iteration[1], except it was >> macro because of variadic arguments. > You may have a function with

[PATCH v2 5/7] arm64: dts: mt8183-evb: Fix unit name warnings

2020-06-25 Thread Enric Balletbo i Serra
Remove the unit address from the DT nodes that doesn't have a reg property. This fixes the following unit name warnings: Warning (unit_address_vs_reg): /soc/pinctrl@10005000/mmc0@0: node has a unit name, but no reg or ranges property Warning (unit_address_vs_reg): /soc/pinctrl@10005000/mm

[PATCH v2 7/7] arm64: dts: mt8183: Add krane-sku176 board

2020-06-25 Thread Enric Balletbo i Serra
Also known as the Lenovo IdeaPad Duet Chromebook. There are different krane boards with shared resources, hence a mt8183-kukui-krane.dtsi was created for easily introduce future new boards. The same happens with the baseboard codenamed kukui where different variants, apart from kukui variant can t

[PATCH v2 3/7] arm64: dts: mt8183: Add MediaTek's peripheral configuration controller

2020-06-25 Thread Enric Balletbo i Serra
The MediaTek's peripheral configuration controller is present on the MT8183 SoC. Add the node for that controller. Signed-off-by: Enric Balletbo i Serra --- Changes in v2: None arch/arm64/boot/dts/mediatek/mt8183.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dt

[PATCH v2 6/7] arm64: dts: mt8183: Add USB3.0 support

2020-06-25 Thread Enric Balletbo i Serra
Add the USB3.0 phyter and controller for the MediaTek's MT8183 SoC. Signed-off-by: Enric Balletbo i Serra --- Changes in v2: - Move adding #phy-cells to this patch. (Matthias Brugger) arch/arm64/boot/dts/mediatek/mt8183.dtsi | 58 1 file changed, 58 insertions(+) diff

Re: [PATCH 1/3] v4l2-subdev: Add subdev ioctl support for ENUM/GET/SET INPUT

2020-06-25 Thread Ramzi Ben Meftah
Hi Laurent, On Thu, Jun 25, 2020 at 12:47:24PM +0300, Laurent Pinchart wrote: > Hi Ramzi, > > On Thu, Jun 25, 2020 at 11:30:46AM +0200, Ramzi Ben Meftah wrote: > > On Thu, Jun 25, 2020 at 05:01:38AM +0300, Laurent Pinchart wrote: > > > On Wed, Jun 24, 2020 at 09:53:07AM +0200, Jacopo Mondi wrote:

[PATCH v2 1/7] dt-bindings: arm64: dts: mediatek: Add mt8183-kukui-krane-sku176

2020-06-25 Thread Enric Balletbo i Serra
The krane-sku176 is the Lenovo IdeaPad Duet Chromebook. A 2-in-1 detachable device using the MediaTek MT8183 SoC. Signed-off-by: Enric Balletbo i Serra --- Changes in v2: None Documentation/devicetree/bindings/arm/mediatek.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documenta

[PATCH v2 4/7] arm64: dts: mt8183: Fix unit name warnings

2020-06-25 Thread Enric Balletbo i Serra
Remove the unit address from the DT nodes that doesn't have a reg property. This fixes the following unit name warnings: Warning (unit_address_vs_reg): /cpus/idle-states/cluster-sleep@0: node has a unit name, but no reg or ranges property Warning (unit_address_vs_reg): /cpus/idle-states/clust

[PATCH v2 2/7] arm64: dts: mt6358: Add the compatible for the regulators

2020-06-25 Thread Enric Balletbo i Serra
The regulators are expected to be instantiated with matching the device-tree compatible, so add the proper compatible name under the regulators node. Signed-off-by: Enric Balletbo i Serra --- Changes in v2: None arch/arm64/boot/dts/mediatek/mt6358.dtsi | 2 ++ 1 file changed, 2 insertions(+)

[PATCH v2 0/7] arm64: dts: mediatek: Add support for Lenovo IdeaPad Duet Chromebook

2020-06-25 Thread Enric Balletbo i Serra
These series adds basic support for the Lenovo IdeaPad Duet Chromebook, a 2-in-1 detachable devices using the MediaTek MT8183 SoC. The first patch only adds the new compatible names in the mediatek binding. The second patch, adds the missing compatible to instantiate the PMIC regulators. The next p

Re: [PATCH v33 08/21] x86/sgx: Initialize metadata for Enclave Page Cache (EPC) sections

2020-06-25 Thread Borislav Petkov
On Thu, Jun 18, 2020 at 01:08:30AM +0300, Jarkko Sakkinen wrote: > +static inline struct sgx_epc_section *sgx_get_epc_section( > + struct sgx_epc_page *page) Just let it stick out - breaking lines on arg opening brace are the ugliest. Also: bdc48fa11e46 ("checkpatch/coding-style: de

RE: [PATCH] tty: serial: fsl_lpuart: minimum baud rate support

2020-06-25 Thread Vabhav Sharma (OSS)
> -Original Message- > From: Greg KH > Sent: Thursday, June 25, 2020 3:34 PM > To: Vabhav Sharma (OSS) > Cc: jsl...@suse.com; linux-ser...@vger.kernel.org; linux- > ker...@vger.kernel.org; Varun Sethi ; Vabhav Sharma > > Subject: Re: [PATCH] tty: serial: fsl_lpuart: minimum baud rate

Re: [PATCH] lockdep: Move list.h inclusion into lockdep.h

2020-06-25 Thread Petr Mladek
On Wed 2020-06-24 22:42:12, Herbert Xu wrote: > On Tue, Jun 23, 2020 at 04:28:58PM +0200, Petr Mladek wrote: > > > > My "allmodconfig" build has successfully finished with the following extra > > fix on top of the two patches: > > > > diff --git a/include/linux/list.h b/include/linux/list.h > > i

Re: [PATCH 6/7] iommu/vt-d: Warn on out-of-range invalidation address

2020-06-25 Thread Lu Baolu
Hi, On 2020/6/23 23:43, Jacob Pan wrote: For guest requested IOTLB invalidation, address and mask are provided as part of the invalidation data. VT-d HW silently ignores any address bits below the mask. SW shall also allow such case but give warning if address does not align with the mask. This

[PATCH 2/2] clk: at91: main: do not continue if oscillators already prepared

2020-06-25 Thread Claudiu Beznea
Return in clk_main_osc_prepare()/clk_main_rc_osc_prepare() if oscillators are already enabled. Fixes: 27cb1c2083373 ("clk: at91: rework main clk implementation") Fixes: 1bdf02326b71e ("clk: at91: make use of syscon/regmap internally") Signed-off-by: Claudiu Beznea --- drivers/clk/at91/clk-main.c

Re: [PATCH v4] IB/sa: Resolving use-after-free in ib_nl_send_msg

2020-06-25 Thread Leon Romanovsky
On Tue, Jun 23, 2020 at 07:13:09PM -0700, Divya Indi wrote: > Commit 3ebd2fd0d011 ("IB/sa: Put netlink request into the request list before > sending")' > - > 1. Adds the query to the request list before ib_nl_snd_msg. > 2. Moves ib_nl_send_msg out of spinlock, hence safe to use gfp_mask as is. >

[PATCH 1/2] clk: at91: remove the checking of parent_name

2020-06-25 Thread Claudiu Beznea
There is no need to check parent_name variable while assigning it to init.parent_names. parent_name variable is already checked at the beginning of at91_clk_register_sam9x5_peripheral() function. Same thing with init.num_parents: it could only be 1. Fixes: 6114067e437eb ("clk: at91: add PMC periph

Re: [PATCH 4/7] iommu/vt-d: Handle non-page aligned address

2020-06-25 Thread Lu Baolu
Hi, On 2020/6/23 23:43, Jacob Pan wrote: From: Liu Yi L Address information for device TLB invalidation comes from userspace when device is directly assigned to a guest with vIOMMU support. VT-d requires page aligned address. This patch checks and enforce address to be page aligned, otherwise

Re: process '/usr/bin/rsync' started with executable stack

2020-06-25 Thread Dan Carpenter
On Wed, Jun 24, 2020 at 12:39:24PM -0700, Kees Cook wrote: > On Wed, Jun 24, 2020 at 07:51:48PM +0300, Dan Carpenter wrote: > > In Debian testing the initrd triggers the warning. > > > > [ 34.529809] process '/usr/bin/fstype' started with executable stack > > Where does fstype come from there?

Re: [PATCH] tty: serial: fsl_lpuart: minimum baud rate support

2020-06-25 Thread Greg KH
On Thu, Jun 25, 2020 at 03:19:05PM +0530, Vabhav Sharma wrote: > From: Vabhav Sharma > > The formula for the baud rate is > baud rate = "baud clock / ((OSR+1) × SBR) > > Algorithm used in function lpuart32_serial_setbrg() only changes > the SBR. Even with maxmum value put in, OSR stays at 0x7 an

Re: brocken devfreq simple_ondemand for Odroid XU3/4?

2020-06-25 Thread Lukasz Luba
Hi Sylwester, On 6/24/20 4:11 PM, Sylwester Nawrocki wrote: Hi All, On 24.06.2020 12:32, Lukasz Luba wrote: I had issues with devfreq governor which wasn't called by devfreq workqueue. The old DELAYED vs DEFERRED work discussions and my patches for it [1]. If the CPU which scheduled the next w

Re: [PATCH 08/22] gpiolib: cdev: complete the irq/thread timestamp handshake

2020-06-25 Thread Kent Gibson
On Thu, Jun 25, 2020 at 11:44:30AM +0200, Bartosz Golaszewski wrote: > On Wed, Jun 24, 2020 at 4:08 PM Kent Gibson wrote: > > > > On Wed, Jun 24, 2020 at 04:00:42PM +0200, Bartosz Golaszewski wrote: > > > wt., 23 cze 2020 o 06:02 Kent Gibson napisał(a): [ snip ] > > > > I'm not totally sure mysel

Re: [PATCH 2/2] watchdog: rti: tweak min_hw_heartbeat_ms to match initial allowed window

2020-06-25 Thread Jan Kiszka
On 25.06.20 10:32, Tero Kristo wrote: On 24/06/2020 18:24, Jan Kiszka wrote: On 24.06.20 13:45, Tero Kristo wrote: If the RTI watchdog has been started by someone (like bootloader) when the driver probes, we must adjust the initial ping timeout to match the currently running watchdog window to

Re: [PATCH mips-next 0/3] MIPS: fix the two most annoying sparse floods

2020-06-25 Thread Thomas Bogendoerfer
On Sat, Jun 20, 2020 at 09:33:38AM +, Alexander Lobakin wrote: > This set addresses the two most annoying sparse floods when building the > tree with C={1,2}: one in asm/io.h (in several mangle-port.h actually), > and one in asm/checksum.h. > Both of these comes from lack of forced typecasting

[PATCH v3] firmware: smccc: Add ARCH_SOC_ID support

2020-06-25 Thread Sudeep Holla
SMCCC v1.2 adds a new optional function SMCCC_ARCH_SOC_ID to obtain a SiP defined SoC identification value. Add support for the same. Also using the SoC bus infrastructure, let us expose the platform specific SoC atrributes under sysfs. There are various ways in which it can be represented in sho

Re: [PATCH 2/3] mm/huge_memory.c: update tlb entry if pmd is changed

2020-06-25 Thread maobibo
On 06/25/2020 08:30 AM, Mike Kravetz wrote: > On 6/24/20 2:26 AM, Bibo Mao wrote: >> When set_pmd_at is called in function do_huge_pmd_anonymous_page, >> new tlb entry can be added by software on MIPS platform. >> >> Here add update_mmu_cache_pmd when pmd entry is set, and >> update_mmu_cache_pm

Re: [PATCH] sched/cfs: change initial value of runnable_avg

2020-06-25 Thread Vincent Guittot
On Thu, 25 Jun 2020 at 11:24, Holger Hoffstätte wrote: > > On 2020-06-24 17:44, Vincent Guittot wrote: > > Some performance regression on reaim benchmark have been raised with > >commit 070f5e860ee2 ("sched/fair: Take into account runnable_avg to > > classify group") > > > > The problem comes

Re: [rcu:rcu/next 35/35] kernel/rcu/tree.c:251:8: error: implicit declaration of function 'arch_atomic_add_return'; did you mean

2020-06-25 Thread Marco Elver
On Wed, 24 Jun 2020 at 22:30, Paul E. McKenney wrote: > > On Thu, Jun 25, 2020 at 03:38:03AM +0800, kernel test robot wrote: > > tree: > > https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > > rcu/next > > head: 347acb93a34a6e4f312f8b9ec1afdb86d27858d2 > > commit: 347acb9

[PATCH] tty: serial: fsl_lpuart: minimum baud rate support

2020-06-25 Thread Vabhav Sharma
From: Vabhav Sharma The formula for the baud rate is baud rate = "baud clock / ((OSR+1) × SBR) Algorithm used in function lpuart32_serial_setbrg() only changes the SBR. Even with maxmum value put in, OSR stays at 0x7 and the lowest baud rate would be ~ 2600 bps Update the algorithm to allow dri

[rcu:rcu/urgent] BUILD REGRESSION 239341154165cec3676955bab4cc1d61852257ed

2020-06-25 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/urgent branch HEAD: 239341154165cec3676955bab4cc1d61852257ed rcu: Fixup noinstr warnings Error/Warning in current branch: kernel/rcu/tree.c:240:8: error: implicit declaration of function 'arch_atomic_add_

[rcu:rcu/next] BUILD REGRESSION d2f8491368e57b6385e17c0db29d732d2f1eacaa

2020-06-25 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next branch HEAD: d2f8491368e57b6385e17c0db29d732d2f1eacaa rcu: Fixup noinstr warnings Error/Warning in current branch: kernel/rcu/tree.c:251:8: error: implicit declaration of function 'arch_atomic_add_ret

Re: [PATCH 1/3] v4l2-subdev: Add subdev ioctl support for ENUM/GET/SET INPUT

2020-06-25 Thread Laurent Pinchart
Hi Ramzi, On Thu, Jun 25, 2020 at 11:30:46AM +0200, Ramzi Ben Meftah wrote: > On Thu, Jun 25, 2020 at 05:01:38AM +0300, Laurent Pinchart wrote: > > On Wed, Jun 24, 2020 at 09:53:07AM +0200, Jacopo Mondi wrote: > >> On Tue, Jun 16, 2020 at 12:00:15PM +0200, Ramzi BEN MEFTAH wrote: > >>> From: Steve

Re: [PATCH 8/8] backlight: qcom-wled: Remove unused configs for LED3 and LED4

2020-06-25 Thread Daniel Thompson
On Wed, Jun 24, 2020 at 03:57:21PM +0100, Lee Jones wrote: > Fixes W=1 warnings: > > drivers/video/backlight/qcom-wled.c:1294:34: warning: ‘wled4_string_cfg’ > defined but not used [-Wunused-const-variable=] > 1294 | static const struct wled_var_cfg wled4_string_cfg = { > | ^~~~ >

Re: [PATCH 01/10] mfd: wm8350-core: Supply description wm8350_reg_{un}lock args

2020-06-25 Thread Greg KH
On Thu, Jun 25, 2020 at 08:13:13AM +0100, Lee Jones wrote: > On Thu, 25 Jun 2020, Greg KH wrote: > > > On Thu, Jun 25, 2020 at 07:46:10AM +0100, Lee Jones wrote: > > > Kerneldoc syntax is used, but not complete. Descriptions required. > > > > > > Prevents warnings like: > > > > > > drivers/mfd

Re: [PATCH 08/22] gpiolib: cdev: complete the irq/thread timestamp handshake

2020-06-25 Thread Bartosz Golaszewski
On Wed, Jun 24, 2020 at 4:08 PM Kent Gibson wrote: > > On Wed, Jun 24, 2020 at 04:00:42PM +0200, Bartosz Golaszewski wrote: > > wt., 23 cze 2020 o 06:02 Kent Gibson napisał(a): > > > > > > Reset the timestamp field to 0 after using it in lineevent_irq_thread. > > > > > > The timestamp is set by l

Re: [PATCH 7/8] backlight: lm3630a_bl: Remove invalid checks for unsigned int < 0

2020-06-25 Thread Daniel Thompson
On Wed, Jun 24, 2020 at 03:57:20PM +0100, Lee Jones wrote: > unsigned ints 'sources' and 'bank' cannot be less than LM3630A_SINK_0 (0) > and LM3630A_BANK_0 (0) respecitively, so change the logic to only check > for thier two possible valid values. > > Fixes W=1 warnings: > > drivers/video/backli

Re: [PATCH][man-pages] sync.2: syncfs() now returns errors if writeback fails

2020-06-25 Thread Michael Kerrisk (man-pages)
Hi Jeff, Any progress with v2 of this patch? Thanks, Michael On 6/10/20 11:19 PM, Jeff Layton wrote: > On Wed, 2020-06-10 at 08:50 -0700, Eric Biggers wrote: >> On Wed, Jun 10, 2020 at 06:33:47AM -0400, Jeff Layton wrote: >>> A patch has been merged for v5.8 that changes how syncfs() reports >

Re: [PATCH 5/8] backlight: ili922x: Add missing kerneldoc description for ili922x_reg_dump()'s arg

2020-06-25 Thread Daniel Thompson
On Wed, Jun 24, 2020 at 03:57:18PM +0100, Lee Jones wrote: > Kerneldoc syntax is used, but not complete. Descriptions required. > > Prevents warnings like: > > drivers/video/backlight/ili922x.c:298: warning: Function parameter or member > 'spi' not described in 'ili922x_reg_dump' > > Cc: > C

Re: [PATCH v3 3/3] media: v4l: xilinx: Add Xilinx UHD-SDI Rx Subsystem driver

2020-06-25 Thread Hans Verkuil
On 18/06/2020 07:33, Vishal Sagar wrote: > The Xilinx UHD-SDI Rx subsystem soft IP is used to capture native SDI > streams from SDI sources like SDI broadcast equipment like cameras and > mixers. This block outputs either native SDI, native video or > AXI4-Stream compliant data stream for further p

Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

2020-06-25 Thread Greg Kroah-Hartman
On Thu, Jun 25, 2020 at 04:15:19PM +0800, Ian Kent wrote: > On Tue, 2020-06-23 at 19:13 -0400, Tejun Heo wrote: > > Hello, Rick. > > > > On Mon, Jun 22, 2020 at 02:22:34PM -0700, Rick Lindsley wrote: > > > > I don't know. The above highlights the absurdity of the approach > > > > itself to > > > >

Re: [PATCH 6/8] backlight: backlight: Supply description for function args in existing Kerneldocs

2020-06-25 Thread Daniel Thompson
On Wed, Jun 24, 2020 at 03:57:19PM +0100, Lee Jones wrote: > Kerneldoc syntax is used, but not complete. Descriptions required. > > Prevents warnings like: > > drivers/video/backlight/backlight.c:329: warning: Function parameter or > member 'reason' not described in 'backlight_force_update' >

Re: [PATCH 4/8] backlight: ili922x: Remove invalid use of kerneldoc syntax

2020-06-25 Thread Daniel Thompson
On Wed, Jun 24, 2020 at 03:57:17PM +0100, Lee Jones wrote: > Kerneldoc is for documenting function arguments and return values. > > Prevents warnings like: > > drivers/video/backlight/ili922x.c:127: warning: cannot understand function > prototype: 'int ili922x_id = 1; ' > drivers/video/backlig

Re: [PATCH 3/8] backlight: ili922x: Add missing kerneldoc descriptions for CHECK_FREQ_REG() args

2020-06-25 Thread Daniel Thompson
On Wed, Jun 24, 2020 at 03:57:16PM +0100, Lee Jones wrote: > Kerneldoc syntax is used, but not complete. Descriptions required. > > Prevents warnings like: > > drivers/video/backlight/ili922x.c:116: warning: Function parameter or member > 's' not described in 'CHECK_FREQ_REG' > drivers/video/

[PATCH 5.9] io_uring: fix NULL-mm for linked reqs

2020-06-25 Thread Pavel Begunkov
__io_queue_sqe() tries to handle all request of a link, so it's not enough to grab mm in io_sq_thread_acquire_mm() based just on the head. Don't check req->needs_mm and do it always. Signed-off-by: Pavel Begunkov --- fs/io_uring.c | 15 +++ 1 file changed, 11 insertions(+), 4 deleti

[PATCH] fuse_writepages ignores errors from fuse_writepages_fill

2020-06-25 Thread Vasily Averin
fuse_writepages() ignores some errors taken from fuse_writepages_fill() I believe it is a bug: if .writepages is called with WB_SYNC_ALL it should either guarantee that all data was successfully saved or return error. Fixes: 26d614df1da9 ("fuse: Implement writepages callback") Signed-off-by: Vasil

[PATCH 2/2] io_uring: fix current->mm NULL dereference on exit

2020-06-25 Thread Pavel Begunkov
Don't reissue requests from io_iopoll_reap_events(), the task may not have mm, which ends up with NULL. It's better to kill everything off on exit anyway. [ 677.734670] RIP: 0010:io_iopoll_complete+0x27e/0x630 ... [ 677.734679] Call Trace: [ 677.734695] ? __send_signal+0x1f2/0x420 [ 677.73469

[PATCH 1/2] io_uring: fix hanging iopoll in case of -EAGAIN

2020-06-25 Thread Pavel Begunkov
io_do_iopoll() won't do anything with a request unless req->iopoll_completed is set. So io_complete_rw_iopoll() has to set it, otherwise io_do_iopoll() will poll a file again and again even though the request of interest was completed long time ago. Also, remove -EAGAIN check from io_issue_sqe() a

[PATCH for-5.8 0/2] iopoll fixes pt.1

2020-06-25 Thread Pavel Begunkov
Split as requested, this is for 5.8. The only thing changed is 1 line moved for easier rebasing. Yesterday problems were unrelated. Pavel Begunkov (2): io_uring: fix hanging iopoll in case of -EAGAIN io_uring: fix current->mm NULL dereference on exit fs/io_uring.c | 18 +++--- 1

Re: [PATCH 10/22] gpiolib: cdev: fix minor race in GET_LINEINFO_WATCH

2020-06-25 Thread Kent Gibson
On Thu, Jun 25, 2020 at 12:23:49PM +0300, Andy Shevchenko wrote: > On Thu, Jun 25, 2020 at 12:13 PM Kent Gibson wrote: > > On Thu, Jun 25, 2020 at 11:44:21AM +0300, Andy Shevchenko wrote: > > > On Thu, Jun 25, 2020 at 1:58 AM Kent Gibson wrote: > > > > On Wed, Jun 24, 2020 at 11:57:14PM +0800, Ke

Re: [PATCH 0/4] KVM: SVM: Code move follow-up

2020-06-25 Thread Vitaly Kuznetsov
Joerg Roedel writes: > From: Joerg Roedel > > Hi, > > here is small series to follow-up on the review comments for moving > the kvm-amd module code to its own sub-directory. The comments were > only about renaming structs and symbols, so there are no functional > changes in these patches. > > Th

Re: [PATCH 2/2] clocksource: Ingenic: Add support for the Ingenic X1000 OST.

2020-06-25 Thread kernel test robot
ed in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Zhou-Yanjie/Add-support-for-the-OST-in-Ingenic-X1000/20200625-005621 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 809eb4e9bf9d84eb5b703358afd0d564d514f6d2 config: x86_64-allyesc

Re: [PATCH 1/3] v4l2-subdev: Add subdev ioctl support for ENUM/GET/SET INPUT

2020-06-25 Thread Ramzi Ben Meftah
Hi Laurent, On Thu, Jun 25, 2020 at 05:01:38AM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > On Wed, Jun 24, 2020 at 09:53:07AM +0200, Jacopo Mondi wrote: > > On Tue, Jun 16, 2020 at 12:00:15PM +0200, Ramzi BEN MEFTAH wrote: > > > From: Steve Longerbeam > > > > +Niklas, +Laurent > > > > Nik

<    5   6   7   8   9   10   11   12   >