[PATCH v2 net] net: ena: Select DIMLIB for ENA_ETHERNET

2019-09-21 Thread Mao Wenan
If CONFIG_ENA_ETHERNET=y and CONFIG_DIMLIB=n, below erros can be found: drivers/net/ethernet/amazon/ena/ena_netdev.o: In function `ena_dim_work': ena_netdev.c:(.text+0x21cc): undefined reference to `net_dim_get_rx_moderation' ena_netdev.c:(.text+0x21cc): relocation truncated to fit:

Re: [PATCH net] net: ena: Add dependency for ENA_ETHERNET

2019-09-21 Thread maowenan
On 2019/9/22 11:07, Jakub Kicinski wrote: > On Fri, 20 Sep 2019 16:44:05 +0800, Mao Wenan wrote: >> If CONFIG_ENA_ETHERNET=y and CONFIG_DIMLIB=n, >> below erros can be found: >> drivers/net/ethernet/amazon/ena/ena_netdev.o: In function `ena_dim_work': >> ena_netdev.c:(.text+0x21cc): undefined

Re: [for-next][PATCH 3/8] tracing: Make sure variable reference alias has correct var_ref_idx

2019-09-21 Thread Steven Rostedt
On September 21, 2019 3:21:08 PM EDT, Sasha Levin wrote: >On Sat, Sep 21, 2019 at 08:20:35AM -0400, Steven Rostedt wrote: >>On Sat, 21 Sep 2019 12:06:18 + >>Sasha Levin wrote: >> >>> Hi, >>> >>> [This is an automated email] >>> >>> This commit has been processed because it contains a

Re: [PATCH] qede: qede_fp: simplify a bit 'qede_rx_build_skb()'

2019-09-21 Thread Jakub Kicinski
On Fri, 20 Sep 2019 06:56:56 +0200, Christophe JAILLET wrote: > Use 'skb_put_data()' instead of rewritting it. > This improves readability. > > Signed-off-by: Christophe JAILLET Applied, thank you.

Re: [PATCH net] net: ena: Add dependency for ENA_ETHERNET

2019-09-21 Thread Jakub Kicinski
On Fri, 20 Sep 2019 16:44:05 +0800, Mao Wenan wrote: > If CONFIG_ENA_ETHERNET=y and CONFIG_DIMLIB=n, > below erros can be found: > drivers/net/ethernet/amazon/ena/ena_netdev.o: In function `ena_dim_work': > ena_netdev.c:(.text+0x21cc): undefined reference to > `net_dim_get_rx_moderation' >

Re: [PATCH] dimlib: make DIMLIB a hidden symbol

2019-09-21 Thread Jakub Kicinski
On Fri, 20 Sep 2019 15:31:15 +0200, Uwe Kleine-König wrote: > According to Tal Gilboa the only benefit from DIM comes from a driver > that uses it. So it doesn't make sense to make this symbol user visible, > instead all drivers that use it should select it (as is already the case > AFAICT). > >

Re: [PATCH] [v2] net: stmmac: selftest: avoid large stack usage

2019-09-21 Thread Jakub Kicinski
On Thu, 19 Sep 2019 14:33:43 +0200, Arnd Bergmann wrote: > Putting a struct stmmac_rss object on the stack is a bad idea, > as it exceeds the warning limit for a stack frame on 32-bit architectures: > > drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1221:12: error: stack > frame size of

Re: [PATCH] rtc: r7301: Use devm_platform_ioremap_resource() in rtc7301_rtc_probe()

2019-09-21 Thread Akinobu Mita
2019年9月21日(土) 20:49 Markus Elfring : > > From: Markus Elfring > Date: Sat, 21 Sep 2019 13:43:07 +0200 > > Simplify this function implementation by using a known wrapper function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Reviewed-by: Akinobu

Re: [PATCH net] net: dsa: sja1105: Add dependency for NET_DSA_SJA1105_TAS

