linux-next: Tree for Aug 3

2017-08-02 Thread Stephen Rothwell
Hi all, Changes since 20170802: The net-next tree gained a conflict against the net tree. The drm-msm tree gained a conflict against the drm tree. I again reverted a commit from the staging tree that was causing overnight build failures. Non-merge commits (relative to Linus' tree): 4008

[PATCH v13 4/5] mm: support reporting free page blocks

2017-08-02 Thread Wei Wang
This patch adds support to walk through the free page blocks in the system and report them via a callback function. Some page blocks may leave the free list after the report function returns, so it is the caller's responsibility to either detect or prevent the use of such pages. Signed-off-by: Wei

[PATCH v13 3/5] virtio-balloon: VIRTIO_BALLOON_F_SG

2017-08-02 Thread Wei Wang
Add a new feature, VIRTIO_BALLOON_F_SG, which enables the transfer of balloon (i.e. inflated/deflated) pages using scatter-gather lists to the host. The implementation of the previous virtio-balloon is not very efficient, because the balloon pages are transferred to the host one by one. Here is th

[PATCH v13 0/5] Virtio-balloon Enhancement

2017-08-02 Thread Wei Wang
This patch series enhances the existing virtio-balloon with the following new features: 1) fast ballooning: transfer ballooned pages between the guest and host in chunks using sgs, instead of one by one; and 2) free_page_vq: a new virtqueue to report guest free pages to the host. The second featur

[PATCH v13 5/5] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ

2017-08-02 Thread Wei Wang
Add a new vq to report hints of guest free pages to the host. Signed-off-by: Wei Wang Signed-off-by: Liang Li --- drivers/virtio/virtio_balloon.c | 164 ++-- include/uapi/linux/virtio_balloon.h | 1 + 2 files changed, 140 insertions(+), 25 deletions(-) dif

[PATCH v13 1/5] Introduce xbitmap

2017-08-02 Thread Wei Wang
From: Matthew Wilcox The eXtensible Bitmap is a sparse bitmap representation which is efficient for set bits which tend to cluster. It supports up to 'unsigned long' worth of bits, and this commit adds the bare bones -- xb_set_bit(), xb_clear_bit() and xb_test_bit(). Signed-off-by: Matthew Wilc

Re: [PATCH v2 00/13] mpt3sas driver NVMe support:

2017-08-02 Thread Hannes Reinecke
On 08/02/2017 10:14 AM, Hannes Reinecke wrote: > On 07/14/2017 03:22 PM, Suganath Prabu S wrote: >> Ventura Series controller are Tri-mode. The controller and >> firmware are capable of supporting NVMe devices and >> PCIe switches to be connected with the controller. This >> patch set adds driver l

[PATCH v13 2/5] xbitmap: add xb_find_next_bit() and xb_zero()

2017-08-02 Thread Wei Wang
xb_find_next_bit() supports to find the next "1" or "0" bit in the given range. xb_zero() supports to zero the given range of bits. Signed-off-by: Wei Wang --- include/linux/xbitmap.h | 4 lib/radix-tree.c| 28 2 files changed, 32 insertions(+) diff --

Re: [PATCH v2 13/13] mpt3sas: Update mpt3sas driver version.

2017-08-02 Thread Hannes Reinecke
On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > Updated mpt3sas driver version to 15.101.00.00 > > Signed-off-by: Chaitra P B > Signed-off-by: Suganath Prabu S > --- > drivers/scsi/mpt3sas/mpt3sas_base.h |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers

Re: [PATCH v2 12/13] mpt3sas: Fix nvme drives checking for tlr.

