[tip:perf/core] perf bpf: Rename bpf config to program config

2015-11-28 Thread tip-bot for Wang Nan
Commit-ID: 0bb93490170477224f8bd4cc9ce8920517461643 Gitweb: http://git.kernel.org/tip/0bb93490170477224f8bd4cc9ce8920517461643 Author: Wang Nan AuthorDate: Fri, 27 Nov 2015 08:47:37 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 27 Nov 2015 22:00:46 -0300 perf bpf: Rename b

[tip:perf/core] tools lib bpf: Extract and collect map names from BPF object file

2015-11-28 Thread tip-bot for Wang Nan
Commit-ID: 561bbccac72d08babafaa33fd7fa9100ec4c9fb6 Gitweb: http://git.kernel.org/tip/561bbccac72d08babafaa33fd7fa9100ec4c9fb6 Author: Wang Nan AuthorDate: Fri, 27 Nov 2015 08:47:36 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 27 Nov 2015 21:59:53 -0300 tools lib bpf: Ext

[tip:perf/core] tools lib bpf: Collect map definition in bpf_object

2015-11-28 Thread tip-bot for Wang Nan
Commit-ID: 9d759a9b4ac2690077d8b21258e6e95c3e34bfa9 Gitweb: http://git.kernel.org/tip/9d759a9b4ac2690077d8b21258e6e95c3e34bfa9 Author: Wang Nan AuthorDate: Fri, 27 Nov 2015 08:47:35 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 27 Nov 2015 21:57:09 -0300 tools lib bpf: Col

[tip:perf/core] perf list: Robustify event printing routine

2015-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e37df6c76cb19971f1228bfaff504d8a3ea6f748 Gitweb: http://git.kernel.org/tip/e37df6c76cb19971f1228bfaff504d8a3ea6f748 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 27 Nov 2015 16:04:58 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 27 Nov 2015 16:04:58 -0300 pe

[tip:perf/core] perf hists: Do not skip elided fields when processing samples

2015-11-28 Thread tip-bot for Namhyung Kim
Commit-ID: e72655d97d24fff559b4ab59de791c3741a74c8c Gitweb: http://git.kernel.org/tip/e72655d97d24fff559b4ab59de791c3741a74c8c Author: Namhyung Kim AuthorDate: Sat, 28 Nov 2015 02:32:38 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 27 Nov 2015 21:42:13 -0300 perf hists: Do

[tip:perf/core] perf hists browser: Update nr entries regardless of min percent

2015-11-28 Thread tip-bot for Namhyung Kim
Commit-ID: 039050482573e168690d365b8ea1d4f599ebbbd8 Gitweb: http://git.kernel.org/tip/039050482573e168690d365b8ea1d4f599ebbbd8 Author: Namhyung Kim AuthorDate: Sat, 28 Nov 2015 02:32:39 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 27 Nov 2015 21:53:33 -0300 perf hists bro

[tip:perf/core] perf report: Show error message when processing sample fails

2015-11-28 Thread tip-bot for Namhyung Kim
Commit-ID: 25b1606be1a910a63a23c3d1006581c9aad4e6e3 Gitweb: http://git.kernel.org/tip/25b1606be1a910a63a23c3d1006581c9aad4e6e3 Author: Namhyung Kim AuthorDate: Sat, 28 Nov 2015 02:32:37 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 27 Nov 2015 16:56:32 -0300 perf report: S

[tip:perf/core] perf test: 'unwind' test should create kernel maps

2015-11-28 Thread tip-bot for Jiri Olsa
Commit-ID: 9bdcede563a831f139b5fc872f028ef844a7462e Gitweb: http://git.kernel.org/tip/9bdcede563a831f139b5fc872f028ef844a7462e Author: Jiri Olsa AuthorDate: Fri, 27 Nov 2015 09:21:21 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 27 Nov 2015 13:14:26 -0300 perf test: 'unwin

[tip:perf/core] perf list: Add support for PERF_COUNT_SW_BPF_OUT

2015-11-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: bae9cc41105b9edd74d68a9636be2ba240e74b9e Gitweb: http://git.kernel.org/tip/bae9cc41105b9edd74d68a9636be2ba240e74b9e Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 27 Nov 2015 15:54:33 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 27 Nov 2015 16:03:46 -0300 pe

[PATCH] regulator: lm363x: Staticise ldo_cont_enable_time

2015-11-28 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/lm363x-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/lm363x-regulator.c b/drivers/regulator/lm363x-regulator.c index 3858735..f53e633 100644 --- a/drivers/regulator/lm363x-regulator.c +++ b/drivers/

[PATCH] regulator: lm363x: Remove struct lm363x_regulator which is not necessary

2015-11-28 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/lm363x-regulator.c | 20 +--- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/drivers/regulator/lm363x-regulator.c b/drivers/regulator/lm363x-regulator.c index e1b683e..3858735 100644 --- a/drivers/regulator/lm363x-regul

Re: RCU stall and the system boot hang

2015-11-28 Thread Paul E. McKenney
On Sun, Nov 29, 2015 at 12:46:10PM +0800, fupan li wrote: > 2015-11-28 22:53 GMT+08:00 Paul E. McKenney : > > > On Sat, Nov 28, 2015 at 01:05:52PM +0800, fupan li wrote: > > > 2015-11-28 0:28 GMT+08:00 Paul E. McKenney : > > > > > > > On Fri, Nov 27, 2015 at 08:23:24PM +0800, fupan li wrote: > > >

