[PATCH v2 13/17] iio: magnetometer: mag3110: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 11/17] iio: dac: max5821: Set .of_match_table to OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver has a OF device ID table but the struct i2c_driver .of_match_table field is not set. Signed-off-by: Javier Martinez Canillas --- drivers/iio/dac/max5821.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/dac/max5821.c b/drivers/iio/dac/max5821.c index 86e9e112f554..193

[PATCH v2 12/17] iio: adc: ti-ads1015: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 09/17] iio: accel: bma180: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 15/17] iio: pressure: mpl3115: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 10/17] iio: light: apds9960: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 14/17] iio: accel: mma7455_i2c: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 17/17] iio: gyro: itg3200: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 16/17] iio: accel: mma7660: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 07/17] iio: pressure: hp03: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 08/17] iio: imu: inv_mpu6050: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 06/17] iio: light: tsl2563: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 03/17] iio: magnetometer: bmc150_magn_i2c: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

[PATCH v2 02/17] iio: mlx96014: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

Re: [PATCH] drm/exynos: Print kernel pointers in a restricted form

2017-03-14 Thread Inki Dae
Merged. Thanks, Inki Dae 2017년 03월 15일 03:38에 Krzysztof Kozlowski 이(가) 쓴 글: > Printing raw kernel pointers might reveal information which sometimes we > try to hide (e.g. with Kernel Address Space Layout Randomization). Use > the "%pK" format so these pointers will be hidden for unprivileged > u

Re: [PATCH] vc04_services: Fixing coding and logical guidelines

2017-03-14 Thread Greg Kroah-Hartman
On Tue, Mar 14, 2017 at 06:39:04PM +0530, Pushkar Jambhlekar wrote: > Description: No need for that line. > in file 'vc04_services/interface/vchiq_arm/vchiq_shim.c', making changes > to make code according to 'checkpath.pl'. Why indent? Also, you need to be specific as to what type of chan

Re: [RFC 1/2] fanotify: new event FAN_MODIFY_DIR

2017-03-14 Thread Michael Kerrisk
[CC += linux-...@vger.kernel.org] Filip, Since this is a kernel-user-space API change, please CC linux-api@ (and on future iterations of this patch). The kernel source file Documentation/SubmitChecklist notes that all Linux kernel patches that change userspace interfaces should be CCed to linux-.

Re: net/sctp: recursive locking in sctp_do_peeloff

2017-03-14 Thread Cong Wang
On Fri, Mar 10, 2017 at 12:04 PM, Dmitry Vyukov wrote: > On Fri, Mar 10, 2017 at 8:46 PM, Marcelo Ricardo Leitner > wrote: >> On Fri, Mar 10, 2017 at 4:11 PM, Dmitry Vyukov wrote: >>> Hello, >>> >>> I've got the following recursive locking report while running >>> syzkaller fuzzer on net-next/9c

Re: [PATCH] vc04_services: Fixing coding and logical guidelines

2017-03-14 Thread Pushkar Jambhlekar
Thanks. I will rewrite patch according to the suggestions. On Tue, Mar 14, 2017 at 9:52 PM, Greg Kroah-Hartman wrote: > On Tue, Mar 14, 2017 at 06:39:04PM +0530, Pushkar Jambhlekar wrote: >> Description: > > No need for that line. > >> in file 'vc04_services/interface/vchiq_arm/vchiq_shim.c',

Re: [PATCH v3 4/7] xen/9pfs: connect to the backend

2017-03-14 Thread Juergen Gross
On 14/03/17 22:22, Stefano Stabellini wrote: > Hi Juergen, > > thank you for the review! > > On Tue, 14 Mar 2017, Juergen Gross wrote: >> On 14/03/17 00:50, Stefano Stabellini wrote: >>> Implement functions to handle the xenbus handshake. Upon connection, >>> allocate the rings according to the p

Re: [PATCH] doc: ABI: vdso: update parse_vdso.c reference

2017-03-14 Thread Baruch Siach
Hi Jonathan, On Mon, Mar 13, 2017 at 05:13:38PM -0600, Jonathan Corbet wrote: > On Wed, 8 Mar 2017 21:50:31 +0200 > Baruch Siach wrote: > > Since commit f9b6b0ef603 ("selftests: move vDSO tests from > > Documentation/vDSO") > > parse_vdso.c moved under selftests. Update the reference to match.

[PATCH v2 00/10] make try_to_unmap simple

