[PATCH v3 03/10] mfd: mt6397: modify suspend/resume behavior

2019-05-03 Thread Hsin-Hsiung Wang
Some pmics don't need backup interrupt settings, so we change to use pm notifier for the pmics which are necessary to store settings. Signed-off-by: Hsin-Hsiung Wang --- drivers/mfd/mt6397-core.c | 89 ++--- drivers/mfd/mt6397-irq.c| 33 inc

[PATCH v3 00/10] Add Support for MediaTek PMIC MT6358

2019-05-03 Thread Hsin-Hsiung Wang
This patchset including refactoring interrupt add support to MT6358 PMIC. MT6358 is the primary PMIC for MT8183 platform. changes since v2: - rewrite the description of MT6358 regulators. - refine some coding style in the dts for better code quality. - refine the suspend behavior of mfd driver. -

Re: [PATCH 5.0 000/101] 5.0.12-stable review

2019-05-03 Thread Jon Hunter
On 02/05/2019 16:20, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.0.12 release. > There are 101 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 sh

Re: [PATCH 4.9 00/32] 4.9.173-stable review

2019-05-03 Thread Jon Hunter
On 02/05/2019 16:20, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.173 release. > There are 32 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 sh

[PATCH v3 07/10] regulator: mt6358: Add support for MT6358 regulator

2019-05-03 Thread Hsin-Hsiung Wang
The MT6358 is a regulator found on boards based on MediaTek MT8183 and probably other SoCs. It is a so called pmic and connects as a slave to SoC using SPI, wrapped inside the pmic-wrapper. Signed-off-by: Hsin-Hsiung Wang --- drivers/regulator/Kconfig | 9 + drivers/regulator/

[PATCH v3 06/10] mfd: Add support for the MediaTek MT6358 PMIC

2019-05-03 Thread Hsin-Hsiung Wang
This adds support for the MediaTek MT6358 PMIC. This is a multifunction device with the following sub modules: - Regulator - RTC - Codec - Interrupt It is interfaced to the host controller using SPI interface by a proprietary hardware called PMIC wrapper or pwrap. MT6358 MFD is a child device of

[PATCH v3 10/10] rtc: Add support for the MediaTek MT6358 RTC

2019-05-03 Thread Hsin-Hsiung Wang
From: Ran Bi This add support for the MediaTek MT6358 RTC. Driver using compatible data to store different RTC_WRTGR address offset. Signed-off-by: Ran Bi --- drivers/rtc/rtc-mt6397.c | 43 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/

[PATCH v3 09/10] rtc: mt6397: fix alarm register overwrite

2019-05-03 Thread Hsin-Hsiung Wang
From: Ran Bi Alarm registers high byte was reserved for other functions. This add mask in alarm registers operation functions. This also fix error condition in interrupt handler. Fixes: fc2979118f3f ("rtc: mediatek: Add MT6397 RTC driver") Signed-off-by: Ran Bi --- drivers/rtc/rtc-mt6397.c |

[PATCH v3 05/10] regulator: Add document for MT6358 regulator

2019-05-03 Thread Hsin-Hsiung Wang
add dt-binding document for MediaTek MT6358 PMIC Signed-off-by: Hsin-Hsiung Wang --- .../bindings/regulator/mt6358-regulator.txt | 358 ++ 1 file changed, 358 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/mt6358-regulator.txt diff --git a/Docum

[PATCH v3 08/10] arm64: dts: mt6358: add PMIC MT6358 related nodes

2019-05-03 Thread Hsin-Hsiung Wang
add PMIC MT6358 related nodes which is for MT8183 platform Signed-off-by: Hsin-Hsiung Wang --- arch/arm64/boot/dts/mediatek/mt6358.dtsi | 358 +++ 1 file changed, 358 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt6358.dtsi diff --git a/arch/arm64/boot/dts/

[PATCH v3 02/10] mfd: mt6397: extract irq related code from core driver

2019-05-03 Thread Hsin-Hsiung Wang
In order to support different types of irq design, we decide to add separate irq drivers for different design and keep mt6397 mfd core simple and reusable to all generations of PMICs so far. Signed-off-by: Hsin-Hsiung Wang --- drivers/mfd/Makefile| 3 +- drivers/mfd/mt6397-core.c

Re: [PATCH 4.19 00/72] 4.19.39-stable review

2019-05-03 Thread Jon Hunter
On 02/05/2019 16:20, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.39 release. > There are 72 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 sh

[PATCH v3 01/10] mfd: mt6397: clean up code

2019-05-03 Thread Hsin-Hsiung Wang
refine some variable name for more readable Acked-for-MFD-by: Lee Jones Signed-off-by: Hsin-Hsiung Wang --- drivers/mfd/mt6397-core.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c index ab24e176ef44..c9

Re: [PATCH] HID: fix A4Tech horizontal scrolling

