Re: [PATCH v1 1/5] pwm: mediatek: add a property "mediatek,num-pwms"

2019-01-18 Thread Uwe Kleine-König
Hello, On Fri, Jan 18, 2019 at 11:24:41AM +0800, Ryder Lee wrote: > This adds a property "mediatek,num-pwms" to avoid having an endless > list of compatibles with no differences for the same driver. > > Thus, the driver should have backwards compatibility to older DTs. I still think Thierry shou

Re: [patch 3/9] crypto: morus - Cleanup license mess

2019-01-18 Thread Ondrej Mosnáček
pi 18. 1. 2019 o 0:15 Thomas Gleixner napísal(a): > Precise and non-ambiguous license information is important. The recently > added morus header files have a SPDX license identifier, which is nice, but > at the same time they have a contradictionary license boiler plate text. > > SPDX-License-I

Re: [PATCH v1 3/5] arm64: dts: mt7622: add a property "mediatek, num-pwms" for PWM

2019-01-18 Thread Uwe Kleine-König
Hello, there is a whitespace between the comma and "num-pwms" in the Subject that should not be there. (But I hope this is resolved by dropping the vendor prefix from the property.) Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König| Industrial Linux S

Re: [patch 4/9] crypto: aegis - Convert to SPDX license identifiers

2019-01-18 Thread Ondrej Mosnáček
pi 18. 1. 2019 o 0:15 Thomas Gleixner napísal(a): > The license boiler plate text is not ideal for machine parsing. The kernel > uses SPDX license identifiers for that purpose, which replace the boiler > plate text. > > Signed-off-by: Thomas Gleixner > Cc: Ondrej Mosnacek > Cc: Herbert Xu > Cc:

Re: [patch 5/9] crypto: morus - Convert to SPDX license identifiers

2019-01-18 Thread Ondrej Mosnáček
pi 18. 1. 2019 o 0:15 Thomas Gleixner napísal(a): > The license boiler plate text is not ideal for machine parsing. The kernel > uses SPDX license identifiers for that purpose, which replace the boiler > plate text. > > Signed-off-by: Thomas Gleixner > Cc: Ondrej Mosnacek > Cc: Herbert Xu > Cc:

Re: [patch 2/9] crypto: aegis - Cleanup license mess

2019-01-18 Thread Ondrej Mosnáček
pi 18. 1. 2019 o 0:15 Thomas Gleixner napísal(a): > Precise and non-ambiguous license information is important. The recently > added aegis header file has a SPDX license identifier, which is nice, but > at the same time it has a contradictionary license boiler plate text. > > SPDX-License-Identi

