Re: [PATCH 1/5] sched,time: count actually elapsed irq & softirq time

2016-06-16 Thread kbuild test robot
Hi, [auto build test ERROR on tip/sched/core] [also build test ERROR on next-20160616] [cannot apply to v4.7-rc3] [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/riel-redhat-com/sched-time-fix

Re: [PATCH v2] arm64: allow building with kcov coverage on ARM64

2016-06-16 Thread Catalin Marinas
On Thu, Jun 16, 2016 at 04:44:12PM +0100, Mark Rutland wrote: > On Thu, Jun 16, 2016 at 05:20:03PM +0200, Alexander Potapenko wrote: > > I think it's time to ask now :) > > If I receive "Tested-by" or "Acked-by" responses, do I need to send > > out a patch adding them, or should I rely on the maint

Re: [PATCH 1/2] Crypto: Add SHA-3 hash algorithm

2016-06-16 Thread Stephan Mueller
Am Donnerstag, 16. Juni 2016, 21:39:17 schrieb Raveendra Padasalagi: Hi Raveendra, > I need some clarification to address your comment > > "Shouldn't there be a priority here?" > > What I know regarding priority value for an algorithm > is higher the priority value it will be get selected for e

[GIT PULL] pwm: Fixes for v4.7-rc4

2016-06-16 Thread Thierry Reding
Hi Linus, The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git tags/pwm/for-4.7-rc4 for you to fetch changes

Re: [PATCH 1/1] iio: fix config watermark initial value

2016-06-16 Thread Jonathan Cameron
On 16 June 2016 12:56:11 BST, Daniel Baluta wrote: >On Mon, Mar 28, 2016 at 1:02 PM, Jonathan Cameron >wrote: >> On 24/03/16 09:23, Lars-Peter Clausen wrote: >>> On 03/24/2016 10:09 AM, Irina Tirdea wrote: config structure is set to 0 when updating the buffers, so by default config->w

Re: Divide-by-zero in post_init_entity_util_avg

2016-06-16 Thread Peter Zijlstra
On Thu, Jun 16, 2016 at 02:25:04PM +0200, Peter Zijlstra wrote: > On Thu, Jun 16, 2016 at 10:50:40AM +0200, Peter Zijlstra wrote: > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > > index f75930bdd326..3fd3d903e6b6 100644 > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@

Re: [PATCH] rtlwifi: use s8 instead of char

2016-06-16 Thread Jes Sorensen
David Laight writes: > From: Arnd Bergmann >> On Wednesday, June 15, 2016 5:10:51 PM CEST Jes Sorensen wrote: >> > >> > Arnd, >> > >> > rtlwifi and rtl8xxxu are two distinct drivers managed by different >> > people. I'd be really nice if you could split this into a per driver >> > patch. >> > >> >

Re: [PATCH 3/7] dt-bindings: phy: Add documentation for NSP SATA PHY

2016-06-16 Thread Florian Fainelli
On 06/16/2016 06:53 AM, Yendapally Reddy Dhananjaya Reddy wrote: > Add documentation for SATA PHY available in Broadcom's > NSP SoC. > > Signed-off-by: Yendapally Reddy Dhananjaya Reddy > Acked-by: Florian Fainelli -- Florian

Re: [PATCH 1/7] dt-bindings: ata: rename brcm,sata-brcmstb.txt to brcm,sata-brcm.txt

2016-06-16 Thread Florian Fainelli
On 06/16/2016 06:53 AM, Yendapally Reddy Dhananjaya Reddy wrote: > Renames the dt bindings document of Broadcom STB ahci driver to > common Broadcom ahci driver bindings document > > Signed-off-by: Yendapally Reddy Dhananjaya Reddy > Acked-by: Florian Fainelli -- Florian

Re: [PATCH 2/7] dt-bindings: ata: add support for Broadcom NSP SoC ahci

2016-06-16 Thread Florian Fainelli
On 06/16/2016 06:53 AM, Yendapally Reddy Dhananjaya Reddy wrote: > Add support for Broadcom NSP SoC ahci > > Signed-off-by: Yendapally Reddy Dhananjaya Reddy > Acked-by: Florian Fainelli -- Florian

Re: [PATCH] dm raid: don't use 'const' in function return

2016-06-16 Thread Heinz Mauelshagen
Thanks Arnd. On 06/16/2016 11:03 AM, Arnd Bergmann wrote: A newly introduced function has 'const int' as the return type, but as "make W=1" reports, that has no meaning: drivers/md/dm-raid.c:510:18: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] This chan

hfi1 use of PCI internals

2016-06-16 Thread Bjorn Helgaas
I noticed drivers/infiniband/hw/hfi1 got moved from staging to drivers/ for v4.7. It does a bunch of grubbing around in PCIe ASPM configuration, e.g., see drivers/infiniband/hw/hfi1/aspm.h. I know there have been lots of ASPM issues, both hardware problems and Linux kernel problems, but it is *su

Re: [PATCH 1/1] iio: fix config watermark initial value

2016-06-16 Thread Lars-Peter Clausen
On 06/16/2016 06:16 PM, Jonathan Cameron wrote: > > > On 16 June 2016 12:56:11 BST, Daniel Baluta wrote: >> On Mon, Mar 28, 2016 at 1:02 PM, Jonathan Cameron >> wrote: >>> On 24/03/16 09:23, Lars-Peter Clausen wrote: On 03/24/2016 10:09 AM, Irina Tirdea wrote: > config structure is set

