[GIT PULL] RISC-V additional updates for v5.4-rc1

2019-09-27 Thread Paul Walmsley
Linus, The following changes since commit b41dae061bbd722b9d7fa828f35d22035b218e18: Merge tag 'xfs-5.4-merge-7' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux (2019-09-18 18:32:43 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git

Re: [PATCH] mbox: qcom: avoid unused-variable warning

2019-09-27 Thread Stephen Boyd
Quoting Geert Uytterhoeven (2019-09-26 06:07:13) > Hi Stephen, > > On Fri, Sep 20, 2019 at 11:06 PM Stephen Boyd wrote: > > Quoting Arnd Bergmann (2019-09-20 12:27:50) > > > On Fri, Sep 20, 2019 at 6:45 PM Stephen Boyd wrote: > > > > > @@ -54,11 +60,6 @@ static int qcom_apcs_ipc_probe(struct >

Re: [v3,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr-alt-addr' property

2019-09-27 Thread Rob Herring
On Wed, Sep 25, 2019 at 03:34:47AM +, Leo Li wrote: > > > > -Original Message- > > From: Biwen Li > > Sent: Tuesday, September 24, 2019 10:30 PM > > To: Leo Li ; shawn...@kernel.org; > > robh...@kernel.org; mark.rutl...@arm.com; Ran Wang > > > > Cc: linuxppc-...@lists.ozlabs.org; lin

Re: [PATCH net] net: socionext: ave: Avoid using netdev_err() before calling register_netdev()

2019-09-27 Thread David Miller
From: Kunihiko Hayashi Date: Thu, 26 Sep 2019 15:35:10 +0900 > Until calling register_netdev(), ndev->dev_name isn't specified, and > netdev_err() displays "(unnamed net_device)". > > ave 6500.ethernet (unnamed net_device) (uninitialized): invalid > phy-mode setting > ave: probe of

Re: [PATCH] net: phy: micrel: add Asym Pause workaround for KSZ9021

2019-09-27 Thread David Miller
From: Hans Andersson Date: Thu, 26 Sep 2019 09:54:37 +0200 > From: Hans Andersson > > The Micrel KSZ9031 PHY may fail to establish a link when the Asymmetric > Pause capability is set. This issue is described in a Silicon Errata > (DS8691D or DS8692D), which advises to always disable th

Re: [PATCH] NFC: st95hf: clean up indentation issue

2019-09-27 Thread David Miller
From: Colin King Date: Thu, 26 Sep 2019 12:13:06 +0100 > From: Colin Ian King > > The return statement is indented incorrectly, add in a missing > tab and remove an extraneous space after the return > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH v3 1/5] media: dt-bindings: Add jpeg enc device tree node document

2019-09-27 Thread Rob Herring
On Tue, 24 Sep 2019 15:43:00 +0800, Xia Jiang wrote: > Add jpeg enc device tree node document. > > Signed-off-by: Xia Jiang > --- > v3: change compatible to SoC specific compatible > > v2: no changes > --- > .../bindings/media/mediatek-jpeg-encoder.txt | 37 +++ > 1 file change

Re: [PATCH] net: ena: clean up indentation issue

2019-09-27 Thread David Miller
From: Colin King Date: Thu, 26 Sep 2019 12:22:52 +0100 > From: Colin Ian King > > There memset is indented incorrectly, remove the extraneous tabs. > > Signed-off-by: Colin Ian King Applied.

[Patch 04/16] media: ti-vpe: Add support for SEQ_BT

2019-09-27 Thread Benoit Parrot
From: Nikhil Devshatwar SEQ_BT indicates the buffer for bottom field needs to be processed before the top field. Simplify the field selection logic to support SEQ_BT as well. Modify the interlace flags to include any of alternate, SEQ_TB, SEQ_BT. Update other format error checking to consider S

[Patch 02/16] media: ti-vpe: vpe: Add missing null pointer checks

2019-09-27 Thread Benoit Parrot
A few NULL pointer checks were missing. Add check with appropriate return code. Signed-off-by: Benoit Parrot --- drivers/media/platform/ti-vpe/vpe.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/ti-vpe/vpe.c b/drivers/media/platform/ti-

[Patch 03/16] media: ti-vpe: vpe: Remove unnecessary use of container_of

2019-09-27 Thread Benoit Parrot
Instead of saving a pointer to the 'fh' member of struct vpe_ctx to later have to use container_of to retrieve the actual pointer to the context structure, which seems to confuse static code analysis tool anyways, just save the pointer to the actual structure and then retrieve it directly. Signed-

[Patch 08/16] media: ti-vpe: vpe: fix a v4l2-compliance warning about invalid pixel format

2019-09-27 Thread Benoit Parrot
v4l2-compliance warns with this message: warn: v4l2-test-formats.cpp(717): \ TRY_FMT cannot handle an invalid pixelformat. warn: v4l2-test-formats.cpp(718): \ This may or may not be a problem. For more information see: warn: v4l2-test-formats.cpp(719): \ http://www

[Patch 16/16] media: ti-vpe: vpe: don't rely on colorspace member for conversion

2019-09-27 Thread Benoit Parrot
Up to now VPE was relying on the colorspace value of struct v4l2_format as an indication to perform color space conversion from YUV to RGB or not. Instead we should used the source/destination fourcc codes as a more reliable indication to perform color space conversion or not. Signed-off-by: Beno

[Patch 15/16] media: ti-vpe: vpe: fix v4l2_compliance issue related to xfer_func

2019-09-27 Thread Benoit Parrot
All 4 of the "colorspace" components were not originally handled. Causing issue related to xfer_func not being initialized properly. This was found with v4l2-compliance test. Signed-off-by: Benoit Parrot --- drivers/media/platform/ti-vpe/vpe.c | 12 1 file changed, 12 insertions(+)

[Patch 01/16] media: ti-vpe: vpe: Fix Motion Vector vpdma stride

2019-09-27 Thread Benoit Parrot
commit 52831a418fa6 ("[media] media: ti-vpe: vpe: allow use of user specified stride") and commit 8c1e4fa17e92 ("[media] media: ti-vpe: vpdma: add support for user specified stride") resulted in the Motion Vector stride to be the same as the image stride. This caused memory corruption in the outpu

[Patch 12/16] media: ti-vpe: vpe: ensure buffers are cleaned up properly in abort cases

2019-09-27 Thread Benoit Parrot
v4l2-compliance fails with this message: fail: v4l2-test-buffers.cpp(691): ret == 0 fail: v4l2-test-buffers.cpp(974): captureBufs(node, q, m2m_q, frame_count, true) test MMAP: FAIL This caused the following Kernel Warning: WARNING: CPU: 0 PID: 961 at drivers/media/v4l2-core/videobuf2-co

[Patch 14/16] media: ti-vpe: Set the DMA mask and coherent mask

2019-09-27 Thread Benoit Parrot
VPE uses VPDMA (built-in dma engine) to transfer data to and from the IP and memory. VPDMA expect 32 bits addresses. To make sure that is always the case set the DMA mask and coherent mask for the device. Signed-off-by: Benoit Parrot --- drivers/media/platform/ti-vpe/vpe.c | 7 +++ 1 file ch

[Patch 05/16] media: ti-vpe: Add support for NV21 format

2019-09-27 Thread Benoit Parrot
From: Nikhil Devshatwar In NV21 format, the chroma plane is written to memory such that the U and V components are swapped for NV12. Create a new entry in the VPDMA formats to describe the correct data types used in the data descriptors. Update all checks for NV12 and add NV21 there as well. A

[Patch 13/16] media: ti-vpe: vpdma: Use fixed type for address in descriptor

2019-09-27 Thread Benoit Parrot
Using dma_addr_t as the type to hold address inside of a fix sized descriptor used by the vpdma firmware is prone to fail when the expected width is 32 bits and suddenly when CONFIG_LPAE is enabled the data size is now 64 bits shifted the remaining members of the descriptor in memory which confuses

[Patch 10/16] media: ti-vpe: vpe: fix a v4l2-compliance failure about invalid sizeimage

2019-09-27 Thread Benoit Parrot
v4l2-compliance fails with this message: fail: v4l2-test-formats.cpp(463): !pfmt.sizeimage fail: v4l2-test-formats.cpp(736): \ Video Capture Multiplanar is valid, \ but TRY_FMT failed to return a format test VIDIOC_TRY_FMT: FAIL This failure is causd by the driver failing

Re: [GIT PULL] Thermal management updates for v5.4-rc1

2019-09-27 Thread Linus Torvalds
On Fri, Sep 27, 2019 at 6:08 AM Zhang Rui wrote: > > One thing to mention is that, all the patches have been tested in > linux-next for weeks, but there is a conflict detected, because > upstream has took commit eaf7b46083a7e34 ("docs: thermal: add it to the > driver API") from jc-docs tree while

[Patch 07/16] media: ti-vpe: vpe: fix a v4l2-compliance failure causing a kernel panic

2019-09-27 Thread Benoit Parrot
v4l2-compliance fails with this message: warn: v4l2-test-formats.cpp(717): \ TRY_FMT cannot handle an invalid pixelformat. test VIDIOC_TRY_FMT: FAIL This causes the following kernel panic: Unable to handle kernel paging request at virtual address 56595561 pgd = ecd80e00 *pgd=00

[Patch 11/16] media: ti-vpe: vpe: fix a v4l2-compliance failure about frame sequence number

2019-09-27 Thread Benoit Parrot
v4l2-compliance fails with this message: fail: v4l2-test-buffers.cpp(294): \ (int)g_sequence() < seq.last_seq + 1 fail: v4l2-test-buffers.cpp(740): \ buf.check(m2m_q, last_m2m_seq) fail: v4l2-test-buffers.cpp(974): \ captureBufs(node, q, m2m_q, frame_count, true)

[Patch 06/16] media: ti-vpe: Set MAX height supported to 2048 pixels

2019-09-27 Thread Benoit Parrot
From: Ram Prasad VPE's max height supported MAX_H is set to 1184 which is the padded height from VC1 decoder output. In case of 90, 270 degree rotated video processing, input to VPE will be 1080x1920, 720x1280 etc and MAX_H needs to be set correct value. Setting MAX_H to 2048 as worst case heigh

[Patch 09/16] media: ti-vpe: vpe: Make sure YUYV is set as default format

2019-09-27 Thread Benoit Parrot
v4l2-compliance fails with this message: fail: v4l2-test-formats.cpp(672): \ Video Capture Multiplanar: TRY_FMT(G_FMT) != G_FMT fail: v4l2-test-formats.cpp(672): \ Video Output Multiplanar: TRY_FMT(G_FMT) != G_FMT ... test VIDIOC_TRY_FMT: FAIL Fixes: 94ed726e8e01

[Patch 00/16] media: vpe: maintenance

2019-09-27 Thread Benoit Parrot
This a collection of backlog patches I have been carrying for the VPE driver. It adds supports for SEQ_BT as well as NV21. And fixes a number of issues both through v4l2-compliance and normal usage. == v4l2-compliance SHA: 5b168dc8473911227890526bad26553d9e8ff8

Re: [GIT PULL REQUEST] watchdog - v5.4 Merge window

2019-09-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Sep 2019 09:15:27 +0200: > git://www.linux-watchdog.org/linux-watchdog.git tags/linux-watchdog-5.4-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7bccb9f10c8f36ee791769b531ed4d28f6379aae Thank you! -- Deet-doot-dot, I am a bo

Re: [GIT PULL] NTB changes for v5.4

2019-09-27 Thread pr-tracker-bot
The pull request you sent on Thu, 26 Sep 2019 13:35:22 -0400: > git://github.com/jonmason/ntb tags/ntb-5.4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0cd81d77d0569f1dc1e39abeea93c6184e9b5b54 Thank you! -- Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/u

Re: [Patch v3 5/8] media: dt-bindings: ov2659: add powerdown/reset-gpios optional property

2019-09-27 Thread Rob Herring
On Tue, 24 Sep 2019 11:44:11 -0500, Benoit Parrot wrote: > Add powerdown-gpios and reset-gpios to the list of optional properties > for the OV2659 camera sensor. > > Signed-off-by: Benoit Parrot > --- > Documentation/devicetree/bindings/media/i2c/ov2659.txt | 9 + > 1 file changed, 9 ins

[PATCH v6 0/7] Add support of New Amlogic temperature sensor for G12 SoCs

2019-09-27 Thread Guillaume La Roque
This patchs series add support of New Amlogic temperature sensor and minimal thermal zone for SEI510 and ODROID-N2 boards. First implementation was doing on IIO[1] but after comments i move on thermal framework. Formulas and calibration values come from amlogic. Changes since v5: - fix patch 5

[PATCH v6 5/7] arm64: dts: amlogic: g12a: add cooling properties

2019-09-27 Thread Guillaume La Roque
Add missing #colling-cells field for G12A SoC Add cooling-map for passive and hot trip point Tested-by: Christian Hewitt Tested-by: Kevin Hilman Signed-off-by: Guillaume La Roque --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 24 + 1 file changed, 24 insertions(+) diff

[PATCH v6 4/7] arm64: dts: meson: g12: Add minimal thermal zone

2019-09-27 Thread Guillaume La Roque
Add minimal thermal zone for two temperature sensor One is located close to the DDR and the other one is located close to the PLLs (between the CPU and GPU) Acked-by: Martin Blumenstingl Tested-by: Christian Hewitt Tested-by: Kevin Hilman Signed-off-by: Guillaume La Roque --- .../boot/dts/aml

[PATCH v6 7/7] MAINTAINERS: add entry for Amlogic Thermal driver

2019-09-27 Thread Guillaume La Roque
Add myself as maintainer for Amlogic Thermal driver. Reviewed-by: Neil Armstrong Signed-off-by: Guillaume La Roque --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 390c3194ee93..bdc30d740342 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @

Re: [PATCH] tools: bpf: Use !building_out_of_srctree to determine srctree

2019-09-27 Thread Song Liu
On Thu, Sep 26, 2019 at 6:14 PM Shuah Khan wrote: > > make TARGETS=bpf kselftest fails with: > > Makefile:127: tools/build/Makefile.include: No such file or directory > > When the bpf tool make is invoked from tools Makefile, srctree is > cleared and the current logic check for srctree equals to e

[PATCH v6 6/7] arm64: dts: amlogic: g12b: add cooling properties

2019-09-27 Thread Guillaume La Roque
Add missing #colling-cells field for G12B SoC Add cooling-map for passive and hot trip point Tested-by: Christian Hewitt Tested-by: Kevin Hilman Signed-off-by: Guillaume La Roque --- arch/arm64/boot/dts/amlogic/meson-g12b.dtsi | 29 + 1 file changed, 29 insertions(+) diff

[PATCH v6 3/7] arm64: dts: amlogic: g12: add temperature sensor

2019-09-27 Thread Guillaume La Roque
Add cpu and ddr temperature sensors for G12 Socs Reviewed-by: Martin Blumenstingl Tested-by: Christian Hewitt Tested-by: Kevin Hilman Signed-off-by: Guillaume La Roque --- .../boot/dts/amlogic/meson-g12-common.dtsi| 20 +++ 1 file changed, 20 insertions(+) diff --git a/ar

[PATCH v6 2/7] thermal: amlogic: Add thermal driver to support G12 SoCs

2019-09-27 Thread Guillaume La Roque
Amlogic G12A and G12B SoCs integrate two thermal sensors with the same design. One is located close to the DDR controller and the other one is located close to the PLLs (between the CPU and GPU). The calibration data for each of the thermal sensors instance is stored in a different location within

[PATCH v6 1/7] dt-bindings: thermal: Add DT bindings documentation for Amlogic Thermal

2019-09-27 Thread Guillaume La Roque
Adding the devicetree binding documentation for the Amlogic temperature sensor found in the Amlogic Meson G12A and G12B SoCs. Reviewed-by: Rob Herring Tested-by: Christian Hewitt Tested-by: Kevin Hilman Signed-off-by: Guillaume La Roque --- .../bindings/thermal/amlogic,thermal.yaml | 54 +

[Patch v4 7/8] media: i2c: ov2659: Fix missing 720p register config

2019-09-27 Thread Benoit Parrot
The initial registers sequence is only loaded at probe time. Afterward only the resolution and format specific register are modified. Care must be taken to make sure registers modified by one resolution setting are reverted back when another resolution is programmed. This was not done properly for

[Patch v4 3/8] media: i2c: ov2659: Cleanup include file list

2019-09-27 Thread Benoit Parrot
Several of include files listed are not explicitly needed. If they are need then they are implicitly included. Reduce the list of includes to an easier to manage list. Signed-off-by: Benoit Parrot --- drivers/media/i2c/ov2659.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/

[Patch v4 0/8] media: i2c: ov2659: maintenance series

2019-09-27 Thread Benoit Parrot
This patch series is a collection of patches we have been carrying for a while. It includes a few sensor register fixes which would cause visual artifacts at lower resolution and also at 720p. Also on some board the 'powerdown' and /or 'reset' pins are not tied so we need to add support for optio

[Patch v4 5/8] media: dt-bindings: ov2659: add powerdown/reset-gpios optional property

2019-09-27 Thread Benoit Parrot
Add powerdown-gpios and reset-gpios to the list of optional properties for the OV2659 camera sensor. Signed-off-by: Benoit Parrot --- Documentation/devicetree/bindings/media/i2c/ov2659.txt | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/ov

[Patch v4 4/8] media: i2c: ov2659: fix s_stream return value

2019-09-27 Thread Benoit Parrot
In ov2659_s_stream() return value for invoked function should be checked and propagated. Signed-off-by: Benoit Parrot --- drivers/media/i2c/ov2659.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/media/i2c/ov2659.c b/drivers/media/i2c/ov2659.c index f7732

[Patch v4 1/8] media: i2c: ov2659: Fix for image wrap-around in lower resolution

2019-09-27 Thread Benoit Parrot
Based on recently found sensor configuration examples, it was discovered that when scaling and binning are used for the lower resolutions (i.e. 640x480, 320x240) the read offset has to be increased otherwise the image appears to be wrapped around. Signed-off-by: Benoit Parrot Signed-off-by: Jyri

[Patch v4 2/8] media: i2c: ov2659: Fix sensor detection to actually fail when device is not present

2019-09-27 Thread Benoit Parrot
Make sure that if the expected sensor device id register is not recognized properly the failure is propagated up so devices are not left partially initialized. Signed-off-by: Benoit Parrot Signed-off-by: Jyri Sarha --- drivers/media/i2c/ov2659.c | 5 +++-- 1 file changed, 3 insertions(+), 2 del

[Patch v4 8/8] media: i2c: ov2659: Switch to SPDX Licensing

2019-09-27 Thread Benoit Parrot
Switch to SPDX licensing and drop the redundant GPL text. Signed-off-by: Benoit Parrot --- drivers/media/i2c/ov2659.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/media/i2c/ov2659.c b/drivers/media/i2c/ov2659.c index 720310e0725d..e6da23d3a555 100644

[Patch v4 6/8] media: i2c: ov2659: Add powerdown/reset gpio handling

2019-09-27 Thread Benoit Parrot
On some board it is possible that the sensor 'powerdown' and or 'reset' pin might be controlled by gpio instead of being tied. To implement we add pm_runtime support which will handle the power up/down sequence when it is available otherwise the sensor will be powered on at module insertion/probe

Re: [PATCH 1/2] clk: sprd: Use IS_ERR() to validate the return value of syscon_regmap_lookup_by_phandle()

2019-09-27 Thread Stephen Boyd
Quoting Baolin Wang (2019-09-26 20:50:53) > The syscon_regmap_lookup_by_phandle() will never return NULL, thus use > IS_ERR() to validate the return value instead of IS_ERR_OR_NULL(). > > Signed-off-by: Baolin Wang > --- > drivers/clk/sprd/common.c |2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH V9 5/5] mmc: host: sdhci-pci: Add Genesys Logic GL975x support

2019-09-27 Thread Ulf Hansson
On Mon, 23 Sep 2019 at 23:39, Michael K. Johnson wrote: > > On Wed, Sep 18, 2019 at 02:07:51PM +0300, Adrian Hunter wrote: > > On 18/09/19 1:47 PM, Michael K. Johnson wrote: > > > I see that the first four patches made it into Linus's kernel > > > yesterday. Is there any chance of this final patch

[ANNOUNCE] 4.14.146-rt67

2019-09-27 Thread Tom Zanussi
Hello RT Folks! I'm pleased to announce the 4.14.146-rt67 stable release. This release is just an update to the new stable 4.14.146 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt

[PATCH] drivers/clk: convert VL struct to struct_size

2019-09-27 Thread Stephen Kitt
There are a few manually-calculated variable-length struct allocations left, this converts them to use struct_size. Signed-off-by: Stephen Kitt --- drivers/clk/at91/sckc.c | 3 +-- drivers/clk/imgtec/clk-boston.c | 3 +-- drivers/clk/ingenic/tcu.c

Re: [PATCH v3] nfp: abm: fix memory leak in nfp_abm_u32_knode_replace

2019-09-27 Thread David Miller
From: Navid Emamdoost Date: Thu, 26 Sep 2019 20:51:46 -0500 > In nfp_abm_u32_knode_replace if the allocation for match fails it should > go to the error handling instead of returning. Updated other gotos to > have correct errno returned, too. > > Signed-off-by: Navid Emamdoost Applied.

Re: [PATCH] net: tap: clean up an indentation issue

2019-09-27 Thread David Miller
From: Colin King Date: Fri, 27 Sep 2019 10:40:39 +0100 > From: Colin Ian King > > There is a statement that is indented too deeply, remove > the extraneous tab. > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH v2] vsock/virtio: add support for MSG_PEEK

