[PATCH 06/11] efi: Split out EFI memory map functions into new file

2016-06-23 Thread Matt Fleming
Also move the functions from the EFI fake mem driver since future patches will require access to the memmap insertion code even if CONFIG_EFI_FAKE_MEM isn't enabled. This will be useful when we need to build custom EFI memory maps to allow drivers to mark regions as reserved. Cc: Ard Biesheuvel

[PATCH 03/11] efi: Refactor efi_memmap_init_early() into arch-neutral code

2016-06-23 Thread Matt Fleming
Every EFI architecture apart from ia64 needs to setup the EFI memory map at efi.memmap, and the code for doing that is essentially the same across all implementations. Therefore, it makes sense to factor this out into the common code under drivers/firmware/efi/. The only slight variation is the da

[PATCH 00/11] efi: Permanent runtime EFI memmap support

2016-06-23 Thread Matt Fleming
This series adds support for keeping the EFI memory map around at runtime for x86 (ARM and arm64 already have this support). Additionally, drivers can now reserve EFI boot services regions such that they are not released back to the kernel during efi_free_boot_services(). With these two features

[PATCH 01/11] x86/efi: Test for EFI_MEMMAP functionality when iterating EFI memmap

2016-06-23 Thread Matt Fleming
Both efi_find_mirror() and efi_fake_memmap() really want to know whether the EFI memory map is available, not just whether the machine was booted using EFI. efi_fake_memmap() even has a check for EFI_MEMMAP at the start of the function. Since we've already got other code that has this dependency,

[PATCH 09/16] tty: vt, get rid of ugly FLUSH macro

2016-06-23 Thread Jiri Slaby
It's a macro accessing and changing some local variables. And the code uses it without appending semicolon which confuses everybody too. Switch from this bad guy to a sane standard function. Signed-off-by: Jiri Slaby --- drivers/tty/vt/vt.c | 31 ++- 1 file changed,

[PATCH 07/16] tty: vt, remove consw->con_bmove

2016-06-23 Thread Jiri Slaby
It is never called since commit 81732c3b2fede (tty vt: Fix line garbage in virtual console on command line edition) in 3.7. So remove all the callbacks. Signed-off-by: Jiri Slaby Cc: Thomas Winischhofer Cc: linux-...@vger.kernel.org Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: "

Re: mmc: dw_mmc: warning with CONFIG_DMA_API_DEBUG

