Re: [PATCH] fat: Replaced 11 magic to MSDOS_NAME for volume label

2018-11-25 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes ThumshirnSUSE Labs jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH] fat: Replaced 11 magic to MSDOS_NAME for volume label

2018-11-25 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes ThumshirnSUSE Labs jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH] printk: deduplicate print_prefix() calls

2018-11-25 Thread Sergey Senozhatsky
On (11/24/18 23:28), Tetsuo Handa wrote: > Since /sys/module/printk/parameters/time can change from N to Y between > "msg_print_text() called print_prefix() with buf == NULL" and > "msg_print_text() again calls print_prefix() with buf != NULL", it is not > safe for print_time() to unconditionally

Re: [PATCH v2 0/2] driver: thermal: Move some drivers into subdirs

2018-11-25 Thread Zhang Rui
On 五, 2018-11-23 at 00:17 +0530, Amit Kucheria wrote: > On Fri, Oct 26, 2018 at 2:21 PM Amit Kucheria rg> wrote: > > > > > > Hi Rui, > > > > On Thu, Oct 4, 2018 at 1:22 PM Amit Kucheria > org> wrote: > > > > > > > > > Move the various drivers for Intel platforms into their own > > > subdir.

Re: [PATCH] printk: deduplicate print_prefix() calls

2018-11-25 Thread Sergey Senozhatsky
On (11/24/18 23:28), Tetsuo Handa wrote: > Since /sys/module/printk/parameters/time can change from N to Y between > "msg_print_text() called print_prefix() with buf == NULL" and > "msg_print_text() again calls print_prefix() with buf != NULL", it is not > safe for print_time() to unconditionally

Re: [PATCH v2 0/2] driver: thermal: Move some drivers into subdirs

2018-11-25 Thread Zhang Rui
On 五, 2018-11-23 at 00:17 +0530, Amit Kucheria wrote: > On Fri, Oct 26, 2018 at 2:21 PM Amit Kucheria rg> wrote: > > > > > > Hi Rui, > > > > On Thu, Oct 4, 2018 at 1:22 PM Amit Kucheria > org> wrote: > > > > > > > > > Move the various drivers for Intel platforms into their own > > > subdir.

Re: linux-next: build warning after merge of the btrfs-kdave tree

2018-11-25 Thread Christoph Hellwig
On Mon, Nov 26, 2018 at 11:06:29AM +1100, Stephen Rothwell wrote: > Introduced by commit > > cf8cddd38bab3 ("btrfs: don't abuse REQ_OP_* flags for btrfs_map_block") > > exposed by my new use of -Wimplicit-fallthrough > > I am not sure why this has only turned up now (as opposed to earlier >

Re: linux-next: build warning after merge of the btrfs-kdave tree

2018-11-25 Thread Christoph Hellwig
On Mon, Nov 26, 2018 at 11:06:29AM +1100, Stephen Rothwell wrote: > Introduced by commit > > cf8cddd38bab3 ("btrfs: don't abuse REQ_OP_* flags for btrfs_map_block") > > exposed by my new use of -Wimplicit-fallthrough > > I am not sure why this has only turned up now (as opposed to earlier >

Re: [patch V2 26/28] x86/speculation: Enable prctl mode for spectre_v2_user

2018-11-25 Thread Dominik Brodowski
On Sun, Nov 25, 2018 at 07:33:54PM +0100, Thomas Gleixner wrote: > + prctl - Indirect branch speculation is enabled, > + but mitigation can be enabled via prctl s/can be/is only/ or "must be". Thanks, Dominik

Re: [patch V2 26/28] x86/speculation: Enable prctl mode for spectre_v2_user

2018-11-25 Thread Dominik Brodowski
On Sun, Nov 25, 2018 at 07:33:54PM +0100, Thomas Gleixner wrote: > + prctl - Indirect branch speculation is enabled, > + but mitigation can be enabled via prctl s/can be/is only/ or "must be". Thanks, Dominik

[PATCH 16/16] remoteproc/pru: Add support for INTC Interrupt map resource

2018-11-25 Thread Roger Quadros
Use the vendor specific resource mechanism to get the INTC mapping details from firmware. pru-software-support-package [1] has been historically using version 0 for this. However, the data structure is not scaleable and is not self sufficient. 1) it hard codes number of channel to host mappings

[PATCH 04/16] remoteproc/pru: Add PRU remoteproc driver

2018-11-25 Thread Roger Quadros
From: Suman Anna The Programmable Real-Time Unit Subsystem (PRUSS) consists of dual 32-bit RISC cores (Programmable Real-Time Units, or PRUs) for program execution. This patch adds a remoteproc platform driver for managing the individual PRU RISC cores life cycle. The PRU remoteproc driver uses

[PATCH 15/16] remoteproc/pru: add support for parsing pru interrupt mapping from DT

2018-11-25 Thread Roger Quadros
From: Tero Kristo PRU interrupt mapping can now be parsed from devicetree also, from ti,pru-interrupt-map property. This is an alternative configuration method in addition to the legacy resource table config. If both are provided, the config in DT takes precedence. Signed-off-by: Tero Kristo

[PATCH 04/16] remoteproc/pru: Add PRU remoteproc driver

2018-11-25 Thread Roger Quadros
From: Suman Anna The Programmable Real-Time Unit Subsystem (PRUSS) consists of dual 32-bit RISC cores (Programmable Real-Time Units, or PRUs) for program execution. This patch adds a remoteproc platform driver for managing the individual PRU RISC cores life cycle. The PRU remoteproc driver uses

[PATCH 15/16] remoteproc/pru: add support for parsing pru interrupt mapping from DT

2018-11-25 Thread Roger Quadros
From: Tero Kristo PRU interrupt mapping can now be parsed from devicetree also, from ti,pru-interrupt-map property. This is an alternative configuration method in addition to the legacy resource table config. If both are provided, the config in DT takes precedence. Signed-off-by: Tero Kristo

[PATCH 16/16] remoteproc/pru: Add support for INTC Interrupt map resource

2018-11-25 Thread Roger Quadros
Use the vendor specific resource mechanism to get the INTC mapping details from firmware. pru-software-support-package [1] has been historically using version 0 for this. However, the data structure is not scaleable and is not self sufficient. 1) it hard codes number of channel to host mappings

