Re: [PATCH] Staging: android: fix permissions style

2016-09-28 Thread Greg KH
ttps://www.kernel.org/doc/man-pages/linux-next.html > > And these are the latest commits I can see in my local repository. > > ramiro (28-Set) ~/linux-next $ git log --pretty=oneline --abbrev-commit -10 > 486aa34 Staging: android: fix permissions style > d1dfecd Add linux-next speci

Re: [PATCH 00/10] md/dm-crypt: Fine-tuning for five function implementations

2016-09-28 Thread Mike Snitzer
On Wed, Sep 28 2016 at 11:34am -0400, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 28 Sep 2016 17:25:17 +0200 > > Some update suggestions were taken into account > from static source code analysis. > > Markus

[PATCH 02/10] md/dm-crypt: Reduce the scope for a variable in crypt_alloc_tfms()

2016-09-28 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 28 Sep 2016 14:05:25 +0200 Move the definition for the variable "err" (including its declaration) into an if branch (so that the corresponding setting will only be performed if a call of the function "crypto_alloc_skcipher" failed as

Re: [PATCH 1/1] Staging: android: ion: Fixed coding style issues

2016-09-28 Thread Greg KH
On Wed, Sep 28, 2016 at 08:51:43PM +0530, shyam saini wrote: > Fixed checkpatch coding style issues What specific issues? Always be descriptive, look at previous patches in the staging tree for examples. thanks, greg k-h

Re: Regression in mobility grouping?

2016-09-28 Thread Johannes Weiner
Hi Vlastimil, On Wed, Sep 28, 2016 at 11:00:15AM +0200, Vlastimil Babka wrote: > On 09/28/2016 03:41 AM, Johannes Weiner wrote: > > Hi guys, > > > > we noticed what looks like a regression in page mobility grouping > > during an upgrade from 3.10 to 4.0. Identical machines, workloads, and > >

[PATCH] drm/vc4: Fix races when the CS reads from render targets.

2016-09-28 Thread Eric Anholt
With the introduction of bin/render pipelining, the previous job may not be completed when we start binning the next one. If the previous job wrote our VBO, IB, or CS textures, then the binning stage might get stale or uninitialized results. Fixes the major rendering failure in glmark2 -b

[PATCH 05/10] md/dm-crypt: Rename a jump label in crypt_set_key()

2016-09-28 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 28 Sep 2016 15:21:18 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/md/dm-crypt.c | 9 - 1 file changed, 4

[PATCH 06/10] md/dm-crypt: Delete an unnecessary variable initialisation in crypt_set_key()

2016-09-28 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 28 Sep 2016 15:24:13 +0200 The local variable "r" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCH 04/10] md/dm-crypt: Delete an unnecessary variable initialisation in crypt_message()

2016-09-28 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 28 Sep 2016 15:06:05 +0200 The local variable "ret" will be set to an appropriate value in if branches. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCH 03/10] md/dm-crypt: Rename a jump label in crypt_message()

2016-09-28 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 28 Sep 2016 14:54:39 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/md/dm-crypt.c | 5 ++--- 1 file changed, 2

[PATCH 07/10] md/dm-crypt: Rename a jump label in crypt_iv_tcw_whitening()

2016-09-28 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 28 Sep 2016 15:32:15 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/md/dm-crypt.c | 8 1 file changed, 4

Re: linux-next: manual merge of the staging tree with the vfs-miklos tree

2016-09-28 Thread Greg KH
On Wed, Sep 28, 2016 at 03:00:22PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got a conflict in: > > drivers/staging/lustre/lustre/llite/file.c > > between commit: > > 302d50e7203e ("switch generic_file_splice_read() to use of ->read_iter()")

[PATCH v5 2/7] proc: Reduce cache miss in snmp_seq_show

2016-09-28 Thread Jia He
This is to use the generic interfaces snmp_get_cpu_field{,64}_batch to aggregate the data by going through all the items of each cpu sequentially. Then snmp_seq_show is split into 2 parts to avoid build warning "the frame size" larger than 1024. Signed-off-by: Jia He ---

[PATCH v5 7/7] net: Suppress the "Comparison to NULL could be written" warnings

2016-09-28 Thread Jia He
This is to suppress the checkpatch.pl warning "Comparison to NULL could be written". No functional changes here. Signed-off-by: Jia He --- net/ipv4/proc.c | 32 net/sctp/proc.c | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff

[PATCH v5 4/7] proc: Reduce cache miss in sctp_snmp_seq_show

2016-09-28 Thread Jia He
This is to use the generic interfaces snmp_get_cpu_field{,64}_batch to aggregate the data by going through all the items of each cpu sequentially. Signed-off-by: Jia He --- net/sctp/proc.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git

[PATCH v5 6/7] ipv6: Remove useless parameter in __snmp6_fill_statsdev

2016-09-28 Thread Jia He
The parameter items(always ICMP6_MIB_MAX) is useless for __snmp6_fill_statsdev. Signed-off-by: Jia He --- net/ipv6/addrconf.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 2f1f5d4..35d4baa