2017-08-02 Thread Hannes Reinecke
On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > Check for NVMe drives before enabling or checking tlr. > > Signed-off-by: Chaitra P B > Signed-off-by: Suganath Prabu S > --- > drivers/scsi/mpt3sas/mpt3sas_scsih.c | 22 -- > 1 files changed, 16 insertions(+), 6 deletions(

Re: [PATCH v2 11/13] mpt3sas: NVMe drive support for BTDHMAPPING ioctl command and log info

2017-08-02 Thread Hannes Reinecke
On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > * Added debug prints for pcie devices in ioctl debug path. Which > will be helpful for debugging. > * Added PCIe device support for ioctl BTDHMAPPING ioctl. > > Signed-off-by: Chaitra P B > Signed-off-by: Suganath Prabu S > --- > drivers/scsi/mp

Re: [PATCH v2 10/13] mpt3as: Add-Task-management-debug-info-for-NVMe-drives.

2017-08-02 Thread Hannes Reinecke
On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > Added debug information for NVMe/PCIe drives in target rest path. > > Signed-off-by: Chaitra P B > Signed-off-by: Suganath Prabu S > --- > drivers/scsi/mpt3sas/mpt3sas_scsih.c | 83 - > 1 files changed, 70 inser

Re: [PATCH v3 2/5] dmaengine: Add STM32 DMAMUX driver

2017-08-02 Thread Peter Ujfalusi
our mail server started to mangle outgoing mails, sorry for that, we are trying to resolve that... Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 2017-08-02 17:28, Pierre Yves MORDRET wrote: Correct router ne

Re: [PATCH v2 08/13] mpt3sas: Set NVMe device queue depth as 128

2017-08-02 Thread Hannes Reinecke
On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > Sets nvme device queue depth, name and displays device capabilities > > Signed-off-by: Chaitra P B > Signed-off-by: Suganath Prabu S > --- > drivers/scsi/mpt3sas/mpt3sas_base.h |2 +- > drivers/scsi/mpt3sas/mpt3sas_scsih.c | 40 > +++

Re: [PATCH v2 09/13] mpt3sas: scan and add nvme device after controller reset

2017-08-02 Thread Hannes Reinecke
On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > After Controller reset, Scan and add nvme device back to the topology. > > Signed-off-by: Chaitra P B > Signed-off-by: Suganath Prabu S > --- > drivers/scsi/mpt3sas/mpt3sas_scsih.c | 194 > +- > 1 files changed,

[PATCH] mm/vmalloc: reduce half comparison during pcpu_get_vm_areas()

2017-08-02 Thread Wei Yang
In pcpu_get_vm_areas(), it checks each range is not overlapped. To make sure it is, only (N^2)/2 comparison is necessary, while current code does N^2 times. By starting from the next range, it achieves the goal and the continue could be removed. At the mean time, other two work in this patch: * t

Re: [PATCH v2 07/13] mpt3sas: Handle NVMe PCIe device related events generated from firmware.

2017-08-02 Thread Hannes Reinecke
On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > * The controller firmware sends separate events for NVMe devices and > PCIe switches similar to existing SAS events. > > * NVMe device detection, addition and removal are reported by the > firmware through PCIe Topology Change list events. > > * T

Re: [PATCH v2 06/13] mpt3sas: API's to remove nvme drive from sml

2017-08-02 Thread Hannes Reinecke
On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > Below API's are included in nvme drive remove path. > _scsih_pcie_device_remove_by_handle > _scsih_pcie_device_remove_from_sml > > Signed-off-by: Chaitra P B > Signed-off-by: Suganath Prabu S > --- > drivers/scsi/mpt3sas/mpt3sas_scsih.c | 148

Re: [PATCH v2 05/13] mpt3sas: API 's to support NVMe drive addition to SML

2017-08-02 Thread Hannes Reinecke
On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > Below Functions are added in various paths to support NVMe > drive addition. > > _scsih_pcie_add_device > _scsih_pcie_device_add > _scsih_pcie_device_init_add > _scsih_check_pcie_access_status > _scsih_pcie_check_device > > mpt3sas_get_pdev_by_han

Re: [PATCH v2 04/13] mpt3sas: Added support for nvme encapsulated request message.

2017-08-02 Thread Hannes Reinecke
On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > * Mpt3sas driver uses the NVMe Encapsulated Request message to > send an NVMe command to an NVMe device attached to the IOC. > > * Normal I/O commands like reads and writes are passed to the > controller as SCSI commands and the controller has the

Re: [PATCH v2 02/13] mpt3sas: Add nvme device support in slave alloc, target alloc and probe

2017-08-02 Thread Hannes Reinecke
On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > 1) Added support for probing pcie device and adding NVMe drives to > SML and driver's internal list pcie_device_list. > > 2) Added support for determing NVMe as boot device. > > 3) Added nvme device support for call back functions scan_finished >

Re: [PATCH v2 2/4] crypto: add crypto_(un)register_ahashes()

2017-08-02 Thread Herbert Xu
On Mon, Jul 24, 2017 at 09:07:30AM +0200, Lars Persson wrote: > From: Rabin Vincent > > There are already helpers to (un)register multiple normal > and AEAD algos. Add one for ahashes too. > > Signed-off-by: Lars Persson Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.

Re: [PATCH v2 3/4] crypto: axis: add ARTPEC-6/7 crypto accelerator driver

2017-08-02 Thread Herbert Xu
On Mon, Jul 24, 2017 at 09:07:31AM +0200, Lars Persson wrote: > This is an asynchronous crypto API driver for the accelerator present > in the ARTPEC-6 and -7 SoCs from Axis Communications AB. > > The driver supports AES in ECB/CTR/CBC/XTS/GCM modes and SHA1/2 hash > standards. > > Signed-off-by:

Re: [RESEND PATCH 0/2] crypto/rockchip: fix some issue which causes crypto failed

2017-08-02 Thread Herbert Xu
On Mon, Jul 24, 2017 at 09:23:12AM +0800, zain wang wrote: > These patches fix some bugs on rockchip's crypto which would cause crypto > failed. > > zain wang (2): > crypto: rockchip - move the crypto completion from interrupt context > crypto: rockchip - return the err code when unable deque

Re: [PATCH v2 4/4] MAINTAINERS: Add ARTPEC crypto maintainer

2017-08-02 Thread Herbert Xu
On Mon, Jul 24, 2017 at 09:07:32AM +0200, Lars Persson wrote: > Assign the Axis kernel team as maintainer for crypto drivers under > drivers/crypto/axis. > > Signed-off-by: Lars Persson Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http:/

Re: [PATCH v6 3/3] hwrng: add a driver for Freescale RNGC