2019-09-27 Thread David Miller
This is net-next material.

Re: [PATCH 1/2] Modify cpupower to schedule itself on cores it is reading MSRs from

2019-09-27 Thread shuah
On 9/18/19 10:34 AM, Natarajan, Janakarajan wrote: Modify cpupower to schedule itself on each of the cpus in the system and then get the APERF/MPERF register values. This is advantageous because an IPI is not generated when a read_msr() is executed on the local logical CPU thereby reducing the c

RE: [Intel-wired-lan] [PATCH] i40e: prevent memory leak in i40e_setup_macvlans

2019-09-27 Thread Bowers, AndrewX
> -Original Message- > From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On > Behalf Of Navid Emamdoost > Sent: Wednesday, September 25, 2019 8:49 AM > Cc: net...@vger.kernel.org; k...@umn.edu; linux-kernel@vger.kernel.org; > emamd...@umn.edu; intel-wired-...@lists.osuosl.or

Re: [PATCH] tools: bpf: Use !building_out_of_srctree to determine srctree

2019-09-27 Thread Shuah Khan
On 9/27/19 12:44 PM, Song Liu wrote: On Thu, Sep 26, 2019 at 6:14 PM Shuah Khan wrote: make TARGETS=bpf kselftest fails with: Makefile:127: tools/build/Makefile.include: No such file or directory When the bpf tool make is invoked from tools Makefile, srctree is cleared and the current logic

