Re: [RFC PATCH] mm, compaction: allow compaction for GFP_NOFS requests

2016-10-06 Thread Michal Hocko
On Fri 07-10-16 07:27:37, Vlastimil Babka wrote: [...] > > diff --git a/mm/compaction.c b/mm/compaction.c > > index badb92bf14b4..07254a73ee32 100644 > > --- a/mm/compaction.c > > +++ b/mm/compaction.c > > @@ -834,6 +834,13 @@ isolate_migratepages_block(struct compact_control *cc, > > unsigned lon

Re: [PATCH] arch/x86: Fix kdump on x86 with physically hotadded CPUs

2016-10-06 Thread Jiri Olsa
On Thu, Oct 06, 2016 at 11:25:43AM -0400, Prarit Bhargava wrote: > > > On 10/05/2016 12:14 PM, Jiri Olsa wrote: > > On Tue, Oct 04, 2016 at 04:38:16PM +0200, Thomas Gleixner wrote: > >> On Tue, 4 Oct 2016, Prarit Bhargava wrote: > >>> On 10/04/2016 06:58 AM, Thomas Gleixner wrote: > While it

Re: [PATCH v4 5/5] mm: enable CONFIG_MOVABLE_NODE on non-x86 arches

2016-10-06 Thread Aneesh Kumar K.V
Reza Arbab writes: > To support movable memory nodes (CONFIG_MOVABLE_NODE), at least one of > the following must be true: > > 1. We're on x86. This arch has the capability to identify movable nodes >at boot by parsing the ACPI SRAT, if the movable_node option is used. > > 2. Our config suppor

Re: [PATCH v4 4/5] mm: make processing of movable_node arch-specific

2016-10-06 Thread Aneesh Kumar K.V
Reza Arbab writes: > Currently, CONFIG_MOVABLE_NODE depends on X86_64. In preparation to > enable it for other arches, we need to factor a detail which is unique > to x86 out of the generic mm code. > > Specifically, as documented in kernel-parameters.txt, the use of > "movable_node" should remai

Re: [PATCH 2/3] zram: support page-based parallel write

2016-10-06 Thread Minchan Kim
Hi Sergey, On Thu, Oct 06, 2016 at 05:29:15PM +0900, Sergey Senozhatsky wrote: > Hello Minchan, > > On (10/05/16 11:01), Minchan Kim wrote: > [..] > > 1. just changed ordering of test execution - hope to reduce testing time > > due to > >block population before the first reading or reading j

Re: scripts/coccicheck: Update for a comment?

2016-10-06 Thread SF Markus Elfring
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/scripts/coccicheck?id=c802e87fbe2d4dd58982d01b3c39bc5a781223aa#n4 >>> >>> How about submitting a patch to fix the problem? >> >> I would appreciate to become a bit more sure about the current storage >> location >> which sh

Re: scripts/coccicheck: Update for a comment?

2016-10-06 Thread Julia Lawall
On Fri, 7 Oct 2016, SF Markus Elfring wrote: > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/scripts/coccicheck?id=c802e87fbe2d4dd58982d01b3c39bc5a781223aa#n4 > >>> > >>> How about submitting a patch to fix the problem? > >> > >> I would appreciate to become a bit mo

Re: [PATCH] phy: nop: Add a new phy driver for No-Op transceiver

2016-10-06 Thread Vivek Gautam
Hi Kishon, On 10/05/2016 05:41 PM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 04 October 2016 04:13 PM, Vivek Gautam wrote: No-Op phy transceiver can be used on platforms that have controllers which themselves provide PHY functionality and there's no separate PHY controller available. This

Re: scripts/coccicheck: Update for a comment?

2016-10-06 Thread Julia Lawall
On Fri, 7 Oct 2016, SF Markus Elfring wrote: > >> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/scripts/coccicheck?id=c802e87fbe2d4dd58982d01b3c39bc5a781223aa#n4 > > > > How about submitting a patch to fix the problem? > > I would appreciate to become a bit more sure abou

[PATCH] module: remove trailing whitespace

2016-10-06 Thread Anson Jacob
remove whitespace on blank line Signed-off-by: Anson Jacob --- include/linux/module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/module.h b/include/linux/module.h index 0c3207d..91df94f 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -41

Re: scripts/coccicheck: Update for a comment?

2016-10-06 Thread SF Markus Elfring
>> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/scripts/coccicheck?id=c802e87fbe2d4dd58982d01b3c39bc5a781223aa#n4 > > How about submitting a patch to fix the problem? I would appreciate to become a bit more sure about the current storage location which should be reference

Re: BUG_ON() in workingset_node_shadows_dec() triggers

2016-10-06 Thread Willy Tarreau
On Thu, Oct 06, 2016 at 04:59:20PM -0700, Linus Torvalds wrote: > We should just switch BUG() over and be done with it. The whole point > it that since it should never trigger in the first place, the > semantics on BUG() should never matter. > > And if you have some code that depends on the semant

Re: [PATCH 0/2 v2] userns: show current values of user namespace counters

2016-10-06 Thread Andrei Vagin
Hello Eric, What do you think about this series? It should be useful to know current usage for user counters. Thanks, Andrei On Mon, Aug 15, 2016 at 01:10:20PM -0700, Andrei Vagin wrote: > Recently Eric added user namespace counters. User namespace counters is > a feature that allows to limit t

Re: [PATCH 30/54] md/raid5: Delete two error messages for a failed memory allocation

2016-10-06 Thread Hannes Reinecke
On 10/06/2016 11:30 AM, SF Markus Elfring wrote: From: Markus Elfring Date: Wed, 5 Oct 2016 09:43:40 +0200 Omit extra messages for a memory allocation failure in this function. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Signed-off-by:

Re: scripts/coccicheck: Update for a comment?

2016-10-06 Thread Julia Lawall
On Fri, 7 Oct 2016, SF Markus Elfring wrote: > Hello, > > Information from a commit like "docs: sphinxify coccinelle.txt and add it > to dev-tools" caught also my software development attention. > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/Documentation/coccinelle.txt

scripts/coccicheck: Update for a comment?

2016-10-06 Thread SF Markus Elfring
Hello, Information from a commit like "docs: sphinxify coccinelle.txt and add it to dev-tools" caught also my software development attention. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/Documentation/coccinelle.txt?id=4b9033a33494ec9154d63e706e9e47f7eb3fd59e Did an othe

[PATCH 1/4] mm: adjust reserved highatomic count

2016-10-06 Thread Minchan Kim
In page freeing path, migratetype is racy so that a highorderatomic page could free into non-highorderatomic free list. If that page is allocated, VM can change the pageblock from higorderatomic to something. In that case, we should adjust nr_reserved_highatomic. Otherwise, VM cannot reserve highor

[PATCH 2/4] mm: prevent double decrease of nr_reserved_highatomic

2016-10-06 Thread Minchan Kim
There is race between page freeing and unreserved highatomic. CPU 0 CPU 1 free_hot_cold_page mt = get_pfnblock_migratetype set_pcppage_migratetype(page, mt) unreserve_highatomic_pageblock

[PATCH 3/4] mm: unreserve highatomic free pages fully before OOM

2016-10-06 Thread Minchan Kim
After fixing the race of highatomic page count, I still encounter OOM with many free memory reserved as highatomic. One of reason in my testing was we unreserve free pages only if reclaim has progress. Otherwise, we cannot have chance to unreseve. Other problem after fixing it was it doesn't guar

[PATCH 4/4] mm: skip to reserve pageblock crossed zone boundary for HIGHATOMIC

2016-10-06 Thread Minchan Kim
In CONFIG_SPARSEMEM, VM shares a pageblock_flags of a mem_section between two zones if the pageblock cross zone boundaries. It means a zone lock cannot protect pageblock migratype change's race. It might be not a problem because migratetype inherently was racy but intrdocuing with CMA, it was not

[PATCH 0/4] use up highorder free pages before OOM

2016-10-06 Thread Minchan Kim
I got OOM report from production team with v4.4 kernel. It has enough free memory but failed to allocate order-0 page and finally encounter OOM kill. I could reproduce it with my test easily. Look at below. The reason is free pages(19M) of DMA32 zone are reserved for HIGHORDERATOMIC and doesn't unr

[PATCH] hwmon: fix platform_no_drv_owner.cocci warnings

2016-10-06 Thread Julia Lawall
No need to set .owner here. The core will do it. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- tree: https://github.com/0day-ci/linux Chris-Packham/hwmon-Add-tc654-driver/20161007-054116 head: 7b9f81e69fbc7077c5

Re: [GIT PULL] MD update for 4.9

2016-10-06 Thread Doug Dumitru
Mr. Li, There is another thread in [linux-raid] discussing pre-fetches in the raid-6 AVX2 code. My testing implies that the prefetch distance is too short. In your new AVX512 code, it looks like there are 24 instructions, each with latencies of 1, between the prefetch and the actual memory load.

[PATCH V5 05/10] dmaengine: qcom_hidma: make pending_tre_count atomic

2016-10-06 Thread Sinan Kaya
Getting ready for the MSI interrupts. The pending_tre_count is used in the interrupt handler to make sure all outstanding requests are serviced. The driver will allocate 11 MSI interrupts. Each MSI interrupt can be assigned to a different CPU. Then, we have a race condition for common variables as

[PATCH V5 08/10] dmaengine: qcom_hidma: protect common data structures

2016-10-06 Thread Sinan Kaya
When MSI interrupts are supported, error and the transfer interrupt can come from multiple processor contexts. Each error interrupt is an MSI interrupt. If the channel is disabled by the first error interrupt, the remaining error interrupts will gracefully return in the interrupt handler. If an e

[PATCH V5 07/10] dmaengine: qcom_hidma: add a common API to setup the interrupt

2016-10-06 Thread Sinan Kaya
Introducing the hidma_ll_setup_irq function to set up the interrupt type externally from the OS interface. Signed-off-by: Sinan Kaya --- drivers/dma/qcom/hidma.h| 2 ++ drivers/dma/qcom/hidma_ll.c | 27 +++ 2 files changed, 25 insertions(+), 4 deletions(-) diff --gi

[PATCH V5 06/10] dmaengine: qcom_hidma: bring out interrupt cause

2016-10-06 Thread Sinan Kaya
Bring out the interrupt cause to the top level so that MSI interrupts can be hooked at a later stage. Signed-off-by: Sinan Kaya --- drivers/dma/qcom/hidma_ll.c | 57 ++--- 1 file changed, 33 insertions(+), 24 deletions(-) diff --git a/drivers/dma/qcom/hid

[PATCH V5 09/10] dmaengine: qcom_hidma: break completion processing on error

2016-10-06 Thread Sinan Kaya
We try to consume as much successful transfers as possible. Now that we support MSI interrupts, an error interrupt might be observed by another processor while we are finishing the successful ones. Try to abort successful processing if this is the case. Signed-off-by: Sinan Kaya --- drivers/dma

[PATCH V5 10/10] dmaengine: qcom_hidma: add MSI support for interrupts

2016-10-06 Thread Sinan Kaya
The interrupts can now be delivered as platform MSI interrupts on newer platforms. The code looks for a new OF and ACPI strings in order to enable the functionality. Signed-off-by: Sinan Kaya --- drivers/dma/qcom/hidma.c| 143 ++-- drivers/dma/qcom/hid

[PATCH V5 03/10] of: irq: make of_msi_configure accessible from modules

2016-10-06 Thread Sinan Kaya
The of_msi_configure routine is only accessible by the built-in kernel drivers. Export this function so that modules can use it too. This function is useful for configuring MSI on child device tree nodes on hierarchical objects. Acked-by: Rob Herring Signed-off-by: Sinan Kaya --- drivers/of/ir

[PATCH V5 02/10] Documentation: DT: qcom_hidma: correct spelling mistakes

2016-10-06 Thread Sinan Kaya
Fix the spelling mistakes and extra and statements in the sentences. Acked-by: Rob Herring Signed-off-by: Sinan Kaya --- Documentation/devicetree/bindings/dma/qcom_hidma_mgmt.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/qcom_h

[PATCH V5 01/10] Documentation: DT: qcom_hidma: update binding for MSI

2016-10-06 Thread Sinan Kaya
Adding a new binding for qcom,hidma-1.1 to distinguish HW supporting MSI interrupts from the older revision. Signed-off-by: Sinan Kaya --- Documentation/devicetree/bindings/dma/qcom_hidma_mgmt.txt | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH V5 04/10] dmaengine: qcom_hidma: configure DMA and MSI for OF