2017-08-02 Thread Herbert Xu
On Sun, Jul 23, 2017 at 07:49:06PM +0200, Martin Kaiser wrote: > The driver is ported from Freescale's Linux git and can be > found in the > > vendor/freescale/imx_2.6.35_maintain > > branch. > > The driver supports both RNG version C that's part of some Freescale > i.MX3 SoCs and version

Re: [PATCH v6 1/3] Documentation: devicetree: add Freescale RNGC binding

2017-08-02 Thread Herbert Xu
On Sun, Jul 23, 2017 at 07:49:04PM +0200, Martin Kaiser wrote: > From: Steffen Trumtrar > > Add binding documentation for the Freescale RNGC found on > some i.MX2/3 SoCs. > > Signed-off-by: Steffen Trumtrar > Signed-off-by: Martin Kaiser Patch applied. Thanks. -- Email: Herbert Xu Home Pag

Re: [PATCH v2 01/13] mpt3sas: Update MPI Header

2017-08-02 Thread Hannes Reinecke
On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > Update MPI Files for NVMe support > > Signed-off-by: Chaitra P B > Signed-off-by: Suganath Prabu S > --- > drivers/scsi/mpt3sas/mpi/mpi2.h | 43 +++- > drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 647 > +- > d

Re: [PATCH v1] crypto: brcm - Support more FlexRM rings than SPU engines.

2017-08-02 Thread Herbert Xu
On Fri, Jul 21, 2017 at 11:17:39AM +0530, Raveendra Padasalagi wrote: > Enhance code to generically support cases where DMA rings > are greater than or equal to number of SPU engines. > New hardware has underlying DMA engine-FlexRM with 32 rings > which can be used to communicate to any of the avai

Re: [PATCH] Remove explicit return type cast

2017-08-02 Thread kbuild test robot
Hi Hari, [auto build test WARNING on staging/staging-testing] [also build test WARNING on next-20170802] [cannot apply to v4.13-rc3] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Hari-Prasath

Re: [PATCH] Crypto: atmel-ecc: Make a couple of local functions static

2017-08-02 Thread Herbert Xu
On Wed, Jul 19, 2017 at 10:24:15AM +0100, Colin King wrote: > From: Colin Ian King > > Functions atmel_ecc_i2c_client_alloc and atmel_ecc_i2c_client_free are > local to the source and no not need to be in the global scope. Make > them static. > > Cleans up sparse warnings: > symbol 'atmel_ecc_i2

Re: [PATCH] crypto: img-hash: remove unnecessary static in img_hash_remove()

2017-08-02 Thread Herbert Xu
Gustavo A. R. Silva wrote: > Remove unnecessary static on local variable hdev. Such variable > is initialized before being used, on every execution path throughout > the function. The static has no benefit and, removing it reduces the > object file size. > > This issue was detected using Coccinel

Re: [PATCH] crypto: omap-sham: remove unnecessary static in omap_sham_remove()

2017-08-02 Thread Herbert Xu
Gustavo A. R. Silva wrote: > Remove unnecessary static on local variable dd. Such variable > is initialized before being used, on every execution path throughout > the function. The static has no benefit and, removing it reduces the > object file size. > > This issue was detected using Coccinelle

Re: [PATCH] crypto: atmel-sha: remove unnecessary static in atmel_sha_remove()

2017-08-02 Thread Herbert Xu
Gustavo A. R. Silva wrote: > Remove unnecessary static on local variable sha_dd. Such variable > is initialized before being used, on every execution path throughout > the function. The static has no benefit and, removing it reduces the > object file size. > > This issue was detected using Coccin

Re: [PATCH] crypto: atmel-tdes: remove unnecessary static in atmel_tdes_remove()

2017-08-02 Thread Herbert Xu
Gustavo A. R. Silva wrote: > Remove unnecessary static on local variable tdes_dd. Such variable > is initialized before being used, on every execution path throughout > the function. The static has no benefit and, removing it reduces the > object file size. > > This issue was detected using Cocci

Re: [PATCH] crypto: n2_core: Convert to using %pOF instead of full_name

2017-08-02 Thread Herbert Xu
On Tue, Jul 18, 2017 at 04:42:56PM -0500, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > Cc: Herbert Xu > Cc:

Re: [PATCH V5 1/2] firmware: add more flexible request_firmware_async function