Re: [PATCH v6 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-01-18 Thread Geert Uytterhoeven
Hi Mason, On Fri, Jan 18, 2019 at 6:55 AM Mason Yang wrote: > Document the bindings used by the Renesas R-Car Gen3 RPC-IF controller. > > Signed-off-by: Mason Yang Thanks for the update! > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt > @@ -0,0 +1,37 @@ > +Ren

Re: [PATCH v1 1/5] pwm: mediatek: add a property "mediatek,num-pwms"

2019-01-18 Thread Uwe Kleine-König
Hello, just realized another issue while looking up a driver detail ... On Fri, Jan 18, 2019 at 11:24:41AM +0800, Ryder Lee wrote: > This adds a property "mediatek,num-pwms" to avoid having an endless > list of compatibles with no differences for the same driver. > > Thus, the driver should have

Re: [PATCH 1/8] MIPS: DTS: CI20: Set BCH clock to 200 MHz

2019-01-18 Thread Boris Brezillon
Hi Paul, On Thu, 17 Jan 2019 22:06:27 -0300 Paul Cercueil wrote: > This is currently done inside the jz4780-bch driver, but it really > should be done here instead. > I disagree with that statement. If it's a per-SoC constraint then you can select the appropriate rate based on the compatible i

Re: [PATCH v6 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-01-18 Thread Marek Vasut
On 1/18/19 9:03 AM, Geert Uytterhoeven wrote: > Hi Mason, > > On Fri, Jan 18, 2019 at 6:55 AM Mason Yang wrote: >> Document the bindings used by the Renesas R-Car Gen3 RPC-IF controller. >> >> Signed-off-by: Mason Yang > > Thanks for the update! > >> --- /dev/null >> +++ b/Documentation/device

Re: [PATCH 1/4] dt-bindings: memory: jz4780: Add compatible string for JZ4725B SoC

2019-01-18 Thread Boris Brezillon
On Thu, 17 Jan 2019 19:45:47 -0300 Paul Cercueil wrote: > Add a compatible string to support the memory controller built into the > JZ4725B SoC from Ingenic. > > Signed-off-by: Paul Cercueil Reviewed-by: Boris Brezillon > --- > .../devicetree/bindings/memory-controllers/ingenic,jz4780-nemc.

Re: [PATCH 2/4] memory: Kconfig: Drop dependency on MACH_JZ4780 for jz4780

2019-01-18 Thread Boris Brezillon
On Thu, 17 Jan 2019 19:45:48 -0300 Paul Cercueil wrote: > Depending on MACH_JZ4780 prevent us from creating a generic kernel that > works on more than one MIPS board. Instead, we just depend on MIPS being > set. > > Signed-off-by: Paul Cercueil Reviewed-by: Boris Brezillon > --- > drivers/m

Re: [PATCH v6 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-01-18 Thread Geert Uytterhoeven
Hi Marek, On Fri, Jan 18, 2019 at 9:08 AM Marek Vasut wrote: > On 1/18/19 9:03 AM, Geert Uytterhoeven wrote: > > On Fri, Jan 18, 2019 at 6:55 AM Mason Yang wrote: > >> --- /dev/null > >> +++ b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt > >> +Example: > >> + > >> + rpc: rpc@

Re: [PATCH v6 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-01-18 Thread Marek Vasut
On 1/18/19 9:10 AM, Geert Uytterhoeven wrote: > Hi Marek, > > On Fri, Jan 18, 2019 at 9:08 AM Marek Vasut wrote: >> On 1/18/19 9:03 AM, Geert Uytterhoeven wrote: >>> On Fri, Jan 18, 2019 at 6:55 AM Mason Yang wrote: --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-renesas-

[PATCH net-next 05/12] net: hns3: add interface hclge_tm_bp_setup

2019-01-18 Thread Huazhong Tan
Provide a common interface to complete the back pressure settings of all enabled TCs. So other functions directly call this interface to complete the corresponding operation. Signed-off-by: Huazhong Tan Signed-off-by: Yunsheng Lin Signed-off-by: Peng Li --- .../net/ethernet/hisilicon/hns3/hns3

[PATCH net-next 01/12] net: hns3: modify enet reinitialization interface

2019-01-18 Thread Huazhong Tan
hns3_reset_notify_init_enet and hns3_reset_notify_uninit_enet are the reinitialization interface that will be called when the device reset, the number of TC changed, or the queue length changed. So these two function should call hns3_get_ring_config() and hns3_put_ring_config() to allocate and free

[PATCH net-next 08/12] net: hns3: fix user configuration loss for ethtool -L

2019-01-18 Thread Huazhong Tan
Ethtool -L option with the combined parameter is for changing the number of multi-purpose channels of the specified network device. Under the current scheme, the user configuration information will be lost after the reset or TC information changed. This patch fixes this issue. By default, this con

[PATCH net-next 09/12] net: hns3: adjust the use of alloc_tqps and num_tqps

2019-01-18 Thread Huazhong Tan
The alloc_tqps field of struct hclge_vport represents the total number of tqps allocated to the vport. The num_tqps of struct hnae3_knic_private_info indicates the total number of all enabled tqps, which needs to be distinguished during use. Signed-off-by: Huazhong Tan Signed-off-by: Yunsheng Lin

[PATCH net-next 11/12] net: hns3: do reinitialization while ETS configuration changed

2019-01-18 Thread Huazhong Tan
When the ETS information is changed, the network device needs to be re-initialized, otherwise the information such as the receiving queue will be incorrect. Signed-off-by: Huazhong Tan Signed-off-by: Yunsheng Lin Signed-off-by: Peng Li --- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c

[PATCH net-next 04/12] net: hns3: reuse reinitialization interface in the hns3_set_channels

2019-01-18 Thread Huazhong Tan
There is already common interface for network device reinitialization, so hns3_set_channels() should just call them. Signed-off-by: Huazhong Tan Signed-off-by: Yunsheng Lin Signed-off-by: Peng Li --- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 75 - 1 file changed

[PATCH net-next 03/12] net: hns3: remove unnecessary hns3_adjust_tqps_num

2019-01-18 Thread Huazhong Tan
The parameter passed to hns3_set_channels() are already the number of queues per channel of the enabled TC, so it is not need to divide the number of enabled TCs. Signed-off-by: Huazhong Tan Signed-off-by: Yunsheng Lin Signed-off-by: Peng Li --- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c

[PATCH net-next 10/12] net: hns3: fix wrong combined count returned by ethtool -l

2019-01-18 Thread Huazhong Tan
The current code returns the number of all queues that can be used and the number of queues that have been allocated, which is incorrect. What should be returned is the number of queues allocated for each enabled TC and the number of queues that can be allocated. This patch fixes it. Fixes: 482d2

[PATCH net-next 12/12] net: hns3: add HNAE3_RESTORE_CLIENT interface in enet module

2019-01-18 Thread Huazhong Tan
From: Yunsheng Lin The HNAE3_INIT_CLIENT interface is also used when changing tc configuration, vlan/mac hardware table does not need to be restored when tc configuration changes. This patch adds a HNAE3_RESTORE_CLIENT interface to restore the vlan/mac hardware table when resetting. Signed-off-

Re: [PATCH 3/4] memory: jz4780-nemc: Reduce size of const array

2019-01-18 Thread Boris Brezillon
On Thu, 17 Jan 2019 19:45:49 -0300 Paul Cercueil wrote: > The maximum value found in that array is 15, there's no need to store > these values as uint32_t, a uint8_t is enough. Is it really worth the additional cast you add in the code? > > Signed-off-by: Paul Cercueil > --- > drivers/memory

Re: [PATCH 14/17] mm: Make hibernate handle unmapped pages

2019-01-18 Thread Pavel Machek
On Thu 2019-01-17 23:48:30, Edgecombe, Rick P wrote: > On Fri, 2019-01-18 at 00:41 +0100, Pavel Machek wrote: > > Hi! > > > > > > > For architectures with CONFIG_ARCH_HAS_SET_ALIAS, pages can be > > > > > unmapped > > > > > briefly on the directmap, even when CONFIG_DEBUG_PAGEALLOC is not > > > >

[PATCH net-next 07/12] net: hns3: remove redundant codes in hclge_knic_setup

2019-01-18 Thread Huazhong Tan
The TC info will be updated in hclge_tm_vport_tc_info_update(), so hclge_knic_setup() no need to do it again. Signed-off-by: Huazhong Tan Signed-off-by: Yunsheng Lin Signed-off-by: Peng Li --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 17 + drivers/net/ethernet/

[PATCH net-next 06/12] net: hns3: modify parameter checks in the hns3_set_channels

2019-01-18 Thread Huazhong Tan
The number of queues for each enabled TC should range from 1 to the maximum available value, and return directly if the value is same as the current one. Signed-off-by: Huazhong Tan Signed-off-by: Yunsheng Lin Signed-off-by: Peng Li --- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 7 +++--

[PATCH net-next 02/12] net: hns3: remove unused member in struct hns3_enet_ring

2019-01-18 Thread Huazhong Tan
The irq_init_flag field in struct hns3_enet_ring is unnecessary. This patch removes it. Signed-off-by: Huazhong Tan Signed-off-by: Yunsheng Lin Signed-off-by: Peng Li --- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 1 - drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 1 - 2 files chang

[PATCH net-next 00/12] net: hns3: code optimizations & bugfixes for HNS3 driver

2019-01-18 Thread Huazhong Tan
This patchset includes bugfixes and code optimizations for the HNS3 ethernet controller driver Huazhong Tan (11): net: hns3: modify enet reinitialization interface net: hns3: remove unused member in struct hns3_enet_ring net: hns3: remove unnecessary hns3_adjust_tqps_num net: hns3: reuse r

[PATCH] kbuild: descend to scripts/kconfig/ directly when syncconfig is needed

2019-01-18 Thread Masahiro Yamada
The recursion of the top Makefile is inefficient. Just descend to scripts/kconfig/. Signed-off-by: Masahiro Yamada --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9851a44..d5f0ac4 100644 --- a/Makefile +++ b/Makefile @@ -631,7 +631,7 @@

Re: [PATCH 4/4] memory: jz4780_nemc: Add support for the JZ4725B

2019-01-18 Thread Boris Brezillon
On Thu, 17 Jan 2019 19:45:50 -0300 Paul Cercueil wrote: > Add support for the JZ4725B SoC from Ingenic. > > Signed-off-by: Paul Cercueil I don't know anything about the JZ4725B constraints but the code looks good, so Reviewed-by: Boris Brezillon > --- > drivers/memory/jz4780-nemc.c | 24 ++

Re: [PATCH v6 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-01-18 Thread Sergei Shtylyov
Hello! On 18.01.2019 8:54, Mason Yang wrote: Document the bindings used by the Renesas R-Car Gen3 RPC-IF controller. Signed-off-by: Mason Yang --- .../devicetree/bindings/spi/spi-renesas-rpc.txt| 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documenta

Re: [PATCH 2/8] dt-bindings: mtd: ingenic: Add compatible strings for the JZ4725B

2019-01-18 Thread Boris Brezillon
On Thu, 17 Jan 2019 22:06:28 -0300 Paul Cercueil wrote: > Add compatible strings to probe the jz4780-nand and jz4780-bch drivers > from devicetree on the JZ4725B SoC from Ingenic. > > Signed-off-by: Paul Cercueil Reviewed-by: Boris Brezillon > --- > Documentation/devicetree/bindings/mtd/ing

Re: [PATCH 3/8] mtd: rawnand: jz4780: Use SPDX license notifiers

2019-01-18 Thread Boris Brezillon
On Thu, 17 Jan 2019 22:06:29 -0300 Paul Cercueil wrote: > Use SPDX license notifiers instead of GPLv2 license text in the headers. > > Signed-off-by: Paul Cercueil Reviewed-by: Boris Brezillon > --- > drivers/mtd/nand/raw/jz4780_bch.c | 5 + > drivers/mtd/nand/raw/jz4780_bch.h | 5 +--

RE: [PATCH v2] pinctrl: freescale: fix link errors

2019-01-18 Thread Aisheng Dong
> From: Anders Roxell [mailto:anders.rox...@linaro.org] > Sent: Monday, January 14, 2019 7:13 PM > Subject: [PATCH v2] pinctrl: freescale: fix link errors > > Fix link errors when PINCTRL_IMX_SCU, PINCTRL_IMX8QM or > PINCTRL_IMXBQXP is enabled as a module and the dependent module is > built-in. >

Re: [PATCH 17/17] module: Prevent module removal racing with text_poke()

2019-01-18 Thread Masami Hiramatsu
On Thu, 17 Jan 2019 18:07:03 + Nadav Amit wrote: > > On Jan 16, 2019, at 11:54 PM, Masami Hiramatsu wrote: > > > > On Wed, 16 Jan 2019 16:32:59 -0800 > > Rick Edgecombe wrote: > > > >> From: Nadav Amit > >> > >> It seems dangerous to allow code modifications to take place > >> concurren

Re: [PATCH v6 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-01-18 Thread Sergei Shtylyov
Hello! On 18.01.2019 9:16, Marek Vasut wrote: Document the bindings used by the Renesas R-Car Gen3 RPC-IF controller. Signed-off-by: Mason Yang --- .../devicetree/bindings/spi/spi-renesas-rpc.txt| 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Document

Re: [PATCH v6 1/2] spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver

2019-01-18 Thread Geert Uytterhoeven
Hi Mason, On Fri, Jan 18, 2019 at 6:55 AM Mason Yang wrote: > Add a driver for Renesas R-Car Gen3 RPC-IF SPI controller. > > Signed-off-by: Mason Yang > Signed-off-by: Sergei Shtylyov Thanks for the update! > --- /dev/null > +++ b/drivers/spi/spi-renesas-rpc.c > @@ -0,0 +1,800 @@ > +static

[PATCHv2 0/4] Add coresight support for SDM845 and MSM8996

2019-01-18 Thread Sai Prakash Ranjan
This patch series adds support for coresight on SDM845 and MSM8996. * Patch 1 adds device tree nodes for SDM845 coresight components. * Patch 2 adds device tree nodes for MSM8996 coresight components. * Patch 3 enables support for ETMv4.2 and enables SDM845 to make use of same driver(etm4x).

[PATCHv2 2/4] arm64: dts: qcom: msm8996: Add Coresight support

2019-01-18 Thread Sai Prakash Ranjan
From: Vivek Gautam Enable coresight support by adding device nodes for the available source, sinks and channel blocks on msm8996. This also adds coresight cpu debug nodes. Signed-off-by: Vivek Gautam Signed-off-by: Sai Prakash Ranjan --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 447 ++

[PATCHv2 4/4] arm64: dts: qcom: sdm845: Remove the duplicate header inclusion

2019-01-18 Thread Sai Prakash Ranjan
Remove the duplicate inclusion of qcom,gcc-sdm845.h mistakenly introduced by commit 6e17f8140521 ("arm64: dts: sdm845: add prng-ee node"). Signed-off-by: Sai Prakash Ranjan Reviewed-by: Douglas Anderson --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/

[PATCHv2 1/4] arm64: dts: qcom: sdm845: Add Coresight support

2019-01-18 Thread Sai Prakash Ranjan
Add coresight components found on Qualcomm SDM845 SoC. Signed-off-by: Sai Prakash Ranjan --- This depends on AMBA bus pclk change by Bjorn Andersson [1]. Also depends on patch ("arm64: dts: qcom: sdm845: Increase address and size cells for soc") [2]. [1] https://lore.kernel.org/lkml/2019010608

[PATCHv2 3/4] coresight: etm4x: Add support to enable ETMv4.2

2019-01-18 Thread Sai Prakash Ranjan
SDM845 has ETMv4.2 and can use the existing etm4x driver. But the current etm driver checks only for ETMv4.0 and errors out for other etm4x versions. This patch adds this missing support to enable SoC's with ETMv4x to use same driver by checking only the ETM architecture major version number. With

Re: [PATCH 4/8] mtd: rawnand: jz4780: Add support for the JZ4725B

2019-01-18 Thread Boris Brezillon
On Thu, 17 Jan 2019 22:06:30 -0300 Paul Cercueil wrote: > Add support for probing the jz4780-nand driver on the JZ4725B SoC from > Ingenic. > > Signed-off-by: Paul Cercueil Reviewed-by: Boris Brezillon BTW, if you have some time, maybe you could convert this driver to ->exec_op() ;-). > ---

RE: Regression: i.MX6: pinctrl: fsl: add scu based pinctrl support

2019-01-18 Thread Aisheng Dong
> -Original Message- > From: Mika Penttilä [mailto:mika.pentt...@nextfour.com] > Sent: Tuesday, January 15, 2019 1:18 AM > > Hi! > > On 14.1.2019 18.58, Fabio Estevam wrote: > > Hi Mika, > > > > On Mon, Jan 14, 2019 at 8:21 AM Mika Penttilä > > wrote: > >> Hello, > >> > >> > >> The patch

Re: [PATCH 5/8] mtd: rawnand: jz4780: Add ooblayout for the JZ4725B

2019-01-18 Thread Boris Brezillon
On Thu, 17 Jan 2019 22:06:31 -0300 Paul Cercueil wrote: > The boot ROM of the JZ4725B SoC expects a specific OOB layout on the > NAND, so it makes sense to use this OOB layout unconditionally on this > SoC. > > Signed-off-by: Paul Cercueil Reviewed-by: Boris Brezillon > --- > drivers/mtd/na

Re: [PATCH 6/8] mtd: rawnand: jz4780-bch: Don't set clock rate in driver

2019-01-18 Thread Boris Brezillon
On Thu, 17 Jan 2019 22:06:32 -0300 Paul Cercueil wrote: > This should be done in devicetree. Besides, it prevents us from > supporting other SoCs which don't use the same clock frequency for the > BCH hardware. As I said earlier, I disagree with this statement, plus, you're breaking backward com

Re: [PATCH 7/8] mtd: rawnand: jz4780-bch: Separate top-level and SoC specific code

2019-01-18 Thread Boris Brezillon
On Thu, 17 Jan 2019 22:06:33 -0300 Paul Cercueil wrote: > The jz4780-nand driver uses an API provided by the jz4780-bch driver. > This makes it difficult to support other SoCs in the jz4780-bch driver. > To work around this, we separate the API functions from the SoC-specific > code, so that thes

Re: [PATCH] MAINTAINERS: email address update in MAINTAINERS entries

2019-01-18 Thread Greg KH
On Thu, Jan 17, 2019 at 07:30:54AM -0700, shuah wrote: > On 1/17/19 1:32 AM, Greg KH wrote: > > On Wed, Jan 16, 2019 at 04:28:20PM -0700, sh...@kernel.org wrote: > > > From: Shuah Khan > > > > > > Update email address in MAINTAINERS entries. > > > > > > Signed-off-by: Shuah Khan > > > --- > > >

Re: use generic DMA mapping code in powerpc V4

2019-01-18 Thread Christoph Hellwig
Hi Christian, can you check if the debug printks in this patch trigger? diff --git a/kernel/dma/direct.c b/kernel/dma/direct.c index 355d16acee6d..e46c9b64ec0d 100644 --- a/kernel/dma/direct.c +++ b/kernel/dma/direct.c @@ -118,8 +118,11 @@ struct page *__dma_direct_alloc_pages(struct device *dev,

Re: [PATCH v9 4/4] sound/usb: Use Media Controller API to share media resources

2019-01-18 Thread Hans Verkuil
On 12/18/18 6:59 PM, sh...@kernel.org wrote: > From: Shuah Khan > > Media Device Allocator API to allows multiple drivers share a media device. > This API solves a very common use-case for media devices where one physical > device (an USB stick) provides both audio and video. When such media devi

Re: [PATCH v10 perf, bpf-next 1/9] perf, bpf: Introduce PERF_RECORD_KSYMBOL

2019-01-18 Thread Peter Zijlstra
On Thu, Jan 17, 2019 at 11:58:54AM -0300, Arnaldo Carvalho de Melo wrote: > So, can you post one last set, this time with PeterZ's Acked-by, > assuming you're sorting out the get_names() thing, and I can try merging > this into my perf/core branch, then pushing it out to Ingo, my perf/core > starts

Re: [PATCHv2 1/3] perf report: Display s390 diagnostic counter sets

2019-01-18 Thread Thomas-Mich Richter
On 01/17/2019 03:00 PM, Arnaldo Carvalho de Melo wrote: > erf report: Display arch specific diagnostic counter sets, starting with s390 > > On s390 the event bc000 (also named CF_DIAG) extracts the CPU > Measurement Facility diagnostic counter sets and displays them as > counter nu

[BUG bisect] Missing Micrel driver on VF50 (net: phy: check return code when requesting PHY driver module)

2019-01-18 Thread Krzysztof Kozlowski
Hi, On today's next (next-20190118) my Colibri VF50 board fails to boot up from network (DHCP, NFSv4 root). Looks like missing network adapter. Expected: [ 3.041773] Micrel KSZ8041 400d1000.ethernet-1:00: attached PHY driver [Micrel KSZ8041] (mii_bus:phy_addr=400d1000.ethernet-1:00, irq

Re: Aw: [PATCH 2/2] drm/mediatek: Add Mediatek framebuffer device

2019-01-18 Thread Matthias Brugger
On 18/01/2019 02:46, CK Hu wrote: > Hi, Frank: > > On Thu, 2019-01-17 at 15:14 +0100, Frank Wunderlich wrote: >> Hi, >> >> this Patchset does not hang on Bananapi R2, but does not show anything on >> FB-Console...seems anything is missing >> >> https://github.com/frank-w/BPI-R2-4.14/tree/4.20-

Re: [PATCH v10 perf, bpf-next 1/9] perf, bpf: Introduce PERF_RECORD_KSYMBOL

2019-01-18 Thread Peter Zijlstra
On Thu, Jan 17, 2019 at 01:56:53PM +0100, Peter Zijlstra wrote: > +static __always_inline struct latch_tree_node * > +latch_tree_first(struct latch_tree_root *root) > +{ > + struct latch_tree_node *ltn = NULL; > + struct rb_node *node; > + unsigned int seq; > + > + do { > +

Re: [PATCH 21/21] memblock: drop memblock_alloc_*_nopanic() variants

2019-01-18 Thread Greg Kroah-Hartman
On Wed, Jan 16, 2019 at 03:44:21PM +0200, Mike Rapoport wrote: > As all the memblock allocation functions return NULL in case of error > rather than panic(), the duplicates with _nopanic suffix can be removed. > > Signed-off-by: Mike Rapoport > --- > arch/arc/kernel/unwind.c | 3 +-- > ar

Re: [PATCH 19/21] treewide: add checks for the return value of memblock_alloc*()

2019-01-18 Thread Heiko Carstens
On Wed, Jan 16, 2019 at 03:44:19PM +0200, Mike Rapoport wrote: > Add check for the return value of memblock_alloc*() functions and call > panic() in case of error. > The panic message repeats the one used by panicing memblock allocators with > adjustment of parameters to include only relevant ones.

Re: [PATCH v4 0/5] drm/bridge: various small lvds-encoder things

2019-01-18 Thread Andrzej Hajda
On 11.01.2019 16:18, Peter Rosin wrote: > Hi! > > I'm not sure if I should have added the texas chips to the lvds_encoder_match > list in the driver, right next to the thine,thc63lvdm83d entry, but ended > up not doing that. That can always be added later, if needed... > > Changes since v3: > - ret

Re: [PATCH v1 1/5] pwm: mediatek: add a property "mediatek,num-pwms"

2019-01-18 Thread Matthias Brugger
On 18/01/2019 04:24, Ryder Lee wrote: > This adds a property "mediatek,num-pwms" to avoid having an endless > list of compatibles with no differences for the same driver. > > Thus, the driver should have backwards compatibility to older DTs. > > Signed-off-by: Ryder Lee > --- > Changes since

Re: [PATCH v1 2/5] dt-bindings: pwm: add a property "mediatek,num-pwms"

2019-01-18 Thread Matthias Brugger
On 18/01/2019 04:24, Ryder Lee wrote: > This adds a property "mediatek,num-pwms" in example so that we could > set the number of PWM channels via device tree. > > Signed-off-by: Ryder Lee > Reviewed-by: Matthias Brugger > --- > Changes since v1: add a Reviewed-by tag. > --- > Documentation/d

Re: [PATCH 1/4] dt-binding: irq: imx-irqsteer: use irq number per channel instead of group number

2019-01-18 Thread Lucas Stach
Am Freitag, den 18.01.2019, 07:53 + schrieb Aisheng Dong: > Not all 64 interrupts may be used in one group. e.g. most irqsteer in > imx8qxp and imx8qm subsystems supports only 32 interrupts. > > As the IP integration parameters are Channel number and interrupts number, > let's use fsl,irqs-per

Re: [BUG bisect] Missing Micrel driver on VF50 (net: phy: check return code when requesting PHY driver module)

2019-01-18 Thread Krzysztof Kozlowski
On Fri, 18 Jan 2019 at 09:39, Krzysztof Kozlowski wrote: > > Hi, > > On today's next (next-20190118) my Colibri VF50 board fails to boot up > from network (DHCP, NFSv4 root). Looks like missing network adapter. > Expected: > [ 3.041773] Micrel KSZ8041 400d1000.ethernet

Re: [PATCH 0/5] s390: rework compat wrapper generation

2019-01-18 Thread Martin Schwidefsky
On Thu, 17 Jan 2019 21:19:20 +0100 Heiko Carstens wrote: > On Thu, Jan 17, 2019 at 05:21:50PM +0100, Arnd Bergmann wrote: > > On Thu, Jan 17, 2019 at 2:36 PM Heiko Carstens > > wrote: > > > > > > On Wed, Jan 16, 2019 at 02:15:18PM +0100, Arnd Bergmann wrote: > > > > > > I did not test the

Re: [PATCH] USB: EHCI: ehci-mv: add MODULE_DEVICE_TABLE

2019-01-18 Thread Greg Kroah-Hartman
On Mon, Jan 14, 2019 at 09:16:08PM +0100, Lubomir Rintel wrote: > This fixes autoloading the module by the OF compatible string. > > Fixes: 813e18b18a87f31c5b216ea7546127deac3ae1ae In the future, this type of line should be written as: Fixes: 813e18b18a87 ("USB: EHCI: ehci-mv: add DT support") I

[PATCH 3/6] media: ov5640: Disable transparent feature for test pattern

2019-01-18 Thread Chen-Yu Tsai
The transparent feature for test patterns blends the test pattern with an actual captured image. This makes the result non-static, subject to changes in the sensor's field of view. Test patterns should be predictable and deterministic, even if they are dynamic patterns. Disable the transparent fea

Re: [PATCH] USB: EHCI: ehci-mv: add MODULE_DEVICE_TABLE

2019-01-18 Thread Greg Kroah-Hartman
On Mon, Jan 14, 2019 at 09:16:08PM +0100, Lubomir Rintel wrote: > This fixes autoloading the module by the OF compatible string. > > Fixes: 813e18b18a87 ("USB: EHCI: ehci-mv: add DT support") > Cc: sta...@vger.kernel.org # v4.19+ Wait, why 4.19? 813e18b18a87 is in 4.20, not 4.19, so why would th

[PATCH 4/6] media: ov5640: Add three more test patterns

2019-01-18 Thread Chen-Yu Tsai
The OV5640 driver currently supports a static color bar pattern with a small vertical gamma gradient. The hardware also supports a color square pattern, as well as having a rolling bar for dynamic sequences. Add three more test patterns: - color bars with a rolling bar (but without the gamma gr

[PATCH 5/6] media: ov5640: Set JPEG output timings when outputting JPEG data

2019-01-18 Thread Chen-Yu Tsai
When compression is turned on, the on-bus data is framed according to the compression mode, and the height and width set in VFIFO_VSIZE and VFIFO_HSIZE. If these are not updated correctly, the sensor will send data framed in a manner unexpected by the capture interface, such as having more bytes pe

[PATCH 6/6] media: ov5640: Consolidate JPEG compression mode setting

2019-01-18 Thread Chen-Yu Tsai
The register value lists for all the supported resolution settings all include a register address/value pair for setting the JPEG compression mode. With the exception of 1080p (which sets mode 2), all resolutions use mode 3. The only difference between mode 2 and mode 3 is that mode 2 may have pad

Re: [PATCH] mtd: rawnand: denali: get ->setup_data_interface() working again

2019-01-18 Thread Miquel Raynal
Hi Masahiro, Masahiro Yamada wrote on Fri, 18 Jan 2019 14:30:38 +0900: > Commit 7a08dbaedd36 ("mtd: rawnand: Move ->setup_data_interface() to > nand_controller_ops") missed to invert the if-conditonal for denali. > Since then, the Denali NAND driver cannnot invoke setup_data_interface. > > Fixe

[PATCH 1/6] media: ov5640: Move test_pattern_menu before ov5640_set_ctrl_test_pattern

2019-01-18 Thread Chen-Yu Tsai
The OV5640 has many options for generating test patterns. Unfortunately there is only one V4L2 control for it. Thus the driver would need to list some or all combinations. Move the test_pattern_menu list before the ov5640_set_ctrl_test_pattern function that programs the hardware. This would allow

[PATCH 2/6] media: ov5640: Add register definition for test pattern register

2019-01-18 Thread Chen-Yu Tsai
The OV5640 can generate many types of test patterns, some with additional modifiers, such as a rolling bar, or gamma gradients. Add the bit definitions for all bits in the test pattern register, and use them to compose the values to be written to the register. Signed-off-by: Chen-Yu Tsai --- dr

[PATCH 0/6] media: ov5640: JPEG and test pattern improvements

2019-01-18 Thread Chen-Yu Tsai
Hi everyone, This series improves the JPEG compression output mode handling of the OV5640 sensor, and adds some more test patterns for users to use. The JPEG compression output mode of the sensor works, but the data framing is incorrect. Additional registers need to be set to configure the framin

Re: [PATCH 4/4] irq: imx: irqsteer: add multi output interrupts support

2019-01-18 Thread Lucas Stach
Am Freitag, den 18.01.2019, 07:53 + schrieb Aisheng Dong: > One irqsteer channel can support up to 8 output interrupts. This has been discussed when upstreaming the driver. The controller may support multiple output IRQs, but only one them is actually used depending on the CHANCTRL config. The

Re: [RFC,v2] Bluetooth: hci_qca: Collect controller memory dump during SSR

2019-01-18 Thread Marcel Holtmann
Hi Balakrishna, > We will collect the ramdump of BT controller when hardware error event > received before rebooting the HCI layer. Before restarting a subsystem > or a process running on a subsystem, it is often required to request > either a subsystem or a process to perform prop

Re: [PATCH 1/2] checkstack.pl: Add blackfin support

2019-01-18 Thread Bernhard Reutner-Fischer
On Fri, 18 Jan 2019 08:54:15 +0100 Geert Uytterhoeven wrote: > A similar patch was merged in commit 1e9535a591cf003e ("Add stack > checking for Blackfin"). > > In the mean time, blackfin support was removed from Linux in commit > 4ba66a9760722ccb ("arch: remove blackfin port"), and from checksta

[PATCH][v3] tty: fix race between flush_to_ldisc and tty_open

2019-01-18 Thread Li RongQing
There still is a race window after the commit b027e2298bd588 ("tty: fix data race between tty_init_dev and flush of buf"), and we encountered this crash issue if receive_buf call comes before tty initialization completes in n_tty_open and tty->driver_data may be NULL. CPU0

Re: [PATCH] USB: EHCI: ehci-mv: add MODULE_DEVICE_TABLE

2019-01-18 Thread Lubomir Rintel
On Fri, 2019-01-18 at 09:52 +0100, Greg Kroah-Hartman wrote: > On Mon, Jan 14, 2019 at 09:16:08PM +0100, Lubomir Rintel wrote: > > This fixes autoloading the module by the OF compatible string. > > > > Fixes: 813e18b18a87 ("USB: EHCI: ehci-mv: add DT support") > > Cc: sta...@vger.kernel.org # v4.1

Re: [PATCH v7 4/4] Bluetooth: btqca: inject command complete event during fw download

2019-01-18 Thread Marcel Holtmann
Hi Balakrishna, >>> On 2019-01-15 06:50, Matthias Kaehlcke wrote: >>> > On Mon, Jan 14, 2019 at 09:21:25PM +0530, Balakrishna Godavarthi wrote: >>> > > On 2019-01-12 04:42, Matthias Kaehlcke wrote: >>> > > > On Fri, Jan 11, 2019 at 07:53:43PM +0530, Balakrishna Godavarthi >>> > > > wrote: >>> > >

Re: [PATCH 15/25] mm, compaction: Finish pageblock scanning on contention

2019-01-18 Thread Vlastimil Babka
On 1/17/19 6:11 PM, Mel Gorman wrote: > On Thu, Jan 17, 2019 at 05:38:36PM +0100, Vlastimil Babka wrote: >> > rate but also by the fact that the scanners do not meet for longer when >> > pageblocks are actually used. Overall this is justified and completing >> > a pageblock scan is very important f

[Question] What is the license of scripts/basic/fixdep.c ?

2019-01-18 Thread Masahiro Yamada
Hi. The comment block of scripts/basic/fixdep.c says as follows: * Author Kai Germaschewski * Copyright2002 by Kai Germaschewski * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. It doe

Re: [f2fs-dev] [PATCH] f2fs: run gc/discard jobs when put_super

2019-01-18 Thread Chao Yu
On 2019/1/17 13:17, Jaegeuk Kim wrote: > When we umount f2fs, we need to avoid long delay due to discard commands, > which > is actually taking tens of seconds, if storage is very slow on UNMAP. So, this > patch introduces timeout-based work on it. In addition to discard commands, we > can also do

Re: [PATCH][v3] tty: fix race between flush_to_ldisc and tty_open

2019-01-18 Thread Greg KH
On Fri, Jan 18, 2019 at 04:56:04PM +0800, Li RongQing wrote: > There still is a race window after the commit b027e2298bd588 > ("tty: fix data race between tty_init_dev and flush of buf"), > and we encountered this crash issue if receive_buf call comes > before tty initialization completes in n_tty_

Re: [PATCH] USB: EHCI: ehci-mv: add MODULE_DEVICE_TABLE

2019-01-18 Thread Greg Kroah-Hartman
On Fri, Jan 18, 2019 at 09:56:53AM +0100, Lubomir Rintel wrote: > On Fri, 2019-01-18 at 09:52 +0100, Greg Kroah-Hartman wrote: > > On Mon, Jan 14, 2019 at 09:16:08PM +0100, Lubomir Rintel wrote: > > > This fixes autoloading the module by the OF compatible string. > > > > > > Fixes: 813e18b18a87 ("

Re: [alsa-devel] [PATCH v3 3/3] ASoC: cros_ec_codec: Add codec driver for Cros EC

2019-01-18 Thread Cheng-yi Chiang
On Thu, Jan 17, 2019 at 12:25 PM Cheng-yi Chiang wrote: > > Hi Guenter, > > Thanks for the review! > > On Wed, Jan 16, 2019 at 2:18 PM Guenter Roeck wrote: > > > > On Wed, Dec 26, 2018 at 03:03:19PM +0800, Cheng-Yi Chiang wrote: > > > Add a codec driver to control ChromeOS EC codec. > > > > > > U

[PATCH v2 5/5] ASoC: imx-spdif: don't print EPROBE_DEFER as error

2019-01-18 Thread Stefan Agner
Probe deferral is to be expected during normal operation, so avoid printing an error when it is encountered. Removing the goto would not be strictly necessary. However, if code gets added later, the cleanup in the EPROBE_DEFER case likely would get missed. Signed-off-by: Stefan Agner Reviewed-by

[PATCH v2 3/5] ASoC: imx-sgtl5000: don't print EPROBE_DEFER as error

2019-01-18 Thread Stefan Agner
Probe deferral is to be expected during normal operation, so avoid printing an error when it is encountered. Signed-off-by: Stefan Agner Reviewed-by: Daniel Baluta Acked-by: Nicolin Chen --- sound/soc/fsl/imx-sgtl5000.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sou

[PATCH v2 4/5] ASoC: fsl_spdif: don't print EPROBE_DEFER as error

2019-01-18 Thread Stefan Agner
Probe deferral is to be expected during normal operation, so avoid printing an error when it is encountered. Signed-off-by: Stefan Agner Reviewed-by: Daniel Baluta Acked-by: Nicolin Chen --- sound/soc/fsl/fsl_spdif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc

[PATCH v2 1/5] ASoC: imx-sgtl5000: put of nodes if finding codec fails

2019-01-18 Thread Stefan Agner
Make sure to properly put the of node in case finding the codec fails. Fixes: 81e8e4926167 ("ASoC: fsl: add sgtl5000 clock support for imx-sgtl5000") Signed-off-by: Stefan Agner Reviewed-by: Daniel Baluta Acked-by: Nicolin Chen --- Changes in v2: - Reordered patches, make sure this is the first

[PATCH v2 2/5] ASoC: imx-sgtl5000: lower log level for potential probe deferral cases

2019-01-18 Thread Stefan Agner
Not finding the codec/SSI instance can be due to probe deferral. Do not print error messages in those cases. Signed-off-by: Stefan Agner Reviewed-by: Daniel Baluta Acked-by: Nicolin Chen --- sound/soc/fsl/imx-sgtl5000.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/so

Re: [RESEND v2] Bluetooth: hci_qca: Add helper to set device address

2019-01-18 Thread Marcel Holtmann
Hi Balakrishna, > This patch add qca_set_bdaddr() to set the device > address for latest Qualcomm Bluetooth chipset wcn3990 and above. > > Signed-off-by: Balakrishna Godavarthi > Reviewed-by: Matthias Kaehlcke > Tested-by: Matthias Kaehlcke > --- > drivers/bluetooth/btqca.c | 19

Re: [PATCH 20/25] mm, compaction: Reduce unnecessary skipping of migration target scanner

2019-01-18 Thread Vlastimil Babka
On 1/17/19 8:39 PM, Mel Gorman wrote: > On Thu, Jan 17, 2019 at 06:58:30PM +0100, Vlastimil Babka wrote: >> On 1/4/19 1:50 PM, Mel Gorman wrote: >> > The fast isolation of pages can move the scanner faster than is necessary >> > depending on the contents of the free list. This patch will only allow

Confidentiel s'il vous plait

2019-01-18 Thread Abdullah Al-Thinni
Compliments, Confirmez en arrière s'il vous plaît, votre compte peut-il recevoir un montant énorme? Répondez afin que nous puissions discuter des détails et quelle sera votre commission; J'ai eu votre contact dans notre annuaire des secteurs du commerce et de l'industrie. Je suis Hon. Abdull

Re: [PATCH 1/1] irqchip: gpcv2: make config option visible

2019-01-18 Thread Marc Zyngier
On 18/01/2019 07:41, Aisheng Dong wrote: > Make GPCv2 config option visible, then user can select it in defconfig > for ARMv8 platforms. > > Cc: Thomas Gleixner > Cc: Jason Cooper > Cc: Marc Zyngier > Cc: Shawn Guo > Cc: Lucas Stach > Cc: Andrey Smirnov > Signed-off-by: Dong Aisheng > --- >

Re: [RFC PATCH] media/doc: Allow sizeimage to be set by v4l clients

2019-01-18 Thread Hans Verkuil
On 1/16/19 1:37 PM, Stanimir Varbanov wrote: > This changes v4l2_pix_format and v4l2_plane_pix_format sizeimage > field description to allow v4l clients to set bigger image size > in case of variable length compressed data. > > Signed-off-by: Stanimir Varbanov > --- > Documentation/media/uapi/v4

Re: [PATCH 2/8] drm/meson: add HDMI div40 TMDS mode

2019-01-18 Thread Andrzej Hajda
On 15.01.2019 13:33, Neil Armstrong wrote: > Add support for TMDS Clock > 3.4GHz for HDMI2.0 display modes. > > Signed-off-by: Neil Armstrong > --- > drivers/gpu/drm/meson/meson_dw_hdmi.c | 23 +++ > 1 file changed, 19 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu

Re: [PATCH 1/2] bluetooth: btmrvl_sdio: improve printk messages

2019-01-18 Thread Marcel Holtmann
Hi Stefan, > Use dev_* variants to print messages in drivers. > > Signed-off-by: Stefan Agner > --- > drivers/bluetooth/btmrvl_sdio.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel

Re: [PATCH 2/2] bluetooth: btmrvl_sdio: lower log level of informational message

2019-01-18 Thread Marcel Holtmann
Hi Stefan, > The platform specific wake-up interrupt is optional. Don't print > an error message in case it is missing, merely inform the user in > this case. > > Signed-off-by: Stefan Agner > --- > drivers/bluetooth/btmrvl_sdio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has

Re: [PATCH 2/2] sched: Document Energy Aware Scheduling

2019-01-18 Thread Quentin Perret
Hi Juri, On Thursday 17 Jan 2019 at 16:51:17 (+0100), Juri Lelli wrote: > On 10/01/19 11:05, Quentin Perret wrote: [...] > > +The idea behind introducing an EM is to allow the scheduler to evaluate the > > +implications of its decisions rather than blindly applying energy-saving > > +techniques th

  1   2   3   4   5   6   7   8   9   10   >