[tip:x86/mm] x86/mm: Extend early_memremap() support with additional attrs

2017-07-18 Thread tip-bot for Tom Lendacky
Commit-ID: f88a68facd9a15b94f8c195d9d2c0b30c76c595a Gitweb: http://git.kernel.org/tip/f88a68facd9a15b94f8c195d9d2c0b30c76c595a Author: Tom Lendacky AuthorDate: Mon, 17 Jul 2017 16:10:09 -0500 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:x86/mm] efi: Add an EFI table address match function

2017-07-18 Thread tip-bot for Tom Lendacky
Commit-ID: a19d66c56af1c52b8b463bf94d21116ae8c1aa5a Gitweb: http://git.kernel.org/tip/a19d66c56af1c52b8b463bf94d21116ae8c1aa5a Author: Tom Lendacky AuthorDate: Mon, 17 Jul 2017 16:10:13 -0500 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:x86/mm] x86/mm: Add support for early encryption/decryption of memory

2017-07-18 Thread tip-bot for Tom Lendacky
Commit-ID: 7f8b7e7f4ccbbd1fb8badddfabd28c955aea87b4 Gitweb: http://git.kernel.org/tip/7f8b7e7f4ccbbd1fb8badddfabd28c955aea87b4 Author: Tom Lendacky AuthorDate: Mon, 17 Jul 2017 16:10:10 -0500 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:x86/mm] x86/boot/e820: Add support to determine the E820 type of an address

2017-07-18 Thread tip-bot for Tom Lendacky
Commit-ID: d68baa3fa6e4d703fd0c7954ee5c739789e7242f Gitweb: http://git.kernel.org/tip/d68baa3fa6e4d703fd0c7954ee5c739789e7242f Author: Tom Lendacky AuthorDate: Mon, 17 Jul 2017 16:10:12 -0500 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:x86/mm] x86/boot: Add early cmdline parsing for options with arguments

2017-07-18 Thread tip-bot for Tom Lendacky
Commit-ID: e505371dd83963caae1a37ead9524e8d997341be Gitweb: http://git.kernel.org/tip/e505371dd83963caae1a37ead9524e8d997341be Author: Tom Lendacky AuthorDate: Mon, 17 Jul 2017 16:10:33 -0500 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:x86/mm] x86/mm: Add support to encrypt the kernel in-place

2017-07-18 Thread tip-bot for Tom Lendacky
Commit-ID: 6ebcb060713f614c92216482eed501b31cee74ec Gitweb: http://git.kernel.org/tip/6ebcb060713f614c92216482eed501b31cee74ec Author: Tom Lendacky AuthorDate: Mon, 17 Jul 2017 16:10:32 -0500 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:x86/mm] x86/mm, kexec: Allow kexec to be used with SME

2017-07-18 Thread tip-bot for Tom Lendacky
Commit-ID: bba4ed011a52d494aa7ef5e08cf226709bbf3f60 Gitweb: http://git.kernel.org/tip/bba4ed011a52d494aa7ef5e08cf226709bbf3f60 Author: Tom Lendacky AuthorDate: Mon, 17 Jul 2017 16:10:28 -0500 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:x86/mm] x86/mm: Create native_make_p4d() for PGTABLE_LEVELS <= 4

2017-07-18 Thread tip-bot for Tom Lendacky
Commit-ID: db516997a985b461f021d594e78155bbc7fc3e7e Gitweb: http://git.kernel.org/tip/db516997a985b461f021d594e78155bbc7fc3e7e Author: Tom Lendacky AuthorDate: Mon, 17 Jul 2017 16:10:31 -0500 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

Re: [PATCH 6/7] staging: fsl-mc: rewrite mc command send/receive to work on 32-bits

2017-07-18 Thread Laurentiu Tudor
On 07/17/2017 06:00 PM, Arnd Bergmann wrote: > On Mon, Jul 17, 2017 at 4:27 PM, Laurentiu Tudor > wrote: >> Hi Arnd, >> >> On 07/17/2017 04:45 PM, Arnd Bergmann wrote: >>> On Mon, Jul 17, 2017 at 3:26 PM, wrote: From: Laurentiu Tudor

RE: [PATCH v3] mm/vmalloc: terminate searching since one node found

2017-07-18 Thread 黄朝阳
From: zijun_hu Sent: Tuesday, July 18, 2017 5:23 PM To: Zhaoyang Huang (黄朝阳) Cc: linux...@kvack.org; linux-kernel@vger.kernel.org; zijun...@htc.com; Andrew Morton; Michal Hocko; Ingo Molnar; Vlastimil Babka; Thomas Garnier; Kirill A.

[tip:x86/mm] xen/x86: Remove SME feature in PV guests

2017-07-18 Thread tip-bot for Tom Lendacky
Commit-ID: f2f931c6819467af5260a21c59fb787ce2863f92 Gitweb: http://git.kernel.org/tip/f2f931c6819467af5260a21c59fb787ce2863f92 Author: Tom Lendacky AuthorDate: Mon, 17 Jul 2017 16:10:29 -0500 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

Re: [PATCH] livepatch: add (un)patch hooks

2017-07-18 Thread Miroslav Benes
> > > For the enable case, I think it would be a nice feature if we checked > > > the return code and aborted the patching operation on error. I think > > > that should be easy enough. > > > > Yeah, that should be easy. To be specific, you're only talking about > > the patching operation on