Re: [PATCH] media: i2c: adv7180: fix adv7280 BT.656-4 compatibility

2019-09-27 Thread Niklas Söderlund
Hi Tim, Sorry for taking to so long to look at this. On 2019-09-23 15:04:47 -0700, Tim Harvey wrote: > On Thu, Aug 29, 2019 at 7:29 AM Niklas Söderlund > wrote: > > > > Hi, > > > > On 2019-08-29 13:43:49 +0200, Hans Verkuil wrote: > > > Adding Niklas. > > > > > > Niklas, can you take a look at t

Re: [PATCH 1/3] ARM: dts: add Netronix E60K02 board common file

2019-09-27 Thread Andreas Kemnade
Hi Marco, On Fri, 27 Sep 2019 11:47:21 +0200 Marco Felsch wrote: > Hi Andreas, > > thanks for the patch. > thanks for the quick review. Most of your comments are clear. [...] > > + wifi_pwrseq: wifi_pwrseq { > > + compatible = "mmc-pwrseq-simple"; > > + post-power-on-del

Re: [PATCH] mbox: qcom: avoid unused-variable warning

2019-09-27 Thread Geert Uytterhoeven
Hi Stephen, On Fri, Sep 27, 2019 at 8:26 PM Stephen Boyd wrote: > Quoting Geert Uytterhoeven (2019-09-26 06:07:13) > > On Fri, Sep 20, 2019 at 11:06 PM Stephen Boyd wrote: > > > Quoting Arnd Bergmann (2019-09-20 12:27:50) > > > > On Fri, Sep 20, 2019 at 6:45 PM Stephen Boyd wrote: > > > > > > @

Re: [PATCH] tools/power/cpupower: Fix initializer override in hsw_ext_cstates

2019-09-27 Thread shuah
On 9/27/19 10:26 AM, Nathan Chancellor wrote: When building cpupower with clang, the following warning appears: utils/idle_monitor/hsw_ext_idle.c:42:16: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] .desc =