2016-10-06 Thread Sinan Kaya
Configure the DMA bindings for the device tree based firmware. Signed-off-by: Sinan Kaya --- drivers/dma/qcom/hidma_mgmt.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/dma/qcom/hidma_mgmt.c b/drivers/dma/qcom/hidma_mgmt.c index 82f36e4..185d29c 100644 --- a

Re: [PATCH V1 05/10] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-10-06 Thread Keerthy
Steve, On Thursday 06 October 2016 02:13 PM, Steve Twiss wrote: From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. If the PMIC's internal junction temperature rises above TEMP_WARN (125 degC) an interrupt is issued. Thi

Re: [PATCH] mm/slab: fix kmemcg cache creation delayed issue

2016-10-06 Thread Joonsoo Kim
On Thu, Oct 06, 2016 at 09:02:00AM -0700, Doug Smythies wrote: > It was my (limited) understanding that the subsequent 2 patch set > superseded this patch. Indeed, the 2 patch set seems to solve > both the SLAB and SLUB bug reports. It would mean that patch 1 solves both the SLAB and SLUB bug repo

Re: [RFC PATCH] mm, compaction: allow compaction for GFP_NOFS requests

2016-10-06 Thread Vlastimil Babka
On 10/04/2016 10:12 AM, Michal Hocko wrote: From: Michal Hocko compaction has been disabled for GFP_NOFS and GFP_NOIO requests since the direct compaction was introduced by 56de7263fcf3 ("mm: compaction: direct compact when a high-order allocation fails"). The main reason is that the migration

