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 >

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

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

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

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

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 >

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

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

[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

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

[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

[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

[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

[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

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,

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

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"

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:

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

[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

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

[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

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

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.org/pub/scm

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

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,

[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

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 >

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

[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

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

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

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

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
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/scm/li

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

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

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

[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

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

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

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

[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

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.

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

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

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

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

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

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

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

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

[PATCH 3/3] perf kvm: Use evlist layer api when possible

2019-10-22 Thread Igor Lubashev
No need for layer violations when a proper evlist api is available. Signed-off-by: Igor Lubashev --- tools/perf/builtin-kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c index 5217aa3596c7..340927c2b243 100644 ---

[PATCH 2/3] perf kvm: Allow running without stdin

2019-10-22 Thread Igor Lubashev
Allow perf kvm --stdio to run without access to stdin. This lets perf kvm to run in a batch mode until interrupted. The following now works as expected: $ perf kvm top --stdio < /dev/null Signed-off-by: Igor Lubashev --- tools/perf/builtin-kvm.c | 33 - 1

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

2019-10-22 Thread Masami Hiramatsu
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) to 4GB, but it is too big for 32bit > > arch and 1UL << 32 is overflow

[PATCH 1/3] perf top: Allow running without stdin

2019-10-22 Thread Igor Lubashev
Allow perf top --stdio to run without access to stdin. This lets perf top to run in a batch mode until interrupted. The following now works as expected: $ perf top < /dev/null Signed-off-by: Igor Lubashev --- tools/perf/builtin-top.c | 10 -- 1 file changed, 8 insertions(+), 2

[PATCH v1 1/2] scsi: ufs: export hibern8 entry and exit

2019-10-22 Thread Asutosh Das
Qualcomm controllers need to be in hibern8 before scaling up or down the clocks. Hence, export the hibern8 entry and exit functions. Signed-off-by: Asutosh Das --- drivers/scsi/ufs/ufshcd.c | 8 drivers/scsi/ufs/ufshcd.h | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff

[PATCH v1 2/2] scsi: ufs-qcom: enter and exit hibern8 during clock scaling

2019-10-22 Thread Asutosh Das
Qualcomm controller needs to be in hibern8 before scaling clocks. This change puts the controller in hibern8 state before scaling and brings it out after scaling of clocks. Signed-off-by: Asutosh Das --- drivers/scsi/ufs/ufs-qcom.c | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH v7 3/5] x86/kvm: Add "nopvspin" parameter to disable PV spinlocks

2019-10-22 Thread Zhenzhong Duan
On 2019/10/23 5:03, Sean Christopherson wrote: On Tue, Oct 22, 2019 at 08:46:46PM +0800, Zhenzhong Duan wrote: Hi Vitaly, On 2019/10/22 19:36, Vitaly Kuznetsov wrote: Zhenzhong Duan writes: ...snip diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index 249f14a..3945aa5

Re: [PATCH] mm: thp: handle page cache THP correctly in PageTransCompoundMap

2019-10-22 Thread Hugh Dickins
On Tue, 22 Oct 2019, Yang Shi wrote: > On 10/22/19 3:27 PM, Hugh Dickins wrote: > > > > I completely agree that the current PageTransCompoundMap() is wrong. > > > > A fix for that is one of many patches I've not yet got to upstreaming. > > Comparing yours and mine, I'm worried by your use of

Re: [PATCH v7 2/5] x86/kvm: Change print code to use pr_*() format

2019-10-22 Thread Zhenzhong Duan
On 2019/10/23 5:01, Sean Christopherson wrote: On Mon, Oct 21, 2019 at 05:11:13PM +0800, Zhenzhong Duan wrote: pr_*() is preferred than printk(KERN_* ...), after change all the print in arch/x86/kernel/kvm.c will have "kvm_guest: xxx" style. No functional change. Signed-off-by: Zhenzhong

Re: [PATCH v3] scripts/nsdeps: use alternative sed delimiter

2019-10-22 Thread Masahiro Yamada
On Tue, Oct 22, 2019 at 8:04 PM Jessica Yu wrote: > > When doing an out of tree build with O=, the nsdeps script constructs > the absolute pathname of the module source file so that it can insert > MODULE_IMPORT_NS statements in the right place. However, ${srctree} > contains an unescaped path to

[PATCH] Input: synaptics-rmi4 - validate that the rmi_dev pointer is set before dereferencing it

2019-10-22 Thread Andrew Duggan
A bug in hid-rmi was causing rmi_unregister_transport_device() to be called even if the call to rmi_register_transport_device() failed to allocate the rmi device. A patch has been submitted to fix the issue in hid-rmi. This patch will ensure that should a simialr situation occur then the rmi

[PATCH] HID: rmi: Check that the RMI_STARTED bit is set before unregistering the RMI transport device

2019-10-22 Thread Andrew Duggan
In the event that the RMI device is unreachable, the calls to rmi_set_mode() or rmi_set_page() will fail before registering the RMI transport device. When the device is removed, rmi_remove() will call rmi_unregister_transport_device() which will attempt to access the rmi_dev pointer which was not

Re: [PATCH v7 5/7] kvm: x86: Add CET CR4 bit and XSS support

2019-10-22 Thread Yang Weijiang
On Tue, Oct 22, 2019 at 01:13:21PM -0700, Sean Christopherson wrote: > On Fri, Oct 18, 2019 at 09:58:02AM +0800, Yang Weijiang wrote: > > On Thu, Oct 17, 2019 at 12:56:42PM -0700, Sean Christopherson wrote: > > > On Wed, Oct 02, 2019 at 12:05:23PM -0700, Jim Mattson wrote: > > > > > +

Re: [PATCH v7 1/7] KVM: CPUID: Fix IA32_XSS support in CPUID(0xd,i) enumeration

2019-10-22 Thread Yang Weijiang
On Tue, Oct 22, 2019 at 12:46:15PM -0700, Sean Christopherson wrote: > On Fri, Oct 18, 2019 at 09:28:09AM +0800, Yang Weijiang wrote: > > On Thu, Oct 17, 2019 at 12:46:22PM -0700, Sean Christopherson wrote: > > > On Wed, Oct 02, 2019 at 10:26:10AM -0700, Jim Mattson wrote: > > > > > +

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

2019-10-22 Thread Paul Walmsley
On Tue, 22 Oct 2019, Alistair Francis wrote: > I think it makese sense for this to go into Linux first. > > The QEMU patches are going to be accepted, just some nit picking to do > first :) > > After that we have to wait for a PR and then a QEMU release until most > people will see the change

Re: [PATCH v4 5/5] net: dsa: add support for Atheros AR9331 build-in switch

2019-10-22 Thread Andrew Lunn
> --- a/drivers/net/dsa/Kconfig > +++ b/drivers/net/dsa/Kconfig > @@ -52,6 +52,8 @@ source "drivers/net/dsa/microchip/Kconfig" > > source "drivers/net/dsa/mv88e6xxx/Kconfig" > > +source "drivers/net/dsa/qca/Kconfig" > + > source "drivers/net/dsa/sja1105/Kconfig" > > config NET_DSA_QCA8K

Re: [PATCH v6 03/10] iommu/vt-d: Replace Intel specific PASID allocator with IOASID

2019-10-22 Thread Raj, Ashok
On Tue, Oct 22, 2019 at 04:53:16PM -0700, Jacob Pan wrote: > Make use of generic IOASID code to manage PASID allocation, > free, and lookup. Replace Intel specific code. > > Signed-off-by: Jacob Pan > --- > drivers/iommu/intel-iommu.c | 12 ++-- > drivers/iommu/intel-pasid.c | 36

Re: [PATCH] ASoC: rsnd: dma: set bus width to data width for monaural data

2019-10-22 Thread Kuninori Morimoto
Hi > According to R-Car3 HW manual 40.3.3 (Data Format on Audio Local Bus), > in case of monaural data writing or reading through Audio-DMAC, > it's always in Left Justified format, so both src and dst > DMA Bus width should be equal to physical data width. > > Therefore set src and dst's DMA

[PATCH v2 1/9] perf tools: add parse events append error

2019-10-22 Thread Ian Rogers
Parse event error handling may overwrite one error string with another creating memory leaks and masking errors. Introduce a helper routine that appends error messages and avoids the memory leak. Signed-off-by: Ian Rogers --- tools/perf/util/parse-events.c | 102

[PATCH v2 8/9] perf tools: if pmu configuration fails free terms

2019-10-22 Thread Ian Rogers
Avoid a memory leak when the configuration fails. Signed-off-by: Ian Rogers --- tools/perf/util/parse-events.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index f7c8d0853d71..6bf64b3767cc 100644 ---

[PATCH v2 6/9] perf tools: add destructors for parse event terms

2019-10-22 Thread Ian Rogers
If parsing fails then destructors are ran to clean the up the stack. Rename the head union member to make the term and evlist use cases more distinct, this simplifies matching the correct destructor. Signed-off-by: Ian Rogers --- tools/perf/util/parse-events.y | 69

[PATCH v2 5/9] perf tools: avoid a malloc for array events

2019-10-22 Thread Ian Rogers
Use realloc rather than malloc+memcpy to possibly avoid a memory allocation when appending array elements. Signed-off-by: Ian Rogers --- tools/perf/util/parse-events.y | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/perf/util/parse-events.y

[PATCH v2 3/9] perf tools: ensure config and str in terms are unique

2019-10-22 Thread Ian Rogers
Make it easier to release memory associated with parse event terms by duplicating the string for the config name and ensuring the val string is a duplicate. Signed-off-by: Ian Rogers --- tools/perf/util/parse-events.c | 33 - tools/perf/util/parse-events.y | 4

[PATCH v2 9/9] perf tools: add a deep delete for parse event terms

2019-10-22 Thread Ian Rogers
Add a parse_events_term deep delete function so that owned strings and arrays are freed. Signed-off-by: Ian Rogers --- tools/perf/util/parse-events.c | 16 +--- tools/perf/util/parse-events.h | 1 + tools/perf/util/parse-events.y | 12 ++-- tools/perf/util/pmu.c |

[PATCH v2 4/9] perf tools: move ALLOC_LIST into a function

2019-10-22 Thread Ian Rogers
Having a YYABORT in a macro makes it hard to free memory for components of a rule. Separate the logic out. Signed-off-by: Ian Rogers --- tools/perf/util/parse-events.y | 65 ++ 1 file changed, 43 insertions(+), 22 deletions(-) diff --git

[PATCH v2 2/9] perf tools: splice events onto evlist even on error

2019-10-22 Thread Ian Rogers
If event parsing fails the event list is leaked, instead splice the list onto the out result and let the caller cleanup. Signed-off-by: Ian Rogers --- tools/perf/util/parse-events.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git

[PATCH v2 7/9] perf tools: before yyabort-ing free components

2019-10-22 Thread Ian Rogers
Yyabort doesn't destruct inputs and so this must be done manually before using yyabort. Signed-off-by: Ian Rogers --- tools/perf/util/parse-events.y | 250 + 1 file changed, 195 insertions(+), 55 deletions(-) diff --git a/tools/perf/util/parse-events.y

  1   2   3   4   5   6   7   8   9   >