2017-08-02 Thread Coelho, Luciano
On Thu, 2017-08-03 at 08:23 +0300, Kalle Valo wrote: > "Luis R. Rodriguez" writes: > > > > +int request_firmware_nowait(struct module *module, bool uevent, > > > + const char *name, struct device *device, gfp_t gfp, > > > + void *context, > > > +

[PATCH] mm: fix list corruptions on shmem shrinklist

2017-08-02 Thread Cong Wang
We saw many list corruption warnings on shmem shrinklist: [45480.300911] [ cut here ] [45480.305558] WARNING: CPU: 18 PID: 177 at lib/list_debug.c:59 __list_del_entry+0x9e/0xc0 [45480.313622] list_del corruption. prev->next should be 9ae5694b82d8, but was 9ae56

Re: [RESEND,PATCH v4 3/3] crypto : stm32 - Add STM32F4 CRC32 support

2017-08-02 Thread Herbert Xu
On Mon, Jul 17, 2017 at 11:27:36AM +0300, Cosar Dindar wrote: > This patch adds CRC (CRC32 Crypto) support for STM32F4 series. > > As an hardware limitation polynomial and key setting are not supported. > They are fixed as 0x4C11DB7 (poly) and 0x (key). > CRC32C Castagnoli algorithm is not

Re: [PATCH 0/3] constify char attribute_group structures

2017-08-02 Thread Arvind Yadav
Hi Mark, On Wednesday 02 August 2017 11:26 PM, Gross, Mark wrote: Why stop at these 3 users of attribute_group? I am doing for all. This changes is only for char user. Few patch are under review and few are merged. Rest all I will send. ~arvind --mark -Original Message- From: Arvind

Re: [PATCH] iommu/arm-smmu: Defer TLB flush in case of unmap op

2017-08-02 Thread Vivek Gautam
Hi Robin, On 08/02/2017 05:47 PM, Robin Murphy wrote: On 02/08/17 10:53, Vivek Gautam wrote: We don't want to touch the TLB when smmu is suspended. Defer it until resume. Signed-off-by: Vivek Gautam --- Hi all, Here's the small patch in response of suggestion to defer tlb operations when

Re: [PATCH 1/6] dt-bindings: ti,edma: Add 66AK2G specific information

2017-08-02 Thread Sekhar Nori
On Wednesday 02 August 2017 10:33 PM, Lokesh Vutla wrote: > On 8/1/2017 6:20 PM, Peter Ujfalusi wrote: >> On 2017-08-01 07:41, Lokesh Vutla wrote: >>> -Example: >>> +Examples: >> >> Do we really need to expand the examples to have identical set, but with >> power-domains? > > IIRC, there was a fe

Re: [PATCH] KVM: svm: support single stepping over emulated instructions

2017-08-02 Thread Paolo Bonzini
> We already have b742c1e6e79d ("KVM: SVM: handle singlestep exception > when skipping emulated instructions"), so the only applicable part of > this patch is Doh. :) > > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > > index 0e846f0cb83b..931ba449456e 100644 > > --- a/arch/x86/kvm/x86.c

Re: [PATCH V7 5/7] crypto: AES CBC multi-buffer glue code

2017-08-02 Thread Herbert Xu
On Tue, Jul 25, 2017 at 07:09:58PM -0700, Megha Dey wrote: > > +/* notify the caller of progress ; request still stays in queue */ > + > +static void notify_callback(struct mcryptd_skcipher_request_ctx *rctx, > + struct mcryptd_alg_cstate *cstate, > +

[PATCH v7] rockchip/rga: v4l2 m2m support

2017-08-02 Thread Jacob Chen
Rockchip RGA is a separate 2D raster graphic acceleration unit. It accelerates 2D graphics operations, such as point/line drawing, image scaling, rotation, BitBLT, alpha blending and image blur/sharpness The drvier is mostly based on s5p-g2d v4l2 m2m driver And supports various operations from the

Re: [PATCH V5 1/2] firmware: add more flexible request_firmware_async function

2017-08-02 Thread Kalle Valo
"Luis R. Rodriguez" writes: >> +int request_firmware_nowait(struct module *module, bool uevent, >> +const char *name, struct device *device, gfp_t gfp, >> +void *context, >> +void (*cont)(const struct firmware *fw, void >> *

Re: [PATCH 2/2] i2c: mux: pinctrl: drop the idle_state member

2017-08-02 Thread Peter Rosin
On 2017-08-03 00:50, Stephen Warren wrote: > On 08/02/2017 03:25 PM, Peter Rosin wrote: >> (and muxc->max_adapters == num_names) > > Well, unless muxc->deselect is true... No, deselect does not affect neither max_adapters nor num_names. They are always equal. Cheers, Peter

Re: [PATCH] watchdog: moxart_wdt: Replace decimal permissions with 4 digit octal

2017-08-02 Thread Guenter Roeck
On 07/29/2017 02:15 AM, SZ Lin wrote: ERROR: Use 4 digit octal (0777) not decimal permissions This error was detected by checkpatch.pl Signed-off-by: SZ Lin I think checkpatch is overdoing it a bit here. There are more than 2,000 of those. Plus, I really don't see the value in this change.

Re: [v4 09/15] sparc64: optimized struct page zeroing

2017-08-02 Thread kbuild test robot
Hi Pavel, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.13-rc3 next-20170802] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Pavel-Tatashin/complete-deferred-page

RE: [PATCH] PCI: rcar-pcie: Fix memory leak when no PCIe card is inserted

2017-08-02 Thread HARUNOBU KUROKAWA
Hi > -Original Message- > From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com] > Sent: Wednesday, August 2, 2017 6:03 PM > To: HARUNOBU KUROKAWA > Cc: ho...@verge.net.au; bhelg...@google.com; linux-...@vger.kernel.org; > linux-renesas-...@vger.kernel.org; > linux-kernel@vger.kerne

Re: [PATCH 0/2] PCI: dwc: convert remaining dbi read/writes to dw_pcie_readX_dbi/dw_pcie_writeX_dbi

2017-08-02 Thread Vignesh R
+cc kishon for dra7xx On Friday 14 July 2017 05:37 PM, Niklas Cassel wrote: > Since the introduction of the dw_pcie_readX_dbi/dw_pcie_writeX_dbi macros, > most dw_pcie_read(pci->dbi_base, ..)/dw_pcie_write(pci->dbi_base, ..) calls > have been converted to dw_pcie_readX_dbi/dw_pcie_writeX_dbi calls

[PATCHv5 2/3] ARM:socfpga-defconfig Intel FPGA Video and Image Processing Suite

2017-08-02 Thread Hean Loong, Ong
From: Ong Hean Loong Intel FPGA Video and Image Processing Suite Frame Buffer II driver config for Arria 10 devkit and its variants Signed-off-by: Ong, Hean Loong --- arch/arm/configs/socfpga_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/socfpga_defconfig

[PATCHv5 0/3] Intel FPGA VIP Frame Buffer II drm driver

2017-08-02 Thread Hean Loong, Ong
From: Ong Hean Loong The FPGA FrameBuffer Soft IP could be seen as the GPU and the DRM driver patch here is allocating memory for information to be streamed from the ARM/Linux to the display port. Basically the driver just wraps the information such as the pixels to be drawn by the FPGA Fra

[PATCHv5 3/3] ARM:drm ivip Intel FPGA Video and Image Processing Suite

2017-08-02 Thread Hean Loong, Ong
From: Ong Hean Loong Signed-off-by: Ong Hean Loong --- V5: *Fix Comments V4: *Fix Comments V3: *Changes to fixing drm_simple_pipe *Used drm_fb_cma_get_gem_addr V2: *Adding drm_simple_display_pipe_init --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile |

[PATCHv5 1/3] ARM:dt-bindings Intel FPGA Video and Image Processing Suite

2017-08-02 Thread Hean Loong, Ong
From: Ong Hean Loong Device tree binding for Intel FPGA Video and Image Processing Suite. The binding involved would be generated from the Altera (Intel) Qsys system. The bindings would set the max width, max height, buts per pixel and memory port width. The device tree binding only supports the

Re: [v4 13/15] mm: stop zeroing memory during allocation in vmemmap

2017-08-02 Thread kbuild test robot
Hi Pavel, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.13-rc3] [cannot apply to next-20170802] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Pavel-Tatashin/complete

