[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

[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 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 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

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

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 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

[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 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

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 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

[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/

[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 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/

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 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

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 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

[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 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 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 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] 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

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

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

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 >>> ---

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

[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

[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 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 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 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 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 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 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(+),

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.

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] 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: 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 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: [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

[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

[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 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 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 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 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 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 00/17] iio: Add OF device table to I2C drivers that are missing it

2017-03-14 Thread Javier Martinez Canillas
Hello, This series add OF device ID tables to IIO I2C drivers whose devices are either used in Device Tree source files or are listed in binding docs as a compatible string. That's done because the plan is to change the I2C core to report proper OF modaliases instead of always reporting a MODALIA

[PATCH v2 05/17] iio: light: us5182d: 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 04/17] iio: dac: mcp4725: 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 01/17] iio: adc: ina2xx: 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 v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-14 Thread Akshay Bhat
Hi Wolfgang, On Tue, Mar 14, 2017 at 2:08 PM, Wolfgang Grandegger wrote: ...snip >> /disconnect cable >> can0 2088 [8] 00 00 00 19 00 00 28 00 ERRORFRAME >> protocol-violation{{}{acknowledge-slot}} >> bus-error >> error-counter-tx-rx{{40}{0}} >> can0

Re: [PATCH v3 2/5] thermal: add trace events to the power allocator governor

2017-03-14 Thread Viresh Kumar
Hi Javi, Sorry for picking up an old thread, but i had a question for you. On Mon, Mar 2, 2015 at 10:47 PM, Javi Merino wrote: > diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c > @@ -588,12 +590,20 @@ static int cpufreq_get_requested_power(struct > thermal_cooling_de

Re: [PATCH 1/2] mm: Change generic FALLBACK zonelist creation process

2017-03-14 Thread John Hubbard
On 03/14/2017 06:33 AM, Anshuman Khandual wrote: On 03/08/2017 04:37 PM, John Hubbard wrote: [...] There was a discussion, on an earlier version of this patchset, in which someone pointed out that a slight over-allocation on a device that has much more memory than the CPU has, could use up syst

Re: [PATCH V7 0/7] LPC: legacy ISA I/O support

2017-03-14 Thread zhichang.yuan
Hi, Arnd, Many thanks for your review! On 2017/3/14 16:39, Arnd Bergmann wrote: > On Mon, Mar 13, 2017 at 3:42 AM, zhichang.yuan > wrote: >> This patchset supports the IPMI-bt device attached to the Low-Pin-Count >> interface implemented on Hisilicon Hip06/Hip07 SoC. >> -

Re: [PATCH] Fixed a minor coding style warning. Arguments in the macros should be coverd in brackets to aviod any precedence issues.

2017-03-14 Thread kbuild test robot
Hi mshan, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.11-rc2 next-20170310] [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/mshan/Fixed-a-minor-coding-style-wa

[PATCH] drivers/staging/goldfish/goldfish_nand.c: Fixed Coding style Warnings.

2017-03-14 Thread mshan
Embedded function names are less appropriate to use when refactoring, can cause function renaming. Prefer the use of "%s", __func__ to embedded function names Signed-off-by: mshan --- drivers/staging/goldfish/goldfish_nand.c | 16 1 file changed, 8 insertions(+), 8 deletions(-)

Re: [2/2] coresight: Fix reference count for software sources

2017-03-14 Thread Chunyan Zhang
Hi Suzuki, On 15 March 2017 at 02:06, Suzuki K Poulose wrote: > On 14/03/17 17:40, Mathieu Poirier wrote: >> >> On 14 March 2017 at 11:32, Mathieu Poirier >> wrote: >>> >>> From: "Suzuki K. Poulose" >>> >>> For software sources (i.e STM), there could be multiple agents >>> generating the trace

[PATCH v2] usb: phy: isp1301: 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: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2017-03-14 Thread Nayak, Rajendra
Hey Jon, Looks like there is still some interest/needs in/for this. Any thoughts on how we can move this forward? At the Linaro Connect last week, I was talking to Björn, Rajendra and Stephen more about these related issues. It definitely seems like we need to progress with this somehow, mean

[PATCH v3 2/2] power: supply: max17040: 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 v3 1/2] power: supply: ltc2941-battery-gauge: 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

[GIT] Networking

2017-03-14 Thread David Miller
1) Ensure that mtu is at least IPV6_MIN_MTU in ipv6 VTI tunnel driver, from Steffen Klassert. 2) Fix crashes when user tries to get_next_key on an LPM bpf map, from Alexei Starovoitov. 3) Fix detection of VLAN fitlering feature for bnx2x VF devices, from Michal Schmidt. 4) We can get a

perf: rdpmc mmap page time_enabled issue

2017-03-14 Thread Vince Weaver
So another obscure rdpmc problem, turned up by the PAPI regression tests. If you use rdpmc, and your event is attached measuring another process, and then you ENABLE/DISABLE/ENABLE/rdpmc the event somehow the userpg->time_enabled field gets a weird value and that completely confuses code expect

[PATCH v2 1/2] mfd: retu: 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 2/2] mfd: tps6105x: 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] vc04_services: Fixing coding and logical guidelines

