Re: [PATCH v6 2/4] driver core: add deferring probe reason to devices_deferred property

2020-07-01 Thread Andrzej Hajda
On 30.06.2020 20:00, Dmitry Torokhov wrote: > On Tue, Jun 30, 2020 at 8:42 AM Andrzej Hajda wrote: >> >> On 30.06.2020 10:59, Grygorii Strashko wrote: >>> Hi >>> >>> On 29/06/2020 14:28, Andrzej Hajda wrote: Hi Grygorii, (...) >> /* >> * deferred_devs_show()

Re: [PATCH v3] Documentation: Coccinelle: fix various typos etc.

2020-07-01 Thread Markus Elfring
… > +++ linux-next-20200629/Documentation/dev-tools/coccinelle.rst … > @@ -260,13 +260,13 @@ If not using the kernel's coccicheck tar … > -We help Coccinelle when used against Linux with a set of sensible defaults > +We help Coccinelle when used against Linux with a set of sensible default > optio

[PATCH v1 9/9] arm64: configs: defconfig: add CONFIG_FSL_EDMA3

2020-07-01 Thread Robin Gong
Add CONFIG_FSL_EDMA3 for i.mx8qxp/i.mx8qm. Signed-off-by: Robin Gong --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index ae76fae..d786bd9 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/

[PATCH v1 7/9] firmware: imx: scu-pd: correct dma resource

2020-07-01 Thread Robin Gong
enlarge dma0/dma1 channel resource to 32 and split two parts of dma2 since their resource id are not continouse. Signed-off-by: Robin Gong --- drivers/firmware/imx/scu-pd.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware

[PATCH v1 6/9] dt-bindings: dma: add fsl-edma3 yaml

2020-07-01 Thread Robin Gong
Add device binding doc for fsl-edma3 driver. Signed-off-by: Robin Gong --- .../devicetree/bindings/dma/nxp,fsl-edma3.yaml | 129 + 1 file changed, 129 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/nxp,fsl-edma3.yaml diff --git a/Documentation/de

Re: [PATCH v4 1/1] mfd: Add I2C based System Configuaration (SYSCON) access

2020-07-01 Thread Lee Jones
On Wed, 01 Jul 2020, Michael Walle wrote: > Am 2020-07-01 09:04, schrieb Lee Jones: > > On Wed, 01 Jul 2020, Michael Walle wrote: > > > > > Hi Lee, > > > > > > Am 2020-06-30 11:16, schrieb Michael Walle: > > > > I'm just trying to use this for my sl28 driver. Some remarks, see below. > > > > > >

[PATCH v1 8/9] arm64: dts: imx8qxp: add edma2

2020-07-01 Thread Robin Gong
add edma2 on i.mx8qxp. Signed-off-by: Robin Gong --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 38 ++ 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index e46faac..3f4fa59d 100

[PATCH v1 1/9] dmaengine: fsl-edma: move edma_request functions into drvdata

2020-07-01 Thread Robin Gong
Move fsl_edma_enable_request/fsl_edma_disable_request into drvdata so that later edma3 could easily be added. Signed-off-by: Robin Gong --- drivers/dma/fsl-edma-common.c | 13 +++-- drivers/dma/fsl-edma-common.h | 3 +++ drivers/dma/fsl-edma.c| 10 -- drivers/dma/mcf-edm

[PATCH v1 4/9] dmaengine: fsl-edma-common: export fsl_edma_set_tcd_regs

2020-07-01 Thread Robin Gong
Preparing for edma3 since it need to be called in fsl-edma3.c Signed-off-by: Robin Gong --- drivers/dma/fsl-edma-common.c | 3 ++- drivers/dma/fsl-edma-common.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c ind

[PATCH v1 0/9] add fsl-edma3 support

2020-07-01 Thread Robin Gong
This patchset enable fsl-edma3 which is used on i.mx8qxp/i.mx8qm. There are big changes on fsl-edma so that add indepent fsl-edma3 here: 1. split memory address for per channel, while all channels share the same memory address and the same control registers CR/INT..etc. 2. all TCD registers of

Re: [PATCH 5/5] connector: Create connector per namespace

2020-07-01 Thread kernel test robot
Hi Matt, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on ipvs/master] [also build test WARNING on dm/for-next linux/master linus/master v5.8-rc3 next-20200701] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch

[PATCH v1 5/9] dmaengine: fsl-edma3: add fsl-edma3 driver

2020-07-01 Thread Robin Gong
add fsl-edma3 driver since there are big differences with legacy fsl-edma including below major items: 1. split memory address for per channel, while all channels share the same memory address and the same control registers CR/INT..etc. 2. all TCD registers of channels are continuous on legacy e

[PATCH v1 3/9] dmaengine: fsl-edma-common: add fsl_chan into fsl_edma_fill_tcd

2020-07-01 Thread Robin Gong
For preparing for next edma3 merged so that any member of 'struct fsl_chan' could be used in fsl_edma_fill_tcd. Signed-off-by: Robin Gong --- drivers/dma/fsl-edma-common.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/dma/fsl-edma-common.

[PATCH v1 2/9] dmaengine: fsl-edma-common: add condition check for fsl_edma_chan_mux

2020-07-01 Thread Robin Gong
Since next edma3 don't have dmamux, add condition check in the common fsl_edma_free_chan_resources(). Signed-off-by: Robin Gong --- drivers/dma/fsl-edma-common.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-01 Thread Naresh Kamboju
On Thu, 2 Jul 2020 at 00:16, Roman Gushchin wrote: > > On Wed, Jul 01, 2020 at 10:29:04AM +0200, Michal Hocko wrote: > > Smells like a different observable problem with the same/similar culprit > > as > > http://lkml.kernel.org/r/CA+G9fYtrgF_EZHi0vi+HyWiXT5LGggDhVXtNspc=OzzFhL=x...@mail.gmail.com

Re: [PATCH] staging/wilc1000: let wilc_mac_xmit() to NETDEV_TX_OK

2020-07-01 Thread Kalle Valo
writes: > Luc, > > Thanks for your patch... > > On 28/06/2020 at 20:32, Luc Van Oostenryck wrote: >> The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', >> which is a typedef for an enum type defining 'NETDEV_TX_OK' but this >> driver returns '0' instead of 'NETDEV_TX_OK'. >> >

Re: [PATCH v5 3/3] mm/page_alloc: Keep memoryless cpuless node 0 offline

2020-07-01 Thread Srikar Dronamraju
* Michal Hocko [2020-07-01 14:21:10]: > > >> > > >> 2. Also existence of dummy node also leads to inconsistent > > >> information. The > > >> number of online nodes is inconsistent with the information in the > > >> device-tree and resource-dump > > >> > > >> 3. When

Re: [PATCH 14/15] mmc: host: cqhci: Demote faux kerneldoc header down to basic comment block

2020-07-01 Thread Adrian Hunter
On 1/07/20 3:47 pm, Lee Jones wrote: > cqhci_host_alloc_tdl()'s function header is the only one in > kerneldoc format. Which seems odd as it's not part of an > external API and isn't referenced anywhere else. Seeing as > there has also been no attempt to describe the expected > function arguments

Re: [PATCH] Revert "ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb"

2020-07-01 Thread Kalle Valo
Viktor Jägersküpper writes: > Kalle Valo writes: >> Roman Mamedov writes: >> >>> On Sat, 4 Apr 2020 12:18:38 +0800 >>> Qiujun Huang wrote: >>> In ath9k_hif_usb_rx_cb interface number is assumed to be 0. usb_ifnum_to_if(urb->dev, 0) But it isn't always true. The case r

Re: [PATCH] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-01 Thread Thomas Zimmermann
Hi Am 02.07.20 um 03:21 schrieb Tian Tao: > using the new API drmm_kzalloc() instead of devm_kzalloc() > > Signed-off-by: Tian Tao > --- > drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/hisilicon/hibmc/

RE: [PATCH V4 3/5] clk: imx: Support building i.MX common clock driver as module

2020-07-01 Thread Anson Huang
> Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock > driver as module > > On Thu, Jul 2, 2020 at 2:11 PM Anson Huang wrote: > > > > > Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common > > > clock driver as module > > > > > > On Thu, Jul 2, 2020 at 11:26

Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock driver as module

2020-07-01 Thread Dong Aisheng
On Thu, Jul 2, 2020 at 2:11 PM Anson Huang wrote: > > > Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock > > driver as module > > > > On Thu, Jul 2, 2020 at 11:26 AM Anson Huang > > wrote: > > [...] > > > > > @@ -143,16 +148,18 @@ void imx_cscmr1_fixup(u32 *val) static in

[PATCH v1 1/2] netxen_nic: use generic power management

2020-07-01 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. And they use PCI helper functions to do it. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific o

[PATCH v1 2/2] qlcninc: use generic power management

2020-07-01 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. And they use PCI helper functions to do it. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific o

[PATCH v1 0/2] qlogic: use generic power management

2020-07-01 Thread Vaibhav Gupta
Linux Kernel Mentee: Remove Legacy Power Management. The purpose of this patch series is to remove legacy power management callbacks from qlogic ethernet drivers. The callbacks performing suspend() and resume() operations are still calling pci_save_state(), pci_set_power_state(), etc. and handlin

Re: [PATCH 09/10] mfd: atmel-smc: Add missing colon(s) for 'conf' arguments

2020-07-01 Thread Lee Jones
On Wed, 01 Jul 2020, Sasha Levin wrote: > Hi > > [This is an automated email] > > This commit has been processed because it contains a -stable tag. > The stable tag indicates that it's relevant for the following trees: all > > The bot has tested the following trees: v5.7.6, v5.4.49, v4.19.130,

Re: [PATCH 02/10] mfd: mfd-core: Complete kerneldoc header for devm_mfd_add_devices()

2020-07-01 Thread Lee Jones
On Wed, 01 Jul 2020, Sasha Levin wrote: > Hi > > [This is an automated email] > > This commit has been processed because it contains a -stable tag. > The stable tag indicates that it's relevant for the following trees: all > > The bot has tested the following trees: v5.7.6, v5.4.49, v4.19.130,

Re: [PATCH 10/10] mfd: altera-sysmgr: Supply descriptions for 'np' and 'property' function args

2020-07-01 Thread Lee Jones
On Wed, 01 Jul 2020, Sasha Levin wrote: > Hi > > [This is an automated email] > > This commit has been processed because it contains a -stable tag. > The stable tag indicates that it's relevant for the following trees: all > > The bot has tested the following trees: v5.7.6, v5.4.49, v4.19.130,

Re: UART/TTY console deadlock

2020-07-01 Thread Sergey Senozhatsky
On (20/07/02 06:14), S, Shirish wrote: > This one: > https://lkml.org/lkml/2020/6/30/394 > > I did reply to all, not sure what I am missing while replying. It's not a formal patch yet. Give us some more time to figure out how do we want to fix the problem at hand. -ss

Re: [RFC] METADATA design using V4l2 Request API

2020-07-01 Thread dikshita
Hi, A gentle reminder for review. Thanks, Dikshita On 2020-06-23 18:17, diksh...@codeaurora.org wrote: Hi Hans, On 2020-06-16 18:30, diksh...@codeaurora.org wrote: Hi Nicolas, Hans, Thanks for your comments and sorry for the delayed response. On 2020-06-12 22:07, Nicolas Dufresne wrote: L

Re: [PATCH 04/10] mfd: altera-sysmgr: Fix physical address storing hacks

2020-07-01 Thread Lee Jones
On Wed, 01 Jul 2020, Sasha Levin wrote: > Hi > > [This is an automated email] > > This commit has been processed because it contains a -stable tag. > The stable tag indicates that it's relevant for the following trees: all > > The bot has tested the following trees: v5.7.6, v5.4.49, v4.19.130,

[PATCH v2 2/4] dt-bindings: regulator: mt6397: Document valid modes

2020-07-01 Thread Anand K Mistry
Document valid mode values for BUCK regulators. Signed-off-by: Anand K Mistry --- Changes in v2: None .../devicetree/bindings/regulator/mt6397-regulator.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/mt6397-regulator.txt b/Docume

[PATCH v2 4/4] arm64: dts: mediatek: Update allowed mt6397 regulator modes for elm boards

2020-07-01 Thread Anand K Mistry
This updates the allowed mt6397 regulator modes for elm (and derivative) boards to use named constants. Signed-off-by: Anand K Mistry --- Changes in v2: - Introduce constants in dt-bindings - Improve conditional readability arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 4 +++- 1 file changed

[PATCH v2 1/4] regulator: mt6397: Move buck modes into header file

2020-07-01 Thread Anand K Mistry
This will allow device trees to make use of these constants. Signed-off-by: Anand K Mistry --- Changes in v2: None drivers/regulator/mt6397-regulator.c | 4 +--- .../regulator/mediatek,mt6397-regulator.h | 15 +++ 2 files changed, 16 insertions(+), 3 deletions

[PATCH v2 3/4] regulator: mt6397: Implement of_map_mode

2020-07-01 Thread Anand K Mistry
Implementing of_map_mode is necessary to be able to specify operating modes in the devicetree using 'regulator-allowed-modes', and to change regulator modes. Signed-off-by: Anand K Mistry --- Changes in v2: None drivers/regulator/mt6397-regulator.c | 13 + 1 file changed, 13 insert

[PATCH v2 0/4] regulator: mt6397: Implement of_map_mode regulator_desc function

2020-07-01 Thread Anand K Mistry
This patchset adds support for being able to change regulator modes for the mt6397 regulator. This is needed to allow the voltage scaling support in the MT8173 SoC to be used on the elm (Acer Chromebook R13) and hana (several Lenovo Chromebooks) devices. Without a of_map_mode implementation, the r

Re: [PATCH] staging: rtl8188eu: include: rtw_cmd.h: fixed a blank space coding style issue.

2020-07-01 Thread Greg Kroah-Hartman
On Thu, Jul 02, 2020 at 12:50:04AM -0400, B K Karthik wrote: > add blank spaces for improved code readability. > > Signed-off-by: B K Karthik > --- > drivers/staging/rtl8188eu/include/rtw_cmd.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8188eu/in

Re: BUG: Bad page state in process - page dumped because: page still charged to cgroup

2020-07-01 Thread Michal Hocko
On Wed 01-07-20 11:45:52, Roman Gushchin wrote: [...] > So it makes me think that somehow memcg_kmem_enabled() became false > after being true, which can cause refcounting problems as well. Isn't this a similar class of problem as http://lkml.kernel.org/r/1593641660-13254-2-git-send-email-bhsha...

Re: [PATCH v2] ARM: dts: exynos: Fix missing empty reg/ranges property regulators on Trats

2020-07-01 Thread Krzysztof Kozlowski
On Tue, Jun 30, 2020 at 08:27:01AM +0200, Marek Szyprowski wrote: > Hi Krzysztof, > > On 29.06.2020 22:59, Krzysztof Kozlowski wrote: > > Remove the regulators node entirely because its children do not have any > > unit addresses. This fixes DTC warning: > > > > Warning (simple_bus_reg): /re

linux-next: Tree for Jul 2

2020-07-01 Thread Stephen Rothwell
Hi all, Changes since 20200701: New tree: memblock My fixes tree contains: dbf24e30ce2e ("device_cgroup: Fix RCU list debugging warning") b236d81d9e4f ("powerpc/boot/dts: Fix dtc "pciex" warnings") The tip tree still had one build failure for which I reverte

RE: [PATCH V2 3/9] clk: imx: Support building SCU clock driver as module

2020-07-01 Thread Anson Huang
Hi, Arnd/Stephen > Subject: Re: [PATCH V2 3/9] clk: imx: Support building SCU clock driver as > module > > Quoting Arnd Bergmann (2020-06-29 01:19:44) > > On Mon, Jun 29, 2020 at 9:18 AM Dong Aisheng > wrote: > > > On Thu, Jun 25, 2020 at 6:43 AM Stephen Boyd > wrote: > > > > Quoting Aisheng Do

Re: [PATCH 12/20] block: remove the request_queue argument from blk_queue_split

2020-07-01 Thread Song Liu
On Wed, Jul 1, 2020 at 2:02 AM Christoph Hellwig wrote: > > The queue can be trivially derived from the bio, so pass one less > argument. > > Signed-off-by: Christoph Hellwig > --- [...] > drivers/md/md.c | 2 +- For md.c: Acked-by: Song Liu

RE: UART/TTY console deadlock

2020-07-01 Thread S, Shirish
This one: https://lkml.org/lkml/2020/6/30/394 I did reply to all, not sure what I am missing while replying. Regards, Shirish S -Original Message- From: Greg Kroah-Hartman Sent: Thursday, July 2, 2020 11:42 AM To: S, Shirish Cc: Tony Lindgren ; Sergey Senozhatsky ; Petr Mladek ; An

Re: Packet gets stuck in NOLOCK pfifo_fast qdisc

2020-07-01 Thread Jonas Bonn
Hi Cong, On 01/07/2020 21:58, Cong Wang wrote: On Wed, Jul 1, 2020 at 9:05 AM Cong Wang wrote: On Tue, Jun 30, 2020 at 2:08 PM Josh Hunt wrote: Do either of you know if there's been any development on a fix for this issue? If not we can propose something. If you have a reproducer, I can l

RE: [PATCH V4 3/5] clk: imx: Support building i.MX common clock driver as module

2020-07-01 Thread Anson Huang
> Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock > driver as module > > On Thu, Jul 2, 2020 at 11:26 AM Anson Huang > wrote: > [...] > > > > @@ -143,16 +148,18 @@ void imx_cscmr1_fixup(u32 *val) static int > > > > imx_keep_uart_clocks; static struct clk ** const > >

Re: UART/TTY console deadlock

2020-07-01 Thread Greg Kroah-Hartman
On Thu, Jul 02, 2020 at 03:48:43AM +, S, Shirish wrote: > Hi All, > > Can we land this patch upstream? What patch? > Feel free to add my tested-by. Please send it in a form that I can add it, to the patch in question. thanks, greg k-h

Re: [v2] Documentation: Coccinelle: fix typos and command example

2020-07-01 Thread Markus Elfring
lkml/2020/6/29/357 >> >> elfring@Sonne:~/Projekte/Linux/next-patched> make J=1 C=1 >> CHECK='scripts/coccicheck' MODE=context >> COCCI=~/Projekte/Linux/next-patched/scripts/coccinelle/null/show_pointer_usage_before_null_check-20200701.cocci >> drivers

Re: [PATCH 3/4] arm64: dts: exynos: Align DMA controller bus node name with dtschema

2020-07-01 Thread Krzysztof Kozlowski
On Tue, Jun 30, 2020 at 09:34:52AM +0200, Marek Szyprowski wrote: > Hi Krzysztof, > > On 29.06.2020 22:44, Krzysztof Kozlowski wrote: > > AMBA is a bus so name the node with DMA controllers just as "bus" to fix > > dtschema warnings like: > > > > amba: $nodename:0: 'amba' does not match > >

Re: [PATCH 1/2] mm/memcontrol: Fix OOPS inside mem_cgroup_get_nr_swap_pages()

2020-07-01 Thread Michal Hocko
On Thu 02-07-20 03:44:19, Bhupesh Sharma wrote: > Prabhakar reported an OOPS inside mem_cgroup_get_nr_swap_pages() > function in a corner case seen on some arm64 boards when kdump kernel > runs with "cgroup_disable=memory" passed to the kdump kernel via > bootargs. > > The root-cause behind the sa

Re: [PATCH 1/4] arm64: dts: exynos: Add PWM interrupts on Exynos7

2020-07-01 Thread 'Krzysztof Kozlowski'
On Tue, Jun 30, 2020 at 08:54:28PM +0530, Alim Akhtar wrote: > Hi Krzysztof, > > > -Original Message- > > From: Krzysztof Kozlowski > > Sent: 30 June 2020 02:15 > > To: Rob Herring ; Kukjin Kim ; > > Krzysztof Kozlowski ; devicet...@vger.kernel.org; > linux-arm- > > ker...@lists.infradead

Re: WARNING: suspicious RCU usage in qrtr_ns_worker

2020-07-01 Thread syzbot
syzbot has bisected this bug to: commit e42671084361302141a09284fde9bbc14fdd16bf Author: Manivannan Sadhasivam Date: Thu May 7 12:53:06 2020 + net: qrtr: Do not depend on ARCH_QCOM bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=105f775510 start commit: 7ae77150 Mer

Re: [PATCH 5/5] connector: Create connector per namespace

2020-07-01 Thread kernel test robot
Hi Matt, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on ipvs/master] [also build test WARNING on dm/for-next linux/master linus/master v5.8-rc3 next-20200701] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-01 Thread Dmitry Osipenko
02.07.2020 08:43, Dmitry Osipenko пишет: > 02.07.2020 08:30, Chanwoo Choi пишет: >> On 7/2/20 2:07 PM, Dmitry Osipenko wrote: >>> 02.07.2020 07:18, Chanwoo Choi пишет: Hi Dmitry, On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > The clk_round_rate() won't be usable for building OPP ta

Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock driver as module

2020-07-01 Thread Dong Aisheng
On Thu, Jul 2, 2020 at 11:26 AM Anson Huang wrote: [...] > > > @@ -143,16 +148,18 @@ void imx_cscmr1_fixup(u32 *val) > > > static int imx_keep_uart_clocks; > > > static struct clk ** const *imx_uart_clocks; > > > > > > -static int __init imx_keep_uart_clocks_param(char *str) > > > +static int __

RE: [PATCH V4 5/5] clk: imx8qxp: Support building i.MX8QXP clock driver as module

2020-07-01 Thread Anson Huang
> Subject: Re: [PATCH V4 5/5] clk: imx8qxp: Support building i.MX8QXP clock > driver as module > > On Thu, Jul 2, 2020 at 11:55 AM Anson Huang > wrote: > [...] > > > > +{ > > > > + return platform_driver_register(&imx8qxp_lpcg_clk_driver); > > > > +} > > > > +device_initcall(imx8qxp_lpcg_

Re: linux-next: Signed-off-by missing for commit in the char-misc.current tree

2020-07-01 Thread Greg KH
On Thu, Jul 02, 2020 at 08:01:10AM +1000, Stephen Rothwell wrote: > Hi all, > > Commit > > 853eab68afc8 ("Revert "zram: convert remaining CLASS_ATTR() to > CLASS_ATTR_RO()"") > > is missing a Signed-off-by from its author. Known issue, I had to override the check as I was trying to keep Wade

[PATCH v2] leds: core: Flush scheduled work for system suspend

2020-07-01 Thread Kai-Heng Feng
Sometimes LED won't be turned off by LED_CORE_SUSPENDRESUME flag upon system suspend. led_set_brightness_nopm() uses schedule_work() to set LED brightness. However, there's no guarantee that the scheduled work gets executed because no one flushes the work. So flush the scheduled work to make sure

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-01 Thread Dmitry Osipenko
02.07.2020 08:30, Chanwoo Choi пишет: > On 7/2/20 2:07 PM, Dmitry Osipenko wrote: >> 02.07.2020 07:18, Chanwoo Choi пишет: >>> Hi Dmitry, >>> >>> On 6/9/20 10:13 PM, Dmitry Osipenko wrote: The clk_round_rate() won't be usable for building OPP table once interconnect support will be added

Re: [PATCH V4 5/5] clk: imx8qxp: Support building i.MX8QXP clock driver as module

2020-07-01 Thread Dong Aisheng
On Thu, Jul 2, 2020 at 11:55 AM Anson Huang wrote: [...] > > > +{ > > > + return platform_driver_register(&imx8qxp_lpcg_clk_driver); > > > +} > > > +device_initcall(imx8qxp_lpcg_clk_init); > > > > Any reason to change to device_initcall which looks a bit strange? > > Is it because the follow

Re: UART/TTY console deadlock

2020-07-01 Thread Sergey Senozhatsky
On (20/07/02 14:12), Sergey Senozhatsky wrote: > Date: Thu, 2 Jul 2020 14:12:13 +0900 > From: Sergey Senozhatsky > To: Tony Lindgren > Cc: Sergey Senozhatsky , Petr Mladek > , Andy Shevchenko , Raul > Rangel , Sergey Senozhatsky > , linux-kernel > , Greg Kroah-Hartman > , Andy Shevchenko >

Re: [v2] Documentation: Coccinelle: fix typos and command example

2020-07-01 Thread Julia Lawall
On Thu, 2 Jul 2020, Matthew Wilcox wrote: > On Wed, Jul 01, 2020 at 07:52:58AM -0700, Randy Dunlap wrote: > > On 7/1/20 6:32 AM, Markus Elfring wrote: > > >>> How do you think about to use the following command variant > > >>> for the adjustment of the software documentation? > > >>> > > >>> +

Re: [PATCH 4/4] writeback: remove bdi->congested_fn

2020-07-01 Thread Song Liu
On Wed, Jul 1, 2020 at 2:06 AM Christoph Hellwig wrote: > > Except for pktdvd, the only places setting congested bits are file > systems that allocate their own backing_dev_info structures. And > pktdvd is a deprecated driver that isn't useful in stack setup > either. So remove the dead congeste

Re: [PATCH v2 5/7] driver core: Add device location to "struct device" and expose it in sysfs

2020-07-01 Thread Oliver O'Halloran
On Thu, Jul 2, 2020 at 4:07 AM Rajat Jain wrote: > > *snip* > > > > I guess it would make sense to have an attribute for user space to > > > write to in order to make the kernel reject device plug-in events > > > coming from a given port or connector, but the kernel has no reliable > > > means to

Re: [PATCH] leds: core: Use blocking op for system suspend

2020-07-01 Thread Kai-Heng Feng
> On Jul 2, 2020, at 05:28, Jacek Anaszewski wrote: > > Hi Kai-Heng, > > Thank you for the patch. > > On 7/1/20 11:35 AM, Kai-Heng Feng wrote: >> Sometimes LED won't be turned off by LED_CORE_SUSPENDRESUME flag upon >> system suspend. > > Just out of curiosity - are you experiencing that on

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-01 Thread Chanwoo Choi
On 7/2/20 2:07 PM, Dmitry Osipenko wrote: > 02.07.2020 07:18, Chanwoo Choi пишет: >> Hi Dmitry, >> >> On 6/9/20 10:13 PM, Dmitry Osipenko wrote: >>> The clk_round_rate() won't be usable for building OPP table once >>> interconnect support will be added to the EMC driver because that CLK API >>> fun

Re: [PATCH 17/23] proc: add a read_iter method to proc proc_ops

2020-07-01 Thread Christoph Hellwig
On Wed, Jul 01, 2020 at 10:27:51PM +0100, Al Viro wrote: > On Wed, Jul 01, 2020 at 10:09:45PM +0200, Christoph Hellwig wrote: > > This will allow proc files to implement iter read semantics. > > *UGH* > > You are introducing file_operations with both ->read() and ->read_iter(); > worse, in some c

RE: [PATCH] exfat: implement "quiet" option for setattr

2020-07-01 Thread Namjae Jeon
> > if (((attr->ia_valid & ATTR_UID) && >!uid_eq(attr->ia_uid, sbi->options.fs_uid)) || @@ -322,6 +325,12 > @@ int > exfat_setattr(struct dentry *dentry, struct iattr *attr) > goto out; You should remove goto statement and curly braces here to reach if error condi

Re: [PATCH 19/23] sysctl: Call sysctl_head_finish on error

2020-07-01 Thread Christoph Hellwig
On Thu, Jul 02, 2020 at 01:32:40AM +0100, Matthew Wilcox wrote: > On Wed, Jul 01, 2020 at 10:09:47PM +0200, Christoph Hellwig wrote: > > From: "Matthew Wilcox (Oracle)" > > > > This error path returned directly instead of calling sysctl_head_finish(). > > > > Fixes: ef9d965bc8b6 ("sysctl: reject

Re: [PATCH] hwmon:max6697: Allow max6581 to create tempX_offset attributes

2020-07-01 Thread Guenter Roeck
On Thu, Jul 02, 2020 at 01:42:23AM +, Chu Lin wrote: > Per max6581, reg 4d and reg 4e is used for temperature read offset. > This patch will let the user specify the temperature read offset for > max6581. This patch is tested on max6581 and only applies to max6581. > Patchwork received four ve

Re: UART/TTY console deadlock

2020-07-01 Thread Sergey Senozhatsky
On (20/06/30 11:02), Tony Lindgren wrote: > This conditional disable for irq_shared does not look nice to me > from the other device point of view :) > > Would it be possible to just set up te dummy interrupt handler > for the startup, then change it back afterwards? See for example > omap8250_no_

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

2020-07-01 Thread Hsin-Yi Wang
On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra wrote: > > 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 baseboar

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

2020-07-01 Thread Hsin-Yi Wang
On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra wrote: > > Add the USB3.0 phyter and controller for the MediaTek's MT8183 SoC. > > Signed-off-by: Enric Balletbo i Serra Tested-by: Hsin-Yi Wang > --- > > Changes in v2: > - Move adding #phy-cells to this patch. (Matthias Brugger) > > arch/

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-01 Thread Dmitry Osipenko
02.07.2020 07:18, Chanwoo Choi пишет: > Hi Dmitry, > > On 6/9/20 10:13 PM, Dmitry Osipenko wrote: >> The clk_round_rate() won't be usable for building OPP table once >> interconnect support will be added to the EMC driver because that CLK API >> function limits the rounded rate based on the clk ra

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

2020-07-01 Thread Hsin-Yi Wang
On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra wrote: > > 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 Tested-by: Hsin-Yi Wang > --- > > Changes in v2: None > > arch/arm64/b

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

2020-07-01 Thread Hsin-Yi Wang
On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra wrote: > > 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 r

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

2020-07-01 Thread Hsin-Yi Wang
On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra wrote: > > 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 o

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

2020-07-01 Thread Hsin-Yi Wang
On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra wrote: > > 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 Tested-by: Hsin-Yi Wang > --- > >

Re: [RFC][PATCH 3/8] mm/vmscan: Attempt to migrate page in lieu of discard

2020-07-01 Thread Huang, Ying
David Rientjes writes: > On Wed, 1 Jul 2020, Dave Hansen wrote: > >> > Could this cause us to break a user's mbind() or allow a user to >> > circumvent their cpuset.mems? >> >> In its current form, yes. >> >> My current rationale for this is that while it's not as deferential as >> it can be t

[PATCH 2/2] staging: rtl8188eu: include: rtw_pwrctrl.h: fixed a blank space coding style issue.

2020-07-01 Thread B K Karthik
add blank spaces to improve code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h b/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h inde

[PATCH 1/2] staging: rtl8188eu: include: rtw_pwrctrl.h: fixed multiple parentheses coding style issues.

2020-07-01 Thread B K Karthik
add parentheses since complex valued macros must be enclosed within parentheses. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h b/drivers/stagi

Re: exfatprogs-1.0.3 version released

2020-07-01 Thread Hyunchul Lee
Hello Sedat, For v1.0.3 and later releases, we can provide tar.xz tarballs, hashes and detached signatures. But is there a reason why hashes are required despite the signature? We will let you know when it's done. Thanks. Regards, Hyunchul 2020년 6월 30일 (화) 오후 7:16, Sedat Dilek 님이 작성: > > On Tu

[PATCH] staging: rtl8188eu: include: rtl8188e_xmit.h: fixed multiple blank space coding style issues

2020-07-01 Thread B K Karthik
added blank spaces to improve code readability. (coding style issue) Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtl8188e_xmit.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_xmit.h b/drivers/stag

[PATCH] staging: rtl8188eu: include: rtw_recv.h: fixed a blank space coding style issue.

2020-07-01 Thread B K Karthik
added blank spaces to improve code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_recv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_recv.h b/drivers/staging/rtl8188eu/include/rtw_recv.h index e383c

Re: [PATCH] staging: rtl8188eu: include: rtl8188e_xmit.h: fixed multiple blank space coding style issues

2020-07-01 Thread Kees Cook
On Thu, Jul 02, 2020 at 12:48:42AM -0400, B K Karthik wrote: > added blank spaces to improve code readability. > > Signed-off-by: B K Karthik > --- > drivers/staging/rtl8188eu/include/rtl8188e_xmit.h | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/s

[PATCH 2/2] staging: rtl8188eu: include: rtw_pwrctrl.h: fixed a blank space coding style issue.

2020-07-01 Thread B K Karthik
add blank spaces to improve code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h b/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h inde

[PATCH 1/2] staging: rtl8188eu: include: rtw_pwrctrl.h: fixed multiple parentheses coding style issues.

2020-07-01 Thread B K Karthik
add parentheses since complex valued macros must be enclosed within parentheses. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h b/drivers/stagi

[PATCH] staging: rtl8188eu: include: rtw_cmd.h: fixed a blank space coding style issue.

2020-07-01 Thread B K Karthik
add blank spaces for improved code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_cmd.h b/drivers/staging/rtl8188eu/include/rtw_cmd.h index fa5e212f

[PATCH] staging: rtl8188eu: include: rtl8188e_xmit.h: fixed multiple blank space coding style issues

2020-07-01 Thread B K Karthik
added blank spaces to improve code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtl8188e_xmit.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_xmit.h b/drivers/staging/rtl8188eu/include

[GIT PULL] io_uring fixes for 5.8-rc4

2020-07-01 Thread Jens Axboe
Hi Linus, One fix in here, for a regression in 5.7 where a task is waiting in the kernel for a condition, but that condition won't become true until task_work is run. The task_work can't be run exactly because the task is waiting in the kernel, so we'll never make any progress. One example of that

[PATCH net-next 1/4] net: Add cable test netdevice operations

2020-07-01 Thread Florian Fainelli
In preparation for decoupling the ethtool cable test from the PHY library, add definitions for two new network device operations: * ndo_cable_test_start * ndo_cable_test_tdr_start In a subsequent patch we will start making use of those. Signed-off-by: Florian Fainelli --- include/linux/netdevi

[PATCH net-next 2/4] net: phy: Change cable test arguments to net_device

2020-07-01 Thread Florian Fainelli
In order to untangle the ethtool/cabletest feature with the PHY library, make the PHY library functions take a net_device argument and derive the phy_device reference from there. No functional changes introduced. Signed-off-by: Florian Fainelli --- drivers/net/phy/phy.c | 18 ++---

[PATCH net-next 0/4] net: ethtool: Untangle PHYLIB dependency

2020-07-01 Thread Florian Fainelli
Hi all, This patch series untangles the ethtool netlink dependency with PHYLIB which exists because the cable test feature calls directly into PHY library functions. The approach taken here is to utilize a new set of net_device_ops function pointers which are automatically set to the PHY library v

[PATCH net-next 4/4] net: ethtool: Remove PHYLIB dependency

2020-07-01 Thread Florian Fainelli
Now that we have converted the ethtool/cabletest code to use netdev_ops, we can remove the PHY library dependency since the function pointers will now be provided upon PHY attachment to the network device. Signed-off-by: Florian Fainelli --- net/Kconfig | 1 - net/ethtool/cabletest.

[PATCH net-next 3/4] net: phy: Automatically set-up cable test netdev_ops

2020-07-01 Thread Florian Fainelli
Upon attach, override the net_device operations with the PHY library cable test operations and conversely, upon detach, revert to the original net_device operations. This will allows us in a subsequent patch to finally decouple the ethtool/cabletest from the PHY library hard depenencies. Signed-o

Re: linux-next: umh: fix processed error when UMH_WAIT_PROC is used seems to break linux bridge on s390x (bisected)

2020-07-01 Thread Tetsuo Handa
On 2020/07/02 0:38, Luis Chamberlain wrote: > @@ -156,6 +156,18 @@ static void call_usermodehelper_exec_sync(struct > subprocess_info *sub_info) >*/ > if (KWIFEXITED(ret)) > sub_info->retval = KWEXITSTATUS(ret); > + /* > +

[PATCH v2] scsi: ufs: Cleanup completed request without interrupt notification

2020-07-01 Thread Stanley Chu
If somehow no interrupt notification is raised for a completed request and its doorbell bit is cleared by host, UFS driver needs to cleanup its outstanding bit in ufshcd_abort(). Otherwise, system may crash by below abnormal flow: After this request is requeued by SCSI layer with its outstanding

Re: [PATCH RESEND net-next v3 2/3] net: enetc: Initialize SerDes for SGMII and USXGMII protocols

2020-07-01 Thread kernel test robot
Hi Michael, I love your patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Michael-Walle/net-enetc-remove-bootloader-dependency/20200702-053650 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 2

[PATCH v2] f2fs: add GC_URGENT_LOW mode in gc_urgent

2020-07-01 Thread Daeho Jeong
From: Daeho Jeong Added a new gc_urgent mode, GC_URGENT_LOW, in which mode F2FS will lower the bar of checking idle in order to process outstanding discard commands and GC a little bit aggressively. Signed-off-by: Daeho Jeong --- Documentation/ABI/testing/sysfs-fs-f2fs | 4 +++- fs/f2fs/f2fs.

Re: [PATCH v2 0/1] Revert "serial: 8250: Fix max baud limit in generic 8250 port"

2020-07-01 Thread Lukas Wunner
On Thu, Jul 02, 2020 at 01:37:13AM +0300, Serge Semin wrote: > 1) Add a new capability like UART_CAP_NO16DIV and take it into account >in the serial8250_get_baud_rate() method. > > I don't have a documentation for the Mediatek UART port, but it seems to me > that that controller calculates th

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-01 Thread Chanwoo Choi
Hi Dmitry, On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > The clk_round_rate() won't be usable for building OPP table once > interconnect support will be added to the EMC driver because that CLK API > function limits the rounded rate based on the clk rate that is imposed by > active clk-users, and t

  1   2   3   4   5   6   7   8   9   10   >