Re: Scrolling down broken with "perf top --hierarchy"

2016-10-06 Thread Markus Trippelsdorf
On 2016.10.07 at 06:56 +0200, Markus Trippelsdorf wrote: > On 2016.10.07 at 06:32 +0200, Markus Trippelsdorf wrote: > > On 2016.10.07 at 13:22 +0900, Namhyung Kim wrote: > > > On Fri, Oct 07, 2016 at 05:51:18AM +0200, Markus Trippelsdorf wrote: > > > > On 2016.10.07 at 10:17 +0900, Namhyung Kim wro

[PATCH] perf top: Fix refreshing hierarchy entries on TUI

2016-10-06 Thread Namhyung Kim
Markus reported that 'perf top --hierarchy' cannot scroll down after refresh. This was because the number of entries are not updated when hierarchy is enabled. Unlike normal report view, hierarchy mode needs to keep its own entry count since it can have non-leaf entries which can expand/collapse.

[GIT PULL] drm-vc4-next-2016-10-06

2016-10-06 Thread Eric Anholt
These are fixes that have been on the list for 1-3 weeks that didn't make it into 4.9. I've been running most of them most of the time, some have been merged downstream, and some have also been merged to the Fedora kernel build. This is about as much testing as we ever get on vc4, so I feel prett

Re: Scrolling down broken with "perf top --hierarchy"

