[PATCH] kbuild: remove SUBDIRS support

2019-09-21 Thread Masahiro Yamada
Linux 5.3 was released. Remove the SUBDIRS support. Signed-off-by: Masahiro Yamada --- Makefile | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index 88b180b2cb64..6206cd358411 100644 --- a/Makefile +++ b/Makefile @@ -206,24 +206,8 @

Re: [0/2] net: dsa: vsc73xx: Adjustments for vsc73xx_platform_probe()

2019-09-21 Thread Markus Elfring
> Indeed, looks like we have a mix of clean ups of varying clarity here. > I will just drop all, including the devm_platform_ioremap_resource() > conversion patches from patchwork for now. I would prefer an other patch management in this case. > Markus, please repost them all once net-next opens

Re: [PATCH] tty:vt: Add check the return value of kzalloc to avoid oops

2019-09-21 Thread Xiaoming Ni
On 2019/9/20 14:04, Greg KH wrote: > On Thu, Sep 19, 2019 at 10:56:15PM -0400, Nicolas Pitre wrote: >> On Thu, 19 Sep 2019, Greg KH wrote: >> >>> On Thu, Sep 19, 2019 at 05:18:15PM +0800, Xiaoming Ni wrote: Using kzalloc() to allocate memory in function con_init(), but not checking the

RE: [PATCH 1/3] hv_utils: Add the support of hibernation

2019-09-21 Thread Dexuan Cui
> From: Vitaly Kuznetsov > Sent: Thursday, September 19, 2019 3:28 AM > > Dexuan Cui writes: > > > BTW, for vss, maybe the VM should not hibernate if there is a backup > > ongoing? -- if the file system is frozen by hv_vss_daemon, and the VM > > hibernates, then when the VM resumes back, it's a

[GIT PULL] UML updates for 5.4-rc1