Re: [PATCH] media: i2c: adv7180: fix adv7280 BT.656-4 compatibility

2019-09-27 Thread Fabio Estevam
Hi Tim, On Wed, Sep 25, 2019 at 9:22 PM Tim Harvey wrote: > Have you looked at this yet? Without this patch the ADV7280A does not > output proper BT.656. We tested this on a Gateworks Ventana GW5404-G > which uses the ADV7280A connected to the IMX6 CSI parallel bus. I'm > hoping to see this get

Re: [GIT PULL] pwm: Changes for v5.4-rc1

2019-09-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Sep 2019 18:31:04 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git > tags/pwm/for-5.4-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e37e3bc7e265d05d00f14079767537699cf6bd46 Thank you! -- D

Re: [PATCH] media: i2c: adv7180: fix adv7280 BT.656-4 compatibility

2019-09-27 Thread Tim Harvey
On Fri, Sep 27, 2019 at 12:04 PM Niklas Söderlund wrote: > > Hi Tim, > > Sorry for taking to so long to look at this. > > On 2019-09-23 15:04:47 -0700, Tim Harvey wrote: > > On Thu, Aug 29, 2019 at 7:29 AM Niklas Söderlund > > wrote: > > > > > > Hi, > > > > > > On 2019-08-29 13:43:49 +0200, Hans

