Re: support for partial irq affinity assignment V3

2016-11-08 Thread Thomas Gleixner
On Tue, 8 Nov 2016, Jens Axboe wrote: > On 11/08/2016 06:15 PM, Christoph Hellwig wrote: > > This series adds support for automatic interrupt assignment to devices > > that have a few vectors that are set aside for admin or config purposes > > and thus should not fall into the general per-cpu assg

RE: [PATCH] mwifiex: printk() overflow with 32-byte SSIDs

2016-11-08 Thread Amitkumar Karwar
> From: Brian Norris [mailto:briannor...@chromium.org] > Sent: Wednesday, November 09, 2016 7:58 AM > To: Amitkumar Karwar; Nishant Sarmukadam; Kalle Valo > Cc: linux-kernel@vger.kernel.org; linux-wirel...@vger.kernel.org; Cathy > Luo; secur...@kernel.org; sta...@vger.kernel.org; Brian Norris > Sub

[tip:irq/core] PCI: Remove the irq_affinity mask from struct pci_dev

2016-11-08 Thread tip-bot for Christoph Hellwig
Commit-ID: 0cf71b04467bc34063cecae577f12481da6cc565 Gitweb: http://git.kernel.org/tip/0cf71b04467bc34063cecae577f12481da6cc565 Author: Christoph Hellwig AuthorDate: Tue, 8 Nov 2016 17:15:06 -0800 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 08:25:10 +0100 PCI: Remove the irq_

[tip:irq/core] PCI/MSI: Provide pci_alloc_irq_vectors_affinity()

2016-11-08 Thread tip-bot for Christoph Hellwig
Commit-ID: 402723ad5c625ee052432698ae5e56b02d38d4ec Gitweb: http://git.kernel.org/tip/402723ad5c625ee052432698ae5e56b02d38d4ec Author: Christoph Hellwig AuthorDate: Tue, 8 Nov 2016 17:15:05 -0800 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 08:25:10 +0100 PCI/MSI: Provide pci

[tip:irq/core] PCI/MSI: Propagate IRQ affinity description through the MSI code

2016-11-08 Thread tip-bot for Christoph Hellwig
Commit-ID: 61e1c5905290efe48bacda5e342d4af4cb1b923b Gitweb: http://git.kernel.org/tip/61e1c5905290efe48bacda5e342d4af4cb1b923b Author: Christoph Hellwig AuthorDate: Tue, 8 Nov 2016 17:15:04 -0800 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 08:25:09 +0100 PCI/MSI: Propagate I

[tip:irq/core] genirq/affinity: Handle pre/post vectors in irq_create_affinity_masks()

2016-11-08 Thread tip-bot for Christoph Hellwig
Commit-ID: 67c93c218dc5d1b45d547771f1fdb44a381e1faf Gitweb: http://git.kernel.org/tip/67c93c218dc5d1b45d547771f1fdb44a381e1faf Author: Christoph Hellwig AuthorDate: Tue, 8 Nov 2016 17:15:03 -0800 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 08:25:09 +0100 genirq/affinity: Han

[tip:irq/core] genirq/affinity: Handle pre/post vectors in irq_calc_affinity_vectors()

2016-11-08 Thread tip-bot for Christoph Hellwig
Commit-ID: 212bd846223c718b6577d4df16fd8d05a55ad914 Gitweb: http://git.kernel.org/tip/212bd846223c718b6577d4df16fd8d05a55ad914 Author: Christoph Hellwig AuthorDate: Tue, 8 Nov 2016 17:15:02 -0800 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 08:25:08 +0100 genirq/affinity: Han

[tip:irq/core] genirq/affinity: Introduce struct irq_affinity

2016-11-08 Thread tip-bot for Christoph Hellwig
Commit-ID: 20e407e195b29a4f5a18d713a61f54a75f992bd5 Gitweb: http://git.kernel.org/tip/20e407e195b29a4f5a18d713a61f54a75f992bd5 Author: Christoph Hellwig AuthorDate: Tue, 8 Nov 2016 17:15:01 -0800 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 08:25:08 +0100 genirq/affinity: Int

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-08 Thread Auger Eric
Hi Will, On 08/11/2016 20:02, Don Dutile wrote: > On 11/08/2016 12:54 PM, Will Deacon wrote: >> On Tue, Nov 08, 2016 at 03:27:23PM +0100, Auger Eric wrote: >>> On 08/11/2016 03:45, Will Deacon wrote: Rather than treat these as separate problems, a better interface is to tell userspace abo

Re: [PATCH 1/6] mm: khugepaged: fix radix tree node leak in shmem collapse error path

2016-11-08 Thread Jan Kara
On Tue 08-11-16 11:12:45, Johannes Weiner wrote: > On Tue, Nov 08, 2016 at 10:53:52AM +0100, Jan Kara wrote: > > On Mon 07-11-16 14:07:36, Johannes Weiner wrote: > > > The radix tree counts valid entries in each tree node. Entries stored > > > in the tree cannot be removed by simpling storing NULL

[PATCH 3/3] vhost_net: tx support batching

2016-11-08 Thread Jason Wang
This patch tries to utilize tuntap rx batching by peeking the tx virtqueue during transmission, if there's more available buffers in the virtqueue, set MSG_MORE flag for a hint for tuntap to batch the packets. The maximum number of batched tx packets were specified through a module parameter: tx_ba