[GIT PULL] target fixes for v4.4-rc3

2015-11-28 Thread Nicholas A. Bellinger
Hi Linus, Here are outstanding target-pending fixes queued for v4.4-rc3 code. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master This includes: - Fix tcm-user backend driver expired cmd time processing (agrover) - Elimination of kr

[PATCH v3] ath6kl: Use vmalloc for loading firmware using api1 method and use kvfree

2015-11-28 Thread Brent Taylor
Signed-off-by: Brent Taylor ath6kl: Use vmalloc for loading firmware using api1 method and free using kvfree ath6kl: fix kmalloc build error --- Changes v2 -> v3: - fix kmalloc build error Changes v1 -> v2: - simplify memory allocation - use kvfree drivers/net/wireless/ath/ath6kl/cor

Re: [PATCH v2] ath6kl: Use vmalloc for loading firmware using api1 method and use kvfree

2015-11-28 Thread kbuild test robot
Hi Brent, [auto build test ERROR on: net-next/master] [also build test ERROR on: v4.4-rc2 next-20151127] url: https://github.com/0day-ci/linux/commits/Brent-Taylor/ath6kl-Use-vmalloc-for-loading-firmware-using-api1-method-and-use-kvfree/20151129-132013 config: x86_64-randconfig-x012-201548 (a

[PATCH 3/6] Input: psmouse - rearrange Focaltech init code

2015-11-28 Thread Dmitry Torokhov
The fact that we were calling focaltech_init() even when Focaltech support is disabled was confusing. Rearrange the code so that if support is disabled we continue to fall through the rest of protocol probing code until we get to full reset that Focaltech devices need to work properly. Also, repla

[PATCH 6/6] Input: psmouse - limit protocols that we try on passthrough ports

2015-11-28 Thread Dmitry Torokhov
PS/2 protocol is slow, and using it with pass-through port (where we encapsulate PS/2 into PS/2) is slower yet so it takes quite a bit of time to do full protocol discovery for device attached to a pass-through port. However, so far we have not see anything but trackpoints or basic PS/2 mice on pas

[PATCH 5/6] Input: psmouse - factor out common protocol probing code

2015-11-28 Thread Dmitry Torokhov
In preparation of limiting protocols that we try on pass-through ports, let's rework initialization code and factor common code into psmouse_try_protocol() that accepts protocol type (instead of detec() function pointer) and can, for most protocols, perform both detection and initialization. Note

[PATCH v2] ath6kl: Use vmalloc for loading firmware using api1 method and use kvfree

2015-11-28 Thread Brent Taylor
Signed-off-by: Brent Taylor ath6kl: Use vmalloc for loading firmware using api1 method and free using kvfree --- Changes v1 -> v2: - simplify memory allocation - use kvfree drivers/net/wireless/ath/ath6kl/core.c | 2 +- drivers/net/wireless/ath/ath6kl/init.c | 7 ++- 2 files changed,

[PATCH 4/6] Input: psmouse - move protocol descriptions around

2015-11-28 Thread Dmitry Torokhov
We move protocol descriptions and psmouse_find_by_type() and pmouse_find_by_name() so that we can use them without forward declarations in the subsequent patches. Signed-off-by: Dmitry Torokhov --- drivers/input/mouse/psmouse-base.c | 379 ++--- 1 file changed, 18

[PATCH 2/6] Input: psmouse - fix comment style

2015-11-28 Thread Dmitry Torokhov
The module was using non-standard comment style with comment blocks often starting at the very beginning of a line instead of being aligned with the code. Let's switch to standard formatting. Signed-off-by: Dmitry Torokhov --- drivers/input/mouse/psmouse-base.c | 279 +---

[PATCH 1/6] Input: psmouse - use switch statement in psmouse_process_byte()

2015-11-28 Thread Dmitry Torokhov
Instead of a series mostly exclusive "if" statements testing protocol type of the mouse let's use "switch" statement. Signed-off-by: Dmitry Torokhov --- drivers/input/mouse/psmouse-base.c | 65 ++ 1 file changed, 31 insertions(+), 34 deletions(-) diff --git a

[PATCH 0/6] Only probe select protocols on pass through PS/2 prots

2015-11-28 Thread Dmitry Torokhov
This series limits protocols that we probe on pass-through PS/2 ports to IBM Trackpoint, Intellimouse, Intellimouse Explorer and basic PS/2, since we have not seen anything else and probing all possible protocols takes too long. Input: psmouse - use switch statement in psmouse_process_byte() I

[PATCH v4 5/5] ARM: dts: sun9i: Add TODO comments for the main and low power clocks

2015-11-28 Thread Chen-Yu Tsai
The main (24MHz) clock on the A80 is configurable via the PRCM address space. The low power/speed (32kHz) clock is from an external chip, the AC100. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/b

[PATCH v4 0/5] ARM: sun9i: Add Allwinner A80 PRCM clock/reset support