Re: [GIT PULL] Thermal management updates for v5.4-rc1

2019-09-27 Thread Doug Ledford
On Fri, 2019-09-27 at 11:34 -0700, Linus Torvalds wrote: > On Fri, Sep 27, 2019 at 6:08 AM Zhang Rui wrote: > > One thing to mention is that, all the patches have been tested in > > linux-next for weeks, but there is a conflict detected, because > > upstream has took commit eaf7b46083a7e34 ("docs:

Re: [PATCH] mm, page_alloc: drop pointless static qualifier in build_zonelists()

2019-09-27 Thread Dan Williams
On Fri, Sep 27, 2019 at 9:14 AM Kaitao Cheng wrote: > > There is no need to make the 'node_order' variable static > since new value always be assigned before use it. > > Signed-off-by: Kaitao Cheng > Signed-off-by: Muchun Song > --- > mm/page_alloc.c | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH 1/2] dt-bindings: firmware: Add bindings for Versal firmware

2019-09-27 Thread Jolly Shah
ZynqMP firmware driver can be used for versal also. Add versal compatible string to zynqmp firmware driver doc. Signed-off-by: Jolly Shah --- .../bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt| 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Documentati

[PATCH 2/2] drivers: firmware: xilinx: Add support for versal soc

2019-09-27 Thread Jolly Shah
Versal is xilinx's next generation soc. This patch adds driver support required to be compatible with versal device. Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/xilinx/zynqmp.c b/drive

