Re: [PATCH] ptp: use memdup_user().

2016-05-20 Thread Richard Cochran
On Fri, May 20, 2016 at 05:51:02PM +0530, Muhammad Falak R Wani wrote: > Use memdup_user to duplicate a memory region from user-space to > kernel-space, instead of open coding using kmalloc & copy_from_user. > > Signed-off-by: Muhammad Falak R Wani Acked-by: Richard

Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036

2016-05-20 Thread Caesar Wang
于 2016年05月20日 20:35, Shawn Lin 写道: 在 2016/5/20 7:56, Caesar Wang 写道: That's seem the incorrect string to match the spi driver. Will it break the backward compatibility for some dtb if not falling back to "rockchip,rockchip-spi" ? The rk3036 shouldn't work if you read the

Re: [PATCH 1/2 V3] dt: add Atmel Captouch bindings

2016-05-20 Thread Rob Herring
On Wed, May 18, 2016 at 4:59 PM, Dmitry Torokhov wrote: > On Wed, May 18, 2016 at 11:44:04AM -0500, Rob Herring wrote: >> On Mon, May 16, 2016 at 01:54:53PM -0700, Grant Grundler wrote: >> > From: Daniel Hung-yu Wu >> > >> > Add binding for Atmel

[PATCH v8 4/4] serial: pl011: add console matching function

2016-05-20 Thread Aleksey Makarov
This patch adds function pl011_console_match() that implements method match of struct console. It allows to match consoles against data specified in a string, for example taken from command line or compiled by ACPI SPCR table handler. Signed-off-by: Aleksey Makarov

[PATCH v8 2/4] ACPI: parse SPCR and enable matching console

2016-05-20 Thread Aleksey Makarov
'ARM Server Base Boot Requiremets' [1] mentions SPCR (Serial Port Console Redirection Table) [2] as a mandatory ACPI table that specifies the configuration of serial console. Defer initialization of DT earlycon until ACPI/DT decision is made. Parse the ACPI SPCR table, setup earlycon if

Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036

2016-05-20 Thread Shawn Lin
在 2016/5/20 20:57, Caesar Wang 写道: 于 2016年05月20日 20:35, Shawn Lin 写道: 在 2016/5/20 7:56, Caesar Wang 写道: That's seem the incorrect string to match the spi driver. Will it break the backward compatibility for some dtb if not falling back to "rockchip,rockchip-spi" ? The rk3036 shouldn't

Re: [PATCH] ks390/keyboard: use memdup_user().

2016-05-20 Thread Muhammad Falak R Wani
On Fri, May 20, 2016 at 03:03:25PM +0200, Heiko Carstens wrote: > On Fri, May 20, 2016 at 05:52:16PM +0530, Muhammad Falak R Wani wrote: > > Use memdup_user to duplicate a memory region from user-space to > > kernel-space, instead of open coding using kmalloc & copy_from_user. > > > >

Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036

2016-05-20 Thread Shawn Lin
On 2016/5/20 20:58, Heiko Stuebner wrote: Am Freitag, 20. Mai 2016, 20:35:53 schrieb Shawn Lin: 在 2016/5/20 7:56, Caesar Wang 写道: That's seem the incorrect string to match the spi driver. Will it break the backward compatibility for some dtb if not falling back to "rockchip,rockchip-spi" ?

Re: [PATCH] reset: oxnas: Use devm register API and get rid of platform remove

2016-05-20 Thread Philipp Zabel
Hi Neil, Am Freitag, den 20.05.2016, 14:21 +0200 schrieb Neil Armstrong: > Use the brand new devm_reset_controller_register() API to get rid of > the platform driver remove callback. > > Signed-off-by: Neil Armstrong > --- > drivers/reset/reset-oxnas.c | 12

Re: [PATCH] reset: oxnas: Use devm register API and get rid of platform remove

2016-05-20 Thread Neil Armstrong
On 05/20/2016 03:02 PM, Philipp Zabel wrote: > Hi Neil, > > Am Freitag, den 20.05.2016, 14:21 +0200 schrieb Neil Armstrong: >> Use the brand new devm_reset_controller_register() API to get rid of >> the platform driver remove callback. >> >> Signed-off-by: Neil Armstrong

Re: [v2 PATCH] mm: move page_ext_init after all struct pages are initialized

2016-05-20 Thread Michal Hocko
On Thu 19-05-16 15:13:26, Yang Shi wrote: [...] > diff --git a/init/main.c b/init/main.c > index b3c6e36..2075faf 100644 > --- a/init/main.c > +++ b/init/main.c > @@ -606,7 +606,6 @@ asmlinkage __visible void __init start_kernel(void) > initrd_start = 0; > } > #endif > -

Re: [PATCH] ks390/keyboard: use memdup_user().

2016-05-20 Thread Heiko Carstens
On Fri, May 20, 2016 at 05:52:16PM +0530, Muhammad Falak R Wani wrote: > Use memdup_user to duplicate a memory region from user-space to > kernel-space, instead of open coding using kmalloc & copy_from_user. > > Signed-off-by: Muhammad Falak R Wani > --- >

