Re: [PATCH v8 05/26] clocksource: Add driver for the Ingenic JZ47xx OST

2019-01-24 Thread Paul Cercueil
Le jeu. 24 janv. 2019 à 16:28, Stephen Boyd a écrit : Quoting Guenter Roeck (2019-01-23 10:01:55) On Wed, Jan 23, 2019 at 02:25:53PM -0300, Paul Cercueil wrote: > Hi, > > Le mer. 23 janv. 2019 à 11:31, Guenter Roeck a écrit : > >On 1/23/19 4:58 AM, Mathieu Malaterre wrote: >

[PATCH 3/3] fpga: mgr: altera-ps-spi: make array dummy static, shrinks object size

2019-01-24 Thread Alan Tull
From: Colin Ian King Don't populate the const array dummy on the stack but instead make it static. Makes the object code smaller by 26 bytes: Before: textdata bss dec hex filename 73712032 0940324bb drivers/fpga/altera-ps-spi.o After: textdata

[PATCH 2/3] fpga: altera_freeze_bridge: remove restriction to socfpga

2019-01-24 Thread Alan Tull
The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA since it can be used on other platforms such as Stratix10. Signed-off-by: Alan Tull Reviewed-by: Moritz Fischer --- drivers/fpga/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fpga/Kconfig

[PATCH 0/3] patches for FPGA

2019-01-24 Thread Alan Tull
Hi Greg, Please take these patches for fpga. They have been reviewed on the mailing list and apply cleanly on current linux-next. The "fpga: stratix10-soc: fix wrong of_node_put() in init function" is a bug fix, sorry it's late. It will only affect the Stratix10 platform. The other two can go

[PATCH 1/3] fpga: stratix10-soc: fix wrong of_node_put() in init function

2019-01-24 Thread Alan Tull
From: Nicolas Saenz Julienne After finding a "firmware" dt node stratix10 tries to match it's compatible string with it. To do so it's calling of_find_matching_node() which already takes care of decreasing the refcount on the "firmware" node. We are then incorrectly decreasing the refcount on

Re: [PATCH ghak90 (was ghak32) V4 01/10] audit: collect audit task parameters

2019-01-24 Thread Richard Guy Briggs
On 2019-01-03 15:10, Paul Moore wrote: > On Thu, Nov 1, 2018 at 6:07 PM Richard Guy Briggs wrote: > > On 2018-10-19 19:15, Paul Moore wrote: > > > On Sun, Aug 5, 2018 at 4:32 AM Richard Guy Briggs wrote: > > > > The audit-related parameters in struct task_struct should ideally be > > > >

Re: [Xen-devel] [RFC] virtio_ring: check dma_mem for xen_domain

2019-01-24 Thread Michael S. Tsirkin
On Thu, Jan 24, 2019 at 11:14:53AM -0800, Stefano Stabellini wrote: > On Thu, 24 Jan 2019, Peng Fan wrote: > > Hi stefano, > > > > > -Original Message- > > > From: Stefano Stabellini [mailto:sstabell...@kernel.org] > > > Sent: 2019年1月24日 7:44 > > > To: h...@infradead.org > > > Cc: Stefano

[PATCH 7/8 v5] arm64: dts: hi3660: Add hisi asp dma device

2019-01-24 Thread John Stultz
From: Youlin Wang Add asp-dma device to hi3660 dts Cc: Tanglei Han Cc: Zhuangluan Su Cc: Ryan Grachek Cc: Manivannan Sadhasivam Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org Cc: devicet...@vger.kernel.org Acked-by: Manivannan Sadhasivam

[PATCH 3/8 v5] dma: k3dma: Upgrade k3dma driver to support hisi_asp_dma hardware

2019-01-24 Thread John Stultz
From: Youlin Wang On the hi3660 hardware there are two (at least) DMA controllers, the DMA-P (Peripheral DMA) and the DMA-A (Audio DMA). The two blocks are similar, but have some slight differences. This resulted in the vendor implementing two separate drivers, which after review, they have been

[PATCH 8/8 v5] arm64: dts: hi3660: Fixup unofficial dma-min-chan to dma-channel-mask

2019-01-24 Thread John Stultz
A undocumented and unimplemented binding got into the hi3660 dtsi, and this switches that binding to the now documented one. Cc: Tanglei Han Cc: Zhuangluan Su Cc: Ryan Grachek Cc: Manivannan Sadhasivam Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH 0/8 v5] k3dma patches to add support for hi3660/HiKey960