[PATCH 0/2] drivers: firmware: xilinx: Add support for versal soc

2019-09-27 Thread Jolly Shah
Versal is xilinx's next generation soc. This patch adds driver support required to be compatible with versal device. Jolly Shah (2): dt-bindings: firmware: Add bindings for Versal firmware drivers: firmware: xilinx: Add support for versal soc .../bindings/firmware/xilinx/xlnx,zynqmp-firmware

Re: [GIT PULL] Thermal management updates for v5.4-rc1

2019-09-27 Thread Linus Torvalds
On Fri, Sep 27, 2019 at 12:29 PM Doug Ledford wrote: > > Because there are literally thousands of developers working on kernel > bits here and there, and you're swatting this particular fly one > developer at a time. Well, at least these days it's also very clearly spelled out in the Documentatio

Re: [PATCH] kasan: fix the missing underflow in memmove and memcpy with CONFIG_KASAN_GENERIC=y

2019-09-27 Thread Dmitry Vyukov
On Fri, Sep 27, 2019 at 4:22 PM Walter Wu wrote: > > On Fri, 2019-09-27 at 15:07 +0200, Dmitry Vyukov wrote: > > On Fri, Sep 27, 2019 at 5:43 AM Walter Wu wrote: > > > > > > memmove() and memcpy() have missing underflow issues. > > > When -7 <= size < 0, then KASAN will miss to catch the underflo

[PATCH] mm/page_alloc: fix a crash in free_pages_prepare()

2019-09-27 Thread Qian Cai
On architectures like s390, arch_free_page() could mark the page unused (set_page_unused()) and any access later would trigger a kernel panic. Fix it by moving arch_free_page() after all possible accessing calls. Hardware name: IBM 2964 N96 400 (z/VM 6.4.0) Krnl PSW : 0404e0018000 26

Re: [PATCH] powerpc/vio: use simple dummy struct device as bus parent

2019-09-27 Thread Dan Streetman
On Fri, Sep 27, 2019 at 2:19 PM Greg Kroah-Hartman wrote: > > On Fri, Sep 27, 2019 at 09:04:02AM -0400, Dan Streetman wrote: > > The dummy vio_bus_device creates the /sys/devices/vio directory, which > > contains real vio devices under it; since it represents itself as having > > a bus = &vio_bus_

Re: [GIT PULL] Thermal management updates for v5.4-rc1

2019-09-27 Thread Richard Weinberger
On Fri, Sep 27, 2019 at 9:30 PM Doug Ledford wrote: > Because there are literally thousands of developers working on kernel > bits here and there, and you're swatting this particular fly one > developer at a time. I strongly disagree. One of the golden rules of kernel development is, read what Li

Re: [GIT PULL] Thermal management updates for v5.4-rc1

2019-09-27 Thread Doug Ledford
On Fri, 2019-09-27 at 12:41 -0700, Linus Torvalds wrote: > On Fri, Sep 27, 2019 at 12:29 PM Doug Ledford > wrote: > > Because there are literally thousands of developers working on > > kernel > > bits here and there, and you're swatting this particular fly one > > developer at a time. > > Well, a

Re: [PATCH v2] arm64/sve: Fix wrong free for task->thread.sve_state