Re: [PATCH V2] ARM64: config: Enable MAX77620 pinctrl/gpio/rtc for Tegra210 P2180

2016-06-16 Thread Thierry Reding
On Thu, Jun 16, 2016 at 06:44:48PM +0530, Laxman Dewangan wrote: > Hi Thierry, > > On Friday 10 June 2016 10:49 PM, Laxman Dewangan wrote: > > NVIDIA's Tegra210 Jetson platform (P2180) uses the MAX77620 as PMIC. > > Enable GPIO, Pincontrol and RTC driver for this device. > > > > Signed-off-by: La

Re: [PATCH V4 0/2] cpufreq: Sort policy->freq_table

2016-06-16 Thread Viresh Kumar
On 08-06-16, 02:19, Rafael J. Wysocki wrote: > On Tuesday, June 07, 2016 03:55:13 PM Viresh Kumar wrote: > > Hi Rafael, > > > > I have spent some more time on this stuff and finally came out with a > > very simple solution. I hope you will like it more than the previous > > versions. > > > > Inst

[PATCH 5/5] irqtime: drop local_irq_save/restore from irqtime_account_irq

2016-06-16 Thread riel
From: Rik van Riel Drop local_irq_save/restore from irqtime_account_irq. Instead, have softirq and hardirq track their time spent independently, with the softirq code subtracting hardirq time that happened during the duration of the softirq run. The softirq code can be interrupted by hardirq cod

[PATCH 2/5] nohz,cputime: remove VTIME_GEN vtime irq time code

2016-06-16 Thread riel
From: Rik van Riel The CONFIG_VIRT_CPU_ACCOUNTING_GEN irq time tracking code does not appear to currently work right. On CPUs that are nohz_full, people typically do not assign IRQs. On the housekeeping CPU (when a system is booted up with nohz_full), sampling should work ok to determine irq and

[PATCH 1/5] sched,time: count actually elapsed irq & softirq time

2016-06-16 Thread riel
From: Rik van Riel Currently, if there was any irq or softirq time during 'ticks' jiffies, the entire period will be accounted as irq or softirq time. This is inaccurate if only a subset of 'ticks' jiffies was actually spent handling irqs, and could conceivably mis-count all of the ticks during

[PATCH 4/5] irqtime: add irq type parameter to irqtime_account_irq

2016-06-16 Thread riel
From: Rik van Riel Add an irq type parameter and documentation to irqtime_account_irq, this can be used to distinguish between transitioning from process context to hardirq time, and from process context to softirq time. This is necessary to be able to remove the local_irq_disable from irqtime_a

[PATCH 0/5] sched,time: fix irq time accounting with nohz_idle

2016-06-16 Thread riel
Currently irq time accounting only works in these cases: 1) purely ticke based accounting 2) nohz_full accounting, but only on housekeeping & nohz_full CPUs 3) architectures with native vtime accounting On nohz_idle CPUs, which are probably the majority nowadays, irq time accounting is currently b

[PATCH 3/5] cputime: allow irq time accounting to be selected as an option

2016-06-16 Thread riel
From: Rik van Riel Allow CONFIG_IRQ_TIME_ACCOUNTING to be selected as an option, on top of CONFIG_VIRT_CPU_ACCOUNTING_GEN (and potentially others?). This allows for the irq time accounting code to be used with nohz_idle CPUs, which is how several distributions ship their kernels. Using the same

Re: [PATCH 1/3] drivers/media/dvb-core/en50221: use kref to manage struct dvb_ca_private

2016-06-16 Thread Shuah Khan
On 06/15/2016 02:15 PM, Max Kellermann wrote: > Don't free the object until the file handle has been closed. Fixes > use-after-free bug which occurs when I disconnect my DVB-S received > while VDR is running. Which file handle? /dev/dvb--- There seems to be a problem in the driver release routin

Re: [patch 13/20] timer: Switch to a non cascading wheel

2016-06-16 Thread Thomas Gleixner
On Thu, 16 Jun 2016, Arjan van de Ven wrote: > I think there's 2 elements on the interface. > > 1) having a relative interface to the current time (avoid use of > absolute jiffies in drivers) That's the easy part :) > 2) having wallclock units. Making HZ always be 1000 is effectively > doing t

Re: [PATCH] spi: add spi_sync_single_transfer wrapper for single spi_transfer

2016-06-16 Thread Lars-Peter Clausen
On 06/16/2016 01:40 AM, Andi Shyti wrote: > The spi_sync_single_transfer function calls spi_sync_transfer > with a single spi_transfer element, instead of an array. So, what's the advantage of using this as opposed to calling spi_sync_transfer with a 1 for the number of transfers?

Re: [PATCH 1/2] Crypto: Add SHA-3 hash algorithm

2016-06-16 Thread Raveendra Padasalagi
Hi Stephan, Yes, I was initially thinking of to put it as FIPS but looked at the existing "crypto/Kconfig" for other algorithms and found it to be using DFIPS. So kept this also the same :) I need some clarification to address your comment "Shouldn't there be a priority here?" What I know regar

Re: [PATCH 16/27] mm: Move page mapped accounting to the node

2016-06-16 Thread Mel Gorman
On Thu, Jun 16, 2016 at 05:52:59PM +0200, Vlastimil Babka wrote: > On 06/09/2016 08:04 PM, Mel Gorman wrote: > >Reclaim makes decisions based on the number of file pages that are mapped but > >it's mixing node and zone information. Account NR_FILE_MAPPED pages on the > >node. > > And NR_ANON_PAGE

