[PATCH 1/11] staging: lustre: fid: Use kzalloc and kfree

2015-05-01 Thread Julia Lawall
From: Julia Lawall Replace OBD_ALLOC, OBD_ALLOC_WAIT, OBD_ALLOC_PTR, and OBD_ALLOC_PTR_WAIT by kalloc/kcalloc, and OBD_FREE and OBD_FREE_PTR by kfree. A simplified version of the semantic patch that makes these changes is as follows: (http://coccinelle.lip6.fr/) // @@ expression ptr,size; @@ -

[PATCH] drm/exynos: mixer: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/exynos/exynos_mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_

Re: context tracking vs. syscall_trace_leave & do_notify_resume loop

2015-05-01 Thread Rik van Riel
On 05/01/2015 11:55 AM, Andy Lutomirski wrote: > On Thu, Apr 30, 2015 at 6:30 PM, Rik van Riel wrote: >> I suspect it would be possible to stick a call to a new function >> (return_to_user ?) right after the DISABLE_INTERRUPTS below, which >> could be used to do the context tracking user_enter ju

Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable & enable from context tracking on syscall entry

2015-05-01 Thread Ingo Molnar
* Rik van Riel wrote: > > I.e. what's the baseline we are talking about? > > It's an astounding difference. This is not a kernel without > nohz_full, just a CPU without nohz_full running the same kernel I > tested with yesterday: > > run timesystem time > vanilla

[PATCH 2/3] gpio: mxs: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/gpio/gpio-mxs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-mxs.c b/drivers/gpio/gpio-mxs.c index 84cbda6acdda..150a3225aa41 10

Re: [v3.12.y][v3.13.y-ckt][3.14.y][3.16.y-ckt][3.18.y][3.19.y][V2][PATCH 0/1] n_tty: Fix read buffer overwrite when no newline

2015-05-01 Thread Kamal Mostafa
On Thu, 2015-04-16 at 14:57 -0400, Joseph Salisbury wrote: > Hello, > > Please consider including mainline commit > fb5ef9e7da39968fec6d6f37f20a23d23740c75e > in the next v3.12.y, v3.13.y-ckt, v3.14.y, 3.16.y-ckt, 3.18.y, and 3.19.y > stable releases. > It was included mainline as of v4.0-rc1

[PATCH 2/5] dmaengine: imx: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/dma/imx-dma.c | 2 +- drivers/dma/imx-sdma.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c index

[PATCH 3/5] dmaengine: mxs: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/dma/mxs-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c index 829ec686dac3..60de35251da5 100644 -

[PATCH 5/5] dmaengine: s3c24xx: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/dma/s3c24xx-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c index 01dcaf21b988..17ccdfd28

[PATCH 4/5] dmaengine: nbpfaxi: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/dma/nbpfaxi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/nbpfaxi.c b/drivers/dma/nbpfaxi.c index 88b77c98365d..2b5a198ac77e 100644 -

[PATCH 1/5] dmaengine: ep93xx: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/dma/ep93xx_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ep93xx_dma.c b/drivers/dma/ep93xx_dma.c index 24e5290faa32..57ff46284f15

[PATCH 3/3] gpio: ts5500: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/gpio/gpio-ts5500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-ts5500.c b/drivers/gpio/gpio-ts5500.c index 92fbabd82879..b29a10

[PATCH 1/2] hwmon: max197: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/max197.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/max197.c b/drivers/hwmon/max197.c index cb0dcfda958c..07628569547a 10064

[PATCH 6/9] iio: hid-sensor-magn-3d: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/magnetometer/hid-sensor-magn-3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/magnetometer/hid-sensor-magn-3d.c b/drivers/iio/ma

[PATCH 2/2] hwmon: sht15: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/sht15.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c index d4f0935daaa1..497a7f822a12 100644 -

[PATCH 5/9] iio: light: hid-sensor-prox: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/light/hid-sensor-prox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/light/hid-sensor-prox.c b/drivers/iio/light/hid-sensor-prox.

[PATCH 1/3] gpio: mxc: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/gpio/gpio-mxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c index 9f7446a7ac64..e2d3eda1fe87 10

[PATCH 8/9] iio: hid-sensor-rotation: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/orientation/hid-sensor-rotation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/orientation/hid-sensor-rotation.c b/drivers/iio/or

[PATCH 2/2] input: s3c2410_ts: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/input/touchscreen/s3c2410_ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3

[PATCH 4/4] i2c: s4c2410: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/i2c/busses/i2c-s3c2410.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index 95

[PATCH 9/9] iio: hid-sensor-press: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/pressure/hid-sensor-press.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/pressure/hid-sensor-press.c b/drivers/iio/pressure/hid-s

Re: context tracking vs. syscall_trace_leave & do_notify_resume loop

2015-05-01 Thread Andy Lutomirski
On Thu, Apr 30, 2015 at 6:30 PM, Rik van Riel wrote: > Andy pointed out to me something I should have seen earlier: both > syscall_trace_leave and do_notify_resume call both user_exit() > and user_enter(), which has the potential to greatly increase the > cost of context tracking. > > I believe (t

[PATCH 7/9] iio: hid-sensor-incl-3d: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/orientation/hid-sensor-incl-3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/orientation/hid-sensor-incl-3d.c b/drivers/iio/orie

[PATCH 1/2] input: samsung-keypad: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/input/keyboard/samsung-keypad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/samsung-keypad.c b/drivers/input/keyboard/sam

[PATCH 1/9] iio: hid-sensor-accel-3d: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/iio/accel/hid-sensor-accel-3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/accel/hid-sensor-accel-3d.c b/drivers/iio/accel/hid-sens

[PATCH 2/4] media: platform: exynos4-is: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/media/platform/exynos4-is/media-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos4-is/media-dev.c b/drivers/media/

Re: [PATCH RFC 0/2] crypto: Introduce Public Key Encryption API

2015-05-01 Thread David Howells
Tadeusz Struk wrote: > As part of the rework the enum pkey_algo has been removed as the algorithm > to allocate will be indicated by a string - for instance "rsa" or "dsa", No. That number is exposed outside of the kernel. Actually, if you can integrate: http://git.kernel.org/cgit/li

[PATCH 4/4] media: platform: sp5: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/media/platform/s5p-g2d/g2d.c | 2 +- drivers/media/platform/s5p-mfc/s5p_mfc.c | 2 +- drivers/media/platform/s5p-tv/hdmi_drv.c | 2 +- 3 files changed, 3 insertions(

[PATCH 2/6] mmc: mxs: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/mmc/host/mxs-mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c index a82411a2c024..d83914

[PATCH 1/3] mtd: mxc-nand: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/mtd/nand/mxc_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 372e0e38f59b..2c4

[PATCH 5/6] mmc: sdhci-imx: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/mmc/host/sdhci-esdhc-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c i

[PATCH 4/6] mmc: s3cmci: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/mmc/host/s3cmci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index 94cddf381ba3..6291d5042

[PATCH 2/3] mtd: s3c2410: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/mtd/nand/s3c2410.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index 0e02be47ce1d..381f67

[PATCH 3/3] mtd: samsung: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/mtd/onenand/samsung.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/onenand/samsung.c b/drivers/mtd/onenand/samsung.c index 19cfb97adbc

[PATCH 6/6] mmc: sdhc-s3c: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/mmc/host/sdhci-s3c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c index c6d2dd7317c1..

[PATCH 3/6] mmc: rtsx: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/mmc/host/rtsx_pci_sdmmc.c | 2 +- drivers/mmc/host/rtsx_usb_sdmmc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/rtsx_pci_sdmm

[PATCH 3/4] media: platform: s3c-camif: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/media/platform/s3c-camif/camif-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s3c-camif/camif-core.c b/drivers/media/

[PATCH 1/4] media: platform: exynos-gsc: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/media/platform/exynos-gsc/gsc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos-gsc/gsc-core.c b/drivers/media/pl

[PATCH 1/6] mmc: davinci: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/mmc/host/davinci_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c index 1625f908

Re: [GIT PULL] kdbus for 4.1-rc1

2015-05-01 Thread Austin S Hemmelgarn
On 2015-04-29 08:47, Harald Hoyer wrote: Until then the whole common IPC problem is unresolved and Linux distributions are just a collection of random software with no common interoperability and home grown interfaces. I don't know how I managed to not notice this comment before, but I find it p

[PATCH 1/2] power: axp288_fuel_gauge: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/power/axp288_fuel_gauge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/axp288_fuel_gauge.c b/drivers/power/axp288_fuel_gauge.c inde

Re: [PATCH v6] block: loop: avoiding too many pending per work I/O

2015-05-01 Thread Tejun Heo
On Fri, May 01, 2015 at 08:05:45AM -0700, Christoph Hellwig wrote: > > Maybe just cap max_active to NR_OF_LOOP_DEVS * 16 or sth? But idk, > > how many concurrent workers are we talking about and why are we > > capping per-queue concurrency from worker pool side instead of command > > tag side? >

[PATCH 2/2] power: at91-reset: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/power/reset/at91-reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/reset/at91-reset.c b/drivers/power/reset/at91-reset.c index 01

[PATCH 3/3] rtc: mxc: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/rtc/rtc-mxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-mxc.c b/drivers/rtc/rtc-mxc.c index 09d422b9f7f7..5fc292c2dfdf 100644 -

[PATCH 2/3] rtc: hid-sensor-time: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/rtc/rtc-hid-sensor-time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-hid-sensor-time.c b/drivers/rtc/rtc-hid-sensor-time.c inde

[PATCH] regulator: 88pm8607: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/regulator/88pm8607.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c index c3d15427adc7..

[PATCH 1/3] rtc: ab8500: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/rtc/rtc-ab8500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c index 6856f0a3a3d5..133d2e2e1a25

Re: [PATCH 2/2] gpio: x-gene: Remove a useless memset

2015-05-01 Thread Dan Carpenter
On Fri, May 01, 2015 at 04:54:28PM +0200, Marion & Christophe JAILLET wrote: > Hi, > > yes, you are correct, it's a mistake. > Should I resubmit with an updated subject? No. Also don't top post etc etc. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-k

[PATCH 4/4] spi: sh-msiof: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/spi/spi-sh-msiof.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c index bcc7c635d8e7..d3370a

[PATCH 1/4] spi: imx: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/spi/spi-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c index f08e812b2984..eb7d3a6fb14c 100644 -

[PATCH 3/4] spi: s3c64xx: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/spi/spi-s3c64xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index b1c6731fbf27..2a8c513c4

[PATCH 2/4] spi: rspi: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/spi/spi-rspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-rspi.c b/drivers/spi/spi-rspi.c index f6bac9e77d06..70a7a7b168fd 10064

[PATCH] staging: iio: ad7606_par: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/staging/iio/adc/ad7606_par.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/ad7606_par.c b/drivers/staging/iio/adc/ad7606_p

[PATCH] staging: media: omap4iss: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/staging/media/omap4iss/iss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/omap4iss/iss.c b/drivers/staging/media/omap4iss/i

[PATCH 2/4] serial: mxs: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/tty/serial/mxs-auart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index f7e5825b

[PATCH 4/4] serial: samsung: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/tty/serial/samsung.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index 19ce68e421a7..

[PATCH 3/4] serial: samsung: Staticize local symbol

2015-05-01 Thread Krzysztof Kozlowski
Staticize symbols not exported and not used outside of file. Signed-off-by: Krzysztof Kozlowski --- drivers/tty/serial/samsung.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index a0ae942d9562..19ce68e421a7 100644

[PATCH 1/4] serial: imx: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/tty/serial/imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index c8cfa0637128..fca20d595037

[PATCH 2/4] video: fbdev: imxfb: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/video/fbdev/imxfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c index 84d1d29e532c..cee

[PATCH 3/4] video: fbdev: mxsfb: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/video/fbdev/mxsfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/mxsfb.c b/drivers/video/fbdev/mxsfb.c index f8ac4a452f26..497

[PATCH] usb: phy-ab8500-usb: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/usb/phy/phy-ab8500-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-ab8500-usb.c b/drivers/usb/phy/phy-ab8500-usb.c index 72

[PATCH 4/4] video: fbdev: s3c-fb: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/video/fbdev/s3c-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/s3c-fb.c b/drivers/video/fbdev/s3c-fb.c index 7e3a05fc47aa..

Re: Tux3 Report: How fast can we fsync?

2015-05-01 Thread Dave Chinner
On Thu, Apr 30, 2015 at 03:28:13AM -0700, Daniel Phillips wrote: > On Wednesday, April 29, 2015 6:46:16 PM PDT, Dave Chinner wrote: > >>I measured fsync performance using a 7200 RPM disk as a virtual > >>drive under KVM, configured with cache=none so that asynchronous > >>writes are cached and sync

[PATCH 1/4] video: backlight: da9052: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/video/backlight/da9052_bl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/da9052_bl.c b/drivers/video/backlight/da9052_bl.

[PATCH] watchdog: max63xx_wdt: Constify platform_device_id

2015-05-01 Thread Krzysztof Kozlowski
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski --- drivers/watchdog/max63xx_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/max63xx_wdt.c b/drivers/watchdog/max63xx_wdt.c index 08da3114

[PATCH 1/3] sched: lockless wake-queues

2015-05-01 Thread Davidlohr Bueso
From: Peter Zijlstra This is useful for locking primitives that can effect multiple wakeups per operation and want to avoid lock internal lock contention by delaying the wakeups until we've released the lock internal locks. Alternatively it can be used to avoid issuing multiple wakeups, and thus

[PATCH 3/3] ipc/mqueue: lockless pipelined wakeups

2015-05-01 Thread Davidlohr Bueso
This patch moves the wakeup_process() invocation so it is not done under the info->lock by making use of a lockless wake_q. With this change, the waiter is woken up once it is STATE_READY and it does not need to loop on SMP if it is still in STATE_PENDING. In the timeout case we still need to grab

[PATCH 2/3] futex: lockless wakeups

2015-05-01 Thread Davidlohr Bueso
Given the overall futex architecture, any chance of reducing hb->lock contention is welcome. In this particular case, using wake-queues to enable lockless wakeups addresses very much real world performance concerns, even cases of soft-lockups in cases of large amounts of blocked tasks (which is not

[PATCH v2 0/3] kernel: lockless wake-queues

2015-05-01 Thread Davidlohr Bueso
Hello, This series is aimed at addressing some of the futex hash bucket lock hold times by introducing lockless wake-queues for futex_wake. patch-1: introduces the lockless wake-queue machinery. patch-2: makes use of patch 1 for futexes. patch-3: makes use of patch 1 for posix mqueues. Details i

Re: [Xen-devel] [PATCH v2 1/4] xen/events: Clear cpu_evtchn_mask before resuming

2015-05-01 Thread David Vrabel
On 01/05/15 14:39, Boris Ostrovsky wrote: > On 05/01/2015 06:46 AM, David Vrabel wrote: >> On 29/04/15 22:10, Boris Ostrovsky wrote: >>> When a guest is resumed, the hypervisor may change event channel >>> assignments. If this happens and the guest uses 2-level events it >>> is possible for the int

Re: [PATCH v2 2/5] sched, numa: Document usages of mm->numa_scan_seq

2015-05-01 Thread Paul E. McKenney
On Thu, Apr 30, 2015 at 02:13:07PM -0700, Jason Low wrote: > On Thu, 2015-04-30 at 14:42 -0400, Waiman Long wrote: > > > I do have a question of what kind of tearing you are talking about. Do > > you mean the tearing due to mm being changed in the middle of the > > access? The reason why I don't

Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable & enable from context tracking on syscall entry

2015-05-01 Thread Rik van Riel
On 05/01/2015 02:40 AM, Ingo Molnar wrote: >> This patch builds on top of these patches by Paolo: >> https://lkml.org/lkml/2015/4/28/188 >> https://lkml.org/lkml/2015/4/29/139 >> >> Together with this patch I posted earlier this week, the syscall path >> on a nohz_full cpu seems to be about 10% fa

[PATCH v3 5/8] regulator: arizona: add support for WM8998 and WM1814

2015-05-01 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald Acked-by: Mark Brown --- drivers/regulator/arizona-ldo1.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/regulator/arizona-ldo1.c b/drivers/regulator/arizona-ldo1.c index a1d07d3..4dc9b18 100644 --- a/drivers/regulator/arizona-

[PATCH v3 3/8] mfd: arizona: Add support for WM8998 and WM1814

2015-05-01 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald --- drivers/mfd/Kconfig |6 + drivers/mfd/Makefile |3 + drivers/mfd/arizona-core.c| 105 ++- drivers/mfd/arizona-i2c.c |8 + drivers/mfd/arizona-irq.c |9 + drivers/mfd/arizo

[PATCH v3 2/8] ASoC: arizona: add defines for single-input gain control

2015-05-01 Thread Richard Fitzgerald
Adds convenience defines for declaring a gain control that has an input mux. These blocks are functionally equivalent to the existing mixer blocks but can only have a single input active at once. Signed-off-by: Richard Fitzgerald Acked-by: Mark Brown --- sound/soc/codecs/arizona.h |5 +

[PATCH v3 6/8] extcon: arizona: Add support for WM8998 and WM1814

2015-05-01 Thread Richard Fitzgerald
This patch adds support for the WM8998 and WM1814 codecs. These use the same IP version as WM5110 but have different clamp control. Signed-off-by: Richard Fitzgerald Acked-by: Chanwoo Choi --- drivers/extcon/extcon-arizona.c | 33 ++--- 1 files changed, 22 insertio

Re: Plumbers 2015 -- Performance and Scalability track

2015-05-01 Thread Paul E. McKenney
On Fri, May 01, 2015 at 01:07:54PM +, Mathieu Desnoyers wrote: > - Original Message - > > Hello, > > > > I am hoping we can have a scaling track this year. The purpose of this > > email is to 1) confirm some of the key participants, 2) suggestions for > > other key participants and 3)

[PATCH v3 4/8] gpio: arizona: add support for WM8998 and WM1814

2015-05-01 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald Acked-by: Linus Walleij --- drivers/gpio/gpio-arizona.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c index 052fbc8..ca00273 100644 --- a/drivers/gpio/gpio-arizona.c +++ b/driv

[PATCH v3 0/8] Add support for Wolfson WM8998 and WM1814 codecs

2015-05-01 Thread Richard Fitzgerald
This set of patches adds support for the Wolfson Microelectronics WM8998 and WM1814 codecs. Richard Fitzgerald (8): mfd: arizona: Split INx_MODE into two fields ASoC: arizona: add defines for single-input gain control mfd: arizona: Add support for WM8998 and WM1814 gpio: arizona: add suppo

[PATCH v3 8/8] Documentation: Add WM8998/WM1814 device tree bindings

2015-05-01 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald --- Documentation/devicetree/bindings/mfd/arizona.txt | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt index 7665aa9..64fa3b

[PATCH] x86: Optimize variable_test_bit()

2015-05-01 Thread Peter Zijlstra
While looking at some asm I noticed we produce the most horrid code for test_bit(): 1a5e: 49 0f a3 30 bt %rsi,(%r8) 1a62: 45 19 c0sbb%r8d,%r8d 1a65: 45 85 c0test %r8d,%r8d 1a68: 75 a6 jn

[PATCH v3 7/8] ASoC: wm8998: Initial WM8998 codec driver

2015-05-01 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald --- sound/soc/codecs/Kconfig |6 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/arizona.c |7 + sound/soc/codecs/arizona.h |2 +- sound/soc/codecs/wm8998.c | 1406 sound/soc/codecs/wm8998.h |

[PATCH v3 1/8] mfd: arizona: Split INx_MODE into two fields

2015-05-01 Thread Richard Fitzgerald
Later arizona silicon has the single/differential selector in a different register, and IN1_MODE only selects between analogue or digital. Prepare for this by splitting the INx_MODE definition into two fields. Signed-off-by: Richard Fitzgerald --- drivers/mfd/arizona-core.c|8 +++

Re: [PATCH arm 1/2] arm64: Use common outgoing-CPU-notification code

2015-05-01 Thread Paul E. McKenney
On Thu, Apr 30, 2015 at 10:50:55AM +0100, Catalin Marinas wrote: > Hi Paul, > > On Thu, Apr 23, 2015 at 01:07:33PM -0700, Paul E. McKenney wrote: > > diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c > > index 328b8ce4b007..6dc727a6e73e 100644 > > --- a/arch/arm64/kernel/smp.c > > +++

Re: [PATCH 1/4] x86/mce: Define 'SUCCOR' cpuid bit

2015-05-01 Thread Dave Hansen
On 04/30/2015 07:49 AM, Aravind Gopalakrishnan wrote: > @@ -1640,6 +1640,7 @@ static void __mcheck_cpu_init_vendor(struct cpuinfo_x86 > *c) > case X86_VENDOR_AMD: > mce_amd_feature_init(c); > mce_flags.overflow_recov = cpuid_ebx(0x8007) & 0x1; > +

Re: [RFCv3 PATCH 37/48] sched: Determine the current sched_group idle-state

2015-05-01 Thread Dietmar Eggemann
On 01/05/15 10:56, pang.xun...@zte.com.cn wrote: > Hi Dietmar, > > Dietmar Eggemann wrote 2015-05-01 AM 04:17:51: >> >> Re: [RFCv3 PATCH 37/48] sched: Determine the current sched_group > idle-state >> >> On 30/04/15 06:12, pang.xun...@zte.com.cn wrote: >> > linux-kernel-ow...@vger.kernel.org wrot

[PATCH 4.0.1] HID: apple: option to swap the 'FN' and 'Left Control' keys.

2015-05-01 Thread Zakhar Semenov
This patch allows Apple users to swap the FN and left Control keys on Macbook Pro, external Apple keyboards and some other Apple devices. And it also allows to use EjectCD key as missing Delete key. New hid-apple module params are swap_fn_leftctrl and ejectcd_as_delete. Signed-off-by: Zakhar Sem

Re: [PATCH bisected regression] input_available_p() sometimes says 'no' when it should say 'yes'

2015-05-01 Thread Peter Hurley
Hi Neil, On 05/01/2015 02:20 AM, NeilBrown wrote: > > Hi Peter, > I recently had a report of a regression in 3.12. I bisected it down to your > patch > f95499c3030f ("n_tty: Don't wait for buffer work in read() loop") > > Sometimes a poll on a master-pty will report there is nothing to rea

Re: [PATCH v6] block: loop: avoiding too many pending per work I/O

2015-05-01 Thread Christoph Hellwig
On Fri, May 01, 2015 at 10:22:21AM -0400, Tejun Heo wrote: > > > Why would you do this fall back? Shouldn't we just communicate > > > a concurrency limit to the workqueue code? > > > > It can't work with workqueue's concurrency limit because the > > queue is shared by all loop block devices, and

Re: [PATCH V3 1/2 linux-next] cpufreq: pxa: replace typedef pxa_freqs_t by structure

2015-05-01 Thread Viresh Kumar
On 1 May 2015 at 14:04, Fabian Frederick wrote: > typedef is not really useful here. Replace it by structure > to improve readability. typedef should only be used in some cases. > (See Documentation/CodingStyle Chapter 5 for details). > > Signed-off-by: Fabian Frederick > --- > Compiled but untes

Re: [PATCH 2/2] gpio: x-gene: Remove a useless memset

2015-05-01 Thread Marion & Christophe JAILLET
Hi, yes, you are correct, it's a mistake. Should I resubmit with an updated subject? CJ Le 01/05/2015 16:19, Dan Carpenter a écrit : The "[PATCH 2/2]" bit is a mistake. It's not part of a patchset. It's just that you have sent two patches today. The first patch wasn't even named [1/2]...

Re: [PATCH 1/4] x86/mce: Define 'SUCCOR' cpuid bit

2015-05-01 Thread Aravind Gopalakrishnan
On 5/1/2015 5:25 AM, Borislav Petkov wrote: On Thu, Apr 30, 2015 at 09:49:22AM -0500, Aravind Gopalakrishnan wrote: SUCCOR stands for S/W UnCorrectable error COntainment and Recovery. It indicates support for data poisoning in HW and deferred error interrupts. struct mce_vendor_flags {

Re: [PATCH 2/4] x86/mce/amd: Introduce deferred error interrupt handler

2015-05-01 Thread Aravind Gopalakrishnan
On 5/1/2015 4:36 AM, Borislav Petkov wrote: On Thu, Apr 30, 2015 at 11:16:30PM -0500, Aravind Gopalakrishnan wrote: I used the term as it is an interrupt due to the deferred error. Would 'deferred_err_interrupt' be more apt? Maybe 'irq_deferred_error_count' for the counter? Yeah, I think it is

Re: [PATCH 0/4] Enable deferred error interrupts

2015-05-01 Thread Aravind Gopalakrishnan
On 5/1/2015 2:18 AM, Ingo Molnar wrote: * Aravind Gopalakrishnan wrote: Newer AMD processors can generate deferred errors and can be configured to generate APIC interrupts on such events. What's the wider context of this? What is it good for? I suspect it's MCE related, but only from the dif

[PATCH] clk: add newline character after dumping all clocks

2015-05-01 Thread Felipe Balbi
clk_dump() will dump data about all clocks in JSON format, but it misses a newline character at the end of the JSON string. This patch adds that missing newline character. Signed-off-by: Felipe Balbi --- drivers/clk/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver

[PATCH] net: dsa: mv88e6xxx: unregister mv88e6352 driver

2015-05-01 Thread Vivien Didelot
Add the missing unregister for the mv88e6352_switch_driver. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/net/dsa/mv88e6xxx.c index 51130fc..7339885 100644 --- a/drivers/net/dsa/mv88e6xxx

[PATCH] arm64/perf: add ACPI support

2015-05-01 Thread Mark Salter
When using ACPI, the perf_event irq info needs to be parsed from the MADT and a corresponding platform device needs to be created and registered. The only change to the existing driver is a check to avoid unnecessary devicetree parsing. Signed-off-by: Mark Salter --- arch/arm64/kernel/perf_event

Re: [PATCH v2 01/11] coresight-etm4x: Adding CoreSight ETM4x driver

2015-05-01 Thread Mathieu Poirier
On 30 April 2015 at 15:29, Paul Bolle wrote: > On Wed, 2015-04-29 at 11:16 -0600, Mathieu Poirier wrote: >> --- a/drivers/hwtracing/coresight/Kconfig >> +++ b/drivers/hwtracing/coresight/Kconfig > >> +config CORESIGHT_SOURCE_ETM4X >> + bool "CoreSight Embedded Trace Macrocell 4.x driver" >> +

[PATCH] hw_random: bcm63xx-rng: fix bugs introduced in commit 6229c16060fee9a015bf476f21e40c6f08609d6e.

2015-05-01 Thread Álvaro Fernández Rojas
s/clk_didsable_unprepare/clk_disable_unprepare s/prov/priv s/error/ret in bcm63xx_rng_probe Signed-off-by: Álvaro Fernández Rojas --- drivers/char/hw_random/bcm63xx-rng.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/char/hw_random/bcm63xx-rng.c

[PATCH] [SCSI] libsas: Kconfig: Enable SATA compatibility by default

2015-05-01 Thread Ian Jackson
SATA controllers support SATA disks. The kernel should be able to drive these, by default. It should not silently (apart from a debugging-only printk) ignore them. Signed-off-by: Ian Jackson CC: James Bottomley CC: Donald D Dugger CC: Pawel Baldysiak CC: Lukasz Dorau CC: Artur Paszkiewicz

<    1   2   3   4   5   6   7   >