2019-09-27 Thread Julien Grall
Hi Dave, On 27/09/2019 17:15, Dave Martin wrote: > On Fri, Sep 27, 2019 at 11:39:49AM -0400, Masayoshi Mizuma wrote: >> From: Masayoshi Mizuma >> >> The system which has SVE feature crashed because of >> the memory pointed by task->thread.sve_state was destroyed >> by someone. >> >> That is becau

Re: [GIT PULL] Thermal management updates for v5.4-rc1

2019-09-27 Thread Doug Ledford
On Fri, 2019-09-27 at 21:52 +0200, Richard Weinberger wrote: > On Fri, Sep 27, 2019 at 9:30 PM Doug Ledford > wrote: > > Because there are literally thousands of developers working on > > kernel > > bits here and there, and you're swatting this particular fly one > > developer at a time. > > I st

Re: [PATCH] ieee802154: ca8210: prevent memory leak

2019-09-27 Thread Stefan Schmidt
Hello. On 18.09.19 00:47, Navid Emamdoost wrote: In ca8210_probe the allocated pdata needs to be assigned to spi_device->dev.platform_data before calling ca8210_get_platform_data. Othrwise when ca8210_get_platform_data fails pdata cannot be released. Signed-off-by: Navid Emamdoost --- driver

Re: [PATCH RT 4/8] sched: migrate disable: Protect cpus_ptr with lock

2019-09-27 Thread Scott Wood
On Fri, 2019-09-27 at 14:19 +0200, Sebastian Andrzej Siewior wrote: > On 2019-09-26 11:52:42 [-0500], Scott Wood wrote: > > Looks good, thanks! > > Thanks, just released. > Moving forward. It would be nice to have some DL-dev feedback on DL > patch. For the remaining once, could please throw Steve

[GIT PULL] nfsd changes for 5.4

2019-09-27 Thread J. Bruce Fields
Please pull nfsd changes from: git://linux-nfs.org/~bfields/linux.git tags/nfsd-5.4 --b. Highlights: - add a new knfsd file cache, so that we don't have to open and close on each (NFSv2/v3) READ or WRITE. This

Re: [PATCH 1/2] dt-bindings: clock: meson: add A1 clock controller bindings

2019-09-27 Thread Rob Herring
On Wed, Sep 25, 2019 at 6:45 AM Jian Hu wrote: > > Add the documentation to support Amlogic A1 clock driver, > and add A1 clock controller bindings. > > Signed-off-by: Jian Hu > Signed-off-by: Jianxin Pan > --- > .../devicetree/bindings/clock/amlogic,a1-clkc.yaml | 65 + > include/

Re: [GIT PULL] RISC-V additional updates for v5.4-rc1

2019-09-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Sep 2019 11:25:13 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git > tags/riscv/for-v5.4-rc1-b has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/568d850e3c6015acec8f854f5be97766497a676b Thank you! -- Dee

Re: [GIT PULL] Second batch of KVM changes for Linux 5.4 merge window

2019-09-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Sep 2019 14:08:02 +0200: > https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8bbe0dec38e147a50e9dd5f585295f7e68e0f2d0 Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [GIT PULL] arch/nios2 update for v5.4

2019-09-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Sep 2019 16:50:52 +0800: > (unable to parse the git remote) has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/70570a6418be2bd28be30fda700e57a81df7282b Thank you! -- Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prt

Re: [PATCH v2 2/3] KVM: x86: fix nested guest live migration with PML

2019-09-27 Thread Junaid Shahid
On 9/27/19 4:15 AM, Paolo Bonzini wrote: > Shadow paging is fundamentally incompatible with the page-modification > log, because the GPAs in the log come from the wrong memory map. > In particular, for the EPT page-modification log, the GPAs in the log come > from L2 rather than L1. (If there was

Re: [PATCH 00/22] x86, objtool: several fixes/improvements

2019-09-27 Thread Nick Desaulniers
On Thu, Jul 18, 2019 at 3:26 PM Nick Desaulniers wrote: > > On Tue, Jul 16, 2019 at 4:17 PM Josh Poimboeuf wrote: > > > > > > > 2) There's also an issue in clang where a large switch table had a > > > > > bunch > > > > >of unused (bad) entries. It's not a code correctness issue, but > > > >

Re: [PATCH v3 1/3] dt-bindings: dmaengine: dma-common: Change dma-channel-mask to uint32-array

2019-09-27 Thread Rob Herring
On Thu, Sep 26, 2019 at 02:19:52PM +0300, Peter Ujfalusi wrote: > Make the dma-channel-mask to be usable for controllers with more than 32 > channels. > > Signed-off-by: Peter Ujfalusi > --- > Documentation/devicetree/bindings/dma/dma-common.yaml | 9 - > 1 file changed, 8 insertions(+),

Re: [Patch v4 4/8] media: i2c: ov2659: fix s_stream return value

2019-09-27 Thread Lad, Prabhakar
Hi Benoit, thank you for the patch. On Fri, Sep 27, 2019 at 7:46 PM Benoit Parrot wrote: > > In ov2659_s_stream() return value for invoked function should be checked > and propagated. > > Signed-off-by: Benoit Parrot > --- > drivers/media/i2c/ov2659.c | 11 +++ > 1 file changed, 7 inse

Re: [Patch v4 1/8] media: i2c: ov2659: Fix for image wrap-around in lower resolution