2019-01-24 Thread John Stultz
This patch series is based on recent work by Tanglei Han, and adds support for hi3660 SoCs as found on the HiKey960 board, along with a few patches I've been carrying. thanks -john New in v5: * Minor typo fixes, minor rework to use BIT() macros Cc: Tanglei Han Cc: Zhuangluan Su Cc: Dan

[PATCH v10 4/4] sound/usb: Use Media Controller API to share media resources

2019-01-24 Thread Shuah Khan
Media Device Allocator API to allows multiple drivers share a media device. This API solves a very common use-case for media devices where one physical device (an USB stick) provides both audio and video. When such media device exposes a standard USB Audio class, a proprietary Video class, two or

[PATCH v10 2/4] media: change au0828 to use Media Device Allocator API

2019-01-24 Thread Shuah Khan
Media Device Allocator API to allows multiple drivers share a media device. This API solves a very common use-case for media devices where one physical device (an USB stick) provides both audio and video. When such media device exposes a standard USB Audio class, a proprietary Video class, two or

[PATCH 5/8 v5] dma: k3dma: Add support for dma-channel-mask

2019-01-24 Thread John Stultz
From: Li Yu Add dma-channel-mask as a property for k3dma, it defines available dma channels which a non-secure mode driver can use. One sample usage of this is in Hi3660 SoC. DMA channel 0 is reserved to lpm3, which is a coprocessor for power management. So as a result, any request in kernel

[PATCH v10 3/4] media: media.h: Enable ALSA MEDIA_INTF_T* interface types

2019-01-24 Thread Shuah Khan
Move PCM_CAPTURE, PCM_PLAYBACK, and CONTROL ALSA MEDIA_INTF_T* interface types back into __KERNEL__ scope to get ready for adding ALSA support for these to the media controller. Signed-off-by: Shuah Khan --- include/uapi/linux/media.h | 25 +++-- 1 file changed, 15

[PATCH v10 1/4] media: Media Device Allocator API

2019-01-24 Thread Shuah Khan
Media Device Allocator API to allows multiple drivers share a media device. This API solves a very common use-case for media devices where one physical device (an USB stick) provides both audio and video. When such media device exposes a standard USB Audio class, a proprietary Video class, two or

[PATCH v10 0/4] Media Device Allocator API

2019-01-24 Thread Shuah Khan
Media Device Allocator API to allows multiple drivers share a media device. This API solves a very common use-case for media devices where one physical device (an USB stick) provides both audio and video. When such media device exposes a standard USB Audio class, a proprietary Video class, two or

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

2019-01-24 Thread Dan Murphy
Jacek Replying to code comments. On 1/15/19 3:47 PM, Jacek Anaszewski wrote: > Hi Da, > > Thank you for the v2. > I will probably submit v3 outside the realm of the multi color framework. We can always convert as Pavel pointed out. > I have some remarks below. > > On 1/14/19 10:17 PM, Dan

Re: [PATCH v5 6/6] drm: remove drmP.h from drm_modeset_helper.h

2019-01-24 Thread Sean Paul
On Thu, Jan 24, 2019 at 09:17:49PM +0100, Sam Ravnborg wrote: > Hi Sean. > > > > > > > Merge the previous 5 patches from this series, but this now goes boom on > > > vbox in staging. Needs another prep patch I think. > > > > Soo, can we drop vboxvideo yet? > > Hans de Goede sent out patches in

[PATCH v2 2/2] input: misc: pwm-vibra: Stop regulator after disabling pwm, not before

2019-01-24 Thread Paweł Chmiel
This patch fixes order of disable calls in pwm_vibrator_stop. Currently when starting device, we first enable vcc regulator and then setup and enable pwm. When stopping, we should do this in oposite order, so first disable pwm and then disable regulator. Previously order was the same as in start.

[PATCH v2 1/2] input: misc: pwm-vibra: Prevent unbalanced regulator

2019-01-24 Thread Paweł Chmiel
From: Jonathan Bakker pwm_vibrator_stop disables the regulator, but it can be called from multiple places, even when the regulator is already disabled. Fix this by using regulator_is_enabled check when starting and stopping device. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel

[PATCH 1/8 v5] Documentation: bindings: k3dma: Extend the k3dma driver binding to support hisi-asp

2019-01-24 Thread John Stultz
From: Youlin Wang Extend the k3dma driver binding to support hisi-asp hardware variants. Cc: Vinod Koul Cc: Rob Herring Cc: Mark Rutland Cc: Zhuangluan Su Cc: Tanglei Han Cc: Ryan Grachek Cc: Manivannan Sadhasivam Cc: dmaeng...@vger.kernel.org Cc: devicet...@vger.kernel.org Reviewed-by:

[PATCH 4/8 v5] dma: k3dma: Delete axi_config

2019-01-24 Thread John Stultz
From: Li Yu Axi_config controls whether DMA resources can be accessed in non-secure mode, such as linux kernel. The register should be set by the bootloader stage and depends on the device. Thus, this patch removes axi_config from k3dma driver. Cc: Dan Williams Cc: Vinod Koul Cc: Tanglei Han

[PATCH 6/8 v5] arm64: dts: hi3660: Add dma to uart nodes

2019-01-24 Thread John Stultz
Try to add DMA support to the uart nodes following the assignments made in the dts from the victoria vendor kernel here: https://consumer.huawei.com/en/opensource/detail/?siteCode=worldwide=p10=openSourceSoftware=10=1 Cc: Tanglei Han Cc: Zhuangluan Su Cc: Ryan Grachek Cc: Manivannan Sadhasivam

[PATCH 2/8 v5] Documentation: bindings: dma: Add binding for dma-channel-mask

2019-01-24 Thread John Stultz
Some dma channels can be reserved for secure mode or other hardware on the SoC, so provide a binding for a bitmask listing the available channels for the kernel to use. This follows the pre-existing bcm,dma-channel-mask binding. Cc: Vinod Koul Cc: Rob Herring Cc: Mark Rutland Cc: Tanglei Han

[PATCH v2 4/8] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2019-01-24 Thread Lina Iyer
SDM845 SoC has an always-on interrupt controller (PDC) with select GPIO routed to the PDC as interrupts that can be used to wake the system up from deep low power modes and suspend. Cc: devicet...@vger.kernel.org Signed-off-by: Lina Iyer ---

[PATCH v2 5/8] drivers: pinctrl: msm: setup GPIO irqchip hierarchy

2019-01-24 Thread Lina Iyer
To allow GPIOs to wakeup the system from suspend or deep idle, the wakeup capable GPIOs are setup in hierarchy with interrupts from the wakeup-parent irqchip. In older SoC's, the TLMM will handover detection to the parent irqchip and in newer SoC's, the parent irqchip may also be active as well

[PATCH v2 7/8] arm64: dts: qcom: setup PDC as wakeup parent for GPIOs for SDM845

2019-01-24 Thread Lina Iyer
Setup PDC wakeup parent for TLMM for SDM845 SoC. Signed-off-by: Lina Iyer --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index e55100c2705e..89982f6ee147 100644 ---

[PATCH v2 0/8] qcom: support wakeup capable GPIOs

2019-01-24 Thread Lina Iyer
Hi all, This is a bug fix submission of the v1 posted here [1]. The discussion on how to represent the wakeup-parent interrupt controller is on-going [2] here. The reiew comments in [1], from Doug and Stephen are addressed in this patch. The series attempts to add GPIO chip in hierarchy with PDC

[PATCH v2 2/8] irqdomain: add bus token DOMAIN_BUS_WAKEUP

2019-01-24 Thread Lina Iyer
Add new bus token to describe domains that are wakeup capable. Suggested-by: Stephen Boyd Signed-off-by: Lina Iyer --- include/linux/irqdomain.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index 35965f41d7be..05055bc992ab 100644 ---

[PATCH v2 1/8] gpio: Add support for hierarchical IRQ domains

2019-01-24 Thread Lina Iyer
From: Thierry Reding Hierarchical IRQ domains can be used to stack different IRQ controllers on top of each other. One specific use-case where this can be useful is if a power management controller has top-level controls for wakeup interrupts. In such cases, the power management controller can

[PATCH v2 3/8] drivers: irqchip: add PDC irqdomain for wakeup capable GPIOs

2019-01-24 Thread Lina Iyer
Introduce a new domain for wakeup capable GPIOs. The domain can be requested using the bus token DOMAIN_BUS_WAKEUP. In the following patches, we will specify PDC as the wakeup-parent for the TLMM GPIO irqchip. Requesting a wakeup GPIO will setup the GPIO and the corresponding PDC interrupt as its

[PATCH v2 8/8] arm64: defconfig: enable PDC interrupt controller for Qualcomm SDM845

2019-01-24 Thread Lina Iyer
Enable PDC interrupt controller for SDM845 devices. The interrupt controller can detect wakeup capable interrupts when the SoC is in a low power state. Signed-off-by: Lina Iyer --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig

[PATCH v2 6/8] arm64: dts: qcom: add PDC interrupt controller for SDM845