2019-09-21 Thread Jakub Kicinski
On Thu, 19 Sep 2019 14:38:19 +0800, Mao Wenan wrote: > If CONFIG_NET_DSA_SJA1105_TAS=y and CONFIG_NET_SCH_TAPRIO=n, > below error can be found: > drivers/net/dsa/sja1105/sja1105_tas.o: In function `sja1105_setup_tc_taprio': > sja1105_tas.c:(.text+0x318): undefined reference to

[PATCH v2 2/2] perf: add support for logging debug messages to file

2019-09-21 Thread Changbin Du
When in TUI mode, it is impossible to show all the debug messages to console. This make it hard to debug perf issues using debug messages. This patch adds support for logging debug messages to file to resolve this problem. The usage is: perf -debug verbose=2,file=~/perf.log COMMAND

[PATCH v2 0/2] perf: add support for logging debug messages to file

2019-09-21 Thread Changbin Du
When in TUI mode, it is impossible to show all the debug messages to console. This make it hard to debug perf issues using debug messages. This patch adds support for logging debug messages to file to resolve this problem. v2: o specific all debug options one time. Changbin Du (2): perf:

Re: [PATCH RESEND] nbd: avoid losing pointer to reallocated config->socks in nbd_add_socket

2019-09-21 Thread Xiubo Li
On 2019/9/21 0:06, Eugene Syromiatnikov wrote: In the (very unlikely) case of config->socks reallocation success and nsock allocation failure config->nsock will not get updated with the new pointer to socks array. Fix it by updating config->socks right after reallocation successfulness check.

[PATCH v2 1/2] perf: support multiple debug options separated by ','

2019-09-21 Thread Changbin Du
This patch adds support for multiple debug options separated by ',' and non-int values. --debug verbose=2,stderr Signed-off-by: Changbin Du --- tools/perf/Documentation/perf.txt | 10 ++-- tools/perf/util/debug.c | 86 --- 2 files changed, 50

[PATCH] regulator: fixed: Prevent NULL pointer dereference when !CONFIG_OF

2019-09-21 Thread Axel Lin
Use of_device_get_match_data which has NULL test for match before dereference match->data. Add NULL test for drvtype so it still works for fixed_voltage_ops when !CONFIG_OF. Signed-off-by: Axel Lin --- drivers/regulator/fixed.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff

Re: [PATCH] net: remove netx ethernet driver

2019-09-21 Thread Jakub Kicinski
On Wed, 18 Sep 2019 22:21:24 +0200, Arnd Bergmann wrote: > The ARM netx platform got removed in 5.3, so this driver > is now useless. > > Reported-by: Uwe Kleine-König > Cc: Sascha Hauer > Signed-off-by: Arnd Bergmann Applied, thank you! FWIW there seems to be a lone mention of something

Re: [PATCH] net: qrtr: Stop rx_worker before freeing node

2019-09-21 Thread Jakub Kicinski
On Wed, 18 Sep 2019 10:21:17 -0700, Bjorn Andersson wrote: > As the endpoint is unregistered there might still be work pending to > handle incoming messages, which will result in a use after free > scenario. The plan is to remove the rx_worker, but until then (and for > stable@) ensure that the

Re: [PATCH] drivers/net/fjes: fix a potential NULL pointer dereference

2019-09-21 Thread Jakub Kicinski
On Wed, 18 Sep 2019 22:03:15 +0530, Allen Pais wrote: > alloc_workqueue is not checked for errors and as a result, > a potential NULL dereference could occur. > > Signed-off-by: Allen Pais If I'm looking at this right you are jumping to err_free_netdev without setting the err variable. It must

Re: [PATCH net v3] net/phy: fix DP83865 10 Mbps HDX loopback disable function

2019-09-21 Thread Jakub Kicinski
On Wed, 18 Sep 2019 19:27:55 +0300, Peter Mamonov wrote: > According to the DP83865 datasheet "the 10 Mbps HDX loopback can be > disabled in the expanded memory register 0x1C0.1". The driver erroneously > used bit 0 instead of bit 1. > > Fixes: 4621bf129856 ("phy: Add file missed in previous

[GIT PULL] MIPS changes

2019-09-21 Thread Paul Burton
Hi Linus, Here are the main MIPS changes for v5.4; please pull. My apologies that this is arriving at the end of the week; a combination of travel & discovering a MIPS32 page table handling issue later than would have been ideal delayed things. There are a number of minor merge conflicts with

Re: [PATCH] ocxl: Use the correct style for SPDX License Identifier

2019-09-21 Thread Andrew Donnellan
On 20/9/19 6:18 pm, Nishad Kamdar wrote: This patch corrects the SPDX License Identifier style in header files for Open Coherent Accelerator (OCXL) compatible device drivers. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++

Re: build_path_from_dentry_optional_prefix() may schedule from invalid context

2019-09-21 Thread Al Viro
On Thu, Sep 19, 2019 at 05:11:54PM -0700, Pavel Shilovsky wrote: > Good catch. I think we should have another version of > build_path_from_dentry() which takes pre-allocated (probably on stack) > full_path as an argument. This would allow us to avoid allocations > under the spin lock. On

Re: [GIT PULL] ext4 updates for 5.4

2019-09-21 Thread pr-tracker-bot
The pull request you sent on Thu, 19 Sep 2019 16:56:41 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git > tags/ext4_for_linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/70cb0d02b58128db07fc39b5e87a2873e2c16bde Thank you! -- Deet-doot-dot,

Re: [GIT PULL] f2fs for 5.4

2019-09-21 Thread pr-tracker-bot
The pull request you sent on Fri, 20 Sep 2019 13:01:07 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git > tags/f2fs-for-5.4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/fbc246a12aac27f7b25a37f9398bb3bc552cec92 Thank you! -- Deet-doot-dot,

Re: [PATCH 4.19 32/79] fpga: altera-ps-spi: Fix getting of optional confd gpio

2019-09-21 Thread Pavel Machek
Hi! > Currently the driver does not handle EPROBE_DEFER for the confd gpio. > Use devm_gpiod_get_optional() instead of devm_gpiod_get() and return > error codes from altera_ps_probe(). > @@ -265,10 +265,13 @@ static int altera_ps_probe(struct spi_device *spi) > return

Re: [PATCH 2/2] soc: ti: move 2 driver config options into the TI SOC drivers menu

2019-09-21 Thread Randy Dunlap
Hi Santosh, Would you also pick up patch 2/2, which I didn't Cc: you on?:( Do I need to resend it? Thanks. On 9/19/19 3:33 PM, Randy Dunlap wrote: > From: Randy Dunlap > > Move the AM654 and J721E SOC config options inside the "TI SOC drivers" > menu with the other TI SOC drivers. > >

Re: [PATCH 4.19 10/79] udp: correct reuseport selection with connected sockets

2019-09-21 Thread Pavel Machek
On Fri 2019-09-20 00:02:55, Greg Kroah-Hartman wrote: > From: Willem de Bruijn > > [ Upstream commit acdcecc61285faed359f1a3568c32089cc3a8329 ] > > UDP reuseport groups can hold a mix unconnected and connected sockets. > Ensure that connections only receive all traffic to their 4-tuple. > >

Re: [PATCH 4.19 03/79] RDMA/restrack: Release task struct which was hold by CM_ID object

2019-09-21 Thread Pavel Machek
Hi! > commit ed7a01fd3fd77f40b4ef2562b966a5decd8928d2 upstream. > > Tracking CM_ID resource is performed in two stages: creation of cm_id > and connecting it to the cma_dev. It is needed because rdma-cm protocol > exports two separate user-visible calls rdma_create_id and > rdma_accept. ...

Re: [PATCH] net: dsa: Use the correct style for SPDX License Identifier

2019-09-21 Thread Florian Fainelli
On 9/21/2019 6:45 AM, Nishad Kamdar wrote: > This patch corrects the SPDX License Identifier style > in header file for Distributed Switch Architecture drivers. > For C header files Documentation/process/license-rules.rst > mandates C-like comments (opposed to C source files where > C++ style

Re: [PATCH] net: dsa: b53: Use the correct style for SPDX License Identifier

2019-09-21 Thread Florian Fainelli
On 9/21/2019 6:30 AM, Nishad Kamdar wrote: > This patch corrects the SPDX License Identifier style > in header file for Broadcom BCM53xx managed switch driver. > For C header files Documentation/process/license-rules.rst > mandates C-like comments (opposed to C source files where > C++ style

Re: [for-next][PATCH 3/8] tracing: Make sure variable reference alias has correct var_ref_idx

2019-09-21 Thread Sasha Levin
On Sat, Sep 21, 2019 at 08:20:35AM -0400, Steven Rostedt wrote: On Sat, 21 Sep 2019 12:06:18 + Sasha Levin wrote: Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: . The bot has tested the following trees: v5.2.16,

Re: [PATCH 3.16 114/132] ALSA: usb-audio: Fix a stack buffer overflow bug in check_input_term

2019-09-21 Thread Ben Hutchings
On Fri, 2019-09-20 at 21:26 -0400, Hui Peng wrote: > I want to confirm the patches. > > Which version of GCC do you use to compile 3.16? > > I tried gcc-4.8, it seems that the built kernel can not be boot by qemu. [...] For my own limited testing, I build for x86 with gcc 4.9. Debian's

Re: [PATCH] dt-bindings: net: dwmac: fix 'mac-mode' type

2019-09-21 Thread Jakub Kicinski
On Fri, 20 Sep 2019 20:02:58 -0700, Florian Fainelli wrote: > On 9/20/2019 6:11 PM, Jakub Kicinski wrote: > > On Tue, 17 Sep 2019 13:30:52 +0300, Alexandru Ardelean wrote: > >> The 'mac-mode' property is similar to 'phy-mode' and 'phy-connection-type', > >> which are enums of mode strings. > >>

Re: [PATCH v5 1/1] platform/x86/intel_cht_int33fe: Split code to USB Micro-B and Type-C variants

2019-09-21 Thread Hans de Goede
Hi, On 21-09-2019 00:33, Yauhen Kharuzhy wrote: Existing intel_cht_int33fe ACPI pseudo-device driver assumes that hardware has Type-C connector and register related devices described as I2C connections in the _CRS resource. There is at least one hardware (Lenovo Yoga Book YB1-91L/F) with

Re: [GIT PULL] MTD updates for 5.4-rc1

2019-09-21 Thread pr-tracker-bot
The pull request you sent on Sat, 21 Sep 2019 09:36:35 +0200 (CEST): > git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/for-5.4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4553d469d6f88028f185de57e771dd29aba10d90 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] libnvdimm for 5.4

2019-09-21 Thread pr-tracker-bot
The pull request you sent on Fri, 20 Sep 2019 16:57:31 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm > tags/libnvdimm-for-5.4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6cb2e9ee51b5f1539f027346a02904e282b87d4d Thank you! --

Re: [PATCH v2] iio: imu: adis16400: fix memory leak

2019-09-21 Thread Jonathan Cameron
On Fri, 20 Sep 2019 06:46:05 + "Ardelean, Alexandru" wrote: > On Thu, 2019-09-19 at 10:56 -0500, Navid Emamdoost wrote: > > In adis_update_scan_mode_burst, if adis->buffer allocation fails release > > the adis->xfer. > > > > v2: set adis->xfer = NULL to avoid any potential double free. > >

Re: [GIT PULL] UML updates for 5.4-rc1

2019-09-21 Thread pr-tracker-bot
The pull request you sent on Sat, 21 Sep 2019 09:36:39 +0200 (CEST): > git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git > tags/for-linus-5.4-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9dca3432ee063b70a4cfb3f0857d0aeef7b84fa8 Thank you! --

Re: [GIT PULL] first round of SCSI updates for the 5.3+ merge window

2019-09-21 Thread pr-tracker-bot
The pull request you sent on Thu, 19 Sep 2019 15:47:29 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-misc has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/10fd71780f7d155f4e35fecfad0ebd4a725a244b Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] UBI/UBIFS/JFFS2 updates for 5.4-rc1

2019-09-21 Thread pr-tracker-bot
The pull request you sent on Sat, 21 Sep 2019 09:36:42 +0200 (CEST): > git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git > tags/upstream-5.4-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/104c0d6bc43e10ba84931c45b67e2c76c9c67f68 Thank you! --

Re: [PATCH v2] iio: imu: adis16400: release allocated memory on failure

2019-09-21 Thread Jonathan Cameron
On Fri, 20 Sep 2019 06:46:37 + "Ardelean, Alexandru" wrote: > On Thu, 2019-09-19 at 10:50 -0500, Navid Emamdoost wrote: > > In adis_update_scan_mode, if allocation for adis->buffer fails, > > previously allocated adis->xfer needs to be released. > > > > v2: added adis->xfer = NULL to avoid

Re: [PATCH v8 6/9] leds: multicolor: Introduce a multicolor class definition

2019-09-21 Thread Jacek Anaszewski
Dan, One more remark below. On 9/20/19 7:41 PM, Dan Murphy wrote: > Introduce a multicolor class that groups colored LEDs > within a LED node. > > The framework allows for dynamically setting individual LEDs > or setting brightness levels of LEDs and updating them virtually > simultaneously. >

Re: [PATCH v8 9/9] leds: Update the lp55xx to use the multi color framework

2019-09-21 Thread Jacek Anaszewski
Dan, On 9/20/19 7:41 PM, Dan Murphy wrote: > Update the lp5523 to use the multi color framework. > > Signed-off-by: Dan Murphy > --- > drivers/leds/leds-lp5523.c| 13 +++ > drivers/leds/leds-lp55xx-common.c | 131 ++ >

Re: [PATCH] iio: adc: stm32-adc: fix kernel-doc warnings

2019-09-21 Thread Jonathan Cameron
On Fri, 20 Sep 2019 13:50:06 +0200 Fabrice Gasnier wrote: > Fix the following warnings when documentation is built: > drivers/iio/adc/stm32-adc-core.c:62: warning: cannot understand function > prototype: 'struct stm32_adc_common_regs ' > drivers/iio/adc/stm32-adc-core.c:78: warning: cannot

Re: [PATCH v2 2/2] iio: adc: stm32-adc: fix a race when using several adcs with dma and irq

2019-09-21 Thread Jonathan Cameron
On Tue, 17 Sep 2019 14:38:16 +0200 Fabrice Gasnier wrote: > End of conversion may be handled by using IRQ or DMA. There may be a > race when two conversions complete at the same time on several ADCs. > EOC can be read as 'set' for several ADCs, with: > - an ADC configured to use IRQs. EOCIE bit

Re: KASAN: use-after-free Read in rxrpc_release_call

2019-09-21 Thread syzbot
syzbot has bisected this bug to: commit 2baec2c3f854d1f79c7bb28386484e144e864a14 Author: David Howells Date: Wed May 24 16:02:32 2017 + rxrpc: Support network namespacing bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=16240b0960 start commit: f97c81dc Merge tag

Re: [GIT PULL] Please pull RDMA subsystem changes

2019-09-21 Thread pr-tracker-bot
The pull request you sent on Thu, 19 Sep 2019 16:34:46 +: > git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/018c6837f3e63b45163d55a1668d9f8e6fdecf6e Thank you! -- Deet-doot-dot, I am a

Re: bringing back media/zoran driver

2019-09-21 Thread Laurent Pinchart
Hi Corentin, On Sat, Sep 21, 2019 at 07:03:57PM +0200, Corentin Labbe wrote: > hello > > I am the owner of a zoran based DC10+ card. > I am in the need of using it since yesterday and I found that its driver was > removed. > > Reverting the removing patch made to a temporary working situation.

Re: bringing back media/zoran driver

2019-09-21 Thread Mauro Carvalho Chehab
Em Sat, 21 Sep 2019 19:03:57 +0200 Corentin Labbe escreveu: > hello > > I am the owner of a zoran based DC10+ card. > I am in the need of using it since yesterday and I found that its driver was > removed. > > Reverting the removing patch made to a temporary working situation. > > If I

drivers/net/wireless/mediatek/mt76/mt7615/mac.c:18:10: note: in expansion of macro 'FIELD_GET'

2019-09-21 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master head: f97c81dc6ca5996560b3944064f63fc87eb18d00 commit: bf92e76851009e6bf082db9e9de9b0ab9320cf26 mt76: mt7615: add support for per-chain signal strength reporting date: 3 months ago config:

Re: [GIT PULL] compiler-attributes for v5.4

2019-09-21 Thread pr-tracker-bot
The pull request you sent on Thu, 19 Sep 2019 23:54:21 +0200: > https://github.com/ojeda/linux.git tags/compiler-attributes-for-linus-v5.4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/227c3e9eb5cf3552c2cc83225df6d14adb05f8e8 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] gcc-plugins update for v5.4-rc1

2019-09-21 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 14:44:54 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git > tags/gcc-plugins-v5.4-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/56c631f5aec35117b0b5862a09a447a72dfbd678 Thank you! --

Re: [GIT PULL] printk for 5.4

2019-09-21 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 13:24:31 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk > tags/printk-for-5.4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/56c1e8343494f0a315c99964ea1a952478394a8d Thank you! -- Deet-doot-dot,

Re: [PATCH] mm: slub: print_hex_dump() with DUMP_PREFIX_OFFSET

2019-09-21 Thread cl
On Sat, 21 Sep 2019, David Rientjes wrote: > I agree it looks nicer for poisoning, I'm not sure that every caller of > print_section() is the same, however. For example trace() seems better > off as DUMP_PREFIX_ADDRESS since it already specifies the address of the > object being allocated or

Re: [RFC] microoptimizing hlist_add_{before,behind}

2019-09-21 Thread Linus Torvalds
On Fri, Sep 20, 2019 at 8:11 PM Al Viro wrote: > > My apologies ;-/ Correct diff follows: This is similar to what we do for the regular list_add(), so I have no objections to the micro-optimization. Of course, for list_add() we do it by using a helper function and passing those prev/next

[PATCH] EDAC: BlueField: Use devm_platform_ioremap_resource() in bluefield_edac_mc_probe()

2019-09-21 Thread Markus Elfring
From: Markus Elfring Date: Sat, 21 Sep 2019 18:56:54 +0200 Simplify this function implementation by using a known wrapper function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/edac/bluefield_edac.c | 7 +-- 1 file changed, 1

bringing back media/zoran driver

2019-09-21 Thread Corentin Labbe
hello I am the owner of a zoran based DC10+ card. I am in the need of using it since yesterday and I found that its driver was removed. Reverting the removing patch made to a temporary working situation. If I understand correctly, it was removed due to lack of vb2 convertion. If I am able to

[RFT v3 6/8] ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos5250

2019-09-21 Thread Krzysztof Kozlowski
Multi Core Timer node has interrupts routed to two different parents - GIC and combiner. This was modeled with a interrupt-map within a subnode but can be expressed in an easier and more common way, directly in the node itself. Signed-off-by: Krzysztof Kozlowski --- Not tested. ---

[PATCH v3 3/8] arm64: dts: exynos: Rename Multi Core Timer node to "timer"

2019-09-21 Thread Krzysztof Kozlowski
The device node name should reflect generic class of a device so rename the Multi Core Timer node from "mct" to "timer". This will be also in sync with upcoming DT schema. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 2 +- 1 file

[PATCH v3 8/8] ARM: dts: exynos: Use defines for MCT interrupt GIC SPI/PPI specifier

2019-09-21 Thread Krzysztof Kozlowski
Replace hard-coded number with appropriate define for GIC SPI or PPI specifier in interrupt. This makes code easier to read. No expected functionality change. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4210.dtsi | 8 arch/arm/boot/dts/exynos4412.dtsi | 4 ++--

[RFT v3 4/8] ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos4210

2019-09-21 Thread Krzysztof Kozlowski
Multi Core Timer node has interrupts routed to two different parents - GIC and combiner. This was modeled with a interrupt-map within a subnode but can be expressed in an easier and more common way, directly in the node itself. Signed-off-by: Krzysztof Kozlowski --- Not tested. ---

[PATCH v3 1/8] dt-bindings: timer: Convert Exynos MCT bindings to json-schema

2019-09-21 Thread Krzysztof Kozlowski
Convert Samsung Exynos Soc Multi Core Timer bindings to DT schema format using json-schema. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Indent example with four spaces (more readable), 2. Rename nodes in example to timer, 3. Remove mct-map subnode. ---

[RFT v3 5/8] ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos4412

2019-09-21 Thread Krzysztof Kozlowski
Multi Core Timer node has interrupts routed to two different parents - GIC and combiner. This was modeled with a interrupt-map within a subnode but can be expressed in an easier and more common way, directly in the node itself. Tested on Odroid U3 (Exynos4412). Signed-off-by: Krzysztof

[RFT v3 7/8] ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos54xx

2019-09-21 Thread Krzysztof Kozlowski
Multi Core Timer node has interrupts routed to two different parents - GIC and combiner. This was modeled with a interrupt-map within a subnode but can be expressed in an easier and more common way, directly in the node itself. Tested on Odroid XU (Exynos5410), Odroid HC1 (Exynos5422) and

[PATCH v3 2/8] ARM: dts: exynos: Rename Multi Core Timer node to "timer"

2019-09-21 Thread Krzysztof Kozlowski
The device node name should reflect generic class of a device so rename the Multi Core Timer node from "mct" to "timer". This will be also in sync with upcoming DT schema. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250.dtsi | 2 +-

[GIT PULL] rpmsg updates for v5.4

2019-09-21 Thread Bjorn Andersson
The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc tags/rpmsg-v5.4 for you to fetch changes up to

[GIT PULL] remoteproc updates for v5.4

2019-09-21 Thread Bjorn Andersson
Hi Linus, I've finally moved my trees to kernel.org, please pull this and the coming rpmsg request from their new location. Regards, Bjorn The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git

[PATCH] EDAC: Aspeed: Use devm_platform_ioremap_resource() in aspeed_probe()

2019-09-21 Thread Markus Elfring
From: Markus Elfring Date: Sat, 21 Sep 2019 18:32:46 +0200 Simplify this function implementation by using a known wrapper function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/edac/aspeed_edac.c | 7 +-- 1 file changed, 1

Re: INFO: task hung in p9_fd_close

2019-09-21 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:f97c81dc Merge tag 'armsoc-late' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=171a155560 kernel config:

Re: [GIT PULL] libnvdimm for 5.4

2019-09-21 Thread Dan Williams
On Fri, Sep 20, 2019 at 4:57 PM Dan Williams wrote: > > Hi Linus, please pull from: > > git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm > tags/libnvdimm-for-5.4 > > ...to receive some reworks to better support nvdimms on powerpc and an > nvdimm security interface update. Btw, minor

Re: [PATCH v4 1/3] led: make led_set_brightness_sync() use led_set_brightness_nosleep()

2019-09-21 Thread kbuild test robot
Hi Jean-Jacques, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to

Re: [PATCH] net: dsa: b53: Use the correct style for SPDX License Identifier

2019-09-21 Thread Vivien Didelot
On Sat, 21 Sep 2019 19:00:16 +0530, Nishad Kamdar wrote: > This patch corrects the SPDX License Identifier style > in header file for Broadcom BCM53xx managed switch driver. > For C header files Documentation/process/license-rules.rst > mandates C-like comments (opposed to C source files where >

Re: [PATCH] net: dsa: Use the correct style for SPDX License Identifier

2019-09-21 Thread Vivien Didelot
On Sat, 21 Sep 2019 19:15:25 +0530, Nishad Kamdar wrote: > This patch corrects the SPDX License Identifier style > in header file for Distributed Switch Architecture drivers. > For C header files Documentation/process/license-rules.rst > mandates C-like comments (opposed to C source files where

Re: [PATCH] mm: slub: print_hex_dump() with DUMP_PREFIX_OFFSET

2019-09-21 Thread Matthew Wilcox
On Sat, Sep 21, 2019 at 02:08:59AM -0700, David Rientjes wrote: > On Fri, 20 Sep 2019, Miles Chen wrote: > > > Since commit ad67b74d2469d9b8 ("printk: hash addresses printed with %p"), > > The use DUMP_PREFIX_OFFSET instead of DUMP_PREFIX_ADDRESS with > > print_hex_dump() can generate more useful

[PATCH] EDAC: Armada XP: Use devm_platform_ioremap_resource() in two functions

2019-09-21 Thread Markus Elfring
From: Markus Elfring Date: Sat, 21 Sep 2019 17:50:17 +0200 Simplify these function implementations by using a known function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/edac/armada_xp_edac.c | 18 ++ 1 file changed, 2

Re: [PATCH v3 2/2] usb: typec: tcpm: AMS for PD2.0

2019-09-21 Thread kbuild test robot
Hi Kyle, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [cannot apply to v5.3 next-20190919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify

Re: [PATCH V3 2/2] mm/pgtable/debug: Add test validating architecture page table helpers

2019-09-21 Thread kbuild test robot
Hi Anshuman, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify

WARNING: locking bug in selinux_netlbl_socket_connect

2019-09-21 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f97c81dc Merge tag 'armsoc-late' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=127b709d60 kernel config: https://syzkaller.appspot.com/x/.config?x=10283c2b00ab4cd7

Re: [PATCH v7 8/9] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-09-21 Thread kbuild test robot
Hi Dan, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base

Re: [PATCH v7 9/9] leds: Update the lp55xx to use the multi color framework

2019-09-21 Thread kbuild test robot
Hi Dan, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base

Re: [PATCH] jffs2:freely allocate memory when parameters are invalid

2019-09-21 Thread Richard Weinberger
Tao, - Ursprüngliche Mail - > Von: "Hou Tao" > In Huawei we use jffs2 broadly in our products to support filesystem on raw > NOR flash and NAND flash, so fixing the bugs in jffs2 means a lot to us. > > Although I have not read all of jffs2 code thoroughly, I had find and "fixed" > some

Re: [PATCH v7 9/9] leds: Update the lp55xx to use the multi color framework

2019-09-21 Thread lkp
Hi Dan, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base

Re: [PATCH v8 3/3] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-21 Thread Matthew Wilcox
On Sat, Sep 21, 2019 at 09:50:54PM +0800, Jia He wrote: > When we tested pmdk unit test [1] vmmalloc_fork TEST1 in arm64 guest, there > will be a double page fault in __copy_from_user_inatomic of cow_user_page. > > Below call trace is from arm64 do_page_fault for debugging purpose > [

Re: [PATCH v3 1/2] edac: Add an API for edac device to report for multiple errors

2019-09-21 Thread kbuild test robot
Hi Hanna, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [cannot apply to v5.3 next-20190919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to

[PATCH 5/6] ARM: dts: meson8: add the DDR clock controller

2019-09-21 Thread Martin Blumenstingl
Add the DDR clock controller and pass it's DDR_CLKID_DDR_PLL to the main (HHI) clock controller as "ddr_clk". The "ddr_clk" is used as one of the inputs for the audio clock muxes. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8.dtsi | 13 +++-- 1 file changed, 11

[PATCH 6/6] ARM: dts: meson8b: add the DDR clock controller

2019-09-21 Thread Martin Blumenstingl
Add the DDR clock controller and pass it's DDR_CLKID_DDR_PLL to the main (HHI) clock controller as "ddr_clk". The "ddr_clk" is used as one of the inputs for the audio clock muxes. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b.dtsi | 13 +++-- 1 file changed, 11

[PATCH 3/6] clk: meson: meson8b: use of_clk_hw_register to register the clocks

2019-09-21 Thread Martin Blumenstingl
Switch from clk_hw_register to of_clk_hw_register so we can use clk_parent_data.fw_name. This will be used to get the "xtal", "ddr_pll" and possibly others from the .dtb. Signed-off-by: Martin Blumenstingl --- drivers/clk/meson/meson8b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 1/6] dt-bindings: clock: add the Amlogic Meson8 DDR clock controller binding

2019-09-21 Thread Martin Blumenstingl
Amlogic Meson8, Meson8b and Meson8m2 SoCs have a DDR clock controller in the MMCBUS registers. There is no public documentation on this, but the GPL u-boot sources from the Amlogic BSP show that: - it uses the same XTAL input as the main clock controller - it contains a PLL which seems to be

[PATCH 2/6] clk: meson: add a driver for the Meson8/8b/8m2 DDR clock controller

2019-09-21 Thread Martin Blumenstingl
The Meson8/Meson8b/Meson8m2 SoCs embed a DDR clock controller in the MMCBUS registers. There is no public documentation, but the u-boot GPL sources from the Amlogic BSP show that the DDR clock controller is identical on all three SoCs: #define CFG_DDR_CLK 792 #define CFG_PLL_M

[PATCH 0/6] add the DDR clock controller on Meson8 and Meson8b

2019-09-21 Thread Martin Blumenstingl
Meson8 and Meson8b SoCs embed a DDR clock controller in their MMCBUS registers. This series: - adds support for this DDR clock controller (patches 0 and 1) - wires up the DDR PLL as input for two audio clocks (patches 2 and 3) - adds the DDR clock controller to meson8.dtsi and meson8b.dtsi

[PATCH 4/6] clk: meson: meson8b: add the ddr_pll input for the audio clocks

2019-09-21 Thread Martin Blumenstingl
The two audio muxes cts_amclk_sel and cts_mclk_i958_sel use ddr_pll as input at index 0. Update the muxes to use clk_parent_data and add "ddr_pll" as input using clk_parent_data.fw_name because the DDR clock controller is actually separate from the main clock controller. Signed-off-by: Martin

Re: [PATCH v8 7/9] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2019-09-21 Thread Jacek Anaszewski
Dan, On 9/20/19 7:41 PM, Dan Murphy wrote: > Introduce the bindings for the Texas Instruments LP5036, LP5030, LP5024, > LP5018, LP5012 and LP5009 RGB LED device driver. The LP5036/30/24/18/12/9 > can control RGB LEDs individually or as part of a control bank group. > These devices have the

Re: [PATCH 5/5] lib/math: remove int_pow()

2019-09-21 Thread kbuild test robot
Hi Rasmus, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190918] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the

[PATCH 3/5] clk: meson: meson8b: change references to the XTAL clock to use the name

2019-09-21 Thread Martin Blumenstingl
The XTAL clock is an actual crystal which is mounted on the PCB. Thus the meson8b clock controller driver should not provide the XTAL clock. The meson8b clock controller driver must not use references to the meson8b_xtal clock anymore before we can provide the XTAL clock via OF. Replace the

[PATCH 4/5] clk: meson: meson8b: don't register the XTAL clock when provided via OF

2019-09-21 Thread Martin Blumenstingl
The XTAL clock is an actual crystal on the PCB. Thus the meson8b clock driver should not register the XTAL clock - instead it should be provided via .dts and then passed to the clock controller. Skip the registration of the XTAL clock if a parent clock is provided via OF. Fall back to registering

[PATCH 2/5] clk: meson: meson8b: use clk_hw_set_parent in the CPU clock notifier

2019-09-21 Thread Martin Blumenstingl
Switch from clk_set_parent() to clk_hw_set_parent() now that we have a way to configure a mux clock based on clk_hw pointers. This simplifies the meson8b_cpu_clk_notifier_cb logic. No functional changes. Signed-off-by: Martin Blumenstingl --- drivers/clk/meson/meson8b.c | 21

[PATCH 0/5] provide the XTAL clock via OF on Meson8/8b/8m2

2019-09-21 Thread Martin Blumenstingl
So far the HHI clock controller has been providing the XTAL clock on Amlogic Meson8/Meson8b/Meson8m2 SoCs. This is not correct because the XTAL is actually a crystal on the boards and the SoC has a dedicated input for it. This updates the dt-bindings of the HHI clock controller and defines a

[PATCH 5/5] ARM: dts: meson: provide the XTAL clock using a fixed-clock

2019-09-21 Thread Martin Blumenstingl
The clock controller driver has provided the XTAL clock so far. This does not match how the hardware actually works because the XTAL clock is an actual crystal which is mounted on the PCB. Add the "xtal" clock to meson.dtsi and replace all references to the clock controller's CLKID_XTAL with the

[PATCH 1/5] dt-bindings: clock: meson8b: add the clock inputs

2019-09-21 Thread Martin Blumenstingl
The clock controller on Meson8/Meson8b/Meson8m2 has three (known) inputs: - "xtal": the main 24MHz crystal - "ddr_pll": some of the audio clocks use the output of the DDR PLL as input - "clk_32k": an optional clock signal which can be connected to GPIOAO_6 (which then has to be switched to the

Re: [PATCH v8 8/9] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-09-21 Thread Jacek Anaszewski
Dan, On 9/20/19 7:41 PM, Dan Murphy wrote: > Introduce the LP5036/30/24/18/12/9 RGB LED driver. > The difference in these parts are the number of > LED outputs where the: > > LP5036 can control 36 LEDs > LP5030 can control 30 LEDs > LP5024 can control 24 LEDs > LP5018 can control 18 LEDs >

Re: [PATCH v2 1/3] dmaengine: imx-sdma: fix buffer ownership

2019-09-21 Thread kbuild test robot
Hi Philipp, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190918] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify

  1   2   >