[PATCH v2] ks390/keyboard: use memdup_user_nul().

2016-05-20 Thread Muhammad Falak R Wani
Use memdup_user_nul to duplicate a memory region from user-space to kernel-space and terminate with a NULL, instead of open coding using kmalloc + copy_from_user and explicitly NULL terminating. Signed-off-by: Muhammad Falak R Wani --- drivers/s390/char/keyboard.c | 11

Re: Building older mips kernels with different versions of binutils; possible patch for 3.2 and 3.4

2016-05-20 Thread Maciej W. Rozycki
Hi Guenter, > building mips images with a consistent infrastructure is becoming more and > more difficult. As the current MIPS binutils maintainer I am sorry to hear about this, and apologise for the state of affairs. Of course I can't help with any sins of the past, but at least I can help

Re: [patch] mm, migrate: increment fail count on ENOMEM

2016-05-20 Thread Michal Hocko
On Fri 20-05-16 15:19:12, Vlastimil Babka wrote: > On 05/20/2016 03:06 PM, Michal Hocko wrote: [...] > > Why don't we need also to count also retries? > > We could, but not like you suggest. > > > --- > > diff --git a/mm/migrate.c b/mm/migrate.c > > index 53ab6398e7a2..ef9c5211ae3c 100644 > >

Re: [PATCH V6 3/3] soc/tegra: pmc: Add support for IO pads power state and voltage

2016-05-20 Thread Jon Hunter
On 20/05/16 12:59, Laxman Dewangan wrote: > The IO pins of Tegra SoCs are grouped for common control of IO > interface like setting voltage signal levels and power state of > the interface. The group is generally referred as IO pads. The > power state and voltage control of IO pins can be done at

Re: [PATCH] arm64: dts: rockchip: fixes the gic400 2nd region size for rk3368

2016-05-20 Thread Shawn Lin
在 2016/5/18 22:41, Caesar Wang 写道: The 2nd additional region is the GIC virtual cpu interface register base and size. As the gic400 of rk3368 says, the cpu interface register map as below : -0x GICC_CTRL . . . -0x00fc GICC_IIDR -0x1000 GICC_IDR Obviously, the region size should be

Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036

2016-05-20 Thread Heiko Stuebner
Am Freitag, 20. Mai 2016, 20:35:53 schrieb Shawn Lin: > 在 2016/5/20 7:56, Caesar Wang 写道: > > That's seem the incorrect string to match the spi driver. > > Will it break the backward compatibility for some dtb if not > falling back to "rockchip,rockchip-spi" ? in what dtb did you see

[PATCH] overlayfs: Do d_type check only if work dir creation was successful

2016-05-20 Thread Vivek Goyal
d_type check requires successful creation of workdir as iterates through work dir and expects work dir to be present in it. If that's not the case, this check will always return d_type not supported even if underlying filesystem might be supporting it. So don't do this check if work dir creation

Re: [RFC PATCH] Increase in idle power with schedutil

2016-05-20 Thread Shilpasri G Bhat
Hi, On 05/19/2016 05:10 PM, Peter Zijlstra wrote: > On Wed, May 18, 2016 at 11:11:51PM +0200, Rafael J. Wysocki wrote: >> On Wed, May 18, 2016 at 2:53 PM, Shilpasri G Bhat >> wrote: >>> This patch adds driver callback for fast_switch and below observations >>> on

[PATCH v8 1/4] of/serial: move earlycon early_param handling to serial

2016-05-20 Thread Aleksey Makarov
From: Leif Lindholm We have multiple "earlycon" early_param handlers - merge the DT one into the main earlycon one. It's a cleanup that also will be useful to defer setting up DT console until ACPI/DT decision is made. Rename the exported function to avoid clashing

[PATCH v8 3/4] ARM64: ACPI: enable ACPI_SPCR_TABLE

2016-05-20 Thread Aleksey Makarov
SBBR mentions SPCR as a mandatory ACPI table. So enable it for ARM64 Earlycon should be set up as early as possible. ACPI boot tables are mapped in arch/arm64/kernel/acpi.c:acpi_boot_table_init() that is called from setup_arch() and that's where we parse SPCR. So it has to be opted-in per-arch.

[PATCH v8 0/4] ACPI: parse the SPCR table

2016-05-20 Thread Aleksey Makarov
arch. When ACPI_SPCR_TABLE is defined initialization of DT earlycon is deferred until the DT/ACPI decision is done. Implement console_match() for pl011. Based on the work by Leif Lindholm [3] Thanks to Peter Hurley for explaining how this should work. Should be applied to next-20160520 Tested on QEMU and Thun

Re: [patch] mm, migrate: increment fail count on ENOMEM

2016-05-20 Thread Michal Hocko
On Thu 19-05-16 15:11:23, David Rientjes wrote: > If page migration fails due to -ENOMEM, nr_failed should still be > incremented for proper statistics. > > This was encountered recently when all page migration vmstats showed 0, > and inferred that migrate_pages() was never called, although in

Re: get_maintainer.pl and MAINTAINERS file