2019-01-24 Thread Lina Iyer
Add PDC interrupt controller device bindings for SDM845. Signed-off-by: Lina Iyer --- Changes in v2: - Use updated address specification in reg - Rename to pdc_intc - Sort per address in DT --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 + 1 file changed, 9

[PATCH 3.18 11/52] sunrpc: use-after-free in svc_process_common()

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit d4b09acf924b84bae77cad090a9d108e70b43643 upstream. if node have NFSv41+ mounts inside several net namespaces it can lead to use-after-free in svc_process_common()

Re: GRSec is vital to Linux security

2019-01-24 Thread Boris Lukashev
Sue to what end? Force them to freely distribute their work/give up all those hours of backports/integration and actual invention? The only thing a suit could achieve is to prevent them from doing any work at all as you cant force someone to work for free (in the US, under most circumstances). No

[PATCH 3.18 18/52] crypto: authenc - fix parsing key with misaligned rta_len

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 8f9c469348487844328e162db57112f7d347c49f upstream. Keys for "authenc" AEADs are formatted as an rtattr containing a 4-byte 'enckeylen', followed by an authentication key

Re: [PATCH] of: Make of_node_name_eq() case insensitive

2019-01-24 Thread Vivien Didelot
Hi, On Thu, 24 Jan 2019 12:08:25 -0800, Florian Fainelli wrote: > Since c32569e358ad ("regulator: Use of_node_name_eq for node name > comparisons") Vivien reported the mc13892-regulator complaining about > not being able to find regulators. > > This is because prior to that commit we used

[PATCH 3.18 17/52] net: bridge: fix a bug on using a neighbour cache entry without checking its state

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: JianJhen Chen [ Upstream commit 4c84edc11b76590859b1e45dd676074c59602dc4 ] When handling DNAT'ed packets on a bridge device, the neighbour cache entry from lookup was used without checking

[PATCH 3.18 09/52] i2c: dev: prevent adapter retries and timeout being set as minus value

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Yi Zeng commit 6ebec961d59bccf65d08b13fc1ad4e6272a89338 upstream. If adapter->retries is set to a minus value from user space via ioctl, it will make __i2c_transfer and __i2c_smbus_xfer skip

[PATCH 3.18 19/52] btrfs: wait on ordered extents on abort cleanup

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit 74d5d229b1bf60f93bff244b2dfc0eb21ec32a07 upstream. If we flip read-only before we initiate writeback on all dirty pages for ordered extents we've created then we'll have

[PATCH 3.18 07/52] slab: alien caches must not be initialized if the allocation of the alien cache failed

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Lameter commit 09c2e76ed734a1d36470d257a778aaba28e86531 upstream. Callers of __alloc_alien() check for NULL. We must do the same check in __alloc_alien_cache to avoid NULL pointer

Re: [PATCH v5 6/6] drm: remove drmP.h from drm_modeset_helper.h

2019-01-24 Thread Sam Ravnborg
Hi Sean. > > > > Merge the previous 5 patches from this series, but this now goes boom on > > vbox in staging. Needs another prep patch I think. > > Soo, can we drop vboxvideo yet? Hans de Goede sent out patches in September to convert it to a proper atomic driver. I recall that the feedback

[PATCH 3.18 05/52] USB: storage: dont insert sane sense for SPC3+ when bad sense specified

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Icenowy Zheng commit c5603d2fdb424849360fe7e3f8c1befc97571b8c upstream. Currently the code will set US_FL_SANE_SENSE flag unconditionally if device claims SPC3+, however we should allow

[PATCH 3.18 22/52] mfd: tps6586x: Handle interrupts on suspend

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jonathan Hunter commit ac4ca4b9f4623ba5e1ea7a582f286567c611e027 upstream. The tps6586x driver creates an irqchip that is used by its various child devices for managing interrupts. The

[PATCH 3.18 39/52] media: firewire: Fix app_info parameter type in avc_ca{,_app}_info

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit b2e9a4eda11fd2cb1e6714e9ad3f455c402568ff ] Clang warns: drivers/media/firewire/firedtv-avc.c:999:45: warning: implicit conversion from 'int' to 'char' changes value from 159 to -97

[PATCH 3.18 38/52] powerpc/pseries/cpuidle: Fix preempt warning

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 2b038cbc5fcf12a7ee1cc9bfd5da1e46dacdee87 ] When booting a pseries kernel with PREEMPT enabled, it dumps the following warning: BUG: using smp_processor_id() in preemptible