2015-11-28 Thread Chen-Yu Tsai
Hi everyone, (resent with mailing lists CC-ed) This is v4 of the Allwinner A80 PRCM support series. Since v4, the series moved away from the mfd approach, and just lists the various controls directly under the "clocks" and "soc" nodes. Changes since v3: - Only build new clock drivers for CO

[PATCH v4 3/5] clk: sunxi: Add sun9i A80 cpus (cpu special) clock support

2015-11-28 Thread Chen-Yu Tsai
The "cpus" clock is the clock for the embedded processor in the A80. It is also part of the PRCM clock tree. This clock includes a pre- divider on one of its inputs. For now we are using a custom clock driver for it. In the future we may want to develop a generalized driver for these types of clock

[PATCH v4 1/5] clk: sunxi: Add CLK_OF_DECLARE support for sun8i-a23-apb0-clk driver

2015-11-28 Thread Chen-Yu Tsai
The APBS clock on sun9i is the same as the APB0 clock on sun8i. With sun9i we are supporting the PRCM clocks by using CLK_OF_DECLARE, instead of through a PRCM mfd device and subdevices for each clock and reset control. As such we need a CLK_OF_DECLARE version of the sun8i-a23-apb0-clk driver. Als

[PATCH v4 4/5] ARM: dts: sun9i: Add A80 PRCM clocks and reset control nodes

2015-11-28 Thread Chen-Yu Tsai
This adds the supported PRCM clocks and reset controls to the A80 dtsi. The DAUDIO module clocks are not supported yet. Also update clock and reset phandles for r_uart. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 79 +++- 1 file changed

[PATCH v4 2/5] clk: sunxi: Add sun9i A80 apbs gates support

2015-11-28 Thread Chen-Yu Tsai
This patch adds support for the PRCM apbs clock gates found on the Allwinner A80 SoC. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/clk-simple-gates.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Documentation/de

Re: [PATCH] ath6kl: Use vmalloc for loading firmware using api1 method

2015-11-28 Thread Tetsuo Handa
Andy Shevchenko wrote: > On Sat, Nov 28, 2015 at 8:58 PM, Brent Taylor wrote: > > Whats the status on this patch? I don't see it on patchwork anymore > > nor is it in any of the git trees I checked. > > > > You forget to use kvfree() instead of kfree() in core.c. > In addition to that, I think

[PATCH] sched: fix outdated comment on task_prio() return value

2015-11-28 Thread Antoine Busque
The comment describing the possible return values of the task_prio() function, having not been updated in many years, was misleading. It indicated an offset of -200 for RT tasks, and normal tasks having 32 possible priority values centered around 0. This is no longer the case, as the values it retu

Re: [PATCH 01/12] Ext4: Fix extended timestamp encoding and decoding

2015-11-28 Thread Theodore Ts'o
On Tue, Nov 24, 2015 at 09:10:53PM +0100, Arnd Bergmann wrote: > On Tuesday 24 November 2015 14:36:46 Theodore Ts'o wrote: > > This is the patch I would prefer to use (and in fact which I have > > added to the ext4 tree): > > > > There are issues with 32-bit vs 64-bit encoding of times before > >

Re: The console log is doubled if earlycon is enabled

2015-11-28 Thread Andy Shevchenko
On Fri, Nov 27, 2015 at 12:21 PM, Masahiro Yamada wrote: > Hi, > > > If I add "earlycon" to the kernel parameter, the log message > on the earlycon is also displayed to the regular console. > In other words, the same log messages are displayed twice. > > I noticed this problem on v4.4-rc1. > It ha

[GIT PULL] Thermal Management fixes for v4.4-rc3