2019-09-27 Thread Lad, Prabhakar
On Fri, Sep 27, 2019 at 7:47 PM Benoit Parrot wrote: > > Based on recently found sensor configuration examples, it was > discovered that when scaling and binning are used for the lower > resolutions (i.e. 640x480, 320x240) the read offset has to be > increased otherwise the image appears to be wra

Re: [Patch v4 2/8] media: i2c: ov2659: Fix sensor detection to actually fail when device is not present

2019-09-27 Thread Lad, Prabhakar
On Fri, Sep 27, 2019 at 7:47 PM Benoit Parrot wrote: > > Make sure that if the expected sensor device id register > is not recognized properly the failure is propagated > up so devices are not left partially initialized. > > Signed-off-by: Benoit Parrot > Signed-off-by: Jyri Sarha > --- > drive

Re: [Patch v4 3/8] media: i2c: ov2659: Cleanup include file list

2019-09-27 Thread Lad, Prabhakar
On Fri, Sep 27, 2019 at 7:47 PM Benoit Parrot wrote: > > Several of include files listed are not explicitly needed. > If they are need then they are implicitly included. > > Reduce the list of includes to an easier to manage list. > > Signed-off-by: Benoit Parrot > --- > drivers/media/i2c/ov2659

Re: [Patch v4 7/8] media: i2c: ov2659: Fix missing 720p register config

2019-09-27 Thread Lad, Prabhakar
On Fri, Sep 27, 2019 at 7:47 PM Benoit Parrot wrote: > > The initial registers sequence is only loaded at probe > time. Afterward only the resolution and format specific > register are modified. Care must be taken to make sure > registers modified by one resolution setting are reverted > back when

Re: [Patch v4 5/8] media: dt-bindings: ov2659: add powerdown/reset-gpios optional property

2019-09-27 Thread Lad, Prabhakar
On Fri, Sep 27, 2019 at 7:47 PM Benoit Parrot wrote: > > Add powerdown-gpios and reset-gpios to the list of optional properties > for the OV2659 camera sensor. > > Signed-off-by: Benoit Parrot > --- > Documentation/devicetree/bindings/media/i2c/ov2659.txt | 9 + > 1 file changed, 9 inser

Re: [PATCH] powerpc/prom_init: Undo relocation before entering secure mode

2019-09-27 Thread Thiago Jung Bauermann
Thiago Jung Bauermann writes: > Thiago Jung Bauermann writes: > >> The ultravisor will do an integrity check of the kernel image but we >> relocated it so the check will fail. Restore the original image by >> relocating it back to the kernel virtual base address. >> >> This works because durin

Re: [alsa-devel] [PATCH v2] ASoC: Intel: Skylake: prevent memory leak in snd_skl_parse_uuids

2019-09-27 Thread Andy Shevchenko
On Fri, Sep 27, 2019 at 7:39 PM Pierre-Louis Bossart wrote: > > The problem with solution #1 is freeing orphaned pointer. It will work, > > but it's simple is not okay from object life time prospective. > > ?? I don't get your point at all Andy. > Two allocations happens in a loop and if the secon

Re: Do we need to correct barriering in circular-buffers.rst?

2019-09-27 Thread Nick Desaulniers
On Fri, Sep 27, 2019 at 5:49 AM Peter Zijlstra wrote: > > On Fri, Sep 27, 2019 at 11:51:07AM +0200, Andrea Parri wrote: > > > For the record, the LKMM doesn't currently model "order" derived from > > control dependencies to a _plain_ access (even if the plain access is > > a write): in particular,

Re: [PATCH] media: i2c: adv7180: fix adv7280 BT.656-4 compatibility

2019-09-27 Thread Niklas Söderlund
Hi Tim, On 2019-09-27 12:26:40 -0700, Tim Harvey wrote: > On Fri, Sep 27, 2019 at 12:04 PM Niklas Söderlund > wrote: > > > > Hi Tim, > > > > Sorry for taking to so long to look at this. > > > > On 2019-09-23 15:04:47 -0700, Tim Harvey wrote: > > > On Thu, Aug 29, 2019 at 7:29 AM Niklas Söderlund

Re: [PATCH v3 2/3] dt-bindings: dma: ti-edma: Document dma-channel-mask for EDMA

2019-09-27 Thread Rob Herring
On Thu, Sep 26, 2019 at 02:19:53PM +0300, Peter Ujfalusi wrote: > Similarly to paRAM slots, channels can be used by other cores. > > The common dma-channel-mask property can be used for specifying the > available channels. > > Signed-off-by: Peter Ujfalusi > --- > Documentation/devicetree/bindi

WARNING in em28xx_init_extension

2019-09-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:2994c077 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=171c4be360 kernel config: https://syzkaller.appspot.com/x/.

Re: [PATCH] mm/page_alloc: fix a crash in free_pages_prepare()

2019-09-27 Thread Andrew Morton
On Fri, 27 Sep 2019 15:47:03 -0400 Qian Cai wrote: > On architectures like s390, arch_free_page() could mark the page unused > (set_page_unused()) and any access later would trigger a kernel panic. > Fix it by moving arch_free_page() after all possible accessing calls. > > Hardware name: IBM 29

  1   2   3   4   5   6   7   >