Re: [PATCH] clk: qcom: Add MSM8976/56 Global Clock Controller (GCC) driver

2019-01-24 Thread Stephen Boyd
Quoting AngeloGioacchino Del Regno (2019-01-12 07:03:18) > From 50465f2a4454625aac622bb84dbecdeaf5a50904 Mon Sep 17 00:00:00 2001 > From: "Angelo G. Del Regno" > Date: Sat, 12 Jan 2019 10:52:18 +0100 > Subject: [PATCH] clk: qcom: Add MSM8976/56 Global Clock Controller (GCC) > driver > > Add

[PATCH 3.18 43/52] kconfig: fix memory leak when EOF is encountered in quotation

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit fbac5977d81cb2b2b7e37b11c459055d9585273c ] An unterminated string literal followed by new line is passed to the parser (with "multi-line strings not supported" warning shown), then

[PATCH 3.18 44/52] mmc: atmel-mci: do not assume idle after atmci_request_end

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit ae460c115b7aa50c9a36cf78fced07b27962c9d0 ] On our AT91SAM9260 board we use the same sdio bus for wifi and for the sd card slot. This caused the atmel-mci to give the following splat

[PATCH 3.18 45/52] perf svghelper: Fix unchecked usage of strncpy()

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 2f5302533f306d5ee87bd375aef9ca35b91762cb ] The strncpy() function may leave the destination string buffer unterminated, better use strlcpy() that we have a __weak fallback

[PATCH 3.18 42/52] clk: imx6q: reset exclusive gates on init

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit f7542d817733f461258fd3a47d77da35b2d9fc81 ] The exclusive gates may be set up in the wrong way by software running before the clock driver comes up. In that case the exclusive setup

[PATCH 3.18 48/52] dm snapshot: Fix excessive memory usage and workqueue stalls

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 721b1d98fb517ae99ab3b757021cf81db41e67be ] kcopyd has no upper limit to the number of jobs one can allocate and issue. Under certain workloads this can lead to excessive memory

[PATCH 3.18 46/52] perf parse-events: Fix unchecked usage of strncpy()

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit bd8d57fb7e25e9fcf67a9eef5fa13aabe2016e07 ] The strncpy() function may leave the destination string buffer unterminated, better use strlcpy() that we have a __weak fallback

[PATCH 3.18 27/52] media: vb2: vb2_mmap: move lock up

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Hans Verkuil commit cd26d1c4d1bc947b56ae404998ae2276df7b39b7 upstream. If a filehandle is dup()ped, then it is possible to close it from one fd and call mmap from the other. This creates a

[PATCH 3.18 33/52] media: vb2: be sure to unlock mutex on errors

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit c06ef2e9acef4cda1feee2ce055b8086e33d251a upstream. As reported by smatch: drivers/media/common/videobuf2/videobuf2-core.c:

[PATCH 3.18 32/52] drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock

2019-01-24 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Ivan Mironov commit 66a8d5bfb518f9f12d47e1d2dce1732279f9451e upstream. Strict requirement of pixclock to be zero breaks support of SDL 1.2 which contains hardcoded table of supported video

[PATCH 4.4 001/104] tty/ldsem: Wake up readers after timed out down_write()

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Safonov commit 231f8fd0cca078bd4396dd7e380db813ac5736e2 upstream. ldsem_down_read() will sleep if there is pending writer in the queue. If the writer times out, readers in the queue

[PATCH 4.4 012/104] f2fs: not allow to write illegal blkaddr

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Yunlei He commit bb413d6acd4e1c361daebf8486efc3923f429792 upstream. we came across an error as below: [build_nat_area_bitmap:1710] nid[0x1718] addr[0x 1c18ddc] ino[0x 1718]

[PATCH v6 3/4] PCI: imx6: Convert DIRECT_SPEED_CHANGE quirk code to use a flag

2019-01-24 Thread Andrey Smirnov
Both i.MX7D and i.MX8MQ have the same behaviour when it comes to clearing DIRECT_SPEED_CHANGE bit when no speed change occur. To account for that change the code handling that to use a generic flag instead of checking IP block variant. Signed-off-by: Andrey Smirnov Reviewed-by: Lucas Stach Cc:

[PATCH v6 4/4] PCI: imx6: Add support for i.MX8MQ

2019-01-24 Thread Andrey Smirnov
Add code needed to support i.MX8MQ variant. Signed-off-by: Andrey Smirnov Reviewed-by: Lucas Stach Cc: Bjorn Helgaas Cc: Fabio Estevam Cc: Chris Healy Cc: Lucas Stach Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH v6 2/4] PCI: imx6: Mark PHY functions as i.MX6 specific