2015-11-28 Thread Zhang Rui
Hi, Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal Management updates for 4.4-rc3 with top-most commit a2291badc355d58ead5c19ae0609468947416040: imx: thermal: use CPU temperature grade info for thresholds (2015-11-23

Re: [PATCH] spi: dw-mid: constify dw_spi_dma_ops structure

2015-11-28 Thread Andy Shevchenko
On Sat, Nov 28, 2015 at 4:09 PM, Julia Lawall wrote: > The dw_spi_dma_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > Acked-by: Andy Shevchenko > --- > drivers/spi/spi-dw-mid.c |2 +- > drivers/spi/spi-dw.h

Re: [PATCH] ath6kl: Use vmalloc for loading firmware using api1 method

2015-11-28 Thread Andy Shevchenko
On Sat, Nov 28, 2015 at 8:58 PM, Brent Taylor wrote: > Sorry, the first e-mail was sent via gmail and I forgot about sending > it in plain text mode. > > Whats the status on this patch? I don't see it on patchwork anymore > nor is it in any of the git trees I checked. > You forget to use kvfree(

Re: [PATCH 22/71] ncr5380: Eliminate selecting state

2015-11-28 Thread Finn Thain
On Sun, 29 Nov 2015, Ondrej Zary wrote: > > [...] I think that this should solve the problem: > > Yes, it does! > > [ 48.119367] scsi host2: Generic NCR5380/NCR53C400 SCSI, io_port 0x0, > n_io_port 0, base 0xd8000, irq 0, can_queue 16, cmd_per_lun 2, sg_tablesize > 128, this_id 7, flags { N

Re: [PATCH v2 0/3] Add PWM clock support for bcm2835

2015-11-28 Thread Remi Pommarel
Hi Stefan, On Sat, Nov 28, 2015 at 09:52:07PM +0100, Stefan Wahren wrote: > i applied the series including the devicetree modification, but it > doesn't work for me. > > First of all i get an ugly division by zero warning from the pwm > driver. The pwm driver still assume a fixed clock and doesn'

Re: [PATCH 1/2] um: Set secure access mode for temporary file

2015-11-28 Thread Mickaël Salaün
On 28/11/2015 23:55, Richard Weinberger wrote: > Am 28.11.2015 um 23:52 schrieb Mickaël Salaün: >> >> On 28/11/2015 22:40, Richard Weinberger wrote: >>> Am 28.11.2015 um 22:32 schrieb Mickaël Salaün: Replace the default insecure mode 0777 with 0700 for temporary file. Prohibit othe

Re: [PATCH 3/4] gpio: pxa: change the interrupt management

2015-11-28 Thread kbuild test robot
Hi Robert, [auto build test ERROR on: gpio/for-next] [also build test ERROR on: v4.4-rc2 next-20151127] url: https://github.com/0day-ci/linux/commits/Robert-Jarzmik/gpio-pxa-integrate-with-pincontrol/20151129-054738 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git

Re: [PATCH 2/2] um: Use race-free temporary file creation

2015-11-28 Thread Mickaël Salaün
On 28/11/2015 23:07, Richard Weinberger wrote: > Am 28.11.2015 um 22:32 schrieb Mickaël Salaün: >> Open the memory mapped file with the O_TMPFILE flag when available. >> >> Signed-off-by: Mickaël Salaün >> --- >> arch/um/os-Linux/mem.c | 12 >> 1 file changed, 12 insertions(+) >> >>

Re: [PATCH 22/71] ncr5380: Eliminate selecting state

2015-11-28 Thread Ondrej Zary
On Thursday 26 November 2015 23:32:46 Finn Thain wrote: > > On Thu, 26 Nov 2015, Ondrej Zary wrote: > > > > > [ 156.014234] scsi host2: Generic NCR5380/NCR53C400 SCSI, io_port 0x0, > > n_io_port 0, base 0xd8000, irq 0, can_queue 16, cmd_per_lun 2, sg_tablesize > > 128, this_id 7, flags { NO_D

Re: [PATCH 1/2] um: Set secure access mode for temporary file

2015-11-28 Thread Richard Weinberger
Am 29.11.2015 um 00:00 schrieb Mickaël Salaün: > > > On 28/11/2015 23:55, Richard Weinberger wrote: >> Am 28.11.2015 um 23:52 schrieb Mickaël Salaün: >>> >>> On 28/11/2015 22:40, Richard Weinberger wrote: Am 28.11.2015 um 22:32 schrieb Mickaël Salaün: > Replace the default insecure mode

Re: [PATCH 2/2] um: Use race-free temporary file creation

2015-11-28 Thread Mickaël Salaün
+ errno != EOPNOTSUPP)) + return fd; + errno = 0; >>> >>> Why are you resetting errno? >> >> It's to ignore/reset the error code from open, but it may not be needed >> because of the next call to malloc? > > But then you'd have to reset errno after every

gpio-mxc: gpiod_get_value returns INT_MIN when the GPIO is off

2015-11-28 Thread Clemens Gruber
Hi, I am writing a module which reads several GPIO input states from a Freescale i.MX6Q. I can control the input states through hardware buttons attached to my development board. They are all connected exactly the same, with external pull up resistors. I am using the current torvalds/linux master

Re: epoll and multiple processes - eliminate unneeded process wake-ups

2015-11-28 Thread Madars Vitolins
Hi Jason, I did recently tests with multiprocessing and epoll() on Posix Queues. You were right about "EP_MAX_NESTS", it is not related with how many processes are waken up when multiple process epoll_waits are waiting on one event source. At doing epoll every process is added to wait queue f

Re: [PATCH 2/2] um: Use race-free temporary file creation

2015-11-28 Thread Richard Weinberger
Am 28.11.2015 um 23:56 schrieb Mickaël Salaün: > > On 28/11/2015 23:07, Richard Weinberger wrote: >> Am 28.11.2015 um 22:32 schrieb Mickaël Salaün: >>> Open the memory mapped file with the O_TMPFILE flag when available. >>> >>> Signed-off-by: Mickaël Salaün >>> --- >>> arch/um/os-Linux/mem.c | 1

Re: [PATCH 1/2] um: Set secure access mode for temporary file

2015-11-28 Thread Richard Weinberger
Am 28.11.2015 um 23:52 schrieb Mickaël Salaün: > > On 28/11/2015 22:40, Richard Weinberger wrote: >> Am 28.11.2015 um 22:32 schrieb Mickaël Salaün: >>> Replace the default insecure mode 0777 with 0700 for temporary file. >>> >>> Prohibit other users to change the executable mapped code. >> >> Hmm,

Re: [PATCH 1/2] um: Set secure access mode for temporary file

2015-11-28 Thread Mickaël Salaün
On 28/11/2015 22:40, Richard Weinberger wrote: > Am 28.11.2015 um 22:32 schrieb Mickaël Salaün: >> Replace the default insecure mode 0777 with 0700 for temporary file. >> >> Prohibit other users to change the executable mapped code. > > Hmm, isn't the tmp file already unlinked at this stage? >

Re: [tpmdd-devel] [PATCH] base/platform: fix panic when probe function is NULL

2015-11-28 Thread Jason Gunthorpe
On Sat, Nov 28, 2015 at 06:40:03PM +0200, Jarkko Sakkinen wrote: > > I have some patches to do this that are part of my OF enablement > > series, but I can make something simpler that would deal with this > > fairly quickly if you can test. > > Does the patch set that you sent include the fix or n

[PATCH 1/2] um: Set secure access mode for temporary file

2015-11-28 Thread Mickaël Salaün
Replace the default insecure mode 0777 with 0700 for temporary file. Prohibit other users to change the executable mapped code. Signed-off-by: Mickaël Salaün --- arch/um/os-Linux/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/os-Linux/mem.c b/arch/um/os-Linux/

awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')

2015-11-28 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8003a573560ae96540bce2a698347c6d502e2997 commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 3 weeks ago config: mips-allnoconfig (attached as .config) reproduce:

[PATCH 2/2] um: Use race-free temporary file creation

2015-11-28 Thread Mickaël Salaün
Open the memory mapped file with the O_TMPFILE flag when available. Signed-off-by: Mickaël Salaün --- arch/um/os-Linux/mem.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/um/os-Linux/mem.c b/arch/um/os-Linux/mem.c index 798aeb4..fe52e2d 100644 --- a/arch/um/os-Linux/mem.

Re: [PATCH 2/2] um: Use race-free temporary file creation

2015-11-28 Thread Richard Weinberger
Am 28.11.2015 um 22:32 schrieb Mickaël Salaün: > Open the memory mapped file with the O_TMPFILE flag when available. > > Signed-off-by: Mickaël Salaün > --- > arch/um/os-Linux/mem.c | 12 > 1 file changed, 12 insertions(+) > > diff --git a/arch/um/os-Linux/mem.c b/arch/um/os-Linux/

[PATCH 0/2] um: Protect memory mapped file

2015-11-28 Thread Mickaël Salaün
These patches protect the memory mapped file. Mickaël Salaün (2): um: Set secure access mode for temporary file um: Use race-free temporary file creation arch/um/os-Linux/mem.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) -- 2.6.2 -- To unsubscribe from this list:

[PATCH 3/4] gpio: pxa: change the interrupt management

2015-11-28 Thread Robert Jarzmik
The interrupt management is changed by this patch to rely on chip data instead of chained interrupts. The main goal is to loosen the dependency on the global pxa chip structure in favor of the passed chip data. The secondary goal is to better show in /proc/interrupts the difference between interru

[PATCH 4/4] gpio: pxa: add pin control gpio direction and request

2015-11-28 Thread Robert Jarzmik
If a pin control driver is available, use it to change the gpio direction. If not fallback to directly manipulating the gpio direction register. The reason to use the pin control driver first is that pin control in pxa2xx architecture implies changing the gpio direction, even for non gpio function

[PATCH 1/4] gpio: pxa: convert to one gpiochip

2015-11-28 Thread Robert Jarzmik
The pxa gpio IP is provided by one chip, which holds multiple banks. Another reason the driver should register only one gpiochip instead of multiple gpiochips (ie. 1 per each bank) is that for pincontrol and devicetree integration (think gpio-ranges), it's impossible to have the contiguous pin ran

[PATCH 2/4] gpio: pxa: convert to devm_ioremap

2015-11-28 Thread Robert Jarzmik
Use the device managed ioremap to simplify the probe function. Signed-off-by: Robert Jarzmik --- drivers/gpio/gpio-pxa.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index de2cfbeccaa1..8558abf98204 100644 --- a/driv

[PATCH 0/4] gpio: pxa: integrate with pincontrol

2015-11-28 Thread Robert Jarzmik
Hi Linus, Alexandre and Haojian, This serie aims at several cleanups and improvements in the pxa gpio driver, to support integration with pin control. Amongst the changes, the main points are : - removal of as many global variables as possible - use of devm_*() function when applicable - use o

Re: [PATCH 1/2] um: Set secure access mode for temporary file

2015-11-28 Thread Richard Weinberger
Am 28.11.2015 um 22:32 schrieb Mickaël Salaün: > Replace the default insecure mode 0777 with 0700 for temporary file. > > Prohibit other users to change the executable mapped code. Hmm, isn't the tmp file already unlinked at this stage? Thanks, //richard -- To unsubscribe from this list: send th

[PATCH] spi: tools: move spidev_test metadata

2015-11-28 Thread Joshua Clayton
Now that spidev_test and spidev_fdx have been moved, remove them from the Documentation index and move their .gitignore file. Signed-off-by: Joshua Clayton --- Documentation/spi/.gitignore | 2 -- Documentation/spi/00-INDEX | 4 tools/spi/.gitignore | 2 ++ 3 files changed, 2 inse

[PATCH 2/2] regulator: fixed: Add support for regmap

2015-11-28 Thread Simon Arlott
Use the device tree properties for regmap: * Lookup the regmap phandle * Use the enable offset and enable mask * Reuse enable-active-high value Use an alternative set of regulator_ops when the regmap is set, specifying the regmap helper functions. As syscon_regmap_lookup_by_phandle() can only ret

