Re: [PATCH v3] ARM: imx6plus: enable internal routing of clk_enet_ref where possible

2020-06-24 Thread Fabio Estevam
Hi Sven, On Wed, Jun 24, 2020 at 12:23 PM Sven Van Asbroeck wrote: > + /* > +* On imx6 plus, enet_ref from ANATOP/CCM can be internally routed to > +* be the PTP clock source, instead of having to be routed through > +* pads. > +* Board designs which route t

Re: [PATCH v6 6/6] spi: spi-qcom-qspi: Use OPP API to set clk/perf state

2020-06-24 Thread Matthias Kaehlcke
On Wed, Jun 24, 2020 at 06:44:17PM +0100, Mark Brown wrote: > On Wed, Jun 24, 2020 at 10:39:48AM -0700, Matthias Kaehlcke wrote: > > On Wed, Jun 24, 2020 at 06:15:37PM +0100, Mark Brown wrote: > > > > Aren't there dependencies on earlier patches in the series? > > > Not to my knowledge. Patch "[2

Re: [PATCH 03/11] fs: add new read_uptr and write_uptr file operations

2020-06-24 Thread Christoph Hellwig
On Wed, Jun 24, 2020 at 10:19:16AM -0700, Linus Torvalds wrote: > Honestly, I think this is the wrong way to go. > > All of this new complexity and messiness, just to remove a few > unimportant final cases? > > If somebody can't be bothered to convert a driver to > iter_read/iter_write, why would

Re: [PATCH] cros_ec_spi: Even though we're RT priority, don't bump cpu freq

2020-06-24 Thread Joel Fernandes
On Wed, Jun 24, 2020 at 1:52 PM Qais Yousef wrote: > > On 06/24/20 13:35, Joel Fernandes wrote: > > [...] > > > > Doing the in-kernel opt-out via API should be fine, I think. But this will > > > need to be discussed in the wider circle. It will already clash with this > > > for > > > example > >

[PATCH v1] bnx2x: use generic power management

2020-06-24 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. The driver was also calling bnx2

Re: [PATCH v4 6/8] arm: Break cyclic percpu include

2020-06-24 Thread Peter Zijlstra
On Tue, Jun 23, 2020 at 10:02:57AM +0100, Will Deacon wrote: > On Tue, Jun 23, 2020 at 10:36:51AM +0200, Peter Zijlstra wrote: > > In order to use in irqflags.h, we need to make sure > > asm/percpu.h does not itself depend on irqflags.h. > > > > Signed-off-by: Peter Zijlstra (Intel) > > --- > >

Re: [PATCH v5 3/7] ASoC: tas2562: Fix format issue for extra space before a comma

2020-06-24 Thread Dan Murphy
Mark On 6/24/20 12:48 PM, Mark Brown wrote: On Wed, Jun 24, 2020 at 12:36:02PM -0500, Dan Murphy wrote: Can this patchset get a review as well so I can fix before I post v6? Not sure what the current work load is for review or merge. Well, it's less work to review if it's been fixed... Ok f

Re: [PATCH] cros_ec_spi: Even though we're RT priority, don't bump cpu freq

2020-06-24 Thread Qais Yousef
On 06/24/20 13:35, Joel Fernandes wrote: [...] > > Doing the in-kernel opt-out via API should be fine, I think. But this will > > need to be discussed in the wider circle. It will already clash with this > > for > > example > > > > https://lore.kernel.org/lkml/20200619172011.5810-1-qais.you...@a

[PATCH] platform/x86: ISST: Add new PCI device ids

2020-06-24 Thread Srinivas Pandruvada
Added new PCI device ids for supporting mailbox and MMIO interface for Sapphire Rapids. Signed-off-by: Srinivas Pandruvada --- drivers/platform/x86/intel_speed_select_if/isst_if_common.h | 3 +++ drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c | 1 + drivers/platform/x86/intel_sp

Re: [PATCH v2 2/2] selftests/fpu: Add an FPU selftest

2020-06-24 Thread Nick Desaulniers
On Wed, Jun 24, 2020 at 4:46 AM Borislav Petkov wrote: > > From: Petteri Aimonen > > Add a selftest for the usage of FPU code in kernel mode. > > Currently only implemented for x86. In the future, kernel FPU testing > could be unified between the different architectures supporting it. > > [ bp:

[PATCH v6 2/7] ASoC: tas2562: Update shutdown GPIO property

2020-06-24 Thread Dan Murphy
Update the shutdown GPIO property to be shutdown from shut-down. Fixes: c173dba44c2d2 ("ASoC: tas2562: Introduce the TAS2562 amplifier") Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/tas2562.c b/s

[PATCH v6 7/7] dt-bindings: tas2562: Convert the tas2562 binding to yaml

2020-06-24 Thread Dan Murphy
Convert the TAS2562 text file to yaml format. Signed-off-by: Dan Murphy --- .../devicetree/bindings/sound/tas2562.txt | 37 - .../devicetree/bindings/sound/tas2562.yaml| 77 +++ 2 files changed, 77 insertions(+), 37 deletions(-) delete mode 100644 Documentation/d

drivers/net/dsa/vitesse-vsc73xx-platform.c:68:16: sparse: sparse: cast to restricted __be32

2020-06-24 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3e08a95294a4fb3702bb3d35ed08028433c37fe6 commit: 631e83bf7c0e801f0ab960a97a3228b2dbf9ebeb net: dsa: vsc73xx: add support for parallel mode date: 12 months ago config: alpha-randconfig-s031-20200624

[PATCH v6 5/7] dt-bindings: tas2562: Add voltage sense slot property

2020-06-24 Thread Dan Murphy
Add a property to configure the slot for the voltage sense monitoring of the device. Vsense data will be sent to the processor via the slot defined by the property Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tas2562.txt | 3 +++ 1 file changed, 3 insertions(+) diff --g

[PATCH v6 6/7] ASoC: tas2562: Add voltage sense slot configuration

2020-06-24 Thread Dan Murphy
Add Vsense slot configuration based on the device tree. Adding this property enables the slot programming to be moved to the tdm_set_slot callback. This in affect sets the slots for the Isense and Vsense and enabling this these modes are now based on whether these features were powered on or not.

[PATCH v6 1/7] dt-bindings: tas2562: Fix shut-down gpio property

2020-06-24 Thread Dan Murphy
Fix the shut-down gpio property to be shut-down-gpio and fix the example. Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tas2562.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/tas2562.txt b/Documentation

[PATCH v6 4/7] ASoC: tas2562: Add rx and tx slot programming

2020-06-24 Thread Dan Murphy
Add programming for the tdm slots for both tx and rx offsets. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 17 - sound/soc/codecs/tas2562.h | 4 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs/tas256

[PATCH v6 3/7] ASoC: tas2562: Fix format issue for extra space before a comma

2020-06-24 Thread Dan Murphy
Fix the issue found that there is an extra space before a comma in the volume control. Fixes: bf726b1c86f2c ("ASoC: tas2562: Add support for digital volume control") Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound

[PATCH v6 0/7] TAS2562 issue fixes and slot programming

2020-06-24 Thread Dan Murphy
Hello This series fixes issues tih the shut-down gpio device tree allocation and a code format issue found. While working on a project slot programming for the tx and rx paths needed to be enabled. In addition the vsense slot programming needed to be configurable and not directly a simpler adder

[PATCH v2 5/6] clk: actions: Add Actions S500 SoC Reset Management Unit support

2020-06-24 Thread Cristian Ciocaltea
Add Reset Management Unit (RMU) support for Actions Semi S500 SoC. Signed-off-by: Cristian Ciocaltea --- Changes in v2: - Remove copyright as indicated by Stephen drivers/clk/actions/owl-s500.c | 78 ++ 1 file changed, 78 insertions(+) diff --git a/drivers/clk/

[PATCH v2 2/6] dt-bindings: clock: Add APB, DMAC, GPIO bindings for Actions S500 SoC

2020-06-24 Thread Cristian Ciocaltea
Add the missing APB, DMAC and GPIO clock bindings constants for Actions Semi S500 SoC. Signed-off-by: Cristian Ciocaltea --- include/dt-bindings/clock/actions,s500-cmu.h | 77 ++-- 1 file changed, 40 insertions(+), 37 deletions(-) diff --git a/include/dt-bindings/clock/actions,s

[PATCH v2 6/6] MAINTAINERS: Add reset binding entry for Actions Semi Owl SoCs

2020-06-24 Thread Cristian Ciocaltea
Add a reset binding entry to match all members of Actions Semi Owl SoCs. Signed-off-by: Cristian Ciocaltea --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7b5ffd646c6b..e6285c13bab0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1533,6 +1533,7

[PATCH v2 4/6] dt-bindings: reset: Add binding constants for Actions S500 RMU

2020-06-24 Thread Cristian Ciocaltea
Add device tree binding constants for Actions Semi S500 SoC Reset Management Unit (RMU). Signed-off-by: Cristian Ciocaltea --- .../dt-bindings/reset/actions,s500-reset.h| 67 +++ 1 file changed, 67 insertions(+) create mode 100644 include/dt-bindings/reset/actions,s500-reset

Re: [PATCH v5 3/7] ASoC: tas2562: Fix format issue for extra space before a comma

2020-06-24 Thread Mark Brown
On Wed, Jun 24, 2020 at 12:36:02PM -0500, Dan Murphy wrote: > Can this patchset get a review as well so I can fix before I post v6? > Not sure what the current work load is for review or merge. Well, it's less work to review if it's been fixed... signature.asc Description: PGP signature

[PATCH v2 0/6] Add RMU and DMAC/GPIO clock support for Actions Semi S500 SoCs

2020-06-24 Thread Cristian Ciocaltea
This patch series is a stripped-down revision of the initial series "[PATCH 00/11] Add CMU/RMU/DMA support for Actions Semi S500 SoCs": https://lore.kernel.org/lkml/cover.1592407030.git.cristian.ciocal...@gmail.com/ At Stephen's request, I detached all DTS related work to keep the focus exclusivel

[PATCH v2 3/6] clk: actions: Add APB, DMAC, GPIO clock support for Actions S500 SoC

2020-06-24 Thread Cristian Ciocaltea
Add support for the missing APB, DMAC and GPIO clocks in the Actions Semi S500 SoC clock driver. Signed-off-by: Cristian Ciocaltea --- drivers/clk/actions/owl-s500.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/clk/actions/owl-s500.c b/drivers/clk/actions/owl-s500.c index

[PATCH v2 1/6] clk: actions: Fix h_clk for Actions S500 SoC

2020-06-24 Thread Cristian Ciocaltea
The h_clk clock in the Actions Semi S500 SoC clock driver has an invalid parent. Replace with the correct one. Signed-off-by: Cristian Ciocaltea --- drivers/clk/actions/owl-s500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/actions/owl-s500.c b/drivers/clk/act

[RFC PATCH linux-next] refperf: __srcu_struct_srcu_refctl_scale can be static

2020-06-24 Thread kernel test robot
Signed-off-by: kernel test robot --- refscale.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/rcu/refscale.c b/kernel/rcu/refscale.c index d9291f883b5428..4097b53867b33d 100644 --- a/kernel/rcu/refscale.c +++ b/kernel/rcu/refscale.c @@ -159,7 +159,7 @@ static str

[PATCH V5 2/4] rpmsg: glink: Add support to handle signals command

2020-06-24 Thread Deepak Kumar Singh
From: Arun Kumar Neelakantam Remote peripherals send signal notifications over glink with commandID 15. Add support to send and receive the signal command and convert the signals from NATIVE to TIOCM while receiving and vice versa while sending. Signed-off-by: Chris Lew Signed-off-by: Deepak K

[PATCH V5 3/4] rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support

2020-06-24 Thread Deepak Kumar Singh
From: Arun Kumar Neelakantam Add TICOMGET and TIOCMSET ioctl support for rpmsg char device nodes to get/set the low level transport signals. Signed-off-by: Deepak Kumar Singh Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 54 +++-

[PATCH V5 4/4] rpmsg: char: Add signal callback and POLLPRI support

2020-06-24 Thread Deepak Kumar Singh
From: Arun Kumar Neelakantam Register a callback to get the signal notifications from rpmsg and send POLLPRI mask to indicate the signal change in POLL system call. Signed-off-by: Deepak Kumar Singh Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 22

[PATCH V5 1/4] rpmsg: core: Add signal API support

2020-06-24 Thread Deepak Kumar Singh
Some transports like Glink support the state notifications between clients using signals similar to serial protocol signals. Local glink client drivers can send and receive signals to glink clients running on remote processors. Add apis to support sending and receiving of signals by rpmsg clients.

Re: [PATCH v6 6/6] spi: spi-qcom-qspi: Use OPP API to set clk/perf state

2020-06-24 Thread Mark Brown
On Wed, Jun 24, 2020 at 10:39:48AM -0700, Matthias Kaehlcke wrote: > On Wed, Jun 24, 2020 at 06:15:37PM +0100, Mark Brown wrote: > > Aren't there dependencies on earlier patches in the series? > Not to my knowledge. Patch "[2/6] spi: spi-geni-qcom: Use OPP API to set > clk/perf state" depends on

Re: [PATCH V3 0/5] Enable USB support in IPQ8074

2020-06-24 Thread Bjorn Andersson
On Wed 24 Jun 10:18 PDT 2020, Vinod Koul wrote: > On 08-06-20, 19:41, Sivaprakash Murugesan wrote: > > IPQ8074 has two super speed USB ports, with QMP and QUSB2 PHYs. > > This patch set enables the USB PHYs and USB dwc3 in IPQ8074. > > Applied 1 thru 4. Bjorn can take the 5th one, thanks > Than

[PATCH v1] orinoco: use generic power management

2020-06-24 Thread Vaibhav Gupta
With the support of generic PM callbacks, drivers no longer need to use legacy .suspend() and .resume() in which they had to maintain PCI states changes and device's power state themselves. The required operations are done by PCI core. PCI drivers are not expected to invoke PCI helper functions li

[PATCH] mm: filemap: clear idle flag for writes

2020-06-24 Thread Yang Shi
Since commit bbddabe2e436aa7869b3ac5248df5c14ddde0cbf ("mm: filemap: only do access activations on reads"), mark_page_accessed() is called for reads only. But the idle flag is cleared by mark_page_accessed() so the idle flag won't get cleared if the page is write accessed only. Basically idle pag

Re: [PATCH 2/2] platform/chrome: cros_ec_typec: Add TBT compat support

2020-06-24 Thread Prashant Malani
Hi Heikki, On Wed, Jun 24, 2020 at 12:20:40PM +0300, Heikki Krogerus wrote: > On Wed, Jun 24, 2020 at 12:15:20PM +0300, Heikki Krogerus wrote: > > On Wed, Jun 24, 2020 at 01:09:24AM -0700, Prashant Malani wrote: > > > Add mux control support for Thunderbolt compatibility mode. > > > > > > Suggest

Re: [PATCH v6 6/6] spi: spi-qcom-qspi: Use OPP API to set clk/perf state

2020-06-24 Thread Matthias Kaehlcke
On Wed, Jun 24, 2020 at 06:15:37PM +0100, Mark Brown wrote: > On Wed, Jun 24, 2020 at 10:09:33AM -0700, Matthias Kaehlcke wrote: > > Hi Mark, > > > > do you plan to land this in your tree? > > > > I know you hate contentless pings, but since you acked this patch and > > usually don't seem to do t

Re: [PATCH v5 3/7] ASoC: tas2562: Fix format issue for extra space before a comma

2020-06-24 Thread Dan Murphy
Mark On 6/24/20 11:58 AM, Dan Murphy wrote: Mark On 6/24/20 11:29 AM, Mark Brown wrote: On Wed, Jun 24, 2020 at 11:14:55AM -0500, Dan Murphy wrote: Fix the issue found that there is an extra space before a comma in the volume control. Fixes: bf726b1c86f2c ("ASoC: tas2562: Add support for dig

Re: [PATCH v3 2/9] vmlinux.lds.h: Add .symtab, .strtab, and .shstrtab to STABS_DEBUG

2020-06-24 Thread Arvind Sankar
On Wed, Jun 24, 2020 at 10:26:20AM -0700, Fangrui Song wrote: > > On 2020-06-24, Arvind Sankar wrote: > >On Wed, Jun 24, 2020 at 09:16:43AM -0700, Fangrui Song wrote: > >> > >> On 2020-06-24, Arvind Sankar wrote: > >> >On Tue, Jun 23, 2020 at 06:49:33PM -0700, Kees Cook wrote: > >> >> When linking

Re: [PATCH] cros_ec_spi: Even though we're RT priority, don't bump cpu freq

2020-06-24 Thread Joel Fernandes
On Wed, Jun 24, 2020 at 12:55 PM Qais Yousef wrote: > > On 06/24/20 11:49, Joel Fernandes wrote: > > On Tue, Jun 23, 2020 at 12:40 PM Qais Yousef wrote: > > > > > > On 06/22/20 11:21, Doug Anderson wrote: > > > > > > [...] > > > > > > > > If you propose something that will help the discussion. I

[PATCH v1 2/4] ide: triflex: use generic power management

2020-06-24 Thread Vaibhav Gupta
While upgrading ide_pci_suspend() and ide_pci_resume(), all other source files, using same callbacks, were also updated except drivers/ide/triflex.c. This is because the driver does not want to power off the device during suspend. A quirk was required for the same. This patch provides the fix. Ano

drivers/char/pcmcia/synclink_cs.c:340:17: sparse: sparse: cast removes address space '__iomem' of expression

2020-06-24 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3e08a95294a4fb3702bb3d35ed08028433c37fe6 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 6 days ago config: riscv-randconfig-s031-20200624 (attached

[PATCH v1 1/4] ide: use generic power management

2020-06-24 Thread Vaibhav Gupta
Earlier, drivers had to manage the device's power states, and related operations, themselves. With the generic approach, these are done by PCI core. The ide_pci_suspend() and ide_pci_resume(), declared in include/linux/ide.h and defined in drivers/ide/setup-pci.c, were external and were exported.

[PATCH v1 4/4] ide: delkin_cb: use generic power management

2020-06-24 Thread Vaibhav Gupta
With the support of generic PM callbacks, drivers no longer need to use legacy .suspend() and .resume() in which they had to maintain PCI states changes and device's power state themselves. All required operations are done by PCI core. After converting it into generic model, suspend() became an em

[PATCH v1 0/4] drivers: ide: use generic power management

2020-06-24 Thread Vaibhav Gupta
Linux Kernel Mentee: Remove Legacy Power Management. The purpose of this patch series is to remove legacy power management callbacks from ide drivers. The suspend() and resume() callbacks operations are still invoking pci_save/restore_state(), pci_set_power_state(), pci_enable/disable_state(), et

[PATCH v1 3/4] ide: sc1200: use generic power management

2020-06-24 Thread Vaibhav Gupta
With the support of generic PM callbacks, drivers no longer need to use legacy .suspend() and .resume() in which they had to maintain PCI states changes and device's power state themselves. The required operations are done by PCI core. Compile-tested only. Signed-off-by: Vaibhav Gupta --- drive

Re: [GIT PULL] KVM fixes for Linux 5.8-rc3

2020-06-24 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Jun 2020 13:11:17 -0400: > https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/26e122e97a3d0390ebec389347f64f3730fdf48f Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [PATCH v10 00/10] exynos-ufs: Add support for UFS HCI

2020-06-24 Thread Vinod Koul
Hi Alim, On 24-06-20, 22:27, Alim Akhtar wrote: > > > > Sure, will re-send this series. > > > > But patches have not been sent right, pls send and me/Kishon will review > > > Thanks for your kind attention on this series. As per [0] comment from > Kishon, patch 7/10 [1] and probably 6/10 [2] sho

Re: [PATCH][next] dmaengine: ti: k3-udma: Use struct_size() in kzalloc()

2020-06-24 Thread Gustavo A. R. Silva
Hi Vinod, On 6/24/20 00:55, Vinod Koul wrote: > On 19-06-20, 17:43, Gustavo A. R. Silva wrote: >> Make use of the struct_size() helper instead of an open-coded version >> in order to avoid any potential type mistakes. >> >> This code was detected with the help of Coccinelle and, audited and >> fix

[PATCH 4.19 000/207] 4.19.130-rc3 review

2020-06-24 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.19.130 release. There are 207 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Fri, 26 Jun 2020 17:23:16 +. Anything r

Re: [PATCH v8 2/3] phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit Transceiver

2020-06-24 Thread Vinod Koul
Hi Laurent, On 24-06-20, 19:39, Laurent Pinchart wrote: > > > +/* Number of GT lanes */ > > > +#define NUM_LANES4 > > > > Should this be coded in driver like this? Maybe future versions of > > hardware will have more lanes..? Why not describe this in DT? > > This macro i