2019-01-24 Thread Andrey Smirnov
PCIE PHY IP block on i.MX7D differs from the one used on i.MX6 family, so none of the code in current implementation of imx6_setup_phy_mpll() is applicable. Tested-by: Trent Piepho Signed-off-by: Andrey Smirnov Reviewed-by: Lucas Stach Cc: Bjorn Helgaas Cc: Fabio Estevam Cc: Chris Healy Cc:

[PATCH v6 0/4] PCIE support for i.MX8MQ

2019-01-24 Thread Andrey Smirnov
Everyone: This series contains changes I made in order to enable support of PCIE IP block on i.MX8MQ SoCs. Changes since [v5]: - Reformatted commit messages to adhere to https://lore.kernel.org/linux-pci/20171026223701.ga25...@bhelgaas-glaptop.roam.corp.google.com/ Changes since [v4]: -

[PATCH v6 1/4] PCI: imx6: Introduce drvdata

2019-01-24 Thread Andrey Smirnov
Introduce driver data struct. This will simplify handling of device specific differences. Signed-off-by: Stefan Agner [andrew.smir...@gmail.com reformatted drvdata, to simplify future diffs] Signed-off-by: Andrey Smirnov Reviewed-by: Lucas Stach Cc: Bjorn Helgaas Cc: Fabio Estevam Cc: Chris

linux-next: Signed-off-by missing for commits in the kvm-arm tree

2019-01-24 Thread Stephen Rothwell
Hi all, Commits 188922da4992 ("KVM: arm64: Reuse sys_reg() macro when searching the trap table") ef40b3d5528e ("arm/arm64: KVM: Statically configure the host's view of MPIDR") 31fc83bdbaba ("ARM: KVM: Teach some form of type-safety to kvm_call_hyp") 74bdc394c5a3 ("arm64: KVM: Drop

[PATCH 4.4 002/104] can: gw: ensure DLC boundaries after CAN frame modification

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Hartkopp commit 0aaa81377c5a01f686bcdb8c7a6929a7bf330c68 upstream. Muyu Yu provided a POC where user root with CAP_NET_ADMIN can create a CAN frame modification rule that makes the data

[PATCH 4.4 017/104] f2fs: fix to determine start_cp_addr by sbi->cur_cp_pack

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim commit 8508e44ae98622f841f5ef29d0bf3d5db4e0c1cc upstream. We don't guarantee cp_addr is fixed by cp_version. This is to sync with f2fs-tools. Signed-off-by: Jaegeuk Kim [bwh:

[PATCH 4.4 028/104] f2fs: fix to do sanity check with user_block_count

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu commit 9dc956b2c8523aed39d1e6508438be9fea28c8fc upstream. This patch fixs to do sanity check with user_block_count. - Overview Divide zero in utilization when mount() a corrupted f2fs

[PATCH 4.4 022/104] f2fs: check blkaddr more accuratly before issue a bio

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Yunlei He commit 0833721ec3658a4e9d5e58b6fa82cf9edc431e59 upstream. This patch check blkaddr more accuratly before issue a write or read bio. Signed-off-by: Yunlei He Reviewed-by: Chao Yu

Re: [PATCH] of: Make of_node_name_eq() case insensitive

2019-01-24 Thread Joe Perches
On Thu, 2019-01-24 at 12:08 -0800, Florian Fainelli wrote: > Since c32569e358ad ("regulator: Use of_node_name_eq for node name > comparisons") Vivien reported the mc13892-regulator complaining about > not being able to find regulators. > > This is because prior to that commit we used

[PATCH 4.4 033/104] f2fs: fix to do sanity check with block address in main area v2

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu commit 91291e9998d208370eb8156c760691b873bd7522 upstream. This patch adds f2fs_is_valid_blkaddr() in below functions to do sanity check with block address to avoid pentential panic: -

[PATCH 4.4 003/104] f2fs: clean up argument of recover_data

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu commit b7973f2378c619d0e17a075f13350bd58a9ebe3d upstream. In recover_data, value of argument 'type' will be CURSEG_WARM_NODE all the time, remove it for cleanup. Signed-off-by: Chao

[PATCH 4.4 034/104] f2fs: fix to do sanity check with cp_pack_start_sum

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu commit e494c2f995d6181d6e29c4927d68e0f295ecf75b upstream. After fuzzing, cp_pack_start_sum could be corrupted, so current log's summary info should be wrong due to loading incorrect

[PATCH 4.4 037/104] f2fs: fix validation of the block count in sanity_check_raw_super

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Martin Blumenstingl commit 88960068f25fcc3759455d85460234dcc9d43fef upstream. Treat "block_count" from struct f2fs_super_block as 64-bit little endian value in sanity_check_raw_super() because

[PATCH 4.9 26/39] perf svghelper: Fix unchecked usage of strncpy()

2019-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 2f5302533f306d5ee87bd375aef9ca35b91762cb ] The strncpy() function may leave the destination string buffer unterminated, better use strlcpy() that we have a __weak fallback