Re: [v3,1/2] b43: Remove unused phy_a code

2016-06-16 Thread Michael Büsch
On Thu, 16 Jun 2016 18:56:14 +0300 Kalle Valo wrote: > Michael Büsch writes: > > > On Thu, 16 Jun 2016 15:23:37 + (UTC) > > Kalle Valo wrote: > > > >> Guenter Roeck wrote: > >> > gcc-6 reports the following error with -Werror=unused-const-variable. > >> > > >> > drivers/net/wireless/

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Mike Kravetz
On 06/16/2016 08:43 AM, Michal Hocko wrote: > [It seems that this patch has been sent several times and this > particular copy didn't add Kirill who has added this code CC him now] > > On Thu 16-06-16 17:42:14, Michal Hocko wrote: >> On Thu 16-06-16 19:36:11, zhongjiang wrote: >>> From: zhong jian

Re: [patch 13/20] timer: Switch to a non cascading wheel

2016-06-16 Thread Arjan van de Ven
I think there's 2 elements on the interface. 1) having a relative interface to the current time (avoid use of absolute jiffies in drivers) 2) having wallclock units. Making HZ always be 1000 is effectively doing that as well (1 msec after all) On Thu, Jun 16, 2016 at 8:43 AM, Thomas Gleixner

RE: [PATCH] rtlwifi: use s8 instead of char

2016-06-16 Thread David Laight
From: Arnd Bergmann > On Wednesday, June 15, 2016 5:10:51 PM CEST Jes Sorensen wrote: > > > > Arnd, > > > > rtlwifi and rtl8xxxu are two distinct drivers managed by different > > people. I'd be really nice if you could split this into a per driver > > patch. > > > > That said, the use of char in rt

Re: [v3,1/2] b43: Remove unused phy_a code

2016-06-16 Thread Kalle Valo
Michael Büsch writes: > On Thu, 16 Jun 2016 15:23:37 + (UTC) > Kalle Valo wrote: > >> Guenter Roeck wrote: >> > gcc-6 reports the following error with -Werror=unused-const-variable. >> > >> > drivers/net/wireless/broadcom/b43/phy_a.c:576:40: error: >> >'b43_phyops_a' defined but not us

Re: [patch 13/20] timer: Switch to a non cascading wheel

2016-06-16 Thread Paul E. McKenney
On Thu, Jun 16, 2016 at 05:43:36PM +0200, Thomas Gleixner wrote: > On Wed, 15 Jun 2016, Thomas Gleixner wrote: > > On Wed, 15 Jun 2016, Arjan van de Ven wrote: > > > what would 1 more timer wheel do? > > > > Waste storage space and make the collection of expired timers more > > expensive. > > >

Re: [PATCH 14/27] mm, workingset: Make working set detection node-aware

2016-06-16 Thread Mel Gorman
On Thu, Jun 16, 2016 at 05:13:51PM +0200, Vlastimil Babka wrote: > On 06/09/2016 08:04 PM, Mel Gorman wrote: > >Working set and refault detection is still zone-based, fix it. > > > >Signed-off-by: Mel Gorman > >Acked-by: Johannes Weiner > > Acked-by: Vlastimil Babka > > If you wanted, workings

Re: [PATCH 07/10] mm, oom: fortify task_will_free_mem

2016-06-16 Thread Michal Hocko
On Fri 17-06-16 00:40:41, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Thu 16-06-16 21:54:27, Tetsuo Handa wrote: > > > Michal Hocko wrote: > > > > On Sat 11-06-16 17:10:03, Tetsuo Handa wrote: > > [...] > > > I still don't like it. current->mm == NULL in > > > > > > - if (current->mm && > > >

[PATCH 4.7-rc3 v2] arm64: kgdb: Match pstate size with gdbserver protocol

2016-06-16 Thread Daniel Thompson
Current versions of gdb do not interoperate cleanly with kgdb on arm64 systems because gdb and kgdb do not use the same register description. This patch modifies kgdb to work with recent releases of gdb (>= 7.8.1). Compatibility with gdb (after the patch is applied) is as follows: gdb-7.6 and e

Re: [PATCH 16/27] mm: Move page mapped accounting to the node

2016-06-16 Thread Vlastimil Babka
On 06/09/2016 08:04 PM, Mel Gorman wrote: Reclaim makes decisions based on the number of file pages that are mapped but it's mixing node and zone information. Account NR_FILE_MAPPED pages on the node. And NR_ANON_PAGES. Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka I've noticed som

Re: [PATCH 13/27] mm, memcg: Move memcg limit enforcement from zones to nodes

2016-06-16 Thread Mel Gorman
On Thu, Jun 16, 2016 at 05:06:46PM +0200, Vlastimil Babka wrote: > >@@ -323,13 +319,10 @@ EXPORT_SYMBOL(memcg_kmem_enabled_key); > > > > #endif /* !CONFIG_SLOB */ > > > >-static struct mem_cgroup_per_zone * > >-mem_cgroup_zone_zoneinfo(struct mem_cgroup *memcg, struct zone *zone) > >+static struct

Re: [PATCH v2 2/4] mfd: cros_ec: add EC_PWM function definitions

2016-06-16 Thread Doug Anderson
Lee, On Thu, Jun 16, 2016 at 8:38 AM, Lee Jones wrote: > On Thu, 02 Jun 2016, Brian Norris wrote: > >> The EC_CMD_PWM_{GET,SET}_DUTY commands allow us to control a PWM that is >> attached to the EC, rather than the main host SoC. The API provides >> functionality-based (e.g., keyboard light, back

Re: [v3,1/2] b43: Remove unused phy_a code

2016-06-16 Thread Michael Büsch
On Thu, 16 Jun 2016 15:23:37 + (UTC) Kalle Valo wrote: > Guenter Roeck wrote: > > gcc-6 reports the following error with -Werror=unused-const-variable. > > > > drivers/net/wireless/broadcom/b43/phy_a.c:576:40: error: > > 'b43_phyops_a' defined but not used > > > > Per Michael Büsch: "A

Re: [PATCH 15/27] mm, page_alloc: Consider dirtyable memory in terms of nodes

2016-06-16 Thread Vlastimil Babka
On 06/09/2016 08:04 PM, Mel Gorman wrote: Historically dirty pages were spread among zones but now that LRUs are per-node it is more appropriate to consider dirty pages in a node. Signed-off-by: Mel Gorman Signed-off-by: Johannes Weiner Acked-by: Vlastimil Babka

Re: [patch 13/20] timer: Switch to a non cascading wheel

2016-06-16 Thread Thomas Gleixner
On Wed, 15 Jun 2016, Thomas Gleixner wrote: > On Wed, 15 Jun 2016, Arjan van de Ven wrote: > > what would 1 more timer wheel do? > > Waste storage space and make the collection of expired timers more expensive. > > The selection of the timer wheel properties is combination of: > > 1) Granula

Re: [PATCH v2] arm64: allow building with kcov coverage on ARM64

2016-06-16 Thread Mark Rutland
On Thu, Jun 16, 2016 at 05:20:03PM +0200, Alexander Potapenko wrote: > On Thu, Jun 16, 2016 at 12:47 PM, James Morse wrote: > > On 15/06/16 15:25, Mark Rutland wrote: > >> On Wed, Jun 15, 2016 at 01:53:03PM +0200, Alexander Potapenko wrote: > >>> On Wed, Jun 15, 2016 at 1:44 PM, Mark Rutland > >

[GIT PULL] nfsd bugfixes for 4.7

2016-06-16 Thread J. Bruce Fields
Please pull nfsd bugfixes for 4.7 from: git://linux-nfs.org/~bfields/linux.git tags/nfsd-4.7-1 --b. Oleg Drokin found and fixed races in the nfsd4 state code that go back to the big nfs4_lock_state removal around 3.17 (but that w

Re: [RFC] regmap: Add regmap_pipe_read API

2016-06-16 Thread Geert Uytterhoeven
Hi Leonard, On Thu, Jun 16, 2016 at 5:24 PM, Crestez Dan Leonard wrote: > The regmap API usually assumes that bulk read operations will read a > range of registers but some I2C/SPI devices have certain registers for > which a such a read operation will return data from an internal FIFO > instead.

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Michal Hocko
[It seems that this patch has been sent several times and this particular copy didn't add Kirill who has added this code CC him now] On Thu 16-06-16 17:42:14, Michal Hocko wrote: > On Thu 16-06-16 19:36:11, zhongjiang wrote: > > From: zhong jiang > > > > when a process acquire a pmd table shared

Re: [PATCH] mm: fix account pmd page to the process

2016-06-16 Thread Michal Hocko
On Thu 16-06-16 19:36:11, zhongjiang wrote: > From: zhong jiang > > when a process acquire a pmd table shared by other process, we > increase the account to current process. otherwise, a race result > in other tasks have set the pud entry. so it no need to increase it. > > Signed-off-by: zhong j

Re: [PATCH 07/10] mm, oom: fortify task_will_free_mem

2016-06-16 Thread Tetsuo Handa
Michal Hocko wrote: > On Thu 16-06-16 21:54:27, Tetsuo Handa wrote: > > Michal Hocko wrote: > > > On Sat 11-06-16 17:10:03, Tetsuo Handa wrote: > [...] > > I still don't like it. current->mm == NULL in > > > > - if (current->mm && > > - (fatal_signal_pending(current) || task_will_free_mem(

Re: [PATCH 1/2] Crypto: Add SHA-3 hash algorithm

2016-06-16 Thread Stephan Mueller
Am Donnerstag, 16. Juni 2016, 14:44:57 schrieb Raveendra Padasalagi: Hi Raveendra, > > Typo DFIPS? > > It's not typo, DFIPS mean here Draft FIPS 202. > Do you want me to put it in another way ? I have never seen DFIPS. Besides, most FIPS standards are drafts (including of FIPS 140-2 :-) ), bec

Re: [PATCH v2] power_supply: fix return value of get_property

2016-06-16 Thread Rhyland Klein
On 6/16/2016 4:43 AM, Krzysztof Kozlowski wrote: > On 06/16/2016 12:13 AM, Rhyland Klein wrote: >> power_supply_get_property() should ideally return -EAGAIN if it is >> called while the power_supply is being registered. There was no way >> previously to determine if use_cnt == 0 meant that the powe

Re: [PATCH v3 3/4] perf: xgene: Add APM X-Gene SoC Performance Monitoring Unit driver

2016-06-16 Thread Mark Rutland
Hi, On Thu, Jun 09, 2016 at 06:24:51PM -0700, Tai Nguyen wrote: > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include Minor nit: p

Re: [PATCH 02/13] irq: Introduce IRQD_AFFINITY_MANAGED flag

2016-06-16 Thread Bart Van Assche
On 06/16/2016 05:20 PM, Christoph Hellwig wrote: On Wed, Jun 15, 2016 at 09:36:54PM +0200, Bart Van Assche wrote: Do you agree that - ignoring other interrupt assignments - that the latter interrupt assignment scheme would result in higher throughput and lower interrupt processing latency? Pro

Re: [PATCH v6 3/6] crypto: AF_ALG -- add asymmetric cipher interface

2016-06-16 Thread Stephan Mueller
Am Donnerstag, 16. Juni 2016, 16:59:01 schrieb Andrew Zaborowski: Hi Andrew, > Hi Stephan, > > On 16 June 2016 at 10:05, Stephan Mueller wrote: > > Am Dienstag, 14. Juni 2016, 09:42:34 schrieb Andrew Zaborowski: > > > > Hi Andrew, > > > >> > I think we have agreed on dropping the length enfor

Re: [PATCH v2 1/4] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

2016-06-16 Thread Enric Balletbo i Serra
On 16/06/16 17:30, Lee Jones wrote: > On Thu, 02 Jun 2016, Brian Norris wrote: > >> From: Tomeu Vizoso >> >> So that callers of cros_ec_cmd_xfer don't have to repeat boilerplate >> code when checking for errors from the EC side. >> >> Signed-off-by: Tomeu Vizoso >> Reviewed-by: Benson Leung >

Re: [PATCH v2 2/4] mfd: cros_ec: add EC_PWM function definitions

2016-06-16 Thread Lee Jones
On Thu, 02 Jun 2016, Brian Norris wrote: > The EC_CMD_PWM_{GET,SET}_DUTY commands allow us to control a PWM that is > attached to the EC, rather than the main host SoC. The API provides > functionality-based (e.g., keyboard light, backlight) or index-based > addressing of the PWM(s). Duty cycles a

[PATCH] MIPS: tools: Fix relocs tool compiler warnings

2016-06-16 Thread Harvey Hunt
When using clang as HOSTCC, the following warnings appear: In file included from arch/mips/boot/tools/relocs_64.c:27:0: arch/mips/boot/tools/relocs.c: In function ‘read_relocs’: arch/mips/boot/tools/relocs.c:397:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstr

Re: [PATCH 04/13] mm: Track NR_KERNEL_STACK in pages instead of number of stacks

2016-06-16 Thread Josh Poimboeuf
On Wed, Jun 15, 2016 at 05:28:26PM -0700, Andy Lutomirski wrote: > Currently, NR_KERNEL_STACK tracks the number of kernel stacks in a > zone. This only makes sense if each kernel stack exists entirely in > one zone, and allowing vmapped stacks could break this assumption. > > It turns out that th

Re: [PATCH v2 1/2] Documentation: bindings: add dt doc for Rockchip PCIe controller

2016-06-16 Thread Doug Anderson
Marc, On Fri, Jun 10, 2016 at 12:32 AM, Marc Zyngier wrote: > On Wed, 8 Jun 2016 16:05:17 +0800 > Shawn Lin wrote: > >> This patch adds a binding that describes the Rockchip PCIe controller >> found on Rockchip SoCs PCIe interface. >> >> Signed-off-by: Shawn Lin >> >> --- >> >> Changes in v2: >

Re: automatic interrupt affinity for MSI/MSI-X capable devices V2

2016-06-16 Thread Christoph Hellwig
On Thu, Jun 16, 2016 at 11:45:55AM +0200, Bart Van Assche wrote: > Is my interpretation correct that for an adapter that supports two > interrupts and on a system with eight CPU cores and no hyperthreading this > patch series will assign interrupt vector 0 to CPU 0 and interrupt vector 1 > to CP

Re: libertas: Remove create_workqueue

2016-06-16 Thread Kalle Valo
Bhaktipriya Shridhar wrote: > alloc_workqueue replaces deprecated create_workqueue(). > > In if_sdio.c, the workqueue card->workqueue has workitem > &card->packet_worker, which is mapped to if_sdio_host_to_card_worker. > The workitem is involved in sending packets to firmware. > Forward progress

Re: [v3,1/2] b43: Remove unused phy_a code

2016-06-16 Thread Kalle Valo
Guenter Roeck wrote: > gcc-6 reports the following error with -Werror=unused-const-variable. > > drivers/net/wireless/broadcom/b43/phy_a.c:576:40: error: > 'b43_phyops_a' defined but not used > > Per Michael Büsch: "All a-phy code is usused", so remove it all, > and move the remaining Type

Re: [PATCH v2 1/4] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

2016-06-16 Thread Lee Jones
On Thu, 02 Jun 2016, Brian Norris wrote: > From: Tomeu Vizoso > > So that callers of cros_ec_cmd_xfer don't have to repeat boilerplate > code when checking for errors from the EC side. > > Signed-off-by: Tomeu Vizoso > Reviewed-by: Benson Leung > Signed-off-by: Brian Norris > --- > v2: no ch

[PATCH V2] pinctrl: Don't create a pinctrl handle if no pinctrl entries exist

2016-06-16 Thread Jon Hunter
When pinctrl_get() is called for a device, it will return a valid handle even if the device itself has no pinctrl state entries defined in device-tree. This is caused by the function pinctrl_dt_to_map() which will return success even if the first pinctrl state, 'pinctrl-0', is not found in the devi

Re: brcmfmac: include required headers in cfg80211.h

2016-06-16 Thread Kalle Valo
Rafał Miłecki wrote: > Without this including cfg80211.h in a wrong order could result in: > > drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h:122:24: error: > array type has incomplete element type > struct brcmf_wsec_key key[BRCMF_MAX_DEFAULT_KEYS]; > ^ > d

[RFC] regmap: Add regmap_pipe_read API

2016-06-16 Thread Crestez Dan Leonard
The regmap API usually assumes that bulk read operations will read a range of registers but some I2C/SPI devices have certain registers for which a such a read operation will return data from an internal FIFO instead. Add an explicit API to support bulk read with pipe rather than range semantics.

Re: brcmfmac: drop unused pm_block vif attribute

2016-06-16 Thread Kalle Valo
Rafał Miłecki wrote: > This attribute was added 3 years ago by > commit 3eacf866559c ("brcmfmac: introduce brcmf_cfg80211_vif structure") > but it remains unused since then. It seems we can safely drop it. > > Signed-off-by: Rafał Miłecki Thanks, 1 patch applied to wireless-drivers-next.git: 26

Re: [PATCH] coresight: access conn->child_name only if it's initialised

2016-06-16 Thread Mathieu Poirier
On 16 June 2016 at 04:13, Sudeep Holla wrote: > If the addition of the coresight devices get deferred, then there's a > window before child_name is populated by of_get_coresight_platform_data > from the respective component driver's probe and the attempted to access > the same from coresight_orpha

Re: [PATCH v2] arm64: allow building with kcov coverage on ARM64

2016-06-16 Thread Alexander Potapenko
On Thu, Jun 16, 2016 at 12:47 PM, James Morse wrote: > On 15/06/16 15:25, Mark Rutland wrote: >> On Wed, Jun 15, 2016 at 01:53:03PM +0200, Alexander Potapenko wrote: >>> On Wed, Jun 15, 2016 at 1:44 PM, Mark Rutland wrote: On Wed, Jun 15, 2016 at 10:25:10AM +0100, Mark Rutland wrote: > O

Re: [PATCH 02/13] irq: Introduce IRQD_AFFINITY_MANAGED flag

2016-06-16 Thread Christoph Hellwig
On Wed, Jun 15, 2016 at 09:36:54PM +0200, Bart Van Assche wrote: > Do you agree that - ignoring other interrupt assignments - that the latter > interrupt assignment scheme would result in higher throughput and lower > interrupt processing latency? Probably. Once we've got it in the core IRQ cod

Re: [PATCH] pinctrl: Don't create a pinctrl handle if no pinctrl entries exist

2016-06-16 Thread Jon Hunter
On 16/06/16 13:39, Jon Hunter wrote: > When pinctrl_get() is called for a device, it will return a valid handle > even if the device itself has no pinctrl state entries defined in > device-tree. This is caused by the function pinctrl_dt_to_map() which > will return success even if the first pinctr

[PATCH] ACPI / bus: Use acpi_handle_debug() in acpi_print_osc_error()

2016-06-16 Thread Rafael J. Wysocki
From: Rafael J. Wysocki acpi_print_osc_error() basically duplicates the functionalit of acpi_handle_debug(), so use that one in there. While at it, convert the explicit KERN_DEBUG prints to pr_debug() (and apply it to continuation messages too). Signed-off-by: Rafael J. Wysocki --- drivers/ac

Re: [PATCH] mfd: twl6040: Handle mclk used for HPPLL and optional internal clock source

2016-06-16 Thread Lee Jones
On Wed, 11 May 2016, Peter Ujfalusi wrote: > On some boards, like omap5-uevm the MCLK is gated by default and in order > to be able to use the High performance modes of twl6040 it need to be > enabled by SW. > Add support for handling the MCLK source clock via CCF. > At the same time lover the pri

Re: [PATCH 02/13] irq: Introduce IRQD_AFFINITY_MANAGED flag

2016-06-16 Thread Keith Busch
On Wed, Jun 15, 2016 at 10:50:53PM +0200, Bart Van Assche wrote: > Does it matter on x86 systems whether or not these interrupt vectors are > also associated with a CPU with a higher CPU number? Although multiple bits > can be set in /proc/irq//smp_affinity only the first bit counts on x86 > platfo

Re: [PATCH 06/13] irq: add a helper spread an affinity mask for MSI/MSI-X vectors

2016-06-16 Thread Christoph Hellwig
> > ...but now I'll focus on the common/general case! Thanks for the suggestion > Christoph. I guess would be even better to have a generic function that > retrieves an optimal mask, something like topology_get_optimal_mask(n, > *cpumask), in which we get the best distribution of n CPUs among al

Re: [PATCH] trace-cmd record: add --max-graph-depth option

2016-06-16 Thread Steven Rostedt
On Wed, 15 Jun 2016 13:18:21 -0700 Omar Sandoval wrote: > From: Omar Sandoval > > This is exposed in debugfs but there's no quick way to set it with > trace-cmd. While we're adding support for this, fix --profile so it sets > max_graph_depth back to whatever it was before. > > Signed-off-by: O

Re: rtlwifi: fix error handling in *_read_adapter_info()

2016-06-16 Thread Kalle Valo
Arnd Bergmann wrote: > There are nine copies of the _rtl88ee_read_adapter_info() function, > and most but not all of them cause a build warning in some configurations: > > rtl8192de/hw.c: In function '_rtl92de_read_adapter_info': > rtl8192de/hw.c:1767:12: error: 'hwinfo' may be used uninitialized

Re: [PATCH 14/27] mm, workingset: Make working set detection node-aware

2016-06-16 Thread Vlastimil Babka
On 06/09/2016 08:04 PM, Mel Gorman wrote: Working set and refault detection is still zone-based, fix it. Signed-off-by: Mel Gorman Acked-by: Johannes Weiner Acked-by: Vlastimil Babka If you wanted, workingset_eviction() could obtain pgdat without going through zone.

[PATCH v3] Linux VM workaround for Knights Landing A/D leak

2016-06-16 Thread Lukasz Anaczkowski
From: Andi Kleen Knights Landing has an issue that a thread setting A or D bits may not do so atomically against checking the present bit. A thread which is going to page fault may still set those bits, even though the present bit was already atomically cleared. This implies that when the kernel

Re: libertas_tf: Drop unused variable and define

2016-06-16 Thread Kalle Valo
Guenter Roeck wrote: > gcc-6 reports: > > drivers/net/wireless/marvell/libertas_tf/main.c:30:19: error: > 'lbtf_driver_version' defined but not used > > with -Werror=unused-const-variable=. > > Reported-by: Fengguang Wu [0-day test robot] > Signed-off-by: Guenter Roeck Thanks, 1 patch

Re: [PATCH 10/10] mm: balance LRU lists based on relative thrashing

2016-06-16 Thread Johannes Weiner
On Wed, Jun 15, 2016 at 11:23:41AM +0900, Minchan Kim wrote: > On Mon, Jun 13, 2016 at 11:52:31AM -0400, Johannes Weiner wrote: > > On Fri, Jun 10, 2016 at 11:19:35AM +0900, Minchan Kim wrote: > > > Other concern about PG_workingset is naming. For file-backed pages, it's > > > good because file-bac

Re: [V2, next] brcmfmac: don't remove interface on link down firmware event

2016-06-16 Thread Kalle Valo
Rafał Miłecki wrote: > There are two firmware events we handle similarly in brcmfmac: > BRCMF_E_LINK and BRCMF_E_IF. The difference from firmware point of view > is that the first one means BSS remains present in the firmware. Trying > to (re)create it (e.g. when adding new virtual interface) will

Re: [PATCH 1/2] Revert "mm: make faultaround produce old ptes"

2016-06-16 Thread Michal Hocko
On Thu 16-06-16 15:27:35, Kirill A. Shutemov wrote: > On Thu, Jun 16, 2016 at 02:20:02PM +0200, Michal Hocko wrote: > > On Tue 14-06-16 11:42:29, Kirill A. Shutemov wrote: > > > This reverts commit 5c0a85fad949212b3e059692deecdeed74ae7ec7. > > > > > > The commit causes ~6% regression in unixbench.

Re: [PATCH 4.7 FIX] brcmfmac: fix lockup when removing P2P interface after event timeout

2016-06-16 Thread Kalle Valo
Rafał Miłecki writes: > Removing P2P interface is handled by sending a proper request to the > firmware. On success firmware triggers an event and driver's handler > removes a matching interface. > > However on event timeout we remove interface directly from the cfg80211 > callback. Current code

Re: [PATCH v2 5/5] mfd: rn5t618: register restart handler

2016-06-16 Thread Lee Jones
On Tue, 07 Jun 2016, Stefan Agner wrote: > Use the PMIC's repower capability for reboots. Register a restart > handler with use a default priority of 128. Care to elaborate as to why you're using 128? > Reviewed-by: Marcel Ziswiler > Signed-off-by: Stefan Agner Chronological. > --- > driver

Re: [PATCH v2] mwifiex: fix race condition when downloading firmware

2016-06-16 Thread Kalle Valo
Wei-Ning Huang writes: > The action 'check for winner' and 'download firmware' should be an > atomic action. This is true for btmrvl driver but not mwmfiex, which > cause firmware download to fail when the following scenario happens: > > 1) mwifiex check winner status: true > 2) btmrvl check winn

