Re: linux-next: Tree for Oct 23

2019-10-22 Thread Shaokun Zhang
Hi Geert, On 2019/10/23 14:44, Geert Uytterhoeven wrote: > On Wed, Oct 23, 2019 at 8:17 AM Shaokun Zhang > wrote: >> +Cc: Mark Salyzyn >> >> There is a compiler failure on arm64 platform, as follow: >> zhangshaokun@ubuntu:~/linux-next$ make -j64 >> CALLscripts/atomic/check-atomics.sh >> C

Re: linux-next: Tree for Oct 23

2019-10-22 Thread Randy Dunlap
On 10/22/19 11:44 PM, Geert Uytterhoeven wrote: > On Wed, Oct 23, 2019 at 8:17 AM Shaokun Zhang > wrote: >> +Cc: Mark Salyzyn >> >> There is a compiler failure on arm64 platform, as follow: >> zhangshaokun@ubuntu:~/linux-next$ make -j64 >> CALLscripts/atomic/check-atomics.sh >> CC arc

INFORMATIONEN

2019-10-22 Thread Aisha Al-Qaddafi
Sehr geehrter Herr / Frau, Bitte verzeihen Sie mir, wenn meine Anfrage von Ihrer freundlichen Person nicht akzeptiert wird. Ich bin Aisha Al-Qaddafi; Ich bin die einzige leibliche Tochter meines verstorbenen Vaters (Oberst Muammar Gaddafi, der der frühere libysche Präsident war). Ich bitte um Ih

Re: [PATCH] media: dt-bindings: media: Fixup Allwinner A10 CSI binding

2019-10-22 Thread Maxime Ripard
Hi Rob, On Tue, Oct 22, 2019 at 11:17:35AM -0500, Rob Herring wrote: > On Mon, Oct 7, 2019 at 5:48 AM Maxime Ripard wrote: > > > > On Mon, Oct 07, 2019 at 03:45:29PM +0530, Amit Kucheria wrote: > > > On Mon, Oct 7, 2019 at 3:35 PM Maxime Ripard wrote: > > > > > > > > On Sat, Oct 05, 2019 at 04:1

Re: [PATCH 1/2] mm: memcontrol: remove dead code from memory_max_write()

2019-10-22 Thread Michal Hocko
On Tue 22-10-19 16:15:17, Johannes Weiner wrote: > When the reclaim loop in memory_max_write() is ^C'd or similar, we set > err to -EINTR. But we don't return err. Once the limit is set, we > always return success (nbytes). Delete the dead code. > > Signed-off-by: Johannes Weiner Acked-by: Micha

Re: [PATCH v3 1/6] perf cs-etm: Fix unsigned variable comparison to zero

2019-10-22 Thread Leo Yan
Hi Mike, On Wed, Oct 23, 2019 at 12:36:39AM +0100, Mike Leach wrote: > Hi Leo, > > Two points here - both related. > > On Tue, 22 Oct 2019 at 06:10, Leo Yan wrote: > > > > Hi Mathieu, > > > > On Fri, Oct 11, 2019 at 02:16:06PM -0600, Mathieu Poirier wrote: > > > On Sat, Oct 05, 2019 at 05:16:09

Re: [PATCH v2 2/2] RISC-V: defconfig: Enable Goldfish RTC driver

2019-10-22 Thread Paul Walmsley
On Wed, 23 Oct 2019, Anup Patel wrote: > On Wed, Oct 23, 2019 at 11:30 AM Paul Walmsley > wrote: > > > Is drivers/platform/goldfish/goldfish_pipe.c required for the Goldfish RTC > > driver or not? > > No, it's not required. > > > If not, then the first patch that was sent isn't the right fix.

Re: [PATCH 1/2] arm64: dts: imx8mm: Remove duplicated machine compatible

2019-10-22 Thread Daniel Baluta
On Wed, 2019-10-23 at 14:34 +0800, Anson Huang wrote: > Machine compatible string normally is located in board DT, remove > the duplicated one from SoC dtsi. > > Signed-off-by: Anson Huang Reviewed-by: Daniel Baluta > --- > arch/arm64/boot/dts/freescale/imx8mm.dtsi | 1 - > 1 file changed, 1

Re: [PATCH 2/2] arm64: dts: imx8mn: Remove duplicated machine compatible

2019-10-22 Thread Daniel Baluta
On Wed, 2019-10-23 at 14:34 +0800, Anson Huang wrote: > Machine compatible string normally is located in board DT, remove > the duplicated one from SoC dtsi. > > Signed-off-by: Anson Huang Reviewed-by: Daniel Baluta > --- > arch/arm64/boot/dts/freescale/imx8mn.dtsi | 1 - > 1 file changed, 1

Re: linux-next: Tree for Oct 23

2019-10-22 Thread Geert Uytterhoeven
On Wed, Oct 23, 2019 at 8:17 AM Shaokun Zhang wrote: > +Cc: Mark Salyzyn > > There is a compiler failure on arm64 platform, as follow: > zhangshaokun@ubuntu:~/linux-next$ make -j64 > CALLscripts/atomic/check-atomics.sh > CC arch/arm64/kernel/asm-offsets.s > In file included from ./inc

Re: [PATCH] mm: memcontrol: fix network errors from failing __GFP_ATOMIC charges