[PATCH v5 5/7] proc: Reduce cache miss in xfrm_statistics_seq_show

2016-09-28 Thread Jia He
This is to use the generic interfaces snmp_get_cpu_field{,64}_batch to aggregate the data by going through all the items of each cpu sequentially. Signed-off-by: Jia He --- net/xfrm/xfrm_proc.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] perf: remove orphan DEBUG_PERF_USE_VMALLOC

2016-09-28 Thread Peter Zijlstra
On Tue, Sep 27, 2016 at 09:51:35AM -0700, Vineet Gupta wrote: > On 09/27/2016 09:37 AM, Kim Phillips wrote: > > On Tue, 27 Sep 2016 07:53:56 -0700 > > Vineet Gupta wrote: > > > >> > This doesn't seem to be used anywhere > > I thought so too, until I got this response

Re: linux-next: manual merge of the staging tree with the vfs-miklos tree

2016-09-28 Thread Stephen Rothwell
Hi Greg, On Wed, 28 Sep 2016 08:25:01 +0200 Greg KH wrote: > > Looks good to me, one of these days we will get lustre out of staging to > make this easier... I look forward to it :-) -- Cheers, Stephen Rothwell

[PATCH v5 3/7] proc: Reduce cache miss in snmp6_seq_show

2016-09-28 Thread Jia He
This is to use the generic interfaces snmp_get_cpu_field{,64}_batch to aggregate the data by going through all the items of each cpu sequentially. Signed-off-by: Jia He --- net/ipv6/proc.c | 32 +++- 1 file changed, 23 insertions(+), 9

[PATCH v5 0/7] Reduce cache miss for snmp_fold_field

2016-09-28 Thread Jia He
In a PowerPc server with large cpu number(160), besides commit a3a773726c9f ("net: Optimize snmp stat aggregation by walking all the percpu data at once"), I watched several other snmp_fold_field callsites which would cause high cache miss rate. test source code: My simple test

[PATCH v5 1/7] net:snmp: Introduce generic interfaces for snmp_get_cpu_field{,64}

2016-09-28 Thread Jia He
This is to introduce the generic interfaces for snmp_get_cpu_field{,64}. It exchanges the two for-loops for collecting the percpu statistics data. This can aggregate the data by going through all the items of each cpu sequentially. Signed-off-by: Jia He Suggested-by: Marcelo

Re: [PATCH 0/2 v3] cpu hotplug: Preserve topology directory after soft remove event

2016-09-28 Thread Peter Zijlstra
On Tue, Sep 27, 2016 at 11:26:14AM -0400, Prarit Bhargava wrote: > I see now that the issue is not understanding the difference between physical > and soft thread removal. I will write that up and get back to everyone. You don't seem to understand that from the kernels POV there is no such

Re: [PATCH] usb: Convert pr_warning to pr_warn

2016-09-28 Thread Nicolas Ferre
Le 27/09/2016 à 18:16, Joe Perches a écrit : > Use the more common logging mechanism. > > Miscellanea: > > o Realign multiline statements > o Coalesce format > > Signed-off-by: Joe Perches > --- > drivers/usb/gadget/function/rndis.c | 9 - >

Re: [PATCH 2/3] DT: EVM: add LEDs

2016-09-28 Thread H. Nikolaus Schaller
Hi, > Am 28.09.2016 um 05:37 schrieb Tony Lindgren : > > * H. Nikolaus Schaller [160927 13:11]: >>> Am 27.09.2016 um 21:49 schrieb Tony Lindgren : >>> How about this for defaults: >>> >>> - heartbeat for led3 >>> - cpu0 for led4 >>> -

linux-next: Tree for Sep 28

2016-09-28 Thread Stephen Rothwell
Hi all, Changes since 20160927: The rdma tree still had its build failure so I disabled the staging driver affected. The drm tree gained a conflict agains Linus' tree. The drm-misc tree gained conflicts against the drm tree. The staging tree gained cnflicts against the vfs-miklos tree.

RE: [PATCH] of: thermal: Fixed governor at each thermal zone

2016-09-28 Thread
Hello Rui, Javi, Lukasz and Eduardo > -Original Message- > From: Zhang Rui [mailto:rui.zh...@intel.com] > Sent: Wednesday, September 28, 2016 10:31 AM > To: Eduardo Valentin; Lukasz Luba > Cc: Inhyuk Kang; linux...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] of:

Re: [PATCH] Fixes: 3d44a78f0d8b ("staging: rtl8712: Remove unnecessary 'else'")

2016-09-28 Thread Greg KH
On Tue, Sep 27, 2016 at 11:07:54PM -0400, Matthew Kilgore wrote: > An "unnecessary" 'else' was removed due to complains from checkpatch.pl > as it is preceded by a 'return', however the 'else' branch is necessary > as an earlier branch of the 'if' falls through. By removing the 'else', > that