2019-09-21 Thread Richard Weinberger
Linus, The following changes since commit 089cf7f6ecb266b6a4164919a2e69bd2f938374a: Linux 5.3-rc7 (2019-09-02 09:57:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git tags/for-linus-5.4-rc1 for you to fetch changes up to 73625ed66389

[GIT PULL] MTD updates for 5.4-rc1

2019-09-21 Thread Richard Weinberger
Linus, The following changes since commit 089cf7f6ecb266b6a4164919a2e69bd2f938374a: Linux 5.3-rc7 (2019-09-02 09:57:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/for-5.4 for you to fetch changes up to 2cfcfadb8e138093

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

2019-09-21 Thread Richard Weinberger
Linus, The following changes since commit 089cf7f6ecb266b6a4164919a2e69bd2f938374a: Linux 5.3-rc7 (2019-09-02 09:57:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git tags/upstream-5.4-rc1 for you to fetch changes up to 6a379f67454

Re: [PATCH] objtool: bump function name limit to 256 characters

2019-09-21 Thread Alexey Dobriyan
On Fri, Sep 20, 2019 at 02:40:35PM -0500, Josh Poimboeuf wrote: > On Fri, Sep 20, 2019 at 09:25:03PM +0300, Alexey Dobriyan wrote: > > Fix the following warning: > > > > net/core/devlink.o: warning: objtool: > > _ZL31devlink_nl_sb_tc_pool_bind_fillP7sk_buffP7devlinkP12devlink_portP10devlink_sbt20

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

2019-09-21 Thread David Rientjes
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 messages. > > In the following example, it's easier get the offset of inc

[PATCH] rtc: fsl-ftm-alarm: Use devm_platform_ioremap_resource() in ftm_rtc_probe()

2019-09-21 Thread Markus Elfring
From: Markus Elfring Date: Sat, 21 Sep 2019 11:49:01 +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/rtc/rtc-fsl-ftm-alarm.c | 9 + 1 file changed, 1 inse

Re: [PATCH v7 02/21] RISC-V: Add bitmap reprensenting ISA features common across CPUs

2019-09-21 Thread Paul Walmsley
Hi Anup, Thanks for changing this to use a bitmap. A few comments below - On Wed, 4 Sep 2019, Anup Patel wrote: > This patch adds riscv_isa bitmap which represents Host ISA features > common across all Host CPUs. The riscv_isa is not same as elf_hwcap > because elf_hwcap will only have ISA feat

Re: [PATCH] riscv: resolve most warnings from sparse

2019-09-21 Thread Paul Walmsley
Hi Christoph, On Thu, 19 Sep 2019, Christoph Hellwig wrote: > On Thu, Sep 19, 2019 at 01:26:38AM -0700, Paul Walmsley wrote: > > > > Resolve most of the warnings emitted by sparse. The objective here is > > to keep arch/riscv as clean as possible with regards to sparse warnings, > > and to main

[PATCH] staging: speakup: document sysfs attributes

2019-09-21 Thread Okash Khawaja
Speakup exposes a set of sysfs attributes under /sys/accessibility/speakup/ for user-space to interact with and configure speakup's kernel modules. This patch describes those attributes. Some attributes either lack a description or contain incomplete description. They are marked wit TODO. Authored

[PATCH] rtc: goldfish: Use devm_platform_ioremap_resource() in goldfish_rtc_probe()

2019-09-21 Thread Markus Elfring
From: Markus Elfring Date: Sat, 21 Sep 2019 12:20:11 +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/rtc/rtc-goldfish.c | 8 +--- 1 file changed, 1 insertion(

Re: [PATCH v8 1/9] leds: multicolor: Add sysfs interface definition

2019-09-21 Thread Jacek Anaszewski
Dan, On 9/20/19 7:41 PM, Dan Murphy wrote: > Add a documentation of LED Multicolor LED class specific > sysfs attributes. > > Signed-off-by: Dan Murphy > --- > .../ABI/testing/sysfs-class-led-multicolor| 43 +++ > 1 file changed, 43 insertions(+) > create mode 100644 Docume

r__.sallm Salif,___.,

2019-09-21 Thread Mr.sallm S_a_l_i_f.,
Good Day I am Mr.sallm Salif,, a regional managing director (CORIS BANK INTERNATIONAL) Ouagadougou Burkina Faso, in my department we have US$9,500. million united state dollars, to transfer into your account as a dormant fund.If you are interested to use this fund to help the orphans arou

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

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=110c16a160 kernel config: https://syzkaller.appspot.com/x/.config?x=61f948

[PATCH V2] arm64: psci: Reduce waiting time of cpu_psci_cpu_kill()

2019-09-21 Thread Yunfeng Ye
If psci_ops.affinity_info() fails, it will sleep 10ms, which will not take so long in the right case. Use usleep_range() instead of msleep(), reduce the waiting time, and give a chance to busy wait before sleep. Signed-off-by: Yunfeng Ye --- V1->V2: - use usleep_range() instead of udelay() after

[PATCH] rtc: m48t86: Use devm_platform_ioremap_resource() in m48t86_rtc_probe()

2019-09-21 Thread Markus Elfring
From: Markus Elfring Date: Sat, 21 Sep 2019 13:13:35 +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/rtc/rtc-m48t86.c | 11 ++- 1 file changed, 2 insertio

[PATCH] gen-insn-attr-x86.awk: Fix regexp warnings

2019-09-21 Thread Alexander Kapshuk
This patch fixes the regexp warnings shown below: GEN /home/sasha/torvalds/tools/objtool/arch/x86/lib/inat-tables.c awk: ../arch/x86/tools/gen-insn-attr-x86.awk:260: warning: regexp escape sequence `\:' is not a known regexp operator awk: ../arch/x86/tools/gen-insn-attr-x86.awk:350: (FILEN

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

2019-09-21 Thread 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 --- drivers/rtc/rtc-r7301.c | 7 +-- 1 file changed, 1 insertion(+),

Re: [PATCH] ieee802154: mcr20a: simplify a bit 'mcr20a_handle_rx_read_buf_complete()'

2019-09-21 Thread Stefan Schmidt
Hello Xue. On 20.09.19 21:45, Christophe JAILLET wrote: > Use a 'skb_put_data()' variant instead of rewritting it. > The __skb_put_data variant is safe here. It is obvious that the skb can > not overflow. It has just been allocated a few lines above with the same > 'len'. > > Signed-off-by: Chris

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

2019-09-21 Thread Steven Rostedt
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, v4.19.74, v4.14.145, > v4.9.193, v4.4.193. The fixes ta

[PATCH] spi: lantiq-ssc: Use devm_platform_ioremap_resource() in lantiq_ssc_probe()

2019-09-21 Thread Markus Elfring
From: Markus Elfring Date: Sat, 21 Sep 2019 14:16:49 +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/spi/spi-lantiq-ssc.c | 10 +- 1 file changed, 1 inser

Re: [PATCH v8 2/9] documention: leds: Add multicolor class documentation

2019-09-21 Thread Jacek Anaszewski
Dan, On 9/20/19 7:41 PM, Dan Murphy wrote: > Add the support documentation on the multicolor LED framework. > This document defines the directores and file generated by the Now there will be one directory created. Apart from that - all documentation should go in the same patch as the feature bei

[PATCH 05/10] tools arch x86: Sync asm/cpufeatures.h with the kernel sources

2019-09-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To pick up the changes from: b4dd4f6e3648 ("x86/vmware: Add a header file for hypercall definitions") f36cf386e3fe ("x86/speculation/swapgs: Exclude ATOMs from speculation through SWAPGS") be261ffce6f1 ("x86: Remove X86_FEATURE_MFENCE_RDTSC") 018ebca8bd70

[GIT PULL] perf/urgent fixes

2019-09-21 Thread Arnaldo Carvalho de Melo
/scm/linux/kernel/git/acme/linux into perf/urgent (2019-09-20 18:16:42 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-5.4-20190921 for you to fetch changes up to 9f014e3a66bc936412b6614304a4e6c70c70230e:

[PATCH 01/10] perf tests: Fix static build test

2019-09-21 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Disable the potentional shared library features, which breaks static build if they are enabled and detected: jvmti and vdso libraries. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Michael Petlan Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lore.kern

[PATCH 03/10] tools uapi asm-generic: Sync unistd.h with the kernel sources

2019-09-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To pick the change from: 78e05972c5e6 ("ipc: fix semtimedop for generic 32-bit architectures") Which doesn't trigger any change in tooling and silences this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/asm-generic/unistd.h' differs f

[PATCH 02/10] tools headers uapi: Sync prctl.h with the kernel sources

2019-09-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: 63f0c6037965 ("arm64: Introduce prctl() options to control the tagged user addresses ABI") that introduces prctl options that then automagically gets catched by the prctl cmd table generator, and thus supported in the 'perf trace' prctl b

[PATCH 04/10] tools arch x86 uapi: Synch asm/unistd.h with the kernel sources

2019-09-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To pick up the change in: 45e29d119e99 ("x86/syscalls: Make __X32_SYSCALL_BIT be unsigned long") That doesn't trigger any changes in tooling and silences this perf build warning: Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/unistd.h' differ

[PATCH] spi: mediatek: Use devm_platform_ioremap_resource() in mtk_spi_probe()

2019-09-21 Thread Markus Elfring
From: Markus Elfring Date: Sat, 21 Sep 2019 14:45:40 +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/spi/spi-mt65xx.c | 11 +-- 1 file changed, 1 insertio

Re: [PATCH v8 3/9] dt: bindings: Add multicolor class dt bindings documention

2019-09-21 Thread Jacek Anaszewski
Dan, On 9/20/19 7:41 PM, Dan Murphy wrote: > Add DT bindings for the LEDs multicolor class framework. > > Signed-off-by: Dan Murphy > --- > .../bindings/leds/leds-class-multicolor.txt | 95 +++ > 1 file changed, 95 insertions(+) > create mode 100644 > Documentation/devicetre

Re: [PATCH v8 4/9] dt-bindings: leds: Add multicolor ID to the color ID list

2019-09-21 Thread Jacek Anaszewski
Dan, On 9/20/19 7:41 PM, Dan Murphy wrote: > Add a new color ID that is declared as MULTICOLOR as with the > multicolor framework declaring a definitive color is not accurate > as the node can contain multiple colors. > > Signed-off-by: Dan Murphy > --- > include/dt-bindings/leds/common.h | 3 +

Re: [PATCH v8 5/9] leds: Add multicolor ID to the color ID list

2019-09-21 Thread Jacek Anaszewski
Dan, On 9/20/19 7:41 PM, Dan Murphy wrote: > Add a new color ID that is declared as MULTICOLOR as with the > multicolor framework declaring a definitive color is not accurate > as the node can contain multiple colors. > > Signed-off-by: Dan Murphy > --- > drivers/leds/led-core.c | 1 + > 1 file

[PATCH] arm: export memblock_reserve()d regions via /proc/iomem

2019-09-21 Thread Yu Chen
From: Yu Chen memblock reserved regions are not reported via /proc/iomem on ARM, kexec's user-space doesn't know about memblock_reserve()d regions and thus possible for kexec to overwrite with the new kernel or initrd. [    0.00] Booting Linux on physical CPU 0xf00 [    0.00] Linux versi

[PATCH] arm64: dts: rockchip: fix Rockpro64 RK808 interrupt line

2019-09-21 Thread Hugh Cole-Baker
Fix the pinctrl and interrupt specifier for RK808 to use GPIO3_B2. On the Rockpro64 schematic [1] page 16, it shows GPIO3_B2 used for the interrupt line PMIC_INT_L from the RK808, and there's a note which translates as: "PMU termination GPIO1_C5 changed to this". Tested by setting an RTC wakealarm

[PATCH] kbuild: update comment about KBUILD_ALLDIRS

2019-09-21 Thread Masahiro Yamada
Commit 000ec95fbe75 ("kbuild: pkg: rename scripts/package/Makefile to scripts/Makefile.package") missed to update this comment. Fixes: 000ec95fbe75 ("kbuild: pkg: rename scripts/package/Makefile to scripts/Makefile.package") Signed-off-by: Masahiro Yamada --- Makefile | 2 +- 1 file changed, 1

[PATCH] spi: mediatek: Use devm_platform_ioremap_resource() in mtk_spi_slave_probe()

2019-09-21 Thread Markus Elfring
From: Markus Elfring Date: Sat, 21 Sep 2019 15:12:33 +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/spi/spi-slave-mt27xx.c | 12 +--- 1 file changed, 1 i

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

2019-09-21 Thread Jia He
[On behalf of justin...@arm.com] Hi Matthew On 2019/9/20 23:53, Matthew Wilcox wrote: On Fri, Sep 20, 2019 at 09:54:37PM +0800, Jia He wrote: -static inline void cow_user_page(struct page *dst, struct page *src, unsigned long va, struct vm_area_struct *vma) +static inline int cow_user_page(st

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

2019-09-21 Thread Jacek Anaszewski
Dan, 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. Let's update this to the c

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

2019-09-21 Thread Nishad Kamdar
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 should be used) Changes made by using a script provided by

[PATCH] spi: xtensa-xtfpga: Use devm_platform_ioremap_resource() in xtfpga_spi_probe()

2019-09-21 Thread Markus Elfring
From: Markus Elfring Date: Sat, 21 Sep 2019 15:35:08 +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/spi/spi-xtensa-xtfpga.c | 10 +- 1 file changed, 1 in

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

2019-09-21 Thread Nishad Kamdar
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 should be used) Changes made by using a script provided b

[PATCH] netfilter: use __u8 instead of uint8_t in uapi header

2019-09-21 Thread Masahiro Yamada
When CONFIG_UAPI_HEADER_TEST=y, exported headers are compile-tested to make sure they can be included from user-space. Currently, linux/netfilter_bridge/ebtables.h is excluded from the test coverage. To make it join the compile-test, we need to fix the build errors attached below. For a case like

[PATCH v8 2/3] arm64: mm: implement arch_faults_on_old_pte() on arm64

2019-09-21 Thread Jia He
On arm64 without hardware Access Flag, copying fromuser will fail because the pte is old and cannot be marked young. So we always end up with zeroed page after fork() + CoW for pfn mappings. we don't always have a hardware-managed access flag on arm64. Hence implement arch_faults_on_old_pte on arm

[PATCH v8 1/3] arm64: cpufeature: introduce helper cpu_has_hw_af()

2019-09-21 Thread Jia He
We unconditionally set the HW_AFDBM capability and only enable it on CPUs which really have the feature. But sometimes we need to know whether this cpu has the capability of HW AF. So decouple AF from DBM by new helper cpu_has_hw_af(). Reported-by: kbuild test robot Suggested-by: Suzuki Poulose

[PATCH v8 0/3] fix double page fault on arm64

2019-09-21 Thread Jia He
When we tested pmdk unit test vmmalloc_fork TEST1 in arm64 guest, there will be a double page fault in __copy_from_user_inatomic of cow_user_page. As told by Catalin: "On arm64 without hardware Access Flag, copying from user will fail because the pte is old and cannot be marked young. So we always

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

2019-09-21 Thread Jia He
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 [ 110.016195] Call trace: [ 110.016826] do_page_fault+0x5a4/0x690 [ 110.0178

Re: [PATCH v1 2/2] drm/bridge: anx7625: Add anx7625 MIPI to DP bridge driver

2019-09-21 Thread kbuild test robot
Hi Xin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING 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 t

[PATCH] drm/bridge: anx7625: fix platform_no_drv_owner.cocci warnings

2019-09-21 Thread kbuild test robot
From: kbuild test robot drivers/gpu/drm/bridge/analogix/anx7625.c:2070:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Fixes: a6c1b1bd5c95 ("drm/bridge: anx

Re: [PATCH 1/1] sched/eas: introduce system-wide overutil indicator

2019-09-21 Thread kbuild test robot
Hi YT, 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 base

Re: [PATCH v3 1/3] mmc: Add MMC software queue support

2019-09-21 Thread kbuild test robot
Hi Baolin, I love your 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 base t

Re: [PATCH] arm: export memblock_reserve()d regions via /proc/iomem

2019-09-21 Thread Russell King - ARM Linux admin
On Sat, Sep 21, 2019 at 09:02:49PM +0800, Yu Chen wrote: > From: Yu Chen > > memblock reserved regions are not reported via /proc/iomem on ARM, kexec's > user-space doesn't know about memblock_reserve()d regions and thus > possible for kexec to overwrite with the new kernel or initrd. Many reser

Re: Re: [PATCH 0/9] added helper macros to remove duplicate code from probe functions of the platform drivers

2019-09-21 Thread Satendra Singh Thakur
On Wed, Sep 18, 2019 at 3:57 PM, Vinod Koul wrote: > On 15-09-19, 12:30, Satendra Singh Thakur wrote: > > 1. For most of the platform drivers's probe include following steps > > > > -memory allocation for driver's private structure > > -getting io resources > > -io remapping resources > > -getting

[PATCH 1/1] clk: meson: gxbb: let sar_adc_clk_div set the parent clock rate

2019-09-21 Thread Martin Blumenstingl
The meson-saradc driver manually sets the input clock for sar_adc_clk_sel. Update the GXBB clock driver (which is used on GXBB, GXL and GXM) so the rate settings on sar_adc_clk_div are propagated up to sar_adc_clk_sel which will let the common clock framework select the best matching parent clock i

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 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 > LP5012

[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 n

[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

[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 fixed

[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 refere

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 abilit

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 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 Special

[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 Blum

[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 (((CFG_DDR_CLK/12

[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 insertio

[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 inserti

[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(-) dif

[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 implem

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 specify

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 > [ 110.016195]

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 tree

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 b

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 tree

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 tree

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 da

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 th

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

[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 in

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

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] 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 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 specif

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: 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: https://syzkaller.appspot.com/x/.config?x=61f948

[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 insertion(+

[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 repositor

[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 9fe69a725e238ac

[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 +- arch/arm/boot/dts/e

[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. --- arch/arm/b

[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. --- .../bindings/timer/samsun

[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 Kozlowski

[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 Arndale

[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 ++-- ar

[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 cha

[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. --- arch/arm/b

  1   2   >