[PATCH v2 2/2] ACPI, APEI, ERST: Fixed leaked resources in erst_init

2016-03-08 Thread Joshua Hunt
erst_init currently leaks resources allocated from its call to apei_resources_init(). The data allocated there gets copied into apei_resources_all and can be freed when we're done with it. Signed-off-by: Josh Hunt --- drivers/acpi/apei/erst.c |3 +++ 1 file changed, 3 insertions(+) diff --g

Re: [PATCH 1/2] hp-wmi: fix unregister order in hp_wmi_rfkill_setup() once again

2016-03-08 Thread Maciej S. Szmigiero
Hi Darren, Thanks for review, see also my comments below. On 08.03.2016 13:39, Darren Hart wrote: > On Sun, Mar 06, 2016 at 11:38:36PM +0100, Maciej S. Szmigiero wrote: >> --- a/drivers/platform/x86/hp-wmi.c >> +++ b/drivers/platform/x86/hp-wmi.c >> @@ -746,7 +746,7 @@ static int __init hp_wmi_rf

Re: [PATCH 1/2] cgroup: implement cgroup_subsys->implicit_on_dfl

2016-03-08 Thread Tejun Heo
On Wed, Feb 24, 2016 at 05:12:54PM -0500, Tejun Heo wrote: > Some controllers, perf_event for now and possibly freezer in the > future, don't really make sense to control explicitly through > "cgroup.subtree_control". For example, the primary role of perf_event > is identifying the cgroups of task

[RFC v0] Use swait in completion

2016-03-08 Thread Daniel Wagner
From: Daniel Wagner Hi, As Peter correctly pointed out in [1] a simple conversion from wait to swait in completion.c wont work. I played a bit around and came up with this rather ugly idea. So in case complete_all() is called in hard irq context we just wake up one waiter and let that one call

[RFC v0] sched/completion: convert completions to use simple wait queues

2016-03-08 Thread Daniel Wagner
From: Daniel Wagner Completions have no long lasting callbacks and therefore do not need the complex waitqueue variant. Use simple waitqueues which reduces the contention on the waitqueue lock. This was a carry forward from v3.10-rt, with some RT specific chunks, dropped, and updated to align w

Re: [v5][PATCH] livepatch/ppc: Enable livepatching on powerpc