[PATCH 12/16] dt-bindings: remoteproc: ti-pruss: Document application node bindings

2018-11-25 Thread Roger Quadros
From: Tero Kristo Add documentation for the Texas Instruments PRU application nodes. These are used to configure specific user applications for PRU instances. Signed-off-by: Tero Kristo [s-a...@ti.com: some binding updates] Signed-off-by: Suman Anna Signed-off-by: Roger Quadros ---

[PATCH 09/16] remoteproc/pru: add APIs to get and put the PRU cores

2018-11-25 Thread Roger Quadros
From: Tero Kristo Add two new APIs, pru_rproc_get() and pru_rproc_put(), to the PRU driver to allow client drivers to acquire and release the remoteproc device associated with a PRU core. The PRU cores are treated as resources with only one client owning it at a time. The pru_rproc_get()

[PATCH 03/16] remoteproc: Add support to handle device specific resource types

2018-11-25 Thread Roger Quadros
From: Suman Anna The remoteproc framework handles a fixed set of resource table entries today. To make it scalable across multiple platforms, it makes sense for the framework to provide a way for the device specific implementation to define and handle vendor specific resource types. These

[PATCH 11/16] soc: ti: pruss: add helper functions to set GPI mode, MII_RT_event and XFR

2018-11-25 Thread Roger Quadros
From: Suman Anna The PRUSS CFG module is represented as a syscon node and is currently managed by the PRUSS platform driver. Add easy accessor functions to set GPI mode, MII_RT event enable/disable and XFR (XIN XOUT) enable/disable to enable the PRUSS Ethernet usecase. These functions reuse the

[PATCH 07/16] remoteproc/pru: Add support for virtio rpmsg stack

2018-11-25 Thread Roger Quadros
From: Suman Anna The PRU remoteproc driver has been enhanced to support the optional rpmsg stack using the virtio-ring based communication transport between MPU and a PRU core. This provides support to any firmware images supporting the virtio devices. The virtio-ring signalling support is

[PATCH 14/16] remoteproc/pru: configure firmware based on client setup

2018-11-25 Thread Roger Quadros
From: Tero Kristo Client device node property firmware-name is now used to configure firmware for the PRU instances. The default firmware is also restored once releasing the PRU resource. Signed-off-by: Tero Kristo Reviewed-by: Roger Quadros Signed-off-by: Suman Anna ---

[PATCH 13/16] remoteproc/pru: add support for configuring GPMUX based on client setup

2018-11-25 Thread Roger Quadros
From: Tero Kristo Client device node property ti,pruss-gp-mux-sel can now be used to configure the GPMUX config value for PRU. Signed-off-by: Tero Kristo [s-a...@ti.com: simplify the pru id usage] Signed-off-by: Suman Anna --- drivers/remoteproc/pru_rproc.c | 28

[PATCH 06/16] dt-bindings: remoteproc: ti-pruss: Update bindings for supporting rpmsg

2018-11-25 Thread Roger Quadros
From: Suman Anna Update the PRUSS DT bindings to add the properties required to support the optional virtio rpmsg stack using the virtio-ring based communication transport between MPU and a PRU core. Signed-off-by: Suman Anna --- .../devicetree/bindings/soc/ti/ti,pruss.txt| 39

[PATCH 08/16] remoteproc/pru: Add pru_rproc_set_ctable() function

2018-11-25 Thread Roger Quadros
Some firmwares expect the OS drivers to configure the CTABLE entries publishing dynamically allocated memory regions. For example, the PRU Ethernet firmwares use the C28 and C30 entries for retrieving the Shared RAM and System SRAM (OCMC) areas allocated by the PRU Ethernet client driver. Provide

[PATCH 05/16] remoteproc/pru: Add pru-specific debugfs support

2018-11-25 Thread Roger Quadros
From: Suman Anna The remoteproc core creates certain standard debugfs entries, that does not give a whole lot of useful information for the PRUs. The PRU remoteproc driver is enhanced to add additional debugfs entries for PRU. These will be auto-cleaned up when the parent rproc debug directory

[PATCH 03/16] remoteproc: Add support to handle device specific resource types

2018-11-25 Thread Roger Quadros
From: Suman Anna The remoteproc framework handles a fixed set of resource table entries today. To make it scalable across multiple platforms, it makes sense for the framework to provide a way for the device specific implementation to define and handle vendor specific resource types. These