[PATCH v3 1/2] sched/uclamp: Fix initialization of strut uclamp_rq

2020-06-24 Thread Qais Yousef
struct uclamp_rq was zeroed out entirely in assumption that in the first call to uclamp_rq_inc() they'd be initialized correctly in accordance to default settings. But when next patch introduces a static key to skip uclamp_rq_{inc,dec}() until userspace opts in to use uclamp, schedutil will fail t

Re: [PATCH v3 2/9] vmlinux.lds.h: Add .symtab, .strtab, and .shstrtab to STABS_DEBUG

2020-06-24 Thread Fangrui Song
On 2020-06-24, Arvind Sankar wrote: On Wed, Jun 24, 2020 at 09:16:43AM -0700, Fangrui Song wrote: On 2020-06-24, Arvind Sankar wrote: >On Tue, Jun 23, 2020 at 06:49:33PM -0700, Kees Cook wrote: >> When linking vmlinux with LLD, the synthetic sections .symtab, .strtab, >> and .shstrtab are lis

[PATCH 4.14 000/139] 4.14.186-rc3 review

2020-06-24 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.186 release. There are 139 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Fri, 26 Jun 2020 17:23:12 +. Anything r

[PATCH v3 0/2] sched: Optionally skip uclamp logic in fast path

2020-06-24 Thread Qais Yousef
This series attempts to address the report that uclamp logic could be expensive sometimes and shows a regression in netperf UDP_STREAM under certain conditions. The first patch is a fix for how struct uclamp_rq is initialized which is required by the 2nd patch which contains the real 'fix'. Worth