2016-10-06 Thread Markus Trippelsdorf
On 2016.10.07 at 06:32 +0200, Markus Trippelsdorf wrote: > On 2016.10.07 at 13:22 +0900, Namhyung Kim wrote: > > On Fri, Oct 07, 2016 at 05:51:18AM +0200, Markus Trippelsdorf wrote: > > > On 2016.10.07 at 10:17 +0900, Namhyung Kim wrote: > > > > On Thu, Oct 06, 2016 at 06:33:33PM +0200, Markus Trip

Re: Scrolling down broken with "perf top --hierarchy"

2016-10-06 Thread Namhyung Kim
Cc-ing perf maintainers, On Fri, Oct 07, 2016 at 06:32:29AM +0200, Markus Trippelsdorf wrote: > On 2016.10.07 at 13:22 +0900, Namhyung Kim wrote: > > On Fri, Oct 07, 2016 at 05:51:18AM +0200, Markus Trippelsdorf wrote: > > > On 2016.10.07 at 10:17 +0900, Namhyung Kim wrote: > > > > On Thu, Oct 06,

[PATCH 01/01] drivers:input:byd fix greedy detection of Sentelic FSP by the BYD touchpad driver

2016-10-06 Thread Christophe Tordeux
From: Christophe TORDEUX With kernel v4.6 and later, the Sentelic touchpad STL3888_C0 and probably other Sentelic FSP touchpads are detected as a BYD touchpad and lose multitouch features. During the BYD handshake in the byd_detect function, the BYD driver mistakenly interprets a standard PS/2 p

[RESEND PATCH v3] scsi: ufshcd: fix possible unclocked register access

2016-10-06 Thread Subhash Jadavani
Vendor specific setup_clocks callback may require the clocks managed by ufshcd driver to be ON. So if the vendor specific setup_clocks callback is called while the required clocks are turned off, it could result into unclocked register access. To prevent possible unclock register access, this chan

Re: [PATCH v2] mount: dont execute propagate_umount() many times for same mounts

2016-10-06 Thread Eric W. Biederman
Andrei Vagin writes: > On Thu, Oct 06, 2016 at 02:46:30PM -0500, Eric W. Biederman wrote: >> Andrei Vagin writes: >> >> > The reason of this optimization is that umount() can hold namespace_sem >> > for a long time, this semaphore is global, so it affects all users. >> > Recently Eric W. Bieder

Re: [PATCH] staging: sm750fb: Fix printk() style warning

2016-10-06 Thread Edward Lipinsky
On Sun, Oct 02, 2016 at 08:13:01PM +0200, Greg KH wrote: > On Sun, Oct 02, 2016 at 11:05:05AM -0700, Edward Lipinsky wrote: > > This patch fixes the checkpatch.pl warning: > > > > WARNING: printk() should include KERN_ facility level > > > > Signed-off-by: Edward Lipinsky > > --- > > drivers/st

Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid <-> apicid mapping

2016-10-06 Thread Dou Liyang
Hi Yinghai At 10/07/2016 05:20 AM, Yinghai Lu wrote: On Thu, Oct 6, 2016 at 1:06 AM, Dou Liyang wrote: I seem to remember that in x2APIC Spec the x2APIC ID may be at 255 or greater. Good to know. Maybe later when one package have more cores like 30 cores etc. If we do that judgment, it ma

Re: [PATCH 1/2] watchdog: Introduce update_arch_nmi_watchdog

2016-10-06 Thread Sam Ravnborg
On Thu, Oct 06, 2016 at 03:16:42PM -0700, Babu Moger wrote: > Currently we do not have a way to enable/disable arch specific > watchdog handlers if it was implemented by any of the architectures. > > This patch introduces new function update_arch_nmi_watchdog > which can be used to enable/disable

Re: Scrolling down broken with "perf top --hierarchy"

2016-10-06 Thread Markus Trippelsdorf
On 2016.10.07 at 13:22 +0900, Namhyung Kim wrote: > On Fri, Oct 07, 2016 at 05:51:18AM +0200, Markus Trippelsdorf wrote: > > On 2016.10.07 at 10:17 +0900, Namhyung Kim wrote: > > > On Thu, Oct 06, 2016 at 06:33:33PM +0200, Markus Trippelsdorf wrote: > > > > Scrolling down is broken when using "perf

Re: Scrolling down broken with "perf top --hierarchy"

2016-10-06 Thread Namhyung Kim
On Fri, Oct 07, 2016 at 05:51:18AM +0200, Markus Trippelsdorf wrote: > On 2016.10.07 at 10:17 +0900, Namhyung Kim wrote: > > On Thu, Oct 06, 2016 at 06:33:33PM +0200, Markus Trippelsdorf wrote: > > > Scrolling down is broken when using "perf top --hierarchy". > > > When it starts up everything is O

Re: [PATCH] ftrace: Support full glob matching