2017-03-14 Thread Minchan Kim
Currently, try_to_unmap returns various return value(SWAP_SUCCESS, SWAP_FAIL, SWAP_AGAIN, SWAP_DIRTY and SWAP_MLOCK). When I look into that, it's unncessary complicated so this patch aims for cleaning it up. Change ttu to boolean function so we can remove SWAP_AGAIN, SWAP_DIRTY, SWAP_MLOCK. * from

[PATCH v2 09/10] mm: make rmap_one boolean function

2017-03-14 Thread Minchan Kim
rmap_one's return value controls whether rmap_work should contine to scan other ptes or not so it's target for changing to boolean. Return true if the scan should be continued. Otherwise, return false to stop the scanning. This patch makes rmap_one's return value to boolean. Signed-off-by: Mincha

[PATCH v2 03/10] mm: remove SWAP_MLOCK check for SWAP_SUCCESS in ttu

2017-03-14 Thread Minchan Kim
If the page is mapped and rescue in try_to_unmap_one, page_mapcount(page) == 0 cannot be true so page_mapcount check in try_to_unmap is enough to return SWAP_SUCCESS. IOW, SWAP_MLOCK check is redundant so remove it. Signed-off-by: Minchan Kim --- mm/rmap.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH v2 05/10] mm: remove SWAP_MLOCK in ttu

2017-03-14 Thread Minchan Kim
ttu don't need to return SWAP_MLOCK. Instead, just return SWAP_FAIL because it means the page is not-swappable so it should move to another LRU list(active or unevictable). putback friends will move it to right list depending on the page's LRU flag. Signed-off-by: Minchan Kim --- include/linux/r

[PATCH v2 02/10] mm: remove SWAP_DIRTY in ttu

2017-03-14 Thread Minchan Kim
If we found lazyfree page is dirty, try_to_unmap_one can just SetPageSwapBakced in there like PG_mlocked page and just return with SWAP_FAIL which is very natural because the page is not swappable right now so that vmscan can activate it. There is no point to introduce new return value SWAP_DIRTY i

[PATCH v2 10/10] mm: remove SWAP_[SUCCESS|AGAIN|FAIL]

2017-03-14 Thread Minchan Kim
There is no user for it. Remove it. Signed-off-by: Minchan Kim --- include/linux/rmap.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/include/linux/rmap.h b/include/linux/rmap.h index 13ed232..43ef2c3 100644 --- a/include/linux/rmap.h +++ b/include/linux/rmap.h @@ -295,11 +295,4 @@ s

[PATCH v2 01/10] mm: remove unncessary ret in page_referenced

2017-03-14 Thread Minchan Kim
Anyone doesn't use ret variable. Remove it. Acked-by: Hillf Danton Acked-by: Kirill A. Shutemov Signed-off-by: Minchan Kim --- mm/rmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/rmap.c b/mm/rmap.c index 7d24bb9..9dbfa6f 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@

[PATCH v2 07/10] mm: make ttu's return boolean

2017-03-14 Thread Minchan Kim
try_to_unmap returns SWAP_SUCCESS or SWAP_FAIL so it's suitable for boolean return. This patch changes it. Cc: "Kirill A. Shutemov" Cc: Naoya Horiguchi Signed-off-by: Minchan Kim --- include/linux/rmap.h | 4 ++-- mm/huge_memory.c | 6 +++--- mm/memory-failure.c | 26 ---

[PATCH v2 08/10] mm: make rmap_walk void function

2017-03-14 Thread Minchan Kim
There is no user of return value from rmap_walk friend so this patch makes them void function. Signed-off-by: Minchan Kim --- include/linux/ksm.h | 5 ++--- include/linux/rmap.h | 4 ++-- mm/ksm.c | 16 ++-- mm/rmap.c| 32 +--- 4

[PATCH v2 04/10] mm: make the try_to_munlock void function

2017-03-14 Thread Minchan Kim
try_to_munlock returns SWAP_MLOCK if the one of VMAs mapped the page has VM_LOCKED flag. In that time, VM set PG_mlocked to the page if the page is not pte-mapped THP which cannot be mlocked, either. With that, __munlock_isolated_page can use PageMlocked to check whether try_to_munlock is successf

[PATCH v2 06/10] mm: remove SWAP_AGAIN in ttu