2019-05-03 Thread Igor Kushnir
Hi Benjamin, On 5/3/19 10:36 AM, Benjamin Tissoires wrote: Hi, On Thu, May 2, 2019 at 11:37 PM Błażej Szczygieł wrote: Since recent high resolution scrolling changes the A4Tech driver must check for the "REL_WHEEL_HI_RES" usage code. Fixes: 2dc702c991e3774af9d7ce410eef410ca9e2357e (HID: inp

[PATCH v3 1/3] arm64: defconfig: Enable CONFIG_ENERGY_MODEL

2019-05-03 Thread Quentin Perret
The recently introduced Energy Model (EM) framework manages power cost tables for the CPUs of the system. Its only user right now is the scheduler, in the context of Energy Aware Scheduling (EAS). However, the EM framework also offers a generic infrastructure that could replace subsystem-specific

[PATCH v3 3/3] thermal: cpu_cooling: Migrate to using the EM framework

2019-05-03 Thread Quentin Perret
The newly introduced Energy Model framework manages power cost tables in a generic way. Moreover, it supports a several types of models since the tables can come from DT or firmware (through SCMI) for example. On the other hand, the cpu_cooling subsystem manages its own power cost tables using only

[PATCH v3 0/3] Make IPA use PM_EM

2019-05-03 Thread Quentin Perret
Changes in v3: ** - Changed warning message for unordered tables to something more explicit (Viresh) - Changes WARN() into a pr_err() for consistency Changes in v2: ** - Fixed patch 01/03 to actually enable CONFIG_ENERGY_MODEL - Added "depends on ENERGY_MODEL" to IPA

[PATCH v3 2/3] PM / EM: Expose perf domain struct

2019-05-03 Thread Quentin Perret
In the current state, the perf_domain struct is fully defined only when CONFIG_ENERGY_MODEL=y. Since we need to write code that compiles both with or without that option in the thermal framework, make sure to actually define the struct regardless of the config option. That allows to avoid using stu

[PATCH] dt-bindings: pinctrl: Convert stm32 pinctrl bindings to jason-schema

2019-05-03 Thread Alexandre Torgue
Convert the STM32 pinctrl binding to DT schema format using json-schema. Signed-off-by: Alexandre Torgue --- Hi, First pacth to convert DT bindings file (here pinctrl STM32) to jsaon-schema in order to take advantage of devicetree validation tool for STM32. regards Alex diff --git a/Documenta

[PATCH v2] arm64: dts: allwinner: h6: add PIO VCC bank supplies for Pine H64

2019-05-03 Thread Icenowy Zheng
The Allwinner H6 SoC features tweakable VCC for PC, PD, PG, PL and PM banks. This patch adds supplies for these banks except PL bank. PL bank is where PMIC is attached, and currently if a PMIC regulator is added for it a dependency loop will happen. Signed-off-by: Icenowy Zheng --- Changes in v2

Re: [PATCH v3 0/3] Make IPA use PM_EM

2019-05-03 Thread Viresh Kumar
On 03-05-19, 10:44, Quentin Perret wrote: > Changes in v3: > ** > - Changed warning message for unordered tables to something more >explicit (Viresh) > - Changes WARN() into a pr_err() for consistency Acked-by: Viresh Kumar -- viresh

linux-next: Tree for May 3

2019-05-03 Thread Stephen Rothwell
Hi all, Changes since 20190502: The clk tree gained a build failure so I used the version from next-20190502. The f2fs tree lost its build failure. The vfs tree gained comflists against the kbuild, fscrypt and orangefs trees. The modules tree gained a conflict against the vfs tree. The akpm-c

Re: [PATCH] mtd: spi-nor: enable 4B opcodes for n25q256a

2019-05-03 Thread Marek Vasut
On 5/3/19 10:53 AM, Simon Goldschmidt wrote: > Tested on socfpga cyclone5 where this is required to ensure that the > boot rom can access this flash after warm reboot. Are you sure _all_ variants of the N25Q256 support 4NB opcodes ? I think there were some which didn't, but I might be wrong. > Si

Re: [PATCH] mmc: Fix tag set memory leak

2019-05-03 Thread Ulf Hansson
On Thu, 2 May 2019 at 21:07, Raul E Rangel wrote: > > The tag set is allocated in mmc_init_queue but never freed. This results > in a memory leak. This change makes sure we free the tag set when the > queue is also freed. > > Signed-off-by: Raul E Rangel Applied for fixes (it may not make it for

Re: [PATCH 1/2] arm64: fix syscall_fn_t type

2019-05-03 Thread Mark Rutland
On Wed, May 01, 2019 at 01:04:50PM -0700, Sami Tolvanen wrote: > Use const struct pt_regs * instead of struct pt_regs * as > the argument type to fix indirect call type mismatches with > Control-Flow Integrity checking. It's probably worth noting that in all syscall wrappers take a const struct p

[PATCH] MAINTAINERS: RAPIDIO: include more rapidio-related content

2019-05-03 Thread Robert P. J. Day
Add missing RAPIDIO-related files and directories to MAINTAINERS entry. Signed-off-by: Robert P. J. Day --- diff --git a/MAINTAINERS b/MAINTAINERS index 5c38f21aee78..1bd2f95c0df6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13020,6 +13020,16 @@ M: Matt Porter M: Alexandre Bounine

Re: BUG: unable to handle kernel paging request in do_mount

2019-05-03 Thread syzbot
This bug is marked as fixed by commit: vfs: namespace: error pointer dereference in do_remount() But I can't find it in any tested tree for more than 90 days. Is it a correct commit? Please update it by replying: #syz fix: exact-commit-title Until then the bug is still considered open and new cras

Re: [PATCH 2/2] arm64: use the correct function type in SYSCALL_DEFINE0

2019-05-03 Thread Mark Rutland
On Wed, May 01, 2019 at 01:04:51PM -0700, Sami Tolvanen wrote: > Although a syscall defined using SYSCALL_DEFINE0 doesn't accept > parameters, use the correct function type to avoid indirect call > type mismatches with Control-Flow Integrity checking. Generally, this makes sense, but I'm not sure

linux-next: Fixes tag needs some work in the tip tree

2019-05-03 Thread Stephen Rothwell
Hi all, In commit 2e712675ffd1 ("perf bpf: Return value with unlocking in perf_env__find_btf()") Fixes tag Fixes: 2db7b1e0bd49d: (perf bpf: Return NULL when RB tree lookup fails in perf_env__find_btf()) has these problem(s): - the colon after the SHA1 is unexpected Just use

[PATCH v1 0/2] perf: Minor typo and style changes to perf_event.h

2019-05-03 Thread Andrew Murray
This series makes minor changes to perf_event.h to fix an incorrect comment and to improve the readability of the annotations for the optional callbacks. Andrew Murray (2): perf: Fix incorrect comment for event_idx callback perf: Use consistent style of comments for optional callbacks inclu

[PATCH v1 2/2] perf: Use consistent style of comments for optional callbacks

2019-05-03 Thread Andrew Murray
To improve the readability of perf_event.h, let's be consistent in how we annotate optional struct pmu callbacks. Where a multi-line comment block is present before a single function prototype we add the annotation at the end of the block. Otherwise we use a single line comment at the end of the fu

[PATCH v1 1/2] perf: Fix incorrect comment for event_idx callback

2019-05-03 Thread Andrew Murray
The default implementation of the event_idx callback (perf_event_idx_default) returns 0. Let's update the comment for the callback to reflect this, as it currently indicates an incorrect value. Signed-off-by: Andrew Murray --- include/linux/perf_event.h | 2 +- 1 file changed, 1 insertion(+), 1

[RFC][PATCH 1.5/2] x86: Add int3_emulate_call() selftest

2019-05-03 Thread Peter Zijlstra
Given that the entry_*.S changes for this functionality are somewhat tricky, make sure the paths are tested every boot, instead of on the rare occasion when we trip an INT3 while rewriting text. Getting the INT3 frame setup even slightly wrong will make this come unstuck something spectacular.

Re: INFO: task hung in __get_super

2019-05-03 Thread Tetsuo Handa
On 2019/05/01 0:34, Tetsuo Handa wrote: > I still cannot understand what the problem is. (...snipped...) > I guessed that something went wrong with 8083 inside __getblk_gfp(). > How can loop_ctl_mutex be relevant to this problem? > syzbot got similar NMI backtrace. No loop_ctl_mutex is involved.

Re: [PATCH] mtd: spi-nor: enable 4B opcodes for n25q256a

2019-05-03 Thread Simon Goldschmidt
On Fri, May 3, 2019 at 12:00 PM Marek Vasut wrote: > > On 5/3/19 10:53 AM, Simon Goldschmidt wrote: > > Tested on socfpga cyclone5 where this is required to ensure that the > > boot rom can access this flash after warm reboot. > > Are you sure _all_ variants of the N25Q256 support 4NB opcodes ? >

[PATCH] net: macb: remove redundant struct phy_device declaration

2019-05-03 Thread Nicolas Ferre
While moving the chunk of code during 739de9a1563a ("net: macb: Reorganize macb_mii bringup"), the declaration of struct phy_device declaration was kept. It's not useful in this function as we alrady have a phydev pointer. Signed-off-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb_main.c

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

2019-05-03 Thread Masahiro Yamada
Hi Stephen, On Thu, May 2, 2019 at 6:43 AM Stephen Rothwell wrote: > > Hi Masahiro, > > Commit > > 7b6954a982e7 ("scripts: override locale from environment when running > recordmcount.pl") > > is missing a Signed-off-by from its committer. Fixed it now. Thanks. > -- > Cheers, > Stephen Rot

Re: [PATCH] kernel/hung_task.c: Replace trigger_all_cpu_backtrace() with task traversal.

2019-05-03 Thread Tetsuo Handa
Dmitry, I know you are currently OOO. For the record, two console outputs from two bug reports showed that syzbot is dropping hint of the culprit thread which is causing the khungtaskd to fire. https://syzkaller.appspot.com/text?tag=CrashLog&x=1104bb90a0 https://syzkaller.appspot.com/text

[tip:perf/urgent] perf/ring_buffer: Fix AUX software double buffering

2019-05-03 Thread tip-bot for Alexander Shishkin
Commit-ID: 26ae4f4406f88d82d79c85c11ac5fae18213cd38 Gitweb: https://git.kernel.org/tip/26ae4f4406f88d82d79c85c11ac5fae18213cd38 Author: Alexander Shishkin AuthorDate: Fri, 3 May 2019 11:55:35 +0300 Committer: Ingo Molnar CommitDate: Fri, 3 May 2019 12:46:10 +0200 perf/ring_buffer: Fix

[tip:perf/urgent] perf/x86/intel/pt: Remove software double buffering PMU capability

2019-05-03 Thread tip-bot for Alexander Shishkin
Commit-ID: 72e830f68428ab9ea9eca65d160795f4e02cecfc Gitweb: https://git.kernel.org/tip/72e830f68428ab9ea9eca65d160795f4e02cecfc Author: Alexander Shishkin AuthorDate: Fri, 3 May 2019 11:55:36 +0300 Committer: Ingo Molnar CommitDate: Fri, 3 May 2019 12:46:20 +0200 perf/x86/intel/pt: Rem

Re: [PATCH V5 02/16] PCI/PME: Export pcie_pme_disable_msi() & pcie_pme_no_msi() APIs

2019-05-03 Thread Thierry Reding
On Wed, Apr 24, 2019 at 10:49:50AM +0530, Vidya Sagar wrote: > Export pcie_pme_disable_msi() & pcie_pme_no_msi() APIs to enable drivers > using this API be able to build as loadable modules. > > Signed-off-by: Vidya Sagar > --- > Changes from [v4]: > * None > > Changes from [v3]: > * None > > C

Re: [PATCH V5 03/16] PCI: Export pcie_bus_config symbol

2019-05-03 Thread Thierry Reding
On Wed, Apr 24, 2019 at 10:49:51AM +0530, Vidya Sagar wrote: > Export pcie_bus_config to enable host controller drivers setting it to a > specific configuration be able to build as loadable modules > > Signed-off-by: Vidya Sagar > --- > Changes since [v4]: > * None > > Changes since [v3]: > * No

Re: [PATCH V5 04/16] PCI: dwc: Perform dbi regs write lock towards the end

2019-05-03 Thread Thierry Reding
On Wed, Apr 24, 2019 at 10:49:52AM +0530, Vidya Sagar wrote: > Remove multiple write enable and disable sequences of dbi registers as > Tegra194 implements writes to BAR-0 register (offset: 0x10) controlled by > DBI write-lock enable bit thereby not allowing any further writes to BAR-0 > register i

Investment Synergy

2019-05-03 Thread Mr. Mohamed Abdullah
For your kind Attention Sir, I am looking to work with a reputable individual/firm to engage in a profit oriented ventures in your country and perhaps with your assistance, we could get low tax rates. I have the directive of H.E Mohamed Abdullah former Petroleum Minister from Libya to source for p

Re: [PATCH V5 10/16] dt-bindings: PCI: tegra: Add device tree support for T194

2019-05-03 Thread Thierry Reding
On Wed, Apr 24, 2019 at 10:49:58AM +0530, Vidya Sagar wrote: > Add support for Tegra194 PCIe controllers. These controllers are based > on Synopsys DesignWare core IP. > > Signed-off-by: Vidya Sagar > --- > Changes since [v4]: > * None > > Changes since [v3]: > * None > > Changes since [v2]: >

Re: [RFC PATCH 0/3] Add support of busfreq

2019-05-03 Thread Krzysztof Kozlowski
On Wed, 13 Mar 2019 at 20:35, Alexandre Bailon wrote: > > This series implements busfreq, a framework used in MXP's > tree to scale the interconnect and dram frequencies. > In the vendor tree, device's driver request for a > performance level, which is used to scale the frequencies. > This series

[PATCH 0/2] gdb/scripts: Improve lx-clk-summary

2019-05-03 Thread Leonard Crestez
The earlier series adding clk support to gdb/scripts was quickly accepted but some concerns were raised by Stephen Boyd so this series attempts to address them. Link to previous series: https://lkml.org/lkml/2019/4/22/55 This is not a v2 and squashing is not expected. Fields other than clk rate

[PATCH 2/2] scripts/gdb: Print cached rate in lx-clk-summary

2019-05-03 Thread Leonard Crestez
The clk rate is always stored in clk_core but might be out of date and require calls to update from hardware. Deal with that case by printing a (c) suffix. Signed-off-by: Leonard Crestez --- scripts/gdb/linux/clk.py | 21 ++--- scripts/gdb/linux/constants.py.in | 4 ++

[PATCH 1/2] scripts/gdb: Cleanup error handling in list helpers

2019-05-03 Thread Leonard Crestez
An incorrect argument to list_for_each is an internal error in gdb scripts so a TypeError should be raised. The gdb.GdbError exception type is intended for user errors such as incorrect invocation. Drop the type assertion in list_for_each_entry because list_for_each isn't going to suddenly yield s

RE: [PATCH 2/2] prctl.2: Document the new PR_GET_TASK_SIZE option

2019-05-03 Thread David Laight
From: Joel Savitz > Sent: 02 May 2019 20:13 > Add a short explanation of the new PR_GET_TASK_SIZE option for the benefit > of future generations. > > Signed-off-by: Joel Savitz > --- > man2/prctl.2 | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/man2/prctl.2 b/man2/prctl.2 > i

Re: [PATCH V4 1/2] PCI: dwc: Add API support to de-initialize host

2019-05-03 Thread Lorenzo Pieralisi
On Thu, May 02, 2019 at 10:34:25PM +0530, Vidya Sagar wrote: > Add an API to group all the tasks to be done to de-initialize host which > can then be called by any DesignWare core based driver implementations > while adding .remove() support in their respective drivers. > > Signed-off-by: Vidya Sa

Re: [PATCH v2 2/2] RISC-V: sifive_l2_cache: Add L2 cache controller driver for SiFive SoCs

2019-05-03 Thread Yash Shah
On Thu, May 2, 2019 at 7:07 PM Andrew F. Davis wrote: > > On 5/2/19 6:34 AM, Yash Shah wrote: > > The driver currently supports only SiFive FU540-C000 platform. > > > > The initial version of L2 cache controller driver includes: > > - Initial configuration reporting at boot up. > > - Support for E

Re: [PATCH V5 12/16] arm64: tegra: Add P2U and PCIe controller nodes to Tegra194 DT

2019-05-03 Thread Thierry Reding
On Wed, Apr 24, 2019 at 10:50:00AM +0530, Vidya Sagar wrote: > Add P2U (PIPE to UPHY) and PCIe controller nodes to device tree. > The Tegra194 SoC contains six PCIe controllers and twenty P2U instances > grouped into two different PHY bricks namely High-Speed IO (HSIO-12 P2Us) > and NVIDIA High Spe

[tip:sched/core] power/suspend: Add function to disable secondaries for suspend

2019-05-03 Thread tip-bot for Nicholas Piggin
Commit-ID: c2cb30bfceceba8a2a0d5713230a250dd6140e22 Gitweb: https://git.kernel.org/tip/c2cb30bfceceba8a2a0d5713230a250dd6140e22 Author: Nicholas Piggin AuthorDate: Thu, 11 Apr 2019 13:34:45 +1000 Committer: Ingo Molnar CommitDate: Fri, 3 May 2019 12:53:14 +0200 power/suspend: Add funct

[tip:sched/core] kernel/cpu: Allow non-zero CPU to be primary for suspend / kexec freeze

2019-05-03 Thread tip-bot for Nicholas Piggin
Commit-ID: 9bcd2cd91816020b0600a2078bab51641b1341df Gitweb: https://git.kernel.org/tip/9bcd2cd91816020b0600a2078bab51641b1341df Author: Nicholas Piggin AuthorDate: Thu, 11 Apr 2019 13:34:46 +1000 Committer: Ingo Molnar CommitDate: Fri, 3 May 2019 12:53:14 +0200 kernel/cpu: Allow non-ze

[tip:sched/core] sched/isolation: Require a present CPU in housekeeping mask

2019-05-03 Thread tip-bot for Nicholas Piggin
Commit-ID: e9a140c6d20ee29951a193342ebaccf07ebc63eb Gitweb: https://git.kernel.org/tip/e9a140c6d20ee29951a193342ebaccf07ebc63eb Author: Nicholas Piggin AuthorDate: Thu, 11 Apr 2019 13:34:47 +1000 Committer: Ingo Molnar CommitDate: Fri, 3 May 2019 12:53:14 +0200 sched/isolation: Require

RE: [PATCH v2 1/2] kernel/sys: add PR_GET_TASK_SIZE option to prctl(2)

2019-05-03 Thread David Laight
From: Cyrill Gorcunov > Sent: 03 May 2019 09:32 > On Thu, May 02, 2019 at 05:46:08PM -0400, Joel Savitz wrote: > > > Won't be possible to use put_user here? Something like > > > > > > static int prctl_get_tasksize(unsigned long __user *uaddr) > > > { > > > return put_user(TASK_SIZE, uaddr)

Re: [PATCH] mtd: spi-nor: enable 4B opcodes for n25q256a

2019-05-03 Thread Marek Vasut
On 5/3/19 12:37 PM, Simon Goldschmidt wrote: > On Fri, May 3, 2019 at 12:00 PM Marek Vasut wrote: >> >> On 5/3/19 10:53 AM, Simon Goldschmidt wrote: >>> Tested on socfpga cyclone5 where this is required to ensure that the >>> boot rom can access this flash after warm reboot. >> >> Are you sure _al

[tip:sched/core] sched/core: Allow the remote scheduler tick to be started on CPU0

2019-05-03 Thread tip-bot for Nicholas Piggin
Commit-ID: 77a5352ba977d2554643e3797e10823d0d03dcf7 Gitweb: https://git.kernel.org/tip/77a5352ba977d2554643e3797e10823d0d03dcf7 Author: Nicholas Piggin AuthorDate: Thu, 11 Apr 2019 13:34:44 +1000 Committer: Ingo Molnar CommitDate: Fri, 3 May 2019 12:53:14 +0200 sched/core: Allow the re

Re: [PATCH V5 13/16] arm64: tegra: Enable PCIe slots in P2972-0000 board

2019-05-03 Thread Thierry Reding
On Wed, Apr 24, 2019 at 10:50:01AM +0530, Vidya Sagar wrote: > Enable PCIe controller nodes to enable respective PCIe slots on > P2972- board. Following is the ownership of slots by different > PCIe controllers. > Controller-0 : M.2 Key-M slot > Controller-1 : On-board Marvell eSATA controller

[tip:sched/core] nohz_full: Allow the boot CPU to be nohz_full

2019-05-03 Thread tip-bot for Nicholas Piggin
Commit-ID: 65874bd36e6ae3028539e989bfb5c28ad457368e Gitweb: https://git.kernel.org/tip/65874bd36e6ae3028539e989bfb5c28ad457368e Author: Nicholas Piggin AuthorDate: Thu, 11 Apr 2019 13:34:48 +1000 Committer: Ingo Molnar CommitDate: Fri, 3 May 2019 12:53:15 +0200 nohz_full: Allow the boo

Re: [PATCH V5 14/16] phy: tegra: Add PCIe PIPE2UPHY support

2019-05-03 Thread Thierry Reding
On Wed, Apr 24, 2019 at 10:50:02AM +0530, Vidya Sagar wrote: > Synopsys DesignWare core based PCIe controllers in Tegra 194 SoC interface > with Universal PHY (UPHY) module through a PIPE2UPHY (P2U) module. > For each PCIe lane of a controller, there is a P2U unit instantiated at > hardware level.

Re: [PATCH 5.0 25/89] RDMA/ucontext: Fix regression with disassociate

2019-05-03 Thread Michal Kubecek
On Tue, Apr 30, 2019 at 01:38:16PM +0200, Greg Kroah-Hartman wrote: > From: Jason Gunthorpe > > commit 67f269b37f9b4d52c5e7f97acea26c0852e9b8a1 upstream. > > When this code was consolidated the intention was that the VMA would > become backed by anonymous zero pages after the zap_vma_pte - howev

Re: [PATCH 5.0 25/89] RDMA/ucontext: Fix regression with disassociate

2019-05-03 Thread Michal Kubecek
On Fri, May 03, 2019 at 01:47:16PM +0200, Michal Kubecek wrote: > On Tue, Apr 30, 2019 at 01:38:16PM +0200, Greg Kroah-Hartman wrote: > > From: Jason Gunthorpe > > > > commit 67f269b37f9b4d52c5e7f97acea26c0852e9b8a1 upstream. > > > > When this code was consolidated the intention was that the VMA

Re: [PATCH v2 43/79] docs: m68k: convert docs to ReST and rename to *.rst

2019-05-03 Thread Geert Uytterhoeven
Hi Mauro, On Mon, Apr 22, 2019 at 3:34 PM Mauro Carvalho Chehab wrote: > Convert the m68k kernel-options.txt file to ReST. > > The conversion is trivial, as the document is already on a format > close enough to ReST. Just some small adjustments were needed in > order to make it both good for bein

Re: implement generic dma_map_ops for IOMMUs v4

2019-05-03 Thread Catalin Marinas
On Thu, May 02, 2019 at 03:22:08PM +0200, Christoph Hellwig wrote: > can you quickly look over the arm64 parts? I'd really like to still > get this series in for this merge window as it would conflict with > a lot of dma-mapping work for next merge window, and we also have > the amd and possibly i

Re: [PATCH] HID: fix A4Tech horizontal scrolling

2019-05-03 Thread Benjamin Tissoires
Hi, On Fri, May 3, 2019 at 11:43 AM Igor Kushnir wrote: > > Hi Benjamin, > > On 5/3/19 10:36 AM, Benjamin Tissoires wrote: > > Hi, > > > > On Thu, May 2, 2019 at 11:37 PM Błażej Szczygieł wrote: > >> > >> Since recent high resolution scrolling changes the A4Tech driver must > >> check for the "R

Re: [PATCH-tip v7 01/20] locking/rwsem: Prevent decrement of reader count before increment

2019-05-03 Thread Peter Zijlstra
On Sun, Apr 28, 2019 at 05:25:38PM -0400, Waiman Long wrote: > During my rwsem testing, it was found that after a down_read(), the > reader count may occasionally become 0 or even negative. Consequently, > a writer may steal the lock at that time and execute with the reader > in parallel thus break

[PATCH 1/6] perf scripts python: exported-sql-viewer.py: Fix error when shrinking / enlarging font

2019-05-03 Thread Adrian Hunter
Fix the following error if shrink / enlarge font is used with the help window. Traceback (most recent call last): File "tools/perf/scripts/python/exported-sql-viewer.py", line 2791, in ShrinkFont ShrinkFont(win.view) AttributeError: 'HelpWindow' object has no attribute 'view' Signe

[PATCH 6/6] perf scripts python: exported-sql-viewer.py: Add 'About' dialog box

2019-05-03 Thread Adrian Hunter
With support for Python 2 or 3 and PySide 1 or 2 (Qt 4 or 5), it is useful to see what versions are in use. Add an 'About' dialog box that displays Python, PySide, Qt and database server (SQLite or PostgreSQL) version numbers. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-view

[PATCH 0/6] perf scripts python: exported-sql-viewer.py: Minor improvements

2019-05-03 Thread Adrian Hunter
Hi Here are a some minor improvememnts to exported-sql-viewer.py The patches go on top of the pyside2 support patches, here: https://lore.kernel.org/lkml/20190412113830.4126-1-adrian.hun...@intel.com Adrian Hunter (6): perf scripts python: exported-sql-viewer.py: Fix error when s

[PATCH 3/6] perf scripts python: exported-sql-viewer.py: Add tree level

2019-05-03 Thread Adrian Hunter
As preparation for adding support for copying to clipboard, keep track of what level each item is in tree items. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/exported-sql-viewer.py | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/scripts/python/exported-sql-viewer

[PATCH 4/6] perf scripts python: exported-sql-viewer.py: Add copy to clipboard

2019-05-03 Thread Adrian Hunter
Add support for copying to clipboard. Two menu options are added to copy the selected rows / columns with normal spacing, or as comma-separated-values. In the case of trees, only entire rows can be copied. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 217 +

[PATCH 5/6] perf scripts python: exported-sql-viewer.py: Add context menu

2019-05-03 Thread Adrian Hunter
Add a context menu (right-click) that provides options for copying to clipboard, including, for trees, the ability to copy only the cell under the mouse pointer. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 41 +++ 1 file changed, 41 insertions

[PATCH 2/6] perf scripts python: exported-sql-viewer.py: Move view creation

2019-05-03 Thread Adrian Hunter
As preparation for adding support for copying to clipboard, create view in TreeWindowBase instead of derived classes. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/exported-sql-viewer.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/perf/scripts/pyth

Re: [PATCH v2 08/10] nvme/pci: implement the mdev external queue allocation interface

2019-05-03 Thread Keith Busch
On Fri, May 03, 2019 at 12:20:17AM +0300, Maxim Levitsky wrote: > On Thu, 2019-05-02 at 15:12 -0600, Heitke, Kenneth wrote: > > On 5/2/2019 5:47 AM, Maxim Levitsky wrote: > > > +static void nvme_ext_queue_free(struct nvme_ctrl *ctrl, u16 qid) > > > +{ > > > + struct nvme_dev *dev = to_nvme_dev(ctrl

Re: strace for m68k bpf_prog_info mismatch

2019-05-03 Thread Geert Uytterhoeven
Hi Baruch, On Fri, May 3, 2019 at 1:52 PM Baruch Siach wrote: > On Fri, May 03 2019, Geert Uytterhoeven wrote: > > On Fri, May 3, 2019 at 6:06 AM Baruch Siach wrote: > >> strace 5.0 fails to build for m86k/5208 with the Buildroot generated > >> toolchain: > >> > >> In file included from bpf_attr

Re: [PATCH 0/4] nvme-pci: support device coredump

2019-05-03 Thread Keith Busch
On Fri, May 03, 2019 at 12:38:08PM +0900, Akinobu Mita wrote: > 2019年5月2日(木) 22:03 Keith Busch : > > On Thu, May 02, 2019 at 05:59:17PM +0900, Akinobu Mita wrote: > > > This enables to capture snapshot of controller information via device > > > coredump machanism, and it helps diagnose and debug is

Re: [PATCH v2 00/10] RFC: NVME MDEV

2019-05-03 Thread Christoph Hellwig
I simply don't get the point of this series. MDEV is an interface for exposing parts of a device to a userspace program / VM. But that this series appears to do is to expose a purely software defined nvme controller to userspace. Which in principle is a good idea, but we have a much better frame

Re: [PATCH] HID: rmi: fix devm_add_action_or_reset() parameter

2019-05-03 Thread Jiri Kosina
On Fri, 12 Apr 2019, Fabien Dessenne wrote: > The second parameter of devm_add_action_or_reset() shall be a function, > not a function address. > > Signed-off-by: Fabien Dessenne > --- > drivers/hid/hid-rmi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hid/

Re: [PATCH 0/4] nvme-pci: support device coredump

2019-05-03 Thread Christoph Hellwig
On Fri, May 03, 2019 at 06:12:32AM -0600, Keith Busch wrote: > Could you actually explain how the rest is useful? I personally have > never encountered an issue where knowing these values would have helped: > every device timeout always needed device specific internal firmware > logs in my experien

Re: [RFC PATCH 3/5] kobject: Fix kernel-doc comment first line

2019-05-03 Thread Jonathan Corbet
On Thu, 2 May 2019 18:46:16 -0700 Randy Dunlap wrote: > I have seen this discussion before also. And sometimes it is not even > a discussion -- it's more of an edict. To which I object/disagree. > The current (or past) comment style is perfectly fine IMO. > No caps needed. No ending '.' needed

Re: [PATCH v2 06/10] nvme/core: add mdev interfaces

2019-05-03 Thread Christoph Hellwig
On Thu, May 02, 2019 at 02:47:57PM +0300, Maxim Levitsky wrote: > If the mdev device driver also sets the > NVME_F_MDEV_DMA_SUPPORTED, the mdev core will > dma map all the guest memory into the nvme device, > so that nvme device driver can use dma addresses as passed > from the mdev core driver We

Re: [PATCH] net: macb: remove redundant struct phy_device declaration

2019-05-03 Thread Andrew Lunn
On Fri, May 03, 2019 at 12:36:28PM +0200, Nicolas Ferre wrote: > While moving the chunk of code during 739de9a1563a > ("net: macb: Reorganize macb_mii bringup"), the declaration of > struct phy_device declaration was kept. It's not useful in this > function as we alrady have a phydev pointer. > >

[PATCH] x86,sh: use __builtin_constant_p() directly instead of IS_IMMEDIATE()

2019-05-03 Thread Masahiro Yamada
__builtin_constant_p(nr) is used everywhere now. It does not make much sense to define IS_IMMEDIATE() as its alias. Signed-off-by: Masahiro Yamada --- arch/sh/include/asm/bitops-op32.h | 8 +++- arch/x86/include/asm/bitops.h | 7 +++ 2 files changed, 6 insertions(+), 9 deletions(-)

[tip:sched/core 24/27] kernel/power/suspend.c:431:10: error: implicit declaration of function 'suspend_disable_secondary_cpus'

2019-05-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core head: 65874bd36e6ae3028539e989bfb5c28ad457368e commit: c2cb30bfceceba8a2a0d5713230a250dd6140e22 [24/27] power/suspend: Add function to disable secondaries for suspend config: x86_64-randconfig-l3-05031806 (attached as

Re: [PATCH] scripts/documentation-file-ref-check: don't parse Next/ dir

2019-05-03 Thread Jonathan Corbet
On Mon, 22 Apr 2019 08:42:02 -0300 Mauro Carvalho Chehab wrote: > If one tries to run this script under linux-next, it would > hit lots of false-positives, due to the tree merges that > are stored under the Next/ directory. > > So, add a logic to ignore it. > > Signed-off-by: Mauro Carvalho Che

Re: [PATCH] scripts/documentation-file-ref-check: detect broken :doc:`foo`

2019-05-03 Thread Jonathan Corbet
On Wed, 24 Apr 2019 13:25:33 -0300 Mauro Carvalho Chehab wrote: > As we keep migrating documents to ReST, we're starting to see > more of such tags. > > Right now, all such tags are pointing to a documentation file, > but regressions may be introduced. > > So, add a check for such kind of issue

Re: linux-next: manual merge of the akpm-current tree with the block tree

2019-05-03 Thread Amir Goldstein
On Fri, May 3, 2019 at 5:10 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > fs/sync.c > > between commit: > > 22f96b3808c1 ("fs: add sync_file_range() helper") > > from the block tree and commit: > > 9a8d18789a18 ("fs/sync.c

Re: [PATCH] HID: rmi: fix devm_add_action_or_reset() parameter

2019-05-03 Thread Fabien DESSENNE
On 03/05/2019 2:19 PM, Jiri Kosina wrote: > On Fri, 12 Apr 2019, Fabien Dessenne wrote: > >> The second parameter of devm_add_action_or_reset() shall be a function, >> not a function address. >> >> Signed-off-by: Fabien Dessenne >> --- >> drivers/hid/hid-rmi.c | 2 +- >> 1 file changed, 1 inse

Re: [PATCH] HID: rmi: fix devm_add_action_or_reset() parameter

2019-05-03 Thread Jiri Kosina
On Fri, 3 May 2019, Fabien DESSENNE wrote: > >> - ret = devm_add_action_or_reset(&hdev->dev, &rmi_irq_teardown, hdata); > >> + ret = devm_add_action_or_reset(&hdev->dev, rmi_irq_teardown, hdata); > > Why do you think this is wrong C? > > Because I was not aware that both func and &func refer to

ERROR: "paddr_to_nid" [drivers/md/raid1.ko] undefined!

2019-05-03 Thread kbuild test robot
Hi Ming, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ea9866793d1e925b4d320eaea409263b2a568f38 commit: 6dc4f100c175dd0511ae8674786e7c9006cdfbfa block: allow bio_for_each_segment_all() to iterate over multi-page

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

2019-05-03 Thread Arnd Bergmann
On Fri, May 3, 2019 at 2:49 AM Linus Walleij wrote: > > On Tue, Apr 30, 2019 at 12:28 AM Stephen Rothwell > wrote: > > > After merging the arm-soc tree, today's linux-next build > > (x86_64 allmodconfig) produced this warning: > > > > drivers/clocksource/timer-ixp4xx.c:78:20: warning: > > 'ixp4

RE: [PATCH] clk: imx: clk-pllv3: mark expected switch fall-throughs

2019-05-03 Thread Anson Huang
> -Original Message- > From: Gustavo A. R. Silva [mailto:gust...@embeddedor.com] > Sent: Tuesday, April 30, 2019 10:32 PM > To: Michael Turquette ; Stephen Boyd > ; Shawn Guo ; Sascha Hauer > ; Pengutronix Kernel Team > ; Fabio Estevam ; dl-linux- > imx > Cc: linux-...@vger.kernel.org; l

RE: [PATCH V2] clk: imx: pllv4: add fractional-N pll support

2019-05-03 Thread Anson Huang
Hi, Stephen > -Original Message- > From: Stephen Boyd [mailto:sb...@kernel.org] > Sent: Thursday, May 2, 2019 5:01 AM > To: feste...@gmail.com; ker...@pengutronix.de; linux-arm- > ker...@lists.infradead.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; mturque...@baylibre.co

[tip:sched/core 24/27] kernel/power/hibernate.c:284:10: error: implicit declaration of function 'suspend_disable_secondary_cpus'

2019-05-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core head: 65874bd36e6ae3028539e989bfb5c28ad457368e commit: c2cb30bfceceba8a2a0d5713230a250dd6140e22 [24/27] power/suspend: Add function to disable secondaries for suspend config: x86_64-randconfig-l2-05031806 (attached as

[PATCH] uapi libc compat: fix spelling typo

2019-05-03 Thread Gaël PORTAY
From: Gaël PORTAY Replace 'm' with 'n' in "comflicting". Signed-off-by: Gaël PORTAY --- include/uapi/linux/libc-compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/libc-compat.h b/include/uapi/linux/libc-compat.h index 8254c937c9f4..50ec41c4b660 1006

Re: [PATCH-tip v7 08/20] locking/rwsem: Implement lock handoff to prevent lock starvation

2019-05-03 Thread Peter Zijlstra
On Sun, Apr 28, 2019 at 05:25:45PM -0400, Waiman Long wrote: > +static inline bool rwsem_try_write_lock(long count, struct rw_semaphore *sem, > + enum writer_wait_state wstate) > { > long new; > > + lockdep_assert_held(&sem->wait_lock); > + do {

Re: [PATCH V5 15/16] PCI: tegra: Add Tegra194 PCIe support

2019-05-03 Thread Thierry Reding
On Wed, Apr 24, 2019 at 10:50:03AM +0530, Vidya Sagar wrote: > Add support for Synopsys DesignWare core IP based PCIe host controller > present in Tegra194 SoC. > > Signed-off-by: Vidya Sagar > --- > Changes since [v4]: > * None > > Changes since [v3]: > * None > > Changes since [v2]: > * Chang

[PATCH] soc: ixp4xx: qmgr: Fix an NULL vs IS_ERR() check in probe

2019-05-03 Thread Dan Carpenter
The devm_ioremap_resource() function doesn't retunr NULL, it returns error pointers. Fixes: ecc133c6da60 ("soc: ixp4xx: qmgr: Pass resources") Signed-off-by: Dan Carpenter --- drivers/soc/ixp4xx/ixp4xx-qmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/ixp

<    1   2   3   4   5   6   >