Re: [V2] brcmfmac: fix setting AP channel with new firmwares

2016-06-16 Thread Kalle Valo
Rafał Miłecki wrote: > Firmware for new chipsets is based on a new major version of code > internally maintained at Broadcom. E.g. brcmfmac4366b-pcie.bin (used for > BCM4366B1) is based on 10.10.69.3309 while brcmfmac43602-pcie.ap.bin was > based on 7.35.177.56. > > Currently setting AP 5 GHz chan

Re: [PATCH 13/27] mm, memcg: Move memcg limit enforcement from zones to nodes

2016-06-16 Thread Vlastimil Babka
On 06/09/2016 08:04 PM, Mel Gorman wrote: Memcg was broken by the move of all LRUs to nodes because it is tracking limits on a per-zone basis while receiving reclaim requests on a per-node basis. This patch moves limit enforcement to the nodes. Technically, all the variable names should also chan

Re: wl3501_cs: avoid bogus gcc-6 warning

2016-06-16 Thread Kalle Valo
Arnd Bergmann wrote: > gcc-6 on x86 started warning about wl3501_get_encode when building > with -O2: > > drivers/net/wireless/wl3501_cs.c: In function ‘wl3501_get_encode’: > drivers/net/wireless/wl3501_cs.c:1769:5: warning: ‘implemented’ may be used > uninitialized in this function > drivers/ne