Re: [PATCH v3 2/2] IMA: Add audit log for failure conditions

2020-06-24 Thread Lakshmi Ramasubramanian
On 6/23/20 12:58 PM, Mimi Zohar wrote: Hi Steve\Paul, Sample audit messages: [6.303048] audit: type=1804 audit(1592506281.627:2): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel op=measuring_key cause=ENOMEM comm="swapper/0" name=".builtin_trusted_keys" res=0 errno=-12 My only con

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

2020-06-24 Thread Qais Yousef
There is a report that when uclamp is enabled, a netperf UDP test regresses compared to a kernel compiled without uclamp. https://lore.kernel.org/lkml/20200529100806.ga3...@suse.de/ While investigating the root cause, there were no sign that the uclamp code is doing anything particularly expensiv

Re: [PATCH] kernel/trace: Add TRACING_ALLOW_PRINTK config option

2020-06-24 Thread Alexei Starovoitov
On Wed, Jun 24, 2020 at 9:07 AM Steven Rostedt wrote: > > On Wed, 24 Jun 2020 16:45:24 +0800 > Nicolas Boichat wrote: > > > trace_printk is only meant as a debugging tool, and should never be > > compiled into production code without source code changes, as > > indicated by the warning that shows

Re: [PATCH 03/11] fs: add new read_uptr and write_uptr file operations