Re: [PATCH] virtio/s390: add missing \n to end of dev_err message

2016-09-28 Thread Christian Borntraeger
On 09/27/2016 10:08 PM, Colin King wrote: > From: Colin Ian King > > Trival fix, dev_err message is missing a \n, so add it. > > Signed-off-by: Colin Ian King > --- > drivers/s390/virtio/virtio_ccw.c | 2 +- > 1 file changed, 1 insertion(+),

Re: NMI for ARC

2016-09-28 Thread Peter Zijlstra
On Tue, Sep 27, 2016 at 05:22:13PM -0700, Vineet Gupta wrote: > > Yeah, Sparc64 might be a better example, it more closely matches your > > hardware. See > > arch/sparc/include/asm/irqflags_64.h:arch_local_irq_save(). > > So I finally got around to doing this and as expected has turned out to be

Re: [PATCH] s390/dasd: add missing \n to end of dev_err messages

2016-09-28 Thread Martin Schwidefsky
On Tue, 27 Sep 2016 12:13:18 -0700 Colin King wrote: > From: Colin Ian King > > Trival fix, dev_err messages are missing a \n, so add it. > > Signed-off-by: Colin Ian King > --- > drivers/s390/block/dasd_erp.c | 4

Re: [PATCH] s390/lcs: remove trailing space at end of dev_err message

2016-09-28 Thread Martin Schwidefsky
On Tue, 27 Sep 2016 12:57:01 -0700 Colin King wrote: > From: Colin Ian King > > There is a trailing white space at the end of a dev_err > message that does nothing useful - remove it. > > Signed-off-by: Colin Ian King

Re: [PATCH 2/2] MIPS: set NR_syscall_tables appropriately

2016-09-28 Thread Marcin Nowakowski
On 27.09.2016 14:04, Ralf Baechle wrote: On Mon, Aug 29, 2016 at 11:30:07AM +0200, Marcin Nowakowski wrote: Depending on the kernel configuration, up to 3 syscall tables can be used in parallel - so set the number properly to ensure syscall tracing is set up properly. Signed-off-by: Marcin

Re: [PATCH] sched/fair: Do not decay new task load on first enqueue

2016-09-28 Thread Dietmar Eggemann
On 28/09/16 11:14, Peter Zijlstra wrote: > On Fri, Sep 23, 2016 at 12:58:08PM +0100, Matt Fleming wrote: >> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c >> index 8fb4d1942c14..4a2d3ff772f8 100644 >> --- a/kernel/sched/fair.c >> +++ b/kernel/sched/fair.c >> @@ -3142,7 +3142,7 @@

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

2016-09-28 Thread Jamal Hadi Salim
On 16-09-28 06:51 AM, Cyrill Gorcunov wrote: On Wed, Sep 28, 2016 at 06:43:01AM -0400, Jamal Hadi Salim wrote: [..] I dont know how compilation will fail but you may be right with note: that is not how pads have been used in the past. They are supposed to cosmetic annotation which indicates

Re: [PATCH] sched/fair: Do not decay new task load on first enqueue

2016-09-28 Thread Dietmar Eggemann
On 28/09/16 12:19, Peter Zijlstra wrote: > On Wed, Sep 28, 2016 at 12:06:43PM +0100, Dietmar Eggemann wrote: >> On 28/09/16 11:14, Peter Zijlstra wrote: >>> On Fri, Sep 23, 2016 at 12:58:08PM +0100, Matt Fleming wrote: [...] >> Not sure what you mean by 'after fixing' but the se is initialized

Re: [PATCH 1/5] ISDN-Gigaset: Use kmalloc_array() in two functions

2016-09-28 Thread Paul Bolle
On Mon, 2016-09-26 at 17:38 +0200, SF Markus Elfring wrote: > * Multiplications for the size determination of memory allocations >   indicated that array data structures should be processed. >   Thus use the corresponding function "kmalloc_array". Was the current code incorrect? What makes

Re: [PATCH] drm: tilcdc: add a workaround for failed clk_set_rate()

2016-09-28 Thread Bartosz Golaszewski
+ Sekhar 2016-09-28 13:19 GMT+02:00 Tomi Valkeinen : > Hi, > > On 27/09/16 18:29, Bartosz Golaszewski wrote: >> Some architectures don't use the common clock framework and don't >> implement all the clk interfaces for every clock. This is the case >> for da850-lcdk where

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

2016-09-28 Thread David Miller
From: Jamal Hadi Salim Date: Wed, 28 Sep 2016 08:06:51 -0400 > I understood well your point;-> Maybe my response was not clear: > _nobody should be fscking fondling pad fields_ setting them or > otherwise. Especially considering potential future uses of the field, existing

Re: [PATCH 2/3] kvm: x86: do not use KVM_REQ_EVENT for APICv interrupt injection