2017-03-14 Thread Minchan Kim
In 2002, [1] introduced SWAP_AGAIN. At that time, try_to_unmap_one used spin_trylock(&mm->page_table_lock) so it's really easy to contend and fail to hold a lock so SWAP_AGAIN to keep LRU status makes sense. However, now we changed it to mutex-based lock and be able to block without skip pte so th

[PATCH v2] vTPM: Fix missing NULL check

2017-03-14 Thread Hon Ching(Vicky) Lo
The current code passes the address of tpm_chip as the argument to dev_get_drvdata() without prior NULL check in tpm_ibmvtpm_get_desired_dma. This resulted an oops during kernel boot when vTPM is enabled in Power partition configured in active memory sharing mode. The vio_driver's get_desired_dma

Re: [PATCH] iio: 104-quad-8: Fix off-by-one error when addressing flag register

2017-03-14 Thread Greg KH
On Tue, Mar 14, 2017 at 11:00:43AM -0400, William Breathitt Gray wrote: > On Mon, Mar 13, 2017 at 09:33:45PM +, Jonathan Cameron wrote: > >On 13/03/17 13:33, William Breathitt Gray wrote: > >> On Sat, Feb 11, 2017 at 09:37:35AM +, Jonathan Cameron wrote: > >>> On 09/02/17 15:03, William Bre

Re: [PATCH] drivers/pcmcia: NO_IRQ removal for electra_cf.c

2017-03-14 Thread Michael Ellerman
Arnd Bergmann writes: > On Tue, Mar 14, 2017 at 11:51 AM, Michael Ellerman > wrote: >> Michael Ellerman writes: >> >>> We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it >>> from electra_cf.c which is a powerpc-only driver. >>> >>> Signed-off-by: Michael Ellerman >>> ---

man-pages-4.10 is released

2017-03-14 Thread Michael Kerrisk (man-pages)
The Linux man-pages maintainer proudly announces: man-pages-4.10 - man pages for Linux This release resulted from patches, bug reports, reviews, and comments from over 40 contributors. The release sees a large number of changes: over 600 commits changing around 160 pages. The changes include

ATENCIÓN;

2017-03-14 Thread administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de correo

[PATCH] irqchip: gic-v3-its: Don't assume GICv3 hardware supports 16bit INTID

2017-03-14 Thread Shanker Donthineni
The current ITS driver is assuming every ITS hardware implementation supports minimum of 16bit INTID. But this is not true, as per GICv3 specification, INTID field is IMPLEMENTATION DEFINED in the range of 14-24 bits. We might see an unpredictable system behavior on systems where hardware support l

[PATCH v3] tpm_crb: request and relinquish locality 0

2017-03-14 Thread Jarkko Sakkinen
From: Jarkko Sakkinen This commit adds support for requesting and relinquishing locality 0 in tpm_crb for the course of command transmission. In order to achieve this, two new callbacks are added to struct tpm_class_ops: - request_locality - relinquish_locality These are called before sending

[PATCH 1/4] staging: atomisp: fix unsigned int comparison with less than zero

2017-03-14 Thread Daeseok Youn
Fix warnings from the smatch tool atomisp_cmd.c:2649 atomisp_set_array_res() warn: unsigned 'config->width' is never less than zero. atomisp_cmd.c:2650 atomisp_set_array_res() warn: unsigned 'config->height' is never less than zero. Signed-off-by: Daeseok Youn --- drivers/staging/media

[PATCH 2/4] staging: atomisp: fix inconsistent indenting

2017-03-14 Thread Daeseok Youn
Fix warnings from the smatch tool atomisp_cmd.c:5698 atomisp_set_fmt_to_snr() warn: inconsistent indenting atomisp_cmd.c:5714 atomisp_set_fmt_to_snr() warn: inconsistent indenting Signed-off-by: Daeseok Youn --- drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c | 4 ++-- 1 file cha

[PATCH 4/4] staging: atomisp: fix "alignment should match open parenthesis"

2017-03-14 Thread Daeseok Youn
Fix checkpatch.pl issues in atomisp_cmd.c : "CHECK: Alignment should match open parenthesis" Signed-off-by: Daeseok Youn --- .../media/atomisp/pci/atomisp2/atomisp_cmd.c | 179 +++-- 1 file changed, 90 insertions(+), 89 deletions(-) diff --git a/drivers/staging/media/atom

[PATCH 3/4] staging: atomisp: remove useless #ifdef ISP2401 on top of atomisp_cmd.c

2017-03-14 Thread Daeseok Youn
There is no reason to have "#ifdef ISP2401" condition on top of atomisp_cmd.c file Signed-off-by: Daeseok Youn --- drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c b/drivers/st