2019-10-22 Thread Michal Hocko
On Tue 22-10-19 19:37:08, Johannes Weiner wrote: > While upgrading from 4.16 to 5.2, we noticed these allocation errors > in the log of the new kernel: > > [ 8642.253395] SLUB: Unable to allocate memory on node -1, > gfp=0xa20(GFP_ATOMIC) > [ 8642.269170] cache: tw_sock_TCPv6(960:helper-logs),

Re: [PATCH v14 4/5] overlayfs: internal getxattr operations without sepolicy checking

2019-10-22 Thread Amir Goldstein
On Tue, Oct 22, 2019 at 11:46 PM Mark Salyzyn wrote: > > Check impure, opaque, origin & meta xattr with no sepolicy audit > (using __vfs_getxattr) since these operations are internal to > overlayfs operations and do not disclose any data. This became > an issue for credential override off since s

Re: [RFC 2/2] vhost: IFC VF vdpa layer

2019-10-22 Thread Jason Wang
On 2019/10/23 下午2:19, Zhu, Lingshan wrote: On 10/22/2019 9:05 PM, Jason Wang wrote: On 2019/10/22 下午2:53, Zhu Lingshan wrote: On 10/21/2019 6:19 PM, Jason Wang wrote: On 2019/10/21 下午5:53, Zhu, Lingshan wrote: On 10/16/2019 6:19 PM, Jason Wang wrote: On 2019/10/16 上午9:30, Zhu Lingsha

[PATCH 1/2] arm64: dts: imx8mm: Remove duplicated machine compatible

2019-10-22 Thread Anson Huang
Machine compatible string normally is located in board DT, remove the duplicated one from SoC dtsi. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freesca

[PATCH 2/2] arm64: dts: imx8mn: Remove duplicated machine compatible

2019-10-22 Thread Anson Huang
Machine compatible string normally is located in board DT, remove the duplicated one from SoC dtsi. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freesca

[PATCH] dmaengine: sprd: Add wrap address support for link-list mode

2019-10-22 Thread Baolin Wang
From: Eric Long The Spreadtrum Audio compress offload mode will use 2-stage DMA transfer to save power. That means we can request 2 dma channels, one for source channel, and another one for destination channel. Once the source channel's transaction is done, it will trigger the destination channel

[PATCH] ASoC: mediatek: Check SND_SOC_CROS_EC_CODEC dependency

2019-10-22 Thread Mao Wenan
If SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A=y, below errors can be seen: sound/soc/codecs/cros_ec_codec.o: In function `send_ec_host_command': cros_ec_codec.c:(.text+0x534): undefined reference to `cros_ec_cmd_xfer_status' cros_ec_codec.c:(.text+0x101c): undefined reference to `cros_ec_get_host_eve

[PATCH v2 3/3] drm/virtio: factor out virtio_gpu_update_dumb_bo

2019-10-22 Thread Gerd Hoffmann
No functional change. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_plane.c | 36 +++--- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_plane.c b/drivers/gpu/drm/virtio/virtgpu_plane.c index 0b5a760bc293..bc4b

[PATCH v2 1/3] drm/virtio: fix byteorder handling in virtio_gpu_cmd_transfer_{from,to}_host_3d functions

2019-10-22 Thread Gerd Hoffmann
Be consistent with the rest of the code base. No functional change. v2: - fix sparse warnings for virtio_gpu_cmd_transfer_to_host_2d call. - move convert_to_hw_box helper function. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_drv.h | 5 +++-- drivers/gpu/drm/virtio/virtg

[PATCH -next] virtiofs: remove unused variable 'fc'

2019-10-22 Thread YueHaibing
fs/fuse/virtio_fs.c:983:20: warning: variable fc set but not used [-Wunused-but-set-variable] It is not used since commit 7ee1e2e631db ("virtiofs: No need to check fpq->connected state") Signed-off-by: YueHaibing --- fs/fuse/virtio_fs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/f

Re: [PATCH] ASoC: fsl_asrc: refine the setting of internal clock divider

2019-10-22 Thread S.j. Wang
Hi > > On Thu, Oct 17, 2019 at 02:21:08PM +0800, Shengjiu Wang wrote: > > For P2P output, the output divider should align with the output sample > > I think we should avoid "P2P" (or "M2M") keyword in the mainline code as > we know M2M will never get merged while somebody working with the > mainl

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

2019-10-22 Thread Joel Stanley
On Sat, 21 Sep 2019 at 16:47, Markus Elfring wrote: > > 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 Acked

Re: [RFC 2/2] vhost: IFC VF vdpa layer

2019-10-22 Thread Zhu, Lingshan
On 10/22/2019 9:05 PM, Jason Wang wrote: On 2019/10/22 下午2:53, Zhu Lingshan wrote: On 10/21/2019 6:19 PM, Jason Wang wrote: On 2019/10/21 下午5:53, Zhu, Lingshan wrote: On 10/16/2019 6:19 PM, Jason Wang wrote: On 2019/10/16 上午9:30, Zhu Lingshan wrote: This commit introduced IFC VF opera

Re: [PATCH] mm/vmstat: Reduce zone lock hold time when reading /proc/pagetypeinfo