2016-09-28 Thread Paolo Bonzini
On 28/09/2016 14:06, Wu, Feng wrote: >> Then the >> > guest is entered with PIR.ON, but the PI interrupt is not pending and >> > hence the interrupt is never delivered to the guest. > Why "never", at least, the interrupt should be delivered to the guest in the > next > vm-entry, right? I mean

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

2016-09-28 Thread Cyrill Gorcunov
On Wed, Sep 28, 2016 at 08:07:01AM -0400, David Miller wrote: ... > > > > I think you miss the point what I'm trying to say: currently end-user > > may have reference to this member (for any reason) and his program > > will compile and run. If we change the name the compilation procedure > >

[PATCH] mm: exclude isolated non-lru pages from NR_ISOLATED_ANON or NR_ISOLATED_FILE.

2016-09-28 Thread ming.ling
Non-lru pages don't belong to any lru, so accounting them to NR_ISOLATED_ANON or NR_ISOLATED_FILE doesn't make any sense. It may misguide functions such as pgdat_reclaimable_pages and too_many_isolated. This patch adds NR_ISOLATED_NONLRU to vmstat and moves isolated non-lru pages from

Re: [PATCH V2] checkpatch: Improve the octal permissions tests

2016-09-28 Thread Ramiro Oliveira
On 9/28/2016 4:05 AM, Joe Perches wrote: > Signed-off-by: Joe Perches > --- > > V2: Move the SYMBOLIC_PERMS test. > > scripts/checkpatch.pl | 60 > +-- > 1 file changed, 44 insertions(+), 16 deletions(-) Tested-by: Ramiro

[PATCH 2/4] ARM: davinci: devices: Remove DMA resources for MMC

2016-09-28 Thread Peter Ujfalusi
The driver is converted to not use the DMA resource. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/devices.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/devices.c index 67d26c5bda0b..3ae70f2909b0

[PATCH 0/4] ARM: davinci: Remove DMA resources for MMC/SPI

2016-09-28 Thread Peter Ujfalusi
Hi, The drivers for davinci MMC and SPI have been converted to the new DMAengine API and no longer rely on the IORESOURCE_DMA. This is the case for at least one release cycle so now we can remove the IORESOURCE_DMA for these devices. Regards, Peter --- Peter Ujfalusi (4): ARM: davinci:

[PATCH 4/4] ARM: davinci: dm365: Remove DMA resources for SPI

2016-09-28 Thread Peter Ujfalusi
The driver is converted to not use the DMA resource. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/dm365.c | 8 1 file changed, 8 deletions(-) diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index ef3add999263..8be04ec95adf

[PATCH 3/4] ARM: davinci: dm355: Remove DMA resources for SPI

2016-09-28 Thread Peter Ujfalusi
The driver is converted to not use the DMA resource. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/dm355.c | 8 1 file changed, 8 deletions(-) diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c index d33322ddedab..bd50367f654e

[PATCH 1/4] ARM: davinci: devices-da8xx: Remove DMA resources for MMC and SPI

2016-09-28 Thread Peter Ujfalusi
The drivers are now converted to not use the DMA resource. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/devices-da8xx.c | 29 - 1 file changed, 29 deletions(-) diff --git a/arch/arm/mach-davinci/devices-da8xx.c

Re: [PATCH 3/5] ISDN-Gigaset: Delete an error message for a failed memory allocation

2016-09-28 Thread Paul Bolle
On Tue, 2016-09-27 at 12:57 +0200, Tilman Schmidt wrote: > On Mon, Sep 26, 2016, at 17:42, SF Markus Elfring wrote: > > Omit an extra message for a memory allocation failure in this > > function. > > > > Link: > > http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-R > >

[PATCH 2/2] perf intel-pt: Fix MTC timestamp calculation for large MTC periods

2016-09-28 Thread Adrian Hunter
The MTC packet provides a 8-bit slice of CTC which is related to TSC by the TMA packet, however the TMA packet only provides the lower 16 bits of CTC. If mtc_shift > 8 then some of the MTC bits are not in the CTC provided by the TMA packet. Fix-up the last_mtc calculated from the TMA packet by

RE: [PATCH 2/3] kvm: x86: do not use KVM_REQ_EVENT for APICv interrupt injection

2016-09-28 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Wednesday, September 28, 2016 6:17 PM > To: Wu, Feng ; linux-kernel@vger.kernel.org; > k...@vger.kernel.org > Cc: yang.zhang...@gmail.com; m...@redhat.com; rkrc...@redhat.com > Subject: Re:

Re: [PATCH] sched/fair: Do not decay new task load on first enqueue

2016-09-28 Thread Vincent Guittot
On 28 September 2016 at 04:46, Vincent Guittot wrote: > On 28 September 2016 at 04:31, Dietmar Eggemann > wrote: >> On 28/09/16 12:19, Peter Zijlstra wrote: >>> On Wed, Sep 28, 2016 at 12:06:43PM +0100, Dietmar Eggemann wrote: On

Re: [PATCH] pinctrl: freescale: avoid overwriting pin config when freeing GPIO