[PATCH v2 1/4] arm64: dts: qcom: Add RPM glink nodes to msm8996

2017-08-02 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- Changes since v1: - None arch/arm64/boot/dts/qcom/msm8996.dtsi | 78 +++ 1 file changed, 78 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 8f085716e258..8ebef05e1

[PATCH v2 4/4] arm64: dts: qcom: msm8996: Specify smd-edge for ADSP

2017-08-02 Thread Bjorn Andersson
Add the smd-edge node for the adsp, to allow SMD communication with the ADSP. Signed-off-by: Bjorn Andersson --- Changes since v1: - Spelled out GIC_SPI arch/arm64/boot/dts/qcom/msm8996.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/a

[PATCH] drivers: spi: Pick spi bus number from Linux idr or spi alias

2017-08-02 Thread sunil . m
If we have an alias, pick the bus number from alias ID (c) Convert to linux idr interface Signed-off-by: Suniel Mahesh Signed-off-by: Karthik Tummala Tested-by: Karthik Tummala --- Note: - Patch was compile tested and built(ARCH=arm) on next-20170802. - Patch was hardware tested on AM335x (

[PATCH v2 3/4] arm64: dts: msm8996: Add modem smp2p nodes

2017-08-02 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- Changes since v1: - Spelled out GIC_SPI arch/arm64/boot/dts/qcom/msm8996.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 8ebef05e1750..20336

[PATCH v2 2/4] arm64: dts: qcom: db820c: Add pm8994 regulator node

2017-08-02 Thread Bjorn Andersson
From: Rajendra Nayak Add PM8994 RPM regulators with their min/max voltages to DB820c. Signed-off-by: Rajendra Nayak Signed-off-by: Bjorn Andersson --- Changes since v1: - None arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 148 +++ 1 file changed, 148 insertions(+)

[PATCH v2 0/4] DB820c DTS dump

2017-08-02 Thread Bjorn Andersson
A dump of DTS patches for MSM8996 and DB820c, found in the Linaro landing team tree. Changes since v1: - Dropped the QFPROM patch, as it was only partial Bjorn Andersson (3): arm64: dts: qcom: Add RPM glink nodes to msm8996 arm64: dts: msm8996: Add modem smp2p nodes arm64: dts: qcom: msm899

Re: [PATCH] This patch adds support for Sinovoip BPI-M3 A83T based board.

2017-08-02 Thread Chen-Yu Tsai
On Thu, Aug 3, 2017 at 7:25 AM, Philipp Rossak wrote: > From: Philipp Rossak > > It has 2G LPDDR3, UART, ethernet, USB, HDMI, USB Sata, MIPI DSI, > mic, AP6212 Wifi, etc on it. > It is paired with AXP813 PMIC which is almost same as AXP818. > > Signed-off-by: Vishnu Patekar > > This Patch got so

Re: [v4 04/15] mm: discard memblock data later

2017-08-02 Thread kbuild test robot
Hi Pavel, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.13-rc3 next-20170802] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Pavel-Tatashin/complete-deferred-page