[PATCH 2/3] vhost: better detection of available buffers

2016-11-08 Thread Jason Wang
We should use vq->last_avail_idx instead of vq->avail_idx in the checking of vhost_vq_avail_empty() since latter is the cached avail index from guest but we want to know if there's pending available buffers in the virtqueue. Signed-off-by: Jason Wang --- drivers/vhost/vhost.c | 2 +- 1 file chan

[PATCH 1/3] tuntap: rx batching

2016-11-08 Thread Jason Wang
Backlog were used for tuntap rx, but it can only process 1 packet at one time since it was scheduled during sendmsg() synchronously in process context. This lead bad cache utilization so this patch tries to do some batching before call rx NAPI. This is done through: - accept MSG_MORE as a hint fro

[PATCH] net/mlx4_en: Fix bpf_prog_add ref_cnt in mlx4

2016-11-08 Thread Zhiyi Sun
There are rx_ring_num queues. Each queue will load xdp prog. So bpf_prog_add() should add rx_ring_num to ref_cnt. Signed-off-by: Zhiyi Sun --- drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4

Re: [PATCH 2/2] clk: pxa: fix pxa2xx_determine_rate return

2016-11-08 Thread Robert Jarzmik
Arnd Bergmann writes: > On Tuesday, November 8, 2016 7:01:57 PM CET Robert Jarzmik wrote: >> Arnd Bergmann writes: >> If a non-exact match is found, either by closest_below or closest_above, >> rate is >> set (rate = freqs[closest_xxx].cpll). And a couple of lines later after the >> if/else, re

Re: [PATCH for-next 09/11] IB/hns: Change qpn allocation to round-robin mode.

2016-11-08 Thread Leon Romanovsky
On Fri, Nov 04, 2016 at 04:36:31PM +, Salil Mehta wrote: > From: "Wei Hu (Xavier)" > > When using CM to establish connections, qp number that was freed > just now will be rejected by ib core. To fix these problem, We > change qpn allocation to round-robin mode. We added the round-robin > mode

Re: [PATCH for-next 03/11] IB/hns: Optimize the logic of allocating memory using APIs

2016-11-08 Thread Leon Romanovsky
On Fri, Nov 04, 2016 at 04:36:25PM +, Salil Mehta wrote: > From: "Wei Hu (Xavier)" > > This patch modified the logic of allocating memory using APIs in > hns RoCE driver. We used kcalloc instead of kmalloc_array and > bitmap_zero. And When kcalloc failed, call vzalloc to alloc > memory. > > Si

Re: [PATCH 3/7] genirq/affinity: Handle pre/post vectors in irq_create_affinity_masks()

2016-11-08 Thread Hannes Reinecke
On 11/09/2016 02:15 AM, Christoph Hellwig wrote: Only calculate the affinity for the main I/O vectors, and skip the pre or post vectors specified by struct irq_affinity. Also remove the irq_affinity cpumask argument that has never been used. If we ever need it in the future we can pass it throug

Re: [PATCH v4 1/3] leds: Introduce userspace leds driver

