Re: [PATCH v2] media: vimc: Add vimc-streamer for stream control

2019-01-17 Thread Lucas Magalhães
Hi Helen, Thanks for the review. Just answer the question you made. On Tue, Jan 15, 2019 at 2:45 PM Helen Koike wrote: > > Hi Lucas, > > Thank you for this patch, please see my comments below. > > On 1/14/19 10:19 PM, Lucas A. M. Magalhaes wrote: > > Add a linear pipeline logic for the stream con

[PATCH v2 16/16] block: sed-opal: rename next to execute_steps

2019-01-17 Thread David Kozub
As the function is responsible for executing the individual steps supplied in the steps argument, execute_steps is a more descriptive name than the rather generic next. Signed-off-by: David Kozub --- block/sed-opal.c | 37 +++-- 1 file changed, 19 insertions(+), 1

[PATCH v2 14/16] block: sed-opal: pass steps via argument rather than via opal_dev

2019-01-17 Thread David Kozub
The steps argument is only read by the next function, so it can be passed directly as an argument rather than via opal_dev. Normally, the steps is an array on the stack, so the pointer stops being valid then the function that set opal_dev.steps returns. If opal_dev.steps was not set to NULL before

[PATCH v2 15/16] block: sed-opal: don't repeat opal_discovery0 in each steps array

2019-01-17 Thread David Kozub
Originally each of the opal functions that call next include opal_discovery0 in the array of steps. This is superfluous and can be done always inside next. Signed-off-by: David Kozub --- block/sed-opal.c | 88 +++- 1 file changed, 42 insertions(+), 46

[PATCH v2 11/16] block: sed-opal: ioctl for writing to shadow mbr

2019-01-17 Thread David Kozub
From: Jonas Rabenstein Allow modification of the shadow mbr. If the shadow mbr is not marked as done, this data will be presented read only as the device content. Only after marking the shadow mbr as done and unlocking a locking range the actual content is accessible. Co-authored-by: David Kozub

[PATCH v2 08/16] block: sed-opal: print failed function address

2019-01-17 Thread David Kozub
From: Jonas Rabenstein Add function address (and if available its symbol) to the message if a step function fails. Signed-off-by: Jonas Rabenstein --- block/sed-opal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/sed-opal.c b/block/sed-opal.c index 1332547e5a99

[PATCH v2 07/16] block: sed-opal: reuse response_get_token to decrease code duplication

2019-01-17 Thread David Kozub
response_get_token had already been in place, its functionality had been duplicated within response_get_{u64,bytestring} with the same error handling. Unify the handling by reusing response_get_token within the other functions. Co-authored-by: Jonas Rabenstein Signed-off-by: David Kozub Signed-o

[PATCH v2 05/16] block: sed-opal: unify cmd start

2019-01-17 Thread David Kozub
Every step starts with resetting the cmd buffer as well as the comid and constructs the appropriate OPAL_CALL command. Consequently, those actions may be combined into one generic function. On should take care that the opening and closing tokens for the argument list are already emitted by cmd_star

[PATCH v2 03/16] block: sed-opal: unify space check in add_token_*

2019-01-17 Thread David Kozub
From: Jonas Rabenstein All add_token_* functions have a common set of conditions that have to be checked. Use a common function for those checks in order to avoid different behaviour as well as code duplication. Co-authored-by: David Kozub Signed-off-by: Jonas Rabenstein Signed-off-by: David K

[PATCH v2 02/16] block: sed-opal: use correct macro for method length

2019-01-17 Thread David Kozub
From: Jonas Rabenstein Also the values of OPAL_UID_LENGTH and OPAL_METHOD_LENGTH are the same, it is weird to use OPAL_UID_LENGTH for the definition of the methods. Signed-off-by: Jonas Rabenstein --- block/sed-opal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/se

[PATCH v2 01/16] block: sed-opal: fix typos and formatting

2019-01-17 Thread David Kozub
This should make no change in functionality. The formatting changes were triggered by checkpatch.pl. Signed-off-by: David Kozub --- block/sed-opal.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/block/sed-opal.c b/block/sed-opal.c index e0de4dd448b3..c8

[PATCH v2 04/16] block: sed-opal: close parameter list in cmd_finalize

2019-01-17 Thread David Kozub
Every step ends by calling cmd_finalize (via finalize_and_send) yet every step adds the token OPAL_ENDLIST on its own. Moving this into cmd_finalize decreases code duplication. Co-authored-by: Jonas Rabenstein Signed-off-by: David Kozub Signed-off-by: Jonas Rabenstein --- block/sed-opal.c | 25

[PATCH v2 00/16] block: sed-opal: support shadow MBR done flag and write

2019-01-17 Thread David Kozub
This patch series extends OPAL support: it adds IOCTL for setting the shadow MBR done flag which can be useful for unlocking an OPAL disk on boot and it adds IOCTL for writing to the shadow MBR. Also included are some minor fixes and improvements. This series is based on the original work done by

Re: [PATCH v2 0/4] gcov: add Clang support

2019-01-17 Thread Nick Desaulniers
On Wed, Jan 16, 2019 at 7:17 AM Peter Oberparleiter wrote: > > On 15.01.2019 19:36, Tri Vo wrote: > > From: Tri Vo > > > > This patch series adds Clang supoprt for gcov. > > > > Patch 1 refactors existing code in preparation for Clang support. Patches > > 2-3 implement necessary LLVM runtime hook