[PATCH v8 4/6] dt-bindings: anybus-controller: document devicetree binding

2019-01-24 Thread Sven Van Asbroeck
From: Sven Van Asbroeck This patch adds devicetree binding documentation for the Arcx anybus controller. Signed-off-by: Sven Van Asbroeck --- .../fieldbus/arcx,anybus-controller.txt | 71 +++ 1 file changed, 71 insertions(+) create mode 100644

[PATCH v8 3/6] anybus-s: support the Arcx anybus controller

2019-01-24 Thread Sven Van Asbroeck
Add a driver for the Arcx anybus controller. This device implements two Anybus-S hosts (buses), and connects to the SoC via a parallel memory bus. There is also a CAN power readout, unrelated to the Anybus, modelled as a regulator. Signed-off-by: Sven Van Asbroeck --- drivers/fieldbus/Makefile

[PATCH 4.14 22/63] clk: imx: make mux parent strings const

2019-01-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 9e5ef7a57ca75a1b9411c46caeeb6881124284a3 ] As the commit 2893c379461a ("clk: make strings in parent name arrays const"), let's make the parent strings const, otherwise we may meet

[PATCH 4.9 38/39] ipmi:ssif: Fix handling of multi-part return messages

2019-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Corey Minyard commit 7d6380cd40f7993f75c4bde5b36f6019237e8719 upstream. The block number was not being compared right, it was off by one when checking the response. Some statistics wouldn't

[PATCH 4.4 045/104] ip: on queued skb use skb_header_pointer instead of pskb_may_pull

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 4a06fa67c4da20148803525151845276cdb995c1 ] Commit 2efd4fca703a ("ip: in cmsg IP(V6)_ORIGDSTADDR call pskb_may_pull") avoided a read beyond the end of the skb

[PATCH 4.4 078/104] e1000e: allow non-monotonic SYSTIM readings

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit e1f65b0d70e9e5c80e15105cd96fa00174d7c436 ] It seems with some NICs supported by the e1000e driver a SYSTIM reading may occasionally be few microseconds before the previous reading

[for next][PATCH v3 2/2] platform/x86: Fix unmet dependency warning for SAMSUNG_Q10

2019-01-24 Thread Sinan Kaya
Add BACKLIGHT_LCD_SUPPORT for SAMSUNG_Q10 to fix the warning: unmet direct dependencies detected for BACKLIGHT_CLASS_DEVICE. SAMSUNG_Q10 selects BACKLIGHT_CLASS_DEVICE but BACKLIGHT_CLASS_DEVICE depends on BACKLIGHT_LCD_SUPPORT. Copy BACKLIGHT_LCD_SUPPORT dependency into SAMSUNG_Q10 to fix:

[PATCH 4.4 060/104] selinux: fix GPF on invalid policy

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Smalley commit 5b0e7310a2a33c06edc7eb81ffc521af9b2c5610 upstream. levdatum->level can be NULL if we encounter an error while loading the policy during sens_read prior to initializing

[PATCH 4.14 20/63] rxe: IB_WR_REG_MR does not capture MRs iova field

2019-01-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit b024dd0eba6e6d568f69d63c5e3153aba94c23e3 ] FRWR memory registration is done with a series of calls and WRs. 1. ULP invokes ib_dma_map_sg() 2. ULP invokes ib_map_mr_sg() 3. ULP posts

[PATCH 4.4 092/104] perf intel-pt: Fix error with config term "pt=0"

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 1c6f709b9f96366cc47af23c05ecec9b8c0c392d ] Users should never use 'pt=0', but if they do it may give a meaningless error: $ perf record -e intel_pt/pt=0/u uname

[PATCH 4.9 20/39] clk: imx6q: reset exclusive gates on init

2019-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit f7542d817733f461258fd3a47d77da35b2d9fc81 ] The exclusive gates may be set up in the wrong way by software running before the clock driver comes up. In that case the exclusive setup