2016-10-06 Thread Namhyung Kim
Hi Masami, On Wed, Oct 05, 2016 at 08:58:15PM +0900, Masami Hiramatsu wrote: > Use glob_match() to support flexible glob wildcards (*,?) > and character classes ([) for ftrace. > Since the full glob matching is slower than the current > partial matching routines(*pat, pat*, *pat*), this leaves > t

Re: [PATCH] tools lib traceevent: Fix kbuffer_read_at_offset()

2016-10-06 Thread Namhyung Kim
Hi Steve, On Wed, Oct 05, 2016 at 09:28:01AM -0400, Steven Rostedt wrote: > On Sat, 1 Oct 2016 19:17:00 +0900 > Namhyung Kim wrote: > > > When it's called with an offset less than or equal to the first event, > > it'll return a garbage value since the data is not initialized. > > Well, it can

[PATCH - stable 4.1 backport] block: don't release bdi while request_queue has live references

2016-10-06 Thread NeilBrown
Hi, This patch was marked for stable v4.2+, but is needed for v4.1 as well. It fixes a regression introduced by: Fixes: 6cd18e711dd8 ("block: destroy bdi before blockdev is unregistered.") This is a backport to 4.1.33 which has been tested and confirmed to work. Bug report at https://bug

loop mount: kernel BUG at lib/percpu-refcount.c:231

2016-10-06 Thread Dave Young
Hi, Below bug happened to me while loop mount a file image after stopping a kvm guest. But it only happend once til now.. [ 4761.031686] [ cut here ] [ 4761.075984] kernel BUG at lib/percpu-refcount.c:231! [ 4761.120184] invalid opcode: [#1] SMP [ 4761.164307] Modules

[GIT PULL] Please pull powerpc/linux.git powerpc-4.9-1 tag

2016-10-06 Thread Michael Ellerman
Hi Linus, Please pull the first batch of powerpc updates for 4.9: The following changes since commit c6935931c1894ff857616ff8549b61236a19148f: Linux 4.8-rc5 (2016-09-04 14:31:46 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git

Re: CONFIG_DEBUG_TEST_DRIVER_REMOVE needs a warning

2016-10-06 Thread Rob Herring
On Thu, Oct 6, 2016 at 6:53 PM, Laura Abbott wrote: > On a whim, I decided to turn on CONFIG_DEBUG_TEST_DRIVER_REMOVE on > Fedora rawhide since it sounded harmless enough. It spewed warnings > and panicked some systems. Clearly it's doing its job > well of finding drivers that can't handle remove

Re: [PATCH 4.8 00/10] 4.8.1-stable review

2016-10-06 Thread Greg Kroah-Hartman
On Thu, Oct 06, 2016 at 11:51:01AM -0700, Guenter Roeck wrote: > On Thu, Oct 06, 2016 at 10:18:23AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.8.1 release. > > There are 10 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 4.7 000/141] 4.7.7-stable review

2016-10-06 Thread Greg Kroah-Hartman
On Thu, Oct 06, 2016 at 11:54:02AM -0700, Guenter Roeck wrote: > On Thu, Oct 06, 2016 at 10:27:16AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.7.7 release. > > There are 141 patches in this series, all will be posted as a response > > to this one. I

Re: Change CONFIG_DEVKMEM default value to n

2016-10-06 Thread Greg Kroah-Hartman
On Fri, Oct 07, 2016 at 10:04:11AM +0800, Dave Young wrote: > Kconfig comment suggests setting it as "n" if in doubt thus move the > default value to 'n'. > > Signed-off-by: Dave Young > Suggested-by: Kees Cook > --- > drivers/char/Kconfig |2 +- > 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH 4.8 00/10] 4.8.1-stable review

2016-10-06 Thread Greg Kroah-Hartman
On Thu, Oct 06, 2016 at 01:56:28PM -0600, Shuah Khan wrote: > On 10/06/2016 02:18 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.8.1 release. > > There are 10 patches in this series, all will be posted as a response > > to this one. If anyone has any issue

Re: [PATCH] staging: lustre: lprocfs_status.h: fix sparse error: symbol redeclared with different type

2016-10-06 Thread Greg KH
On Thu, Oct 06, 2016 at 06:52:07PM +0200, Samuele Baisi wrote: > drivers/staging/lustre/lustre/obdclass/lprocfs_status.c:1554:5: error: > symbol 'lprocfs_wr_root_squash' redeclared with different type (originally > declared at > drivers/staging/lustre/lustre/obdclass/../include/lprocfs_status.h:70

Re: [PATCH 4.7 122/141] scsi: ses: use scsi_is_sas_rphy instead of is_sas_attached

2016-10-06 Thread Greg Kroah-Hartman
On Thu, Oct 06, 2016 at 09:25:34PM +0800, James Bottomley wrote: > On Thu, 2016-10-06 at 10:29 +0200, Greg Kroah-Hartman wrote: > > 4.7-stable review patch. If anyone has any objections, please let me > > know. > > This doesn't build if SCSI_SAS_ATTRS isn't set without this patch: > > > commit

Re: CONFIG_DEBUG_TEST_DRIVER_REMOVE needs a warning

2016-10-06 Thread Greg Kroah-Hartman
On Thu, Oct 06, 2016 at 04:53:20PM -0700, Laura Abbott wrote: > On a whim, I decided to turn on CONFIG_DEBUG_TEST_DRIVER_REMOVE on > Fedora rawhide since it sounded harmless enough. It spewed warnings > and panicked some systems. Clearly it's doing its job > well of finding drivers that can't hand

Re: Scrolling down broken with "perf top --hierarchy"

2016-10-06 Thread Markus Trippelsdorf
On 2016.10.07 at 10:17 +0900, Namhyung Kim wrote: > On Thu, Oct 06, 2016 at 06:33:33PM +0200, Markus Trippelsdorf wrote: > > Scrolling down is broken when using "perf top --hierarchy". > > When it starts up everything is OK and one can scroll up and down to all > > entries. But as further and furth

Re: [PATCH] drivers: staging: greybus: Fixed CHECKS for brace issues

2016-10-06 Thread Vaibhav Agarwal
On Fri, Oct 7, 2016 at 8:08 AM, Chase Metzger wrote: > Added braces to else statements where checkpatch complained. > > Signed-off-by: Chase Metzger > --- Reviewed-by: Vaibhav Agarwal

Re: [RESEND PATCH v2 2/3] cpufreq: brcmstb-avs-cpufreq: AVS CPUfreq driver for Broadcom STB SoCs

2016-10-06 Thread Viresh Kumar
On 06-10-16, 14:04, Markus Mayer wrote: > Unfortunately, I'll have to take back one agreed-upon change. > > In this piece of code, brcm_avs_is_firmware_loaded() has to come after > requesting the IRQ. > > > priv->base = __map_region(BRCM_AVS_CPU_DATA); > if (!priv->base) { >

Re: [RESEND PATCH v2 2/3] cpufreq: brcmstb-avs-cpufreq: AVS CPUfreq driver for Broadcom STB SoCs

2016-10-06 Thread Viresh Kumar
On 06-10-16, 07:51, Markus Mayer wrote: > During early development, when the driver couldn't fully register, I > would see the init() function called four times, i.e. once for each > core. If the first call succeeded, that was it. It would only get > called once. But if it failed, all cores would t

Re: [PATCH] drivers: staging: greybus: Fixed CHECKS for brace issues

2016-10-06 Thread Viresh Kumar
On Fri, Oct 7, 2016 at 8:08 AM, Chase Metzger wrote: > Added braces to else statements where checkpatch complained. > > Signed-off-by: Chase Metzger > --- > drivers/staging/greybus/audio_topology.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) Acked-by: Viresh Kumar

Re: [PATCH] padata: add helper function for queue length

2016-10-06 Thread Steffen Klassert
On Sun, Oct 02, 2016 at 03:46:38AM +0200, Jason A. Donenfeld wrote: > Since padata has a maximum number of inflight jobs, currently 1000, it's > very useful to know how many jobs are currently queued up. This adds a > simple helper function to expose this information. > > Signed-off-by: Jason A. D

Re: [PATCH v4 10/12] dax: add struct iomap based DAX PMD support

2016-10-06 Thread Ross Zwisler
On Thu, Oct 06, 2016 at 03:34:24PM -0600, Ross Zwisler wrote: > Interesting - adding iomap_end() calls to the DAX PTE fault handler causes an > AA deadlock because we try and retake ei->dax_sem. We take dax_sem in > ext2_dax_fault() before calling into the DAX code, then if we end up going > throu

Re: [PATCH 2/3] doc: dt: add cyclone-spi binding document

2016-10-06 Thread Moritz Fischer
Hi Joshua, On Thu, Oct 6, 2016 at 1:34 PM, Joshua Clayton wrote: > Describe a cyclonespi devicetree entry, required features > > Signed-off-by: Joshua Clayton > --- > .../bindings/fpga/cyclone-spi-fpga-mgr.txt | 23 > ++ > 1 file changed, 23 insertions(+) > create

Re: [PATCH 1/3] fpga manager: Add cyclonespi driver for Altera fpgas

2016-10-06 Thread Moritz Fischer
Hi Joshua, couple of nits inline below: On Thu, Oct 6, 2016 at 1:34 PM, Joshua Clayton wrote: > diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig > index cd84934..ccad5b1 100644 > --- a/drivers/fpga/Kconfig > +++ b/drivers/fpga/Kconfig > @@ -13,6 +13,12 @@ config FPGA > > if FPGA > > +c

[PATCH] drivers: staging: greybus: Fixed CHECKS for brace issues

2016-10-06 Thread Chase Metzger
Added braces to else statements where checkpatch complained. Signed-off-by: Chase Metzger --- drivers/staging/greybus/audio_topology.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/audio_topology.c b/drivers/staging/greybus/audio_topology.c i

Re: callchain map refcounting fixes was Re: [PATCH perf/core] perf script: fix a use after free crash.

2016-10-06 Thread Namhyung Kim
Hi Arnaldo and Krister, On Wed, Oct 05, 2016 at 08:45:24AM -0300, Arnaldo Carvalho de Melo wrote: > Em Sat, Oct 01, 2016 at 08:13:36PM -0700, Krister Johansen escreveu: > > If dso__load_kcore frees all of the existing maps, but one has already > > been attached to a callchain cursor node, then we

Re: [GIT PULL] MFD for v4.9

2016-10-06 Thread Linus Torvalds
On Thu, Oct 6, 2016 at 1:21 AM, Lee Jones wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git mfd-for-linus-4.9 No such branch or tag. Forgot to push out? Normally you do a tag, but the last one there is refs/tags/mfd-for-linus-4.8.. Linus

Change CONFIG_DEVKMEM default value to n

2016-10-06 Thread Dave Young
Kconfig comment suggests setting it as "n" if in doubt thus move the default value to 'n'. Signed-off-by: Dave Young Suggested-by: Kees Cook --- drivers/char/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-x86.orig/drivers/char/Kconfig +++ linux-x86/drivers/char/Kcon

Re: [PATCH] Let CONFIG_STRICT_DEVMEM depends on CONFIG_DEVMEM

2016-10-06 Thread Dave Young
On 10/06/16 at 02:39pm, Kees Cook wrote: > On Wed, Oct 5, 2016 at 10:12 PM, Dave Young wrote: > > With CONFIG_DEVMEM not set, CONFIG_STRICT_DEVMEM will be useless > > even if it is set =y, thus let's update the dependency in Kconfig. > > > > Signed-off-by: Dave Young > > Acked-by: Kees Cook >

[PATCH v3] scsi: ufshcd: fix possible unclocked register access

2016-10-06 Thread Subhash Jadavani
Vendor specific setup_clocks callback may require the clocks managed by ufshcd driver to be ON. So if the vendor specific setup_clocks callback is called while the required clocks are turned off, it could result into unclocked register access. To prevent possible unclock register access, this chan

[GIT PULL] ext4 updates for 4.9

2016-10-06 Thread Theodore Ts'o
The following changes since commit b8927721ae9d5ac0582d29d7b8c267d465ad5f00: Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (2016-08-29 12:37:11 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso

[PATCHv2] hwmon: Add tc654 driver

2016-10-06 Thread Chris Packham
Add support for the tc654 and tc655 fan controllers from Microchip. http://ww1.microchip.com/downloads/en/DeviceDoc/20001734C.pdf Signed-off-by: Chris Packham --- Changes in v2: - Add Documentation/hwmon/tc654 - Incorporate most of the review comments from Guenter. Additional error handling i

Re: [PATCH v2] scsi: ufshcd: fix possible unclocked register access

2016-10-06 Thread Subhash Jadavani
On 2016-10-06 18:16, Kiwoong Kim wrote: Hi, Subhash. Thanks Kim for the response. On 2016-10-06 03:28, Kiwoong Kim wrote: > Hi, Subhash. > > Some UFS host controllers may need to call the vendor specific > callback before and after controlling by clock control framework, > regardless of whethe

Re: Scrolling down broken with "perf top --hierarchy"

2016-10-06 Thread Namhyung Kim
Hi Markus, On Thu, Oct 06, 2016 at 06:33:33PM +0200, Markus Trippelsdorf wrote: > Scrolling down is broken when using "perf top --hierarchy". > When it starts up everything is OK and one can scroll up and down to all > entries. But as further and further new entries get added to the list, > scroll

[PATCH] scsi: ufs: fix race between clock gating and devfreq scaling work

2016-10-06 Thread Subhash Jadavani
UFS devfreq clock scaling work may require clocks to be ON if it need to execute some UFS commands hence it may request for clock hold before issuing the command. But if UFS clock gating work is already running in parallel, ungate work would end up waiting for the clock gating work to finish and as

RE: [PATCH v2] scsi: ufshcd: fix possible unclocked register access

2016-10-06 Thread Kiwoong Kim
Hi, Subhash. > Thanks Kim for the response. > > On 2016-10-06 03:28, Kiwoong Kim wrote: > > Hi, Subhash. > > > > Some UFS host controllers may need to call the vendor specific > > callback before and after controlling by clock control framework, > > regardless of whether available clocks are turn

Re: [PATCH] drivers: net: phy: Correct duplicate MDIO_XGENE entry

2016-10-06 Thread David Miller
From: Laura Abbott Date: Thu, 6 Oct 2016 11:22:51 -0700 > An extra entry for MDIO_XGENE got added during merging. > Delete it. > > Reviewed-by: Andrew Lunn > Signed-off-by: Laura Abbott Applied, thanks.

Re: [PATCH v2] ethernet: qualcomm: QCOM_EMAC should depend on HAS_DMA and HAS_IOMEM

2016-10-06 Thread David Miller
From: Geert Uytterhoeven Date: Thu, 6 Oct 2016 16:44:53 +0200 > If NO_DMA=y: > > drivers/built-in.o: In function `emac_probe': > emac.c:(.text+0x3780b8): undefined reference to `bad_dma_ops' > emac.c:(.text+0x3780e2): undefined reference to `bad_dma_ops' > emac.c:(.text+0x378112

Re: [PATCH] clk: max77686: fix number of clocks setup for clk_hw based registration

2016-10-06 Thread Chanwoo Choi
Hi Javier, On 2016년 10월 06일 23:59, Javier Martinez Canillas wrote: > The commit 9b4cac33adc7 ("clk: max77686: Migrate to clk_hw based OF and > registration APIs") converted the driver to use the new provider API to > register clocks using clk_hw. > > But unfortunately, in the conversion it missed

Re: [PATCH net-next 00/13] rxrpc: Fixes

2016-10-06 Thread David Miller
From: David Howells Date: Thu, 06 Oct 2016 11:03:56 +0100 > This set of patches contains a bunch of fixes: ... Pulled, thanks David.

Re: [PATCH] devicetree: net: micrel-ksz90x1.txt: Properly explain skew settings

2016-10-06 Thread David Miller
From: Mike Looijmans Date: Wed, 5 Oct 2016 16:03:08 +0200 > The KSZ9031 skew registers contain an offset, the chip's default value > is "neutral" which does not add any skew. Programming a 0 into a skew > property will actually set it the maximal negative adjustment and not > to a neutral positi

Re: [PATCH][V2] net: hns: Add missing \n to end of dev_err messages, tidy up text

2016-10-06 Thread David Miller
From: Colin King Date: Tue, 4 Oct 2016 13:57:01 +0100 > From: Colin Ian King > > Trival fix, dev_err messages are missing a \n, so add it. Also > fix grammer, spelling mistake and add white spaces to various > error messages. > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH] net: ps3_gelic: Add missing \n to end of deb_dbg message

2016-10-06 Thread David Miller
From: Colin King Date: Tue, 4 Oct 2016 12:15:54 +0100 > From: Colin Ian King > > Trival fix, dev_dbg message is missing a \n, so add it. > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH] net: axienet: Add missing \n to end of dev_err messages

2016-10-06 Thread David Miller
From: Colin King Date: Tue, 4 Oct 2016 12:11:41 +0100 > From: Colin Ian King > > Trival fix, dev_err messages are missing a \n, so add it. > > Signed-off-by: Colin Ian King Applied.

[GIT PULL] MD update for 4.9

2016-10-06 Thread Shaohua Li
Hi Linus, Please pull MD update for 4.9. This update includes: - new AVX512 instruction based raid6 gen/recovery algorithm - A couple of md-cluster related bug fixes - Fix a potential deadlock - Set nonrotational bit for raid array with SSD - Set correct max_hw_sectors for raid5/6, which hopefuly c

Re: [net-next 00/13] fsl/fman: cleanup and small fixes

2016-10-06 Thread David Miller
From: Madalin Bucur Date: Tue, 4 Oct 2016 10:30:24 +0300 > This series contains fixes for the DPAA FMan driver. > Adding myself as maintainer of the driver. > > The following are changes since commit > a4cc96d1f0170b779c32c6b2cc58764f5d2cdef0 > net: phy: Add Edge-rate driver for Microsemi PHYs

4.4.10 lio (iscsi_trx) messages in dmesg

2016-10-06 Thread Wakko Warner
I'm seeing the following message when using the lio iscsi target. This message is on the machine with the target. I have 1 target with 3 luns. The luns are /dev/sr0 1 and 2 using pscsi backend. On the initiator, I issue eject srX for each of the 3 drives and see this message. (NOTE: The initia

Dearest Chosen One

2016-10-06 Thread Mrs. Amina
Dearest Chosen One With Due Respect And Humanity,I was compelled to write to you under a humanitarian ground. My name is Mrs Amina Mohammed, My Husband was a director in a trading company here in Cote D Ivoire.We were married for 36 years without a child. He died after Cardiac Arteries operati

Re: BUG_ON() in workingset_node_shadows_dec() triggers

2016-10-06 Thread Linus Torvalds
On Thu, Oct 6, 2016 at 4:05 PM, Kees Cook wrote: > > It seems to handle other things too, file descriptors, I think? Some > giant warning, I think about fds, went away when I switched from > do_exit() to BUG(). I'd have to go look more closely. I think you must have changed something else too. I

CONFIG_DEBUG_TEST_DRIVER_REMOVE needs a warning

2016-10-06 Thread Laura Abbott
On a whim, I decided to turn on CONFIG_DEBUG_TEST_DRIVER_REMOVE on Fedora rawhide since it sounded harmless enough. It spewed warnings and panicked some systems. Clearly it's doing its job well of finding drivers that can't handle remove properly and I underestimated it. I was expecting to maybe

[PATCH v2 2/2] Doc: update 00-INDEX files to reflect the runnable code move

2016-10-06 Thread Shuah Khan
Update 00-INDEX files with the current file list to reflect the runnable code move. Acked-by: Michal Marek Acked-by: Jonathan Corbet Reviewed-by: Kees Cook Signed-off-by: Shuah Khan --- Documentation/00-INDEX | 3 ++- Documentation/arm/00-INDEX | 2 -- Documentation/filesy

[PATCH v2 1/2] samples: move blackfin gptimers-example from Documentation

2016-10-06 Thread Shuah Khan
Move blackfin gptimers-example to samples and remove it from Documentation Makefile. Update samples Kconfig and Makefile to build gptimers-example. blackfin is the last CONFIG_BUILD_DOCSRC target in Documentation/Makefile. Hence this patch also includes changes to remove CONFIG_BUILD_DOCSRC from M

[PATCH v2 0/2] Moving runnable code from Documentation (last 2 patches)

2016-10-06 Thread Shuah Khan
This patch series contains the last 2 patches to complete moving runnable code from Documentation to selftests, samples, and tools. The first patch moves blackfin gptimers-example to samples, removes BUILD_DOCSRC and updates BUILD_DOCSRC dependencies. The second one updates 00-INDEX files under D

  1   2   3   4   5   6   7   8   9   >