[PATCH 1/2] regulator: Add regmap support to regulator-fixed device tree binding

2015-11-28 Thread Simon Arlott
Add properties for regmap to the regulator-fixed device tree binding: * Reference the regmap phandle * Specify the enable offset and enable mask * Reuse enable-active-high for regmap This is required for Broadcom BCM63xx SoCs that enable power to individual peripherals by clearing a bit in the mis

Re: [PATCH 1/4] ARM: dt: mvebu: ix4-300d: remove whole flash partition

2015-11-28 Thread Andrew Lunn
>On Sat, Nov 28, 2015 at 12:14:05PM +0100, Sebastian Hesselbarth wrote: > Current NAND node has an additional flash partition for the whole > flash overlapping with real partitions. Remove this partition as > the whole flash is already represented by the NAND device itself. > > Signed-off-by: Seba

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-28 Thread Frank Rowand
On 11/28/2015 9:34 AM, Nicolas Pitre wrote: > On Sat, 28 Nov 2015, Russell King - ARM Linux wrote: > >> On Fri, Nov 27, 2015 at 06:28:50PM -0500, Nicolas Pitre wrote: >>> On Fri, 27 Nov 2015, Arnd Bergmann wrote: >>> I don't mind creating the /proc/atags compatibility hack from the kernel >>>

[radeon agp] add blacklist for thinkpad T40p

2015-11-28 Thread Pavel Machek
Thinkpad T40p needs agpmode 1. Signed-off-by: Pavel Machek diff --git a/drivers/gpu/drm/radeon/radeon_agp.c b/drivers/gpu/drm/radeon/radeon_agp.c index fe994aa..c77d349 100644 --- a/drivers/gpu/drm/radeon/radeon_agp.c +++ b/drivers/gpu/drm/radeon/radeon_agp.c @@ -54,6 +54,9 @@ static struct ra

[radeon r100] when ring test fails, provide users with option to test

2015-11-28 Thread Pavel Machek
Ring test failure is often caused by too high agpmode. Tell the user what to try. Signed-off-by: Pavel Machek diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index 238b13f..32b1917 100644 --- a/drivers/gpu/drm/radeon/r100.c +++ b/drivers/gpu/drm/radeon/r100.c @@ -3665

strange s2ram problems with the XFX Radeon R7 240 graphics card

2015-11-28 Thread Elmar Stellnberger
After an upgrade of my graphics card s2ram does no more work (newest test so far: 4.2.5-1-ARCH): old card: XFX Radeon R5 230 (s2ram working) new card: XFX Radeon R7 240 (s2ram not working) (computer: Fujitsu Esprimo E5730, Core 2 Quad) kernel parameters where s2ram does not use to work: radeon.m

Re: [PATCH v2 0/3] Add PWM clock support for bcm2835

2015-11-28 Thread Stefan Wahren
Hi Remi, hi Eric, Am 11.11.2015 um 15:22 schrieb Remi Pommarel: Hi, This patchset adds support for pwm clock. At boot, this clock does not have a default parent nor a default rate set. Thus we should be able to change its parent to get this clock working. The current clock implementation is usi

Re: [PATCH 1/4] ARM: dt: mvebu: ix4-300d: remove whole flash partition

2015-11-28 Thread Benoit Masson
>From mobile > Le 28 nov. 2015 à 18:38, Sebastian Hesselbarth > a écrit : > >> On 28.11.2015 17:52, Andrew Lunn wrote: >>> On Sat, Nov 28, 2015 at 12:14:05PM +0100, Sebastian Hesselbarth wrote: >>> Current NAND node has an additional flash partition for the whole >>> flash overlapping with real

Re: [PATCH 05/10] Input: synaptics-rmi4: Add device tree support for 2d sensors and F11

2015-11-28 Thread Andrew Duggan
Hi Rob, Thanks for reviewing! I will incorporate your feedback into the next version. Andrew On 11/27/2015 01:10 PM, Rob Herring wrote: On Wed, Nov 25, 2015 at 04:09:13PM -0800, Andrew Duggan wrote: 2D sensors have several parameter which can be set in the platform data. This patch adds sup