2016-11-08 Thread Pavel Machek
Hi! > >+struct uleds_device { > >+struct uleds_user_dev user_dev; > >+struct led_classdev led_cdev; > >+struct mutexmutex; > >+enum uleds_statestate; > >+wait_queue_head_t waitq; > >+unsigned char brightness; > > I've just noticed

Re: [PATCH 2/7] genirq/affinity: Handle pre/post vectors in irq_calc_affinity_vectors()

2016-11-08 Thread Hannes Reinecke
On 11/09/2016 02:15 AM, Christoph Hellwig wrote: Only calculate the affinity for the main I/O vectors, and skip the pre or post vectors specified by struct irq_affinity. Also remove the irq_affinity cpumask argument that has never been used. If we ever need it in the future we can pass it throug

Re: [PATCH 1/2] kernel: Move prctl and helpers from kernel/sys.c to new kernel/prctl.c

2016-11-08 Thread Cyrill Gorcunov
On Tue, Nov 08, 2016 at 04:18:13PM -0800, Josh Triplett wrote: > This prepares for making prctl optional. > > Signed-off-by: Josh Triplett > + ... > +static int prctl_set_mm_exe_file(struct mm_struct *mm, unsigned int fd) > +{ > + struct fd exe; > + struct file *old_exe, *exe_file; > +

Re: [PATCH] staging: iio: ad9832: allocate data before using

2016-11-08 Thread Eva Rachel Retuya
On Tue, Nov 08, 2016 at 03:00:49PM +0100, Arnd Bergmann wrote: > The regulator changes assigned data to an uninitialized pointer: > > drivers/staging/iio/frequency/ad9832.c: In function 'ad9832_probe': > drivers/staging/iio/frequency/ad9832.c:214:11: error: 'st' may be used > uninitialized in thi

Re: [PATCH v5 2/5] driver core: Functional dependencies tracking support

2016-11-08 Thread Greg Kroah-Hartman
On Tue, Nov 08, 2016 at 09:58:24PM +0100, Luis R. Rodriguez wrote: > > > Furthermore -- how does this framework compare to Andrzej's resource > > > tracking > > > solution? I confess I have not had a chance yet to review yet but in > > > light of > > > this question it would be good to know if An

Re: [PATCH] crypto: rsa: rename two rsa key files

2016-11-08 Thread yjin
Thanks for Herbert's reminder. I have drop this patch in a previous mail. Regards! Yanjiang On 2016年11月08日 20:09, Herbert Xu wrote: yanjiang@windriver.com wrote: From: Yanjiang Jin This is to eliminate the below compile error: crypto/rsa_helper.c:19:29: fatal error: rsaprivkey-asn1.h: N

[PATCH 1/2] rcu: Remove unnecessary condition in rcu_implicit_dynticks_qs

2016-11-08 Thread Byungchul Park
Given two conditions like, COND 1. jiffies >= rdp->rsp->gp_start + 2 * jiffies_till_sched_qs COND 2. jiffies >= rdp->rsp->gp_start + jiffies_till_sched_qs A set of jiffies satisfying COND 2 includes another set satisfying COND 1. Thus COND 1 can be removed from a condition, (COND 1 || COND 2). S

[PATCH 2/2] rcu: Force resched_cpu when jiffies >= rcu_state.jiffies_resched

2016-11-08 Thread Byungchul Park
Currently rcu code forces CPU into scheduler when jiffies >= rcu_state.gp_start + jiffies_till_sched_qs, via resched_cpu(). It would be better to force CPU into scheduler when jiffies >= rcu_state.jiffies_resched, too. Signed-off-by: Byungchul Park --- kernel/rcu/tree.c | 5 ++--- 1 file change

Re: [PATCH 1/3] kbuild: add -fno-PIE

2016-11-08 Thread Ingo Molnar
* Michal Marek wrote: > On Fri, Nov 04, 2016 at 07:39:38PM +0100, Sebastian Andrzej Siewior wrote: > > Debian started to build the gcc with -fPIE by default so the kernel > > build ends before it starts properly with: > > |kernel/bounds.c:1:0: error: code model kernel does not support PIC mode >

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-11-08 Thread Linus Torvalds
On Tue, Nov 8, 2016 at 7:54 PM, Feng Tang wrote: > On Wed, Nov 02, 2016 at 04:47:37AM +0800, Ville Syrjälä wrote: >> >> I left the thing running for the weekend and it failed 26 out of 16057 >> times with the 25ms timeout. Looks like it takes ~5 minutes to resume >> when it fails, but eventually i

Re: [PATCH] ASoC: lpass-platform: initialize dma channel number

2016-11-08 Thread Kenneth Westfield
On Tue, Nov 08, 2016 at 02:38:52PM +0100, Arnd Bergmann wrote: > A bugfix accidentally removed the implicit initialization of the > dma channel number, causing undefined behavior when > v->alloc_dma_channel is NULL: > > sound/soc/qcom/lpass-platform.c: In function ‘lpass_platform_pcmops_open’: > s

Re: [Resend][PATCH] cpufreq: conservative: Decrease frequency faster when the timer deferred

2016-11-08 Thread Viresh Kumar
On 08-11-16, 21:25, Stratos Karafotis wrote: > But this is the supposed behaviour of conservative governor. We want > the CPU to increase the frequency in steps. The patch just resets > the frequency to a lower frequency in case of idle. > > For argument's sake, let's assume that the governor time

[PATCH] cpupower: Warn if values are truncated in frequency-info

2016-11-08 Thread Akshay Adiga
frequency-info currently rounds the frequnecy values to 2 decimal places while printing "available frequency steps". Hence frequencies with 3rd decimal place being greater than 5 will be rounded to next higher number like 2.227GHz will be rounded to 2.23Ghz. On setting this frequency, using "cpupow

Re: [PATCH v2 00/12] mm: page migration enhancement for thp

2016-11-08 Thread Naoya Horiguchi
On Wed, Nov 09, 2016 at 01:32:04PM +1100, Balbir Singh wrote: > On 08/11/16 10:31, Naoya Horiguchi wrote: > > Hi everyone, > > > > I've updated thp migration patches for v4.9-rc2-mmotm-2016-10-27-18-27 > > with feedbacks for ver.1. > > > > General description (no change since ver.1) > > =

Re: [PATCH 0/3] add ION driver for STIh4xx SoC

2016-11-08 Thread Laura Abbott
On 11/08/2016 01:18 AM, Benjamin Gaignard wrote: > Ok so no more dev on ION but can we add ION drivers like hisilicon does ? > If we can agree upon bindings, yes I think it would make sense to have more platform support. Ideally, it would translate over to newer features as well. Thanks, Laura

linux-next: Tree for Nov 9

2016-11-08 Thread Stephen Rothwell
Hi all, Changes since 20161108: The drm-misc tree gained a build failure, so I used the version from next-20161108. The sound-asoc tree still had its build failure, so I used the version from next-20161028. The scsi-mkp tree gained conflicts against the block and scsi trees. The rtc tree lost

Re: support for partial irq affinity assignment V3

2016-11-08 Thread Jens Axboe
On 11/08/2016 06:15 PM, Christoph Hellwig wrote: This series adds support for automatic interrupt assignment to devices that have a few vectors that are set aside for admin or config purposes and thus should not fall into the general per-cpu assginment pool. The first patch adds that support to

[PATCH 04/11] mtd: nand: denali: remove detect_partition_feature()

2016-11-08 Thread Masahiro Yamada
The denali->fwblks is set by detect_partition_feature(), but it is not referenced from anywhere. That means the struct member fwblks and the whole of detect_partition_feature() are unneeded. The comment block implies this function is only for Intel platforms. I found drivers/staging/spectra used

[PATCH 01/11] mtd: nand: denali: remove unneeded includes

2016-11-08 Thread Masahiro Yamada
The driver calls devm_kzalloc()/devm_kfree() to allocate/free memory. They are declared in , not in . Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 1 - drivers/mtd/nand/denali_dt.c | 1 - drivers/mtd/nand/denali_pci.c | 1 - 3 files changed, 3 deletions(-) diff --git a/d

[PATCH 02/11] mtd: nand: denali: remove unused struct member denali_nand_info::idx

2016-11-08 Thread Masahiro Yamada
The struct member "idx" was used as an index for debug_array long ago, but the DEBUG_DENALI feature was removed by commit 7cfffac06ca0 ("nand/denali: use dev_xx debug function to replace nand_dbg_print and some printk"). Since then, this has been only initialized, but never referenced. Signed-off

[PATCH 03/11] mtd: nand: denali: remove bogus comment about interrupt handler setup

2016-11-08 Thread Masahiro Yamada
The interrupt handler is setup in denali_init(), not in denali_drv_init(). This comment is false. Such a comment adds no value, so just delete it instead of move. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/nand/d

[PATCH 00/11] mtd: nand: denali: first round of cleanups of Denali NAND driver

2016-11-08 Thread Masahiro Yamada
I am tackling on this driver to use it for my SoCs. The difficulty is a bunch of platform specific stuff (more specifically, Intel MRST specific) is hard-coded in this driver. I need lots of rework to utilize the driver for generic cases, but at the same time, I found the driver code is really di

[PATCH 05/11] mtd: nand: denali: remove "Spectra:" prefix from printk strings

2016-11-08 Thread Masahiro Yamada
As far as I understood from the Kconfig menu deleted by commit be7f39c5ecf5 ("Staging: delete spectra driver"), the "Spectra" is specific to Intel Moorestown Platform. The Denali NAND controller IP is used for various SoCs such as Altera SOCFPGA, Socionext UniPhier, etc. The platform specific str

[PATCH 06/11] mtd: nand: denali: remove unused struct member totalblks, blksperchip

2016-11-08 Thread Masahiro Yamada
The denali->blksperchip is set, but not referenced any more. The denali->totalblks is used only for calculating denali->blksperchip. Both of them are unneeded. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 8 drivers/mtd/nand/denali.h | 2 -- 2 files changed, 10 delet

[PATCH 08/11] mtd: nand: denali: return error code from devm_request_irq() on error

2016-11-08 Thread Masahiro Yamada
The devm_request_irq() returns an appropriate error value when it fails. Use it instead of the fixed -ENODEV. While we are here, reword the comment to make it fit in a single line, fixing the misspelling of "initialization". Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 12 ++

[PATCH 10/11] mtd: nand: denali: remove unneeded parentheses

2016-11-08 Thread Masahiro Yamada
Remove parentheses surrounding the whole right side of an assignment. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index d482d8d..14e66ab 1006

[PATCH 09/11] mtd: nand: denali: return error code from nand_scan_ident/tail on error

2016-11-08 Thread Masahiro Yamada
The nand_scan_ident/tail() returns an appropriate error value when it fails. Use it instead of the fixed -ENXIO. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/n

[PATCH 11/11] mtd: nand: denali: remove debug lines of __FILE__, __LINE__, __func__

2016-11-08 Thread Masahiro Yamada
Such debug lines might be useful when debugging the driver first, but should be deleted from the upstream code. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c ind

[PATCH 07/11] mtd: nand: denali: use managed devm_irq_request()

2016-11-08 Thread Masahiro Yamada
Use the managed variant instead of request_irq() and free_irq(). Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/denali.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index 548278b..44e075a 100644 --- a/driver

Re: [PATCH 0/4] x86: enable User-Mode Instruction Prevention

2016-11-08 Thread Ricardo Neri
On Tue, 2016-11-08 at 07:34 -0800, Andy Lutomirski wrote: > > Would it not be better to emulate these instructions for them? What > way > > we can verify they're not malicious. > > Forget malice -- if they are really needed for some silly vm86-using > program, let's trap them and emulate them so t

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-08 Thread Anurup M
On Tuesday 08 November 2016 08:38 PM, Arnd Bergmann wrote: On Tuesday, November 8, 2016 7:16:30 PM CET Anurup M wrote: If these are backwards compatible, just mark them as compatible in DT, e.g. hip06 can use compatible = "hisilicon,hip06-cpu-djtag-v1", "hisilicon,hip05-cpu-djtag-v1"; so

Re: [PATCH 2/4] x86: Prepare vm86 tasks to handle User-Mode Instruction Prevention

2016-11-08 Thread Ricardo Neri
On Tue, 2016-11-08 at 18:00 +0100, Peter Zijlstra wrote: > > > + } > > > +#endif > > > + > > > > NAK. If this code is going to exist, it needs to be deeply buried > in > > some unlikely if statement that already exists. There's no good > > reason to penalize all context switches to support

Re: [PATCH 0/4] x86: enable User-Mode Instruction Prevention

2016-11-08 Thread Ricardo Neri
On Tue, 2016-11-08 at 17:52 +0100, Thomas Gleixner wrote: > On Tue, 8 Nov 2016, Andy Lutomirski wrote: > > On Tue, Nov 8, 2016 at 5:16 AM, Peter Zijlstra wrote: > > > On Mon, Nov 07, 2016 at 10:12:09PM -0800, Ricardo Neri wrote: > > >> There is a caveat, however. Certain applications running in vi

Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention definitions

2016-11-08 Thread Ricardo Neri
On Tue, 2016-11-08 at 07:32 -0800, Andy Lutomirski wrote: > > diff --git a/arch/x86/include/asm/disabled-features.h > b/arch/x86/include/asm/disabled-features.h > > index 85599ad..4707445 100644 > > --- a/arch/x86/include/asm/disabled-features.h > > +++ b/arch/x86/include/asm/disabled-features.h >

linux-next: manual merge of the akpm tree with the jc_docs tree

2016-11-08 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in: Documentation/admin-guide/kernel-parameters.rst between commit: e52347bd66f6 ("Documentation/admin-guide: split the kernel parameter list to a separate file") from the jc_docs tree and patch: "ima: define a canonic

Re: [PATCH 3.12 00/72] 3.12.67-stable review

2016-11-08 Thread Guenter Roeck
On 11/08/2016 07:40 AM, Jiri Slaby wrote: On 11/07/2016, 06:16 PM, Guenter Roeck wrote: On 11/07/2016 05:04 AM, Jiri Slaby wrote: This is the start of the stable review cycle for the 3.12.67 release. There are 72 patches in this series, all will be posted as a response to this one. If anyone h

linux-next: build warning after merge of the akpm-current tree

2016-11-08 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: mm/hugetlb.c:1166:21: warning: 'alloc_gigantic_page' defined but not used [-Wunused-function] static struct page *alloc_gigantic_page(int nid, unsigned int order)

Re: [PATCH v4 0/3] Make core_pattern support namespace

2016-11-08 Thread Cao Shufeng/曹树烽
ping 在 2016-10-25二的 15:28 +0800,Cao Shufeng写道: > This patchset includes following function points: > 1: Let usermodehelper function possible to set pid namespace >done by: [PATCH v4 1/3] Make call_usermodehelper_exec possible >to set pid namespace. > 2: Let pipe_type core_pattern write dump

drm/bridge: analogix_dp: clear psr_support when disable_bridge

2016-11-08 Thread Caesar Wang
From: zain wang Don't run psr work during enabling bridge when you restart ui, it may make link training fail since there is a race between them in AUX CH resource. Signed-off-by: zain wang Signed-off-by: Caesar Wang Cc: Tomeu Vizoso Cc: dri-de...@lists.freedesktop.org Cc: Sean Paul --- BTW

Re: [lustre-devel] [PATCH] staging: lustre: ldlm: pl_recalc time handling is wrong

2016-11-08 Thread Dilger, Andreas
On Nov 7, 2016, at 19:47, James Simmons wrote: > > The ldlm_pool field pl_recalc_time is set to the current > monotonic clock value but the interval period is calculated > with the wall clock. This means the interval period will > always be far larger than the pl_recalc_period, which is > just a

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-11-08 Thread Feng Tang
On Wed, Nov 02, 2016 at 04:47:37AM +0800, Ville Syrjälä wrote: > On Fri, Oct 28, 2016 at 08:58:41PM +0200, Thomas Gleixner wrote: > > On Fri, 28 Oct 2016, Ville Syrjälä wrote: > > > On Thu, Oct 27, 2016 at 10:41:18PM +0200, Thomas Gleixner wrote: > > > > On Thu, 27 Oct 2016, Ville Syrjälä wrote: >

[v16, 7/7] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-11-08 Thread Yangbo Lu
The eSDHC of T4240-R1.0-R2.0 has incorrect vender version and spec version. Acturally the right version numbers should be VVN=0x13 and SVN = 0x1. This patch adds the GUTS driver support for eSDHC driver to match SoC. And fix host version to avoid that incorrect version numbers break down the ADMA d

[v16, 2/7] dt: bindings: move guts devicetree doc out of powerpc directory

2016-11-08 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu Acked-by: Rob Herring Acked-by: Scott Wood Acked-by: Arnd Bergmann --- Changes for v4:

[v16, 6/7] base: soc: Check for NULL SoC device attributes

2016-11-08 Thread Yangbo Lu
From: Geert Uytterhoeven If soc_device_match() is used to check the value of a specific attribute that is not present for the current SoC, the kernel crashes with a NULL pointer dereference. Fix this by explicitly checking for the absence of a needed property, and considering this a non-match.

Re: [PATCH 0/2] Support compiling out the prctl syscall

2016-11-08 Thread Josh Triplett
On Wed, Nov 09, 2016 at 01:26:53AM +0100, Arnd Bergmann wrote: > On Tuesday, November 8, 2016 4:17:47 PM CET Josh Triplett wrote: > > Some embedded systems can do without the prctl syscall, saving some space. > > > > This also avoids regular increases in tinyconfig size as people add more > > non-

[PATCH v6] PM/devfreq: add suspend frequency support

2016-11-08 Thread Lin Huang
Add suspend frequency support and if needed set it to the frequency obtained from the suspend opp (can be defined using opp-v2 bindings and is optional). Signed-off-by: Lin Huang --- Changes in v2: - use update_devfreq() instead devfreq_update_status() Changes in v3: - fix build error Changes in

[PATCH] mwifiex: fix memory leak in mwifiex_save_hidden_ssid_channels()

2016-11-08 Thread Ricky Liang
kmemleak reports memory leak in mwifiex_save_hidden_ssid_channels(): unreferenced object 0xffc0a2914780 (size 192): comm "ksdioirqd/mmc2", pid 2004, jiffies 4307182506 (age 820.684s) hex dump (first 32 bytes): 00 06 47 49 4e 2d 32 67 01 03 c8 60 6c 03 01 40 ..GIN-2g...`l..@ 07 10

Re: [PATCH v11 15/22] vfio: Introduce vfio_set_irqs_validate_and_prepare()

2016-11-08 Thread Alex Williamson
On Wed, 9 Nov 2016 14:07:58 +1100 Alexey Kardashevskiy wrote: > On 09/11/16 07:22, Kirti Wankhede wrote: > > On 11/8/2016 2:16 PM, Alexey Kardashevskiy wrote: > >> On 05/11/16 08:10, Kirti Wankhede wrote: > >>> Vendor driver using mediated device framework would use same mechnism to > >>> vali

Re: net/sctp: null-ptr-deref in sctp_inet_listen

2016-11-08 Thread Xin Long
On Wed, Nov 9, 2016 at 2:46 AM, Andrey Konovalov wrote: > Hi Xin, > > Your patch seems to be fixing the issue. > > Tested-by: Andrey Konovalov > > Thanks! > > On Tue, Nov 8, 2016 at 11:06 AM, Xin Long wrote: >> On Tue, Nov 8, 2016 at 5:44 AM, Andrey Konovalov >> wrote: >>> Hi, >>> >>> I've got

[v16, 4/7] MAINTAINERS: add entry for Freescale SoC drivers

2016-11-08 Thread Yangbo Lu
Add maintainer entry for Freescale SoC drivers including the QE library and the GUTS driver now. Also add maintainer for QE library. Signed-off-by: Yangbo Lu Acked-by: Scott Wood Acked-by: Qiang Zhao Acked-by: Arnd Bergmann --- Changes for v8: - Added this patch Changes for v9:

[v16, 1/7] ARM64: dts: ls2080a: add device configuration node

2016-11-08 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu Acked-by: Scott Wood Acked-by: Arnd Bergmann --- Changes for v5: - Added this patch Changes for v6: - None Changes for v7: - Non

[v16, 3/7] soc: fsl: add GUTS driver for QorIQ platforms

2016-11-08 Thread Yangbo Lu
The global utilities block controls power management, I/O device enabling, power-onreset(POR) configuration monitoring, alternate function selection for multiplexed signals,and clock control. This patch adds a driver to manage and access global utilities block. Initially only reading SVR and regis

[v16, 5/7] base: soc: introduce soc_device_match() interface

2016-11-08 Thread Yangbo Lu
From: Arnd Bergmann We keep running into cases where device drivers want to know the exact version of the a SoC they are currently running on. In the past, this has usually been done through a vendor specific API that can be called by a driver, or by directly accessing some kind of version regist

[v16, 0/7] Fix eSDHC host version register bug

2016-11-08 Thread Yangbo Lu
This patchset is used to fix a host version register bug in the T4240-R1.0-R2.0 eSDHC controller. To match the SoC version and revision, 15 previous version patchsets had tried many methods but all of them were rejected by reviewers. Such as - dts compatible method - syscon method

Re: [PATCH v11 15/22] vfio: Introduce vfio_set_irqs_validate_and_prepare()

2016-11-08 Thread Alexey Kardashevskiy
On 09/11/16 07:22, Kirti Wankhede wrote: > > > On 11/8/2016 2:16 PM, Alexey Kardashevskiy wrote: >> On 05/11/16 08:10, Kirti Wankhede wrote: >>> Vendor driver using mediated device framework would use same mechnism to >>> validate and prepare IRQs. Introducing this function to reduce code >>> rep

linux-next: manual merge of the scsi-mkp tree with the scsi tree

2016-11-08 Thread Stephen Rothwell
Hi Martin, Today's linux-next merge of the scsi-mkp tree got a conflict in: drivers/scsi/ufs/ufs-qcom.c Again this is caused by the rebase of the scsi-mkp tree (including commits already in the scsi tree) followed by more changes to this file. I fixed it up (I used the scsi-mkp tree version)

linux-next: manual merge of the scsi-mkp tree with the block tree

2016-11-08 Thread Stephen Rothwell
Hi Martin, Today's linux-next merge of the scsi-mkp tree got conflicts in: drivers/scsi/ufs/ufshcd.c between commit: e806402130c9 ("block: split out request-only flags into a new namespace") from the block tree and commit: dcea0bfbc4cb ("scsi: ufs: fix sense buffer size to 18 bytes") f

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-08 Thread Don Dutile
On 11/08/2016 06:35 PM, Alex Williamson wrote: On Tue, 8 Nov 2016 21:29:22 +0100 Christoffer Dall wrote: Hi Will, On Tue, Nov 08, 2016 at 02:45:59AM +, Will Deacon wrote: Hi all, I figured this was a reasonable post to piggy-back on for the LPC minutes relating to guest MSIs on arm64.

[PATCH] acpi: remove redundant declare of acpi_table_parse_entries

2016-11-08 Thread Longpeng(Mike)
This function declared twice, so remove one. Signed-off-by: Longpeng(Mike) --- include/linux/acpi.h | 4 1 file changed, 4 deletions(-) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 689a8b9..017849e 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -220,10 +2

[PATCH] arm/arm64: KVM: clean up useless code in kvm_timer_enable

2016-11-08 Thread Longpeng(Mike)
1) Since commit:41a54482 changed timer enabled variable to per-vcpu, the correlative comment in kvm_timer_enable is useless now. 2) After the kvm module init successfully, the timecounter is always non-null, so we can remove the checking of timercounter. Signed-off-by: Longpeng(Mike) ---

[PATCH] ARM: dts: imx7d-pinfunc: fix UART pinmux defines

2016-11-08 Thread Stefan Agner
The UART pinmux defines for the pins which are part of the LPSR pinmux controller are wrong: Output signals configure the input sel value and the pinmux defines allow not to distinguish between DCE/DTE mode. Follow the usual pattern using DTE/DCE as part of the define to denote the two UART configu

Re: aio fixes for use after free and freeze protection

2016-11-08 Thread Christoph Hellwig
Al, did you get a chance to send this series (or at very least patch 1 which is the most critical) to Linus? I'd hate to miss another rc for the use after free fix.

Re: [PATCH v7 3/3] drm/fence: add out-fences support

2016-11-08 Thread Gustavo Padovan
2016-11-08 Daniel Vetter : > On Tue, Nov 08, 2016 at 03:54:50PM +0900, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Support DRM out-fences by creating a sync_file with a fence for each CRTC > > that sets the OUT_FENCE_PTR property. > > > > We use the out_fence pointer received in th

Re: [PATCH v3] PM / devfreq: Restart previous governor if new governor fails to start

2016-11-08 Thread Chanwoo Choi
On 2016년 11월 09일 11:36, Chanwoo Choi wrote: > Hi, > > On 2016년 11월 09일 10:33, Chanwoo Choi wrote: >> On 2016년 11월 09일 05:52, Saravana Kannan wrote: >>> On 11/08/2016 01:02 AM, Chanwoo Choi wrote: Hi, On 2016년 11월 08일 03:57, Saravana Kannan wrote: > On 10/26/2016 05:06 PM, Chanwo

Re: [PATCH v3] PM / devfreq: Restart previous governor if new governor fails to start

2016-11-08 Thread Chanwoo Choi
Hi, On 2016년 11월 09일 10:33, Chanwoo Choi wrote: > On 2016년 11월 09일 05:52, Saravana Kannan wrote: >> On 11/08/2016 01:02 AM, Chanwoo Choi wrote: >>> Hi, >>> >>> On 2016년 11월 08일 03:57, Saravana Kannan wrote: On 10/26/2016 05:06 PM, Chanwoo Choi wrote: > Hi, > > On 2016년 10월 27일 04:

Re: [PATCH v2 00/12] mm: page migration enhancement for thp

2016-11-08 Thread Balbir Singh
On 08/11/16 10:31, Naoya Horiguchi wrote: > Hi everyone, > > I've updated thp migration patches for v4.9-rc2-mmotm-2016-10-27-18-27 > with feedbacks for ver.1. > > General description (no change since ver.1) > === > > This patchset enhances page migration

[PATCH v5] phy: rcar-gen3-usb2: add sysfs for usb role swap

2016-11-08 Thread Yoshihiro Shimoda
This patch adds sysfs "role" for usb role swap. This parameter can be read and write. If you use this file as the following, you can swap the usb role. For example: 1) Connect a usb cable using 2 Salvator-x boards 2) On A-Device (ID pin is low), you input the following command: # echo periphe

[PATCH] mwifiex: printk() overflow with 32-byte SSIDs

2016-11-08 Thread Brian Norris
SSIDs aren't guaranteed to be 0-terminated. Let's cap the max length when we print them out. This can be easily noticed by connecting to a network with a 32-octet SSID: [ 3903.502925] mwifiex_pcie :01:00.0: info: trying to associate to '0123456789abcdef0123456789abcdef ' bssid xx:xx:xx:xx:xx:

Re: [PATCH] MAINTAINERS: Claim atomic*_t maintainership

2016-11-08 Thread Boqun Feng
On Tue, Nov 08, 2016 at 04:43:11PM +, Will Deacon wrote: > On Tue, Nov 08, 2016 at 03:06:03PM +0100, Peter Zijlstra wrote: > > > > Since Will and me have rewritten and heavily extended the atomic*_t > > infrastructure over the past few years, claim ownership of it. > > > > We would also like

Re: [PATCH v11 13/22] vfio: Introduce common function to add capabilities

2016-11-08 Thread Alexey Kardashevskiy
On 09/11/16 08:42, Alex Williamson wrote: > On Wed, 9 Nov 2016 02:16:17 +0530 > Kirti Wankhede wrote: > >> On 11/8/2016 12:59 PM, Alexey Kardashevskiy wrote: >>> On 05/11/16 08:10, Kirti Wankhede wrote: Vendor driver using mediated device framework should use vfio_info_add_capability(

Re: [PATCH v2 0/2] arm64: fix the bugs found in the hugetlb test

2016-11-08 Thread Huang Shijie
Hi Will & Catalin, On Tue, Nov 08, 2016 at 04:36:43PM +, Will Deacon wrote: > On Tue, Nov 08, 2016 at 02:09:09PM +, Catalin Marinas wrote: > > On Tue, Nov 08, 2016 at 01:44:37PM +0800, Huang Shijie wrote: > > > (3) The test result in the Softiron and Juno-r1 boards: > > > > > >This de

[PATCH 2/3] mtd: use min_t() to refactor mtd_ooblayout_{get,set}_bytes()

2016-11-08 Thread Masahiro Yamada
I hope this will make the code a little more readable. Signed-off-by: Masahiro Yamada --- drivers/mtd/mtdcore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index cf85f2b..ca6a89a 100644 --- a/drivers/mtd/mtdcore.c +++ b/d

[PATCH 1/3] mtd: remove unneeded initializer in mtd_ooblayout_{get,set}_bytes()

2016-11-08 Thread Masahiro Yamada
There is no need to initialize oobregion and section since they will be filled by mtd_ooblayout_find_region(). Signed-off-by: Masahiro Yamada --- drivers/mtd/mtdcore.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index

[PATCH 0/3] mtd: some minor cleanups for ooblayout APIs

2016-11-08 Thread Masahiro Yamada
- Remove unnecessary initializers - Use min_t() helper Masahiro Yamada (3): mtd: remove unneeded initializer in mtd_ooblayout_{get,set}_bytes() mtd: use min_t() to refactor mtd_ooblayout_{get,set}_bytes() mtd: remove unneeded initializer in mtd_ooblayout_count_bytes() drivers/mtd/mtdcore

[PATCH 3/3] mtd: remove unneeded initializer in mtd_ooblayout_count_bytes()

2016-11-08 Thread Masahiro Yamada
There is no need to initialize oobregion since it will be filled by the iterator. This function is called with mtd_ooblayout_free or mtd_ooblayout_ecc for the iterator; both of them calls memset() to clear the oobregion. Signed-off-by: Masahiro Yamada --- drivers/mtd/mtdcore.c | 2 +- 1 file c

RE: [PATCH v4] phy: rcar-gen3-usb2: add sysfs for usb role swap

2016-11-08 Thread Yoshihiro Shimoda
Hi Peter-san, > From: Peter Chen > Sent: Wednesday, November 09, 2016 10:39 AM > > On Tue, Nov 08, 2016 at 08:14:58PM +0900, Yoshihiro Shimoda wrote: > > This patch adds sysfs "role" for usb role swap. This parameter can be > > read and write. If you use this file as the following, you can swap >

RE: [PATCH v4] PM/devfreq: add suspend frequency support

2016-11-08 Thread MyungJoo Ham
> Add suspend frequency support and if needed set it to > the frequency obtained from the suspend opp (can be defined > using opp-v2 bindings and is optional). > > Signed-off-by: Lin Huang > --- > Changes in v2: > - use update_devfreq() instead devfreq_update_status() > Changes in v3: > - fix bui

Re: task isolation discussion at Linux Plumbers

2016-11-08 Thread Paul E. McKenney
On Sat, Nov 05, 2016 at 12:04:45AM -0400, Chris Metcalf wrote: > A bunch of people got together this week at the Linux Plumbers > Conference to discuss nohz_full, task isolation, and related stuff. > (Thanks to Thomas for getting everyone gathered at one place and time!) > > Here are the notes I t

Re: [PATCH v4] phy: rcar-gen3-usb2: add sysfs for usb role swap

2016-11-08 Thread Peter Chen
On Tue, Nov 08, 2016 at 08:14:58PM +0900, Yoshihiro Shimoda wrote: > This patch adds sysfs "role" for usb role swap. This parameter can be > read and write. If you use this file as the following, you can swap > the usb role. > > For example: > 1) Connect a usb cable using 2 Salvator-x boards > 2

Re: [PATCH 5/7] pci/msi: Provide pci_alloc_irq_vectors_affinity()

2016-11-08 Thread Christoph Hellwig
And the subject for this should be PCI/MSI like for the others, sorry.

Re: [v2] cw1200: Don't leak memory if krealloc failes

2016-11-08 Thread Kalle Valo
Johannes Thumshirn wrote: > The call to krealloc() in wsm_buf_reserve() directly assigns the newly > returned memory to buf->begin. This is all fine except when krealloc() > failes we loose the ability to free the old memory pointed to by > buf->begin. If we just create a temporary variable to ass

Re: [PATCH] Change the document about iowait

2016-11-08 Thread Chao Fan
ping Thanks, Chao Fan On Wed, Oct 26, 2016 at 10:41:28AM +0800, Chao Fan wrote: >The iowait is not reliable by reading from /proc/stat, so this >method to get iowait is not suggested. And we mark it in the >document. > >Signed-off-by: Cao Jin >Signed-off-by: Chao Fan >--- > Documentation/filesy

  1   2   3   4   5   6   7   8   9   10   >