2016-05-20 Thread Kalle Valo
Mauro Carvalho Chehab writes: > Em Thu, 19 May 2016 16:25:45 +0200 > Richard Weinberger escreveu: > >> On Thu, May 19, 2016 at 2:57 PM, Kalle Valo wrote: >> > (Changed the subject from "Re: [PATCH v6 0/3] auxdisplay:

Re

2016-05-20 Thread Bernard Arnault
You have been chosen to benefit from Bernard Arnault Philanthropic Donation. Contact him with his Personal Email:: bena12...@qq.com

Re: [patch] mm, migrate: increment fail count on ENOMEM

2016-05-20 Thread Vlastimil Babka
On 05/20/2016 03:06 PM, Michal Hocko wrote: On Thu 19-05-16 15:11:23, David Rientjes wrote: If page migration fails due to -ENOMEM, nr_failed should still be incremented for proper statistics. This was encountered recently when all page migration vmstats showed 0, and inferred that

[PATCH 01/10] kernel-doc: fix use of uninitialized value

2016-05-20 Thread Jani Nikula
I'm not quite sure why the errors below are happening, but this fixes them. Use of uninitialized value in string ne at ./scripts/kernel-doc line 1819, line 6494. Use of uninitialized value $_[0] in join or string at ./scripts/kernel-doc line 1759, line 6494. Signed-off-by: Jani Nikula

[PATCH 00/10] Documentation/Sphinx

2016-05-20 Thread Jani Nikula
Hi Jon, all - I've had a few moments of spare time to look into Sphinx. This is a sort of status report on the progress. I suppose we all thought it would be easiest to use docproc for the Sphinx toolchain, for starters. I tried it, hard, and even sent a bunch of docproc prep patches. However I

[PATCH 02/10] kernel-doc: support printing exported and non-exported symbols

2016-05-20 Thread Jani Nikula
Currently we use docproc to figure out which symbols are exported, and then docproc calls kernel-doc on specific functions, to get documentation on exported functions. According to git blame and docproc comments, this is due to historical reasons, as functions and their corresponding

Re: [PATCH 8/8] perf stat: Add computation of TopDown formulas

2016-05-20 Thread Andi Kleen
> > @@ -82,6 +87,12 @@ void perf_stat__reset_shadow_stats(void) > > sizeof(runtime_transaction_stats)); > > memset(runtime_elision_stats, 0, sizeof(runtime_elision_stats)); > > memset(_nsecs_stats, 0, sizeof(walltime_nsecs_stats)); > > + memset(runtime_topdown_total_slots, 0,

Re: [PATCH v2] mmc: sdhci: fix wakeup configuration

2016-05-20 Thread Ulf Hansson
On 20 May 2016 at 13:46, Adrian Hunter wrote: > On 13/05/16 16:16, Ludovic Desroches wrote: >> Activating wakeup event is not enough to get a wakeup signal. The >> corresponding events have to be enabled in the Interrupt Status Enable >> Register too. It follows the

[PATCH 05/10] Documentation/sphinx: add Sphinx kernel-doc directive extension

2016-05-20 Thread Jani Nikula
Add an extension to handle kernel-doc directives, to call kernel-doc according to the arguments and parameters given to the reStructuredText directive. The syntax for the kernel-doc directive is: .. kernel-doc:: FILENAME :export: :internal: :functions: FUNCTION [FUNCTION ...] :doc:

[PATCH 09/10] Documentation: add kernel api rst

2016-05-20 Thread Jani Nikula
Crude conversion. This one uses kernel-doc. Signed-off-by: Jani Nikula --- Documentation/index.rst | 1 + Documentation/kernel-api.rst | 419 +++ 2 files changed, 420 insertions(+) create mode 100644

[PATCH 07/10] sphinx: cheesy script to convert .tmpl files

2016-05-20 Thread Jani Nikula
From: Jonathan Corbet This script uses pandoc to convert existing DocBook template files to RST templates. A couple of sed scripts are need to massage things both before and after the conversion, but the result is then usable with no hand editing. [Jani: Change usage to tmplcvt

[PATCH 04/10] Documentation: add .gitignore

2016-05-20 Thread Jani Nikula
The Sphinx output directory is generated. Signed-off-by: Jani Nikula --- Documentation/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 Documentation/.gitignore diff --git a/Documentation/.gitignore b/Documentation/.gitignore new file mode 100644

[PATCH 03/10] Documentation/sphinx: add basic working Sphinx configuration and build

2016-05-20 Thread Jani Nikula
Add basic configuration and makefile to build documentation from any .rst files under Documentation using Sphinx. For starters, there's just the placeholder index.rst. At the top level Makefile, hook Sphinx documentation targets alongside (but independent of) the DocBook toolchain, having both be

[PATCH 06/10] Documentation/sphinx: configure the kernel-doc extension

2016-05-20 Thread Jani Nikula
Tell Sphinx where to find the extension, and pass on the kernel src tree and kernel-doc paths to the extension. With this, any .rst files under Documentation may contain the kernel-doc rst directive to include kernel-doc documentation from any source file. While building, it may be handy to pass

Re: [PATCH 8/8] perf stat: Add computation of TopDown formulas

2016-05-20 Thread Andi Kleen
Here's an updated patch without the extra line --- Implement the TopDown formulas in perf stat. The topdown basic metrics reported by the kernel are collected, and the formulas are computed and output as normal metrics. See the kernel commit exporting the events for details on the used metrics.

Re: [PATCH 8/8] perf stat: Add computation of TopDown formulas

2016-05-20 Thread Jiri Olsa
On Fri, May 20, 2016 at 06:38:33AM -0700, Andi Kleen wrote: > > > @@ -82,6 +87,12 @@ void perf_stat__reset_shadow_stats(void) > > > sizeof(runtime_transaction_stats)); > > > memset(runtime_elision_stats, 0, sizeof(runtime_elision_stats)); > > > memset(_nsecs_stats, 0,

[PATCH] net: sock: Add option for memory optimized hints.

2016-05-20 Thread peter enderborg
From: Peter Enderborg When sending data the socket allocates memory for payload on a cache or a page alloc. The page alloc then might trigger compation that takes long time. This can be avoided with smaller chunks. But userspace can not know what is the right

Re: [PATCH V6 3/3] soc/tegra: pmc: Add support for IO pads power state and voltage

2016-05-20 Thread Laxman Dewangan
On Friday 20 May 2016 07:02 PM, Jon Hunter wrote: On 20/05/16 12:59, Laxman Dewangan wrote: +/* tegra_io_pads_config_info: Tegra IO pads bit config info. + * @dpd_config_bit: DPD configuration bit position. -1 if not supported. + * @voltage_config_bit: Voltage configuration bit position. -1 if

Re: [RFC PATCHv2] usb: USB Type-C Connector Class

2016-05-20 Thread Oliver Neukum
On Fri, 2016-05-20 at 14:24 +0300, Heikki Krogerus wrote: > On Thu, May 19, 2016 at 04:47:17PM +0200, Oliver Neukum wrote: > > > > Please explain. How does that express DRP but prefered master? > > Sorry but I'm not sure what you mean here. If the port is capable of > being used as dual role port

[PATCH 08/10] Documentation: add kernel hacking rst

2016-05-20 Thread Jani Nikula
Crude conversion. This one doesn't use kernel-doc. Signed-off-by: Jani Nikula --- Documentation/index.rst | 5 +- Documentation/kernel-hacking.rst | 795 +++ 2 files changed, 799 insertions(+), 1 deletion(-) create mode

Re: [PATCH v2] ks390/keyboard: use memdup_user_nul().

2016-05-20 Thread Heiko Carstens
On Fri, May 20, 2016 at 06:51:20PM +0530, Muhammad Falak R Wani wrote: > Use memdup_user_nul to duplicate a memory region from user-space > to kernel-space and terminate with a NULL, instead of open coding > using kmalloc + copy_from_user and explicitly NULL terminating. > > Signed-off-by:

[PATCH 04/20] staging: comedi: drivers: re-do macros for PLX PCI 9080 LASxRR values

2016-05-20 Thread Ian Abbott
Rename the macros for the PLX PCI 9080 LAS0RR and LAS1RR registers in "plx9080.h", using the prefix `PLX_LASRR_`. Make use of the `BIT(x)` and `GENMASK(h,l)` macros to define the values. Define a macro `PLX_LASRR_PREFETCH` for the "prefetchable memory" bit in this register, and define a macro

[PATCH 02/20] staging: comedi: plx9080.h: remove Power-Up Test Suite stuff

2016-05-20 Thread Ian Abbott
The defines related to the Power-Up Test Suite (PUTS) are just cruft that has nothing to do with the PLX PCI-9080 chip. They seem to have been inherited from "drivers/net/plx9060.h" in the kernel 2.2.16 sources for use by the "wanxl" driver. Remove them. Signed-off-by: Ian Abbott

[PATCH 00/20] staging: comedi: re-do drivers/plx9080.h

2016-05-20 Thread Ian Abbott
Re-do "drivers/staging/comedi/drivers/plx9080.h". It mostly contains defines for register offsets and values for the PLX PCI 9080 PCI interface chip. To make it easier to follow, base the macro names for register offsets on the register names from the PLX PCI 9080 data book. Base the macro names

[PATCH 15/20] staging: comedi: drivers: re-do PLX PCI 9080 DMADPRx register values

2016-05-20 Thread Ian Abbott
Replace the existing macros in "plx9080.h" that define values for the DMADPR0 and DMADPR1 registers. (A little-endian version of the register value is also placed in the `next` member of `struct plx_dma_desc`.) Use the prefix `PLX_DMADPR_` for the macros. Make use of the `BIT(x)` and

[PATCH 10/20] staging: comedi: drivers: re-do PLX PCI 9080 DMCFGA register values

2016-05-20 Thread Ian Abbott
Replace the existing macros in "plx9080.h" that define values for the DMCFGA register. Use the prefix `PLX_DMCFGA_` for the macros. Make use of the `BIT(x)` and `GENMASK(h,l)` macros to define the values. Signed-off-by: Ian Abbott ---

[PATCH 20/20] staging: comedi: plx9080.h: include headers for declarations

2016-05-20 Thread Ian Abbott
Add `#include` lines to declare stuff used by "plx9080.h" itself. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/plx9080.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/staging/comedi/drivers/plx9080.h

[PATCH 18/20] staging: comedi: plx9080.h: tidy up some comments

2016-05-20 Thread Ian Abbott
Use the usual block comment style and remove some excess spaces from single-line comments. Remove some obvious stuff about register offsets being zero relative. Remove some text about the original history of the file, as it bears hardly any resemblance to it now. Signed-off-by: Ian Abbott

[PATCH 16/20] staging: comedi: drivers: re-do PLX PCI 9080 DMACSRx register values

2016-05-20 Thread Ian Abbott
Replace the existing macros in "plx9080.h" that define values for the DMACSR0 and DMACSR0 registers. Use the prefix `PLX_DMACSR_` for the macros. Make use of the `BIT(x)` macro to define the values. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/cb_pcidas64.c

[PATCH 19/20] staging: comedi: plx9080.h: Add kerneldoc comments

2016-05-20 Thread Ian Abbott
Document the DMA descriptor `struct plx_dma_desc`, and the DMA abort function `plx9080_abort_dma()`. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/plx9080.h | 35 ++-- 1 file changed, 29 insertions(+), 6 deletions(-) diff --git

[PATCH 17/20] staging: comedi: drivers: add PLX PCI 9080 DMATHR register values

2016-05-20 Thread Ian Abbott
Add macros in "plx9080.h" that define values for the DMATHR register values. Use the prefix `PLX_DMATHR_` for the macros. Make use of the `BIT(x)` and `GENMASK(h,l)` macros to define the values. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/plx9080.h | 41

[PATCH 13/20] staging: comedi: plx9080.h: add hard-coded PCIHIDR register value

2016-05-20 Thread Ian Abbott
For the PLX PCI 9080, the read-only PCIHIDR register is hard-coded with the value `0x908010b5`. Add a macro `PLX_PCIHIDR_9080` that expands to this value. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/plx9080.h | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH 14/20] staging: comedi: drivers: re-do PLX PCI 9080 DMAMODEx register values

2016-05-20 Thread Ian Abbott
Replace the existing macros in "plx9080.h" that define values for the DMAMODE0 and DMAMODE1 registers. Use the prefix `PLX_DMAMODE_` for the macros. Make use of the `BIT(x)` and `GENMASK(h,l)` macros to define the values. Signed-off-by: Ian Abbott ---

[PATCH 11/20] staging: comedi: drivers: re-do PLX PCI 9080 INTCSR register values

2016-05-20 Thread Ian Abbott
Replace the existing macros in "plx9080.h" that define values for the INTCSR register. Use the prefix `PLX_INTCSR_` for the macros. Make use of the `BIT(x)` and `GENMASK(h,l)` macros to define the values. Signed-off-by: Ian Abbott ---

[PATCH 12/20] staging: comedi: drivers: re-do PLX PCI 9080 CNTRL register values

2016-05-20 Thread Ian Abbott
Replace the existing macros in "plx9080.h" that define values for the CNTRL register. Use the prefix `PLX_CNTRL_` for the macros. Make use of the `BIT(x)` and `GENMASK(h,l)` macros to define the values. Signed-off-by: Ian Abbott ---

[PATCH 07/20] staging: comedi: drivers: re-do PLX PCI 9080 BIGEND register values

2016-05-20 Thread Ian Abbott
Replace `enum bigend_bits` in "plx9080.h" with a bunch of macros defining values for the BIGEND register. Use the prefix `PLX_BIGEND_` for the macro names. Make use of the `BIT(x)` and `GENMASK(h,l)` macros to define the values. Signed-off-by: Ian Abbott ---

[PATCH 09/20] staging: comedi: drivers: re-do PLX PCI 9080 DMPBAM register values

2016-05-20 Thread Ian Abbott
Replace the existing macros in "plx9080.h" that define values for the DMPBAM register. Use the prefix `PLX_DMPBAM_` for the macros. Make use of the `BIT(x)` and `GENMASK(h,l)` macros to define the values. Signed-off-by: Ian Abbott ---

[PATCH 1/3] drm/imx: imx-ldb: honor 'native-mode' property when selecting video mode from DT

2016-05-20 Thread Lothar Waßmann
This patch allows to select a specific video mode from a list of modes defined in DT by setting the 'native-mode' property appropriately. This change does not affect the behaviour of existing platforms, since they either: - have just one display-timings subnode - have the native-mode

[PATCH 08/20] staging: comedi: drivers: re-do PLX PCI 9080 LBRDx register values

2016-05-20 Thread Ian Abbott
Replace the existing macros in "plx9080.h" that define values for the LBRD0 and LBRD1 registers. Use the prefix `PLX_LBRD_` for macros that apply to both registers, `PLX_LBRD0_` for macros that apply only to the LBRD0 register, and `PLX_LBRD1_` for macros that apply only to the LBRD1 register.

[PATCH 2/3] drm/imx: convey the pixelclk-active and de-active flags from DT to the ipu-di driver

2016-05-20 Thread Lothar Waßmann
Currently these flags are lost in the call drm_display_mode_from_videomode() Signed-off-by: Lothar Waßmann --- drivers/gpu/drm/imx/imx-drm-core.c | 12 +++ drivers/gpu/drm/imx/imx-drm.h | 7 --- drivers/gpu/drm/imx/imx-ldb.c | 37

[PATCH 06/20] staging: comedi: drivers: re-do PLX PCI 9080 MARBR register values

2016-05-20 Thread Ian Abbott
Replace `enum marb_bits` in "plx9080.h" with a bunch of macros defining values for the MARBR and DMAARB registers (which are the same Mode/Arbitation register at two different offsets). Use the prefix `PLX_MARBR_` for the macros. Make use of the `BIT(x)` and `GENMASK(h,l)` macros to define the

[PATCH 0/3] drm/imx: convey the pixelclk-active and de-active flags to the ipu-di driver

2016-05-20 Thread Lothar Waßmann
The 'de-active' and 'pixelclk-active' DT properties are evaluated by of_parse_display_timing() called from of_get_drm_display_mode(), but later lost in the conversion from videomode.flags to drm_display_mode.flags. Use an open coded version of of_get_drm_display_mode() to get access to these

[PATCH 3/3] drm/imx: remove dead code

2016-05-20 Thread Lothar Waßmann
The 'mode_valid' flag is never set in this driver. Remove it and the code that depends on it. Signed-off-by: Lothar Waßmann --- drivers/gpu/drm/imx/parallel-display.c | 12 1 file changed, 12 deletions(-) diff --git

[PATCH 05/20] staging: comedi: drivers: re-do macros for PLX PCI 9080 LASxBA values

2016-05-20 Thread Ian Abbott
Replace the existing macros in "plx9080.h" that define values for the LAS0BA and LAS1BA registers. Use the prefix `PLX_LASBA_` for the macros. Make use of the `BIT(x)` and `GENMASK(h,l)` macros to define the macros. Signed-off-by: Ian Abbott ---

[PATCH v2 3/4] Staging: comedi:Fix unsigned int to bare use of unsigned issue in s626.c

2016-05-20 Thread Ravishankar Karkala Mallikarjunayya
This is a patch to the s626.c file that fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool Signed-off-by: Ravishankar Karkala Mallikarjunayya --- Changes since V1: - No change --- drivers/staging/comedi/drivers/s626.c |

[PATCH v2 1/4] Staging: comedi: fix type issue in s626.c

2016-05-20 Thread Ravishankar Karkala Mallikarjunayya
This is a patch to the s626.c file that fixes up a type issues found by the checkpatch.pl tool. i.e Prefer kernel type 'u8' over 'uint8_t' Prefer kernel type 'u16' over 'uint16_t' Prefer kernel type 'u32' over 'uint32_t' Prefer kernel type 's16' over 'int16_t' Prefer kernel type

[PATCH 0/2] cpufreq: Upstream Android's Interactive governor

2016-05-20 Thread Viresh Kumar
Hi Rafael et. al., We had some discussions [1] last week on the PM mailing about upstreaming the cpufreq governor most widely used on Andoid Mobile phones and tablets: Interactive governor. People (including Rafael) mostly agreed that we better get it upstreamed and here is an attempt to upstream

[PATCH 1/2] cpufreq: Move gov_attr_* macros to cpufreq.h

2016-05-20 Thread Viresh Kumar
These macros can be reused by governors which don't use the common governor code present in cpufreq_governor.c and should be moved to the relevant header. Now that they are getting moved to the right header file, reuse them in schedutil governor as well (that required rename of show/store

[PATCH 2/2] cpufreq: Add android's 'interactive' governor

2016-05-20 Thread Viresh Kumar
Interactive governor has lived in Android sources for a very long time and this commit is based on the code present in following branch: https://android.googlesource.com/kernel/common android-4.4 The Interactive governor is designed for latency-sensitive workloads, such as interactive user

Re: [PATCH v2 2/7] iio: inv_mpu6050: Initial regcache support

2016-05-20 Thread Peter Rosin
Hi! On 2016-05-20 04:34, Matt Ranostay wrote: > On Wed, May 18, 2016 at 8:00 AM, Crestez Dan Leonard > wrote: >> Signed-off-by: Crestez Dan Leonard >> --- >> drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 47 >> ++

答复: Søg Partnerskab

2016-05-20 Thread Zhuang Y.
Søg Partnerskab Jeg repræsenterer en investering interesse fra Dubai ; og interesseret i Overseas Investment Inddragelse store mængde af midler , som vi søger din deltagelse som en oversøisk repræsentant til at håndtere investeringen. Svar på e-mail nedenfor , hvis interesseret . Hilsen,

Re: [PATCH v3 1/5] libnvdimm: stop requiring a driver ->remove() method

2016-05-20 Thread Johannes Thumshirn
On Wed, May 18, 2016 at 01:56:11PM -0700, Dan Williams wrote: > The dax_pmem driver was implementing an empty ->remove() method to > satisfy the nvdimm bus driver that unconditionally calls ->remove(). > Teach the core bus driver to check if ->remove() is NULL to remove that > requirement. > >

Re: [PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-20 Thread Ard Biesheuvel
On 20 May 2016 at 06:41, Jon Masters wrote: > Hi Tomasz, all, > > On 05/11/2016 07:08 AM, Tomasz Nowicki wrote: > >> On 11.05.2016 12:41, Gabriele Paoloni wrote: > v6 -> v7 - drop quirks handling >>> >>> Maybe I missed something in the v6 discussion thread; when was it

Re: sem_lock() vs qspinlocks

2016-05-20 Thread Peter Zijlstra
On Thu, May 19, 2016 at 10:39:26PM -0700, Davidlohr Bueso wrote: > In addition, this makes me wonder if queued_spin_is_locked() should then be: > > - return atomic_read(>val); > + return atomic_read(>val) & _Q_LOCKED_MASK; > > And avoid considering pending waiters as locked. Probably

[GIT PULL] KEYS: Miscellaneous small changes

2016-05-20 Thread David Howells
Hi James, Can you pull these miscellaneous small changes into your next tree and pass them along to Linus? There's nothing that should be ground breaking here: (1) MAINTAINERS record update. (2) Add a MODULE_LICENSE tag to the ASN.1 decoder. (3) Fix the PKCS#7 test key type to search the

Re: [PATCH] net: alx: use custom skb allocator

2016-05-20 Thread Feng Tang
Hi, Please ignore this patch. I found the problem and made the patch with kernel 4.4 with Ubuntu 12.04 on Lenovo Y580. After submitting the patch, I tried to google the datasheet for Atheros 8161 dev, and found there was already a kernel bugzilla

Re: [PATCH 0/4] regulator: tps65917/palmas: Cleanups and bugfixes

2016-05-20 Thread Laxman Dewangan
On Friday 20 May 2016 10:01 AM, Keerthy wrote: + Lee Jones On Saturday 07 May 2016 12:31 AM, Nishanth Menon wrote: On 05/06/2016 12:14 PM, Mark Brown wrote: On Fri, May 06, 2016 at 12:44:23PM +0530, Laxman Dewangan wrote: When you are here, can you implement the dt parsing with the new

[tip:perf/urgent] perf stat: Update runtime using cpu-clock event

2016-05-20 Thread tip-bot for Namhyung Kim
Commit-ID: daf4f4786e8af371048e72cb37ac05190e89198a Gitweb: http://git.kernel.org/tip/daf4f4786e8af371048e72cb37ac05190e89198a Author: Namhyung Kim AuthorDate: Fri, 13 May 2016 15:01:02 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 16

[tip:perf/urgent] perf stat: Fix indentation of stalled backend cycle

2016-05-20 Thread tip-bot for Namhyung Kim
Commit-ID: b0404be8d6186f9f3c23e2b5ff247e667be90652 Gitweb: http://git.kernel.org/tip/b0404be8d6186f9f3c23e2b5ff247e667be90652 Author: Namhyung Kim AuthorDate: Fri, 13 May 2016 15:01:01 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 16

[tip:perf/urgent] perf symbols: Store vdso buildid unconditionally

2016-05-20 Thread tip-bot for He Kuang
Commit-ID: 6ae98ba611ed1c11ddc5645475bc03b46a3c04e7 Gitweb: http://git.kernel.org/tip/6ae98ba611ed1c11ddc5645475bc03b46a3c04e7 Author: He Kuang AuthorDate: Thu, 12 May 2016 08:43:11 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 16 May

Re: linux-next 20160512 - ACPI issue with screen brightness

2016-05-20 Thread Valdis . Kletnieks
On Fri, 20 May 2016 13:45:30 +0800, Aaron Lu said: > On 05/20/2016 11:05 AM, valdis.kletni...@vt.edu wrote: > > On Thu, 19 May 2016 18:53:17 -0400, valdis.kletni...@vt.edu said: > > > next-20160512 sets the screen brightness to about 40%-ish or so, rather > than the 100% intensity I

Re: [PATCH v3] xen: add steal_clock support on x86

2016-05-20 Thread Juergen Gross
On 19/05/16 19:15, Stefano Stabellini wrote: > On Thu, 19 May 2016, Juergen Gross wrote: >> The pv_time_ops structure contains a function pointer for the >> "steal_clock" functionality used only by KVM and Xen on ARM. Xen on x86 >> uses its own mechanism to account for the "stolen" time a thread

[PATCH v4] xen: add steal_clock support on x86

2016-05-20 Thread Juergen Gross
The pv_time_ops structure contains a function pointer for the "steal_clock" functionality used only by KVM and Xen on ARM. Xen on x86 uses its own mechanism to account for the "stolen" time a thread wasn't able to run due to hypervisor scheduling. Add support in Xen arch independent time handling

Re: linux-next 20160512 - ACPI issue with screen brightness

2016-05-20 Thread Aaron Lu
On Fri, May 20, 2016 at 03:17:20PM +0800, Aaron Lu wrote: > On Fri, May 20, 2016 at 03:02:08AM -0400, valdis.kletni...@vt.edu wrote: > > On Fri, 20 May 2016 13:45:30 +0800, Aaron Lu said: > > > On 05/20/2016 11:05 AM, valdis.kletni...@vt.edu wrote: > > > > On Thu, 19 May 2016 18:53:17 -0400,

Re: [PATCH] x86/boot: Refuse to build with data relocations

2016-05-20 Thread Ingo Molnar
* Kees Cook wrote: > On Wed, May 18, 2016 at 4:29 AM, Ingo Molnar wrote: > > > > * Kees Cook wrote: > > > >> > I think there is something way more subtle going on here, and it bothers > >> > me > >> > exactly because it is

[tip:perf/urgent] perf core: Separate accounting of contexts and real addresses in a stack trace

2016-05-20 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: c85b03349640b34f3545503c8429fc43005e9a92 Gitweb: http://git.kernel.org/tip/c85b03349640b34f3545503c8429fc43005e9a92 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 12 May 2016 13:06:21 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

Re: [PATCHv9 2/2] selftest/x86: add mremap vdso test

2016-05-20 Thread Ingo Molnar
* Dmitry Safonov wrote: > Should print on success: > [root@localhost ~]# ./test_mremap_vdso_32 > AT_SYSINFO_EHDR is 0xf773f000 > [NOTE]Moving vDSO: [f773f000, f774] -> [a00, a001000] > [OK] > Or segfault if landing was bad (before patches): >

[tip:perf/urgent] perf tools: Separate accounting of contexts and real addresses in a stack trace

2016-05-20 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a29d5c9b8167dbc21a7ca8c0302e3799f9063b4e Gitweb: http://git.kernel.org/tip/a29d5c9b8167dbc21a7ca8c0302e3799f9063b4e Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 16 May 2016 21:16:54 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/urgent] perf core: Add perf_callchain_store_context() helper

2016-05-20 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3e4de4ec4cfea40994b47a79767610153edbf45b Gitweb: http://git.kernel.org/tip/3e4de4ec4cfea40994b47a79767610153edbf45b Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 12 May 2016 13:01:50 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

Re: [PATCH v2 2/3] drm/arm: Add support for Mali Display Processors

2016-05-20 Thread Daniel Vetter
On Thu, May 19, 2016 at 04:26:49PM +0100, Liviu Dudau wrote: > On Mon, Apr 25, 2016 at 03:19:23PM +0100, Liviu Dudau wrote: > > Add support for the new family of Display Processors from ARM Ltd. > > This commit adds basic support for Mali DP500, DP550 and DP650 > > parts, with only the display

Re: [PATCH] ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it

2016-05-20 Thread Ingo Molnar
* Steven Rostedt wrote: > > Ingo, > > Did you want to take this patch through the tip tree, or do you want me > to take it? Feel free to take it! Thanks, Ingo

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-05-20 Thread Ingo Molnar
* Logan Gunthorpe wrote: > Hi, > > I have been working on a bug that causes my laptop to freeze during > resume from hibernation. I did a bisect to find the offending commit: > > [ab76f7b4ab] x86/mm: Set NX on gap between __ex_table and rodata > > There is more

Re: [PATCH 4.8 2/2] brcmfmac: support get_channel cfg80211 callback

2016-05-20 Thread Arend Van Spriel
On 19-5-2016 13:02, Rafał Miłecki wrote: > This is important for brcmfmac as the firmware may pick different > channel than requested. This has been tested with BCM4366B1 (in D-Link > DIR-885L). Can you elaborate? Is this for AP or STA mode? > Signed-off-by: Rafał Miłecki >

Re: [RFC][PATCH 0/7] locking/rwsem: Convert rwsem count to atomic_long_t

2016-05-20 Thread Davidlohr Bueso
On Tue, 17 May 2016, Peter Zijlstra wrote: Subject: locking,rwsem: Remove rwsem_atomic_add() and rwsem_atomic_update() From: Jason Low Date: Mon, 16 May 2016 17:38:02 -0700 The rwsem-xadd count has been converted to an atomic variable and the rwsem code now directly uses

[tip:perf/urgent] perf stat: Avoid fractional digits for integer scales

2016-05-20 Thread tip-bot for Andi Kleen
Commit-ID: e3b03b6c1a4f3b4564be08809f58584592621a0a Gitweb: http://git.kernel.org/tip/e3b03b6c1a4f3b4564be08809f58584592621a0a Author: Andi Kleen AuthorDate: Thu, 5 May 2016 16:04:03 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 16

[PATCH net-next v2 6/7] Driver: Vmxnet3: Introduce command to register memory region

2016-05-20 Thread Shrikrishna Khare
Signed-off-by: Guolin Yang Signed-off-by: Shrikrishna Khare --- drivers/net/vmxnet3/vmxnet3_defs.h | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/vmxnet3/vmxnet3_defs.h b/drivers/net/vmxnet3/vmxnet3_defs.h index

  1   2   3   4   5   6   7   8   9   10   >