Re: [PATCH 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver rebased on 4.3

2015-11-28 Thread Andrew Duggan
On 11/26/2015 02:41 AM, Benjamin Tissoires wrote: Hi Andrew, On Nov 25 2015 or thereabouts, Andrew Duggan wrote: This is a new patch series which squashes all of the development history of the RMI4 driver into patches based on functionality. The first patch adds the core RMI4 functionality ne

[GIT PULL] PCI fixes for v4.4

2015-11-28 Thread Bjorn Helgaas
Hi Linus, Here are a few fixes I'd like to have in v4.4: a generic one for sysfs and three for HiSilicon and DesignWare host controllers. Bjorn The following changes since commit 1ec218373b8ebda821aec00bb156a9c94fad9cd4: Linux 4.4-rc2 (2015-11-22 16:45:59 -0800) are available in the git rep

[PATCH] mtd: brcmnand: Workaround false ECC uncorrectable errors

2015-11-28 Thread Simon Arlott
Workaround false ECC uncorrectable errors by checking if the data has been erased and the OOB data indicates that the data has been erased. The v4.0 controller on the BCM63168 incorrectly handles these as uncorrectable errors. I don't know which version of the controller handles this scenario corr

Re: [PATCH v5 1/5] Implement an ioctl to support the USMTMC-USB488 READ_STATUS_BYTE operation.

2015-11-28 Thread Andy Shevchenko
On Sat, Nov 28, 2015 at 7:41 PM, Dave Penkler wrote: > On Sat, Nov 28, 2015 at 04:57:47PM +0200, Andy Shevchenko wrote: >> On Sat, Nov 28, 2015 at 1:55 PM, Dave Penkler wrote: >> > On Wed, Nov 25, 2015 at 10:38:39PM +0200, Andy Shevchenko wrote: >> >> On Wed, Nov 25, 2015 at 11:18 AM, Dave Penkle

[PATCH net-next V2 05/17] hv_netvsc: Eliminatte the data field from struct hv_netvsc_packet

2015-11-28 Thread K. Y. Srinivasan
Eliminatte the data field from struct hv_netvsc_packet. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h |5 ++--- drivers/net/hyperv/netvsc.c |5 +++-- drivers/net/hyperv/netvsc_drv.c |3 ++- drivers/net/hyperv/rndis_filter.c

[PATCH net-next V2 09/17] hv_netvsc: move subchannel existence check to netvsc_select_queue()

2015-11-28 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h | 15 --- drivers/net/hyperv/netvsc.c |5 ++--- drivers/net/hyperv/netvsc_drv.c |3 +++ 3 files changed, 5 insertions(+), 18 deletions(-) diff -

Re: [PATCH] ath6kl: Use vmalloc for loading firmware using api1 method

2015-11-28 Thread Brent Taylor
Sorry, the first e-mail was sent via gmail and I forgot about sending it in plain text mode. Whats the status on this patch? I don't see it on patchwork anymore nor is it in any of the git trees I checked. Thanks, Brent On Fri, Oct 16, 2015 at 12:10 AM, Brent Taylor wrote: > Signed-off-by: Bre

[PATCH net-next V2 01/17] hv_netvsc: Resize some of the variables in hv_netvsc_packet

2015-11-28 Thread K. Y. Srinivasan
As part of reducing the size of the hv_netvsc_packet, resize some of the variables based on their usage. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/n

[PATCH net-next V2 03/17] hv_netvsc: Eliminate the channel field in hv_netvsc_packet structure

2015-11-28 Thread K. Y. Srinivasan
Eliminate the channel field in hv_netvsc_packet structure. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h | 22 ++ drivers/net/hyperv/netvsc.c | 19 --- drivers/net/hyperv/netvsc_drv.c |5 +++--

[PATCH net-next V2 04/17] hv_netvsc: Eliminate rndis_msg pointer from hv_netvsc_packet structure

2015-11-28 Thread K. Y. Srinivasan
Eliminate rndis_msg pointer from hv_netvsc_packet structure. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h |8 +++- drivers/net/hyperv/netvsc.c | 10 ++ drivers/net/hyperv/netvsc_drv.c |7 +++ drivers/net/hyper

[PATCH net-next V2 17/17] hv_netvsc: Eliminate vlan_tci from struct hv_netvsc_packet

2015-11-28 Thread K. Y. Srinivasan
Eliminate vlan_tci from struct hv_netvsc_packet. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |4 ++-- drivers/net/hyperv/netvsc_drv.c | 14 +++--- drivers/net/hyperv/rndis_filter.c |7 +++ 3 files changed, 12 insertions(+), 13 deletions(-) diff

[PATCH net-next V2 11/17] hv_netvsc: Eliminate page_buf from struct hv_netvsc_packet

2015-11-28 Thread K. Y. Srinivasan
Eliminate page_buf from struct hv_netvsc_packet. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h |4 ++-- drivers/net/hyperv/netvsc.c | 25 ++--- drivers/net/hyperv/netvsc_drv.c | 11 ++- drivers/net/hy

[PATCH net-next V2 14/17] hv_netvsc: Eliminate completion_func from struct hv_netvsc_packet

2015-11-28 Thread K. Y. Srinivasan
Eliminate completion_func from struct hv_netvsc_packet. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |1 - drivers/net/hyperv/netvsc_drv.c |3 --- drivers/net/hyperv/rndis_filter.c |1 - 3 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH net-next V2 13/17] hv_netvsc: Eliminate is_data_pkt from struct hv_netvsc_packet

2015-11-28 Thread K. Y. Srinivasan
Eliminate is_data_pkt from struct hv_netvsc_packet. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |1 - drivers/net/hyperv/netvsc.c | 14 -- drivers/net/hyperv/netvsc_drv.c |1 - drivers/net/hyperv/rndis_filter.c |1 - 4 files changed, 8

[PATCH net-next V2 16/17] hv_netvsc: Eliminate status from struct hv_netvsc_packet

2015-11-28 Thread K. Y. Srinivasan
Eliminate status from struct hv_netvsc_packet. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |1 - drivers/net/hyperv/netvsc.c |6 ++ drivers/net/hyperv/netvsc_drv.c |8 ++-- drivers/net/hyperv/rndis_filter.c | 20 +--- 4 file

[PATCH net-next V2 15/17] hv_netvsc: Eliminate xmit_more from struct hv_netvsc_packet

