[PATCH 1/1] timer_list: remove useless cast when printing

2017-02-08 Thread Mars Cheng
hrtimer_resolution is already unsigned int, not necessary to cast it when printing. Signed-off-by: Mars Cheng --- kernel/time/timer_list.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c index afe6cd1..dbc37e0 100644 ---

Re: [PATCH 0/8] usb: dwc3: add dual-role support

2017-02-08 Thread Vivek Gautam
Hi Roger, On Mon, Jan 23, 2017 at 4:49 PM, Roger Quadros wrote: > Hi, > > We rely on the OTG controller block to provide us with > VBUS and ID line status via an interrupt. > > This is then used to switch the controller between host, peripheral > and idle roles based on the following table. > >

Re: [PATCH 0/8] usb: dwc3: add dual-role support

2017-02-08 Thread Roger Quadros
Vivek, On 09/02/17 08:42, Vivek Gautam wrote: > Hi Roger, > > On Mon, Jan 23, 2017 at 4:49 PM, Roger Quadros wrote: >> Hi, >> >> We rely on the OTG controller block to provide us with >> VBUS and ID line status via an interrupt. >> >> This is then used to switch the controller between host, peri

Re: [PATCH 1/3] mm: Define coherent device memory (CDM) node

2017-02-08 Thread kbuild test robot
Hi Anshuman, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc7] [cannot apply to mmotm/master next-20170208] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Anshuman

Re: [PATCH -next] rtc: sun6i: Fix return value check in sun6i_rtc_clk_init()