Re: [PATCH v7 1/6] mfd: max8997: Use regmap to access registers

2016-06-16 Thread Lee Jones
On Wed, 08 Jun 2016, Krzysztof Kozlowski wrote: > On 06/08/2016 04:26 PM, Lee Jones wrote: > > On Wed, 01 Jun 2016, Krzysztof Kozlowski wrote: > > > >> From: Robert Baldyga > >> > >> This patch modifies max8997 driver and each associated function driver, > >> to use regmap instead of operating d

Re: [PATCH v3 2/2] dt-bindings: clocksource: Add Add Oxford Semiconductor RPS Timer bindings

2016-06-16 Thread Daniel Lezcano
On 06/16/2016 05:01 PM, Neil Armstrong wrote: On 06/15/2016 12:26 PM, Daniel Lezcano wrote: On 06/15/2016 12:23 PM, Daniel Lezcano wrote: On 06/15/2016 12:13 PM, Neil Armstrong wrote: Add DT bindings for the Oxford Semiconductor RPS dual Timer. Signed-off-by: Neil Armstrong --- Waiting for

Re: [1/8] mwifiex: only call mwifiex_sdio_probe_of() if dev has an OF node

2016-06-16 Thread Kalle Valo
Javier Martinez Canillas wrote: > SDIO is an auto enumerable bus so the SDIO devices are matched using the > sdio_device_id table and not using compatible strings from a OF id table. > > However, commit ce4f6f0c353b ("mwifiex: add platform specific wakeup > interrupt support") allowed to match no