2020-06-24 Thread Linus Torvalds
On Wed, Jun 24, 2020 at 9:29 AM Christoph Hellwig wrote: > > Add two new file operations that are identical to ->read and ->write > except that they can also safely take kernel pointers using the uptr_t > type. Honestly, I think this is the wrong way to go. All of this new complexity and messine

Re: [PATCH v8 01/13] tools/libperf: avoid moving of fds at fdarray__filter() call

2020-06-24 Thread Alexey Budankov
On 17.06.2020 11:35, Alexey Budankov wrote: > > Skip fds with zeroed revents field from count and avoid fds moving > at fdarray__filter() call so fds indices returned by fdarray__add() > call stay the same and can be used for direct access and processing > of fd revents status field at entries a

Re: [PATCH V3 0/5] Enable USB support in IPQ8074

2020-06-24 Thread Vinod Koul
On 08-06-20, 19:41, Sivaprakash Murugesan wrote: > IPQ8074 has two super speed USB ports, with QMP and QUSB2 PHYs. > This patch set enables the USB PHYs and USB dwc3 in IPQ8074. Applied 1 thru 4. Bjorn can take the 5th one, thanks -- ~Vinod

Re: [PATCH v3 3/9] efi/libstub: Remove .note.gnu.property

2020-06-24 Thread Dave Martin
On Wed, Jun 24, 2020 at 06:40:48PM +0200, Ard Biesheuvel wrote: > On Wed, 24 Jun 2020 at 18:29, Dave Martin wrote: > > > > On Wed, Jun 24, 2020 at 05:48:41PM +0200, Ard Biesheuvel wrote: > > > On Wed, 24 Jun 2020 at 17:45, Kees Cook wrote: > > > > > > > > On Wed, Jun 24, 2020 at 05:31:06PM +0200,