Re: [PATCH v8 1/3] watchdog: introduce watchdog.open_timeout commandline parameter

2019-01-17 Thread Guenter Roeck
On Wed, Jan 16, 2019 at 12:14:42PM +, Rasmus Villemoes wrote: > The watchdog framework takes care of feeding a hardware watchdog until > userspace opens /dev/watchdogN. If that never happens for some reason > (buggy init script, corrupt root filesystem or whatnot) but the kernel > itself is fin

linux-next: manual merge of the arc-current tree with Linus' tree

2019-01-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arc-current tree got a conflict in: arch/arc/mm/fault.c between commit: d8d7d842e828 ("arch/arc/mm/fault.c: remove caller signal_pending_branch predictions") from Linus' tree and commit: ce3e02e8be58 ("ARC: mm: do_page_fault fixes #1: relinquish

Re: [PATCH] arm64: dts: meson: fix g12a buses

2019-01-17 Thread Martin Blumenstingl
On Thu, Jan 17, 2019 at 9:39 PM Jerome Brunet wrote: > > On Thu, 2019-01-17 at 21:27 +0100, Martin Blumenstingl wrote: > > OK, but we had incorrect documentation in the past. did you check this > > with someone from Amlogic? > > > > I'm curious because there seem to be two different approaches her

Re: [PATCH 01/17] Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()"

2019-01-17 Thread hpa
On January 16, 2019 10:47:01 PM PST, Masami Hiramatsu wrote: >On Wed, 16 Jan 2019 16:32:43 -0800 >Rick Edgecombe wrote: > >> From: Nadav Amit >> >> text_mutex is currently expected to be held before text_poke() is >> called, but we kgdb does not take the mutex, and instead *supposedly* >> ensu

Re: [PATCHv2] watchdog: qcom: Add suspend/resume support

2019-01-17 Thread Guenter Roeck
On Thu, Jan 17, 2019 at 1:14 PM Jerry Hoemann wrote: > > On Thu, Jan 17, 2019 at 11:09:31AM -0800, Guenter Roeck wrote: > > On Thu, Jan 17, 2019 at 10:37 AM Stephen Boyd wrote: > > > > > > Quoting Sai Prakash Ranjan (2019-01-17 07:19:42) > > > > diff --git a/drivers/watchdog/qcom-wdt.c b/drivers/

linux-next: Fixes tag needs some work in the amlogic tree