2017-02-08 Thread Maxime Ripard
On Thu, Feb 09, 2017 at 12:16:13AM +, Wei Yongjun wrote: > From: Wei Yongjun > > In case of error, the function of_io_request_and_map() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check should > be replaced with IS_ERR(). > > Fixes: 847b8bf62eb4 ("rtc: sun6i

Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability

2017-02-08 Thread Lu Baolu
Hi Ingo, On 01/26/2017 03:22 PM, Ingo Molnar wrote: > * Lu Baolu wrote: > >> Hi, >> >> On 01/25/2017 10:38 PM, Peter Zijlstra wrote: >>> On Wed, Jan 25, 2017 at 08:27:38PM +0800, Lu Baolu wrote: In my driver, udelay() is mostly used to handle time out. Xdbc hides most USB things in

Re: [PATCH] proc/sysctl: drop unregistered stale dentries as soon as possible

2017-02-08 Thread Konstantin Khlebnikov
On Thu, Feb 9, 2017 at 6:53 AM, Al Viro wrote: > On Wed, Feb 08, 2017 at 01:48:04PM -0800, Andrew Morton wrote: > >> > This patch detects stale dentry in proc_sys_compare and pretends that >> > it has matching name - revalidation will kill it and lookup restarts. >> > As a result each stale dentry

RE: Boot regression (was "Re: [PATCH] genhd: Do not hold event lock when scheduling workqueue elements")

2017-02-08 Thread Dexuan Cui
> From: h...@lst.de [mailto:h...@lst.de] > Sent: Thursday, February 9, 2017 02:03 > To: Jens Axboe > Cc: Dexuan Cui ; Bart Van Assche > ; h...@suse.com; h...@suse.de; Martin K. > Petersen ; h...@lst.de; linux- > ker...@vger.kernel.org; linux-bl...@vger.kernel.org; j...@kernel.org > Subject: Re: Bo

Re: [PATCH v2 1/2] fork: free vmapped stacks in cache when cpus are offline

2017-02-08 Thread kbuild test robot
Hi Hoeun, [auto build test ERROR on next-20170208] [also build test ERROR on v4.10-rc7] [cannot apply to linus/master linux/master v4.9-rc8 v4.9-rc7 v4.9-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH 00/10] fujitsu-laptop: renames and cleanups

2017-02-08 Thread Michał Kępień
> Hi Michael > > Thanks very much for the work you've put in to clean up these patches. I > very much appreciate it. I will go through them myself in the next day or > so, and most importantly test them on my hardware to confirm there are no > regressions. Thanks! I did my best to keep track o

[PATCH] arm64: dts: hisilicon: add dts files for hi3798cv200-poplar board

2017-02-08 Thread Jiancheng Xue
Add basic dts files for hi3798cv200-poplar board. Poplar is the first development board compliant with the 96Boards Enterprise Edition TV Platform specification. The board features the Hi3798CV200 with an integrated quad-core 64-bit ARM Cortex A53 processor and high performance Mali T720 GPU. Sign

[PATCH 0/4] Whitespace checkpatch fixes

2017-02-08 Thread Tobin C. Harding
This patch set fixes various whitespace checkpatch errors and warnings. Tobin C. Harding (4): net: Fix checkpatch WARNING: please, no space before tabs net: Fix checkpatch whitespace errors net: Fix checkpatch block comments warnings net: Fix checkpatch, Missing a blank line after declarat

ATENCIÓN;

2017-02-08 Thread administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de corre

[no subject]

2017-02-08 Thread Venkat Subbiah
hi Linux http://CosmicHarvestFarm.com/environment.php?test=h24hz07rxu1f Venkat

Re: tip: demise of tsk_cpus_allowed() and tsk_nr_cpus_allowed()

2017-02-08 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Feb 08, 2017 at 11:20:19AM +0100, Thomas Gleixner wrote: > > On Mon, 6 Feb 2017, Ingo Molnar wrote: > > > * Peter Zijlstra wrote: > > > > > > > > cpumasks are a pain, the above avoids allocating more of them. > > > > Indeed. > > > > > Yeah, so this could then

[PATCH 4/4] net: Fix checkpatch, Missing a blank line after declarations

2017-02-08 Thread Tobin C. Harding
This patch fixes multiple occurrences of checkpatch WARNING: Missing a blank line after declarations. Signed-off-by: Tobin C. Harding --- net/core/dev.c | 13 + 1 file changed, 13 insertions(+) diff --git a/net/core/dev.c b/net/core/dev.c index 6a076a1..fa63485 100644 --- a/net/core

[PATCH 1/4] net: Fix checkpatch WARNING: please, no space before tabs

2017-02-08 Thread Tobin C. Harding
This patch fixes multiple occurrences of space before tabs warnings. More lines of code were moved than required to keep kernel-doc comments uniform. Signed-off-by: Tobin C. Harding --- net/core/dev.c | 142 - 1 file changed, 71 insertions(

[PATCH 2/4] net: Fix checkpatch whitespace errors

2017-02-08 Thread Tobin C. Harding
This patch fixes two trivial whitespace errors. Brace should be on the previous line and trailing statements should be on next line. Signed-off-by: Tobin C. Harding --- net/core/dev.c | 39 --- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/ne

[PATCH 3/4] net: Fix checkpatch block comments warnings

2017-02-08 Thread Tobin C. Harding
Fix multiple occurrences of checkpatch warning. WARNING: Block comments use * on subsequent lines. Also make comment blocks more uniform. Signed-off-by: Tobin C. Harding --- net/core/dev.c | 65 +- 1 file changed, 33 insertions(+), 32 delet

Re: [PATCH v2] mm/zsmalloc: fix comment in zsmalloc

2017-02-08 Thread Sergey Senozhatsky
On (02/09/17 14:13), Yisheng Xie wrote: > The class index and fullness group are not encoded in (first)page->mapping > any more, after commit 3783689a1aa8 ("zsmalloc: introduce zspage > structure"). Instead, they are store in struct zspage. Just delete this > unneeded comment. > > Signed-off-by: Y

[PATCH] Documentation: input: fix path to input code definitions

2017-02-08 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger --- Documentation/input/input.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/input/input.txt b/Documentation/input/input.txt index 0acfddb..7ebce10 100644 --- a/Documentation/input/input.txt +++ b/Documentation/input/inpu

Re: [PATCH 1/1] Ddrivers: hv: Turn off write permission on the hypercall page

2017-02-08 Thread Greg KH
On Wed, Feb 08, 2017 at 06:30:56PM -0700, k...@exchange.microsoft.com wrote: > From: K. Y. Srinivasan > > The hypercall page only needs to be executable but currently it is setup to > be writable as well. Fix the issue. > > Signed-off-by: K. Y. Srinivasan > Cc: What type of bug is this fixing

linux-next: Tree for Feb 9

2017-02-08 Thread Stephen Rothwell
Hi all, Changes since 20170208: The l2mtd-tree gained a build failure so I used the version from next-20170208. The input tree gained a conflict against the input-current tree. The kvm tree lost its build failure. The kvm-ppc tree gained conflicts against the powerpc tree. Non-merge commits

Re: tip: demise of tsk_cpus_allowed() and tsk_nr_cpus_allowed()

2017-02-08 Thread Ingo Molnar
* Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > On Wed, Feb 08, 2017 at 11:20:19AM +0100, Thomas Gleixner wrote: > > > On Mon, 6 Feb 2017, Ingo Molnar wrote: > > > > * Peter Zijlstra wrote: > > > > > > > > > > cpumasks are a pain, the above avoids allocating more of them. > > > > > >

Re: [PATCH 00/10] fujitsu-laptop: renames and cleanups

2017-02-08 Thread Michał Kępień
> Regarding ACPI case and device presents you may assume it if you just call > acpi_walk_namespace() (AFAIU) and check _STA for the device if it's in > the table. > > So, at any point you may have got understanding if device is present > or not, and if it's active or not. Thank you for the tip, t

[PATCH for-4.10] pstore: don't OOPS when there are no ftrace zones

2017-02-08 Thread Brian Norris
We'll OOPS in ramoops_get_next_prz() if the platform didn't ask for any ftrace zones (i.e., cxt->fprzs will be NULL). Let's just skip this entire FTRACE section if there's no 'fprzs'. Regression seen on a coreboot/depthcharge-based Chromebook. Fixes: 2fbea82bbb89 ("pstore: Merge per-CPU ftrace re

Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize()

2017-02-08 Thread Greg Kroah-Hartman
On Wed, Feb 08, 2017 at 08:31:26PM -0700, Alden Tondettar wrote: > In short, the situation is: > > A) No usable hardware RNG or arch_get_random() (or we don't trust it...) Wait, why would you not trust arch_get_random()? Is it broken somehow on some arches? If so, why not fix that as well? tha

[PATCH 2/2] powerpc/mm/autonuma: Switch ppc64 to its own implementeation of saved write

2017-02-08 Thread Aneesh Kumar K.V
With this our protnone becomes a present pte with READ/WRITE/EXEC bit cleared. By default we also set _PAGE_PRIVILEGED on such pte. This is now used to help us identify a protnone pte that as saved write bit. For such pte, we will clear the _PAGE_PRIVILEGED bit. The pte still remain non-accessible

Re: [PATCH] platform/x86: intel_pmc_ipc: read s0ix residency API

2017-02-08 Thread Rajneesh Bhardwaj
On Mon, Feb 06, 2017 at 05:09:51AM -0800, Shanth Murthy wrote: > This patch adds a new API to indicate S0ix residency in usec. It utilizes > the PMC Global Control Registers (GCR) to read deep and shallow > S0ix residency. > > PMC MMIO resources: > o Lower 4kB: IPC1 (PMC inter-processor co

Re: [PATCH V2 2/7] mm: move MADV_FREE pages into LRU_INACTIVE_FILE list

2017-02-08 Thread Hillf Danton
On February 04, 2017 2:38 PM Hillf Danton wrote: > > On February 04, 2017 7:33 AM Shaohua Li wrote: > > @@ -1404,6 +1401,8 @@ bool madvise_free_huge_pmd(struct mmu_gather *tlb, > > struct vm_area_struct *vma, > > set_pmd_at(mm, addr, pmd, orig_pmd); > > tlb_remove_pmd_tl

Re: [PATCH] mm, page_alloc: only use per-cpu allocator for irq-safe requests -fix v2

2017-02-08 Thread Hillf Danton
On February 08, 2017 11:22 PM Mel Gorman wrote: > > preempt_enable_no_resched() was used based on review feedback that had > no strong objection at the time. The thinking was that it avoided adding > a preemption point where one didn't exist before so the feedback was > applied. This reasoning w

Re: [PATCH v7 0/5] Update LZ4 compressor module

2017-02-08 Thread Eric Biggers
Also I noticed another bug, this time in LZ4_count(): > #if defined(CONFIG_64BIT) > #define LZ4_ARCH64 1 > #else > #define LZ4_ARCH64 0 > #endif ... > #ifdef LZ4_ARCH64 >if ((pIn < (pInLimit-3)) >&& (LZ4_read32(pMatch) == LZ4_read32(pIn))) { >pIn += 4; pMatc

[PATCH] mm: remove shmem_mapping() shmem_zero_setup() duplicates

2017-02-08 Thread Hugh Dickins
Remove the prototypes for shmem_mapping() and shmem_zero_setup() from linux/mm.h, since they are already provided in linux/shmem_fs.h. But shmem_fs.h must then provide the inline stub for shmem_mapping() when CONFIG_SHMEM is not set, and a few more cfiles now need to #include it. Signed-off-by: H

[PATCH v2] mm/zsmalloc: fix comment in zsmalloc

2017-02-08 Thread Yisheng Xie
The class index and fullness group are not encoded in (first)page->mapping any more, after commit 3783689a1aa8 ("zsmalloc: introduce zspage structure"). Instead, they are store in struct zspage. Just delete this unneeded comment. Signed-off-by: Yisheng Xie Suggested-by: Sergey Senozhatsky Review

Re: [PATCH v12 3/9] usb: separate out sysdev pointer from usb_bus

2017-02-08 Thread Vivek Gautam
Hi, On Mon, Feb 6, 2017 at 2:43 PM, Peter Chen wrote: > From: Arnd Bergmann > > For xhci-hcd platform device, all the DMA parameters are not > configured properly, notably dma ops for dwc3 devices. > > The idea here is that you pass in the parent of_node along with > the child device pointer, so

Re: [PATCH v2 3/4] leds: Add LED support for MT6323 PMIC

2017-02-08 Thread Sean Wang
Hi Jacek, All looks make sense. I'll keep following up. Sean On Wed, 2017-02-08 at 22:00 +0100, Jacek Anaszewski wrote: > Hi Sean, > > Thanks for the update. Some nitpicking below. > > On 02/08/2017 03:19 AM, sean.w...@mediatek.com wrote: > > From: Sean Wang > > > > MT6323 PMIC is a

Re: [PATCH v12 6/9] usb: xhci: use bus->sysdev for DMA configuration

2017-02-08 Thread Vivek Gautam
On Thu, Feb 9, 2017 at 7:11 AM, Peter Chen wrote: > On Wed, Feb 08, 2017 at 12:43:00PM -0800, Jack Pham wrote: >> Hi Peter, Sriram, Arnd, >> >> On Mon, Feb 06, 2017 at 05:13:38PM +0800, Peter Chen wrote: >> > From: Arnd Bergmann >> > >> > For xhci-hcd platform device, all the DMA parameters are n

Re: [PATCH] MAINTAINERS: Add Jon Mason to BCM5301X maintainers

2017-02-08 Thread Rafał Miłecki
On 2017-02-09 00:37, Florian Fainelli wrote: On 02/08/2017 03:37 PM, Jon Mason wrote: On Wed, Feb 8, 2017 at 6:35 PM, Rafał Miłecki wrote: On 2017-02-09 00:34, Jon Mason wrote: On Wed, Feb 8, 2017 at 6:29 PM, Rafał Miłecki wrote: On 02/09/2017 12:22 AM, Jon Mason wrote: Adding myself

Crashes in -next due to 'net: phy: Fix lack of reference count on PHY driver'

2017-02-08 Thread Guenter Roeck
t on PHY driver"). Bisect log is attached below. Reverting this patch fixes the problem for all affected architectures in my tests. Guenter --- # bad: [e3e6c5f3544c5d05c6b3b309a34f4f2c3537e993] Add linux-next specific files for 20170208 # good: [d5adbfcd5f7bcc6fa58a41c5c5ada0e5c826ce2c] Linux

Re: [PATCH 3/3] mm: Enable Buddy allocation isolation for CDM nodes

2017-02-08 Thread Anshuman Khandual
On 02/08/2017 10:48 PM, Vlastimil Babka wrote: > On 02/08/2017 03:01 PM, Anshuman Khandual wrote: >> This implements allocation isolation for CDM nodes in buddy allocator by >> discarding CDM memory zones all the time except in the cases where the >> gfp >> flag has got __GFP_THISNODE or the nodema

Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability

2017-02-08 Thread Lu Baolu
Hi Ingo, On 01/26/2017 03:19 PM, Ingo Molnar wrote: > * Lu Baolu wrote: > >> Fair enough. >> >> USB connection is stable enough, unless the user unplugs the >> USB cable during debugging. > What does the hardware do in this case? The XHCI registers are in the host > hardware, so they won't disap

[PATCH 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte.

2017-02-08 Thread Aneesh Kumar K.V
Autonuma preserves the write permission across numa fault to avoid taking a writefault after a numa fault (Commit: b191f9b106ea " mm: numa: preserve PTE write permissions across a NUMA hinting fault"). Architecture can implement protnone in different ways and some may choose to implement that by cl

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-08 Thread Vinod Koul
On Thu, Jan 26, 2017 at 03:43:05PM +0100, Marek Szyprowski wrote: > Hi Lars, > > On 2017-01-25 14:12, Lars-Peter Clausen wrote: > >On 01/25/2017 11:28 AM, Marek Szyprowski wrote: > >>Add pointer to slave device to of_dma_xlate to let DMA engine driver > >>to know which slave device is using given

Re: [PATCH] mtd: update my email address

2017-02-08 Thread John Crispin
On 08/02/2017 21:50, Brian Norris wrote: > On Thu, Dec 29, 2016 at 05:43:02PM +0100, Boris Brezillon wrote: >> On Tue, 20 Dec 2016 20:03:26 +0100 >> John Crispin wrote: >> >>> This patch updates my email address as I no longer have access to the old >>> one. >>> >>> Signed-off-by: John Crispin

[PATCH] mm: cleanups for printing phys_addr_t and dma_addr_t

2017-02-08 Thread Miles Chen
cleanup rest of dma_addr_t and phys_addr_t type casting in mm use %pad for dma_addr_t use %pa for phys_addr_t Signed-off-by: Miles Chen --- mm/dmapool.c | 16 mm/vmalloc.c | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/mm/dmapool.c b/mm/dmapool.c index a

Re: module.h: remove extable.h include now users have migrated

2017-02-08 Thread Jessica Yu
+++ Paul Gortmaker [22/01/17 11:32 -0500]: With hopefully most/all users of module.h that were looking for exception table functions moved over to the new extable.h header, we can remove the back-compat include that let us transition without introducing build regressions. Cc: Rusty Russell Cc:

Re: core: migrate exception table users off module.h and onto extable.h

2017-02-08 Thread Jessica Yu
+++ Paul Gortmaker [22/01/17 11:32 -0500]: These files were including module.h for exception table related functions. We've now separated that content out into its own file "extable.h" so now move over to that and where possible, avoid all the extra header content in module.h that we don't reall

[PATCH V2 6/6] PM / OPP: Add support to parse domain-performance-state

2017-02-08 Thread Viresh Kumar
PLEASE DO NOT APPLY THIS PATCH It is only sent for completeness. It uses DT bindings which aren't finalized yet. Some platforms have the capability to configure the performance state of their Power Domains. The performance levels are represented by positive integer values, a lower value represent

Re: [PATCH] drm/amdgpu: shut up #warning for compile testing

2017-02-08 Thread Alex Deucher
On Fri, Feb 3, 2017 at 5:15 AM, Michel Dänzer wrote: > On 02/02/17 06:36 PM, Christian König wrote: >> Am 02.02.2017 um 07:09 schrieb Michel Dänzer: >>> [SNIP] >>> OTOH the people running the kernel aren't always the same people >>> building it, so the downside is that this would potentially delay

[PATCH V2 3/6] PM / QOS: Add 'performance' request

2017-02-08 Thread Viresh Kumar
Add a new QOS request type: DEV_PM_QOS_PERFORMANCE. This is required to support runtime performance constraints for the devices. Also allow notifiers to be registered against it, which can be used by frameworks like genpd. Signed-off-by: Viresh Kumar --- Documentation/power/pm_qos_interface.txt

Re: [PATCH] mm: fix KPF_SWAPCACHE

2017-02-08 Thread Hugh Dickins
On Thu, 9 Feb 2017, Nicholas Piggin wrote: > On Tue, 7 Feb 2017 11:11:16 -0800 (PST) > Hugh Dickins wrote: > > > 4.10-rc1 commit 6326fec1122c ("mm: Use owner_priv bit for PageSwapCache, > > valid when PageSwapBacked") aliased PG_swapcache to PG_owner_priv_1: > > so /proc/kpageflags' KPF_SWAPCACHE

Re: [PATCH v2] tools lib traceevent: Robustify do_generate_dynamic_list_file

2017-02-08 Thread David Carrillo-Cisneros
> bash has some shell opts to control some aspects of compatibility with string > comparisions that could have some default different from ubuntu and fedora, > I couldn't find one that looked related, sigh. The joys of batch scripting... > > Anyway, the difference in the order of the symbol types

Re: [kernel-hardening] [PATCH v2 1/2] fork: free vmapped stacks in cache when cpus are offline

2017-02-08 Thread Eric Biggers
Hi Hoeun, On Thu, Feb 09, 2017 at 01:03:46PM +0900, Hoeun Ryu wrote: > +static int free_vm_stack_cache(unsigned int cpu) > +{ > + int i; > + > + for (i = 0; i < NR_CACHED_STACKS; i++) { > + struct vm_struct *vm_stack = this_cpu_read(cached_stacks[i]); > + if (!vm_st

[PATCH V2 2/6] PM / QOS: Pass request type to dev_pm_qos_{add|remove}_notifier()

2017-02-08 Thread Viresh Kumar
In order to use the same set of routines to register notifiers for different request types, update the existing dev_pm_qos_{add|remove}_notifier() routines with an additional parameter: request-type. For now, it only supports resume-latency request type. Signed-off-by: Viresh Kumar --- Document

Re: [PATCH 1/1] Ddrivers: hv: Turn off write permission on the hypercall page

2017-02-08 Thread Kees Cook
On Wed, Feb 8, 2017 at 5:30 PM, wrote: > From: K. Y. Srinivasan > > The hypercall page only needs to be executable but currently it is setup to > be writable as well. Fix the issue. > > Signed-off-by: K. Y. Srinivasan > Cc: > --- > arch/x86/hyperv/hv_init.c |2 +- > 1 files changed, 1 ins

[PATCH v2] drm/i915/debugfs: Add i915_hpd_storm_ctl

2017-02-08 Thread Lyude
This adds a file in i915's debugfs directory that allows userspace to manually control HPD storm detection. This is mainly for hotplugging tests, where we might want to test HPD storm functionality or disable storm detection to speed up hotplugging tests without breaking anything. Changes since v1

Re: [PATCH v2] PCI: pciehp: Don't enable PME on runtime suspend

2017-02-08 Thread Lukas Wunner
On Wed, Feb 08, 2017 at 11:57:36AM -0600, Bjorn Helgaas wrote: > On Tue, Feb 07, 2017 at 07:21:01AM +0100, Lukas Wunner wrote: > > On Mon, Feb 06, 2017 at 04:15:02PM -0600, Bjorn Helgaas wrote: > > > On Mon, Feb 06, 2017 at 10:20:41PM +0100, Lukas Wunner wrote: > > > > On Mon, Feb 06, 2017 at 11:54

Re: [PATCH v2] drivers/mailbox: Add Aspeed mailbox driver

2017-02-08 Thread Joel Stanley
On Wed, Feb 8, 2017 at 10:06 AM, Cyril Bur wrote: > This provides access to the mbox registers on the ast2400 and ast2500 > SoCs. > > This driver allows arbitrary reads and writes to the 16 data registers as > the other end may have configured the mbox hardware to provide an > interrupt when a spe

[PATCH v2 2/2] fork: make number of cached stacks (vmapped) configurable using Kbuild

2017-02-08 Thread Hoeun Ryu
Introducing NR_VMAP_STACK_CACHE, the number of cached stacks for virtually mapped kernel stack can be configurable using Kbuild system. default value is 2. Signed-off-by: Hoeun Ryu --- arch/Kconfig | 8 kernel/fork.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a

Re: [GIT PULL] PCI fixes for v4.10

2017-02-08 Thread Lukas Wunner
On Wed, Feb 08, 2017 at 01:22:56PM -0600, Bjorn Helgaas wrote: > Bjorn Helgaas (1): > Revert "PCI: pciehp: Add runtime PM support for PCIe hotplug ports" What's the rationale for reverting this? You've received patches to fix the issue on both affected machines, so a revert seems unnecessar

Re: [PATCH 1/3] usb: host: fotg2: add devicetree probing

2017-02-08 Thread kbuild test robot
Hi Hans, [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.10-rc7 next-20170208] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Hans-Ulli-Kroll/usb-host-fotg2-add

Re: [kernel-hardening] [PATCH v2 2/2] fork: make number of cached stacks (vmapped) configurable using Kbuild

2017-02-08 Thread Eric Biggers
On Thu, Feb 09, 2017 at 01:03:47PM +0900, Hoeun Ryu wrote: > +config NR_VMAP_STACK_CACHE > + int "Number of cached stacks" > + default "2" > + depends on VMAP_STACK > + help > + This determines how many stacks can be cached for virtually > + mapped kernel stacks. > + Ca

Re: [PATCH] mm: fix KPF_SWAPCACHE

2017-02-08 Thread Nicholas Piggin
On Tue, 7 Feb 2017 11:11:16 -0800 (PST) Hugh Dickins wrote: > 4.10-rc1 commit 6326fec1122c ("mm: Use owner_priv bit for PageSwapCache, > valid when PageSwapBacked") aliased PG_swapcache to PG_owner_priv_1: > so /proc/kpageflags' KPF_SWAPCACHE should now be synthesized, instead > of being shown on

Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize()

2017-02-08 Thread Theodore Ts'o
On Wed, Feb 08, 2017 at 08:31:26PM -0700, Alden Tondettar wrote: > The new non-blocking system introduced in commit e192be9d9a30 ("random: > replace non-blocking pool with a Chacha20-based CRNG") can under > some circumstances report itself initialized while it still contains > dangerously little e

Re: [PATCH] MAINTAINERS: Add Jon Mason to BCM5301X maintainers

2017-02-08 Thread Rafał Miłecki
On 02/09/2017 12:22 AM, Jon Mason wrote: Adding myself as a maintainer for Broadcom Northstar SoCs. Also, adding a regex entry to discover the SVK DTs already present. Signed-off-by: Jon Mason Acked-by: Rafał Miłecki MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAIN

[PATCH V2 4/6] PM / domain: Register for PM QOS performance notifier

2017-02-08 Thread Viresh Kumar
Some platforms have the capability to configure the performance state of their Power Domains. The performance levels are represented by positive integer values, a lower value represents lower performance state. This patch registers the power domain framework for PM QOS performance notifier in orde

[PATCH v2 1/2] fork: free vmapped stacks in cache when cpus are offline

2017-02-08 Thread Hoeun Ryu
Using virtually mapped stack, kernel stacks are allocated via vmalloc. In the current implementation, two stacks per cpu can be cached when tasks are freed and the cached stacks are used again in task duplications. but the cached stacks may remain unfreed even when cpu are offline. By adding a cp

[PATCH V2 0/6] PM / Domains: Implement domain performance states

2017-02-08 Thread Viresh Kumar
Hi, An earlier series[1] tried to implement bindings for PM domain performance states. Rob Herring suggested that we can actually merge the supporting code first instead of bindings, as that will make things easier to understand for all. The bindings can be decided and merged later. The bindings

[PATCH V2 5/6] PM / domain: Save/restore performance state at runtime suspend/resume

2017-02-08 Thread Viresh Kumar
With runtime PM, the devices get suspended while the system is up and running in order to save power. At such times, it is important to re-evaluate the required performance state of the domain, in order to choose a lower state if possible. This patch updates the genpd suspend/resume callbacks to d

Re: [PATCH] mm/zsmalloc: fix comment in zsmalloc

2017-02-08 Thread Sergey Senozhatsky
On (02/09/17 11:23), Yisheng Xie wrote: > The class index and fullness group are not encoded in > (first)page->mapping any more, after commit 3783689a1aa8 ("zsmalloc: > introduce zspage structure"). Instead, they are store in struct zspage. > > Cc: Minchan Kim > Cc: Sergey Senozhatsky > Cc: Niti

[PATCH] random: Don't overwrite CRNG state in crng_initialize()

2017-02-08 Thread Alden Tondettar
The new non-blocking system introduced in commit e192be9d9a30 ("random: replace non-blocking pool with a Chacha20-based CRNG") can under some circumstances report itself initialized while it still contains dangerously little entropy, as follows: Approximately every 64th call to add_interrupt_rando

Re: [PATCHv6 03/37] page-flags: relax page flag policy for few flags

2017-02-08 Thread Matthew Wilcox
On Thu, Jan 26, 2017 at 02:57:45PM +0300, Kirill A. Shutemov wrote: > These flags are in use for filesystems with backing storage: PG_error, > PG_writeback and PG_readahead. Oh ;-) Then I amend my comment on patch 1 to be "patch 3 needs to go ahead of patch 1" ;-) > Signed-off-by: Kirill A. Shut

Re: [PATCH v12 6/9] usb: xhci: use bus->sysdev for DMA configuration

2017-02-08 Thread Peter Chen
On Wed, Feb 08, 2017 at 05:27:31PM +0530, Vivek Gautam wrote: > Hi, > > > On Mon, Feb 6, 2017 at 2:43 PM, Peter Chen wrote: > > From: Arnd Bergmann > > > > For xhci-hcd platform device, all the DMA parameters are not > > configured properly, notably dma ops for dwc3 devices. So, set > > the dma

Re: [PATCHv6 01/37] mm, shmem: swich huge tmpfs to multi-order radix-tree entries

2017-02-08 Thread Matthew Wilcox
On Thu, Jan 26, 2017 at 02:57:43PM +0300, Kirill A. Shutemov wrote: > +++ b/include/linux/pagemap.h > @@ -332,6 +332,15 @@ static inline struct page *grab_cache_page_nowait(struct > address_space *mapping, > mapping_gfp_mask(mapping)); > } > > +static inline struct page *f

Re: [PATCH] proc/sysctl: drop unregistered stale dentries as soon as possible

2017-02-08 Thread Al Viro
On Wed, Feb 08, 2017 at 01:48:04PM -0800, Andrew Morton wrote: > > This patch detects stale dentry in proc_sys_compare and pretends that > > it has matching name - revalidation will kill it and lookup restarts. > > As a result each stale dentry will be seen only once and will not > > contaminate h

linux-next: manual merge of the kvm-ppc tree with the powerpc tree

2017-02-08 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the kvm-ppc tree got conflicts in: arch/powerpc/include/asm/opal.h arch/powerpc/platforms/powernv/opal-wrappers.S between commit: 1d0761d2557d ("powerpc/powernv: Initialise nest mmu") from the powerpc tree and commit: ab9bad0ead9a ("powerpc/powernv

[PATCH V2 1/6] PM / QOS: Add default case to the switch

2017-02-08 Thread Viresh Kumar
The switch block handles all the QOS request types present today, but starts giving compilation warnings as soon as a new type is added and not handled in this. To prevent against that, add the default case as well and do a WARN from it. Signed-off-by: Viresh Kumar --- drivers/base/power/qos.c

Re: [PATCH v4 3/3] ASoC: zx-i2s: introduce pclk for zx2967 family

2017-02-08 Thread Shawn Guo
On Thu, Feb 09, 2017 at 11:12:58AM +0800, Baoyou Xie wrote: > The pclk is necessary for zx2967 I2S controller. the driver > currently doesn't handle it. This is something we need to fix. > > In turn, the driver supports zx296718's I2S controller. > > By the way, this patch also change the clock n

Re: [PATCH v4 1/3] clk: zte: add i2s clocks for zx296718

2017-02-08 Thread Shawn Guo
On Thu, Feb 09, 2017 at 11:12:56AM +0800, Baoyou Xie wrote: > The i2s related clock support is missing from the existing zx296718 > clock driver. This patch adds it, so that the upstream ZX I2S driver > can work out. > > Signed-off-by: Baoyou Xie Acked-by: Shawn Guo There is no compile-time de

irqchip/gic: avoid magic irq number

2017-02-08 Thread Mars Cheng
use defines instead of magic numbers Signed-off-by: Mars Cheng --- drivers/irqchip/irq-gic-v3-its.c |7 +++--- drivers/irqchip/irq-gic-v3.c | 41 +--- drivers/irqchip/irq-gic.c | 38 - include/linux/irqc

[PATCH] mm/zsmalloc: fix comment in zsmalloc

2017-02-08 Thread Yisheng Xie
The class index and fullness group are not encoded in (first)page->mapping any more, after commit 3783689a1aa8 ("zsmalloc: introduce zspage structure"). Instead, they are store in struct zspage. Cc: Minchan Kim Cc: Sergey Senozhatsky Cc: Nitin Gupta Cc: Hanjun Guo Signed-off-by: Yisheng Xie -

[lkp-robot] [x86/paravirt] b1e955caea: WARNING:at_kernel/locking/lockdep.c:#trace_hardirqs_off_caller

2017-02-08 Thread kernel test robot
FYI, we noticed the following commit: commit: b1e955caea7e3ae340ebd5392a7fe4478f64ce1d ("x86/paravirt: Avoid setting IF flag, if not necessary") url: https://github.com/0day-ci/linux/commits/Waiman-Long/x86-paravirt-Avoid-setting-IF-flag-if-not-necessary/20170207-051507 in testcase: trinity w

Re: [PATCH 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte.

2017-02-08 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: > Autonuma preserves the write permission across numa fault to avoid taking > a writefault after a numa fault (Commit: b191f9b106ea " mm: numa: preserve PTE > write permissions across a NUMA hinting fault"). Architecture can implement > protnone in different ways and so

Re: mm: deadlock between get_online_cpus/pcpu_alloc

2017-02-08 Thread Christoph Lameter
On Wed, 8 Feb 2017, Thomas Gleixner wrote: > There is a world outside yours. Hotplug is actually used frequently for > power purposes in some scenarios. The usual case does not inolve hotplug. > It will improve nothing. The stop machine context is extremly limited and > you cannot do complex thi

[PATCH v4 1/3] clk: zte: add i2s clocks for zx296718

2017-02-08 Thread Baoyou Xie
The i2s related clock support is missing from the existing zx296718 clock driver. This patch adds it, so that the upstream ZX I2S driver can work out. Signed-off-by: Baoyou Xie --- drivers/clk/zte/clk-zx296718.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/clk/zte/clk-zx296718

[PATCH v4 2/3] ASoC: zx-i2s: Add the info of pclk to the binding document for zx2967 family

2017-02-08 Thread Baoyou Xie
ZTE's zx2967 I2S controller driver introduces pclk, this patch documents this fact. Signed-off-by: Baoyou Xie --- Documentation/devicetree/bindings/sound/zte,zx-i2s.txt | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/zte,

[PATCH v4 3/3] ASoC: zx-i2s: introduce pclk for zx2967 family

2017-02-08 Thread Baoyou Xie
The pclk is necessary for zx2967 I2S controller. the driver currently doesn't handle it. This is something we need to fix. In turn, the driver supports zx296718's I2S controller. By the way, this patch also change the clock name from tx to wclk to make it clear. Signed-off-by: Baoyou Xie --- s

Re: [PATCH 1/3] mm: Define coherent device memory (CDM) node

2017-02-08 Thread kbuild test robot
Hi Anshuman, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc7] [cannot apply to mmotm/master next-20170208] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Anshuman

[PATCH 1/2 v3] cpufreq: qoriq: added arm64 socs support

2017-02-08 Thread yuantian.tang
From: Tang Yuantian Add arm64 config to Kconfig to enable cpu frequency feature on nxp arm64 socs. Signed-off-by: Tang Yuantian --- v3: no change v2: no change drivers/cpufreq/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq

[PATCH 2/2 v3] cpufreq: qoriq: Don't look at clock implementation details

2017-02-08 Thread yuantian.tang
From: Tang Yuantian Get the CPU clock's potential parent clocks from the clock interface itself, rather than manually parsing the clocks property to find a phandle, looking at the clock-names property of that, and assuming that those are valid parent clocks for the cpu clock. This is necessary n

[PATCH v2 0/2] add multiple clock handling for dwc2 driver

2017-02-08 Thread Frank Wang
The Current default dwc2 just handle one clock named otg, however, it may have two or more clock need to manage for some new SoCs(such as RK3328), so this adds change clk to clk's array of dwc2_hsotg to handle more clocks operation. Changes in v2: - amend dwc2 clocks property in DT. - change DWC

[PATCH v2 1/2] Documentation: dt: dwc2: amend clocks property

2017-02-08 Thread Frank Wang
Move 'clocks' to optional properties since not every platform is going to need to specify it and add pmu/utmi/ulpi/utmifs optional clocks into 'clock-names' list. Signed-off-by: Frank Wang --- Documentation/devicetree/bindings/usb/dwc2.txt | 13 ++--- 1 file changed, 10 insertions(+), 3

[PATCH v2 2/2] usb: dwc2: add multiple clocks handling

2017-02-08 Thread Frank Wang
Since dwc2 may have one or more input clocks need to manage for some platform, so this adds change clk to clk's array of struct dwc2_hsotg to handle more clocks operation. Signed-off-by: Frank Wang --- drivers/usb/dwc2/core.h | 5 - drivers/usb/dwc2/platform.c | 39 +

[PATCH 6/7] iio: Documentation: add ABI documentation for in_proximity_sampling_frequency_available

2017-02-08 Thread Brian Masney
Add entry for the in_proximity_sampling_frequency_available sysfs entry to the existing sampling_frequency_available ABI documentation. Signed-off-by: Brian Masney --- Documentation/ABI/testing/sysfs-bus-iio | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/ABI/testing/sysfs-bus-

[PATCH 7/7] staging: iio: isl29028: move out of staging

2017-02-08 Thread Brian Masney
Move ISL29028 ALS / Proximity Sensor out of staging and into mainline. Signed-off-by: Brian Masney --- drivers/iio/light/Kconfig | 10 ++ drivers/iio/light/Makefile | 1 + drivers/{staging => }/iio/light/isl29028.c | 0 drivers/staging/iio/light/Kconfig

Re: [PATCH 3/4] of: add vendor prefixes for Samyoung and Shinyei

2017-02-08 Thread Rob Herring
On Sun, Feb 05, 2017 at 04:02:52PM +0100, Tomasz Duszynski wrote: > This patch adds prefixes for Samyoung and Shinyei companies. > > Signed-off-by: Tomasz Duszynski > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Rob Herring

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2017-02-08 Thread Brian Norris
On Tue, Dec 13, 2016 at 05:43:52PM +0100, Cyrille Pitchen wrote: > Le 08/12/2016 à 16:31, Boris Brezillon a écrit : > > On Tue, 6 Dec 2016 18:14:24 +0100 > > Cyrille Pitchen wrote: > > > >> This patch removes the WARN_ONCE() test in spi_nor_write(). > >> This macro triggers the display of a warni

linux-next: manual merge of the input tree with the input-current tree

2017-02-08 Thread Stephen Rothwell
Hi Dmitry, Today's linux-next merge of the input tree got a conflict in: drivers/input/rmi4/Kconfig between commit: 413d37326700 ("Input: synaptics-rmi4 - select 'SERIO' when needed") from the input-current tree and commit: b29c139a15b6 ("Input: synaptics-rmi4 - use Kconfig "if" to expr

Re: [PATCH] f2fs: introduce nid cache

2017-02-08 Thread Jaegeuk Kim
On 02/08, Chao Yu wrote: > On 2017/2/7 15:24, Chao Yu wrote: > > Hi Jaegeuk, > > > > Happy Chinese New Year! :) > > > > On 2017/1/24 12:35, Jaegeuk Kim wrote: > >> Hi Chao, > >> > >> On 01/22, Chao Yu wrote: > >>> In scenario of intensively node allocation, free nids will be ran out > >>> soon, t

Re: [RFC][PATCH 00/21] tracing: Inter-event (e.g. latency) support

2017-02-08 Thread Steven Rostedt
On Wed, 08 Feb 2017 17:28:50 -0600 Tom Zanussi wrote: > On Wed, 2017-02-08 at 15:01 -0500, Steven Rostedt wrote: > > On Wed, 8 Feb 2017 11:24:56 -0600 > > Tom Zanussi wrote: > > > > > # echo 'wakeup_latency lat=sched_switch:wakeup_lat \ > > >pid=sched_switch:w

  1   2   3   4   5   6   7   8   9   10   >