[PATCH v2 3/3] Staging: iio: adc: ad7280a.c: Fixed Macro argument reuse

2017-07-18 Thread Jaya Durga
CHECK: Macro argument reuse 'addr' - possible side-effects? convert AD7280A_DEVADDR to ad7280a_devaddr static function to fix checkpath check Signed-off-by: Jaya Durga --- drivers/staging/iio/adc/ad7280a.c | 21 + 1 file changed, 13 insertions(+), 8

Re: [PATCH] cpufreq: schedutil: Update last_update from sugov_set_iowait_boost()

2017-07-18 Thread Juri Lelli
Hi Viresh, On 18/07/17 10:24, Viresh Kumar wrote: > sg_cpu->last_update is always updated right after we call > sugov_set_iowait_boost() and its better to update it from that routine > itself. This makes it more readable. > > Signed-off-by: Viresh Kumar > --- >

[PATCH v3 4/4] w1: ds1wm: add messages to make incorporation in mfd-drivers easier

2017-07-18 Thread Johannes Poehlmann
Signed-off-by: Johannes Poehlmann Acked-by: Evgeniy Polyakov --- drivers/w1/masters/ds1wm.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/w1/masters/ds1wm.c b/drivers/w1/masters/ds1wm.c index

[PATCH v3 2/4] w1: ds1wm: add level interrupt modes

2017-07-18 Thread Johannes Poehlmann
Signed-off-by: Johannes Poehlmann Acked-by: Evgeniy Polyakov --- drivers/w1/masters/ds1wm.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/w1/masters/ds1wm.c b/drivers/w1/masters/ds1wm.c index 6bba2fe..1b37def 100644 ---

[PATCH v3 0/4] w1: ds1wm: register access patch

2017-07-18 Thread Johannes Poehlmann
To make the ds1wm driver work on a powerpc architecture (big endian, 32bit) with a register offset multiplier of 4 I had to make some changes to drivers/w1/masters/ds1wm.c andinclude/linux/mfd/ds1wm.h. Version 2 of the patchset o fixes kbuild reported build problems on x86_64 o

[PATCH v3 1/4] w1: ds1wm: fix and simplify register access

2017-07-18 Thread Johannes Poehlmann
o Replace incorrect register offsett calculation by direct configuration of bus_shift in mfd-cell. Indirect definition of address-shift by resource size was unobvious and should have used a binary log. o Make endian clean, make HW-endianness configurable. o Use ioread*, iowrite* instead of

Re: [PATCH] osq_lock: fix osq_lock queue corruption

2017-07-18 Thread Peter Zijlstra
I added a few pictures, just the text didn't want to make sense to me. On Fri, Jul 14, 2017 at 07:17:56PM +0530, Prateek Sood wrote: > Fix ordering of link creation between node->prev and prev->next in > osq_lock(). A case in which the status of optimistic spin queue is > CPU6->CPU2 in which

Re: [PATCH v5 4/4]: perf/core: complete replace of lists by rb trees for pinned and flexible groups at perf_event_context

2017-07-18 Thread Alexander Shishkin
Alexey Budankov writes: > Hi, Hi, > Are there any new comments so far? Could you please suggest further steps > forward? Apparently the patches are not threaded, so one needs to fish them out one by one in order to review. > On 10.07.2017 16:03, Alexey

Re: [PATCH v10 1/7] perf/core: Define the common branch type classification

2017-07-18 Thread Michael Ellerman
Jin Yao writes: > It is often useful to know the branch types while analyzing branch > data. For example, a call is very different from a conditional branch. > > Currently we have to look it up in binary while the binary may later > not be available and even the binary

Re: [PATCH 1/1] scsi: ufs: changing maintainer

2017-07-18 Thread Greg Kroah-Hartman (gre...@linuxfoundation.org)
On Tue, Jul 18, 2017 at 09:15:58AM +, Prabu Thangamuthu wrote: > As per internal decision, Joao Pinto will be maintainer for DWC UFS driver. That's "odd", does Joao want this? Do you want this? thanks, greg k-h

RE: [PATCH 14/15] kernel: convert futex_pi_state.refcount from atomic_t to refcount_t

2017-07-18 Thread Reshetova, Elena
> On Mon, 17 Jul 2017, Reshetova, Elena wrote: > > > On Mon, 17 Jul 2017, Elena Reshetova wrote: > > > > refcount_t type and corresponding API should be > > > > used instead of atomic_t when the variable is used as > > > > a reference counter. This allows to avoid accidental > > > > refcounter

Re: [PATCH v3 3/5] pwm-backlight: add support for PWM delays proprieties.

2017-07-18 Thread Daniel Thompson
On 17/07/17 22:28, Enric Balletbo i Serra wrote: Some panels (i.e. N116BGE-L41), in their power sequence specifications, request a delay between set the PWM signal and enable the backlight and between clear the PWM signal and disable the backlight. Add support for the new post-pwm-on-delay-us

Re: [PATCH v2 5/5] ACPI / boot: Don't handle SCI on HW reduced platforms

2017-07-18 Thread Hanjun Guo
On 2017/7/17 21:29, Andy Shevchenko wrote: > WIP Does it mean not ready for upstream yet? Thanks Hanjun