[PATCH 11/16] soc: ti: pruss: add helper functions to set GPI mode, MII_RT_event and XFR

2018-11-25 Thread Roger Quadros
From: Suman Anna The PRUSS CFG module is represented as a syscon node and is currently managed by the PRUSS platform driver. Add easy accessor functions to set GPI mode, MII_RT event enable/disable and XFR (XIN XOUT) enable/disable to enable the PRUSS Ethernet usecase. These functions reuse the

[PATCH 07/16] remoteproc/pru: Add support for virtio rpmsg stack

2018-11-25 Thread Roger Quadros
From: Suman Anna The PRU remoteproc driver has been enhanced to support the optional rpmsg stack using the virtio-ring based communication transport between MPU and a PRU core. This provides support to any firmware images supporting the virtio devices. The virtio-ring signalling support is

[PATCH 14/16] remoteproc/pru: configure firmware based on client setup

2018-11-25 Thread Roger Quadros
From: Tero Kristo Client device node property firmware-name is now used to configure firmware for the PRU instances. The default firmware is also restored once releasing the PRU resource. Signed-off-by: Tero Kristo Reviewed-by: Roger Quadros Signed-off-by: Suman Anna ---

[PATCH 13/16] remoteproc/pru: add support for configuring GPMUX based on client setup

2018-11-25 Thread Roger Quadros
From: Tero Kristo Client device node property ti,pruss-gp-mux-sel can now be used to configure the GPMUX config value for PRU. Signed-off-by: Tero Kristo [s-a...@ti.com: simplify the pru id usage] Signed-off-by: Suman Anna --- drivers/remoteproc/pru_rproc.c | 28

[PATCH 06/16] dt-bindings: remoteproc: ti-pruss: Update bindings for supporting rpmsg

2018-11-25 Thread Roger Quadros
From: Suman Anna Update the PRUSS DT bindings to add the properties required to support the optional virtio rpmsg stack using the virtio-ring based communication transport between MPU and a PRU core. Signed-off-by: Suman Anna --- .../devicetree/bindings/soc/ti/ti,pruss.txt| 39

[PATCH 08/16] remoteproc/pru: Add pru_rproc_set_ctable() function

2018-11-25 Thread Roger Quadros
Some firmwares expect the OS drivers to configure the CTABLE entries publishing dynamically allocated memory regions. For example, the PRU Ethernet firmwares use the C28 and C30 entries for retrieving the Shared RAM and System SRAM (OCMC) areas allocated by the PRU Ethernet client driver. Provide

[PATCH 05/16] remoteproc/pru: Add pru-specific debugfs support

2018-11-25 Thread Roger Quadros
From: Suman Anna The remoteproc core creates certain standard debugfs entries, that does not give a whole lot of useful information for the PRUs. The PRU remoteproc driver is enhanced to add additional debugfs entries for PRU. These will be auto-cleaned up when the parent rproc debug directory

[PATCH 12/16] dt-bindings: remoteproc: ti-pruss: Document application node bindings

2018-11-25 Thread Roger Quadros
From: Tero Kristo Add documentation for the Texas Instruments PRU application nodes. These are used to configure specific user applications for PRU instances. Signed-off-by: Tero Kristo [s-a...@ti.com: some binding updates] Signed-off-by: Suman Anna Signed-off-by: Roger Quadros ---

[PATCH 09/16] remoteproc/pru: add APIs to get and put the PRU cores

2018-11-25 Thread Roger Quadros
From: Tero Kristo Add two new APIs, pru_rproc_get() and pru_rproc_put(), to the PRU driver to allow client drivers to acquire and release the remoteproc device associated with a PRU core. The PRU cores are treated as resources with only one client owning it at a time. The pru_rproc_get()

[PATCH 10/16] remoteproc/pru: add pru_rproc_get_id() API to retrieve the PRU id

2018-11-25 Thread Roger Quadros
From: Suman Anna Export an API pru_rproc_get_id() to allow other PRUSS platform drivers to clients to retrieve the PRU id from a remoteproc handle associated with a PRU. The new function takes in a struct rproc pointer as argument. Signed-off-by: Suman Anna --- drivers/remoteproc/pru_rproc.c

[PATCH 10/16] remoteproc/pru: add pru_rproc_get_id() API to retrieve the PRU id

2018-11-25 Thread Roger Quadros
From: Suman Anna Export an API pru_rproc_get_id() to allow other PRUSS platform drivers to clients to retrieve the PRU id from a remoteproc handle associated with a PRU. The new function takes in a struct rproc pointer as argument. Signed-off-by: Suman Anna --- drivers/remoteproc/pru_rproc.c

[PATCH 00/16] remoteproc: Add support for TI PRU

2018-11-25 Thread Roger Quadros
Hi, This is the second part of the series [1] and depends on it. It adds remoteproc support for the PRU processor cores present in the PRU-ICSS subsystem on TI SoCs. The PRU remoteproc driver uses the standard remoteproc core ELF loader. However, the PRUs do not have a unified address space,

[PATCH 00/16] remoteproc: Add support for TI PRU