Re: [PATCH v6 6/6] spi: spi-qcom-qspi: Use OPP API to set clk/perf state

2020-06-24 Thread Mark Brown
On Wed, Jun 24, 2020 at 10:09:33AM -0700, Matthias Kaehlcke wrote: > Hi Mark, > > do you plan to land this in your tree? > > I know you hate contentless pings, but since you acked this patch and > usually don't seem to do that when patches go through your tree I want > to make sure we aren't in a

Re: [PATCH v1] mtd: spi-nor: Add support for Winbond w25q64jv spi flash

2020-06-24 Thread Sven Van Asbroeck
Is there any way I can help to get this patch into mainline? Thank you, Sven On Sat, Jun 13, 2020 at 7:53 PM Sven Van Asbroeck wrote: > > This chip is (nearly) identical to the Winbond w25q64 which is > already supported by Linux. Compared to the w25q64, the 'jv' > does not support Quad SPI mode

Re: [PATCH 4.14 000/135] 4.14.186-rc2 review

2020-06-24 Thread Naresh Kamboju
On Wed, 24 Jun 2020 at 11:39, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.186 release. > There are 135 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > R

Re: [PATCH] cros_ec_spi: Even though we're RT priority, don't bump cpu freq

2020-06-24 Thread Qais Yousef
On 06/24/20 18:01, Peter Zijlstra wrote: > On Tue, Jun 23, 2020 at 05:40:21PM +0100, Qais Yousef wrote: > > On 06/22/20 11:21, Doug Anderson wrote: > > > > [...] > > > > > > If you propose something that will help the discussion. I think based > > > > on the > > > > same approach Peter has taken