[PATCH v2 9/9] soc: mediatek: pwrap: fixup warnings from coding style

2017-07-18 Thread sean.wang
From: Sean Wang fixup those warnings such as lines over 80 words and parenthesis alignment which would be complained by checkpatch.pl. Signed-off-by: Sean Wang --- drivers/soc/mediatek/mtk-pmic-wrap.c | 20 +--- 1 file changed,

[PATCH v2 6/9] soc: mediatek: pwrap: update pwrap_init without slave programming

2017-07-18 Thread sean.wang
From: Sean Wang pwrap initialization is highly associated with the base SoC, so update here for allowing pwrap_init without slave program which would be used to those PMICs without extra encryption on bus such as MT6380. Signed-off-by: Chenglin Xu

[PATCH v2 2/9] dt-bindings: regulator: Add document for MediaTek MT6380 regulator

2017-07-18 Thread sean.wang
From: Sean Wang add dt-binding document for MediaTek MT6380 PMIC Signed-off-by: Chenglin Xu Signed-off-by: Sean Wang --- .../bindings/regulator/mt6380-regulator.txt| 90 ++ 1 file changed,

[PATCH 3/4] ARM64: dts: rockchip: rk3368 add iommu nodes

2017-07-18 Thread Simon Xue
From: Simon Add IEP/ISP/VOP/HEVC/VPU iommu nodes Signed-off-by: Simon --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 48 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi

[PATCH 2/4] ARM: dts: rockchip: rk322x add iommu nodes

2017-07-18 Thread Simon Xue
From: Simon Add VPU/VDEC/VOP/IEP iommu nodes Signed-off-by: Simon --- arch/arm/boot/dts/rk322x.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi

[PATCH 1/4] ARM64: dts: rockchip: rk3328 add iommu nodes

2017-07-18 Thread Simon Xue
From: Simon Add H265e/VEPU/VPU/VDEC/VOP iommu nodes Signed-off-by: Simon --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 45 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi

Re: [PATCH v2 3/7] [media] ov9650: add device tree support

2017-07-18 Thread Hugues FRUCHET
Hi Sakari, thks for review. On 07/09/2017 01:06 AM, Sakari Ailus wrote: > Hi Hugues, > > On Mon, Jul 03, 2017 at 11:16:04AM +0200, Hugues Fruchet wrote: >> Allows use of device tree configuration data. >> If no device tree data is there, configuration is taken from platform data. >> In order to

[PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses

Re: [PATCH] crypto: brcm: add NULL check on of_match_device() return value

2017-07-18 Thread Herbert Xu
On Fri, Jul 07, 2017 at 01:33:33AM -0500, Gustavo A. R. Silva wrote: > Check return value from call to of_match_device() > in order to prevent a NULL pointer dereference. > > In case of NULL print error message and return -ENODEV > > Signed-off-by: Gustavo A. R. Silva

[PATCH 13/15] creds: convert cred.usage to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses

[tip:perf/urgent] perf/x86/intel: Enable C-state residency events for Apollo Lake

2017-07-18 Thread tip-bot for Harry Pan
Commit-ID: 80ef64ad3c2babe8dcde05ec518795cfd86bb6e1 Gitweb: http://git.kernel.org/tip/80ef64ad3c2babe8dcde05ec518795cfd86bb6e1 Author: Harry Pan AuthorDate: Mon, 17 Jul 2017 18:37:49 +0800 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:perf/urgent] Revert "perf/core: Optimize event rescheduling on active contexts"

2017-07-18 Thread tip-bot for Ingo Molnar
Commit-ID: 770f8eb8a990a8904bfd8a6849be147b40b6e1aa Gitweb: http://git.kernel.org/tip/770f8eb8a990a8904bfd8a6849be147b40b6e1aa Author: Ingo Molnar AuthorDate: Sat, 15 Jul 2017 13:00:49 +0200 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:x86/debug] x86/numa_emulation: Recalculate numa_nodes_parsed from emulated nodes

2017-07-18 Thread tip-bot for Wei Yang
Commit-ID: 4f167201edda7cd7525cc7f23944731ef5dd99a8 Gitweb: http://git.kernel.org/tip/4f167201edda7cd7525cc7f23944731ef5dd99a8 Author: Wei Yang AuthorDate: Sat, 8 Jul 2017 09:30:59 +0800 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:x86/debug] x86/numa_emulation: Assign physnode_mask directly from numa_nodes_parsed

2017-07-18 Thread tip-bot for Wei Yang
Commit-ID: d80a9eb3c78d7d0c823a8224cd6e3b37ebdfd8cd Gitweb: http://git.kernel.org/tip/d80a9eb3c78d7d0c823a8224cd6e3b37ebdfd8cd Author: Wei Yang AuthorDate: Sat, 8 Jul 2017 09:30:58 +0800 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:x86/mm] efi: Update efi_mem_type() to return an error rather than 0

2017-07-18 Thread tip-bot for Tom Lendacky
Commit-ID: f99afd08a45fbbd9ce35a7624ffd1d850a1906c0 Gitweb: http://git.kernel.org/tip/f99afd08a45fbbd9ce35a7624ffd1d850a1906c0 Author: Tom Lendacky AuthorDate: Mon, 17 Jul 2017 16:10:14 -0500 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:x86/mm] x86, drm, fbdev: Do not specify encrypted memory for video mappings

2017-07-18 Thread tip-bot for Tom Lendacky
Commit-ID: 95cf9264d5f36c291c1c50c00349f83348e6f9c7 Gitweb: http://git.kernel.org/tip/95cf9264d5f36c291c1c50c00349f83348e6f9c7 Author: Tom Lendacky AuthorDate: Mon, 17 Jul 2017 16:10:26 -0500 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

Re: [PATCH] staging: greybus: loopback: Enclose multiple macro statements in do-while loop

2017-07-18 Thread Bryan O'Donoghue
On 18/07/17 11:56, kart...@techveda.org wrote: From: Karthik Tummala Enclosed multiple macro statements in a do - while loop as per kernel coding standard, pointed by checkpatch. Signed-off-by: Karthik Tummala ---

[tip:x86/mm] kvm/x86/svm: Support Secure Memory Encryption within KVM

2017-07-18 Thread tip-bot for Tom Lendacky
Commit-ID: d0ec49d4de90806755e17289bd48464a1a515823 Gitweb: http://git.kernel.org/tip/d0ec49d4de90806755e17289bd48464a1a515823 Author: Tom Lendacky AuthorDate: Mon, 17 Jul 2017 16:10:27 -0500 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[PATCH v2 7/7] ALSA: pcxhr: fix string overflow warnings

2017-07-18 Thread Arnd Bergmann
With gcc-7, we get a warning about a possible string overflow: sound/pci/pcxhr/pcxhr.c: In function 'pcxhr_probe': sound/pci/pcxhr/pcxhr.c:1647:28: error: ' [PCM #' directive writing 7 bytes into a region of size between 1 and 32 [-Werror=format-overflow=] The shortname can simply be removed,

[PATCH v2 6/7] ALSA: rme9652: fix format overflow warnings

2017-07-18 Thread Arnd Bergmann
gcc-7 warns about a possible sprintf format string overflow with a temporary buffer that is used to print from another buffer of the same size: sound/pci/rme9652/hdspm.c: In function 'snd_hdspm_create_alsa_devices': sound/pci/rme9652/hdspm.c:2123:17: error: ' MIDIoverMADI' directive writing 13

Re: [PATCH 1/4] drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users

2017-07-18 Thread Daniel Vetter
On Tue, Jul 18, 2017 at 01:14:12PM +0300, Laurent Pinchart wrote: > Hi Maxime, > > On Tuesday 18 Jul 2017 09:05:22 Maxime Ripard wrote: > > On Fri, Jul 14, 2017 at 02:43:12AM +0300, Laurent Pinchart wrote: > > > On Thursday 13 Jul 2017 16:41:13 Maxime Ripard wrote: > > >> The current

Re: [PATCH] drm/i915: Synchronize connectors states when switching from poll to irq

2017-07-18 Thread Paul Kocialkowski
On Mon, 2017-06-26 at 15:32 +0300, Paul Kocialkowski wrote: > After detecting an IRQ storm, hotplug detection will switch from > irq-based detection to poll-based detection. After a short delay or > when resetting storm detection from debugfs, detection will switch > back to being irq-based. > >

Re: [PATCH v2] xattr: Enable security.capability in user namespaces

2017-07-18 Thread Stefan Berger
On 07/18/2017 03:01 AM, James Morris wrote: On Thu, 13 Jul 2017, Stefan Berger wrote: A file shared by 2 containers, one mapping root to uid=1000, the other mapping root to uid=2000, will show these two xattrs on the host (init_user_ns) once these containers set xattrs on that file. I may be

Re: [BUG] x86/mm: Found insecure W+X mapping at address ffff88000005f000/0xffff88000005f000

2017-07-18 Thread Thomas Gleixner
On Tue, 18 Jul 2017, Piotr Gregor wrote: > > Dmesg reports insecure W+X mapping found at address > 8805f000/0x8805f000 > > on 4.4.70 kernel patched with -rt83 patch: Does the same problem happen with a plain 4.4.70? as well? Thanks, tglx

RE: [PATCH] Coccinelle report script for refcounters

2017-07-18 Thread Reshetova, Elena
> On Tue, 18 Jul 2017, Reshetova, Elena wrote: > > > > On Tue, 18 Jul 2017, Elena Reshetova wrote: > > > > > > > The below script can be used to detect potential misusage > > > > of atomic_t type and API for reference counting purposes. > > > > Now when we have a dedicated refcount_t type and API

Re: [patch 0/3] Re: tty contention resulting from tty_open_by_device export

2017-07-18 Thread Dan Carpenter
On Tue, Jul 18, 2017 at 12:29:52PM +0100, Okash Khawaja wrote: > +struct tty_struct *tty_kopen(dev_t device) > +{ > + struct tty_struct *tty; > + struct tty_driver *driver = NULL; > + int index = -1; > + > + mutex_lock(_mutex); > + driver = tty_lookup_driver(device,

Re: [RFC PATCH v2] Bluetooth: btusb: Fix memory leak in play_deferred

2017-07-18 Thread Oliver Neukum
Am Dienstag, den 18.07.2017, 17:56 +0800 schrieb jeffy: > Hi Oliver, > > > I think that as soon as one URB fails, you should not even try > > to submit any other deferred URBs. You are taking one out from > > the middle of a sequence. That cannot be right. > ok, that make sense. > > new patch

Re: [PATCH v2] xattr: Enable security.capability in user namespaces

2017-07-18 Thread Vivek Goyal
On Tue, Jul 18, 2017 at 08:30:09AM -0400, Vivek Goyal wrote: > On Tue, Jul 18, 2017 at 08:05:18AM -0400, Stefan Berger wrote: > > On 07/18/2017 07:48 AM, Vivek Goyal wrote: > > > On Mon, Jul 17, 2017 at 04:50:22PM -0400, Stefan Berger wrote: > > > > On 07/17/2017 02:58 PM, Vivek Goyal wrote: > > >

[PATCH] Staging: pi433: Coding style fixes

2017-07-18 Thread Simo Koskinen
Fixes if-statement related warning and errors reported by checkpatch.pl Signed-off-by: Simo Koskinen --- drivers/staging/pi433/pi433_if.c | 253 +-- drivers/staging/pi433/rf69.c | 69 ++- 2 files changed, 148 insertions(+),

Re: Session 152 terminated -- received PADT from peer

2017-07-18 Thread James Carlson
On 07/18/17 07:42, Sekar D wrote: > Please let me know if someone can help here. Probably not, but I'll give a try. >> I am getting the following error messages through PPP connection >> without any manual intervention. >> >> Session 152 terminated -- received PADT from peer PADT is the PPPoE

Re: [PATCH 1/4] drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users

2017-07-18 Thread Laurent Pinchart
Hi Daniel, On Tuesday 18 Jul 2017 14:08:39 Daniel Vetter wrote: > On Tue, Jul 18, 2017 at 01:14:12PM +0300, Laurent Pinchart wrote: > > On Tuesday 18 Jul 2017 09:05:22 Maxime Ripard wrote: > >> On Fri, Jul 14, 2017 at 02:43:12AM +0300, Laurent Pinchart wrote: > >>> On Thursday 13 Jul 2017

Re: [PATCH v2 1/2] livepatch: introduce shadow variable API

2017-07-18 Thread Petr Mladek
On Mon 2017-07-17 17:35:38, Miroslav Benes wrote: > On Thu, 13 Jul 2017, Josh Poimboeuf wrote: > > > On Wed, Jun 28, 2017 at 11:37:26AM -0400, Joe Lawrence wrote: > > > > > +Brief API summary > > > +- > > > + > > > +See the full API usage docbook notes in the livepatch/shadow.c >

[RESEND PATCH v4] Bluetooth: btusb: Fix memory leak in play_deferred

2017-07-18 Thread Jeffy Chen
Currently we are calling usb_submit_urb directly to submit deferred tx urbs after unanchor them. So the usb_giveback_urb_bh would failed to unref it in usb_unanchor_urb and cause memory leak: unreferenced object 0xffc0ce0fa400 (size 256): ... backtrace: [] __save_stack_trace+0x48/0x6c

Re: [PATCH v2 1/8] exec: Correct comments about "point of no return"

2017-07-18 Thread Eric W. Biederman
Kees Cook writes: > On Mon, Jul 10, 2017 at 10:07 AM, Eric W. Biederman > wrote: >> Kees Cook writes: >> >>> On Mon, Jul 10, 2017 at 1:46 AM, Eric W. Biederman >>> wrote: But you miss it.

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-18 Thread Peter Zijlstra
On Tue, Jul 18, 2017 at 11:14:57AM +0800, Li, Aubrey wrote: > On 2017/7/18 3:23, Peter Zijlstra wrote: > > On Fri, Jul 14, 2017 at 09:26:19AM -0700, Andi Kleen wrote: > >>> And as said; Daniel has been working on a better predictor -- now he's > >>> probably not used it on the network workload

[PATCH v2 1/3] mfd: syscon: update Atmel SMC binding doc

2017-07-18 Thread Ludovic Desroches
A new compatible string is introduced for SMC on sama5d2 to manage a different layout of the registers. Signed-off-by: Ludovic Desroches Acked-by: Rob Herring --- Documentation/devicetree/bindings/mfd/atmel-smc.txt | 1 + 1 file changed, 1

Re: Session 152 terminated -- received PADT from peer

2017-07-18 Thread Sekar D
Please let me know if someone can help here. On Mon, Jul 17, 2017 at 12:07 PM, Sekar D wrote: > Hello All, > > I am getting the following error messages through PPP connection > without any manual intervention. > > Session 152 terminated -- received PADT from peer > PADT:

Re: [PATCH v10 00/15] Replace PCI pool by DMA pool API

2017-07-18 Thread Romain Perier
Hello, Le 09/07/2017 à 23:30, Doug Ledford a écrit : > On Thu, 2017-07-06 at 10:12 +0200, Romain Perier wrote: >> The current PCI pool API are simple macro functions direct expanded >> to >> the appropriate dma pool functions. The prototypes are almost the >> same >> and semantically, they are

Re: [PATCH v5 1/4]: perf/core: use rb trees for pinned/flexible groups

2017-07-18 Thread Alexander Shishkin
Alexey Budankov writes: > +static void > +perf_event_groups_rotate(struct perf_event_groups *groups, int cpu) > +{ > + struct rb_node *node; > + struct perf_event *node_event; > + > + WARN_ON_ONCE(!groups); This seems redundant. > + > +

Re: [PATCH] audit: fix memleak in auditd_send_unicast_skb.

2017-07-18 Thread Paul Moore
On Tue, Jul 18, 2017 at 2:37 AM, wrote: > From: Shu Wang > > Found this issue by kmemleak report, auditd_send_unicast_skb > did not free skb if rcu_dereference(auditd_conn) returns null. > > unreferenced object 0x88082568ce00 (size 256): > comm

[PATCH v3 3/3] Staging: iio: adc: ad7280a.c: Fixed Macro argument reuse

2017-07-18 Thread Jaya Durga
CHECK: Macro argument reuse 'addr' - possible side-effects? convert AD7280A_DEVADDR to ad7280a_devaddr static function to fix checkpath check v3: small style changes Signed-off-by: Jaya Durga --- drivers/staging/iio/adc/ad7280a.c | 21 + 1 file changed,

Re: [PATCH v5 1/4]: perf/core: use rb trees for pinned/flexible groups

2017-07-18 Thread Alexander Shishkin
Alexey Budankov writes: > +/* > + * Helper function to test if event groups are empty; > + */ > +static int > +perf_event_groups_empty(struct perf_event_groups *groups) > +{ > + return list_empty(>list); > +} This doesn't seem useful, it's only used once.

[PATCH] perf report: Enable finding the kernel inline function

2017-07-18 Thread Jin Yao
Currently perf has supported a mode to query inline stack. It works well for finding the user space inline function but it doesn't work for finding kernel inline function due to some unnecessary checking. This patch removes these unnecessary checking. Now the kernel inline function can be

Re: [PATCH v2 1/2] livepatch: introduce shadow variable API

2017-07-18 Thread Petr Mladek
On Wed 2017-06-28 11:37:26, Joe Lawrence wrote: > diff --git a/Documentation/livepatch/shadow-vars.txt > b/Documentation/livepatch/shadow-vars.txt > new file mode 100644 > index ..7f28982e6b1c > --- /dev/null > +++ b/Documentation/livepatch/shadow-vars.txt > +Use cases > +- >

Re: [PATCH 2/2] Revert "ASoC: ux500: drop platform DAI assignments"

2017-07-18 Thread Mark Brown
On Tue, Jul 18, 2017 at 12:36:29PM +0200, Johan Hovold wrote: > On Tue, Jul 18, 2017 at 11:06:55AM +0100, Mark Brown wrote: > > Reverts shouldn't be special - they're just regular patches and should > > have sensible changelogs like any others. > Stating that you're reverting a commit and which

[PATCH 3/3][staging-next] staging: pi433: fix thread_run failure check

2017-07-18 Thread Colin King
From: Colin Ian King The check for thread_run failure is incorrect, use IS_ERR instead. Cleans up sparse error message: "error: incompatible types for operation (<)" Fixes: 874bcba65f9a ("staging: pi433: New driver") Signed-off-by: Colin Ian King

[PATCH 1/3][staging-next] staging: pi433: Make a couple of functions static

2017-07-18 Thread Colin King
From: Colin Ian King The functions pi433_receive and pi433_tx_thread are local to the source and do not need to be in global scope, so make them static Cleans up sparse warnings: symbol 'pi433_receive' was not declared. Should it be static? symbol 'pi433_tx_thread' was

[PATCH 2/3][staging-next] staging: pi433: Make functions rf69_set_bandwidth_intern static

2017-07-18 Thread Colin King
From: Colin Ian King The function rf69_set_bandwidth_intern is local to the source and do not need to be in global scope, so make it static. Also break overly wide line. Cleans up sparse warning: symbol 'update_share_count' was not declared. Should it be static?

[PATCH v2 3/3] ARM: dts: at91: sama5d2: use sama5d2 compatible string for SMC

2017-07-18 Thread Ludovic Desroches
A new compatible string has been introduced for sama5d2 SMC to allow to manage the registers mapping change. Signed-off-by: Ludovic Desroches --- arch/arm/boot/dts/sama5d2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Ludovic Desroches
For HSMC controller, the register layout depends on the device i.e. the offset of setup, pulse, cycle, mode and timings registers is not the same. An helper is added to provide the correct register layout. Fixes: fe9d7cb22ef3 ("mfd: syscon: atmel-smc: Add new helpers to ease SMC regs

[PATCH v2 0/3] Fix SMC layout register for sama5d2

2017-07-18 Thread Ludovic Desroches
Hi, The offset of some registers of the SMC is different between sama5d3/sama5d4 and sama5d2. An helper function has been added to retrieve the correct layout with the help of a new compatible string for sama5d2. The atmel-ebi device will store the register layout to allow the nand controller to

Re: [PATCH][next] spi: loopback-test: make several module parameters static

2017-07-18 Thread Mark Brown
On Tue, Jul 18, 2017 at 02:13:35PM +0100, Colin Ian King wrote: > On 18/07/17 14:09, Mark Brown wrote: > > It would be very helpful if you could ensure your commit author and > > e-mail From: line up so that git doesn't make your patches look like > > non-author signoffs. > ACK, will do. Want me

Re: [PATCH v2 3/9] regulator: mt6380: Add support for MT6380

2017-07-18 Thread Mark Brown
On Tue, Jul 18, 2017 at 05:49:23PM +0800, sean.w...@mediatek.com wrote: > + if (!info->modeset_mask) { > + dev_err(>dev, "regulator %s doesn't support set_mode\n", > + info->desc.name); > + return -EINVAL; > + } This is mostly fine but the mode

[PATCH v1 1/2] drm/bridge/synopsys: dsi: Constify funcs structures

2017-07-18 Thread Philippe CORNU
Signed-off-by: Philippe CORNU --- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c index 36f5ccb..63c7a01 100644

RE: [PATCH] Coccinelle report script for refcounters

2017-07-18 Thread Julia Lawall
On Tue, 18 Jul 2017, Reshetova, Elena wrote: > > On Tue, 18 Jul 2017, Elena Reshetova wrote: > > > > > The below script can be used to detect potential misusage > > > of atomic_t type and API for reference counting purposes. > > > Now when we have a dedicated refcount_t type and API with > > >

Re: [PATCH V1 14/15] spmi: pmic-arb: do not ack and clear peripheral interrupts in cleanup_irq

2017-07-18 Thread kgunda
On 2017-06-13 07:40, Stephen Boyd wrote: On 06/06, kgu...@codeaurora.org wrote: On 2017-06-02 12:56, kgu...@codeaurora.org wrote: >On 2017-05-31 23:23, Stephen Boyd wrote: >>On 05/30, Kiran Gunda wrote: >>>From: Subbaraman Narayanamurthy >>> >>>Currently, cleanup_irq()

Re: [PATCH 20/22] sound: pci: avoid string overflow warnings

2017-07-18 Thread Arnd Bergmann
On Fri, Jul 14, 2017 at 2:28 PM, Takashi Iwai wrote: > On Fri, 14 Jul 2017 14:07:12 +0200, > > Thanks for the patch. I have seen it but ignored, so far, as not sure > which action is the best. An alternative solution is to use > snprintf() blindly, for example. > > For mixart,

Re: [PATCH 0/9] make clk_get_rate implementations behavior more consistent

2017-07-18 Thread Geert Uytterhoeven
Hi Jonas, On Tue, Jul 18, 2017 at 12:17 PM, Jonas Gorski wrote: > The common clock and several other clock API implementations allow > calling clk_get_rate with a NULL pointer. While not specified as > expected behavior of the API, device drivers have come to rely on

Re: [PATCH v2 0/7] [PATCH v2 0/7] Add support of OV9655 camera

2017-07-18 Thread Hans Verkuil
On 12/07/17 22:01, Sylwester Nawrocki wrote: > Hi Hugues, > > On 07/03/2017 11:16 AM, Hugues Fruchet wrote: >> This patchset enables OV9655 camera support. >> >> OV9655 support has been tested using STM32F4DIS-CAM extension board >> plugged on connector P1 of STM32F746G-DISCO board. >> Due to

Re: [PATCH v2] xattr: Enable security.capability in user namespaces

2017-07-18 Thread Stefan Berger
On 07/18/2017 07:48 AM, Vivek Goyal wrote: On Mon, Jul 17, 2017 at 04:50:22PM -0400, Stefan Berger wrote: On 07/17/2017 02:58 PM, Vivek Goyal wrote: On Tue, Jul 11, 2017 at 11:05:11AM -0400, Stefan Berger wrote: [..] +/* + * xattr_list_userns_rewrite - Rewrite list of xattr names for user

Re: perf: bisected sampling bug in Linux 4.11-rc1

2017-07-18 Thread Ingo Molnar
* Alexander Shishkin wrote: > Vince Weaver writes: > > > I was tracking down some regressions in my perf_event_test testsuite. > > Some of the tests broke in the 4.11-rc1 timeframe. > > > > I've bisected one of them, this report is

[tip:perf/urgent] perf/x86/intel: Add Goldmont Plus CPU PMU support

2017-07-18 Thread tip-bot for Kan Liang
Commit-ID: dd0b06b551f6b14da19582e301814746d838965a Gitweb: http://git.kernel.org/tip/dd0b06b551f6b14da19582e301814746d838965a Author: Kan Liang AuthorDate: Wed, 12 Jul 2017 09:44:23 -0400 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

[tip:perf/urgent] perf/x86/intel: Fix debug_store reset field for freq events

2017-07-18 Thread tip-bot for Jiri Olsa
Commit-ID: dc853e26f73e903e0c87e24f2695b5dcf33b3bc1 Gitweb: http://git.kernel.org/tip/dc853e26f73e903e0c87e24f2695b5dcf33b3bc1 Author: Jiri Olsa AuthorDate: Fri, 14 Jul 2017 18:35:51 +0200 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017 14:13:41

[tip:perf/urgent] perf/x86/intel: Enable C-state residency events for Apollo Lake

2017-07-18 Thread tip-bot for Harry Pan
Commit-ID: 5c10b048c37cc08a21fa97a0575eccf4948948ca Gitweb: http://git.kernel.org/tip/5c10b048c37cc08a21fa97a0575eccf4948948ca Author: Harry Pan AuthorDate: Mon, 17 Jul 2017 18:37:49 +0800 Committer: Ingo Molnar CommitDate: Tue, 18 Jul 2017

Re: [PATCH v2 0/7] [PATCH v2 0/7] Add support of OV9655 camera

2017-07-18 Thread H. Nikolaus Schaller
Hi, > Am 18.07.2017 um 13:59 schrieb Hans Verkuil : > > On 12/07/17 22:01, Sylwester Nawrocki wrote: >> Hi Hugues, >> >> On 07/03/2017 11:16 AM, Hugues Fruchet wrote: >>> This patchset enables OV9655 camera support. >>> >>> OV9655 support has been tested using

Re: [PATCH resend] checkpatch: Replace __init_refok by __refconst and __refdata

2017-07-18 Thread Geert Uytterhoeven
Hi Joe, On Mon, Jul 17, 2017 at 5:01 PM, Joe Perches wrote: > On Mon, 2017-07-17 at 15:42 +0200, Geert Uytterhoeven wrote: >> As of commit bd721ea73e1f9655 ("treewide: replace obsolete _refok by >> __ref"), __init_refok no longer exists, so it can be removed. >> While at it,

Re: [PATCH] Free skb at error context in auditd_send_unicast_skb().

2017-07-18 Thread Paul Moore
On Mon, Jul 17, 2017 at 11:50 AM, Masami Ichikawa wrote: > I got following memory leak reports by kmemleak. > > unreferenced object 0x965962fa0600 (size 256): > comm "auditd", pid 401, jiffies 4294671604 (age 62.331s) > hex dump (first 32 bytes): > 00 00 00 00 00

Re: [PATCH 1/4] drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users

2017-07-18 Thread Daniel Vetter
On Tue, Jul 18, 2017 at 2:47 PM, Laurent Pinchart wrote: > On Tuesday 18 Jul 2017 14:08:39 Daniel Vetter wrote: >> On Tue, Jul 18, 2017 at 01:14:12PM +0300, Laurent Pinchart wrote: >> > On Tuesday 18 Jul 2017 09:05:22 Maxime Ripard wrote: >> >> On Fri, Jul 14,

Re: [PATCH][next] spi: loopback-test: make several module parameters static

2017-07-18 Thread Mark Brown
On Tue, Jul 18, 2017 at 01:42:32PM +0100, Colin King wrote: > From: Colin Ian King It would be very helpful if you could ensure your commit author and e-mail From: line up so that git doesn't make your patches look like non-author signoffs. The [next] isn't needed in

Re: [PATCH][next] spi: loopback-test: make several module parameters static

2017-07-18 Thread Colin Ian King
On 18/07/17 14:09, Mark Brown wrote: > On Tue, Jul 18, 2017 at 01:42:32PM +0100, Colin King wrote: >> From: Colin Ian King > > It would be very helpful if you could ensure your commit author and > e-mail From: line up so that git doesn't make your patches look like >

Re: [RFC PATCH v2] Bluetooth: btusb: Fix memory leak in play_deferred

2017-07-18 Thread jeffy
Hi Oliver, On 07/18/2017 08:29 PM, Oliver Neukum wrote: Am Dienstag, den 18.07.2017, 17:56 +0800 schrieb jeffy: Hi Oliver, I think that as soon as one URB fails, you should not even try to submit any other deferred URBs. You are taking one out from the middle of a sequence. That cannot be

Re: [PATCH v2] xattr: Enable security.capability in user namespaces

2017-07-18 Thread Stefan Berger
On 07/18/2017 08:30 AM, Vivek Goyal wrote: On Tue, Jul 18, 2017 at 08:05:18AM -0400, Stefan Berger wrote: On 07/18/2017 07:48 AM, Vivek Goyal wrote: On Mon, Jul 17, 2017 at 04:50:22PM -0400, Stefan Berger wrote: On 07/17/2017 02:58 PM, Vivek Goyal wrote: On Tue, Jul 11, 2017 at 11:05:11AM

Re: [PATCH 01/18] regmap: mmio: Add function to attach a clock

2017-07-18 Thread Mark Brown
On Mon, Jul 17, 2017 at 11:01:07AM +0200, Maxime Ripard wrote: > On Thu, Jul 13, 2017 at 05:01:42PM +0100, Mark Brown wrote: > > > This might be problematic if the clock to enable is stored in another > > > node. > > > Let's add a function that allows to attach a clock that has already been > >

Re: [PATCH v1 1/2] drm/bridge/synopsys: dsi: Constify funcs structures

2017-07-18 Thread Laurent Pinchart
Hi Philippe, Thank you for the patch. On Tuesday 18 Jul 2017 13:43:51 Philippe CORNU wrote: > Signed-off-by: Philippe CORNU Reviewed-by: Laurent Pinchart > --- > drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 2 +- > 1 file changed,

[PATCH 2/2] MIPS: ralink: mt7620: Add missing header

2017-07-18 Thread Harvey Hunt
Fix a build error caused by not including . The following compilation errors are caused by the missing header: arch/mips/ralink/mt7620.c: In function ‘mt7620_get_cpu_pll_rate’: arch/mips/ralink/mt7620.c:431:2: error: implicit declaration of function ‘WARN_ON’

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