2019-10-22 Thread Michal Hocko
On Tue 22-10-19 14:59:02, Andrew Morton wrote: > On Tue, 22 Oct 2019 12:21:56 -0400 Waiman Long wrote: [...] > > - for (mtype = 0; mtype < MIGRATE_TYPES; mtype++) { > > - seq_printf(m, "Node %4d, zone %8s, type %12s ", > > - pgdat->node_id, > > -

Re: [PATCH v2 2/2] RISC-V: defconfig: Enable Goldfish RTC driver

2019-10-22 Thread Anup Patel
On Wed, Oct 23, 2019 at 11:30 AM Paul Walmsley wrote: > > On Wed, 23 Oct 2019, Anup Patel wrote: > > > On Wed, Oct 23, 2019 at 6:37 AM Paul Walmsley > > wrote: > > > > > Incidentally, just looking at drivers/platform/goldfish, that driver seems > > > to be some sort of Google-specific RPC driver

Re: linux-next: Tree for Oct 23

2019-10-22 Thread Shaokun Zhang
). Thanks, Shaokun On 2019/10/23 12:55, Stephen Rothwell wrote: > Hi all, > > Changes since 20191022: > > Non-merge commits (relative to Linus' tree): 5530 > 5340 files changed, 192671 insertions(+), 90844 deletions(-) > >

Re: [PATCH v2 2/2] RISC-V: defconfig: Enable Goldfish RTC driver

2019-10-22 Thread Paul Walmsley
On Wed, 23 Oct 2019, Anup Patel wrote: > On Wed, Oct 23, 2019 at 6:37 AM Paul Walmsley > wrote: > > > Incidentally, just looking at drivers/platform/goldfish, that driver seems > > to be some sort of Google-specific RPC driver. Are you all really sure > > Nopes, it's not RPC driver. In fact,

RE: [EXT] Re: [next, v2] dmaengine: fsl-dpaa2-qdma: export the symbols

2019-10-22 Thread Peng Ma
>-Original Message- >From: Vinod Koul >Sent: 2019年10月23日 13:09 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >anders.rox...@linaro.org; linux-kernel@vger.kernel.org; >dmaeng...@vger.kernel.org >Subject: [EXT] Re: [next, v2] dmaengine: fsl-dpaa2-qdma: export the symbols > >Caution

[PATCH 1/1] staging: exfat: Update MAINTAINERS file

2019-10-22 Thread Valdis Kletnieks
Add a L: tag so get_maintainers.pl output includes the linux-fsdevel list Signed-off-by: Valdis Kletnieks --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3d09efe69508..188435ae 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6186,6 +6186,7 @

Re: linux-next: Tree for Oct 14 (insn_decoder_test)

2019-10-22 Thread Masami Hiramatsu
Hi, On Mon, 14 Oct 2019 08:30:02 -0700 Randy Dunlap wrote: > On 10/13/19 11:47 PM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20191011: > > > > on x86_64: > > HOSTCC arch/x86/tools/insn_decoder_test > HOSTCC arch/x86/tools/insn_sanity > TESTposttest > arch/x86/tool

Re: [PATCH v3 5/8] riscv: mark some code and data as file-static

2019-10-22 Thread Greentime Hu
Paul Walmsley 於 2019年10月19日 週六 下午3:58寫道: > > Several functions and arrays which are only used in the files in which > they are declared are missing "static" qualifiers. Warnings for these > symbols are reported by sparse: > > arch/riscv/kernel/stacktrace.c:22:14: warning: symbol 'walk_stackframe'

Re: [PATCH v2] vhost: introduce mdev based hardware backend

2019-10-22 Thread Jason Wang
On 2019/10/23 上午11:02, Tiwei Bie wrote: On Tue, Oct 22, 2019 at 09:30:16PM +0800, Jason Wang wrote: On 2019/10/22 下午5:52, Tiwei Bie wrote: This patch introduces a mdev based hardware vhost backend. This backend is built on top of the same abstraction used in virtio-mdev and provides a generic

Re: [PATCH v2 04/11] dt-bindings: phy-mtk-tphy: add a new reference clock

2019-10-22 Thread Kishon Vijay Abraham I
Hi Rob, On 18/09/19 1:58 AM, Rob Herring wrote: > On Fri, 30 Aug 2019 15:14:51 +0800, Chunfeng Yun wrote: >> Usually the digital and analog phys use the same reference clock, >> but on some platforms, they are separated, so add another optional >> clock to support it. >> In order to keep the clock

Re: [PATCH] rtlwifi: Remove unnecessary NULL check in rtl_regd_init

2019-10-22 Thread Pkshih
On Tue, 2019-10-22 at 17:47 -0700, Nathan Chancellor wrote: > When building with Clang + -Wtautological-pointer-compare: > > drivers/net/wireless/realtek/rtlwifi/regd.c:389:33: warning: comparison > of address of 'rtlpriv->regd' equal to a null pointer is always false > [-Wtautological-pointer-com

Re: [PATCH 3/3] phy: ti: j721e-wiz: Manage typec-gpio-dir

2019-10-22 Thread Jyri Sarha
On 22/10/2019 16:22, Roger Quadros wrote: > Based on this GPIO state we need to configure LN10 > bit to swap lane0 and lane1 if required (flipped connector). > > Type-C companions typically need some time after the cable is > plugged before and before they reflect the correct status of > Type-C pl

Re: [PATCH] opp: of: drop incorrect lockdep_assert_held()

2019-10-22 Thread Viresh Kumar
On 10-10-19, 16:00, Viresh Kumar wrote: > _find_opp_of_np() doesn't traverse the list of OPP tables but instead > just the entries within an OPP table and so only requires to lock the > OPP table itself. > > The lockdep_assert_held() was added there by mistake and isn't really > required. > > Fix

[PATCH v1 1/1] scsi: ufs: Add command logging infrastructure

2019-10-22 Thread Can Guo
Add the necessary infrastructure to keep timestamp history of commands, events and other useful info for debugging complex issues. This helps in diagnosing events leading upto failure. Signed-off-by: Can Guo --- drivers/scsi/ufs/Kconfig | 12 +++ drivers/scsi/ufs/ufshcd.c | 214 +++

[PATCH 1/8] staging: exfat: Clean up namespace pollution, part 1

2019-10-22 Thread Valdis Kletnieks
Make as much as possible static. We're over-exuberant here for the benefit of a following patch, as the compiler will flag now-unused static code Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 156 ++--- drivers/staging/exfat/exfat_core.c | 142

[PATCH 6/8] staging: exfat: More static cleanups for exfat_core.c

2019-10-22 Thread Valdis Kletnieks
Move static function bodies before first use, remove the definition in exfat.h Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 6 - drivers/staging/exfat/exfat_core.c | 500 ++--- 2 files changed, 250 insertions(+), 256 deletions(-) diff --git

[PATCH 7/8] staging: exfat: Finished code movement for static cleanups in exfat_core.c

2019-10-22 Thread Valdis Kletnieks
Move static function bodies before first use, remove the definition in exfat.h Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 10 - drivers/staging/exfat/exfat_core.c | 661 ++--- 2 files changed, 330 insertions(+), 341 deletions(-) diff --git

[PATCH 4/8] staging: exfat: Cleanup static entries in exfat.h

2019-10-22 Thread Valdis Kletnieks
Many of the static definitions that remain are not needed, as the function definition is already before the first use. Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 53 --- 1 file changed, 53 deletions(-) diff --git a/drivers/staging/exfat/e

[PATCH 8/8] staging: exfat: Update TODO

2019-10-22 Thread Valdis Kletnieks
Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/TODO | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/drivers/staging/exfat/TODO b/drivers/staging/exfat/TODO index b60e50b9cf4e..110c30834bd2 100644 --- a/drivers/staging/exfat/TODO +++ b/drivers/s

[PATCH 5/8] staging: exfat: Clean up static definitions in exfat_cache.c

2019-10-22 Thread Valdis Kletnieks
Move static function bodies before first use, remove the definition in exfat.h Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 4 -- drivers/staging/exfat/exfat_cache.c | 94 +++-- 2 files changed, 48 insertions(+), 50 deletions(-) diff --git a

[PATCH 3/8] staging: exfat: Remove FAT/VFAT mount support, part 2

2019-10-22 Thread Valdis Kletnieks
Remove no longer referenced FAT/VFAT routines. Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 49 +- drivers/staging/exfat/exfat_core.c | 755 - 2 files changed, 2 insertions(+), 802 deletions(-) diff --git a/drivers/staging/exfat/exfat.h b

[PATCH 2/8] staging: exfat: Remove FAT/VFAT mount support, part 1

2019-10-22 Thread Valdis Kletnieks
Remove the top-level mount functionality, to make this driver handle only exfat file systems. Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/Kconfig | 9 -- drivers/staging/exfat/exfat.h | 2 - drivers/staging/exfat/exfat_core.c | 142 dri

[PATCH 0/8] staging: exfat: Code cleanups

2019-10-22 Thread Valdis Kletnieks
Two main goals here - remove the code to mount FAT and VFAT filesystes, and make a lot of functions static to reduce namespace pollution. Valdis Kletnieks (8): staging: exfat: Clean up namespace pollution, part 1 staging: exfat: Remove FAT/VFAT mount support, part 1 staging: exfat: Remove FA

Re: [PATCH] phy-mvebu-a3700-utmi: Use devm_platform_ioremap_resource() in mvebu_a3700_utmi_phy_probe()

2019-10-22 Thread Kishon Vijay Abraham I
On 26/09/19 9:50 PM, Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 26 Sep 2019 18:15:23 +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 merged, than

Re: [PATCH] namespace: fix namespace.pl script to support relative paths

2019-10-22 Thread Masahiro Yamada
On Tue, Oct 1, 2019 at 5:49 AM Keller, Jacob E wrote: > > > -Original Message- > > From: Masahiro Yamada [mailto:yamada.masah...@socionext.com] > > Sent: Saturday, September 28, 2019 5:21 PM > > To: Keller, Jacob E > > Cc: Randy Dunlap ; intel-wired-...@lists.osuosl.org; > > linux- > > k

Re: DMA: JZ4780: Add DMA driver for X1000.

2019-10-22 Thread Vinod Koul
On 23-10-19, 11:05, Zhou Yanjie wrote: > 1.Add the DMA bindings for the X1000 SoC from Ingenic. > 2.Add support for probing the dma-jz4780 driver on the > X1000 SoC from Ingenic. The subsystem in dmaengine and not dma Please resend with correct tags! Thanks -- ~Vinod

Re: [next, v2] dmaengine: fsl-dpaa2-qdma: export the symbols

2019-10-22 Thread Vinod Koul
On 23-10-19, 12:56, Peng Ma wrote: > The symbols were not exported leading to error: > > WARNING: modpost: missing MODULE_LICENSE() in > drivers/dma/fsl-dpaa2-qdma/dpdmai.o > see include/linux/module.h for more information > GZIParch/arm64/boot/Image.gz > ERROR: "dpdmai_enable" [drivers/dma/f

Re: [alsa-devel] KASAN: slab-out-of-bounds Read in parse_term_proc_unit

2019-10-22 Thread Takashi Iwai
#syz dup: KASAN: slab-out-of-bounds Read in build_audio_procunit

[next, v2] dmaengine: fsl-dpaa2-qdma: export the symbols

2019-10-22 Thread Peng Ma
The symbols were not exported leading to error: WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/fsl-dpaa2-qdma/dpdmai.o see include/linux/module.h for more information GZIParch/arm64/boot/Image.gz ERROR: "dpdmai_enable" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined! ERROR: "d

[BUGFIX PATCH v3 2/5] selftests: vm: Build/Run 64bit tests only on 64bit arch

2019-10-22 Thread Masami Hiramatsu
Some virtual address range tests requires 64bit address space, and we can not build and run those tests on the 32bit machine. Filter the 64bit architectures in Makefile and run_vmtests, so that those tests are built/run only on 64bit archs. Signed-off-by: Masami Hiramatsu Cc: Anshuman Khandual

[BUGFIX PATCH v3 4/5] selftests: net: Fix printf format warnings on arm

2019-10-22 Thread Masami Hiramatsu
Fix printf format warnings on arm (and other 32bit arch). - udpgso.c and udpgso_bench_tx use %lu for size_t but it should be unsigned long long on 32bit arch. - so_txtime.c uses %ld for int64_t, but it should be unsigned long long on 32bit arch. Signed-off-by: Masami Hiramatsu Cc: Wille

[BUGFIX PATCH v3 5/5] selftests: sync: Fix cast warnings on arm

2019-10-22 Thread Masami Hiramatsu
Fix warnings on __u64 and pointer translation on arm and other 32bit architectures. Since the pointer is 32bits on those archs, we should not directly cast those types. Signed-off-by: Masami Hiramatsu Cc: Emilio López --- tools/testing/selftests/sync/sync.c |6 +++--- 1 file changed, 3 inse

[BUGFIX PATCH v3 3/5] selftests: net: Use size_t and ssize_t for counting file size

2019-10-22 Thread Masami Hiramatsu
Use size_t and ssize_t correctly for counting send file size instead of unsigned long and long, because long is 32bit on 32bit arch, which is not enough for counting long file size (>4GB). Signed-off-by: Masami Hiramatsu Cc: Eric Dumazet Cc: David S. Miller --- tools/testing/selftests/net/tcp_

[BUGFIX PATCH v3 1/5] selftests: proc: Make va_max 1MB

2019-10-22 Thread Masami Hiramatsu
Currently proc-self-map-files-002.c sets va_max (max test address of user virtual address) to 4GB, but it is too big for 32bit arch and 1UL << 32 is overflow on 32bit long. Also since this value should be enough bigger than vm.mmap_min_addr (64KB or 32KB by default), 1MB should be enough. Make va_

[BUGFIX PATCH v3 0/5] selftests: Fixes for 32bit arch

2019-10-22 Thread Masami Hiramatsu
Hi, Here are the 3rd version of kselftest fixes some on 32bit arch (e.g. arm) In this version, I updated [1/5] to make va_max 1MB unconditionally according to Alexey's comment. When I built the ksefltest on arm, I hit some 32bit related warnings. Here are the patches to fix those issues. - [1

linux-next: Tree for Oct 23

2019-10-22 Thread Stephen Rothwell
Hi all, Changes since 20191022: Non-merge commits (relative to Linus' tree): 5530 5340 files changed, 192671 insertions(+), 90844 deletions(-) I have created today's linux-next tree at git://git.kernel.o

Re: [BUGFIX PATCH v2 1/5] selftests: proc: Make va_max 1GB on 32bit arch

2019-10-22 Thread Masami Hiramatsu
On Wed, 23 Oct 2019 10:56:18 +0900 Masami Hiramatsu wrote: > On Mon, 21 Oct 2019 20:30:53 +0300 > Alexey Dobriyan wrote: > > > On Mon, Oct 21, 2019 at 05:28:09PM +0900, Masami Hiramatsu wrote: > > > Currently proc-self-map-files-002.c sets va_max (max test address > > > of user virtual address)

Re: [PATCH] clocksource/drivers: Fix memory leak in ttc_setup_clockevent

2019-10-22 Thread Navid Emamdoost
Thanks for the feedback, I updated this patch and sent v2. Also, I submitted a patch to fix the error handling path in ttc_setup_clocksource(). Here is the link to it: https://lore.kernel.org/patchwork/patch/1143242/ On Tue, Oct 22, 2019 at 3:51 AM Michal Simek wrote: > > On 22. 10. 19 10:26, Mar

[PATCH] clocksource/drivers: Fix error handling in ttc_setup_clocksource

2019-10-22 Thread Navid Emamdoost
In the implementation of ttc_setup_clocksource() when clk_notifier_register() fails the execution should go to error handling. Additionally, to avoid memory leak the allocated memory for ttccs should be released, too. So, goto error handling to release the memory and return. Fixes: e932900a3279 ("

Re: [PATCH 1/2] configs: ARM: omap2plus: Enable OMAP3_THERMAL

2019-10-22 Thread H. Nikolaus Schaller
> Am 23.10.2019 um 00:19 schrieb Tony Lindgren : > > * Adam Ford [191022 19:01]: >> On Tue, Oct 22, 2019 at 11:22 AM Tony Lindgren wrote: >>> >>> Hi, >>> >>> * Adam Ford [191007 15:06]: The some in the OMAP3 family have a bandgap thermal sensor, but omap2plus has it disabled.

Re: KMSAN: uninit-value in build_audio_procunit

2019-10-22 Thread Takashi Iwai
#syz dup: KASAN: slab-out-of-bounds Read in build_audio_procunit The fix is on the way...

[PATCH v2] clocksource/drivers: Fix memory leak in ttc_setup_clockevent

2019-10-22 Thread Navid Emamdoost
In the implementation of ttc_setup_clockevent() release the allocated memory for ttcce if clk_notifier_register() fails. Fixes: 70504f311d4b ("clocksource/drivers/cadence_ttc: Convert init function to return error") Signed-off-by: Navid Emamdoost --- Changes in v2: - Added goto label for

Re: [PATCH] dmaengine: fsl-dpaa2-qdma: Fixed build error when enable dpaa2 qdma module driver

2019-10-22 Thread Vinod Koul
Hi Peng, On 23-10-19, 10:19, Peng Ma wrote: A patch title should detail the change it is doing so a better patch title would be: "dmaengine: fsl-dpaa2-qdma: export the symbols" > Fixed the following error: > WARNING: modpost: missing MODULE_LICENSE() in > drivers/dma/fsl-dpaa2-qdma/dpdmai.o > s

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-22 Thread Andy Lutomirski
On Tue, Oct 22, 2019 at 4:49 PM Alexei Starovoitov wrote: > > On Tue, Oct 22, 2019 at 03:45:26PM -0700, Andy Lutomirski wrote: > > > > > > >> On Oct 22, 2019, at 2:58 PM, Alexei Starovoitov > > >> wrote: > > >> > > >> On Tue, Oct 22, 2019 at 05:04:30PM -0400, Steven Rostedt wrote: > > >> I gave

[PATCH v1 1/2] scsi: ufs: Introduce a vops for resetting host controller

2019-10-22 Thread Can Guo
Some UFS host controllers need their specific implementations of resetting to get them into a good state. Provide a new vops to allow the platform driver to implement this own reset operation. Signed-off-by: Can Guo --- drivers/scsi/ufs/ufshcd.c | 16 drivers/scsi/ufs/ufshcd.h |

[PATCH v1 2/2] scsi: ufs-qcom: Add reset control support for host controller

2019-10-22 Thread Can Guo
Add reset control for host controller and provide it through vops to UFS core driver. Signed-off-by: Can Guo --- drivers/scsi/ufs/ufs-qcom.c | 43 +++ drivers/scsi/ufs/ufs-qcom.h | 3 +++ 2 files changed, 46 insertions(+) diff --git a/drivers/scsi/ufs/uf

Re: [PATCH 3/7] Add a UFFD_SECURE flag to the userfaultfd API.

2019-10-22 Thread Andy Lutomirski
Trying again. It looks like I used the wrong address for Pavel. On Sat, Oct 12, 2019 at 6:14 PM Andy Lutomirski wrote: > > [adding more people because this is going to be an ABI break, sigh] > > On Sat, Oct 12, 2019 at 5:52 PM Daniel Colascione wrote: > > > > On Sat, Oct 12, 2019 at 4:10 PM And

Re: dma coherent memory user-space maps

2019-10-22 Thread Christoph Hellwig
Sorry, but travel for meeting. I'll try to get to it as quick as I can.

Re: [PATCH v2 2/2] dt-bindings: iio: adc: Add DT docs for AD7292

2019-10-22 Thread Marcelo Schmitt
Hi Rob, OK, thanks for the explanation. I indeed missed some details from the documentation. I will be more careful on my next readings. I see there are other documentation files at Documentation/devicetree/ and Documentation/devicetree/bindings/. Besides these, would you recommend other documen

Re: [PATCH V2] usb: typec: Add sysfs node to show connector orientation

2019-10-22 Thread Puma Hsu
Hi Greg, On Wed, Oct 23, 2019 at 1:27 AM Greg KH wrote: > > On Tue, Oct 22, 2019 at 04:59:24PM +0800, Puma Hsu wrote: > > Export the Type-C connector orientation so that user space > > can get this information. > > > > Signed-off-by: Puma Hsu > > --- > > Documentation/ABI/testing/sysfs-class-t

Re: [RFC PATCH] cpufreq: mark duplicate frequencies as invalid and continue as normal

2019-10-22 Thread Viresh Kumar
On 22-10-19, 18:32, Sudeep Holla wrote: > Currently if we encounter duplicate frequency table entries, we abort > the validation and return error immediately. Instead of failing, we > can mark the entry as invalid and continue to function normal. > > Cc: "Rafael J. Wysocki" > Cc: Viresh Kumar >

Re: [PATCH v2 2/2] RISC-V: defconfig: Enable Goldfish RTC driver

2019-10-22 Thread Anup Patel
V tree. (It looks like drivers/platform/goldfish is completely > unmaintained - a red flag! - so probably someone needs to persuade Greg or > Andrew to take it.) GregKH has already queued this for Linux-5.5 and you can see this commit present in linux-next tree: https://git.kernel.org/pub/s

Re: [PATCH] cpufreq: s3c64xx: Remove pointless NULL check in s3c64xx_cpufreq_driver_init

2019-10-22 Thread Viresh Kumar
On 22-10-19, 17:09, Nathan Chancellor wrote: > When building with Clang + -Wtautological-pointer-compare: > > drivers/cpufreq/s3c64xx-cpufreq.c:152:6: warning: comparison of array > 's3c64xx_freq_table' equal to a null pointer is always false > [-Wtautological-pointer-compare] > if (s3c64x

Re: [PATCH v6 11/43] compat_ioctl: move drivers to compat_ptr_ioctl

2019-10-22 Thread Al Viro
On Tue, Oct 22, 2019 at 12:26:09PM +0200, Arnd Bergmann wrote: > On Tue, Oct 22, 2019 at 6:34 AM Al Viro wrote: > > > > On Wed, Oct 09, 2019 at 09:10:11PM +0200, Arnd Bergmann wrote: > > > Each of these drivers has a copy of the same trivial helper function to > > > convert the pointer argument an

Re: [PATCH v2] vhost: introduce mdev based hardware backend

2019-10-22 Thread Tiwei Bie
On Tue, Oct 22, 2019 at 09:30:16PM +0800, Jason Wang wrote: > On 2019/10/22 下午5:52, Tiwei Bie wrote: > > This patch introduces a mdev based hardware vhost backend. > > This backend is built on top of the same abstraction used > > in virtio-mdev and provides a generic vhost interface for > > userspa

[PATCH 1/2] dt-bindings: DMA: Add X1000 bindings.

2019-10-22 Thread Zhou Yanjie
Add the DMA bindings for the X1000 Soc from Ingenic. Signed-off-by: Zhou Yanjie --- .../devicetree/bindings/dma/jz4780-dma.txt | 3 +- include/dt-bindings/dma/x1000-dma.h| 40 ++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 inc

DMA: JZ4780: Add DMA driver for X1000.

2019-10-22 Thread Zhou Yanjie
1.Add the DMA bindings for the X1000 SoC from Ingenic. 2.Add support for probing the dma-jz4780 driver on the X1000 SoC from Ingenic.

[PATCH 2/2] DMA: JZ4780: Add support for the X1000.

2019-10-22 Thread Zhou Yanjie
Add support for probing the dma-jz4780 driver on the X1000 Soc. Signed-off-by: Zhou Yanjie --- drivers/dma/dma-jz4780.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/dma/dma-jz4780.c b/drivers/dma/dma-jz4780.c index 7fe9309..c7f1199 100644 --- a/drivers/dma/dma-jz4780.c +++

Re: [PATCH] hugetlbfs: add O_TMPFILE support

2019-10-22 Thread Mike Kravetz
On 10/22/19 12:09 AM, Piotr Sarna wrote: > On 10/21/19 7:17 PM, Mike Kravetz wrote: >> On 10/15/19 4:37 PM, Mike Kravetz wrote: >>> On 10/15/19 3:50 AM, Michal Hocko wrote: On Tue 15-10-19 11:01:12, Piotr Sarna wrote: > With hugetlbfs, a common pattern for mapping anonymous huge pages

答复: [PATCH] scripts: fix memleak error in read_file

2019-10-22 Thread linfeilong
On Tue, 22 Oct 2019 11:47:59 + linfeilong wrote: > >> An error is found by the static code analysis tool: "memleak" >> Fix this by add free before return. >> >> Signed-off-by: Feilong Lin >> --- >> scripts/insert-sys-cert.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/script

Re: [PATCH 4/5] tracing: Handle the trace array ref counter in new functions

2019-10-22 Thread Steven Rostedt
On Wed, 16 Oct 2019 16:42:02 -0700 Divya Indi wrote: > Hi Steve, > > Thanks again for taking the time to review and providing feedback. Please > find my comments inline. > > On 10/15/19 4:04 PM, Steven Rostedt wrote: > > Sorry for taking so long to getting to these patches. > > > > On Wed, 14

RE: [PATCH 0/7] towards QE support on ARM

2019-10-22 Thread Qiang Zhao
On 22/10/2019 18:18, Rasmus Villemoes wrote: > -Original Message- > From: Rasmus Villemoes > Sent: 2019年10月22日 18:18 > To: Qiang Zhao ; Leo Li > Cc: Timur Tabi ; Greg Kroah-Hartman > ; linux-kernel@vger.kernel.org; > linux-ser...@vger.kernel.org; Jiri Slaby ; > linuxppc-...@lists.ozlabs.

RE: [EXT] Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-10-22 Thread Peng Ma
Hi Anders, The fixed patch link as follows: https://lore.kernel.org/lkml/20191023021959.35596-1-peng...@nxp.com/ Please check it. Best Regards, Peng >-Original Message- >From: Anders Roxell >Sent: 2019年10月22日 19:11 >To: Peng Ma >Cc: Vinod Koul ; dan.j.willi...@intel.com; Leo Li >; linux

[PATCH v3 2/2] HID: google: Add of_match table to Whiskers switch device.

2019-10-22 Thread Ikjoon Jang
Add a device tree match table. Signed-off-by: Ikjoon Jang Reviewed-by: Dmitry Torokhov --- drivers/hid/hid-google-hammer.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/hid/hid-google-hammer.c b/drivers/hid/hid-google-hammer.c index 84f8c127ebdc..b726f8a15044 100644 --

[PATCH v3 1/2] dt-bindings: input: Add DT bindings for Whiskers switch

2019-10-22 Thread Ikjoon Jang
Add the DT binding document for Hammer's TABLET_MODE switch. Signed-off-by: Ikjoon Jang --- .../devicetree/bindings/input/cros-cbas.yaml | 22 +++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/cros-cbas.yaml diff --git a/Documentat

Re: Linux-next: 20191022: perf: bpf_helpers_doc.py: not found

2019-10-22 Thread Leo Yan
Hi Naresh, On Tue, Oct 22, 2019 at 09:04:04PM +0530, Naresh Kamboju wrote: > We have noticed perf (OE recipe) build failure on linux next 20191022. > do you see this failure ? > > /bin/sh: 1: perf/1.0-r9/perf-1.0/scripts/bpf_helpers_doc.py: not found > Makefile:184: re

Re: [PATCH -next] scsi: cxlflash: remove set but not used variable 'ioarcb'

2019-10-22 Thread Martin K. Petersen
YueHaibing, > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/scsi/cxlflash/main.c:47:22: warning: > variable ioarcb set but not used [-Wunused-but-set-variable] Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH v3 0/2] HID: google: add device tree bindings for

2019-10-22 Thread Ikjoon Jang
DT bindings for Whiskers swich device and its documentation. v3: dt bindings description changed v2: dropped a patch not relevant to DT bindings Ikjoon Jang (2): dt-bindings: input: Add DT bindings for Whiskers switch HID: google: Add of_match table to Whiskers switch device. .../devicetree

RE: [EXT] Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-10-22 Thread Peng Ma
Hi Vinod, >-Original Message- >From: Vinod Koul >Sent: 2019年10月23日 0:10 >To: Peng Ma >Cc: Anders Roxell ; dan.j.willi...@intel.com; Leo Li >; linux-kernel@vger.kernel.org; >dmaeng...@vger.kernel.org >Subject: Re: [EXT] Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the >DPDMAI(Data Path DMA

Re: [RFC PATCH v2 10/16] mm,hwpoison: Rework soft offline for free pages

2019-10-22 Thread Naoya Horiguchi
On Tue, Oct 22, 2019 at 12:33:25PM +0200, Oscar Salvador wrote: > On Tue, Oct 22, 2019 at 12:24:57PM +0200, Michal Hocko wrote: > > Yes, that makes a perfect sense. What I am saying that the migration > > (aka trying to recover) is the main and only difference. The soft > > offline should poison pa

Re: [PATCH v2] scsi: lpfc: Honor module parameter lpfc_use_adisc

2019-10-22 Thread Martin K. Petersen
Hi Daniel, > The initial lpfc_desc_set_adisc implementation dea3101e0a5c ("lpfc: > add Emulex FC driver version 8.0.28") enabled ADISC if Fixed up Hannes' email typo and applied to 5.4/scsi-fixes. Also, please run checkpatch next time. Thanks! -- Martin K. Petersen Oracle Linux Engineer

[PATCH] dmaengine: fsl-dpaa2-qdma: Fixed build error when enable dpaa2 qdma module driver

2019-10-22 Thread Peng Ma
Fixed the following error: WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/fsl-dpaa2-qdma/dpdmai.o see include/linux/module.h for more information GZIParch/arm64/boot/Image.gz ERROR: "dpdmai_enable" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined! ERROR: "dpdmai_set_rx_queue" [d

Re: [PATCH v2] usercopy: Avoid soft lockups in test_check_nonzero_user()

2019-10-22 Thread Michael Ellerman
Christian Brauner writes: > On Thu, Oct 17, 2019 at 09:00:48AM +1100, Michael Ellerman wrote: >> Christian Brauner writes: >> > On Wed, Oct 16, 2019 at 11:27:32PM +1100, Michael Ellerman wrote: >> >> On a machine with a 64K PAGE_SIZE, the nested for loops in >> >> test_check_nonzero_user() can le

Re: [RFC PATCH v2 10/16] mm,hwpoison: Rework soft offline for free pages

2019-10-22 Thread Naoya Horiguchi
On Tue, Oct 22, 2019 at 11:58:52AM +0200, Oscar Salvador wrote: > On Tue, Oct 22, 2019 at 11:22:56AM +0200, Michal Hocko wrote: > > Hmm, that might be a misunderstanding on my end. I thought that it is > > the MCE handler to say whether the failure is recoverable or not. If yes > > then we can touc

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-22 Thread Steven Rostedt
On Tue, 22 Oct 2019 18:17:40 -0400 Steven Rostedt wrote: > > your solution is to reduce the overhead. > > my solution is to remove it competely. See the difference? > > You're just trimming it down. I'm curious to what overhead you save by > not saving all parameter registers, and doing a case

[PATCH v2] cpuidle: not unset the driver if it already exist

2019-10-22 Thread Zhenzhong Duan
__cpuidle_set_driver() check if there is an already exist driver and unset it before return with -EBUSY. The next call will succeed as it's just unset. check if any of the CPUs in the mask have a driver different from drv already and if so return -EBUSY before updating any cpuidle_drivers per-CPU

[PATCH 0/3] perf: Allow running without stdin

2019-10-22 Thread Igor Lubashev
This series allows perf to run in batch mode with stdin closed. This is arguably a bug fix for code that runs with --stdio option and does not check for EOF return code from getc(). This series makes the following work as expected: $ perf top --stdio < /dev/null $ perf kvm top --stdio < /dev/

  1   2   3   4   5   6   7   8   9   >