Re: [v4 14/15] mm: optimize early system hash allocations

2017-08-02 Thread kbuild test robot
Hi Pavel, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.13-rc3] [cannot apply to next-20170802] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Pavel-Tatashin/complete

[PATCH v9 3/4] irqchip/qeic: merge qeic_of_init into qe_ic_init

2017-08-02 Thread Zhao Qiang
qeic_of_init just get device_node of qeic from dtb and call qe_ic_init, pass the device_node to qe_ic_init. So merge qeic_of_init into qe_ic_init to get the qeic node in qe_ic_init. Signed-off-by: Zhao Qiang --- drivers/irqchip/irq-qeic.c | 90 -- incl

Re: rcu_sched stall while waiting in csd_lock_wait()

2017-08-02 Thread Pratyush Anand
Hi Peter, On Wednesday 02 August 2017 01:44 PM, Peter Zijlstra wrote: On Wed, Aug 02, 2017 at 09:01:19AM +0530, Pratyush Anand wrote: Hi, I am observing following rcu_sched stall while executing `perf record -a -- sleep 1` with one of the arm64 platform. It looks like that stalled cpu was wai

Re: rcu_sched stall while waiting in csd_lock_wait()

2017-08-02 Thread Pratyush Anand
Hi Marc, On Wednesday 02 August 2017 02:14 PM, Marc Zyngier wrote: On 02/08/17 09:08, Will Deacon wrote: Hi Pratyush, On Wed, Aug 02, 2017 at 09:01:19AM +0530, Pratyush Anand wrote: I am observing following rcu_sched stall while executing `perf record -a -- sleep 1` with one of the arm64 pla

Re: rcu_sched stall while waiting in csd_lock_wait()

2017-08-02 Thread Pratyush Anand
Hi Will, On Wednesday 02 August 2017 01:38 PM, Will Deacon wrote: Hi Pratyush, On Wed, Aug 02, 2017 at 09:01:19AM +0530, Pratyush Anand wrote: I am observing following rcu_sched stall while executing `perf record -a -- sleep 1` with one of the arm64 platform. It looks like that stalled cpu wa

[PATCH v9 2/4] irqchip/qeic: merge qeic init code from platforms to a common function

2017-08-02 Thread Zhao Qiang
The codes of qe_ic init from a variety of platforms are redundant, merge them to a common function and put it to irqchip/irq-qeic.c For non-p1021_mds mpc85xx_mds boards, use "qe_ic_init(np, 0, qe_ic_cascade_low_mpic, qe_ic_cascade_high_mpic);" instead of "qe_ic_init(np, 0, qe_ic_cascade_muxed_mpic

[PATCH v9 0/4] this patchset is to remove PPCisms for QEIC

2017-08-02 Thread Zhao Qiang
QEIC is supported more than just powerpc boards, so remove PPCisms. changelog: Changes for v8: - use IRQCHIP_DECLARE() instead of subsys_initcall in qeic driver - remove include/soc/fsl/qe/qe_ic.h Changes for v9: - rebase - fix the compile issue whe

[PATCH v9 4/4] irqchip/qeic: remove PPCisms for QEIC

2017-08-02 Thread Zhao Qiang
QEIC was supported on PowerPC, and dependent on PPC, Now it is supported on other platforms, so remove PPCisms. Signed-off-by: Zhao Qiang --- arch/powerpc/platforms/83xx/km83xx.c | 1 - arch/powerpc/platforms/83xx/misc.c| 1 - arch/powerpc/platforms/83xx/mpc832x_mds.c

[PATCH v9 1/4] irqchip/qeic: move qeic driver from drivers/soc/fsl/qe