Re: [PATCH -v2 14/33] locking,m68k: Implement atomic_fetch_{add,sub,and,or,xor}()

2016-06-16 Thread Andreas Schwab
Peter Zijlstra writes: > If not, do you want me to 'fix' this or just remove the comment? It's not broken, so nothing to fix. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different.

Re: linux-next: Tree for Jun 16 (linux/firmware.h)

2016-06-16 Thread Randy Dunlap
On 06/15/16 22:49, Stephen Rothwell wrote: > Hi all, > > Changes since 20160615: > on i386 and/or x86_64: In file included from ../drivers/fpga/fpga-mgr.c:21:0: ../include/linux/firmware.h:82:1: error: expected identifier or ( before { token { ^ -- ~Randy

Re: [PATCH v3 2/2] dt-bindings: clocksource: Add Add Oxford Semiconductor RPS Timer bindings

2016-06-16 Thread Neil Armstrong
On 06/15/2016 12:26 PM, Daniel Lezcano wrote: > On 06/15/2016 12:23 PM, Daniel Lezcano wrote: >> On 06/15/2016 12:13 PM, Neil Armstrong wrote: >>> Add DT bindings for the Oxford Semiconductor RPS dual Timer. >>> >>> Signed-off-by: Neil Armstrong >>> --- >> >> Waiting for Rob's acked before picking

Re: [PATCH v6 3/6] crypto: AF_ALG -- add asymmetric cipher interface

2016-06-16 Thread Andrew Zaborowski
Hi Stephan, On 16 June 2016 at 10:05, Stephan Mueller wrote: > Am Dienstag, 14. Juni 2016, 09:42:34 schrieb Andrew Zaborowski: > > Hi Andrew, > >> > >> > I think we have agreed on dropping the length enforcement at the interface >> > level. >> >> Separately from this there's a problem with the us

[char-misc-next 2/8] mei: hbm: add missing argument in the kdoc

2016-06-16 Thread Tomas Winkler
In mei_hbm_cl_hdr buf argument was not described Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/misc/mei/hbm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/mei/hbm.c b/drivers/misc/mei/hbm.c index 085f3aafe6fa..b1697a329af1 100644 --- a/drivers/mis

[char-misc-next 5/8] mei: move read cb to complete queue if not connected

2016-06-16 Thread Tomas Winkler
From: Alexander Usyskin Move read cb to the completion queue if a read finds out that client is not connected. This expedite user space reader wake on error condition. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/interrupt.c | 1 + 1 file changed, 1 inser

[char-misc-next 3/8] mei: drop read complete queue emptiness check

2016-06-16 Thread Tomas Winkler
From: Alexander Usyskin In the course of the read flow we want to wait for read completion only if the read queue is empty. However the calling list_empty(&cl->rd_completed) is a duplication as the same check was performed by mei_cl_read_cb() and the waiting is skipped if it returns not NULL. Si

[char-misc-next 1/8] mei: recover after errors in runtime pm flow

2016-06-16 Thread Tomas Winkler
From: Alexander Usyskin Schedule link reset if failed to perform runtime suspend or resume. Set active runtime pm stte on link reset to clean runtimr pm error, if present. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-me.c | 3 +++ drivers/misc/mei/hw

[char-misc-next 6/8] mei: add file pointer to the host client structure

2016-06-16 Thread Tomas Winkler
From: Alexander Usyskin Store the file associated with a client in the host client structure, this enables dropping the special amthif client file pointer from struct mei_device, and this is also a preparation for changing the way rx packet allocation for fixed_address clients Signed-off-by: Ale

[char-misc-next 4/8] mei: fix return value on disconnection

2016-06-16 Thread Tomas Winkler
Correct errno on client disconnection is -ENODEV not -EBUSY Cc: #4.3+ Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus.c | 2 +- drivers/misc/mei/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/mei/bus.c b/drivers/misc/mei/bus.c index 63411ddfb83

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