2016-09-28 Thread Vladimir Zapolskiy
On 09/28/2016 06:38 AM, Stefan Agner wrote: On 2016-09-27 19:00, Viresh Kumar wrote: On 27-09-16, 12:34, Stefan Agner wrote: Added Viresh Kumar to the discussion, he implemented the I2C recovery functions. Yes, reordering the pinctrl/gpio_free calls would fix the problem too. However, I

Re: [PATCH 1/1] Staging: android: ion : Remove explicit NULL comparison and Fixed coding style

2016-09-28 Thread Greg KH
On Wed, Sep 28, 2016 at 03:55:32PM +0530, shyam saini wrote: > Remove the explicit NULL comparison and rewrite in a compact form and > fixed switch case indentation issue. If you need "and" in a subject: line for a patch, that's a huge hint that this needs to be at least 2 patches. Please only

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

2016-09-28 Thread Jamal Hadi Salim
On 16-09-28 08:07 AM, David Miller wrote: Right, it would be legal for an existing user to have code that explicitly initializes every member of the structure, including 'pad'. So we have to keep that member around, at a minimum, for their sake. I think we need to start labelling any new pad

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

2016-09-28 Thread Cyrill Gorcunov
On Wed, Sep 28, 2016 at 08:06:51AM -0400, Jamal Hadi Salim wrote: > > I understood well your point;-> Maybe my response was not clear: > _nobody should be fscking fondling pad fields_ setting them or > otherwise. > Maybe let these programs fail. I asked if you knew any such app which > did

Re: [bug] crypto/vmx/p8_ghash memory corruption in 4.8-rc7

2016-09-28 Thread Marcelo Cerri
Hi Herbert, On Wed, Sep 28, 2016 at 10:45:49AM +0800, Herbert Xu wrote: > On Tue, Sep 27, 2016 at 04:46:44PM -0300, Marcelo Cerri wrote: > > > > Can you check if the problem occurs with this patch? > > In light of the fact that padlock-sha is the correct example > to follow, you only need to add

Re: [bug] crypto/vmx/p8_ghash memory corruption in 4.8-rc7

2016-09-28 Thread Herbert Xu
On Wed, Sep 28, 2016 at 03:40:51AM -0400, Jan Stancek wrote: > > Thanks for clearing up how this works in padlock-sha, but > we are not exactly in same situation with p8_ghash. > > p8_ghash_init_tfm() already updates descsize. Problem in original report > is that without custom

Re: Regression in mobility grouping?

2016-09-28 Thread Mel Gorman
On Tue, Sep 27, 2016 at 09:41:48PM -0400, Johannes Weiner wrote: > Hi guys, > > we noticed what looks like a regression in page mobility grouping > during an upgrade from 3.10 to 4.0. Identical machines, workloads, and > uptime, but /proc/pagetypeinfo on 3.10 looks like this: > > Number of

[PATCH] crypto/caam/jr : Unmap region obtained by of_iomap

2016-09-28 Thread Arvind Yadav
From: Arvind Yadav Free memory mapping, if probe is not successful. Signed-off-by: Arvind Yadav --- drivers/crypto/caam/jr.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/caam/jr.c b/drivers/crypto/caam/jr.c index

[PATCH] ramoops: add pdata NULL check to ramoops_probe

2016-09-28 Thread Geliang Tang
When the pdata is NULL, ramoops_probe() segfaults. So this patch adds a NULL check to it. Signed-off-by: Geliang Tang --- fs/pstore/ram.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 6ad831b..dd9832d 100644 ---

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