drivers/tty/synclinkmp.c:3642:29: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-06-24 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3e08a95294a4fb3702bb3d35ed08028433c37fe6 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 6 days ago config: arm-randconfig-s032-20200624 (attached

Re: [PATCH RESEND v2] phy: exynos: Rename Exynos to lowercase

2020-06-24 Thread Vinod Koul
On 17-06-20, 17:28, Krzysztof Kozlowski wrote: > Fix up inconsistent usage of upper and lowercase letters in "Exynos" > name. > > "EXYNOS" is not an abbreviation but a regular trademarked name. > Therefore it should be written with lowercase letters starting with > capital letter. > > The lowerca

Re: [PATCH v3 2/9] vmlinux.lds.h: Add .symtab, .strtab, and .shstrtab to STABS_DEBUG

2020-06-24 Thread Arvind Sankar
On Wed, Jun 24, 2020 at 09:16:43AM -0700, Fangrui Song wrote: > > On 2020-06-24, Arvind Sankar wrote: > >On Tue, Jun 23, 2020 at 06:49:33PM -0700, Kees Cook wrote: > >> When linking vmlinux with LLD, the synthetic sections .symtab, .strtab, > >> and .shstrtab are listed as orphaned. Add them to th

[PATCH] regulator: rename da903x to da903x-regulator

2020-06-24 Thread Seth Forshee
This module shares the same name as its parent PMIC driver, which confuses tools like kmod. Rename the regulator driver to avoid such problems. Signed-off-by: Seth Forshee --- drivers/regulator/Makefile | 2 +- drivers/regulator/{da903x.c => da903x-regulator.c} | 0 2 fil

Re: [PATCH v6 6/6] spi: spi-qcom-qspi: Use OPP API to set clk/perf state

2020-06-24 Thread Matthias Kaehlcke
Hi Mark, do you plan to land this in your tree? I know you hate contentless pings, but since you acked this patch and usually don't seem to do that when patches go through your tree I want to make sure we aren't in a situation where everybody thinks that the patch will go through someone else's t

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

2020-06-24 Thread Niklas Cassel
On Wed, Jun 24, 2020 at 07:02:11PM +0200, Christoph Hellwig wrote: > On Wed, Jun 24, 2020 at 04:57:48PM +, Niklas Cassel wrote: > > On Wed, Jun 24, 2020 at 06:44:41PM +0200, Christoph Hellwig wrote: > > > This looks good to me, but I'd rather wait a few releases to > > > avoid too mush backport

[PATCH RESEND 0/1] Ingenic: Add high resolution timer support for SMP/SMT.

2020-06-24 Thread Zhou Yanjie
Enable clock event handling on per CPU core basis. Make sure that interrupts raised on the first core execute event handlers on the correct CPU core. This driver is required by Ingenic processors that support SMP/SMT, such as JZ4780 and X2000. 周琰杰 (Zhou Yanjie) (1): clocksource: Ingenic: Add hig

[PATCH RESEND 1/1] clocksource: Ingenic: Add high resolution timer support for SMP/SMT.

2020-06-24 Thread Zhou Yanjie
Enable clock event handling on per CPU core basis. Make sure that interrupts raised on the first core execute event handlers on the correct CPU core. This driver is required by Ingenic processors that support SMP/SMT, such as JZ4780 and X2000. Tested-by: H. Nikolaus Schaller Tested-by: Paul Boddi

Re: [PATCH 0/3] iopoll fixes

2020-06-24 Thread Pavel Begunkov
On 24/06/2020 19:50, Pavel Begunkov wrote: > Did more comprehensive iopoll testing and found some more problems. > > [1] is from the previous series. Actually, v2 for this one, addressing > the double-reissue bug found by Jens. It maybe not as efficient, but > simple and easy to backport. > > [2,

Re: [PATCH v2] mm/page_alloc: fix documentation error and remove magic numbers

2020-06-24 Thread Matthew Wilcox
On Wed, Jun 24, 2020 at 12:49:43PM -0400, Joel Savitz wrote: > When I increased the upper bound of the min_free_kbytes value in > ee8eb9a5fe863, I forgot to tweak the above comment to reflect > the new value. This patch fixes that mistake. > > In addition, this patch replaces the magic number boun

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

2020-06-24 Thread Christoph Hellwig
On Wed, Jun 24, 2020 at 04:57:48PM +, Niklas Cassel wrote: > On Wed, Jun 24, 2020 at 06:44:41PM +0200, Christoph Hellwig wrote: > > This looks good to me, but I'd rather wait a few releases to > > avoid too mush backporting pain. > > Chaitanya made me realize that about half of the nvme functi

Re: [PATCH v5 2/7] hwmon: pmbus: adm1266: Add Block process call

2020-06-24 Thread kernel test robot
Hi, I love your patch! Perhaps something to improve: [auto build test WARNING on hwmon/hwmon-next] [also build test WARNING on linux/master robh/for-next linus/master v5.8-rc2 next-20200624] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: [dm-crypt] [RFC PATCH 1/1] Add DM_CRYPT_FORCE_INLINE flag to dm-crypt target

2020-06-24 Thread Ignat Korchagin
On Wed, Jun 24, 2020 at 5:24 PM Eric Biggers wrote: > > On Wed, Jun 24, 2020 at 09:24:07AM +0100, Ignat Korchagin wrote: > > On Wed, Jun 24, 2020 at 6:04 AM Eric Biggers wrote: > > > > > > On Fri, Jun 19, 2020 at 05:41:32PM +0100, Ignat Korchagin wrote: > > > > Sometimes extra thread offloading i

Re: [PATCH v3 4/5] iommu/uapi: Handle data and argsz filled by users

2020-06-24 Thread Jacob Pan
On Wed, 24 Jun 2020 14:54:49 +0800 Lu Baolu wrote: > Hi Jacob, > > On 2020/6/24 1:03, Jacob Pan wrote: > > IOMMU UAPI data has a user filled argsz field which indicates the > > data length comes with the API call. User data is not trusted, > > argsz must be validated based on the current kernel

Re: [PATCH v5 3/7] ASoC: tas2562: Fix format issue for extra space before a comma

2020-06-24 Thread Dan Murphy
Mark On 6/24/20 11:29 AM, Mark Brown wrote: On Wed, Jun 24, 2020 at 11:14:55AM -0500, Dan Murphy wrote: Fix the issue found that there is an extra space before a comma in the volume control. Fixes: bf726b1c86f2c ("ASoC: tas2562: Add support for digital volume control") Signed-off-by: Dan Murph

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

2020-06-24 Thread Pavel Begunkov
On 23/06/2020 22:01, Jens Axboe wrote: > On 6/23/20 5:57 AM, Pavel Begunkov wrote: >> On 23/06/2020 05:18, Jens Axboe wrote: >>> On 6/22/20 8:07 PM, Jens Axboe wrote: On 6/22/20 4:16 PM, Pavel Begunkov wrote: > io_do_iopoll() won't do anything with a request unless > req->iopoll_comple

Re: [PATCH RESEND] net/cisco: Fix a sleep-in-atomic-context bug in enic_init_affinity_hint()

2020-06-24 Thread Jakub Kicinski
On Wed, 24 Jun 2020 06:32:36 + Christian Benvenuti (benve) wrote: > We/Cisco will also look into it, hopefully a small code reorg will be > sufficient. Make sure you enable CONFIG_DEBUG_ATOMIC_SLEEP when you test.

Re: [PATCH v3 2/6] drm: msm: a6xx: send opp instead of a frequency

2020-06-24 Thread Matthias Kaehlcke
Hi, On Thu, Jun 18, 2020 at 10:52:09AM -0700, Rob Clark wrote: > On Fri, Jun 5, 2020 at 9:26 PM Sharat Masetty wrote: > > > > This patch changes the plumbing to send the devfreq recommended opp rather > > than the frequency. Also consolidate and rearrange the code in a6xx to set > > the GPU frequ

RE: [PATCH v10 00/10] exynos-ufs: Add support for UFS HCI

2020-06-24 Thread Alim Akhtar
Hi Vinod > -Original Message- > From: Vinod Koul > Sent: 24 June 2020 15:51 > To: Alim Akhtar > Cc: 'Kishon Vijay Abraham I' ; r...@kernel.org; > k...@kernel.org; linux-samsung-...@vger.kernel.org; avri.alt...@wdc.com; > stanley@mediatek.com; linux-s...@vger.kernel.org; linux-arm- >

Re: [PATCH 14/15] net: phy: add PHY regulator support

2020-06-24 Thread Russell King - ARM Linux admin
On Tue, Jun 23, 2020 at 06:27:06PM +0200, Bartosz Golaszewski wrote: > wt., 23 cze 2020 o 11:56 Russell King - ARM Linux admin > napisał(a): > > > > On Tue, Jun 23, 2020 at 11:46:15AM +0200, Bartosz Golaszewski wrote: > > > wt., 23 cze 2020 o 11:43 Russell King - ARM Linux admin > > > napisał(a):

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

2020-06-24 Thread Niklas Cassel
On Wed, Jun 24, 2020 at 06:44:41PM +0200, Christoph Hellwig wrote: > This looks good to me, but I'd rather wait a few releases to > avoid too mush backporting pain. Chaitanya made me realize that about half of the nvme functions are using "struct nvme_command c" on the stack, and then memsets it,

RE: [RESEND PATCH V13 3/3] Input: new da7280 haptic driver

2020-06-24 Thread Roy Im
On Thu, June 25, 2020 1:28 AM, Uwe Kleine-König > On Wed, Jun 24, 2020 at 03:39:52PM +, Roy Im wrote: > > On Wed, Jun 24, 2020 at 10:37 PM, Uwe Kleine-König wrote: > > > On Wed, Jun 24, 2020 at 12:04:24PM +0900, Roy Im wrote: > > > > period2freq = 100 / state.period; > > > >

Re: [PATCH] cros_ec_spi: Even though we're RT priority, don't bump cpu freq

2020-06-24 Thread Qais Yousef
On 06/24/20 11:49, Joel Fernandes wrote: > On Tue, Jun 23, 2020 at 12:40 PM Qais Yousef wrote: > > > > On 06/22/20 11:21, Doug Anderson wrote: > > > > [...] > > > > > > If you propose something that will help the discussion. I think based > > > > on the > > > > same approach Peter has taken to pr

[PATCH v2] mm/page_alloc: fix documentation error and remove magic numbers

2020-06-24 Thread Joel Savitz
When I increased the upper bound of the min_free_kbytes value in ee8eb9a5fe863, I forgot to tweak the above comment to reflect the new value. This patch fixes that mistake. In addition, this patch replaces the magic number bounds with symbolic constants to clarify the logic. changes from v1: - de

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

2020-06-24 Thread Dan Carpenter
In Debian testing the initrd triggers the warning. [ 34.529809] process '/usr/bin/fstype' started with executable stack $ checksec --format=json --extended --file=/var/tmp/mkinitramfs_eTyMPQ/bin/fstype | jq { "file": { "relro": "no", "canary": "no", "nx": "no", "pie": "no",

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

2020-06-24 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 2/2] clocksource: Ingenic: Add support for the Ingenic X1000 OST.

2020-06-24 Thread Zhou Yanjie
X1000 and SoCs after X1000 (such as X1500 and X1830) had a separate OST, it no longer belongs to TCU. This driver will register both a clocksource and a sched_clock to the system. Co-developed-by: qipengzhen Signed-off-by: qipengzhen Signed-off-by: 周琰杰 (Zhou Yanjie) --- drivers/clocksource/Kco

[PATCH 0/3] iopoll fixes

2020-06-24 Thread Pavel Begunkov
Did more comprehensive iopoll testing and found some more problems. [1] is from the previous series. Actually, v2 for this one, addressing the double-reissue bug found by Jens. It maybe not as efficient, but simple and easy to backport. [2,3] current->mm NULL deref Pavel Begunkov (3): io_uring

[PATCH 0/2] Add support for the OST in Ingenic X1000.

2020-06-24 Thread Zhou Yanjie
1.Add Ingenic X1000 OST bindings. 2.Add support for the Ingenic X1000 OST. 周琰杰 (Zhou Yanjie) (2): dt-bindings: timer: Add Ingenic X1000 OST bindings. clocksource: Ingenic: Add support for the Ingenic X1000 OST. .../devicetree/bindings/timer/ingenic,ost.yaml | 62 +++ drivers/clocksource

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

2020-06-24 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] dt-bindings: timer: Add Ingenic X1000 OST bindings.

2020-06-24 Thread Zhou Yanjie
Add the OST bindings for the X1 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) --- .../devicetree/bindings/timer/ingenic,ost.yaml | 62 ++ include/dt-bindings/clock/ingenic,ost.h| 12 + 2 files changed, 74 insertions(+) create mode 100644 Document

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

2020-06-24 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

Re: [PATCH 09/15] net: phy: delay PHY driver probe until PHY registration

2020-06-24 Thread Russell King - ARM Linux admin
On Wed, Jun 24, 2020 at 09:06:28AM -0700, Florian Fainelli wrote: > On 6/24/2020 6:48 AM, Bartosz Golaszewski wrote: > > I didn't expect to open such a can of worms... > > > > This has evolved into several new concepts being proposed vs my > > use-case which is relatively simple. The former will p

<    1   2   3   4   5   6   7   8   9   10   >