[PATCH 4.4 056/104] media: vivid: set min width/height to a value > 0

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hans Verkuil commit 9729d6d282a6d7ce88e64c9119cecdf79edf4e88 upstream. The capture DV timings capabilities allowed for a minimum width and height of 0. So passing a timings struct with 0

[PATCH 4.4 059/104] sunrpc: handle ENOMEM in rpcb_getport_async

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: J. Bruce Fields commit 81c88b18de1f11f70c97f28ced8d642c00bb3955 upstream. If we ignore the error we'll hit a null dereference a little later. Reported-by:

[PATCH 4.4 066/104] tipc: fix uninit-value in tipc_nl_compat_doit

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ying Xue commit 2753ca5d9009c180dbfd4c802c80983b4b6108d1 upstream. BUG: KMSAN: uninit-value in tipc_nl_compat_doit+0x404/0xa10 net/tipc/netlink_compat.c:335 CPU: 0 PID: 4514 Comm:

[PATCH 4.9 22/39] kconfig: fix memory leak when EOF is encountered in quotation

2019-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit fbac5977d81cb2b2b7e37b11c459055d9585273c ] An unterminated string literal followed by new line is passed to the parser (with "multi-line strings not supported" warning shown), then

[PATCH 4.4 098/104] sysfs: Disable lockdep for driver bind/unbind files

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 4f4b374332ec0ae9c738ff8ec9bed5cd97ff9adc ] This is the much more correct fix for my earlier attempt at: https://lkml.org/lkml/2018/12/10/118 Short recap: - There's not actually a

[PATCH v8 5/6] dt-bindings: Add vendor prefix for arcx / Archronix

2019-01-24 Thread Sven Van Asbroeck
From: Sven Van Asbroeck arcx Inc. is an engineering company which provides advanced embedded systems and consulting services. Archronix is a technology design and product engineering firm specializing in hardware control systems and enabling software. Clients include OEM's in the

[PATCH 4.14 16/63] MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur

2019-01-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit e4849aff1e169b86c561738daf8ff020e9de1011 ] The Broadcom SiByte BCM1250, BCM1125, and BCM1125H SOCs have an onchip DRAM controller that supports memory amounts of up to 16GiB, and

Re: [PATCH v2 2/2] media: docs-rst: Document memory-to-memory video encoder interface

2019-01-24 Thread Nicolas Dufresne
Le mercredi 23 janvier 2019 à 12:28 +0100, Hans Verkuil a écrit : > On 01/23/19 11:00, Tomasz Figa wrote: > > On Sat, Nov 17, 2018 at 8:37 PM Hans Verkuil wrote: > > > On 11/17/2018 05:18 AM, Nicolas Dufresne wrote: > > > > Le lundi 12 novembre 2018 à 14:23 +0100, Hans Verkuil a écrit : > > > > >

[PATCH 4.14 19/63] selinux: always allow mounting submounts

2019-01-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 2cbdcb882f97a45f7475c67ac6257bbc16277dfe ] If a superblock has the MS_SUBMOUNT flag set, we should always allow mounting it. These mounts are done automatically by the kernel either

[PATCH 4.14 12/63] writeback: dont decrement wb->refcnt if !wb->bdi

2019-01-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 347a28b586802d09604a149c1a1f6de5dccbe6fa ] This happened while running in qemu-system-aarch64, the AMBA PL011 UART driver when enabling CONFIG_DEBUG_TEST_DRIVER_REMOVE.

[PATCH 4.9 24/39] tty/serial: do not free trasnmit buffer page under port lock

2019-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit d72402145ace0697a6a9e8e75a3de5bf3375f78d ] LKP has hit yet another circular locking dependency between uart console drivers and debugobjects [1]: CPU0

[PATCH 4.4 047/104] crypto: authenc - fix parsing key with misaligned rta_len

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 8f9c469348487844328e162db57112f7d347c49f upstream. Keys for "authenc" AEADs are formatted as an rtattr containing a 4-byte 'enckeylen', followed by an authentication key

[PATCH 4.14 01/63] ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address

2019-01-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit ec90ad334986fa5856d11dd272f7f22fa86c55c4 ] Similar to c5ee066333eb ("ipv6: Consider sk_bound_dev_if when binding a socket to an address"), binding a socket to v4

[PATCH 4.4 079/104] writeback: dont decrement wb->refcnt if !wb->bdi

2019-01-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 347a28b586802d09604a149c1a1f6de5dccbe6fa ] This happened while running in qemu-system-aarch64, the AMBA PL011 UART driver when enabling CONFIG_DEBUG_TEST_DRIVER_REMOVE.

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