2016-06-23 Thread Jaehoon Chung
Hi Shawn, On 06/21/2016 04:39 PM, Shawn Lin wrote: > 在 2016/6/21 13:32, Jaehoon Chung 写道: >> Hi guys, >> >> On 06/21/2016 11:31 AM, Shawn Lin wrote: >>> On 2016/6/21 10:24, Seung-Woo Kim wrote: Hello Shawn, > -Original Message- > From: Shawn Lin [mailto:shawn@rock-chi

Re: [PATCH] mmc: sdhci-msm: fix spelling mistake: "Perpheral" -> "Peripheral"

2016-06-23 Thread Joe Perches
On Thu, 2016-06-23 at 10:52 +0100, Colin King wrote: > trivial fix to spelling mistake in dev_err message Hello Colin. You are submitting a lot of these recently. Are you using a tool to find these? If you are, maybe publish it to the janitorial and newbies list so others can do the work.

[PATCH 14/16] tty: vt, convert more macros to functions

2016-06-23 Thread Jiri Slaby
Namely convert: * IS_FG -> con_is_fg * DO_UPDATE -> con_should_update * CON_IS_VISIBLE -> con_is_visible DO_UPDATE was a weird name for a yes/no answer, so the new name is con_should_update. Signed-off-by: Jiri Slaby Cc: Thomas Winischhofer Cc: Jean-Christophe Plagniol-Villard Cc: linux-...@vg

[PATCH] net: Fix resetting network_header in neigh_resolve_output and neigh_connected_output

2016-06-23 Thread Abdelrhman Ahmed
neigh_resolve_output and neigh_connected_output resets the skb to network_header because of the retry loop and this reset will pull down the data pointer to the network header in the first iteration then hardware header will be added, but it will overwrite any data which is inserted between netw

[PATCH 13/16] tty: vt, whitespace cleanup in csi_m

2016-06-23 Thread Jiri Slaby
Flush the switch cases to be aligned with the switch. Mostly everything can now fit to the 80-chars terminal. Signed-off-by: Jiri Slaby --- drivers/tty/vt/vt.c | 169 ++-- 1 file changed, 85 insertions(+), 84 deletions(-) diff --git a/drivers/tty/

[PATCH 12/16] tty: vt, too many commands per line in rgb_foreground

2016-06-23 Thread Jiri Slaby
Do not opencode max3, use the macro. Separate commands. Until now, I have not noticed the comma. Make it one line, one command. And make the code obvious. Signed-off-by: Jiri Slaby --- drivers/tty/vt/vt.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff

[PATCH 01/16] tty: 8250, remove shadow and unused variables

2016-06-23 Thread Jiri Slaby
The compiler complains about variables that are set, but never used: * intX variables in exar_handle_irq drivers/tty/serial/8250/8250_port.c:1864:34: warning: variable ‘int3’ set but not used [-Wunused-but-set-variable] * val variable in pci_quatech_wqopr drivers/tty/serial/8250/8250_pci.c:113

[PATCH 16/16] tty: vt, remove unused vc_deccolm

2016-06-23 Thread Jiri Slaby
vc_deccolm is only set and never read, remove the member from vc_data. Signed-off-by: Jiri Slaby --- drivers/tty/vt/vt.c| 1 - include/linux/console_struct.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index 26de5c0fc056..213ce24060b

[PATCH 08/16] tty: vt, drop VT_BUF_VRAM_ONLY

2016-06-23 Thread Jiri Slaby
It is never defined. And I spent quite some time looking into the history and cannot find how this was ever used. Given it was not used in the history, I doubt it currently works as expected after the years of changes all over the code. So kill it. Signed-off-by: Jiri Slaby --- drivers/tty/vt/v

[PATCH 10/16] tty: vt, separate T.416 high colors handler

2016-06-23 Thread Jiri Slaby
The code with T.416 high colors handling is flushed to the right and hard to read. Move the code to a separate function and remove code duplication for foreground & background colors. Signed-off-by: Jiri Slaby --- drivers/tty/vt/vt.c | 85 +++-- 1

[PATCH 15/16] tty: vt, ignore PIO_UNIMAPCLR param

2016-06-23 Thread Jiri Slaby
We do not do hashtables for unicode fonts since 1995 (1.3.28). So it is time to remove the second parameter of con_clear_unimap and ignore the advice from userspace completely. Signed-off-by: Jiri Slaby --- drivers/tty/vt/consolemap.c | 13 ++--- drivers/tty/vt/vt_ioctl.c | 8 +---

[PATCH 05/16] tty: vt, consw->con_scrolldelta cleanup

2016-06-23 Thread Jiri Slaby
* allow NULL consw->con_scrolldelta (some consoles define an empty hook) * => remove empty hooks now * return value of consw->con_scrolldelta is never checked => make the function void * document consw->con_scrolldelta a bit Signed-off-by: Jiri Slaby Cc: Thomas Winischhofer Cc: linux-...@vge

[PATCH 06/16] tty: vt, consw->con_set_palette cleanup

2016-06-23 Thread Jiri Slaby
* allow NULL consw->con_set_palette (some consoles define an empty hook) * => remove empty hooks now * return value of consw->con_set_palette is never checked => make the function void * document consw->con_set_palette a bit Signed-off-by: Jiri Slaby Cc: Thomas Winischhofer Cc: linux-...@vge

[PATCH 03/16] vt: document vc_data by example

2016-06-23 Thread Jiri Slaby
All those members of vc_data are each explained in short. But it needs an example for one to understand the whole picture. So add an ascii art depicting the most important vc_data members. Signed-off-by: Jiri Slaby --- include/linux/console_struct.h | 32 1 file

[PATCH 04/16] sisusb: remove dummy variables

2016-06-23 Thread Jiri Slaby
bytes_written parameter of sisusb_copy_memory and sisusb_read_memory is an out parameter, but its value is never used. So remove it and pass a dummy variable down to sisusb_read_mem_bulk. Signed-off-by: Jiri Slaby Cc: Thomas Winischhofer Cc: linux-...@vger.kernel.org --- drivers/usb/misc/sisusb

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-23 Thread CK Hu
On Thu, 2016-06-23 at 15:54 +0800, Horng-Shyang Liao wrote: > Hi CK, > > On Thu, 2016-06-23 at 14:03 +0800, CK Hu wrote: > > Hi, HS: > > > > On Mon, 2016-05-30 at 11:19 +0800, HS Liao wrote: > > [...] > > > > > + > > > +/* events for CMDQ and display */ > > > +enum cmdq_event { > > > + /* Displa

[PATCH] x86/asm/entry: Make thunk's restore a local label

2016-06-23 Thread Borislav Petkov
From: Borislav Petkov No need to have it appear in objdump output. No functionality change. Signed-off-by: Borislav Petkov --- arch/x86/entry/thunk_64.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/entry/thunk_64.S b/arch/x86/entry/thunk_64.S index 027aec

Re: [LTP] [patch V2 00/20] timer: Refactor the timer wheel

2016-06-23 Thread Cyril Hrubis
Hi! > > While this is true, checking with reasonable error margin works just > > fine 99% of the time. You cannot really test that timer expires, without > > setting arbitrary margin. > > Err. You know that the timer expired because sigtimedwait() returns > EAGAIN. And the only thing you can relia

Re: [PATCH] x86/mm: only allow memmap=XX!YY over existing RAM

2016-06-23 Thread Boaz Harrosh
On 06/20/2016 10:33 AM, Yigal Korman wrote: > Before this patch, passing a range that is beyond the physical memory > range will succeed, the user will see a /dev/pmem0 and will be able to > access it. Reads will always return 0 and writes will be silently > ignored. > > I've gotten more than one

Re: [PATCHv3 1/2] usb: USB Type-C connector class

2016-06-23 Thread Roger Quadros
Hi Heikki, On 21/06/16 17:51, Heikki Krogerus wrote: > The purpose of USB Type-C connector class is to provide > unified interface for the user space to get the status and > basic information about USB Type-C connectors on a system, > control over data role swapping, and when USB PD is s/PD/PD (P

Re: [PATCH v10 2/3] perf config: Reimplement perf_config() introducing new perf_config_init() and perf_config_finish()

2016-06-23 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 23, 2016 at 05:55:18PM +0900, Taeung Song escreveu: > Many sub-commands use perf_config() but > everytime perf_config() is called, perf_config() always read config files. > (i.e. user config '~/.perfconfig' and system config > '$(sysconfdir)/perfconfig') > > But it is better to use th

Re: [PATCH 21/27] [AARCH64] ILP32: introduce syscalls that pass off_t

2016-06-23 Thread Joseph Myers
On Thu, 23 Jun 2016, Yury Norov wrote: > So for now I think it's simpler to have this ABI in sysdeps, and be in Of course it goes in sysdeps. But not architecture-specific sysdeps. And "simpler" for initial implementation may not be simpler for future maintenance; when there are too many impl

Re: [PATCH v10 1/3] perf config: Bring declarations about config from util/cache.h to util/config.h

2016-06-23 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 23, 2016 at 05:55:17PM +0900, Taeung Song escreveu: > Lately util/config.h has been added > but util/cache.h has declarations of functions > and a global variable for config features. > > To manage codes about configuration at one spot, > move them to util/config.h and let source files

Re: [PATCH v2] ARM: sun8i: Add Parrot Board DTS

2016-06-23 Thread Maxime Ripard
Hi, On Wed, Jun 22, 2016 at 03:41:42PM +0200, Quentin Schulz wrote: > The Parrot Board is an evaluation board with an Allwinner R16 (assumed > to be close to an Allwinner A33), 4GB of eMMC, 512MB of RAM, USB host > and OTG, a WiFi/Bluetooth combo chip, a micro SD Card reader, 2 > controllable butt

Re: [PATCH] mmc: sdhci-msm: fix spelling mistake: "Perpheral" -> "Peripheral"

2016-06-23 Thread Colin Ian King
On 23/06/16 12:39, Joe Perches wrote: > On Thu, 2016-06-23 at 10:52 +0100, Colin King wrote: >> trivial fix to spelling mistake in dev_err message > > Hello Colin. > > You are submitting a lot of these recently. > > Are you using a tool to find these? basically spell on some fancy kernel printk

Re: [PATCHv3 1/2] usb: USB Type-C connector class

2016-06-23 Thread Heikki Krogerus
Hi Oliver, On Thu, Jun 23, 2016 at 10:38:58AM +0200, Oliver Neukum wrote: > On Thu, 2016-06-23 at 11:23 +0300, Heikki Krogerus wrote: > > On Wed, Jun 22, 2016 at 06:44:18PM +0200, Oliver Neukum wrote: > > > No it's not. DRP means a port that can operate as _either_ Source > > (host) or Sink (devi

Re: [PATCH 1/2] leds: ncp5623: Add device tree binding documentation

2016-06-23 Thread Florian Vaussard
On 06/23/2016 01:21 PM, Jacek Anaszewski wrote: > On 06/23/2016 10:32 AM, Florian Vaussard wrote: >> Hi Jacek, >> >> On 06/23/2016 09:23 AM, Jacek Anaszewski wrote: >>> On 06/22/2016 04:25 PM, Florian Vaussard wrote: Hi Jacek, Le 22. 06. 16 à 10:51, Jacek Anaszewski a écrit : >

Re: [RFC PATCH] regulator: introduce boot protection flag

2016-06-23 Thread Pingbo Wen
Hi, Mark On Friday, June 17, 2016 07:42 PM, Mark Brown wrote: > On Fri, Jun 17, 2016 at 11:34:25AM +0800, Pingbo Wen wrote: >> On Wednesday, June 15, 2016 09:32 PM, Mark Brown wrote: > >>> Having the consumer driver know that it's "critical" seems wrong since >>> different systems may have differ

Re: [PATCH 5/5] perf tools: Fix NULL pointer deference when vdso not found

2016-06-23 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 23, 2016 at 10:02:39AM +0800, Wangnan (F) escreveu: > Hi, > > This patch fixes a real crash problem when we do 'perf report' > on an arm64 platform with arm32 program. > It is introduced by commit f9b2bdf228 ("perf tools: Find vdso > with the consider of cross-platform"). From dmesg re

[PATCH 2/4] sm750fb/sm750_hw.c: fixed whitespacing

2016-06-23 Thread wolzstefan
From: Stefan Wolz Deleted unnecessary newlines and added whitespaces around operators. Signed-off-by: Stefan Wolz Signed-off-by: Christian Halder Signed-off-by: Sebastian Handwerker --- drivers/staging/sm750fb/sm750_hw.c | 26 +- 1 file changed, 9 insertions(+), 17 de

[PATCH] sm750fb/sm750_hw.c: fixed various style problems

2016-06-23 Thread wolzstefan
Hello, we made some style fixes for the file drivers/staging/sm750fb/sm750_hw. There are 4 patches included: Patch 1 corrects alignment of multiline statements, patch 2 deletes some newlines and adds whitespaces around operators, patch 3 fixes some typos and style problems in comments and patch 4

[PATCH 4/4] sm750fb/sm750_hw.c: split assignment & long lines

2016-06-23 Thread wolzstefan
From: Stefan Wolz Split lines over 80 characters and separated assignments. Signed-off-by: Stefan Wolz Signed-off-by: Christian Halder Signed-off-by: Sebastian Handwerker --- drivers/staging/sm750fb/sm750_hw.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/

[PATCH 3/4] sm750fb/sm750_hw.c: fixed comments

2016-06-23 Thread wolzstefan
From: Stefan Wolz Fixed multiline comments to meet style standards, fixed typos and split comment lines over 80 characters. Signed-off-by: Stefan Wolz Signed-off-by: Christian Halder Signed-off-by: Sebastian Handwerker --- drivers/staging/sm750fb/sm750_hw.c | 48 +

[PATCH 1/4] sm750fb/sm750_hw.c: corrected alignment

2016-06-23 Thread wolzstefan
From: Stefan Wolz Fixed alignment in multiline declarations. Signed-off-by: Stefan Wolz Signed-off-by: Christian Halder Signed-off-by: Sebastian Handwerker --- drivers/staging/sm750fb/sm750_hw.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/staging

[PATCH 3/3] rt-tests: Add cyclicdeadline and deadline_test to the Make system

2016-06-23 Thread John Kacur
- Add cyclicdeadline and deadline_test to the Makefile - Conditionally define _GNU_SOURCE in the new programs - Add the new programs to the .gitignore file Signed-off-by: John Kacur --- .gitignore | 2 ++ Makefile| 11 ++- src/sched_d

[PATCH 0/3] rt-tests: sched_deadline tests

2016-06-23 Thread John Kacur
First of all, I have renamed the unstable v2.0 branch to v1.1, to make our numbering scheme more closely match other Linux projects. Then I have added two programs written by Steven Rostedt for testing SCHED_DEADLINE This is our first change that is to the unstable branch only. Thanks John Kacu

[PATCH 2/3] rt-tests: Add cyclicdeadline and deadline_test

2016-06-23 Thread John Kacur
Add cyclicdeadline and deadline_test - these are two programs written by Steven Rostedet to test the functionality and performance of SCHED_DEADLINE Signed-off-by: John Kacur --- src/sched_deadline/cyclicdeadline.c | 1267 + src/sched_deadline/deadline_test.c | 2097

[PATCH 1/3] rt-tests: Makefile, change version to 1.1

2016-06-23 Thread John Kacur
Rethinking the naming scheme, so changing the development line from 2.0 to 1.1 Signed-off-by: John Kacur --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a54d82bd8964..d60282e05931 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VER

[PATCH] arm64:swiotlb:Enable only when Input size through command line

2016-06-23 Thread Manjeet Pawar
From: Rohit Thapliyal swiotlb default size of 64M is too big as default value therefore it is made configurable through command line through swiotlb_size parameter. swiotlb allocation shall be done only when the swiotlb size is given through command line. Otherwise no swiotlb is allocated. Signe

Re: [PATCH 0/6] dell-smm-hwmon fixes

2016-06-23 Thread Pali Rohár
On Monday 20 June 2016 06:24:57 Guenter Roeck wrote: > On 06/20/2016 02:12 AM, Pali Rohár wrote: > >On Sunday 19 June 2016 00:39:47 Pali Rohár wrote: > >>On Saturday 18 June 2016 18:54:58 Guenter Roeck wrote: > >>>On 06/18/2016 08:26 AM, Pali Rohár wrote: > On Saturday 18 June 2016 17:13:59 Gue

Re: [PATCH v2 02/13] sched/fair: Consistent use of prev_cpu in wakeup path

2016-06-23 Thread Rik van Riel
On Thu, 2016-06-23 at 10:56 +0100, Morten Rasmussen wrote: >  > I think that would lead to some minor changes in behaviour in a few > corner cases, but I mainly wrote the patch as I thought it was very > confusing that we could have different "prev_cpu"s in different parts > of > the select_task_rq

Re: [PATCHv3 1/2] usb: USB Type-C connector class

2016-06-23 Thread Roger Quadros
Hi, On 23/06/16 15:00, Heikki Krogerus wrote: > Hi Oliver, > > On Thu, Jun 23, 2016 at 10:38:58AM +0200, Oliver Neukum wrote: >> On Thu, 2016-06-23 at 11:23 +0300, Heikki Krogerus wrote: >>> On Wed, Jun 22, 2016 at 06:44:18PM +0200, Oliver Neukum wrote: >> >>> No it's not. DRP means a port that c

Re: [PATCH 1/1] thermal: core: call thermal_zone_device_update() after mode update

2016-06-23 Thread Rafael J. Wysocki
On Wed, Jun 22, 2016 at 7:06 AM, Eduardo Valentin wrote: > Because several drivers do the following pattern: > .set_mode() >... >local_data->mode = new_mode; >thermal_zone_device_update(tz); > > makes sense to simply do the thermal_zone_device_update() > in thermal core, after setting

[PATCH] arm:swiotlb:keep disabled in default configuration

2016-06-23 Thread Manjeet Pawar
From: Rohit Thapliyal swiotlb implementation not required to be enabled in arm and disabling it reduces uImage size by 16KB. Signed-off-by: Rohit Thapliyal Signed-off-by: Ajeet Kumar Yadav --- arch/arm/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kco

Re: [PATCH RESEND V2] ARM64: config: Enable MAX77620 pinctrl/gpio/rtc for Tegra210 P2180

2016-06-23 Thread Thierry Reding
On Fri, Jun 17, 2016 at 11:35:56AM +0530, Laxman Dewangan wrote: > NVIDIA's Tegra210 Jetson platform (P2180) uses the MAX77620 as PMIC. > Enable GPIO, Pincontrol and RTC driver for this device. > > Signed-off-by: Laxman Dewangan > --- > Changes from V1: > - MFD and regulator is already enabled, e

[docs-next PATCH v2 01/11] kernel-doc: remove old debug cruft from dump_section()

2016-06-23 Thread Jani Nikula
No functional changes. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 27757c21551a..ac18eb5ed776 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -529,21 +529,18 @@ sub dump_section

[docs-next PATCH v2 03/11] kernel-doc: add missing semi-colons in option parsing

2016-06-23 Thread Jani Nikula
Signed-off-by: Jani Nikula --- scripts/kernel-doc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 710615f3a4ff..a6f82c812c15 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -484,10 +484,10 @@ while ($ARGV[0] =~ m/^-

[docs-next PATCH v2 00/11] Documentation/sphinx follow-up, again

2016-06-23 Thread Jani Nikula
The first 9 patches are just a resend of [1], there's two patches on top here. Pull details below. BR, Jani. [1] http://mid.gmane.org/cover.1465567017.git.jani.nik...@intel.com The following changes since commit 8569de68e79e94cce6709831edd94accb6942ade: docs: kernel-doc: Add "example" and "

[docs-next PATCH v2 08/11] Documentation/sphinx: use a more sensible string split in kernel-doc extension

2016-06-23 Thread Jani Nikula
Using the default str.split doesn't return empty strings like the current version does. Signed-off-by: Jani Nikula --- Documentation/sphinx/kernel-doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py i

[docs-next PATCH v2 09/11] Documentation/sphinx: add support for specifying extra export files

2016-06-23 Thread Jani Nikula
Let the user specify file patterns where to look for the EXPORT_SYMBOLs in addition to the file with kernel-doc comments. This is directly based on the -export-file FILE option added to kernel-doc in "kernel-doc: add support for specifying extra files for EXPORT_SYMBOLs", but we extend that with gl

[docs-next PATCH v2 02/11] kernel-doc: do not warn about duplicate default section names

2016-06-23 Thread Jani Nikula
Since commit 32217761ee9db0215350dfe1ca4e66f312fb8c54 Author: Jani Nikula Date: Sun May 29 09:40:44 2016 +0300 kernel-doc: concatenate contents of colliding sections we started getting (more) errors on duplicate section names, especially on the default section name "Description": include

[docs-next PATCH v2 07/11] Documentation/sphinx: remove unnecessary temporary variable

2016-06-23 Thread Jani Nikula
Leftover cruft. No functional changes. Signed-off-by: Jani Nikula --- Documentation/sphinx/kernel-doc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py index 4adfb0e91ecc..2856376cc62c 100644 --- a/Do

[docs-next PATCH v2 05/11] kernel-doc: add support for specifying extra files for EXPORT_SYMBOLs

2016-06-23 Thread Jani Nikula
If the kernel-doc comments for functions are not in the same file as the EXPORT_SYMBOL statements, the -export and -internal output selections do not work as expected. This is typically the case when the kernel-doc comments are in header files next to the function declarations and the EXPORT_SYMBOL

[docs-next PATCH v2 04/11] kernel-doc: abstract filename mapping

2016-06-23 Thread Jani Nikula
Reduce duplication in follow-up work. No functional changes. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index a6f82c812c15..516d95fcefb7 100755 --- a/sc

[docs-next PATCH v2 10/11] Documentation/sphinx: drop modindex, we don't have python modules

2016-06-23 Thread Jani Nikula
The modindex is for python modules. Signed-off-by: Jani Nikula --- Documentation/index.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/index.rst b/Documentation/index.rst index 71a276f34c7f..1139a7ea39ec 100644 --- a/Documentation/index.rst +++ b/Documentation/index.rst @@

[docs-next PATCH v2 11/11] Documentation: add top level 'make help' output for Sphinx

2016-06-23 Thread Jani Nikula
While there's slight overlap with the DocBook help now, this can stay intact when the DocBook help goes away. Signed-off-by: Jani Nikula --- Documentation/DocBook/Makefile | 4 ++-- Documentation/Makefile.sphinx | 8 Makefile | 2 ++ 3 files changed, 12 insertions

Re: [PATCH] arm64:swiotlb:Enable only when Input size through command line

2016-06-23 Thread Robin Murphy
On 23/06/16 13:13, Manjeet Pawar wrote: From: Rohit Thapliyal swiotlb default size of 64M is too big as default value therefore it is made configurable through command line through swiotlb_size parameter. swiotlb allocation shall be done only when the swiotlb size is given through command line.

[docs-next PATCH v2 06/11] kernel-doc: unify all EXPORT_SYMBOL scanning to one place

2016-06-23 Thread Jani Nikula
Scan all input files for EXPORT_SYMBOLs along with the explicitly specified export files before actually parsing anything. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel

Re: [PATCH 00/27] Move LRU page reclaim from zones to nodes v7

2016-06-23 Thread Mel Gorman
On Thu, Jun 23, 2016 at 01:27:14PM +0200, Michal Hocko wrote: > On Thu 23-06-16 11:26:48, Mel Gorman wrote: > > On Tue, Jun 21, 2016 at 03:15:39PM +0100, Mel Gorman wrote: > > > The bulk of the updates are in response to review from Vlastimil Babka > > > and received a lot more testing than v6. > >

[PATCH] net: ethernet: ti: cpdma: switch to use genalloc

2016-06-23 Thread Grygorii Strashko
TI CPDMA currently uses a bitmap for tracking descriptors alloactions allocations, but The genalloc already handles the same and can be used as with special memory (SRAM) as with DMA cherent memory chank (dma_alloc_coherent()). Hence, switch to using genalloc and add desc_num property for each chan

[PATCH] snic: Fix use-after-free in case of a dma mapping error

2016-06-23 Thread Johannes Thumshirn
If there is a dma mapping error snic kfree()s buf right before printing it. Change the order to not accidently trip on memory that's not owned by us anymore. Signed-off-by: Johannes Thumshirn --- drivers/scsi/snic/snic_disc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v3] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-06-23 Thread stefan . mavrodiev
сряда, 22 юни 2016 г., 16:22:34 UTC+3, Maxime Ripard написа: > Hi, > > On Mon, Jun 20, 2016 at 01:32:49PM +0300, Stefan Mavrodiev wrote: > > A33-OLinuXino is A33 development board designed by Olimex LTD. > > > > It has AXP233 PMU, 1GB DRAM, a micro SD card, one USB-OTG connector, > > headphone an

[PATCH v2 2/2] staging: wilc1000: fix error values in wilc_debugfs_init()

2016-06-23 Thread Luis de Bethencourt
If there was an error, returning -EINVAL is more appropriate than -1. Signed-off-by: Luis de Bethencourt Reviewed-by: Julian Calaby --- drivers/staging/wilc1000/wilc_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_debugfs.c b/driv

[PATCH v2 1/2] staging: wilc1000: fix error handling in wilc_debugfs_init()

2016-06-23 Thread Luis de Bethencourt
The common format to check if a function returned an error pointer is to use PTR_ERR(). Instead of ERR_PTR() which is used to return said errors. Signed-off-by: Luis de Bethencourt Reviewed-by: Julian Calaby --- drivers/staging/wilc1000/wilc_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: [PATCH 1/1] thermal: core: call thermal_zone_device_update() after mode update

2016-06-23 Thread Keerthy
On Thursday 23 June 2016 05:57 PM, Rafael J. Wysocki wrote: On Wed, Jun 22, 2016 at 7:06 AM, Eduardo Valentin wrote: Because several drivers do the following pattern: .set_mode() ... local_data->mode = new_mode; thermal_zone_device_update(tz); makes sense to simply do the thermal

Re: [PATCH v10 2/3] perf config: Reimplement perf_config() introducing new perf_config_init() and perf_config_finish()

2016-06-23 Thread Taeung Song
Hi, Arnaldo :) On 06/23/2016 08:56 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 23, 2016 at 05:55:18PM +0900, Taeung Song escreveu: Many sub-commands use perf_config() but everytime perf_config() is called, perf_config() always read config files. (i.e. user config '~/.perfconfig' and system

Re: [PATCH v10 1/3] perf config: Bring declarations about config from util/cache.h to util/config.h

2016-06-23 Thread Taeung Song
Thank you !! :-D On 06/23/2016 08:57 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 23, 2016 at 05:55:17PM +0900, Taeung Song escreveu: Lately util/config.h has been added but util/cache.h has declarations of functions and a global variable for config features. To manage codes about configura

Re: [PATCH] memory:bugxfix panic on cat or write /dev/kmem

2016-06-23 Thread Michal Hocko
On Fri 24-06-16 01:30:10, chenj...@huawei.com wrote: > From: chenjie > > cat /dev/kmem and echo > /dev/kmem will lead panic Writing to /dev/kmem without being extremely careful is a disaster AFAIK and even reading from the file can lead to unexpected results. Anyway I am trying to understand wha

Re: [PATCH v3] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-06-23 Thread deadcom
сряда, 22 юни 2016 г., 16:22:34 UTC+3, Maxime Ripard написа: > Hi, > > On Mon, Jun 20, 2016 at 01:32:49PM +0300, Stefan Mavrodiev wrote: > > A33-OLinuXino is A33 development board designed by Olimex LTD. > > > > It has AXP233 PMU, 1GB DRAM, a micro SD card, one USB-OTG connector, > > headphone an

Re: [PATCH 00/27] Move LRU page reclaim from zones to nodes v7

2016-06-23 Thread Michal Hocko
On Thu 23-06-16 13:33:47, Mel Gorman wrote: > On Thu, Jun 23, 2016 at 01:27:14PM +0200, Michal Hocko wrote: > > On Thu 23-06-16 11:26:48, Mel Gorman wrote: > > > On Tue, Jun 21, 2016 at 03:15:39PM +0100, Mel Gorman wrote: > > > > The bulk of the updates are in response to review from Vlastimil Babk

Re: [PATCHv2 0/3] x86/UV, x86/efi: Re-factor efi_call_virt for general use

2016-06-23 Thread Matt Fleming
On Wed, 15 Jun, at 02:04:12PM, Alex Thorlton wrote: > Hey guys, > > This patchset creates a general purpose version of the efi_call_virt > macro that does not assume that the function pointer being passed in is > inside of efi.systab->runtime. It also fixes up uv_bios_call to use the > new functi

Re: [RFC PATCH v2 0/9] scpi: Add SCPI registry to handle legacy protocol

2016-06-23 Thread Neil Armstrong
On 06/22/2016 04:54 AM, Frank Wang wrote: > Hi Neil, > > On 2016/6/21 18:02, Neil Armstrong wrote: >> This patchset aims to support the legacy SCPI firmware implementation that >> was >> delivered as early technology preview for the JUNO platform. >> >> Finally a stable, maintained and public imp

Re: [PATCH] Disable non-ABI-compliant optimisations for live patching

2016-06-23 Thread Jiri Kosina
On Thu, 23 Jun 2016, Jiri Kosina wrote: > > I haven't looked at the fentry solution, but the code I'm involved in saves > > the registers so that ftrace, live patch and friends can work freely. But > > then it restores all regs and _then_ calls the replacement, so ftrace > > saving all regs is no

Re: [RFC PATCH v2 1/9] mailbox: Add Amlogic Meson Message-Handling-Unit

2016-06-23 Thread Neil Armstrong
On 06/22/2016 06:31 AM, Jassi Brar wrote: > On Tue, Jun 21, 2016 at 3:32 PM, Neil Armstrong > wrote: >> Add Amlogic Meson SoCs Message-Handling-Unit as mailbox controller >> with 2 independent channels/links to communicate with a remote processor. >> >> Signed-off-by: Neil Armstrong > > . >

[v3 PATCH 4/5] Documentation: bindings: add dt documentation for cdn DP controller

2016-06-23 Thread Chris Zhong
This patch adds a binding that describes the cdn DP controller for rk3399. Signed-off-by: Chris Zhong --- Changes in v3: - add SoC specific compatible string - remove reg = <1>; Changes in v2: None Changes in v1: - add extcon node description - add #sound-dai-cells description .../bindings/d

[v3 PATCH 3/5] phy: Add USB Type-C PHY driver for rk3399

2016-06-23 Thread Chris Zhong
Add a PHY provider driver for the rk3399 SoC Type-c PHY. The USB Type-C PHY is designed to support the USB3 and DP applications. The PHY basically has two main components: USB3 and DisplyPort. USB3 operates in SuperSpeed mode and the DP can operate at RBR, HBR and HBR2 data rates. Signed-off-by: C

[v3 PATCH 2/5] Documentation: bindings: add dt doc for Rockchip USB Type-C PHY

2016-06-23 Thread Chris Zhong
This patch adds a binding that describes the Rockchip USB Type-C PHY for rk3399 Signed-off-by: Chris Zhong Reviewed-by: Tomasz Figa Reviewed-by: Kever Yang --- Changes in v3: - use compatible: rockchip,rk3399-typec-phy - use dashes instead of underscores. Changes in v2: - add some registers

[v3 PATCH 1/5] extcon: Add Type-C and DP support

2016-06-23 Thread Chris Zhong
Add EXTCON_DISP_DP and EXTCON_DISP_DP_ALT for the Display external connector. The EXTCON_DISP_DP is for DisplayPort, and the EXTCON_DISP_DP_ALT is the DisplayPort as an Alternate Mode for the USB Type-C connector (VESA DisplayPort Alt Mode on USB Type-C Standard). And for the Type-C USB, there is

[v3 PATCH 5/5] drm/rockchip: cdn-dp: add cdn DP support for rk3399

2016-06-23 Thread Chris Zhong
Add support for cdn DP controller which is embedded in the rk3399 SoCs. The DP is compliant with DisplayPort Specification, Version 1.3, This IP is compatible with the rockchip type-c PHY IP. There is a uCPU in DP controller, it need a firmware to work, please put the firmware file to /lib/firmware

[v3 PATCH 0/5] Rockchip Type-C and DispplayPort driver

2016-06-23 Thread Chris Zhong
Hi all This series patch is for rockchip Type-C phy and DisplayPort controller driver. The USB Type-C PHY is designed to support the USB3 and DP applications. The PHY basically has two main components: USB3 and DisplyPort. USB3 operates in SuperSpeed mode and the DP can operate at RBR, HBR and H

Re: [PATCH 15/27] mm, page_alloc: Consider dirtyable memory in terms of nodes

2016-06-23 Thread Mel Gorman
On Wed, Jun 22, 2016 at 04:27:57PM +0200, Michal Hocko wrote: > > which can use it (e.g. vmalloc). I understand how this is both an > > inherent problem of 32b with a larger high:low ratio and why it is hard > > to at least pretend we can cope with it with node based approach but we > > should at l

Re: [PATCH] net: ethernet: ti: cpdma: switch to use genalloc

2016-06-23 Thread Ivan Khoronzhuk
On 23.06.16 15:36, Grygorii Strashko wrote: TI CPDMA currently uses a bitmap for tracking descriptors alloactions allocations, but The genalloc already handles the same and can be used as with special memory (SRAM) as with DMA cherent memory chank (dma_alloc_coherent()). Hence, switch to using

RE: [PATCH] ACPI: Execute the _PTS method when system reboot

2016-06-23 Thread Ocean HY1 He
Hi Rafael, Please see my reply in below. Regards, Ocean He SW Development Dept. Beijing Design Center Enterprise Product Group Mobile: 18911778926 E-mail: he...@lenovo.com No.6 Chuang Ye Road, Haidian District, Beijing, China 100085 > -Original Message- > From: Rafael J. Wysocki [mailto:

Re: [PATCH v4 0/2] ASoC: da7219: Convert driver to use generic FW functions

2016-06-23 Thread Rafael J. Wysocki
On Thu, Jun 23, 2016 at 12:01 PM, Mark Brown wrote: > On Wed, Jun 22, 2016 at 03:05:26AM +0200, Rafael J. Wysocki wrote: >> On Wed, Jun 22, 2016 at 1:21 AM, Mark Brown wrote: > >> > Probably the easiest thing would be a tag for the core change that I can >> > pull. > >> Or you can apply them both

Re: [Intel-gfx] Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-06-23 Thread Steven Newbury
On Sun, 2016-06-19 at 14:53 -0700, James Bottomley wrote: > On Fri, 2016-06-17 at 16:06 -0700, James Bottomley wrote: > > On Fri, 2016-06-17 at 16:34 +0300, Jani Nikula wrote: > > > On Fri, 17 Jun 2016, Daniel Vetter wrote: > > > > On Thu, Jun 16, 2016 at 03:42:12PM -0700, James Bottomley > > > >

RE: If insterested

2016-06-23 Thread Terry Bristow
If insterested Searching for business partner if insterested contact for more info petertre...@outlook.com

Re: [RFC PATCH] drm/nouveau/fb/nv50: set DMA mask before mapping scratch page

2016-06-23 Thread Punit Agrawal
Ard Biesheuvel writes: > On 23 June 2016 at 11:55, Punit Agrawal wrote: >> Ard Biesheuvel writes: >> >>> The 100c08 scratch page is mapped using dma_map_page() before the TTM >>> layer has had a chance to set the DMA mask. This means we are still >>> running with the default of 32 when this cod

RE: If insterested

2016-06-23 Thread Terry Bristow
If insterested Searching for business partner if insterested contact for more info petertre...@outlook.com

Re: [v3 PATCH 3/5] phy: Add USB Type-C PHY driver for rk3399

2016-06-23 Thread Kishon Vijay Abraham I
Hi, On Thursday 23 June 2016 06:21 PM, Chris Zhong wrote: > Add a PHY provider driver for the rk3399 SoC Type-c PHY. The USB > Type-C PHY is designed to support the USB3 and DP applications. The > PHY basically has two main components: USB3 and DisplyPort. USB3 > operates in SuperSpeed mode and th

Re: [Intel-gfx] Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-06-23 Thread Jani Nikula
On Thu, 23 Jun 2016, Steven Newbury wrote: > [ Unknown signature status ] > On Sun, 2016-06-19 at 14:53 -0700, James Bottomley wrote: >> On Fri, 2016-06-17 at 16:06 -0700, James Bottomley wrote: >> > On Fri, 2016-06-17 at 16:34 +0300, Jani Nikula wrote: >> > > On Fri, 17 Jun 2016, Daniel Vetter w

[PATCH v11 0/3] perf config: Reimplement perf_config()

2016-06-23 Thread Taeung Song
Hello, :) This patchset is to reimplement perf_config() for efficient config management. Many sub-commands use perf_config() but everytime perf_config() is called, perf_config() always read config files. (i.e. user config '~/.perfconfig' and system config '$(sysconfdir)/perfconfig') But it is be

Re: [PATCH v3 0/3] acpi/pmic: add opregion driver for Intel BXT WhiskeyCove PMIC

2016-06-23 Thread Rafael J. Wysocki
On Thu, Jun 23, 2016 at 9:55 AM, Bin Gao wrote: > This series modifies the pen function signature to take bit field > and adds a new opregion driver for Intel BXT WhiskeyCove PMIC. It > also adds support for PMIC regs operation region. > > Yegnesh Iyer (1): > acpi: pmic: Modifying the pen functi

Re: [RFC PATCH 08/11] sched: Remove SD_WAKE_AFFINE flag and replace it with SD_BALANCE_WAKE

2016-06-23 Thread Matt Fleming
On Thu, 16 Jun, at 09:49:32AM, Yuyang Du wrote: > SD_BALANCE_{FORK|EXEC|WAKE} flags are for select_task_rq() to select a > CPU to run a new task or a waking task. SD_WAKE_AFFINE is a flag to > try selecting the waker CPU to run the waking task. > > SD_BALANCE_WAKE is not a sched_domain flag, but S

[PATCH v11 1/3] perf config: Bring declarations about config from util/cache.h to util/config.h

2016-06-23 Thread Taeung Song
Lately util/config.h has been added but util/cache.h has declarations of functions and a global variable for config features. To manage codes about configuration at one spot, move them to util/config.h and let source files that need config features include config.h And if the source files that inc

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