2018-11-25 Thread Roger Quadros
Hi, This is the second part of the series [1] and depends on it. It adds remoteproc support for the PRU processor cores present in the PRU-ICSS subsystem on TI SoCs. The PRU remoteproc driver uses the standard remoteproc core ELF loader. However, the PRUs do not have a unified address space,

[PATCH 02/16] remoteproc: Add a rproc_set_firmware() API

2018-11-25 Thread Roger Quadros
From: Suman Anna A new API, rproc_set_firmware() is added to allow the remoteproc platform drivers and remoteproc client drivers to be able to configure a custom firmware name that is different from the default name used during remoteproc registration. This function is being introduced to

[PATCH 01/16] remoteproc: Extend rproc_da_to_va() API with a flags parameter

2018-11-25 Thread Roger Quadros
From: Suman Anna The rproc_da_to_va() API is currently used to perform any device to kernel address translations to meet the different needs of the remoteproc core/platform drivers (eg: loading). The function also invokes the da_to_va ops, if present, to allow the remoteproc platform drivers to

[PATCH 02/16] remoteproc: Add a rproc_set_firmware() API

2018-11-25 Thread Roger Quadros
From: Suman Anna A new API, rproc_set_firmware() is added to allow the remoteproc platform drivers and remoteproc client drivers to be able to configure a custom firmware name that is different from the default name used during remoteproc registration. This function is being introduced to

[PATCH 01/16] remoteproc: Extend rproc_da_to_va() API with a flags parameter

2018-11-25 Thread Roger Quadros
From: Suman Anna The rproc_da_to_va() API is currently used to perform any device to kernel address translations to meet the different needs of the remoteproc core/platform drivers (eg: loading). The function also invokes the da_to_va ops, if present, to allow the remoteproc platform drivers to

Re: [PATCH 01/17] dt-bindings: remoteproc: Add TI PRUSS bindings