2016-03-08 Thread Petr Mladek
On Tue 2016-03-08 18:33:57, Balbir Singh wrote: > Changelog v5: > 1. Removed the mini-stack frame created for klp_return_helper. > As a result of the mini-stack frame, function with > 8 > arguments could not be patched > 2. Removed camel casing in the comments I teste

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-08 Thread Paul Gortmaker
[Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"] On 08/03/2016 (Tue 09:13) Toshi Kani wrote: [...] > > Yes, I have these directories, but I do not see anything under them...  Now > that I do not think there is anything unique in your .config file, but it'd > be still

Re: [PATCH] mm, oom: protect !costly allocations some more (was: Re: [PATCH 0/3] OOM detection rework v4)

2016-03-08 Thread Michal Hocko
On Wed 09-03-16 00:19:03, Joonsoo Kim wrote: > 2016-03-08 1:08 GMT+09:00 Michal Hocko : > > On Mon 29-02-16 22:02:13, Michal Hocko wrote: > >> Andrew, > >> could you queue this one as well, please? This is more a band aid than a > >> real solution which I will be working on as soon as I am able to

Re: [tip:perf/core] perf/x86/intel/rapl: Sanitize the quirk handling

2016-03-08 Thread Ingo Molnar
* Borislav Petkov wrote: > On Mon, Feb 29, 2016 at 03:10:28AM -0800, tip-bot for Thomas Gleixner wrote: > > Commit-ID: b8b3319a471b2df35ae0a8fe94223638468e9ca4 > > Gitweb: > > http://git.kernel.org/tip/b8b3319a471b2df35ae0a8fe94223638468e9ca4 > > Author: Thomas Gleixner > > AuthorDate

Re: linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-08 Thread Fu Wei
Hi All, On 8 March 2016 at 22:52, André Przywara wrote: > On 07/03/16 11:04, Stephen Rothwell wrote: >> Hi Wim, >> >> Today's linux-next merge of the watchdog tree got a conflict in: >> >> arch/arm64/boot/dts/arm/foundation-v8.dts >> >> between commit: >> >> d11a89796678 ("arm64: dts: split F

Re: linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-08 Thread Sudeep Holla
Hi Andre, On 08/03/16 15:52, André Przywara wrote: On 07/03/16 11:04, Stephen Rothwell wrote: Hi Wim, Today's linux-next merge of the watchdog tree got a conflict in: arch/arm64/boot/dts/arm/foundation-v8.dts between commit: d11a89796678 ("arm64: dts: split Foundation model dts to put

Re: [RFC PATCH 12/12] IMA: Use the the system trusted keyrings instead of .ima_mok [ver #2]

2016-03-08 Thread David Howells
Petko Manolov wrote: > > How about I change it to a choice-type item, with the following options: > > > > (1) No addition. > > > > (2) Addition restricted by built-in keyring. > > > > (3) Addition restricted by secondary keyring + built-in keyring. > > > > where the second and third option

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-08 Thread Toshi Kani
On Tue, 2016-03-08 at 11:03 -0500, Paul Gortmaker wrote: > [Re: runtime regression with "x86/mm/pat: Emulate PAT when it is > disabled"] On 08/03/2016 (Tue 09:13) Toshi Kani wrote: > > [...] > > > > > Yes, I have these directories, but I do not see anything under them... > >  Now > > that I do n

[tip:locking/core] futex: Replace barrier() in unqueue_me() with READ_ONCE()

2016-03-08 Thread tip-bot for Jianyu Zhan
Commit-ID: 29b75eb2d56a714190a93d7be4525e617591077a Gitweb: http://git.kernel.org/tip/29b75eb2d56a714190a93d7be4525e617591077a Author: Jianyu Zhan AuthorDate: Mon, 7 Mar 2016 09:32:24 +0800 Committer: Thomas Gleixner CommitDate: Tue, 8 Mar 2016 17:04:02 +0100 futex: Replace barrier() i

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Dmitry Vyukov
On Tue, Mar 8, 2016 at 4:54 PM, Ingo Molnar wrote: > > * Dmitry Vyukov wrote: > >> > so, according to the error message it wants a writable directory. Lets try >> > it that >> > way: >> > >> > triton:~> mkdir go >> > triton:~> >> > triton:~> export GOPATH=/home/mingo/go/ >> > triton:~> go ge

Re: linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-08 Thread André Przywara
On 08/03/16 23:06, Sudeep Holla wrote: Hi Sudeep, > On 08/03/16 15:52, André Przywara wrote: >> On 07/03/16 11:04, Stephen Rothwell wrote: >>> Hi Wim, >>> >>> Today's linux-next merge of the watchdog tree got a conflict in: >>> >>>arch/arm64/boot/dts/arm/foundation-v8.dts >>> >>> between comm

Re: [PATCH 4.4 00/74] 4.4.5-stable review

2016-03-08 Thread Sedat Dilek
On Tue, Mar 8, 2016 at 2:39 PM, Greg Kroah-Hartman wrote: > On Tue, Mar 08, 2016 at 10:12:13AM +0100, Sedat Dilek wrote: >> Hi Greg, >> >> I tested with my usual setup/config. >> >> Looks good so far. >> >> Missing some net-ppp-fixes / overlayfs-fixes / userfaultfd-fixes, but >> I guess you will p

Re: [RFC PATCH 11/12] certs: Add a secondary system keyring that can be added to dynamically [ver #2]

2016-03-08 Thread Mimi Zohar
On Tue, 2016-03-08 at 15:32 +, David Howells wrote: > Mimi Zohar wrote: > > > > The problem boils down to a difficulty in concocting a name that > > > describes a > > > complex situation that may change depending on the configuration. I can > > > make > > > it "restrict_link_by_any_system_

Re: [PATCH 3.10 00/24] 3.10.100-stable review

2016-03-08 Thread Shuah Khan
On 03/07/2016 04:45 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.100 release. > There are 24 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH] scripts/dtc: Update to upstream version 53bf130b1cdd

2016-03-08 Thread Olof Johansson
Hi, On Mon, Mar 7, 2016 at 11:37 PM, Rob Herring wrote: > On Mon, Mar 7, 2016 at 5:10 PM, Olof Johansson wrote: >> Hi, >> >> On Fri, Mar 4, 2016 at 7:13 AM, Rob Herring wrote: >>> Sync to upstream dtc commit 53bf130b1cdd ("libfdt: simplify >>> fdt_node_check_compatible()"). This adds the follow

Re: [PATCH 1/2] tracing: make tracer_flags use the right set_flag callback

2016-03-08 Thread Steven Rostedt
On Tue, 8 Mar 2016 10:55:30 -0500 (EST) Chunyu Hu wrote: > Sure! But my patch/build work are all manual, so I guess I can't keep with > your speed, but i will do. Thx. Here's the latest version of your patch ;-) -- Steve >From d39cdd2036a63eef17a14efbd969405ca5612886 Mon Sep 17 00:00:00 2001

Re: [PATCH 4.4 00/74] 4.4.5-stable review

2016-03-08 Thread Shuah Khan
On 03/07/2016 05:02 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.5 release. > There are 74 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sho

RE: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-08 Thread Chen, Yu C
> -Original Message- > From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm- > ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Sent: Tuesday, March 08, 2016 9:54 AM > To: Chen, Yu C > Cc: Rafael J. Wysocki; ACPI Devel Maling List; x...@kernel.org; linux- > e...@vger.kernel.org; Lin

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Dmitry Vyukov
On Tue, Mar 8, 2016 at 5:27 PM, Ingo Molnar wrote: > > * Dmitry Vyukov wrote: > >> On Tue, Mar 8, 2016 at 4:54 PM, Ingo Molnar wrote: >> > >> > * Dmitry Vyukov wrote: >> > >> >> > so, according to the error message it wants a writable directory. Lets >> >> > try it that >> >> > way: >> >> > >>

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Peter Zijlstra
On Tue, Mar 08, 2016 at 05:27:03PM +0100, Ingo Molnar wrote: > > > triton:~/go/src/github.com/google/syzkaller> cat perf.cfg > > > { > > > "http": "localhost:5", > > > "workdir": > > > "/home/mingo/go/src/github.com/google/syzkaller/workdir", > > > "syzkaller": "/home/m

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Peter Zijlstra
On Tue, Mar 08, 2016 at 05:29:50PM +0100, Dmitry Vyukov wrote: > KCOV will increase efficiency of the fuzzer, but it is not necessary. > As far as I understand Peter tested without KCOV. Correct, I never quite got around to enabling it. Still on the TODO list somewhere.

Re: [PATCH 3.14 00/36] 3.14.64-stable review

2016-03-08 Thread Shuah Khan
On 03/07/2016 04:45 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.64 release. > There are 36 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH] [Cleanup] x86: signal: unify the sigaltstack check with other arches

2016-03-08 Thread Ingo Molnar
* Stas Sergeev wrote: > 25.02.2016 11:25, Ingo Molnar пишет: > > > > * Stas Sergeev wrote: > > > >> Currently x86's get_sigframe() checks for "current->sas_ss_size" > >> to determine whether there is a need to switch to sigaltstack. > >> The common practice used by all other arches is to chec

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Ingo Molnar
* Dmitry Vyukov wrote: > On Tue, Mar 8, 2016 at 4:54 PM, Ingo Molnar wrote: > > > > * Dmitry Vyukov wrote: > > > >> > so, according to the error message it wants a writable directory. Lets > >> > try it that > >> > way: > >> > > >> > triton:~> mkdir go > >> > triton:~> > >> > triton:~> exp

Re: [RFC PATCH 12/12] IMA: Use the the system trusted keyrings instead of .ima_mok [ver #2]

2016-03-08 Thread Petko Manolov
On 16-03-08 16:07:00, David Howells wrote: > Petko Manolov wrote: > > > > How about I change it to a choice-type item, with the following options: > > > > > > (1) No addition. > > > > > > (2) Addition restricted by built-in keyring. > > > > > > (3) Addition restricted by secondary keyring +

Re: [PATCH v2 net-next 0/12] bpf: map pre-alloc

2016-03-08 Thread Alexei Starovoitov
On 3/8/16 1:13 AM, Daniel Wagner wrote: Some time back Daniel Wagner reported crashes when bpf hash map is >used to compute time intervals between preempt_disable->preempt_enable >and recently Tom Zanussi reported a dead lock in iovisor/bcc/funccount >tool if it's used to count the number of invo

[PATCH] perf/x86/intel/rapl: Simplify quirk handling even more

2016-03-08 Thread Borislav Petkov
Drop the quirk() function pointer in favor of a simple boolean which says whether the quirk should be applied or not. Update comment while at it. Signed-off-by: Borislav Petkov Cc: Andi Kleen Cc: Arnaldo Carvalho de Melo Cc: Harish Chegondi Cc: Ingo Molnar Cc: Jacob Pan Cc: Jiri Olsa Cc: Ka

Re: Thoughts on tightening up user namespace creation

2016-03-08 Thread Eric W. Biederman
Andy Lutomirski writes: > Hi all- [Snip strange things distros do] Distros do strange things from other peoples perspectives. Sometimes we can help with that sometimes we can't. In general producing kernel code that is reliable and well maintained is what we can do. Distro folks can decide w

Re: [PATCH 2/5] ARM: bcm2835: Replace alt0/i2s_alt[02] with standard groups.

2016-03-08 Thread Stephen Warren
On 03/08/2016 01:24 AM, Linus Walleij wrote: On Sat, Feb 27, 2016 at 1:19 AM, Eric Anholt wrote: Since all of these pins were documented, we can use their names to explain what's going on. Signed-off-by: Eric Anholt + pinctrl-0 = <&i2c0_gpio0 +&i2c1_gpio2 +

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Ingo Molnar
* Dmitry Vyukov wrote: > On Tue, Mar 8, 2016 at 5:27 PM, Ingo Molnar wrote: > > > > * Dmitry Vyukov wrote: > > > >> On Tue, Mar 8, 2016 at 4:54 PM, Ingo Molnar wrote: > >> > > >> > * Dmitry Vyukov wrote: > >> > > >> >> > so, according to the error message it wants a writable directory. > >>

Re: linux-next: manual merge of the crypto tree with the net-next tree

2016-03-08 Thread David Howells
Stephen Rothwell wrote: > > What's the best way to deal with this? Should I take Herbert's > > > > [PATCH 18/26] rxrpc: Use skcipher > > > > patch into my rxrpc tree also and pass it on to Dave? > > Linus can deal with it when he merges the latter of the crypto or > net-next trees. It mi

[PATCH] ld-version: Fix awk regex compile failure

2016-03-08 Thread James Hogan
The ld-version.sh script fails on some versions of awk with the following error, resulting in build failures for MIPS: awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(') This is due to the regular expression ".*)", meant to strip off the beginning of the ld versi

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Ingo Molnar
* Ingo Molnar wrote: > It only had a couple of seconds of runtime: > > 49652 mingo 20 0 1434276 52144 11344 S 0.0 0.0 0:00.54 > syz-manager > > 49661 mingo 20 0 2196672

Re: [PATCH v2-UPDATE 3/4] resource: Add device-managed insert/remove_resource()

2016-03-08 Thread Toshi Kani
On Tue, 2016-03-08 at 13:02 +0100, Ingo Molnar wrote: > * Toshi Kani wrote: > > > +/** > > + * devm_insert_resource() - insert an I/O or memory resource > > + * @dev: device for which to produce the resource > > + * @root: root of the resource tree > > + * @new: descriptor of the new resource > >

[PATCH 03/23] drm: omapdrm: dss: reset dsi module during initialization

2016-03-08 Thread Sebastian Reichel
From: Tomi Valkeinen The Nokia N950's bootloader leaves the DSI module in a non-working state. Work around this by resetting the DSI module before using it. Signed-off-By: Tomi Valkeinen Reviewed-By: Sebastian Reichel Tested-By: Sebastian Reichel --- drivers/gpu/drm/omapdrm/dss/dsi.c | 24 ++

[PATCH 05/23] Revert "drm: omapdrm: Remove manual update display support"

2016-03-08 Thread Sebastian Reichel
This reverts commit 5a35876e2830511cb8110667fc426c6a6165a593. Revert the removal of manual update display support in preparation for DSI command mode panels. Signed-off-By: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_connector.c | 12 +++ drivers/gpu/drm/omapdrm/omap_drv.h | 4

[PATCH 10/23] drm: omapdrm: crtc: detect manually updated displays

2016-03-08 Thread Sebastian Reichel
Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 31 ++- drivers/gpu/drm/omapdrm/omap_drv.h | 1 + 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c inde

Re: [PATCHSET cgroup/for-4.6] cgroup: update migration destination cgroup handling

2016-03-08 Thread Tejun Heo
On Thu, Mar 03, 2016 at 12:19:58PM -0500, Tejun Heo wrote: > cgroup migrations used to always be single destination. There could > be multiple sources but there was only one destination cgroup. This > changed with default hierarchy as enabling a controller would move > processes in child cgroups

[PATCH 11/23] include: video: omapdss: provide fifo threshold methods

2016-03-08 Thread Sebastian Reichel
The FIFO thresholds must be configured by omapdrm for manually updated DSI panels due to a hardware bug. Signed-off-By: Sebastian Reichel --- include/video/omapdss.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 9bde65b79220..f6

[PATCH 01/23] ARM: dts: n9/n950: regulator configuration

2016-03-08 Thread Sebastian Reichel
Add regulator configuration as found in the board files of Nokia's kernel. Signed-off-By: Sebastian Reichel --- arch/arm/boot/dts/omap3-n950-n9.dtsi | 72 1 file changed, 72 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n950-n9.dtsi b/arch/arm/boot/dts

[PATCH 21/23] drm: omapdrm: panel-dsi-cm: block disable until update completed

2016-03-08 Thread Sebastian Reichel
DSI hardware IPs seem to be a bit unhappy about incomplete image transfers, so try to wait for an update to finish before disabling the panel. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 18 ++ 1 file changed, 18 insertions(+) diff --gi

[PATCH 16/23] drm: omapdrm: update manual displays on dirty ioctl

2016-03-08 Thread Sebastian Reichel
Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_connector.c | 12 drivers/gpu/drm/omapdrm/omap_drv.h | 2 -- drivers/gpu/drm/omapdrm/omap_fb.c| 2 +- 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/omap_connecto

[PATCH 14/23] drm: omapdrm: crtc: save framedone callback from dss

2016-03-08 Thread Sebastian Reichel
Save the framedone callback supplied by dss for later usage. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index 094

[PATCH 00/23] Nokia N950 display support

2016-03-08 Thread Sebastian Reichel
Hi, This series adds support for the Nokia N950 display. Since the panel is using DSI command mode, it involves adding support for manually updated displays to omapdrm. The following patches, that are based on 4.5-rc7 were tested with fbcon and Xorg (from Debian sid) on the N950. -- Sebastian S

[PATCH 13/23] drm: omapdrm: crtc: update plane fifos on lcd config change

2016-03-08 Thread Sebastian Reichel
Due to a hardware bug, FIFOs thresholds must be configured very carefully for manually updated displays. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm

[PATCH 08/23] drm: omapdrm: crtc: add enabled bit to state

2016-03-08 Thread Sebastian Reichel
Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index 5ef27664bcfa..78ef9773cca1 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drive

Re: [PATCH 4/7] scatterlist: add sg_alloc_table_from_buf() helper

2016-03-08 Thread Laurent Pinchart
Hi Boris, Thank you for the patch. On Tuesday 08 March 2016 12:15:12 Boris Brezillon wrote: > sg_alloc_table_from_buf() provides an easy solution to create an sg_table > from a virtual address pointer. This function takes care of dealing with > vmallocated buffers, buffer alignment, or DMA engine

[PATCH 15/23] drm: omapdrm: crtc: add support for manual updated displays

2016-03-08 Thread Sebastian Reichel
Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 91 +++-- drivers/gpu/drm/omapdrm/omap_drv.h | 2 + 2 files changed, 90 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc

[PATCH 04/23] drm: omapdrm: add DSI mapping

2016-03-08 Thread Sebastian Reichel
This sets proper connector type for DSI connected panels. Signed-off-By: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index dfafdb602ad2..a3ff35f5f6cd 100644

[PATCH 20/23] drm: omapdrm: panel-dsi-cm: add offset support

2016-03-08 Thread Sebastian Reichel
The Nokia N950 contains a panel, that is partially covered, so that not the whole display is visible. Thus the image must be displayed with an offset. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 21 - 1 file changed, 16 insertions(+)

[PATCH 22/23] drm: omapdrm: panel-dsi-cm: ratelimit debug output in update path

2016-03-08 Thread Sebastian Reichel
Generating debug messages during display update results in lot's of messages, if the display shows the console. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/d

[PATCH 02/23] ARM: dts: n950: add display support

2016-03-08 Thread Sebastian Reichel
Signed-off-By: Sebastian Reichel --- arch/arm/boot/dts/omap3-n950.dts | 71 1 file changed, 71 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n950.dts b/arch/arm/boot/dts/omap3-n950.dts index 0885b34d5d7d..41b8fb585272 100644 --- a/arch/arm/boot/dts/o

Re: [PATCH 1/3] crypto: authenc - add TLS type encryption

2016-03-08 Thread Tadeusz Struk
Hi Cristian, On 03/08/2016 12:20 AM, Cristian Stoica wrote: > There is also a follow-up in the next paragraph: > > "That pretty much sums up the new attack: the side-channel defenses that were > hoped to be sufficient were found not to be (again). So the answer, this time > I believe, is to make

[PATCH 19/23] drm: omapdrm: panel-dsi-cm: improve DT support

2016-03-08 Thread Sebastian Reichel
Introduce new DT properties, so that it's possible to use different panels with the driver. * resolution-x (default: 864) * resolution-y (default: 480) * has-dsi-backlight (default: no backlight) Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 17 ++

Re: linux-next: Tree for Mar 8 (nfsd)

2016-03-08 Thread Randy Dunlap
On 03/07/16 21:51, Stephen Rothwell wrote: > Hi all, > > Changes since 20160307: > on x86_64: when CONFIG_BLOCK is not enabled: ../fs/nfsd/nfs4layouts.c: In function 'nfsd4_setup_layout_type': ../fs/nfsd/nfs4layouts.c:145:39: error: dereferencing pointer to incomplete type sb->s_bdev && s

Re: [PATCH] [Cleanup] x86: signal: unify the sigaltstack check with other arches

2016-03-08 Thread Stas Sergeev
08.03.2016 19:20, Ingo Molnar пишет: * Stas Sergeev wrote: 25.02.2016 11:25, Ingo Molnar пишет: * Stas Sergeev wrote: Currently x86's get_sigframe() checks for "current->sas_ss_size" to determine whether there is a need to switch to sigaltstack. The common practice used by all other arches

Re: linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-08 Thread Sudeep Holla
On 08/03/16 16:03, Fu Wei wrote: Hi All, On 8 March 2016 at 22:52, André Przywara wrote: [...] I can rebase this patch to make a watchdog DT patch for foundation-v8.dtsi ASAP. Thanks If this is too much hassle I could also send a fix after -rc1 (as the breakage is not really critical

[PATCH 06/23] drm: omapdrm: wait for pending operations before updating plane

2016-03-08 Thread Sebastian Reichel
Updating the plane may interrupt ongoing display updates, so wait for any pending operations. Signed-off-By: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_drv.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c i

[PATCH 12/23] drm: omapdrm: plane: update fifo size on atomic update

2016-03-08 Thread Sebastian Reichel
This is a workaround for a hardware bug occuring on OMAP3 with manually updated panels. Signed-off-By: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_drv.h | 1 + drivers/gpu/drm/omapdrm/omap_plane.c | 23 +++ 2 files changed, 24 insertions(+) diff --git a/drivers/gpu

Re: [PATCH 4/7] scatterlist: add sg_alloc_table_from_buf() helper

2016-03-08 Thread Boris Brezillon
Hi Laurent, On Tue, 08 Mar 2016 18:51:49 +0200 Laurent Pinchart wrote: > Hi Boris, > > Thank you for the patch. > > On Tuesday 08 March 2016 12:15:12 Boris Brezillon wrote: > > sg_alloc_table_from_buf() provides an easy solution to create an sg_table > > from a virtual address pointer. This fu

[PATCH 17/23] drm: omapdrm: panel-dsi-cm: add regulator support

2016-03-08 Thread Sebastian Reichel
The N950's display requires two regulators. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 57 +++-- 1 file changed, 53 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/gpu/drm/omapd

Re: [PATCH] ld-version: Fix awk regex compile failure

2016-03-08 Thread Michael S. Tsirkin
On Tue, Mar 08, 2016 at 04:47:53PM +, James Hogan wrote: > The ld-version.sh script fails on some versions of awk with the > following error, resulting in build failures for MIPS: > > awk: scripts/ld-version.sh: line 4: regular expression compile failed > (missing '(') > > This is due to the

Re: [PATCH 1/2] hp-wmi: fix unregister order in hp_wmi_rfkill_setup() once again

2016-03-08 Thread Darren Hart
On Tue, Mar 08, 2016 at 04:58:40PM +0100, Maciej S. Szmigiero wrote: > Hi Darren, > > Thanks for review, see also my comments below. > > On 08.03.2016 13:39, Darren Hart wrote: > > On Sun, Mar 06, 2016 at 11:38:36PM +0100, Maciej S. Szmigiero wrote: > >> --- a/drivers/platform/x86/hp-wmi.c > >> +

Re: linux-next: Tree for Mar 8 (nfsd)

2016-03-08 Thread Christoph Hellwig
On Tue, Mar 08, 2016 at 08:55:29AM -0800, Randy Dunlap wrote: > On 03/07/16 21:51, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20160307: > > > > on x86_64: > when CONFIG_BLOCK is not enabled: > > ../fs/nfsd/nfs4layouts.c: In function 'nfsd4_setup_layout_type': > ../fs/nfsd/nfs4lay

[PATCH 07/23] drm: omapdrm: crtc: switch pending variable to atomic bitset

2016-03-08 Thread Sebastian Reichel
Having the pending variable available as atomic bit helps with the later addition of manually updated display support. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/dr

[PATCH 23/23] drm: omapdrm: panel-dsi-cm: provide timings methods for omapdrm

2016-03-08 Thread Sebastian Reichel
Provide omapdrm with methods to acquire timings and check them later, so that it can properly initialize the display. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 38 + 1 file changed, 38 insertions(+) diff --git a/drivers/gpu/dr

[PATCH 18/23] drm: omapdrm: panel-dsi-cm: use threaded irq handler

2016-03-08 Thread Sebastian Reichel
Use threaded irq handler for the tearing effect gpio, since it updates the display content, which requires too much time for a fastpath irq. Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --gi

[PATCH 09/23] drm: omapdrm: dss: method to get stallmode from lcd config

2016-03-08 Thread Sebastian Reichel
Introduce a new dss method for reading the stallmode status from the private lcd config structure. Signed-off-By: Sebastian Reichel --- drivers/gpu/drm/omapdrm/dss/output.c | 6 ++ include/video/omapdss.h | 1 + 2 files changed, 7 insertions(+) diff --git a/drivers/gpu/drm/omap

Re: [PATCH v2] platform/chrome: cros_ec_dev - Fix security issue

2016-03-08 Thread Gwendal Grignou
On Sun, Mar 6, 2016 at 12:11 PM, Olof Johansson wrote: > Hi, > ... > > How about you introduce a reasonable max size for a transaction instead > (256K?), and compare data_size with that? Might want to check with the EC > folks > what they expect larges transactions to be from their side, and go w

Re: [PATCH] mm, oom: protect !costly allocations some more (was: Re: [PATCH 0/3] OOM detection rework v4)

2016-03-08 Thread Joonsoo Kim
2016-03-09 1:05 GMT+09:00 Michal Hocko : > On Wed 09-03-16 00:19:03, Joonsoo Kim wrote: >> 2016-03-08 1:08 GMT+09:00 Michal Hocko : >> > On Mon 29-02-16 22:02:13, Michal Hocko wrote: >> >> Andrew, >> >> could you queue this one as well, please? This is more a band aid than a >> >> real solution whi

Re: [PATCH v5 0/6] ARM: am335x/am437x/dra7: Add PWM support for DRA7

2016-03-08 Thread Franklin S Cooper Jr.
On 03/08/2016 12:55 AM, Paul Walmsley wrote: > Hi Franklin > > On Mon, 7 Mar 2016, Franklin S Cooper Jr wrote: > >> This patch series adds support for PWM for DRA7. The IP is same as that >> present in AM33XX and AM437XX. >> >> However, before doing so remove unnecessary hwmod entries for eCAP, e

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Dmitry Vyukov
On Tue, Mar 8, 2016 at 5:48 PM, Ingo Molnar wrote: > > * Ingo Molnar wrote: > >> It only had a couple of seconds of runtime: >> >> 49652 mingo 20 0 1434276 52144 11344 S 0.0 0.0 0:00.54 >> syz-manager >> 49661 mingo 20 0 2196672 43948 10448 S 0.0 0.0 0:05.59 >> syz-f

[PATCH v3] platform/chrome: cros_ec_dev - Fix security issue

2016-03-08 Thread Gwendal Grignou
Prevent memory scribble by checking that ioctl buffer size parameters are sane. Without this check, on 32 bits system, if .insize = 0x - 20 and .outsize the amount to scribble, we would overflow, allocate a small amounts and be able to write outside of the malloc'ed area. Adding a hard limi

Re: [PATCH v6 0/4] powercap/rapl: reduce ipi calls and misc clean up

2016-03-08 Thread Rafael J. Wysocki
On Tue, Mar 8, 2016 at 8:57 AM, Thomas Gleixner wrote: > On Mon, 7 Mar 2016, Jacob Pan wrote: > >> On Wed, 24 Feb 2016 13:31:34 -0800 >> Jacob Pan wrote: >> >> > Changes since v5: >> > - Split changes into seprate patches. No code change. >> > Changes since V4: >> > - Deleted unnecessary

[PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource()

2016-03-08 Thread Toshi Kani
insert_resource() and remove_resouce() are called by producers of resources, such as FW modules and bus drivers. These modules may be implemented as loadable modules. Add device-managed implementaions of insert_resource() and remove_resouce() functions. Signed-off-by: Toshi Kani Cc: Ingo Molnar

Re: [PATCH 1/2] PM / clk: Add stubs for pm_clk_suspend/resume

2016-03-08 Thread Jon Hunter
On 04/03/16 15:33, Jon Hunter wrote: > The functions pm_clk_suspend() and pm_clk_resume() cannot be used > directly within the main body of a function, because when CONFIG_PM_CLK > is not defined the functions are defined as NULL and this will lead to > a compilation error. > > Add stubs function

Re: [PATCH] Use ida_simple for SCSI iSCSI transport session id

2016-03-08 Thread Chris Leech
On Fri, Feb 12, 2016 at 09:38:53AM -0800, Lee Duncan wrote: > The scsi_transport_iscsi module already uses the ida_simple > routines for managing the target ID, if requested to do > so. This change replaces an ever-increasing atomic integer > that tracks the session ID itself with the ida_simple >

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Ingo Molnar
* Dmitry Vyukov wrote: > On Tue, Mar 8, 2016 at 5:48 PM, Ingo Molnar wrote: > > > > * Ingo Molnar wrote: > > > >> It only had a couple of seconds of runtime: > >> > >> 49652 mingo 20 0 1434276 52144 11344 S 0.0 0.0 0:00.54 > >> syz-manager > >> 49661 mingo 20 0 2196672 4

Re: [PATCH 2/2] x86/entry: Do enter_from_user_mode with IRQs off

2016-03-08 Thread Andy Lutomirski
On Mar 8, 2016 5:46 AM, "Borislav Petkov" wrote: > > On Sun, Mar 06, 2016 at 06:30:07PM -0800, Andy Lutomirski wrote: > > Now that slow-path syscalls always enter C before enabling > > interrupts, it's straightforward to do enter_from_user_mode before > > enabling interrupts rather than doing it a

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Dmitry Vyukov
On Tue, Mar 8, 2016 at 6:24 PM, Ingo Molnar wrote: > > * Dmitry Vyukov wrote: > >> On Tue, Mar 8, 2016 at 5:48 PM, Ingo Molnar wrote: >> > >> > * Ingo Molnar wrote: >> > >> >> It only had a couple of seconds of runtime: >> >> >> >> 49652 mingo 20 0 1434276 52144 11344 S 0.0 0.0 0:

Re: [PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource()

2016-03-08 Thread Ingo Molnar
* Toshi Kani wrote: > insert_resource() and remove_resouce() are called by producers > of resources, such as FW modules and bus drivers. These modules > may be implemented as loadable modules. > > Add device-managed implementaions of insert_resource() and > remove_resouce() functions. > > Sig

Re: [PATCH V2] acpi, pci, irq: account for early penalty assignment

2016-03-08 Thread Bjorn Helgaas
On Tue, Mar 08, 2016 at 09:22:13AM +0100, Thomas Gleixner wrote: > On Mon, 7 Mar 2016, Bjorn Helgaas wrote: > > On Mon, Mar 07, 2016 at 11:55:43AM -0500, Sinan Kaya wrote: > > > It makes sense for SCI as it is Intel specific. > > > > > > Unfortunately, this cannot be done in an arch independent wa

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Ingo Molnar
* Dmitry Vyukov wrote: > > fomalhaut:~/go/src/github.com/google/syzkaller> ps aux | grep -i syz > > mingo 1374 0.0 0.0 118476 2376 pts/2S+ 18:23 0:00 grep > > --color=auto -i syz > > > > and with no kernel messages in dmesg - and with a fully functional system. > > > > I'm runni

[tip:perf/core] perf/x86/intel/rapl: Simplify quirk handling even more

2016-03-08 Thread tip-bot for Borislav Petkov
Commit-ID: 7a8698058ae493ae53b1a8a2fa23d2e37000d73e Gitweb: http://git.kernel.org/tip/7a8698058ae493ae53b1a8a2fa23d2e37000d73e Author: Borislav Petkov AuthorDate: Tue, 8 Mar 2016 17:40:41 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 17:49:52 +0100 perf/x86/intel/rapl: Simpl

[tip:ras/core] x86/mm, x86/mce: Add memcpy_mcsafe()

2016-03-08 Thread tip-bot for Tony Luck
Commit-ID: 92b0729c34cab1f46d89aace3e66015f0bb4a682 Gitweb: http://git.kernel.org/tip/92b0729c34cab1f46d89aace3e66015f0bb4a682 Author: Tony Luck AuthorDate: Thu, 18 Feb 2016 11:47:26 -0800 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 17:54:38 +0100 x86/mm, x86/mce: Add memcpy_mcs

Re: [PATCH 3/3] pci: move pci_dma_* helpers to common code

2016-03-08 Thread Bjorn Helgaas
On Mon, Mar 07, 2016 at 12:28:48PM -0600, Bjorn Helgaas wrote: > commit fe537670eab767157eecc50538bd28e8d9b0ce9f > Author: Bjorn Helgaas > Date: Mon Mar 7 11:39:16 2016 -0600 > > PCI: Consolidate PCI DMA constants and interfaces in > linux/pci-dma-compat.h > > Christoph added a ge

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Dmitry Vyukov
On Tue, Mar 8, 2016 at 6:37 PM, Ingo Molnar wrote: > > * Dmitry Vyukov wrote: > >> > fomalhaut:~/go/src/github.com/google/syzkaller> ps aux | grep -i syz >> > mingo 1374 0.0 0.0 118476 2376 pts/2S+ 18:23 0:00 grep >> > --color=auto -i syz >> > >> > and with no kernel messages in

Re: [PATCH v1 00/12] PCI: Rework shadow ROM handling

2016-03-08 Thread Bjorn Helgaas
On Thu, Mar 03, 2016 at 10:53:50AM -0600, Bjorn Helgaas wrote: > The purpose of this series is to: > > - Fix the "BAR 6: [??? 0x flags 0x2] has bogus alignment" > messages reported by Linus [1], Andy [2], and others. > > - Move arch-specific shadow ROM location knowledge, e.g., >

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Ingo Molnar
* Dmitry Vyukov wrote: > On Tue, Mar 8, 2016 at 6:37 PM, Ingo Molnar wrote: > > > > * Dmitry Vyukov wrote: > > > >> > fomalhaut:~/go/src/github.com/google/syzkaller> ps aux | grep -i syz > >> > mingo 1374 0.0 0.0 118476 2376 pts/2S+ 18:23 0:00 grep > >> > --color=auto -i syz >

Re: [PATCH 3/3] pci: move pci_dma_* helpers to common code

2016-03-08 Thread Christoph Hellwig
On Tue, Mar 08, 2016 at 11:43:46AM -0600, Bjorn Helgaas wrote: > I applied the patch below to pci/misc for v4.6. Btw, where do you keep your tree? https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/log/?h=pci/misc hasn't been updated for a month.

Re: [RFT PATCH 2/2] Revert "usb: dwc2: Fix probe problem on bcm2835"

2016-03-08 Thread Stefan Wahren
Hi Doug, > Doug Anderson hat am 7. März 2016 um 22:30 > geschrieben: > > > Stefan, > > On Mon, Mar 7, 2016 at 10:40 AM, Stefan Wahren wrote: > > Hi Doug, > > > >> Douglas Anderson hat am 4. März 2016 um 19:23 > >> geschrieben: > >> > >> > >> This reverts commit 192cb07f7928 ("usb: dwc2: Fix pro

[PATCH] ARM: socfpga: dts: Add missing clock and interrupt fields for Arria10 DMA

2016-03-08 Thread Graham Moore
The PL330 DMA driver will not load on Arria10 without devicetree entries for clocks and clock_names. This patch adds those entries. It also adds the ninth interrupt, which is required for error detection. Signed-off-by: Graham Moore --- arch/arm/boot/dts/socfpga_arria10.dtsi | 5 - 1 file

Re: [PATCH v1 0/3] PCI: Avoid touching non-compliant BARs

2016-03-08 Thread Bjorn Helgaas
On Fri, Feb 26, 2016 at 09:58:42AM -0600, Bjorn Helgaas wrote: > Hi guys, > > Here's a proposal for dealing with these devices that have non-BAR > registers where BARs are supposed to be. The idea is to: > > - have an early quirk mark these devices, > - disable IO & MEM decoding so the devic

Re: [PATCH v3 1/3] input: touchscreen: ad7879: move header to platform_data directory

2016-03-08 Thread Stefan Agner
Hi Dimitry, Any chance this patchset makes it into 4.6? Best regards, Stefan On 2016-02-02 15:20, Stefan Agner wrote: > The header file is used by the SPI and I2C variant of the driver. > Therefore, move it to a more generic place under platform_data. > > Signed-off-by: Stefan Agner > --- > Ch

Re: [RFC v0] Use swait in completion

2016-03-08 Thread Sebastian Andrzej Siewior
* Daniel Wagner | 2016-03-08 16:59:13 [+0100]: >Hi, Hi, >As Peter correctly pointed out in [1] a simple conversion from >wait to swait in completion.c wont work. I played a bit around and >came up with this rather ugly idea. besides all the things I mentioned privatly, here is what I have curren

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