2019-01-17 Thread Stephen Rothwell
Hi all, Commit 2839b54d4cae ("ARM64: dts: meson-gxbb-odroidc2: Fix usb phy reset warning") Fixes tag Fixes: 5a0803bd5ae (ARM64: dts: meson-gxbb-odroidc2: Enable USB Nodes) has these problems: - SHA1 should be at least 12 digits long Commit f01d1f474076 ("ARM64: dts: meson-gxbb-odroi

Re: [PATCHv2] watchdog: qcom: Add suspend/resume support

2019-01-17 Thread Jerry Hoemann
On Thu, Jan 17, 2019 at 11:09:31AM -0800, Guenter Roeck wrote: > On Thu, Jan 17, 2019 at 10:37 AM Stephen Boyd wrote: > > > > Quoting Sai Prakash Ranjan (2019-01-17 07:19:42) > > > diff --git a/drivers/watchdog/qcom-wdt.c b/drivers/watchdog/qcom-wdt.c > > > index 780971318810..5dfd604477a4 100644

Re: [PatchV2 1/2] ARM64: dts: meson-gxbb-odroidc2: Fix usb phy regulator power failed warning

2019-01-17 Thread Kevin Hilman
Hi Anand, Anand Moon writes: > Override the dr_mode from "host" to "peripheral" for dwc2 > usb_phy0->usb0 initilization of OTG Micro-B type. > Changes fix the below warning for phy poweron failed --> -22 > > Changes fix the initialization of c900.usb phy > > [1.203900] phy phy-c000.p

Re: linux-next: Fixes tag needs work in the amlogic tree

2019-01-17 Thread Kevin Hilman
Stephen Rothwell writes: > [I am experimenting with checking the Fixes tags in commits in linux-next. > Please let me know if you think I am being too strict.] > > Hi all, > > Commit > > 90d2bf8975cc ("ARM64: dts: meson-gxbb-odroidc2: Fix usb phy regulator power > failed warning") > > has a ma

Re: [PATCH v2 2/2] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-01-17 Thread Jacek Anaszewski
Hi Dan, On 1/16/19 7:41 PM, Dan Murphy wrote: Hello On 1/16/19 4:55 AM, Pavel Machek wrote: Hi! On 1/15/19 4:22 PM, Pavel Machek wrote: Hi! +The 24-bit RGB value passed in follows the pattern 0xXXRRGGBB +XX - Do not care ignored by the driver +RR - is the 8 bit Red LED value +GG - is the

Re: [PATCH v2 2/2] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-01-17 Thread Jacek Anaszewski
On 1/16/19 11:55 AM, Pavel Machek wrote: Hi! On 1/15/19 4:22 PM, Pavel Machek wrote: Hi! +The 24-bit RGB value passed in follows the pattern 0xXXRRGGBB +XX - Do not care ignored by the driver +RR - is the 8 bit Red LED value +GG - is the 8 bit Green LED value +BB - is the 8 bit Blue LED valu

Re: [PATCH v2] media: imx-csi: Input connections to CSI should be optional

2019-01-17 Thread Fabio Estevam
Hi Steve, On Thu, Jan 17, 2019 at 6:59 PM Steve Longerbeam wrote: > > Some imx platforms do not have fwnode connections to all CSI input > ports, and should not be treated as an error. This includes the > imx6q SabreAuto, which has no connections to ipu1_csi1 and ipu2_csi0. > Return -ENOTCONN in

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

2019-01-17 Thread Dave Chinner
On Thu, Jan 17, 2019 at 09:18:41AM +0100, Jiri Kosina wrote: > On Thu, 17 Jan 2019, Dave Chinner wrote: > > > > > commit e837eac23662afae603aaaef7c94bc839c1b8f67 > > > > Author: Steve Lord > > > > Date: Mon Mar 5 16:47:52 2001 + > > > > > > > > Add bounds checking for direct I/O, do th

Re: [PATCH v4] cpufreq: qcom: Read voltage LUT and populate OPP

2019-01-17 Thread Matthias Kaehlcke
Hi Tanyia, On Thu, Jan 17, 2019 at 04:29:58PM +0530, Taniya Das wrote: > Add support to read the voltage look up table and populate OPP for all > corresponding CPUS for consumers like the energy model could use the > frequency and voltage from the OPP tables. Also update the logic to not add > dup

[PATCH] selftests: kmod: worked on errors which breaks the overall execution of the test script

2019-01-17 Thread Jeffrin Jose T
The kmod.sh script breaks because an array is passed as input instead of a single element input.This patch takes elements one at a time and passed as input to the condition statement which in turn fixes the error.There was an issue which had the need for passing a single digit to the condition stat

Re: [PATCH] perf/core: fix perf_proc_update_handler() bug

2019-01-17 Thread Stephane Eranian
On Thu, Jan 10, 2019 at 5:17 PM Stephane Eranian wrote: > > The perf_proc_update_handler() handles > /proc/sys/kernel/perf_event_max_sample_rate > syctl variable. When the PMU IRQ handler timing monitoring is disabled, i.e, > when /proc/sys/kernel/perf_cpu_time_max_percent is equal to 0 or 100,

Re: [PATCH v3 2/4] dt-bindings: hwmon: add dps650ab documentation

2019-01-17 Thread Guenter Roeck
On Thu, Jan 10, 2019 at 10:24:33AM +0800, Xiaoting Liu wrote: > Bindings for Delta Electronics DPS-650-AB power supply. > > Signed-off-by: Xiaoting Liu Applied to hwmon-next. Thanks, Guenter > --- > v3: > Change patch commit message. > Add vendor delta to the compatible property. > --- > v

[PATCH v2] media: imx-csi: Input connections to CSI should be optional

2019-01-17 Thread Steve Longerbeam
Some imx platforms do not have fwnode connections to all CSI input ports, and should not be treated as an error. This includes the imx6q SabreAuto, which has no connections to ipu1_csi1 and ipu2_csi0. Return -ENOTCONN in imx_csi_parse_endpoint() so that v4l2-fwnode endpoint parsing will not treat a

Re: [PATCH v3 0/2] arm64: dts: meson: add simple-framebuffer nodes

2019-01-17 Thread Kevin Hilman
Maxime Jourdan writes: > This patch series adds support for simplefb for the GXBB and GXL chips. > > simple-framebuffer allows sharing a framebuffer already setup by the > firmware to the kernel for a seamless boot transition. > > It goes along with a u-boot patch series adding display support to

[GIT PULL] hwmon fixes for hwmon-for-v5.0-rc3

2019-01-17 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux hwmon-for-v5.0-rc3 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-v5.0-rc3 Thanks, Guenter -- The following changes since commit 3bd6e94bec122a951d462c239b47954cf5f36e33: arch: restore gen

linux-next: Fixes tag needs some work in the arc-current tree

2019-01-17 Thread Stephen Rothwell
Hi Vineet, Commit 8bfa90f936b3 ("ARC: adjust memblock_reserve of kernel memory") Fixes tag Fixes: 9ed68785f7f2b2b ("ARC: mm: Decouple RAM base address from kernel link addr") has these problem: - Target SHA1 does not exist Looks like the "2b" on the end was repeasted accidentally. --

EINTR on 'wait'

2019-01-17 Thread Volodymyr Boyko
Hi, According to http://pubs.opengroup.org/onlinepubs/009695399/functions/wait.html: > > The wait() function shall fail if: > [ECHILD] > The calling process has no existing unwaited-for child processes. > [EINTR] > The function was interrupted by a signal. The value of the location pointed > to b

Re: [PATCH] media: imx-csi: Input connections to CSI should be optional

2019-01-17 Thread Steve Longerbeam
Hi Tim, On 1/15/19 8:42 AM, Tim Harvey wrote: On Wed, Jan 9, 2019 at 10:34 AM Steve Longerbeam wrote: Some imx platforms do not have fwnode connections to all CSI input ports, and should not be treated as an error. This includes the imx6q SabreAuto, which has no connections to ipu1_csi1 and ip

Re: linux-next: Fixes tag needs some work in the arc-current tree

2019-01-17 Thread Vineet Gupta
On 1/17/19 12:33 PM, Stephen Rothwell wrote: > Hi Vineet, > > Commit > > 8e542d2a28c9 ("ARC: adjust memblock_reserve of kernel memory") > > Fixes tag > > Fixes: 9ed68785f7f ("ARC: mm: Decouple RAM base address from kernel link > addr") > > has these problems: > > - SHA1 should be at least 12

RE: [PATCH 1/1] remoteproc: fix recovery procedure

2019-01-17 Thread Loic PALLARDY
Hi Bjorn, > -Original Message- > From: Bjorn Andersson > Sent: jeudi 17 janvier 2019 19:00 > To: Loic PALLARDY > Cc: xiang xiao ; o...@wizery.com; linux- > remotep...@vger.kernel.org; linux-kernel@vger.kernel.org; Arnaud > POULIQUEN ; benjamin.gaign...@linaro.org; s- > a...@ti.com > Subj

linux-next: Fixes tag needs some work in the imx-drm tree

2019-01-17 Thread Stephen Rothwell
Hi Lucas, Commit bb867d219fda ("gpu: ipu-v3: Fix CSI offsets for imx53") Fixes tag Fixes: 2ffd48f2e7 ("gpu: ipu-v3: Add Camera Sensor Interface unit") has these problems: - SHA1 should be at least 12 digits long Commit 2c0408dd0d89 ("gpu: ipu-v3: Fix i.MX51 CSI control registers off

[PATCH v2 2/2] media: imx: prpencvf: Disable CSI immediately after last EOF

2019-01-17 Thread Steve Longerbeam
The CSI must be disabled immediately after receiving the last EOF before stream off (and thus before disabling the IDMA channel). This can be accomplished by moving upstream stream off to just after receiving the last EOF completion in prp_stop(). For symmetry also move upstream stream on to end of

[PATCH v2 1/2] media: imx: csi: Disable CSI immediately after last EOF

2019-01-17 Thread Steve Longerbeam
Disable the CSI immediately after receiving the last EOF before stream off (and thus before disabling the IDMA channel). This fixes a complete system hard lockup on the SabreAuto when streaming from the ADV7180, by repeatedly sending a stream off immediately followed by stream on: while true; do

Re: [PATCH 06/17] x86/alternative: use temporary mm for text poking

2019-01-17 Thread Andy Lutomirski
On Thu, Jan 17, 2019 at 12:27 PM Andy Lutomirski wrote: > > On Wed, Jan 16, 2019 at 4:33 PM Rick Edgecombe > wrote: > > > > From: Nadav Amit > > > > text_poke() can potentially compromise the security as it sets temporary > > PTEs in the fixmap. These PTEs might be used to rewrite the kernel cod

Re: [PATCH net V4] vhost: log dirty page correctly

2019-01-17 Thread Michael S. Tsirkin
On Wed, Jan 16, 2019 at 04:54:42PM +0800, Jason Wang wrote: > Vhost dirty page logging API is designed to sync through GPA. But we > try to log GIOVA when device IOTLB is enabled. This is wrong and may > lead to missing data after migration. > > To solve this issue, when logging with device IOTLB

Re: [PATCH] tracing: uprobes: fix typo in pr_fmt string

2019-01-17 Thread Joe Perches
On Thu, 2019-01-17 at 14:30 +0100, Andreas Ziegler wrote: > The subsystem-specific message prefix for uprobes was also > "trace_kprobe: " instead of "trace_uprobe: " as described in > the original commit message. [] > diff --git a/kernel/trace/trace_uprobe.c b/kernel/trace/trace_uprobe.c [] > @@ -5

[PATCH v2] drm: radeon: add a missing break in evergreen_cs_handle_reg

2019-01-17 Thread Mathieu Malaterre
In commit dd220a00e8bd ("drm/radeon/kms: add support for streamout v7") case statements were added without a terminating break statement. This commit adds the missing break. This was discovered during a compilation with W=1. This commit removes the following warning: drivers/gpu/drm/radeon/ever

Re: [PATCH] arm64: dts: meson: fix g12a buses

2019-01-17 Thread Jerome Brunet
On Thu, 2019-01-17 at 21:27 +0100, Martin Blumenstingl wrote: > OK, but we had incorrect documentation in the past. did you check this > with someone from Amlogic? > > I'm curious because there seem to be two different approaches here: > 1) hiubus name and offsets are being fixed within this patch

[PATCH V1] i2c: tegra: increase transfer timeout

2019-01-17 Thread Sowjanya Komatineni
increase transfer timeout to 10s to allow enough time during max transfer size. Signed-off-by: Sowjanya Komatineni --- drivers/i2c/busses/i2c-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index e417ebf7

Re: [PATCH 00/14] Prepare syscall_get_arch for PTRACE_GET_SYSCALL_INFO

2019-01-17 Thread Richard Guy Briggs
On 2019-01-09 15:40, Dmitry V. Levin wrote: > syscall_get_arch() is required to be implemented on all architectures in order > to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request: > syscall_get_arch() is going to be called from ptrace_request() along with > syscall_get_nr(), sysca

linux-next: Fixes tag needs some work in the arc-current tree

2019-01-17 Thread Stephen Rothwell
Hi Vineet, Commit 8e542d2a28c9 ("ARC: adjust memblock_reserve of kernel memory") Fixes tag Fixes: 9ed68785f7f ("ARC: mm: Decouple RAM base address from kernel link addr") has these problems: - SHA1 should be at least 12 digits long -- Cheers, Stephen Rothwell pgpUUMTNAYUbT.pgp Desc

Re: [PATCH 06/17] x86/alternative: use temporary mm for text poking

2019-01-17 Thread Andy Lutomirski
On Wed, Jan 16, 2019 at 4:33 PM Rick Edgecombe wrote: > > From: Nadav Amit > > text_poke() can potentially compromise the security as it sets temporary > PTEs in the fixmap. These PTEs might be used to rewrite the kernel code > from other cores accidentally or maliciously, if an attacker gains th

Re: [PATCH] arm64: dts: meson: fix g12a buses

2019-01-17 Thread Martin Blumenstingl
Hi Jerome, On Thu, Jan 17, 2019 at 9:12 PM Jerome Brunet wrote: > > > On Thu, 2019-01-17 at 21:03 +0100, Martin Blumenstingl wrote: > > Hi Jerome, > > > > On Wed, Jan 16, 2019 at 5:52 PM Jerome Brunet wrote: > > [...] > > > - aobus: bus@ff80 { > > > - comp

Re: [PATCH] hv_netvsc: fix typos in code comments

2019-01-17 Thread Sasha Levin
On Wed, Jan 09, 2019 at 01:18:18PM -0800, Dexuan-Linux Cui wrote: On Thu, Jan 3, 2019 at 4:13 PM Haiyang Zhang wrote: > From: Adrian Vladu > Sent: Thursday, January 3, 2019 2:43 PM > To: linux-kernel@vger.kernel.org > Cc: Adrian Vladu ; KY Srinivasan > ; Haiyang Zhang ; Stephen > Hemminger ; S

Re: [PATCH 1/2] media: imx: csi: Disable CSI immediately after last EOF

2019-01-17 Thread Steve Longerbeam
Hi Fabio, thanks for the review. On 1/17/19 12:20 PM, Fabio Estevam wrote: Hi Steve, On Thu, Jan 17, 2019 at 6:15 PM Steve Longerbeam wrote: Disable the CSI immediately after receiving the last EOF before stream off (and thus before disabling the IDMA channel). This fixes a complete system h

Re: Plain accesses and data races in the Linux Kernel Memory Model

2019-01-17 Thread Alan Stern
On Thu, 17 Jan 2019, Andrea Parri wrote: > > > There is a special case (data;rfi) that doesn't > > > provide ordering in itself but can contribute to other > > > orderings. A data;rfi link corresponds to situations > > > where a value is stored in a tempora

Re: [PATCH hyperv-fixes,0/3] fixes for hash key setting issues

2019-01-17 Thread Sasha Levin
On Tue, Jan 15, 2019 at 12:51:41AM +, Haiyang Zhang wrote: From: Haiyang Zhang Using ethtool to change Hash key failed on Linux VM runnig on Hyper-V. This patch set fix them. It targets Hyper-V tree, hyperv-fixes branch managed by Sasha Levin . Queued all 3 for hyperv-fixes, thank you.

Re: [PATCH 1/2] media: imx: csi: Disable CSI immediately after last EOF

2019-01-17 Thread Fabio Estevam
Hi Steve, On Thu, Jan 17, 2019 at 6:15 PM Steve Longerbeam wrote: > > Disable the CSI immediately after receiving the last EOF before stream > off (and thus before disabling the IDMA channel). > > This fixes a complete system hard lockup on the SabreAuto when streaming > from the ADV7180, by repe

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

2019-01-17 Thread Heiko Carstens
On Thu, Jan 17, 2019 at 05:21:50PM +0100, Arnd Bergmann wrote: > On Thu, Jan 17, 2019 at 2:36 PM Heiko Carstens > wrote: > > > > On Wed, Jan 16, 2019 at 02:15:18PM +0100, Arnd Bergmann wrote: > > > > I did not test the changes at runtime, but I looked at the > > > generated object code, which see

Re: [PATCH 2/2] staging: rtl8188eu: cleanup indenting issue in mlme_linux.c

2019-01-17 Thread Michael Straube
On 1/17/19 8:44 PM, Joe Perches wrote: On Thu, 2019-01-17 at 20:23 +0100, Michael Straube wrote: Cleanup indenting issue reported by checkpatch. CHECK: Alignment should match open parenthesis [] diff --git a/drivers/staging/rtl8188eu/os_dep/mlme_linux.c b/drivers/staging/rtl8188eu/os_dep/mlme

[PATCH 1/2] media: imx: csi: Disable CSI immediately after last EOF

2019-01-17 Thread Steve Longerbeam
Disable the CSI immediately after receiving the last EOF before stream off (and thus before disabling the IDMA channel). This fixes a complete system hard lockup on the SabreAuto when streaming from the ADV7180, by repeatedly sending a stream off immediately followed by stream on: while true; do

[PATCH 2/2] media: imx: prpencvf: Disable CSI immediately after last EOF

2019-01-17 Thread Steve Longerbeam
The CSI must be disabled immediately after receiving the last EOF before stream off (and thus before disabling the IDMA channel). This can be accomplished by moving upstream stream off to just after receiving the last EOF completion in prp_stop(). For symmetry also move upstream stream on to end of

Re: [PATCH 2/5] ipc: introduce ksys_ipc()/compat_ksys_ipc() for s390

2019-01-17 Thread Heiko Carstens
On Thu, Jan 17, 2019 at 05:29:55PM +0100, Arnd Bergmann wrote: > On Thu, Jan 17, 2019 at 2:29 PM Heiko Carstens > > SYSCALL_DEFINE1(s390_personality, unsigned int, personality) > > { > > diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c > > index ab9d0e3c6d50..ad016a7db0ea 100644 > > --- a/kernel/sy

Re: [PATCH 0/3] net: dsa: lantiq_gswip: probe fixes and remove cleanup

2019-01-17 Thread David Miller
From: Johan Hovold Date: Wed, 16 Jan 2019 11:23:32 +0100 > This series fix a few issues found through inspection when fixing up new > bad uses of of_find_compatible_node() that have crept in since 4.19. > > Note that these have only been compile tested. Series applied.

Re: [PATCH] arm64: dts: meson: fix g12a buses

2019-01-17 Thread Jerome Brunet
On Thu, 2019-01-17 at 21:03 +0100, Martin Blumenstingl wrote: > Hi Jerome, > > On Wed, Jan 16, 2019 at 5:52 PM Jerome Brunet wrote: > [...] > > - aobus: bus@ff80 { > > - compatible = "simple-bus"; > > - reg = <0x0 0xff80 0x0 0x10

[PATCH V2] i2c: tegra: Add I2C interface timing support

2019-01-17 Thread Sowjanya Komatineni
This patch adds I2C interface timing registers support for proper bus rate configuration along with meeting the i2c spec setup and hold times based on the tuning performed on Tegra210, Tegra186 and Tegra194 platforms. I2C_INTERFACE_TIMING_0 register contains TLOW and THIGH field and Tegra I2C cont

Re: [PATCH] hugetlb: allow to free gigantic pages regardless of the configuration

2019-01-17 Thread Mike Kravetz
On 1/17/19 10:39 AM, Alexandre Ghiti wrote: > From: Alexandre Ghiti > > On systems without CMA or (MEMORY_ISOLATION && COMPACTION) activated but > that support gigantic pages, boottime reserved gigantic pages can not be > freed at all. This patchs simply enables the possibility to hand back > tho

Re: [PATCH v4 1/4] can: m_can: Create a m_can platform framework

2019-01-17 Thread Dan Murphy
Wolfgang On 1/17/19 2:05 PM, Dan Murphy wrote: > Create a m_can platform framework that peripherial > devices can register to and use common code and register sets. > The peripherial devices may provide read/write and configuration > support of the IP. > > Signed-off-by: Dan Murphy > --- > driv

Design of xa_alloc

2019-01-17 Thread Matthew Wilcox
As part of getting rid of the radix tree, I need to replace idr_alloc() with xa_alloc(). xa_alloc() takes the internal xa_lock (and has xa_alloc_irq(), xa_alloc_bh() and __xa_alloc() variations which handle the lock the way you probably expect them to). It would, of course, be possible to make

[PATCH v4 3/4] dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver

2019-01-17 Thread Dan Murphy
DT binding documentation for TI TCAN4x5x driver. Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/can/tcan4x5x.txt | 37 +++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt diff --git a/Documentation/devicetre

Re: [PATCH] serial: 8250: Fix serial8250 initialization crash

2019-01-17 Thread Darwin Dingel
On 18/01/19 8:49 AM, Darwin Dingel wrote: > On 17/01/19 10:00 PM, zhe...@windriver.com wrote: >> From: He Zhe >> >> The initialization code of interrupt backoff work might reference NULL >> pointer and cause the following crash, if no port was found. >> >> [ 10.017727] CPU 0 Unable to handle ker

[PATCH v4 4/4] can: tcan4x5x: Add tcan4x5x driver to the kernel

2019-01-17 Thread Dan Murphy
Add the TCAN4x5x SPI CAN driver. This device uses the Bosch MCAN IP core along with a SPI interface map. Leverage the MCAN common core code to manage the MCAN IP. This device has a special method to indicate a write/read operation on the data payload. Signed-off-by: Dan Murphy --- drivers/net

[PATCH v4 2/4] can: m_can: Migrate the m_can code to use the framework

2019-01-17 Thread Dan Murphy
Migrate the m_can code to use the m_can_platform framework code. Signed-off-by: Dan Murphy --- drivers/net/can/m_can/Kconfig | 12 + drivers/net/can/m_can/Makefile | 4 +- drivers/net/can/m_can/m_can.c | 764 - drivers/net/can/m_can/m_can_plat

[PATCH v4 1/4] can: m_can: Create a m_can platform framework

2019-01-17 Thread Dan Murphy
Create a m_can platform framework that peripherial devices can register to and use common code and register sets. The peripherial devices may provide read/write and configuration support of the IP. Signed-off-by: Dan Murphy --- drivers/net/can/m_can/m_can.c | 6 + drivers/net/can/m_ca

Re: [PATCH] arm64: dts: meson: fix g12a buses

2019-01-17 Thread Martin Blumenstingl
Hi Jerome, On Wed, Jan 16, 2019 at 5:52 PM Jerome Brunet wrote: [...] > - aobus: bus@ff80 { > - compatible = "simple-bus"; > - reg = <0x0 0xff80 0x0 0x10>; are you sure about removing aobus? in your patch "arm64: dts: meson: g1

Re: [PATCH] arm64: dts: meson-axg: add efuse device

2019-01-17 Thread Kevin Hilman
Jerome Brunet writes: > Add efuse to the AXG family > > Signed-off-by: Jerome Brunet Queued for v5.1, Thanks, Kevin

Re: [PATCH] arm64: dts: meson: s400: enable sdr104 on sdio

2019-01-17 Thread Kevin Hilman
Jerome Brunet writes: > The bcm wifi/bt device on SDIO support SDR104 and it seems to work > well following the recent mmc driver update, so enable this > ultra high speed mode > > Signed-off-by: Jerome Brunet Queued for v5.1, Thanks, Kevin

Re: [PATCH] arm64: dts: meson: s400: fix emmc maximum rate

2019-01-17 Thread Kevin Hilman
Jerome Brunet writes: > Limiting the HS200 rate on the s400 was just a way to mask that the > tuning setting were not correct. This seems to have been fixed with > the recent MMC driver update. We can now use HS200 at full speed. > > Signed-off-by: Jerome Brunet Queued for v5.1, Thanks, Kevin

Re: [PATCH] arm64: dts: meson: fix g12a buses

2019-01-17 Thread Kevin Hilman
Jerome Brunet writes: > periph and hiu bus addresses/size are wrong. > cbus, aobus and apb just don't exist in the memory map so remove them. > > Fixes: 9c8c52f7cb4f ("arm64: dts: meson-g12a: add initial g12a s905d2 SoC DT > support") > Signed-off-by: Jerome Brunet Queued as a fix for v5.0-rc

Re: [PATCH] rtlwifi: rtl818x: fix indentation issue

2019-01-17 Thread Joe Perches
On Thu, 2019-01-17 at 13:33 -0600, Larry Finger wrote: > On 1/17/19 1:29 PM, Joe Perches wrote: > > On Thu, 2019-01-17 at 15:28 +, Colin King wrote: > > > From: Colin Ian King > > > > > > There is a statement that is indented too deeply. Fix this. > > > > Thanks. > > > > > diff --git a/driv

Re: [PATCH net V4] vhost: log dirty page correctly

2019-01-17 Thread David Miller
From: Jason Wang Date: Wed, 16 Jan 2019 16:54:42 +0800 > Vhost dirty page logging API is designed to sync through GPA. But we > try to log GIOVA when device IOTLB is enabled. This is wrong and may > lead to missing data after migration. > > To solve this issue, when logging with device IOTLB ena

Re: [PATCH 3/4] arm64: dts: meson: axg: add clk measure support

2019-01-17 Thread Martin Blumenstingl
Hi Jerome, On Thu, Jan 17, 2019 at 5:48 PM Jerome Brunet wrote: > > Add the clock measure device to the axg SoC family > > Signed-off-by: Jerome Brunet > --- > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/me

Re: [PATCH] arm64: dts: meson: fix g12a buses

2019-01-17 Thread Kevin Hilman
Jerome Brunet writes: > periph and hiu bus addresses/size are wrong. > cbus, aobus and apb just don't exist in the memory map so remove them. > > Fixes: 9c8c52f7cb4f ("arm64: dts: meson-g12a: add initial g12a s905d2 SoC DT > support") > Signed-off-by: Jerome Brunet Queuing as a fix for v5.0-rc

ld: drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:81: undefined reference to `ieee80211_hdrlen'

2019-01-17 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 47bfa6d9dc8c060bf56554a465c9031e286d2f80 commit: aca432f06b8a60a92b27fb46e6518a19b28ca93f iwlwifi: make MVM and DVM depend on MAC80211 date: 4 weeks ago config: x86_64-randconfig-g3-201902 (attached as .co

Re: [PATCH 1/3] arm64: dts: qcom: sdm845: Add Coresight support

2019-01-17 Thread Bjorn Andersson
On Tue 15 Jan 08:27 PST 2019, Sai Prakash Ranjan wrote: > Hi Bjorn, > > Thanks for the review. Please find my comments inline. > > On 1/13/2019 12:53 PM, Bjorn Andersson wrote: > > On Wed 09 Jan 09:46 PST 2019, Sai Prakash Ranjan wrote: > > > > > Add coresight components found on Qualcomm SDM84

Re: [PATCH] serial: 8250: Fix serial8250 initialization crash

2019-01-17 Thread Darwin Dingel
On 17/01/19 10:00 PM, zhe...@windriver.com wrote: > From: He Zhe > > The initialization code of interrupt backoff work might reference NULL > pointer and cause the following crash, if no port was found. > > [ 10.017727] CPU 0 Unable to handle kernel paging request at virtual > address 01b

Re: [PATCHv4 00/13] Heterogeneuos memory node attributes

2019-01-17 Thread Keith Busch
On Thu, Jan 17, 2019 at 10:18:35AM -0800, Jonathan Cameron wrote: > I've been having a play with various hand constructed HMAT tables to allow > me to try breaking them in all sorts of ways. > > Mostly working as expected. > > Two places I am so far unsure on... > > 1. Concept of 'best' is not i

[PATCH] perf, script: Fix crash with printing mixed trace point and other events

2019-01-17 Thread Andi Kleen
From: Andi Kleen perf script crashes currently when printing mixed trace points and other events because the trace format does not handle events without trace meta data. Add a simple check to avoid that. % cat > test.c main() { printf("Hello world\n"); } ^D % gcc -g -o test test.c % sudo per

Re: [PATCH] atm: he: fix sign-extension overflow on large shift

2019-01-17 Thread David Miller
From: Colin King Date: Tue, 15 Jan 2019 18:03:38 + > From: Colin Ian King > > Shifting the 1 by exp by an int can lead to sign-extension overlow when > exp is 31 since 1 is an signed int and sign-extending this result to an > unsigned long long will set the upper 32 bits. Fix this by shift

Re: [PATCH 1/6] include/drm: color_mgmt: Add enum labels

2019-01-17 Thread Ville Syrjälä
On Fri, Dec 14, 2018 at 01:10:16PM +0100, Christoph Manszewski wrote: > Range setting makes sense for YCbCr and RGB buffers. Current > drm_color_range enum labels suggest use with YCbCr buffers. > Create enum labels without colorspace specification. > > Signed-off-by: Christoph Manszewski > --- >

Re: [PATCH net-next] net/tls: remove unused function tls_sw_sendpage_locked

2019-01-17 Thread David Miller
From: YueHaibing Date: Wed, 16 Jan 2019 10:39:27 +0800 > There are no in-tree callers. > > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] net/tls: Make function tls_sw_do_sendpage static

2019-01-17 Thread David Miller
From: YueHaibing Date: Wed, 16 Jan 2019 10:39:28 +0800 > Fixes the following sparse warning: > > net/tls/tls_sw.c:1023:5: warning: > symbol 'tls_sw_do_sendpage' was not declared. Should it be static? > > Signed-off-by: YueHaibing Applied.

Re: [PATCH 2/2] staging: rtl8188eu: cleanup indenting issue in mlme_linux.c

2019-01-17 Thread Joe Perches
On Thu, 2019-01-17 at 20:23 +0100, Michael Straube wrote: > Cleanup indenting issue reported by checkpatch. > CHECK: Alignment should match open parenthesis [] > diff --git a/drivers/staging/rtl8188eu/os_dep/mlme_linux.c > b/drivers/staging/rtl8188eu/os_dep/mlme_linux.c [] > @@ -52,9 +52,8 @@ void

Re: Plain accesses and data races in the Linux Kernel Memory Model

2019-01-17 Thread Alan Stern
On Wed, 16 Jan 2019, Andrea Parri wrote: > Can the compiler (maybe, it does?) transform, at the C or at the "asm" > level, LB1's P0 in LB2's P0 (LB1 and LB2 are reported below)? > > C LB1 > > { > int *x = &a; > } > > P0(int **x, int *y) > { > int *r0; > > r0 = rcu_dereference

Re: [PATCH net-next] net: hns: Use struct_size() in devm_kzalloc()

2019-01-17 Thread David Miller
From: "Gustavo A. R. Silva" Date: Tue, 15 Jan 2019 19:04:56 -0600 > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct fo

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

2019-01-17 Thread Uwe Kleine-König
Hello, On Thu, Jan 17, 2019 at 02:00:43PM +0100, Matthias Brugger wrote: > On 15/01/2019 21:02, Uwe Kleine-König wrote: > > On Mon, Jan 14, 2019 at 04:21:22PM +0800, Ryder Lee wrote: > >> diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi > >> b/arch/arm64/boot/dts/mediatek/mt7622.dtsi > >> in

Re: [PATCH] arm64: dts: qcom: sdm845: Fix lpasscc reg

2019-01-17 Thread Doug Anderson
Hi, On Thu, Jan 17, 2019 at 11:30 AM Bjorn Andersson wrote: > > Fix up the lpasscc address and size, missed during the conversion to > address- and size-cells of 2. > > Reported-by: Doug Anderson > Signed-off-by: Bjorn Andersson > --- > > This goes ontop of my pull request to Andy available un

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

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

Re: [PATCH] drivers: pwm: pwm-bcm-kona: update macros to remove braces around numbers

2019-01-17 Thread Uwe Kleine-König
Hello, I'm sure Thierry doesn't want "drivers:" in the Subject, but usually he just fixes up stuff like that while applying, so I expect no reason to resend. On Thu, Jan 17, 2019 at 01:11:22AM +0530, Sheetal Tigadoli wrote: > update macros to remove braces around numbers > > Signed-off-by: Sheet

Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-17 Thread Keith Busch
On Thu, Jan 17, 2019 at 12:20:06PM -0500, Jeff Moyer wrote: > Keith Busch writes: > > On Thu, Jan 17, 2019 at 11:29:10AM -0500, Jeff Moyer wrote: > >> Dave Hansen writes: > >> > Persistent memory is cool. But, currently, you have to rewrite > >> > your applications to use it. Wouldn't it be coo

Re: [PATCH] rtlwifi: rtl818x: fix indentation issue

2019-01-17 Thread Larry Finger
On 1/17/19 1:29 PM, Joe Perches wrote: On Thu, 2019-01-17 at 15:28 +, Colin King wrote: From: Colin Ian King There is a statement that is indented too deeply. Fix this. Thanks. diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c b/drivers/net/wireless/realtek/rtl818x/rtl81

<    1   2   3   4   5   6   7   8   9   10   >