2017-08-02 Thread Zhao Qiang
move the driver from drivers/soc/fsl/qe to drivers/irqchip, merge qe_ic.h and qe_ic.c into irq-qeic.c. Signed-off-by: Zhao Qiang --- MAINTAINERS| 6 ++ drivers/irqchip/Makefile | 1 + drivers/{soc/fsl/qe/qe_ic.c => irqchip/irq

Re: [PATCH 2/2] qlcnic: add const to bin_attribute structure

2017-08-02 Thread Patil, Harish
-Original Message- From: Bhumika Goyal Date: Wednesday, August 2, 2017 at 11:27 PM To: "julia.law...@lip6.fr" , "kv...@codeaurora.org" , "linux-wirel...@vger.kernel.org" , "net...@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Harish Patil , "Chopra, Manish" , Dept-GE Linux NIC Dev C

[PATCH] ARM: dts: rockchip: convert rk3288 device tree files to 64 bits

2017-08-02 Thread Tao Huang
In order to be able to use more than 4GB of RAM when the LPAE is activated, the dts must be converted in 64 bits. Signed-off-by: Tao Huang --- Another way to support 64-bit memory is create a soc subnode, and move all peripherals to this subnode. But it will break userspace compatibility. For ex

[PATCH 2/4] seccomp: Add SECCOMP_FILTER_FLAG_KILL_PROCESS

2017-08-02 Thread Kees Cook
Right now, SECCOMP_RET_KILL kills the current thread. There have been a few requests for RET_KILL to kill the entire process (the thread group), but since seccomp's u32 return values are ABI, and ordered by lowest value, with RET_KILL as 0, there isn't a trivial way to provide an even smaller value

[PATCH 1/4] seccomp: Provide matching filter for introspection

2017-08-02 Thread Kees Cook
Both the upcoming logging improvements and changes to RET_KILL will need to know which filter a given seccomp return value originated from. In order to delay logic processing of result until after the seccomp loop, this adds a single pointer assignment on matches. This will allow both log and RET_K

[PATCH 3/4] selftests/seccomp: Refactor RET_ERRNO tests

2017-08-02 Thread Kees Cook
This refactors the errno tests (since they all use the same pattern for their filter) and adds a RET_DATA field ordering test. Signed-off-by: Kees Cook --- tools/testing/selftests/seccomp/seccomp_bpf.c | 95 --- 1 file changed, 58 insertions(+), 37 deletions(-) diff --gi

[PATCH 4/4] selftests/seccomp: Test thread vs process killing

2017-08-02 Thread Kees Cook
SECCOMP_RET_KILL is supposed to kill the current thread (and userspace depends on this), so test for this, distinct from killing the entire process. This also tests killing the entire process with the new SECCOMP_FILTER_FLAG_KILL_PROCESS flag. (This also moves a bunch of defines up earlier in the f

[PATCH 0/4] seccomp: Add SECCOMP_FILTER_FLAG_KILL_PROCESS

2017-08-02 Thread Kees Cook
This series is the result of Fabricio and I going around a few times on possible solutions for finding a way to enhance RET_KILL to kill the process group. There's a lot of ways this could be done, but I wanted something that felt cleanest. As it happens, Tyler's recent patch series for logging imp

Re: [PATCH v1] crypto: caam - set hwrng quality level

2017-08-02 Thread Herbert Xu
On Wed, Aug 02, 2017 at 02:03:14PM +, Horia Geantă wrote: > > Take CAAM's engine HWRNG: it can work both as a TRNG and as a > TRNG-seeded DRBG (that's how it's currently configured). > IIUC, both setups are fit as source for the entropy pool. So which is it? If it's a DRBG then it should not b

linux-next: build warning after merge of the drm-msm tree

2017-08-02 Thread Stephen Rothwell
Hi all, After merging the drm-msm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: In file included from drivers/gpu/drm/msm/msm_drv.h:37:0, from drivers/gpu/drm/msm/msm_gpu.h:24, from drivers/gpu/drm/msm/msm_gpu.c:18: drivers/gpu/dr

linux-next: build warning after merge of the drm-msm tree

2017-08-02 Thread Stephen Rothwell
Hi all, After merging the drm-msm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/gpu/drm/msm/adreno/a5xx_gpu.c: In function 'a5xx_zap_shader_init': drivers/gpu/drm/msm/adreno/a5xx_gpu.c:493:19: warning: unused variable 'a5xx_gpu' [-Wunused-variable] stru

RE: [RFC v1 3/6] platform/x86: intel_pmc_ipc: Use MFD framework to create dependent devices

2017-08-02 Thread Chakravarty, Souvik K
> -Original Message- > From: sathyanarayanan kuppuswamy > [mailto:sathyanarayanan.kuppusw...@linux.intel.com] > Sent: Thursday, August 3, 2017 3:29 AM > To: Chakravarty, Souvik K ; > x...@kernel.org; mi...@redhat.com; Zha, Qipeng > ; h...@zytor.com; dvh...@infradead.org; > t...@linutronix

linux-next: manual merge of the drm-msm tree with the drm tree

2017-08-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-msm tree got a conflict in: drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c between commits: 0b20a0f8c3cb ("drm: Add old state pointer to CRTC .enable() helper function") 64581714b58b ("drm: Convert atomic drivers from CRTC .disable() to .atomic_disab

[PATCH v2 2/5] of: reserved_mem: Accessor for acquiring reserved_mem

2017-08-02 Thread Bjorn Andersson
In some cases drivers referencing a reserved-memory region might want to remap the entire region, but when defining the reserved-memory by "size" the client driver has no means to know the associated base address of the reserved memory region. This patch adds an accessor for such drivers to acquir

[PATCH v2 0/5] Qualcomm remote filesystem shared memory driver

2017-08-02 Thread Bjorn Andersson
Some remote processors (in particular the modem) found in Qualcomm platforms stores configuration parameters and other data in a file system. As the remotes does not have direct storage access it needs to relay block accesses through a service running on the application CPU. The memory is describe

[PATCH v2 5/5] arm64: dts: msm8916: Mark rmtfs node as qcom,rfsa compatible

2017-08-02 Thread Bjorn Andersson
Now that we have a binding defined for the shared file system memory use this to describe the rmtfs memory region. Signed-off-by: Bjorn Andersson --- Changes since v1: - New patch arch/arm64/boot/dts/qcom/msm8916.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/q

[PATCH v2 1/5] of/platform: Generalize /reserved-memory handling

2017-08-02 Thread Bjorn Andersson
By iterating over all /reserved-memory child nodes and match each one to a list of compatibles that we want to treat specially, we can easily extend the list of compatibles to handle - without having to resort to of_platform_populate() that would create unnecessary platform_devices. Signed-off-by:

[PATCH v2 3/5] dt-binding: soc: qcom: Add binding for RFSA

2017-08-02 Thread Bjorn Andersson
This adds the binding for describing shared memory used to exchange file system blocks between the RMTFS client and service. Signed-off-by: Bjorn Andersson --- Changed since v1: - Memory described in a single reserved-memory node, rather than by reference from a "dummy" node - qcom,vmdid added

[PATCH v2 4/5] soc: qcom: Remote FS memory driver

2017-08-02 Thread Bjorn Andersson
The rfsa driver is used for allocating and exposing regions of shared memory with remote processors for the purpose of exchanging sector-data between the remote filesystem service and its clients. Signed-off-by: Bjorn Andersson --- Changes since v1: - RFSA device represented direclty by the rese

[PATCH v3 3/6] ipc: msg: Make msg_queue timestamps y2038 safe

2017-08-02 Thread Deepa Dinamani
time_t is not y2038 safe. Replace all uses of time_t by y2038 safe time64_t. Similarly, replace the calls to get_seconds() with y2038 safe ktime_get_real_seconds(). Note that this preserves fast access on 64 bit systems, but 32 bit systems need sequence counters. The syscall interfaces themselves

[PATCH v3 4/6] ipc: sem: Make sem_array timestamps y2038 safe

2017-08-02 Thread Deepa Dinamani
time_t is not y2038 safe. Replace all uses of time_t by y2038 safe time64_t. Similarly, replace the calls to get_seconds() with y2038 safe ktime_get_real_seconds(). Note that this preserves fast access on 64 bit systems, but 32 bit systems need sequence counters. The syscall interface themselves

[PATCH v3 5/6] ipc: shm: Make shmid_kernel timestamps y2038 safe

2017-08-02 Thread Deepa Dinamani
time_t is not y2038 safe. Replace all uses of time_t by y2038 safe time64_t. Similarly, replace the calls to get_seconds() with y2038 safe ktime_get_real_seconds(). Note that this preserves fast access on 64 bit systems, but 32 bit systems need sequence counters. The syscall interfaces themselves

[PATCH v3 6/6] utimes: Make utimes y2038 safe

2017-08-02 Thread Deepa Dinamani
struct timespec is not y2038 safe on 32 bit machines. Replace timespec with y2038 safe struct timespec64. Note that the patch only changes the internals without modifying the syscall interfaces. This will be part of a separate series. Signed-off-by: Deepa Dinamani Reviewed-by: Arnd Bergmann ---

[PATCH v3 2/6] ipc: mqueue: Replace timespec with timespec64

2017-08-02 Thread Deepa Dinamani
struct timespec is not y2038 safe. Replace all uses of timespec by y2038 safe struct timespec64. Even though timespec is used here to represent timeouts, replace these with timespec64 so that it facilitates in verification by creating a y2038 safe kernel image that is free of timespec. The syscal

[PATCH v3 1/6] ipc: Make sys_semtimedop() y2038 safe

2017-08-02 Thread Deepa Dinamani
struct timespec is not y2038 safe on 32 bit machines. Replace timespec with y2038 safe struct timespec64. Note that the patch only changes the internals without modifying the syscall interface. This will be part of a separate series. Signed-off-by: Deepa Dinamani Reviewed-by: Arnd Bergmann ---

[PATCH v3 0/6] Make ipc y2038 safe

2017-08-02 Thread Deepa Dinamani
The series aims to transition internal workings of ipc subsystem to use y2038-safe types and apis. The series is based on Al Viro's #work.ipc branch. Changes since v2: * Removed extra typecasts Changes since v1: * Addressed audit review comments Deepa Dinamani (6): ipc: Make sys_semtimedop() y

Re: [PATCH] soc: imx: gpcv2: fix regulator deferred probe

2017-08-02 Thread Shawn Guo
On Wed, Aug 02, 2017 at 12:51:29PM -0700, Stefan Agner wrote: > If a regulator requests a deferred probe, the power domain gets > initialized twice. This leads to a list double add (without > list debugging the kernel hangs due to the double add later): > > WARNING: CPU: 0 PID: 19 at lib/list_de

Re: linux-next: manual merge of the net-next tree with the net tree

2017-08-02 Thread Stephen Hemminger
On Thu, 3 Aug 2017 12:01:37 +1000 Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > drivers/net/hyperv/netvsc.c > > between commit: > > 4a0dee1ffe0e ("netvsc: Initialize 64-bit stats seqcount") > > from the net tree and commit: >

  1   2   3   4   5   6   7   8   9   10   >