2016-09-28 Thread Jamal Hadi Salim
On 16-09-28 06:17 AM, Cyrill Gorcunov wrote: On Wed, Sep 28, 2016 at 06:08:00AM -0400, Jamal Hadi Salim wrote: ... @@ -38,7 +38,10 @@ struct inet_diag_req_v2 { __u8sdiag_family; __u8sdiag_protocol; __u8idiag_ext; - __u8pad; + union { +

[PATCH] firmware: qcom: scm: Fix interrupted SCM calls fully

2016-09-28 Thread Sricharan R
Patch [1] fixes the issues with interrupted SCM64 calls by returning the register r6 (Session ID) on the next try, but register r0 also needs to be preserved for the retry. r0 contains the result of the previous try. Without this i see that the SCM calls hang when retried. [1]

Re: [Update][RFC/RFT][PATCH v3 2/5] driver core: Functional dependencies tracking support

2016-09-28 Thread Lukas Wunner
On Tue, Sep 27, 2016 at 01:52:48PM +0200, Rafael J. Wysocki wrote: > On Tue, Sep 27, 2016 at 10:54 AM, Lukas Wunner wrote: > > On Fri, Sep 16, 2016 at 02:33:55PM +0200, Rafael J. Wysocki wrote: > >> +void device_links_unbind_consumers(struct device *dev) > >> +{ > >> + struct

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

2016-09-28 Thread Pavel Machek
On Wed 2016-09-28 12:02:41, Florian Vaussard wrote: > Hi Pavel, > > Le 24. 09. 16 à 13:58, Pavel Machek a écrit : > > Hi! > > > >> +Example > >> +=== > >> + > >> +led1: ncp5623@38 { > >> + #address-cells = <1>; > >> + #size-cells = <0>; > >> + compatible = "onnn,ncp5623"; > >> + reg =

Re: [PATCH] drm: tilcdc: add a workaround for failed clk_set_rate()

2016-09-28 Thread Jyri Sarha
On 09/27/16 18:29, Bartosz Golaszewski wrote: > Some architectures don't use the common clock framework and don't > implement all the clk interfaces for every clock. This is the case > for da850-lcdk where clk_set_rate() only works for PLL0 and PLL1. > > Trying to set the clock rate for the LCDC

Re: [PATCH 2/3] kvm: x86: do not use KVM_REQ_EVENT for APICv interrupt injection

2016-09-28 Thread Paolo Bonzini
On 28/09/2016 13:40, Wu, Feng wrote: > IIUIC, the issue you describe above is that IPI for posted-interrupts may be > issued between > > vcpu->mode = IN_GUEST_MODE; > > and > > local_irq_disable(); > > But if that really happens, we will call kvm_vcpu_kick() in >

Re: [PATCH 2/3] kvm: x86: do not use KVM_REQ_EVENT for APICv interrupt injection

2016-09-28 Thread Paolo Bonzini
On 28/09/2016 13:53, Wu, Feng wrote: >> > - update_cr8_intercept is disabled if APICv, see vmx.c: >> > >> > if (enable_apicv) >> > kvm_x86_ops->update_cr8_intercept = NULL; > Which tree are you using, I am using linux kernel tree with Linux 4.8-rc7, > and I only see the

Re: [PATCH] drm: tilcdc: add a workaround for failed clk_set_rate()

2016-09-28 Thread Tomi Valkeinen
On 28/09/16 14:43, Bartosz Golaszewski wrote: > how far is far enough to emit a warning? On da850 the requested rate > is 22800 Hz, while the calculated divider is 6, which results in > the real rate of 22500 Hz. This is less than 1% difference - > should we take this value as reference?

Re: [PATCH 2/2] hid: input: add HID_QUIRK_REUSE_AXES and fix dragonrise

2016-09-28 Thread Ioan-Adrian Ratiu
On Wed, 28 Sep 2016, Vladislav Naumov wrote: > On Tue, Sep 27, 2016 at 10:44 PM, Ioan-Adrian Ratiu wrote: >> Can you please wait a little until I post v2 later today and test v2 >> directly? Because the change in it's current form has no effect on >> 0079:0011

RE: [PATCH 2/3] kvm: x86: do not use KVM_REQ_EVENT for APICv interrupt injection

2016-09-28 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Wednesday, September 28, 2016 7:50 PM > To: Wu, Feng ; Michael S. Tsirkin > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org; > yang.zhang...@gmail.com;

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

2016-09-28 Thread David Miller
From: Jamal Hadi Salim Date: Wed, 28 Sep 2016 08:09:28 -0400 > On 16-09-28 08:07 AM, David Miller wrote: > >> Right, it would be legal for an existing user to have code that >> explicitly initializes every member of the structure, including 'pad'. >> So we have to keep that

[BUG] checkpatch hangs at value annotation

2016-09-28 Thread Jan Höppner
Hi Andy, when I check the following patch example with checkpatch it will hang forever. diff --git a/test.c b/test.c index 88c2eb0cb608..583625fdb715 100644 --- a/test.c +++ b/test.c @@ -1 +1,3 @@ uint## BITS ##_t foobar; + +printk(KERN_WARNING "DEBUG: FOOBAR\n"); The hang is due to the

[PATCH 1/1] Staging: android: ion : Remove explicit NULL comparison and Fixed coding style

2016-09-28 Thread shyam saini
Remove the explicit NULL comparison and rewrite in a compact form and fixed switch case indentation issue. Signed-off-by: shyam saini --- drivers/staging/android/ion/ion_of.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH] dma/fsldma : Unmap region obtained by of_iomap

2016-09-28 Thread Arvind Yadav
Free memory mapping, if probe is not successful. Signed-off-by: Arvind Yadav --- drivers/dma/fsldma.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index 911b717..7ba8944 100644 ---

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

2016-09-28 Thread Cyrill Gorcunov
On Wed, Sep 28, 2016 at 06:43:01AM -0400, Jamal Hadi Salim wrote: ... > > > > Someone may have set it to zero explicitly on source level, and the > > compilation will fail on new kernel then. So no, keeping the name > > is reasonable. > > > > I dont know how compilation will fail but you may be

Re: [PATCH] sched/fair: Do not decay new task load on first enqueue

2016-09-28 Thread Peter Zijlstra
On Wed, Sep 28, 2016 at 12:06:43PM +0100, Dietmar Eggemann wrote: > On 28/09/16 11:14, Peter Zijlstra wrote: > > On Fri, Sep 23, 2016 at 12:58:08PM +0100, Matt Fleming wrote: > >> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > >> index 8fb4d1942c14..4a2d3ff772f8 100644 > >> ---

Re: [PATCH] drm: tilcdc: add a workaround for failed clk_set_rate()

2016-09-28 Thread Tomi Valkeinen
Hi, On 27/09/16 18:29, Bartosz Golaszewski wrote: > Some architectures don't use the common clock framework and don't > implement all the clk interfaces for every clock. This is the case > for da850-lcdk where clk_set_rate() only works for PLL0 and PLL1. > > Trying to set the clock rate for the

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

2016-09-28 Thread Cyrill Gorcunov
On Wed, Sep 28, 2016 at 07:06:26AM -0400, Jamal Hadi Salim wrote: > > > > This structure is uapi, so anyone has complete rights to reference > > @pad in the userspace programs. Sure it would be more clear to remove > > the @pad completely, but if we choose so I think it's better to do > > on top

Re: [Update][RFC/RFT][PATCH v3 2/5] driver core: Functional dependencies tracking support

2016-09-28 Thread Rafael J. Wysocki
On Wed, Sep 28, 2016 at 12:43 PM, Lukas Wunner wrote: > On Tue, Sep 27, 2016 at 01:52:48PM +0200, Rafael J. Wysocki wrote: >> On Tue, Sep 27, 2016 at 10:54 AM, Lukas Wunner wrote: >> > On Fri, Sep 16, 2016 at 02:33:55PM +0200, Rafael J. Wysocki wrote: >> >>

Re: [RFC/RFT][PATCH v3 0/5] Functional dependencies between devices

2016-09-28 Thread Lukas Wunner
On Wed, Sep 28, 2016 at 02:33:21AM +0200, Rafael J. Wysocki wrote: > On Tuesday, September 27, 2016 02:34:29 PM Lukas Wunner wrote: > > I made some notes while reviewing the state machine in patch 2 of this > > series and thought, why not rework it into something that could eventually > > go into

RE: [PATCH 2/3] kvm: x86: do not use KVM_REQ_EVENT for APICv interrupt injection

2016-09-28 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Wednesday, September 28, 2016 4:22 PM > To: Michael S. Tsirkin > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org; > yang.zhang...@gmail.com; Wu, Feng ; >

Re: [PATCH] sched/fair: Do not decay new task load on first enqueue

2016-09-28 Thread Vincent Guittot
On 28 September 2016 at 04:31, Dietmar Eggemann wrote: > On 28/09/16 12:19, Peter Zijlstra wrote: >> On Wed, Sep 28, 2016 at 12:06:43PM +0100, Dietmar Eggemann wrote: >>> On 28/09/16 11:14, Peter Zijlstra wrote: On Fri, Sep 23, 2016 at 12:58:08PM +0100, Matt Fleming

Re: [PATCH 1/2] PM / sleep: Return RPM_SUSPENDED to keep devices in runtime-suspended

2016-09-28 Thread Rafael J. Wysocki
On Wed, Sep 28, 2016 at 5:26 AM, Chen Yu wrote: > Currently if the ->prepare() callback of a device returns a positive number, > the PM core will regard that as an indication that it may leave the > device runtime-suspended. However it would be more convenient to define >

[PATCH 1/2] perf intel-pt: Fix estimated timestamps for cycle-accurate mode

2016-09-28 Thread Adrian Hunter
In cycle-accurate mode, timestamps can be calculated from CYC packets. The decoder also estimates timestamps based on the number of instructions since the last timestamp. For that to work in cycle-accurate mode, the instruction count needs to be reset to zero when a timestamp is calculated from a

Re: [PATCH 0/5] ISDN-Gigaset: Fine-tuning for three function implementations

2016-09-28 Thread Paul Bolle
On Mon, 2016-09-26 at 17:37 +0200, SF Markus Elfring wrote: > Some update suggestions were taken into account > from static source code analysis. > > Markus Elfring (5): >   Use kmalloc_array() in two functions >   Improve another size determination in gigaset_initcs() >   Delete an error message

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

2016-09-28 Thread Jamal Hadi Salim
On 16-09-28 07:27 AM, Cyrill Gorcunov wrote: On Wed, Sep 28, 2016 at 07:06:26AM -0400, Jamal Hadi Salim wrote: This structure is uapi, so anyone has complete rights to reference @pad in the userspace programs. Sure it would be more clear to remove the @pad completely, but if we choose so I

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

2016-09-28 Thread David Miller
From: Cyrill Gorcunov Date: Wed, 28 Sep 2016 14:27:03 +0300 > On Wed, Sep 28, 2016 at 07:06:26AM -0400, Jamal Hadi Salim wrote: >> > >> > This structure is uapi, so anyone has complete rights to reference >> > @pad in the userspace programs. Sure it would be more clear to

RE: [PATCH 2/3] kvm: x86: do not use KVM_REQ_EVENT for APICv interrupt injection

2016-09-28 Thread Wu, Feng
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Paolo Bonzini > Sent: Wednesday, September 28, 2016 7:55 PM > To: Wu, Feng ; linux-kernel@vger.kernel.org; > k...@vger.kernel.org > Cc: yang.zhang...@gmail.com;

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

2016-09-28 Thread Jamal Hadi Salim
On 16-09-28 08:16 AM, David Miller wrote: From: Jamal Hadi Salim Date: Wed, 28 Sep 2016 08:09:28 -0400 On 16-09-28 08:07 AM, David Miller wrote: Right, it would be legal for an existing user to have code that explicitly initializes every member of the structure, including

Re: [PATCH] sched/fair: Do not decay new task load on first enqueue

2016-09-28 Thread Vincent Guittot
On 28 September 2016 at 04:31, Dietmar Eggemann wrote: > On 28/09/16 12:19, Peter Zijlstra wrote: >> On Wed, Sep 28, 2016 at 12:06:43PM +0100, Dietmar Eggemann wrote: >>> On 28/09/16 11:14, Peter Zijlstra wrote: On Fri, Sep 23, 2016 at 12:58:08PM +0100, Matt Fleming

[PATCH] staging: fbtft: Fix checkpatch warning

2016-09-28 Thread Carlos Palminha
--- drivers/staging/fbtft/fbtft_device.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/fbtft/fbtft_device.c b/drivers/staging/fbtft/fbtft_device.c index e9f25dd..0883715 100644 --- a/drivers/staging/fbtft/fbtft_device.c +++

RE: [PATCH v6 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-09-28 Thread Tan, Jui Nee
> -Original Message- > From: Lee Jones [mailto:lee.jo...@linaro.org] > Sent: Tuesday, August 9, 2016 3:16 PM > To: Tan, Jui Nee > Cc: mika.westerb...@linux.intel.com; heikki.kroge...@linux.intel.com; > andriy.shevche...@linux.intel.com; t...@linutronix.de; >

[PATCH v7 0/6] pinctrl/broxton: enable platform device in the absent of ACPI enumeration

2016-09-28 Thread Tan Jui Nee
Hi, The patches are to cater the need for non-ACPI system whereby a platform device has to be created in order to bind with Apollo Lake Pinctrl GPIO platform driver. The MMIO BAR is accessed over the Primary to Sideband bridge (P2SB). Since the BIOS prevents the P2SB device from being enumerated

[PATCH v7 4/6] mfd: move enum lpc_chipsets into lpc_ich.h

2016-09-28 Thread Tan Jui Nee
Move the enum's definition into a standalone header file which can be used wherever its definition is needed. Signed-off-by: Tan Jui Nee --- drivers/mfd/lpc_ich-core.c | 71 - include/linux/mfd/lpc_ich.h | 71

[PATCH v7 6/6] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-09-28 Thread Tan Jui Nee
This driver uses the P2SB hide/unhide mechanism cooperatively to pass the PCI BAR address to the gpio platform driver. Signed-off-by: Tan Jui Nee --- Changes in V7: - Add author information and rewrite description of source file lpc_ich-apl.c and

[PATCH v7 2/6] mfd: lpc_ich: Rename lpc-ich driver

2016-09-28 Thread Tan Jui Nee
This patch follows the example of mfd/wm831x to rename the driver from "lpc_ich" to "lpc_ich-core". Signed-off-by: Tan Jui Nee --- Changes in V7: - No change Changes in V6: - none, just a subject line and commit message change. drivers/mfd/Makefile

[PATCH v7 1/6] x86/platform/p2sb: New Primary to Sideband bridge support driver for Intel SOC's

2016-09-28 Thread Tan Jui Nee
From: Andy Shevchenko There is already one and at least one more user coming which require an access to Primary to Sideband bridge (P2SB) in order to get IO or MMIO bar hidden by BIOS. Create a driver to access P2SB for x86 devices. Signed-off-by: Yong,

[PATCH v7 5/6] mfd: lpc_ich: Add Device IDs for Intel Apollo Lake PCH

2016-09-28 Thread Tan Jui Nee
Adding Intel codename Apollo Lake platform device IDs for PCH. Signed-off-by: Tan Jui Nee --- drivers/mfd/lpc_ich-core.c | 6 ++ include/linux/mfd/lpc_ich.h | 1 + 2 files changed, 7 insertions(+) diff --git a/drivers/mfd/lpc_ich-core.c b/drivers/mfd/lpc_ich-core.c

Re: UFS API in the kernel

2016-09-28 Thread Joao Pinto
I was able to get the 7 patches to have the UFS IOCTL features from your repo. BTW, why weren't these features submitted to the kernel? I checked lots of tweaks that you have been making to the UFS... do you synchronize them periodically with the mainline? Thanks! On 9/28/2016 10:19 AM, Joao

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