2015-11-28 Thread K. Y. Srinivasan
Eliminate xmit_more from struct hv_netvsc_packet. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |1 - drivers/net/hyperv/netvsc.c | 13 - drivers/net/hyperv/netvsc_drv.c |1 - drivers/net/hyperv/rndis_filter.c |2 -- 4 files changed, 8 in

[PATCH net-next V2 08/17] hv_netvsc: Don't ask for additional head room in the skb

2015-11-28 Thread K. Y. Srinivasan
The rndis header is 116 bytes big and can be placed in the default head room that will be available in the skb. Since the netvsc packet is less than 48 bytes, we can use the skb control buffer for the netvsc packet. With these changes we don't need to ask for additional head room. Signed-off-by: K

[PATCH net-next V2 10/17] hv_netvsc: remove locking in netvsc_send()

2015-11-28 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Packet scheduler guarantees there won't be multiple senders for the same queue and as we use q_idx for multi_send_data the spinlock is redundant. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |1 - drivers/net/hy

[PATCH net-next V2 12/17] hv_netvsc: Eliminate send_completion_tid from struct hv_netvsc_packet

2015-11-28 Thread K. Y. Srinivasan
Eliminate send_completion_tid from struct hv_netvsc_packet. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |8 ++-- drivers/net/hyperv/netvsc.c | 28 ++-- drivers/net/hyperv/netvsc_drv.c | 14 ++ drivers/net/hyperv/rn

[PATCH net-next V2 02/17] hv_netvsc: Rearrange the hv_negtvsc_packet to be space efficient

2015-11-28 Thread K. Y. Srinivasan
Rearrange the elements of struct hv_negtvsc_packet for optimal layout - eliminate unnecessary padding. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h | 18 ++ 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/driver

[PATCH net-next V2 07/17] hv_netvsc: Eliminate send_completion_ctx from struct hv_netvsc_packet

2015-11-28 Thread K. Y. Srinivasan
Eliminate send_completion_ctx from struct hv_netvsc_packet. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h |1 - drivers/net/hyperv/netvsc.c |3 +-- drivers/net/hyperv/netvsc_drv.c |1 - 3 files changed, 1 insertions(+), 4 deletion

[PATCH net-next V2 06/17] hv_netvsc: Eliminate send_completion from struct hv_netvsc_packet

2015-11-28 Thread K. Y. Srinivasan
Eliminate send_completion from struct hv_netvsc_packet. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h |3 +-- drivers/net/hyperv/netvsc.c |6 +++--- drivers/net/hyperv/netvsc_drv.c |2 +- drivers/net/hyperv/rndis_filter.c |

[PATCH net-next V2 00/17] hv_netvsc: Eliminate the additional head room

2015-11-28 Thread K. Y. Srinivasan
In an attempt to avoid having to allocate memory on the send path, the netvsc driver was requesting additional head room so that both rndis header and the netvsc packet (the state that had to persist) could be placed in the skb. Since the amount of head room requested was exceeding the default head

Re: [PATCH] iwlwifi: fix compare_const_fl.cocci warnings

2015-11-28 Thread Grumbach, Emmanuel
Hi Julia, On 11/27/2015 06:11 PM, Julia Lawall wrote: > Move constants to the right of binary operators. > > Generated by: scripts/coccinelle/misc/compare_const_fl.cocci > > Signed-off-by: Fengguang Wu > Signed-off-by: Julia Lawall > --- > > This looks a bit nicer around the other way, in my opi

[PATCH 3/4] cris: fasttimer: fix mixed declarations and code compile warning

2015-11-28 Thread Niklas Cassel
arch/cris/arch-v32/kernel/fasttimer.c: In function ‘timer_trig_handler’: arch/cris/arch-v32/kernel/fasttimer.c:353:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] fast_timer_function_type *f; ^ Signed-off-by: Niklas Cassel --- arch/cris/arch-v32/kerne

[PATCH 2/4] cris: intmem: fix pointer comparison compile warning

2015-11-28 Thread Niklas Cassel
The code previously depended on list_head being defined as the first item in struct intmem_allocation. arch/cris/arch-v32/mm/intmem.c: In function ‘crisv32_intmem_free’: arch/cris/arch-v32/mm/intmem.c:116:14: warning: comparison of distinct pointer types lacks a cast if ((prev != &intmem_allo

[PATCH 4/4] cris: irq: stop loop from accessing array out of bound

2015-11-28 Thread Niklas Cassel
array "interrupt" only has 32 or 64 elements, depending on machine. arch/cris/arch-v32/kernel/irq.c: In function ‘init_IRQ’: arch/cris/arch-v32/kernel/irq.c:475:3: warning: iteration 32u invokes undefined behavior [-Waggressive-loop-optimizations] set_exception_vector(i, interrupt[j]); ^ ar

[PATCH 1/4] cris: intmem: fix device_initcall compile warning

2015-11-28 Thread Niklas Cassel
Cannot add __init macro to crisv32_intmem_init, since the function is being called by other functions. Creating a wrapper instead. arch/cris/arch-v32/mm/intmem.c: At top level: arch/cris/arch-v32/mm/intmem.c:148:17: warning: initialization from incompatible pointer type device_initcall(crisv32_i

  1   2   >