2017-03-14 Thread Pushkar Jambhlekar
Description: in file 'vc04_services/interface/vchiq_arm/vchiq_shim.c', making changes to make code according to 'checkpath.pl'. Also, fixing logical issue, i.e. removing break after goto statement. Signed-off-by: Pushkar Jambhlekar --- .../vc04_services/interface/vchiq_arm/vchiq_shim.c | 33

Re: [PATCH 2/4] misc: ds1682: Add OF device ID table

2017-03-14 Thread Javier Martinez Canillas
On 03/14/2017 09:38 PM, Javier Martinez Canillas wrote: > Hello Arnd, > > Thanks a lot for your feedback. > > On 03/14/2017 05:46 PM, Arnd Bergmann wrote: >> On Tue, Mar 14, 2017 at 4:16 PM, Javier Martinez Canillas >> wrote: >> >>> +static const struct of_device_id ds1682_of_match[] = { >>> +

[PATCH net] bridge: ebtables: fix reception of frames DNAT-ed to bridge device

2017-03-14 Thread Linus Lüssing
When trying to redirect bridged frames to the bridge device itself via the ebtables nat-prerouting chain and the dnat target then this currently fails: The ethernet destination of the frame is dnat'ed to the MAC address of the bridge itself just fine and the correctly altered frame can even be cap

[PATCH] net: unix: properly re-increment inflight counter of GC discarded candidates

2017-03-14 Thread Andrey Ulanov
Dmitry has reported that a BUG_ON() condition in unix_notinflight() may be triggered by a simple code that forwards unix socket in an SCM_RIGHTS message. That is caused by incorrect unix socket GC implementation in unix_gc(). The GC first collects list of candidates, then (a) decrements their "chi

Projects Finance & Business expansion

2017-03-14 Thread Slegt Financiële Dienstverlening B . V .
Dear Sir/Madam we are Slegt Financiële Dienstverlening B.V. Re: Projects Finance & Business expansion. Kindly be informed that we are investment company and we offer a wide range of project finance packages/services to Private, Corporate & Government Agencies. And Our Financing Options and se

Re: [PATCHv5 4/4] Staging: ks7010: ks_wlan_ioctl.h: Wrap complex macros with parentheses

2017-03-14 Thread Tobin C. Harding
On Tue, Mar 14, 2017 at 07:25:54PM -0700, Matthew Giassa wrote: > Wrapping all complex macros with parentheses to resolve checkpatch > errors. This change, along with the preceding changes in this change > set, resolves all checkpatch warnings and errors for the file. > > Signed-off-by: Matthew Gi

Re: Linux 4.9.15

2017-03-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 5e7706e94622..03df4fcacdf2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 14 +SUBLEVEL = 15 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processo

Re: Linux 4.4.54

2017-03-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 10aec937e9e4..7f54ac081cf3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 53 +SUBLEVEL = 54 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/proces

Linux 4.4.54

2017-03-14 Thread Greg KH
I'm announcing the release of the 4.4.54 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 4.9.15

2017-03-14 Thread Greg KH
I'm announcing the release of the 4.9.15 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.10.3

2017-03-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 6e09b3a44e9a..190a684303c1 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 10 -SUBLEVEL = 2 +SUBLEVEL = 3 EXTRAVERSION = NAME = Fearless Coyote diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processo

Linux 4.10.3

2017-03-14 Thread Greg KH
I'm announcing the release of the 4.10.3 kernel. All users of the 4.10 kernel series must upgrade. The updated 4.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.10.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] cpufreq: Fix and clean up show_cpuinfo_cur_freq()

2017-03-14 Thread Viresh Kumar
On 15-03-17, 00:12, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > There is a missing newline in show_cpuinfo_cur_freq(), so add it, > but while at it clean it up somewhat too. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq.c |8 +--- > 1 file changed, 5 i

Re: [PATCH 3/4] x86, pci: Add interface to force mmconfig

2017-03-14 Thread Bjorn Helgaas
On Tue, Mar 14, 2017 at 07:24:14PM -0700, Andi Kleen wrote: > > I agree that it should be fairly safe to do ECAM/MMCONFIG without > > locking. Can we handle the decision part by adding a "lockless" bit > > to struct pci_ops? Old ops don't mention that bit, so it will be > > initialized to zero an

Re: [PATCH 4/7] kref: Remove WARN_ON for NULL release functions

2017-03-14 Thread Greg KH
On Tue, Mar 14, 2017 at 07:14:28PM -0700, Andi Kleen wrote: > From: Andi Kleen > > The kref functions check for NULL release functions. > This WARN_ON seems rather pointless. We will eventually release and > then just crash nicely. It is also somewhat expensive because > these functions are inlin

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

2017-03-14 Thread kbuild test robot
Hi Sean, [auto build test WARNING on robh/for-next] [also build test WARNING on v4.11-rc2 next-20170310] [cannot apply to net-next/master net/master] [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/commi

[PATCHv5 2/4] Staging: ks7010: ks_wlan_ioctl.h: Remove trailing white space

2017-03-14 Thread Matthew Giassa
Removing trailing white space characters in comments to resolve a checkpatch warning. Signed-off-by: Matthew Giassa --- drivers/staging/ks7010/ks_wlan_ioctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks_wlan_ioctl.h b/drivers/staging/ks7010/ks_w

Re: [RFC PATCH kernel] gcc-goto.sh: Allow to pass with CONFIG_DEBUG_INFO_SPLIT=y

2017-03-14 Thread Alexey Kardashevskiy
On 14/03/17 13:54, Alexey Kardashevskiy wrote: > On 03/03/17 11:51, Alexey Kardashevskiy wrote: >> With just CONFIG_DEBUG_INFO=y, the makefile adds "-g" to >> KBUILD_CFLAGS/KBUILD_AFLAGS and the test passes. >> >> However, if CONFIG_DEBUG_INFO_SPLIT is also enabled, the makefile >> adds "-gsplit-dw

[PATCHv5 4/4] Staging: ks7010: ks_wlan_ioctl.h: Wrap complex macros with parentheses

2017-03-14 Thread Matthew Giassa
Wrapping all complex macros with parentheses to resolve checkpatch errors. This change, along with the preceding changes in this change set, resolves all checkpatch warnings and errors for the file. Signed-off-by: Matthew Giassa --- drivers/staging/ks7010/ks_wlan_ioctl.h | 64 +--

  1   2   3   4   5   6   7   8   9   10   >