2018-11-25 Thread Roger Quadros
Hi, On 23/11/18 18:24, Tony Lindgren wrote: > Hi, > > * Roger Quadros [181122 11:39]: >> From: Suman Anna >> +Example: >> + >> +1. /* AM33xx PRU-ICSS */ >> +pruss_soc_bus: pruss_soc_bus@4a326004 { >> +compatible = "ti,am3356-pruss-soc-bus"; >> +ti,hwmods =

Re: [PATCH 1/3] clk: samsung: exynos5420: add VPLL rate table for g3d clock

2018-11-25 Thread Chanwoo Choi
Hi, On 2018년 11월 23일 18:44, Anand Moon wrote: > From: Marian Mihailescu > > A specific clock rate table is added for VPLL so it is possible > to set frequency of the VPLL output clock that used by the g3d clock. > > Cc: Andrzej Hajda > Cc: Chanwoo Choi > Signed-off-by: Marian Mihailescu >

Re: [PATCH 01/17] dt-bindings: remoteproc: Add TI PRUSS bindings

2018-11-25 Thread Roger Quadros
Hi, On 23/11/18 18:24, Tony Lindgren wrote: > Hi, > > * Roger Quadros [181122 11:39]: >> From: Suman Anna >> +Example: >> + >> +1. /* AM33xx PRU-ICSS */ >> +pruss_soc_bus: pruss_soc_bus@4a326004 { >> +compatible = "ti,am3356-pruss-soc-bus"; >> +ti,hwmods =

Re: [PATCH 1/3] clk: samsung: exynos5420: add VPLL rate table for g3d clock

2018-11-25 Thread Chanwoo Choi
Hi, On 2018년 11월 23일 18:44, Anand Moon wrote: > From: Marian Mihailescu > > A specific clock rate table is added for VPLL so it is possible > to set frequency of the VPLL output clock that used by the g3d clock. > > Cc: Andrzej Hajda > Cc: Chanwoo Choi > Signed-off-by: Marian Mihailescu >

[PATCH] nios2: remove unneeded HAS_DMA define

2018-11-25 Thread Masahiro Yamada
kernel/dma/Kconfig globally defines HAS_DMA as follows: config HAS_DMA bool depends on !NO_DMA default y Signed-off-by: Masahiro Yamada --- arch/nios2/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig index

[PATCH] nios2: remove unneeded HAS_DMA define

2018-11-25 Thread Masahiro Yamada
kernel/dma/Kconfig globally defines HAS_DMA as follows: config HAS_DMA bool depends on !NO_DMA default y Signed-off-by: Masahiro Yamada --- arch/nios2/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig index

Re: [PATCH] mm: do not consider SWAP to calculate available when not necessary

2018-11-25 Thread Vlastimil Babka
On 11/26/18 3:01 AM, Matthew Wilcox wrote: > On Mon, Nov 26, 2018 at 07:58:23AM +0800, Yang Yang wrote: >> When si_mem_available() calculates 'available', it takes SWAP >> into account. But if CONFIG_SWAP is N or SWAP is off(some embedded system >> would like to do that), there is no need to

Re: [PATCH] mm: do not consider SWAP to calculate available when not necessary

2018-11-25 Thread Vlastimil Babka
On 11/26/18 3:01 AM, Matthew Wilcox wrote: > On Mon, Nov 26, 2018 at 07:58:23AM +0800, Yang Yang wrote: >> When si_mem_available() calculates 'available', it takes SWAP >> into account. But if CONFIG_SWAP is N or SWAP is off(some embedded system >> would like to do that), there is no need to

Re: [RFC][PATCH 08/14] function_graph: Remove unused task_curr_ret_stack()

2018-11-25 Thread Masami Hiramatsu
On Wed, 21 Nov 2018 20:27:16 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > The static inline function task_curr_ret_stack() is unused, remove it. This looks able to be applied without this series. I think we should apply this to for-next branch? Reviewed-by: Masami

Re: [RFC][PATCH 08/14] function_graph: Remove unused task_curr_ret_stack()

2018-11-25 Thread Masami Hiramatsu
On Wed, 21 Nov 2018 20:27:16 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > The static inline function task_curr_ret_stack() is unused, remove it. This looks able to be applied without this series. I think we should apply this to for-next branch? Reviewed-by: Masami

Re: [PATCH 3/3] ARM: dts: Add g3d bus nodes using VDD_INT for Exynos542x SoC

2018-11-25 Thread Chanwoo Choi
Hi Anand, CLK_DOUT_ACLK_G3D is the clock for GPU h/w and it requires the buck4_reg("vdd_g3d"). bus_wcore uses the buck3_reg("vdd_int"). bus_wcore and bus_g3d don't share the same voltage line. It is wrong to make 'bus_g3d' as the child of 'bus_wcore' because of using the different regulator.

Re: [PATCH 3/3] ARM: dts: Add g3d bus nodes using VDD_INT for Exynos542x SoC

2018-11-25 Thread Chanwoo Choi
Hi Anand, CLK_DOUT_ACLK_G3D is the clock for GPU h/w and it requires the buck4_reg("vdd_g3d"). bus_wcore uses the buck3_reg("vdd_int"). bus_wcore and bus_g3d don't share the same voltage line. It is wrong to make 'bus_g3d' as the child of 'bus_wcore' because of using the different regulator.

Re: [PATCH v3 7/7] staging:iio:ad2s90: Move out of staging

2018-11-25 Thread Ardelean, Alexandru
On Fri, 2018-11-23 at 22:23 -0200, Matheus Tavares wrote: > Move ad2s90 resolver driver out of staging to the main tree. > Acked-by: Alexandru Ardelean > Signed-off-by: Matheus Tavares > Signed-off-by: Victor Colombo > --- > Changes in v3: > - none > > Changes in v2: > - Disabled git move

Re: [PATCH v3 7/7] staging:iio:ad2s90: Move out of staging

2018-11-25 Thread Ardelean, Alexandru
On Fri, 2018-11-23 at 22:23 -0200, Matheus Tavares wrote: > Move ad2s90 resolver driver out of staging to the main tree. > Acked-by: Alexandru Ardelean > Signed-off-by: Matheus Tavares > Signed-off-by: Victor Colombo > --- > Changes in v3: > - none > > Changes in v2: > - Disabled git move

Re: [RFC][PATCH 06/14] fgraph: Move function graph specific code into fgraph.c

2018-11-25 Thread Masami Hiramatsu
On Thu, 22 Nov 2018 22:11:33 -0800 Joel Fernandes wrote: > On Wed, Nov 21, 2018 at 08:27:14PM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > To make the function graph infrastructure more managable, the code needs to > > be in its own file (fgraph.c). Move the code

Re: [RFC][PATCH 06/14] fgraph: Move function graph specific code into fgraph.c

2018-11-25 Thread Masami Hiramatsu
On Thu, 22 Nov 2018 22:11:33 -0800 Joel Fernandes wrote: > On Wed, Nov 21, 2018 at 08:27:14PM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > To make the function graph infrastructure more managable, the code needs to > > be in its own file (fgraph.c). Move the code

[PATCH 1/2] kconfig: fix reverse dependency with tristate if-conditional

2018-11-25 Thread Masahiro Yamada
A Kconfig property can have an optional if-expression, which describes its visibility. The property is visible when the if-expression part is evaluated to 'y' or 'm'. The 'select' and 'imply' properties are internally converted to reverse dependencies, but they are wrongly converted if they have

[PATCH 1/2] kconfig: fix reverse dependency with tristate if-conditional

2018-11-25 Thread Masahiro Yamada
A Kconfig property can have an optional if-expression, which describes its visibility. The property is visible when the if-expression part is evaluated to 'y' or 'm'. The 'select' and 'imply' properties are internally converted to reverse dependencies, but they are wrongly converted if they have

[PATCH 2/2] kconfig: tests: test reverse dependency with tristate if-conditional

2018-11-25 Thread Masahiro Yamada
Add a test-case for the fixed reverse dependency handling. Signed-off-by: Masahiro Yamada --- .../kconfig/tests/revdep_with_tristate_if/Kconfig | 21 + .../tests/revdep_with_tristate_if/__init__.py | 14 ++

[PATCH 2/2] kconfig: tests: test reverse dependency with tristate if-conditional

2018-11-25 Thread Masahiro Yamada
Add a test-case for the fixed reverse dependency handling. Signed-off-by: Masahiro Yamada --- .../kconfig/tests/revdep_with_tristate_if/Kconfig | 21 + .../tests/revdep_with_tristate_if/__init__.py | 14 ++

Re: [patch V2 21/28] x86/speculation: Prepare for conditional IBPB in switch_mm()

2018-11-25 Thread Thomas Gleixner
On Sun, 25 Nov 2018, Andy Lutomirski wrote: > > On Nov 25, 2018, at 2:20 PM, Thomas Gleixner wrote: > > On Sun, 25 Nov 2018, Andi Kleen wrote: > > > >>> The current check whether two tasks belong to the same context is using > >>> the > >>> tasks context id. While correct, it's simpler to use

Re: [patch V2 21/28] x86/speculation: Prepare for conditional IBPB in switch_mm()

2018-11-25 Thread Thomas Gleixner
On Sun, 25 Nov 2018, Andy Lutomirski wrote: > > On Nov 25, 2018, at 2:20 PM, Thomas Gleixner wrote: > > On Sun, 25 Nov 2018, Andi Kleen wrote: > > > >>> The current check whether two tasks belong to the same context is using > >>> the > >>> tasks context id. While correct, it's simpler to use

Re: [GIT PULL] PHY: for 4.20 -rc

2018-11-25 Thread Greg Kroah-Hartman
On Fri, Nov 23, 2018 at 04:00:08PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the pull request for 4.20 -rc below. > > It includes tuning parameter fix in qcom-qusb2 PHY driver, dt-bindings fix > for phy-qcom-qmp and a fix for randconfig error in uniphier-pcie. > > Consider

[PATCH v2 4/4] net: macb: Add support for suspend/resume with full power down

2018-11-25 Thread Harini Katakam
When macb device is suspended and system is powered down, the clocks are removed and hence macb should be closed gracefully and restored upon resume. This patch does the same by switching off the net device, suspending phy and performing necessary cleanup of interrupts and BDs. Upon resume, all

Re: [GIT PULL] PHY: for 4.20 -rc

2018-11-25 Thread Greg Kroah-Hartman
On Fri, Nov 23, 2018 at 04:00:08PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the pull request for 4.20 -rc below. > > It includes tuning parameter fix in qcom-qusb2 PHY driver, dt-bindings fix > for phy-qcom-qmp and a fix for randconfig error in uniphier-pcie. > > Consider

[PATCH v2 4/4] net: macb: Add support for suspend/resume with full power down

2018-11-25 Thread Harini Katakam
When macb device is suspended and system is powered down, the clocks are removed and hence macb should be closed gracefully and restored upon resume. This patch does the same by switching off the net device, suspending phy and performing necessary cleanup of interrupts and BDs. Upon resume, all

Re: [GIT PULL] FSI fixes for 4.20

2018-11-25 Thread Greg Kroah-Hartman
On Mon, Nov 26, 2018 at 10:37:08AM +1100, Benjamin Herrenschmidt wrote: > Hi Greg ! > > Here are two very minor fixes for FSI. One from Arnd is a Kconfig fixup > and has been rusting away in my tree for a while (I had forgotten about > it). The other one just removes a duplicate #include,

Re: [GIT PULL] FSI fixes for 4.20

2018-11-25 Thread Greg Kroah-Hartman
On Mon, Nov 26, 2018 at 10:37:08AM +1100, Benjamin Herrenschmidt wrote: > Hi Greg ! > > Here are two very minor fixes for FSI. One from Arnd is a Kconfig fixup > and has been rusting away in my tree for a while (I had forgotten about > it). The other one just removes a duplicate #include,

Re: [PATCH] Fonts: New Terminus large console font

2018-11-25 Thread Greg KH
On Sun, Nov 25, 2018 at 10:47:34PM -0500, nimrud wrote: > This patch adds an option to compile-in a high resolution and large > Terminus (ter16x32) bitmap console font for use with HiDPI and Retina screens. > > The font was convereted from standard Terminus ter-i32b.psf (size 16x32) > with the

Re: [PATCH] Fonts: New Terminus large console font

2018-11-25 Thread Greg KH
On Sun, Nov 25, 2018 at 10:47:34PM -0500, nimrud wrote: > This patch adds an option to compile-in a high resolution and large > Terminus (ter16x32) bitmap console font for use with HiDPI and Retina screens. > > The font was convereted from standard Terminus ter-i32b.psf (size 16x32) > with the

Re: [PATCH] Fonts: New Terminus large console font

2018-11-25 Thread Greg KH
On Sun, Nov 25, 2018 at 10:47:34PM -0500, nimrud wrote: > This patch adds an option to compile-in a high resolution and large > Terminus (ter16x32) bitmap console font for use with HiDPI and Retina screens. > > The font was convereted from standard Terminus ter-i32b.psf (size 16x32) > with the

Re: [PATCH] Fonts: New Terminus large console font

2018-11-25 Thread Greg KH
On Sun, Nov 25, 2018 at 10:47:34PM -0500, nimrud wrote: > This patch adds an option to compile-in a high resolution and large > Terminus (ter16x32) bitmap console font for use with HiDPI and Retina screens. > > The font was convereted from standard Terminus ter-i32b.psf (size 16x32) > with the

Re: linux-next: build warnings after merge of the cifs tree

2018-11-25 Thread Stephen Rothwell
Hi Kees, On Sun, 25 Nov 2018 21:48:10 -0800 Kees Cook wrote: > > On Sun, Nov 25, 2018 at 4:52 PM Stephen Rothwell > wrote: > > > > On Sun, 25 Nov 2018 18:31:40 -0600 Steve French wrote: > > > > > > > > Both of those cases are intentional fallthroughs and there are > > > existing comments

Re: linux-next: build warnings after merge of the cifs tree

2018-11-25 Thread Stephen Rothwell
Hi Kees, On Sun, 25 Nov 2018 21:48:10 -0800 Kees Cook wrote: > > On Sun, Nov 25, 2018 at 4:52 PM Stephen Rothwell > wrote: > > > > On Sun, 25 Nov 2018 18:31:40 -0600 Steve French wrote: > > > > > > > > Both of those cases are intentional fallthroughs and there are > > > existing comments

Re: [patch V2 21/28] x86/speculation: Prepare for conditional IBPB in switch_mm()

2018-11-25 Thread Thomas Gleixner
On Sun, 25 Nov 2018, Andi Kleen wrote: > On Sun, Nov 25, 2018 at 11:20:50PM +0100, Thomas Gleixner wrote: > > On Sun, 25 Nov 2018, Andi Kleen wrote: > > > > > > The current check whether two tasks belong to the same context is using > > > > the > > > > tasks context id. While correct, it's

Re: [patch V2 21/28] x86/speculation: Prepare for conditional IBPB in switch_mm()

2018-11-25 Thread Thomas Gleixner
On Sun, 25 Nov 2018, Andi Kleen wrote: > On Sun, Nov 25, 2018 at 11:20:50PM +0100, Thomas Gleixner wrote: > > On Sun, 25 Nov 2018, Andi Kleen wrote: > > > > > > The current check whether two tasks belong to the same context is using > > > > the > > > > tasks context id. While correct, it's

Re: [RESEND PATCH 0/7] Add some fixes and new feature for SPRD DMA

2018-11-25 Thread Baolin Wang
Hi Vinod, On Tue, 6 Nov 2018 at 13:01, Baolin Wang wrote: > > This patchset removes the direction usage from struct dma_slave_config, > and add one new field to save the direction. It also fixes some issues > for link-list transfer. Moreover this patchset adds new 2-stage transfer > support for

Re: [RESEND PATCH 0/7] Add some fixes and new feature for SPRD DMA

2018-11-25 Thread Baolin Wang
Hi Vinod, On Tue, 6 Nov 2018 at 13:01, Baolin Wang wrote: > > This patchset removes the direction usage from struct dma_slave_config, > and add one new field to save the direction. It also fixes some issues > for link-list transfer. Moreover this patchset adds new 2-stage transfer > support for

Re: [PATCH v2] PCI: assign bus numbers present in EA capability for bridges

2018-11-25 Thread sundeep subbaraya
Hi Bjorn / Sean, Any comments? Thanks, Sundeep On Mon, Nov 19, 2018 at 6:44 PM wrote: > > From: Subbaraya Sundeep > > As per the spec, bridges with EA capability work > with fixed secondary and subordinate bus numbers. > Hence assign bus numbers to bridges from EA if the > capability exists.

Re: [PATCH v2] PCI: assign bus numbers present in EA capability for bridges

2018-11-25 Thread sundeep subbaraya
Hi Bjorn / Sean, Any comments? Thanks, Sundeep On Mon, Nov 19, 2018 at 6:44 PM wrote: > > From: Subbaraya Sundeep > > As per the spec, bridges with EA capability work > with fixed secondary and subordinate bus numbers. > Hence assign bus numbers to bridges from EA if the > capability exists.

Re: [PATCH v7 0/2] mtd: rawnand: meson: add Amlogic NAND driver support

2018-11-25 Thread Liang Yang
Hi Boris and Miquel, How about the v7 patch? On 2018/11/17 0:40, Jianxin Pan wrote: These two patches try to add initial NAND driver support for Amlogic Meson SoCs, current it has been tested on GXL(p212) and AXG(s400) platform. Changes since V6 at [7] - use timings->tBERS_max as the

Re: [PATCH v7 0/2] mtd: rawnand: meson: add Amlogic NAND driver support

2018-11-25 Thread Liang Yang
Hi Boris and Miquel, How about the v7 patch? On 2018/11/17 0:40, Jianxin Pan wrote: These two patches try to add initial NAND driver support for Amlogic Meson SoCs, current it has been tested on GXL(p212) and AXG(s400) platform. Changes since V6 at [7] - use timings->tBERS_max as the

Re: [PATCH 5/5] power: supply: sc27xx: Save last battery capacity

2018-11-25 Thread Baolin Wang
Hi Pavel, On Mon, 26 Nov 2018 at 05:48, Pavel Machek wrote: > > Hi! > > > Our charger manager can optimize the battery capacity periodically, so > > we can save last battery capacity into registers. Then next system > > power-on, we can read the last saved battery capacity as the initial > >

Re: [PATCH 5/5] power: supply: sc27xx: Save last battery capacity

2018-11-25 Thread Baolin Wang
Hi Pavel, On Mon, 26 Nov 2018 at 05:48, Pavel Machek wrote: > > Hi! > > > Our charger manager can optimize the battery capacity periodically, so > > we can save last battery capacity into registers. Then next system > > power-on, we can read the last saved battery capacity as the initial > >

Re: [PATCH 3/5] power: supply: sc27xx: Add fuel gauge low voltage alarm

2018-11-25 Thread Baolin Wang
Hi Pavel, On Mon, 26 Nov 2018 at 05:45, Pavel Machek wrote: > > On Wed 2018-11-14 17:07:06, Baolin Wang wrote: > > From: Yuanjiang Yu > > > > Add low voltage alarm support to make sure the battery capacity > > more accurate in lower voltage stage. > > > > Signed-off-by: Yuanjiang Yu > >

Re: [PATCH 3/5] power: supply: sc27xx: Add fuel gauge low voltage alarm

2018-11-25 Thread Baolin Wang
Hi Pavel, On Mon, 26 Nov 2018 at 05:45, Pavel Machek wrote: > > On Wed 2018-11-14 17:07:06, Baolin Wang wrote: > > From: Yuanjiang Yu > > > > Add low voltage alarm support to make sure the battery capacity > > more accurate in lower voltage stage. > > > > Signed-off-by: Yuanjiang Yu > >

[PATCH] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-11-25 Thread Anup Patel
The objcopy only emits loadable sections when creating flat kernel Image. To have minimal possible size of flat kernel Image, we should have all non-loadable sections after loadable sections. Currently, execption table section (loadable section) is after BSS section (non-loadable section) in the

[PATCH] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-11-25 Thread Anup Patel
The objcopy only emits loadable sections when creating flat kernel Image. To have minimal possible size of flat kernel Image, we should have all non-loadable sections after loadable sections. Currently, execption table section (loadable section) is after BSS section (non-loadable section) in the

Re: RFC: script to convert vsprintf uses of %pf to %ps and %pF to %pS

2018-11-25 Thread Sergey Senozhatsky
And I forgot to actually Cc Petr and Steven... Top-posting. --- Hi, Cc-ing Petr and Steven On (11/25/18 01:13), Joe Perches wrote: > commit 04b8eb7a4ccd ("symbol lookup: introduce > dereference_symbol_descriptor()}" > > deprecated vsprintf extension %pf and %pF. > > There are

Re: RFC: script to convert vsprintf uses of %pf to %ps and %pF to %pS

2018-11-25 Thread Sergey Senozhatsky
And I forgot to actually Cc Petr and Steven... Top-posting. --- Hi, Cc-ing Petr and Steven On (11/25/18 01:13), Joe Perches wrote: > commit 04b8eb7a4ccd ("symbol lookup: introduce > dereference_symbol_descriptor()}" > > deprecated vsprintf extension %pf and %pF. > > There are

Re: [PATCH 2/2] cpufreq: imx6q: save one condition block for normal case of nvmem read

2018-11-25 Thread Viresh Kumar
On 26-11-18, 02:59, Anson Huang wrote: > Put return value checks of calling imx6ul_opp_check_speed_grading() > into one block to save one condition block for normal case. > > Signed-off-by: Anson Huang > --- > drivers/cpufreq/imx6q-cpufreq.c | 5 +++-- > 1 file changed, 3 insertions(+), 2

Re: [PATCH 2/2] cpufreq: imx6q: save one condition block for normal case of nvmem read

2018-11-25 Thread Viresh Kumar
On 26-11-18, 02:59, Anson Huang wrote: > Put return value checks of calling imx6ul_opp_check_speed_grading() > into one block to save one condition block for normal case. > > Signed-off-by: Anson Huang > --- > drivers/cpufreq/imx6q-cpufreq.c | 5 +++-- > 1 file changed, 3 insertions(+), 2

Re: [PATCH 1/2] cpufreq: imx6q: remove unused code

2018-11-25 Thread Viresh Kumar
On 26-11-18, 02:59, Anson Huang wrote: > In voltage scale down path, the return value is NOT > used at all, remove them to simplify the code. > > Signed-off-by: Anson Huang > --- > drivers/cpufreq/imx6q-cpufreq.c | 12 +++- > 1 file changed, 3 insertions(+), 9 deletions(-) > > diff

Re: [PATCH 1/2] cpufreq: imx6q: remove unused code

2018-11-25 Thread Viresh Kumar
On 26-11-18, 02:59, Anson Huang wrote: > In voltage scale down path, the return value is NOT > used at all, remove them to simplify the code. > > Signed-off-by: Anson Huang > --- > drivers/cpufreq/imx6q-cpufreq.c | 12 +++- > 1 file changed, 3 insertions(+), 9 deletions(-) > > diff

Re: [PATCH V2 2/2] base/drivers/arch_topology: Default dmips-mhz if they are not set in DT

2018-11-25 Thread Viresh Kumar
On 23-11-18, 11:32, Daniel Lezcano wrote: > On 23/11/2018 11:04, Viresh Kumar wrote: > > On 22-11-18, 13:36, Daniel Lezcano wrote: > >> In the case of asymmetric SoC with the same micro-architecture, we > >> have a group of CPUs with smaller OPPs than the other group. One > >> example is the

Re: [PATCH V2 2/2] base/drivers/arch_topology: Default dmips-mhz if they are not set in DT

2018-11-25 Thread Viresh Kumar
On 23-11-18, 11:32, Daniel Lezcano wrote: > On 23/11/2018 11:04, Viresh Kumar wrote: > > On 22-11-18, 13:36, Daniel Lezcano wrote: > >> In the case of asymmetric SoC with the same micro-architecture, we > >> have a group of CPUs with smaller OPPs than the other group. One > >> example is the

  1   2   3   4   5   6   >