lening bieden

2017-03-14 Thread SAFETY NET CREDIT
Goede dag, Dit is vangnet krediet leningen aan te bieden. Vangnet CREDIT biedt flexibele en betaalbare leningen voor welk doel u te helpen uw doelen te bereiken. we lening tegen lage rente van 3%. Hier zijn een aantal belangrijke kenmerken van de persoonlijke lening aangeboden door vangnet

[PATCH 0/4] arm64: dts: rockchip: add more nodes for RK3368 SoCs

2017-03-14 Thread Jianqun Xu
Add more nodes to RK3368 core dts file for RK3368 SoCs, and disable mailbox in core dts file. Jianqun Xu (4): ASoC: rockchip: add bindings for rk3368 i2s arm64: dts: rockchip: add i2s nodes support for RK3368 SoCs arm64: dts: rockchip: add amba node support for RK3368 SoCs arm64: dts: rock

Re: [PATCH 2/2] x86/mm/KASLR: Correct the upper boundary of KALSR mm regions if adjacent to EFI

2017-03-14 Thread Baoquan He
PING! Is there any suggestion for this code bug fix? Boris added comment in patch 1/2 thread that it can also be fixed by swapping the naming - EFI_VA_START and EFI_VA_END. As he said the swapping can remove the confusion about the naming, while the con is changing it now could confuse more peopl

[PATCH 1/4] ASoC: rockchip: add bindings for rk3368 i2s

2017-03-14 Thread Jianqun Xu
Add devicetree bindings for i2s controller found on rk3368 processors from rockchip. Signed-off-by: Jianqun Xu --- Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt b/Documentatio

Re: [PATCH] serial: 8250: 8250_core: Use dev_name() during request_irq()

2017-03-14 Thread Jisheng Zhang
On Tue, 14 Mar 2017 17:59:01 +0200 Andy Shevchenko wrote: > On Tue, Mar 14, 2017 at 3:44 PM, Vignesh R wrote: > > On Monday 13 March 2017 01:35 AM, Andy Shevchenko wrote: > >> On Wed, Mar 8, 2017 at 2:19 PM, Vignesh R wrote: > >>> Passing "serial" as name during request_irq() results in all

[PATCH 2/4] arm64: dts: rockchip: add i2s nodes support for RK3368 SoCs

2017-03-14 Thread Jianqun Xu
I2S of RK3368 SoCs keep same as RK3066 SoCs found on Rockchip, add nodes to support them. Signed-off-by: Jianqun Xu --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 38 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/

[PATCH 3/4] arm64: dts: rockchip: add amba node support for RK3368 SoCs

2017-03-14 Thread Jianqun Xu
There are two dmacs found on RK3368 SoCs, peripher dmac and bus dmac, and the dmacs are same as previous SoCs' dmac. Signed-off-by: Jianqun Xu --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/roc

[PATCH 4/4] arm64: dts: rockchip: disable mailbox of RK3368 SoCs defaultly

2017-03-14 Thread Jianqun Xu
Default to disable mailbox in rk3368 core dts file. Signed-off-by: Jianqun Xu --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index 90f72c2..36aeed0 100644 --- a/

Re: [PATCH v2 1/6] powerpc/perf: Define big-endian version of perf_mem_data_src

2017-03-14 Thread Michael Ellerman
Hi Peter, Peter Zijlstra writes: > On Tue, Mar 14, 2017 at 02:31:51PM +0530, Madhavan Srinivasan wrote: > >> >Huh? PPC hasn't yet implemented this? Then why are you fixing it? >> >> yes, PPC hasn't implemented this (until now). > > until now where? On powerpc there is currently no kernel suppor

Re: [lkp-robot] [f2fs] 4ac912427c: -33.7% aim7.jobs-per-min regression

2017-03-14 Thread Ye Xiaolong
On 03/15, Jaegeuk Kim wrote: >On 03/14, Ye Xiaolong wrote: >> On 03/14, Chao Yu wrote: >> >On 2017/3/14 3:22, Jaegeuk Kim wrote: >> >> On 03/13, Thorsten Leemhuis wrote: >> >>> @Chao Yu/@Jaegeuk Kim: I'm considering to add this to the regressions >> >>> report for 4.11; or is there a reason why it

Re: [PATCH v3] clk: imx: clk-imx6ul: The i.mx6ul has no aips_tz3 clock

2017-03-14 Thread Shawn Guo
On Tue, Mar 14, 2017 at 11:55:14AM +0100, Robin van der Gracht wrote: > On Fri, 3 Mar 2017 15:14:05 +0100 > Robin van der Gracht wrote: > > > The clock was mapped on CG15 (gpio2_clocks) in the CCRG0 register. > > > > Reviewed-by: Fabio Estevam > > Signed-off-by: Robin van der Gracht > > Sash

[PATCH] vc04_services: Fixing coding guideline error

2017-03-14 Thread Pushkar Jambhlekar
Fixing 'if' block coding style. '{' should follow 'if' for multiline block Signed-off-by: Pushkar Jambhlekar --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/

Re: [PATCH 2/2] x86/mm/KASLR: Correct the upper boundary of KALSR mm regions if adjacent to EFI

2017-03-14 Thread Baoquan He
On 03/15/17 at 02:13pm, Baoquan He wrote: > PING! > > Is there any suggestion for this code bug fix? > > Boris added comment in patch 1/2 thread that it can also be fixed by > swapping the naming - EFI_VA_START and EFI_VA_END. As he said the > swapping can remove the confusion about the naming, w

Crypto Fixes for 4.11

2017-03-14 Thread Herbert Xu
Hi Linus: This push fixes the following issues: - Self-test failure of crc32c on powerpc. - Regressions of ecb(aes) when used with xts/lrw in s5p-sss. - A number of bugs in the omap RNG driver. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus Daniel

Re: [PATCH v5 1/2] mailbox: Add driver for Broadcom FlexRM ring manager

2017-03-14 Thread Anup Patel
On Tue, Mar 14, 2017 at 10:24 PM, Jassi Brar wrote: > On Mon, Mar 6, 2017 at 10:40 AM, Anup Patel wrote: >> Some of the Broadcom iProc SoCs have FlexRM ring manager >> which provides a ring-based programming interface to various >> offload engines (e.g. RAID, Crypto, etc). >> >> This patch adds a

[PATCH v6 2/2] dt-bindings: Add DT bindings info for FlexRM ring manager

2017-03-14 Thread Anup Patel
This patch adds device tree bindings document for the FlexRM ring manager found on Broadcom iProc SoCs. Acked-by: Rob Herring Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Anup Patel --- .../bindings/mailbox/brcm,iproc-flexrm-mbox.txt| 59 ++ 1 file ch

[PATCH v6 1/2] mailbox: Add driver for Broadcom FlexRM ring manager

2017-03-14 Thread Anup Patel
Some of the Broadcom iProc SoCs have FlexRM ring manager which provides a ring-based programming interface to various offload engines (e.g. RAID, Crypto, etc). This patch adds a common mailbox driver for Broadcom FlexRM ring manager which can be shared by various offload engine drivers (implemente

[PATCH v6 0/2] Broadcom FlexRM ring manager support

2017-03-14 Thread Anup Patel
The Broadcom FlexRM ring manager provides producer-consumer style ring interface for offload engines on Broadcom iProc SoCs. We can have one or more instances of Broadcom FlexRM ring manager in a SoC. This patchset adds a mailbox driver for Broadcom FlexRM ring manager which can be used by offload

[PATCH] perf/record: make perf_event__synthesize_mmap_events() scale

2017-03-14 Thread Stephane Eranian
This patch significantly improves the execution time of perf_event__synthesize_mmap_events() when running perf record on systems where processes have lots of threads. It just happens that cat /proc/pid/maps support uses a O(N^2) algorithm to generate each map line in the maps file. If you have 100

Re: [PATCH net-next 4/4] net-next: dsa: add dsa support for Mediatek MT7530 switch

2017-03-14 Thread Sean Wang
On Tue, 2017-03-14 at 00:11 +0100, Andrew Lunn wrote: > > +static int > > +mt7530_setup(struct dsa_switch *ds) > > +{ > > + struct mt7530_priv *priv = ds->priv; > > + int ret, i, phy_mode; > > + u8 cpup_mask = 0; > > + u32 id, val; > > + struct regmap *regmap; > > + > > + /* Make sure

Re: [PATCH v3 6/7] xen/9pfs: receive responses

2017-03-14 Thread Juergen Gross
On 14/03/17 00:50, Stefano Stabellini wrote: > Upon receiving a notification from the backend, schedule the > p9_xen_response work_struct. p9_xen_response checks if any responses are > available, if so, it reads them one by one, calling p9_client_cb to send > them up to the 9p layer (p9_client_cb c

Re: [PATCH v3 7/7] xen/9pfs: build 9pfs Xen transport driver

2017-03-14 Thread Juergen Gross
On 14/03/17 00:50, Stefano Stabellini wrote: > This patch adds a Kconfig option and Makefile support for building the > 9pfs Xen driver. > > Signed-off-by: Stefano Stabellini > CC: boris.ostrov...@oracle.com > CC: jgr...@suse.com > CC: Eric Van Hensbergen > CC: Ron Minnich > CC: Latchesar Ionko

[PATCH 00/12] fs, nfs conversions from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
This series, for nfs filesystem, replaces atomic_t reference counters with the new refcount_t type and API (see include/linux/refcount.h). By doing this we prevent intentional or accidental underflows or overflows that can led to use-after-free vulnerabilities. The below patches have been run-time

[PATCH 05/12] fs, nfs: convert pnfs_layout_segment.pls_refcount from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by: Hans Liljestrand Signed-off-

[PATCH 03/12] fs, nfsd: convert nfs4_file.fi_ref from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by: Hans Liljestrand Signed-off-

[PATCH 01/12] fs, nfsd: convert nfs4_stid.sc_count from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by: Hans Liljestrand Signed-off-

[PATCH 08/12] fs, nfs: convert nfs_cache_defer_req.count from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
Signed-off-by: Elena Reshetova --- fs/nfs/cache_lib.c | 6 +++--- fs/nfs/cache_lib.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/nfs/cache_lib.c b/fs/nfs/cache_lib.c index 6de1570..cf8ccb6 100644 --- a/fs/nfs/cache_lib.c +++ b/fs/nfs/cache_lib.c @@ -66,7 +66,7 @@ int

Re: [PATCH V7 4/7] LPC: Support the device-tree LPC host on Hip06/Hip07 (fwd)

2017-03-14 Thread zhichang.yuan
tree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/zhichang-yuan/LPC-legacy-ISA-I-O-support/20170314-114635 > :: branch date: 85 minutes ago > :: commit date: 85 minutes ago > >>> drivers/bus/hisi_lpc

[PATCH 11/12] fs, nfs: convert nfs_client.cl_count from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by: Hans Liljestrand Signed-off-

[PATCH 07/12] fs, nfs: convert nfs4_ff_layout_mirror.ref from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by: Hans Liljestrand Signed-off-

[PATCH 10/12] fs, nfs: convert nfs_lock_context.count from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by: Hans Liljestrand Signed-off-

[PATCH 12/12] fs, nfs: convert nfs_cache_array.refcount from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by: Hans Liljestrand Signed-off-

Re: [PATCH v2 1/2] dts: arm64: add LS1043A DPAA support

2017-03-14 Thread Shawn Guo
On Wed, Mar 01, 2017 at 05:35:04PM +0200, Madalin Bucur wrote: > Signed-off-by: Madalin Bucur Empty commit log is generally not welcome, especially when the commit adds so many files. > --- > arch/arm64/boot/dts/freescale/fsl-ls1043-post.dtsi | 41 +++ > arch/arm64/boot/dts/freescale/fs

[PATCH 09/12] fs, nfs: convert nfs4_lock_state.ls_count from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by: Hans Liljestrand Signed-off-

[PATCH 06/12] fs, nfs: convert pnfs_layout_hdr.plh_refcount from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by: Hans Liljestrand Signed-off-

[PATCH 04/12] fs, nfs: convert nfs4_pnfs_ds.ds_count from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by: Hans Liljestrand Signed-off-

[PATCH 02/12] fs, nfsd: convert nfs4_cntl_odstate.co_odcount from atomic_t to refcount_t

2017-03-14 Thread Elena Reshetova
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Elena Reshetova Signed-off-by: Hans Liljestrand Signed-off-

RE: [RESEND PATCH v3 2/2] phy: Group vendor specific phy drivers

2017-03-14 Thread Yoshihiro Shimoda
Hi, > From: Vivek Gautam, Sent: Tuesday, March 14, 2017 3:23 PM > > Adding vendor specific directories in phy to group > phy drivers under their respective vendor umbrella. > > Also updated the MAINTAINERS file to reflect the correct > directory structure for phy drivers. > > Signed-off-by: Vi

Re: [PATCH v2 08/11] iio: adc: sun4i-gpadc-iio: add support for A33 thermal sensor

2017-03-14 Thread Quentin Schulz
Hi Jonathan, On 14/03/2017 06:18, Icenowy Zheng wrote: > > > 14.03.2017, 05:08, "Jonathan Cameron" : >> On 10/03/17 10:39, Quentin Schulz wrote: >>> This adds support for the Allwinner A33 thermal sensor. >>> >>> Unlike the A10, A13 and A31, the Allwinner A33 only has one channel >>> which is

Re: [PATCH] [media] v4l2-dv-timings: Introduce v4l2_calc_fps()

2017-03-14 Thread Hans Verkuil
On 03/13/2017 08:03 PM, Jose Abreu wrote: > Hi Hans, > > > On 09-03-2017 15:40, Hans Verkuil wrote: >> On 09/03/17 16:15, Jose Abreu wrote: >>> Hi Hans, >>> >>> >>> Thanks for the review! >>> >>> >>> On 09-03-2017 12:29, Hans Verkuil wrote: On 07/03/17 17:48, Jose Abreu wrote: > HDMI Rec

Re: [PATCH] ARM: dts: imx6q-bx50v3/imx6q-b450v3/imx6q-b650v3: fix at25 spi-clk frequency issue

2017-03-14 Thread Shawn Guo
On Sat, Mar 04, 2017 at 05:20:32AM +0800, Ken Lin wrote: > Change the maxium spi clock frequency from 20MHz to 10MHz to meet the > operation voltage range requirement recommended in AT25 datasheet The commit log should be wrapped around column 72 to make it easier for read. The subject prefix is

Re: [PATCH v4 29/36] media: imx: mipi-csi2: enable setting and getting of frame rates

2017-03-14 Thread Hans Verkuil
On 03/13/2017 10:03 PM, Sakari Ailus wrote: > Hi Steve, > > On Mon, Mar 13, 2017 at 11:06:22AM -0700, Steve Longerbeam wrote: >> >> >> On 03/13/2017 06:55 AM, Philipp Zabel wrote: >>> On Mon, 2017-03-13 at 13:27 +, Russell King - ARM Linux wrote: On Mon, Mar 13, 2017 at 03:16:48PM +0200,

RE: [PATCH 30/33] Input: raydium_i2c_ts - Simplify error return and other changes

2017-03-14 Thread 林義章
Hi sirs: We're found raydium I2C driver not been kernel version v4.4, just found in v3.18. Should I commit again to V4.4?? Best Regards -- Jeffrey Lin,林義章 瑞鼎科技 Raydium Semiconductor Corporation Tel:(03)666-1818 Ext.4163 Fax:(03)6

Re: [PATCH v1] mfd: intel-lpss: Remove left over variable

2017-03-14 Thread Mika Westerberg
On Mon, Mar 13, 2017 at 07:53:01PM +0200, Andy Shevchenko wrote: > After commit 028af5941dd8 ("mfd: intel-lpss: Pass SDA hold time to I2C host > controller driver") > the driver still has a non-used variable. > > Remove it here. > > Cc: Mika Westerberg Acked-by: Mika Westerberg

Re: [PATCH v1 02/10] mm: remove SWAP_DIRTY in ttu

2017-03-14 Thread Minchan Kim
Hello Hillf, On Mon, Mar 13, 2017 at 02:34:37PM +0800, Hillf Danton wrote: > > On March 13, 2017 8:36 AM Minchan Kim wrote: > > > > If we found lazyfree page is dirty, try_to_unmap_one can just > > SetPageSwapBakced in there like PG_mlocked page and just return > > with SWAP_FAIL which is very

Re: [PATCH v1 09/10] mm: make rmap_one boolean function

2017-03-14 Thread Minchan Kim
Hi Andrew, On Mon, Mar 13, 2017 at 12:45:00PM -0700, Andrew Morton wrote: > On Mon, 13 Mar 2017 09:35:52 +0900 Minchan Kim wrote: > > > rmap_one's return value controls whether rmap_work should contine to > > scan other ptes or not so it's target for changing to boolean. > > Return true if the s

Re: [PATCH v5 06/13] lockdep: Implement crossrelease feature

2017-03-14 Thread Byungchul Park
On Tue, Feb 28, 2017 at 07:15:47PM +0100, Peter Zijlstra wrote: > On Wed, Jan 18, 2017 at 10:17:32PM +0900, Byungchul Park wrote: > > + /* > > +* Each work of workqueue might run in a different context, > > +* thanks to concurrency support of workqueue. So we have to > > +* distinguis

Re: srcu: BUG in __synchronize_srcu

2017-03-14 Thread Lance Roy
I am not sure how the rcu_scheduler_active changes in __synchronize_srcu work, but there seem to be a few problems in them. First, "if (done && likely(!driving))" on line 453 doesn't appear to ever happen, as driving doesn't get set to false when srcu_reschedule is called. This seems like it could

Re: [PATCH 0/6] x86: 5-level paging enabling for v4.12, Part 1

2017-03-14 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > Here's the first bunch of patches of 5-level patchset. Let's see if I'm on > right track addressing Ingo's feedback. :) > > These patches prepare x86 code to be switched from > to . It's a stepping stone for adding 5-level > paging support. > > Please review and

[PATCH] perf report: setup elide when siwtch to another event in by tab key

2017-03-14 Thread changbin . du
From: Changbin Du When we zoom into a column, that column is elided. But this should apply to another event browser window after event switch by tab key. We need setup elide corresponding to new event. Signed-off-by: Changbin Du --- tools/perf/ui/browsers/hists.c | 5 + 1 file changed, 5 i

Re: [Intel-wired-lan] [BUG] 4.11.0-rc1 panic on shutdown X61s

2017-03-14 Thread Neftin, Sasha
On 3/14/2017 03:20, Brown, Aaron F wrote: From: Bjørn Mork [mailto:bj...@mork.no] Sent: Monday, March 13, 2017 9:46 AM To: Borislav Petkov Cc: Andy Shevchenko ; l...@pengaru.com; linux-kernel ; vcap...@pengaru.com; linux- p...@vger.kernel.org; intel-wired-...@lists.osuosl.org; khalidm ; David Si

Re: [PATCH] drm: dw_hdmi: Gate audio sampler clock from the enablement functions

2017-03-14 Thread Romain Perier
Hi, Le 13/03/2017 à 19:49, Jose Abreu a écrit : > Hi Russell, > > > On 13-03-2017 13:10, Russell King - ARM Linux wrote: >> On Mon, Mar 13, 2017 at 12:55:58PM +, Jose Abreu wrote: >>> Hi, >>> >>> >>> On 13-03-2017 09:36, Russell King - ARM Linux wrote: On Mon, Mar 13, 2017 at 10:27:08AM

Re: [2/3] soc: samsung: Do not build ARMv7 PMU drivers on ARMv8

2017-03-14 Thread Alim Akhtar
Hi Krzysztof, On 03/12/2017 03:08 AM, Krzysztof Kozlowski wrote: > The Exynos Power Management Unit (PMU) drivers contain quite large > static arrays of register values necessary for given Exynos SoC to enter > low power mode. All this data is useless for ARMv8 SoC like > Exynos5433, because the

[PATCH] staging: atomisp: silence an array overflow warning

2017-03-14 Thread Dan Carpenter
Static checkers complain that we should check if "i" is in bounds before we check if "var8[i]" is a NUL char. This bug is harmless but also easy to fix. Signed-off-by: Dan Carpenter diff --git a/drivers/staging/media/atomisp/platform/intel-mid/atomisp_gmin_platform.c b/drivers/staging/media/a

Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-14 Thread Hans Verkuil
On 03/14/2017 04:45 AM, Mauro Carvalho Chehab wrote: > Hi Sakari, > > I started preparing a long argument about it, but gave up in favor of a > simpler one. > > Em Mon, 13 Mar 2017 14:46:22 +0200 > Sakari Ailus escreveu: > >> Drivers are written to support hardware, not particular use case. >

[PATCH] staging: android: ion: reduce lock contention latency

2017-03-14 Thread Junil Lee
Replace list into lock-less list of ion page pool. Measure how mutex lock contention latency on android. 1. the test is done under android 7.0 2. startup many applications circularly 3. find sample in trace log as below cameraserver-625 [004] ...1 1891.952958: mutex_lock_enter: id=0 B

[PATCH] mux: checking for IS_ERR() instead of NULL or vice versa

2017-03-14 Thread Dan Carpenter
This error handling is mixed up. mux_chip_alloc() doesn't return error pointers but devm_mux_chip_alloc() does. Fixes: 4f5078327db1 ("mux: minimal mux subsystem and gpio-based mux controller") Signed-off-by: Dan Carpenter diff --git a/drivers/mux/mux-core.c b/drivers/mux/mux-core.c index 46088a

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