Re: Fw: [PATCH v2] cinergyT2-core: don't do DMA on stack

2016-10-06 Thread Andy Lutomirski
On Wed, Oct 5, 2016 at 11:58 AM, Mauro Carvalho Chehab wrote: > Sorry, forgot to C/C people that are at the "Re: Problem with VMAP_STACK=y" > thread. > > Forwarded message: > > Date: Wed, 5 Oct 2016 15:54:18 -0300 > From: Mauro Carvalho Chehab > To: Linux Doc Mailing List > Cc: Mauro Carvalho C

[PATCH] kernel: irq: fix build failure

2016-10-06 Thread Sudip Mukherjee
The allmodconfig build of powerpc is failing with the error: ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined! export the symbol to fix the failure. Signed-off-by: Sudip Mukherjee --- build log is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/165418652 kernel/irq/manage.

Re: [PATCH 37/54] md/raid5: Replace a seq_printf() call by seq_puts() in raid5_status()

2016-10-06 Thread Joe Perches
On Thu, 2016-10-06 at 19:09 +0200, SF Markus Elfring wrote: > > > diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c > > [] > > > @@ -7044,7 +7044,7 @@ static void raid5_status(struct seq_file *seq, > > > struct mddev *mddev) > > >  rdev && test_bit(In_sync, &rdev->flags) ? "

Re: [PATCH v4 2/2] iommu/exynos: Add proper runtime pm support

2016-10-06 Thread Luis R. Rodriguez
On Thu, Sep 29, 2016 at 10:12:31AM +0200, Marek Szyprowski wrote: > This patch uses recently introduced device links to track the runtime pm > state of the master's device. This way each SYSMMU controller is runtime > activated when its master's device is active instead of? BTW what is the maste

Re: [PATCH v5 5/9] x86/sysctl: Add sysctl for ITMT scheduling feature

2016-10-06 Thread Tim Chen
On Thu, 2016-10-06 at 13:13 +0200, Thomas Gleixner wrote: > On Wed, 5 Oct 2016, Tim Chen wrote: > > > > On Wed, 2016-10-05 at 16:35 +0200, Thomas Gleixner wrote: > > > > > > > > > > > + if (itmt_supported) { > > > > + itmt_sysctl_header = > > > > + regis

Re: [PATCH 49/54] md/raid10: Replace printk() calls by the usage of higher level interfaces

2016-10-06 Thread Joe Perches
On Thu, 2016-10-06 at 19:20 +0200, SF Markus Elfring wrote: > How should a multiline log message be achieved as it was constructed > in the function "raid10_error" (for example)? > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers/md/raid10.c?id=c802e87fbe2d4dd58982d01b3

Re: [PATCH V3 00/11] block-throttle: add .high limit

2016-10-06 Thread Vivek Goyal
On Thu, Oct 06, 2016 at 03:15:50PM +0200, Paolo Valente wrote: [..] > Shaohua, I have just realized that I have unconsciously defended a > wrong argument. Although all the facts that I have reported are > evidently true, I have argued as if the question was: "do we need to > throw away throttling

Re: [PATCH 37/54] md/raid5: Replace a seq_printf() call by seq_puts() in raid5_status()

2016-10-06 Thread SF Markus Elfring
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c >>> [] @@ -7044,7 +7044,7 @@ static void raid5_status(struct seq_file *seq, struct mddev *mddev) rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); } rcu_read_unlock(); - seq_pri

Re: [PATCH 37/54] md/raid5: Replace a seq_printf() call by seq_puts() in raid5_status()

2016-10-06 Thread Joe Perches
On Thu, 2016-10-06 at 19:49 +0200, SF Markus Elfring wrote: > > Why don't _you_ try to implement that in checkpatch instead? > How are the chances that any other software developer would be quicker (than > me) for such > an addition because of more practical knowledge for the programming language

Re: DMA-API: cpu touching an active dma mapped cacheline

2016-10-06 Thread Russell King - ARM Linux
On Thu, Oct 06, 2016 at 09:55:27AM -0700, Dan Williams wrote: > On Thu, Oct 6, 2016 at 8:34 AM, Russell King - ARM Linux > wrote: > > Hi, > > > > With DMA API debugging enabled, I'm seeing this splat from it, which to > > me looks like the DMA API debugging is getting too eager for it's own > > go

Re: [PATCH 6/6] ARM: da850: adjust memory settings for tilcdc

2016-10-06 Thread Sekhar Nori
On Wednesday 05 October 2016 01:52 PM, Peter Ujfalusi wrote: > On 10/04/16 16:02, Kevin Hilman wrote: >> Peter Ujfalusi writes: >> >>> On 10/01/16 12:24, Sekhar Nori wrote: >> >> [...] >> In any case, to configure the PBBR, you will have to introduce a driver for it in drivers/memory. Th

Re: [PATCH V3 00/11] block-throttle: add .high limit

2016-10-06 Thread Paolo Valente
> Il giorno 06 ott 2016, alle ore 19:49, Vivek Goyal ha > scritto: > > On Thu, Oct 06, 2016 at 03:15:50PM +0200, Paolo Valente wrote: > > [..] >> Shaohua, I have just realized that I have unconsciously defended a >> wrong argument. Although all the facts that I have reported are >> evidently

[PATCH] drm/amd/amdgpu: default to zero number of states if not enabled

2016-10-06 Thread Colin King
From: Colin Ian King Currently, if adev->pp_enabled is false then the pp_stats_info data is not read and hence a garbage number of states from the stack is used to dump out the number of states. Given data.nums could be any random value, this could easily lead to read outside the data.states arra

Re: md/raid10: Replace printk() calls by the usage of higher level interfaces

2016-10-06 Thread SF Markus Elfring
>> How should a multiline log message be achieved as it was constructed >> in the function "raid10_error" (for example)? >> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers/md/raid10.c?id=c802e87fbe2d4dd58982d01b3c39bc5a781223aa#n1589 > > As two individual calls to pr_

[GIT PULL] PCI changes for v4.9

2016-10-06 Thread Bjorn Helgaas
Hi Linus, Here are the PCI changes I intend for v4.9. Bjorn The following changes since commit 4fe0d154880bb6eb833cbe84fa6f385f400f0b9c: PCI: Use positive flags in pci_alloc_irq_vectors() (2016-08-16 14:07:30 -0500) are available in the git repository at: git://git.kernel.org/pub/scm/lin

Re: [RFC PATCH-tip v4 02/10] locking/rwsem: Stop active read lock ASAP

2016-10-06 Thread Davidlohr Bueso
On Thu, 18 Aug 2016, Waiman Long wrote: Currently, when down_read() fails, the active read locking isn't undone until the rwsem_down_read_failed() function grabs the wait_lock. If the wait_lock is contended, it may takes a while to get the lock. During that period, writer lock stealing will be d

Re: md/raid10: Replace printk() calls by the usage of higher level interfaces

2016-10-06 Thread Joe Perches
On Thu, 2016-10-06 at 20:04 +0200, SF Markus Elfring wrote: > Would it be nicer if a single call will be sufficient for such a log message? > > Can an idea picked up which was discussed for the update suggestion > "[PATCH 4/4] Input-gameport: Replace some printk() calls by pr_info() in > joydump_

Re: md/raid5: Replace a seq_printf() call by seq_puts() in raid5_status()

2016-10-06 Thread SF Markus Elfring
>>> Why don't _you_ try to implement that in checkpatch instead? >> How are the chances that any other software developer would be quicker (than >> me) for such >> an addition because of more practical knowledge for the programming language >> "Perl"? > > Extremely high. Thanks for this feedbac

Re: [REGRESSION] "dwc2: gadget: fix TX FIFO size and address initialization" breaks "adb logcat" on hikey

2016-10-06 Thread John Youn
On 10/5/2016 11:33 PM, John Stultz wrote: > Hey folks, >So I've run into some trouble that I've narrowed down to commit > aa381a7259c3 ("usb: dwc2: gadget: fix TX FIFO size and address > initialization"). > > After booting up android on HiKey, if I run "adb logcat", I get about > a page of log

[PATCH] scsi: fcoe: fix off-by-one array size comparison

2016-10-06 Thread Colin King
From: Colin Ian King Fix an off-by-one array size comparison that is comparing one too many items in an array and hence will causing an out-of-bounds array read on array fcoe_port_speed_mapping. Signed-off-by: Colin Ian King --- drivers/scsi/fcoe/fcoe_transport.c | 2 +- 1 file changed, 1 inse

Re: [PATCH 06/14] ASoC: Add sun8i digital audio codec

2016-10-06 Thread Alexandre Belloni
On 07/10/2016 at 00:06:57 +0800, Icenowy Zheng wrote : > 05.10.2016, 00:20, "Maxime Ripard" : > > Hi, > > > >>  +static const struct of_device_id sun8i_codec_of_match[] = { > >>  + { .compatible = "allwinner,sun8i-a33-codec" }, > >>  + { .compatible = "allwinner,sun8i-a23-codec" }, > > > > I though

Re: [PATCH v2] cinergyT2-core: don't do DMA on stack

2016-10-06 Thread Mauro Carvalho Chehab
Em Thu, 6 Oct 2016 10:27:56 -0700 Andy Lutomirski escreveu: > On Wed, Oct 5, 2016 at 11:58 AM, Mauro Carvalho Chehab > wrote: > > Sorry, forgot to C/C people that are at the "Re: Problem with VMAP_STACK=y" > > thread. > > > > Forwarded message: > > > > Date: Wed, 5 Oct 2016 15:54:18 -0300 > > F

Re: [PATCH V3 00/11] block-throttle: add .high limit

2016-10-06 Thread Vivek Goyal
On Thu, Oct 06, 2016 at 08:01:42PM +0200, Paolo Valente wrote: > > > Il giorno 06 ott 2016, alle ore 19:49, Vivek Goyal ha > > scritto: > > > > On Thu, Oct 06, 2016 at 03:15:50PM +0200, Paolo Valente wrote: > > > > [..] > >> Shaohua, I have just realized that I have unconsciously defended a >

Re: [PATCH] drm/amd/amdgpu: default to zero number of states if not enabled

2016-10-06 Thread Alex Deucher
On Thu, Oct 6, 2016 at 2:02 PM, Colin King wrote: > From: Colin Ian King > > Currently, if adev->pp_enabled is false then the pp_stats_info data > is not read and hence a garbage number of states from the stack > is used to dump out the number of states. Given data.nums could be > any random valu

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

2016-10-06 Thread Reza Arbab
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 remain restricted to x86: movable_no

[PATCH v4 1/5] drivers/of: introduce of_fdt_device_is_available()

2016-10-06 Thread Reza Arbab
In __fdt_scan_reserved_mem(), the availability of a node is determined by testing its "status" property. Move this check into its own function, borrowing logic from the unflattened version, of_device_is_available(). Another caller will be added in a subsequent patch. Signed-off-by: Reza Arbab A

[PATCH v4 0/5] powerpc/mm: movable hotplug memory nodes

2016-10-06 Thread Reza Arbab
These changes enable the dynamic creation of movable nodes on power. On x86, the ACPI SRAT memory affinity structure can mark memory hotpluggable, allowing the kernel to possibly create movable nodes at boot. While power has no analog of this SRAT information, we can still create a movable memory

Re: md/raid10: Replace printk() calls by the usage of higher level interfaces

2016-10-06 Thread SF Markus Elfring
>> Would it be nicer if a single call will be sufficient for such a log message? >> >> Can an idea picked up which was discussed for the update suggestion >> "[PATCH 4/4] Input-gameport: Replace some printk() calls by pr_info() in >> joydump_connect()" >> for a moment (on 2016-09-24)? >> https://l

[PATCH v4 2/5] drivers/of: do not add memory for unavailable nodes

2016-10-06 Thread Reza Arbab
Respect the standard dt "status" property when scanning memory nodes in early_init_dt_scan_memory(), so that if the node is unavailable, no memory will be added. The use case at hand is accelerator or device memory, which may be unusable until post-boot initialization of the memory link. Such a no

[PATCH v4 3/5] powerpc/mm: allow memory hotplug into a memoryless node

2016-10-06 Thread Reza Arbab
Remove the check which prevents us from hotplugging into an empty node. This limitation has been questioned before [1], and judging by the response, there doesn't seem to be a reason we can't remove it. No issues have been found in light testing. [1] http://lkml.kernel.org/r/cagzkibrmksa1yyhbf5h

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

2016-10-06 Thread Reza Arbab
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 supports memory hotplug, which means th

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

2016-10-06 Thread Laura Abbott
An extra entry for MDIO_XGENE got added during merging. Delete it. Reviewed-by: Andrew Lunn Signed-off-by: Laura Abbott --- drivers/net/phy/Kconfig | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 5078a0d..2651c8d

Re: [PATCH 4.4 00/93] 4.4.24-stable review

2016-10-06 Thread Guenter Roeck
On Thu, Oct 06, 2016 at 10:28:30AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.24 release. > There are 93 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Geschäftsvorschlag!!!

2016-10-06 Thread Louis ISAKI
-- Geschäftsvorschlag!!! Ich vermute das diese E-Mail eine Überraschung für Sie sein wird, aber es ist wahr.Ich bin bei einer routinen Überprüfung in meiner Bank (First National Bank von Süd Afrika) wo ich arbeite, auf einem Konto gestoßen, was nicht in anspruch genommen worden ist, wo derz

Re: [PATCH V1 04/10] watchdog: da9061: watchdog driver (RFC)

2016-10-06 Thread Guenter Roeck
Hi Steve, On Thu, Oct 06, 2016 at 04:28:14PM +, Steve Twiss wrote: > Hi Guenter, > > Thanks for your reply. > > On 06 October 2016 14:28, Guenter Roeck, wrote: > > > To: Steve Twiss; LINUX-KERNEL; LINUX-WATCHDOG; Wim Van Sebroeck > > Subject: Re: [PATCH V1 04/10] watchdog: da9061: watchdog

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

2016-10-06 Thread Guenter Roeck
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 anyone has any issues with these being applied, please > let me know.

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

2016-10-06 Thread Guenter Roeck
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. If anyone has any issues with these being applied, please > let me know.

Re: [PATCH] drm/amd/amdgpu: default to zero number of states if not enabled

2016-10-06 Thread Colin Ian King
On 06/10/16 19:32, Alex Deucher wrote: > On Thu, Oct 6, 2016 at 2:02 PM, Colin King wrote: >> From: Colin Ian King >> >> Currently, if adev->pp_enabled is false then the pp_stats_info data >> is not read and hence a garbage number of states from the stack >> is used to dump out the number of stat

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

2016-10-06 Thread Subhash Jadavani
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 turned on or off. Are you suggesting to

RE: [PATCH] drm/amd/amdgpu: default to zero number of states if not enabled

2016-10-06 Thread Deucher, Alexander
> -Original Message- > From: Colin Ian King [mailto:colin.k...@canonical.com] > Sent: Thursday, October 06, 2016 3:04 PM > To: Alex Deucher > Cc: Deucher, Alexander; Koenig, Christian; David Airlie; Huang, JinHuiEric; > Zhu, Rex; Zhou, Jammy; StDenis, Tom; Dan Carpenter; Maling list - DRI >

Re: [PATCH] drm/amd/amdgpu: default to zero number of states if not enabled

2016-10-06 Thread Colin Ian King
On 06/10/16 20:04, Deucher, Alexander wrote: >> -Original Message- >> From: Colin Ian King [mailto:colin.k...@canonical.com] >> Sent: Thursday, October 06, 2016 3:04 PM >> To: Alex Deucher >> Cc: Deucher, Alexander; Koenig, Christian; David Airlie; Huang, JinHuiEric; >> Zhu, Rex; Zhou, Jamm

[PATCH v2 2/2] Documentation/ABI: Added ABI information for devspec and obppath.

2016-10-06 Thread Vijay Kumar
Updated Documentation/ABI for devspec and obppath sysfs entries. Signed-off-by: Vijay Kumar --- Documentation/ABI/stable/sysfs-devices | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/Documentation/ABI/stable/sysfs-devices b/Documentation/ABI/stable/sysfs-d

[PATCH v2 1/2] usb/core: Added devspec sysfs entry for devices behind the usb hub

2016-10-06 Thread Vijay Kumar
Grub finds incorrect of_node path for devices behind usb hub. Added devspec sysfs entry for devices behind usb hub so that right of_node path is returned during grub sysfs walk for these devices. Signed-off-by: Vijay Kumar --- drivers/usb/core/sysfs.c | 15 +++ 1 files changed, 15

Re: [PATCH 37/54] md/raid5: Replace a seq_printf() call by seq_puts() in raid5_status()

2016-10-06 Thread Bernd Petrovitsch
Hi all! On Thu, 2016-10-06 at 19:49 +0200, SF Markus Elfring wrote: > > diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c > > > > [] > > > > > > > > > > @@ -7044,7 +7044,7 @@ static void raid5_status(struct > > > > > seq_file *seq, struct mddev *mddev) > > > > >      rdev &

[PATCH 3/3] perf, tools: Fix completion script to handle comma list

2016-10-06 Thread Andi Kleen
From: Andi Kleen The perf event completion script only handled a single event per -e option. So for "perf stat -e cycles,branches" branches could not be completed. Fix that issue by always only using the last suffix for completion. For some reason it only works in bash currently, but zsh is the

[PATCH 2/3] perf, tools: Handle completion of upper case events

2016-10-06 Thread Andi Kleen
From: Andi Kleen Vendor events are often specified in upper case. perf list outputs them in lower case. Handle this case in perf-completion.sh so that completion on the upper case events still works. v2: Use locale aware check for upper case v3: Use perf list json Signed-off-by: Andi Kleen ---

Re: [PATCH v4 0/1] Armada 7k/8k CP110 system controller fixes

2016-10-06 Thread Marcin Wojtas
Hi Stephen, Do you have any further comments on the remaining patch? Best regards, Marcin 2016-09-25 9:47 GMT+02:00 Marcin Wojtas : > Hi, > > Two patches from the third version of the patchset have already been > applied, so I re-send the last one with corrected allocation of > clock data, which

[PATCH 1/3] perf, tools: Add support for perf list json

2016-10-06 Thread Andi Kleen
From: Andi Kleen Add an argument to perf list to only list json events. To be used for the command line completion script. This requires adding a new flag to the alias structure. Signed-off-by: Andi Kleen --- tools/perf/Documentation/perf-list.txt | 2 +- tools/perf/builtin-list.c

Re: [RFC PATCH-tip v4 01/10] locking/osq: Make lock/unlock proper acquire/release barrier

2016-10-06 Thread Waiman Long
On 10/06/2016 01:47 AM, Davidlohr Bueso wrote: On Wed, 05 Oct 2016, Waiman Long wrote: diff --git a/kernel/locking/osq_lock.c b/kernel/locking/osq_lock.c index 05a3785..1e6823a 100644 --- a/kernel/locking/osq_lock.c +++ b/kernel/locking/osq_lock.c @@ -12,6 +12,23 @@ */ static DEFINE_PER_CPU_SH

[PATCH] dmaengine: qcom_hidma: prevent disable in error

2016-10-06 Thread Sinan Kaya
When an error is observed, we try to disable the channel and prevent further accesses from the client. Depending on the type of error, transitioning into disabled state might not be possible. Adding a check to make sure that HW is in enabled/running state before the disable transition happens. Si

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

2016-10-06 Thread Eric W. Biederman
Andrei Vagin writes: > Hello Eric, > > What do you think about this series? It should be useful to know current > usage for user counters. I am in favor of knowing the values. Unless there is a good reason not to we should export the values with a read-only sysctl. I believe that is what other

[PATCH] mailbox: pcc: Use pr_fmt

2016-10-06 Thread Joe Perches
Adding a prefix helps identify the subsystem that emits logging messages. Miscellaneous: o Add missing \n format terminations to avoid interleaving o Remove embedded function names and use %s, __func__ o Use kcalloc consistently and remove unnecessary OOM message Signed-off-by: Joe Perches ---

Re: [PATCH V3 00/11] block-throttle: add .high limit

2016-10-06 Thread Mark Brown
On Thu, Oct 06, 2016 at 01:49:43PM -0400, Vivek Goyal wrote: > Paolo, CFQ is legacy now and if we can come up with a proportional > IO mechanism which works reasonably well with fast devices using > blk-mq interfaces, that will be much more interesting. CFQ is not legacy yet. Until we've got sch

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

2016-10-06 Thread Eric W. Biederman
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. Biederman added a per mount namespace limit on the > number of mounts. The default number of mounts allowed per m

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

2016-10-06 Thread Florian Fainelli
On 10/06/2016 11:22 AM, Laura Abbott wrote: > An extra entry for MDIO_XGENE got added during merging. > Delete it. > > Reviewed-by: Andrew Lunn > Signed-off-by: Laura Abbott Acked-by: Florian Fainelli -- Florian

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

2016-10-06 Thread Shuah Khan
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 issues with these being applied, please > let me know. > > Responses sho

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

2016-10-06 Thread Shuah Khan
On 10/06/2016 02:27 AM, 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. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH 4.4 00/93] 4.4.24-stable review

2016-10-06 Thread Shuah Khan
On 10/06/2016 02:28 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.24 release. > There are 93 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH V3 00/11] block-throttle: add .high limit

2016-10-06 Thread Shaohua Li
On Thu, Oct 06, 2016 at 09:58:44AM +0200, Paolo Valente wrote: > > > Il giorno 05 ott 2016, alle ore 22:46, Shaohua Li ha scritto: > > > > On Wed, Oct 05, 2016 at 09:47:19PM +0200, Paolo Valente wrote: > >> > >>> Il giorno 05 ott 2016, alle ore 20:30, Shaohua Li ha > >>> scritto: > >>> > >>>

[PATCH] Reorganize STM32 clocks in order to prepare them for PLLI2S and PLLSAI

2016-10-06 Thread radek
From: Radoslaw Pietrzyk Signed-off-by: Radoslaw Pietrzyk --- drivers/clk/clk-stm32f4.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk-stm32f4.c b/drivers/clk/clk-stm32f4.c index 02d6810..1fd3eac 100644 --- a/drivers/clk/clk-stm32f4.c +++ b/drivers/clk

Re: [RFC PATCH-tip v4 01/10] locking/osq: Make lock/unlock proper acquire/release barrier

2016-10-06 Thread Jason Low
On Wed, Oct 5, 2016 at 10:47 PM, Davidlohr Bueso wrote: > On Wed, 05 Oct 2016, Waiman Long wrote: > >> diff --git a/kernel/locking/osq_lock.c b/kernel/locking/osq_lock.c >> index 05a3785..1e6823a 100644 >> --- a/kernel/locking/osq_lock.c >> +++ b/kernel/locking/osq_lock.c >> @@ -12,6 +12,23 @@ >>

Re: [PATCH 3/3] perf, tools: Fix completion script to handle comma list

2016-10-06 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 06, 2016 at 12:23:27PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > The perf event completion script only handled a single event per > -e option. So for "perf stat -e cycles,branches" branches could > not be completed. > > Fix that issue by always only using the last suffix for

Re: [PATCH] coresight: tmc: implementing TMC-ETR AUX space API

2016-10-06 Thread Mathieu Poirier
On 3 October 2016 at 08:32, Suzuki K Poulose wrote: > On 19/09/16 22:14, Mathieu Poirier wrote: >> >> This patch implements the AUX area interfaces required to >> use the TMC-ETR (configured to work in scatter-gather mode) >> from the Perf sub-system. >> >> Some of this work was inspired from the

Re: [PATCH 1/3] perf, tools: Add support for perf list json

2016-10-06 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 06, 2016 at 12:23:25PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > Add an argument to perf list to only list json events. To be used > for the command line completion script. This requires adding > a new flag to the alias structure. Thanks, applied. > Signed-off-by: Andi Kle

Re: [PATCH 2/3] perf, tools: Handle completion of upper case events

2016-10-06 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 06, 2016 at 12:23:26PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > Vendor events are often specified in upper case. perf list outputs them > in lower case. Handle this case in perf-completion.sh so that > completion on the upper case events still works. Thanks, applied. > v2

Re: [PATCH 3/3] perf, tools: Fix completion script to handle comma list

2016-10-06 Thread Andi Kleen
> perf stat -e CPL_CYCLES.RING0 > > but if I try: > > perf stat -e cycles,CPL > > I get nothing :-\ > > Is this working with you? You can't mix cases like this, the upper case patch doesn't support that. It's either all upper or all lower case. If you continue with lower case it should work.

Re: [PATCH] kexec: Export memory sections virtual addresses to vmcoreinfo

2016-10-06 Thread Eric W. Biederman
Baoquan He writes: > KASLR memory randomization can randomize the base of the physical memory > mapping (PAGE_OFFSET), vmalloc (VMALLOC_START) and vmemmap > (VMEMMAP_START). These need be exported to VMCOREINFO so that user space > utility, mainly makedumpfile can use them to identify the base of

Re: [PATCH 1/3] perf, tools: Handle events including .c and .o

2016-10-06 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 06, 2016 at 09:55:05AM -0700, Andi Kleen escreveu: > On Wed, Oct 05, 2016 at 07:47:06PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Oct 05, 2016 at 12:47:10PM -0700, Andi Kleen escreveu: > > > From: Andi Kleen > > > > > > This is a generic bug fix, but it helps with Sukadev's J

Re: [PATCH v13 02/15] iommu/arm-smmu: Initialize the msi geometry

2016-10-06 Thread Alex Williamson
On Thu, 6 Oct 2016 08:45:18 + Eric Auger wrote: > On ARM, MSI write transactions also are translated by the smmu. > Let's report that specificity by setting the iommu_msi_supported > field to true. A valid aperture window will need to be provided. > > Signed-off-by: Eric Auger > > --- > v

Re: [PATCH v13 03/15] iommu/dma: Allow MSI-only cookies

2016-10-06 Thread Alex Williamson
On Thu, 6 Oct 2016 08:45:19 + Eric Auger wrote: > From: Robin Murphy > > IOMMU domain users such as VFIO face a similar problem to DMA API ops > with regard to mapping MSI messages in systems where the MSI write is > subject to IOMMU translation. With the relevant infrastructure now in > p

Re: [PATCH v13 04/15] genirq/msi: Introduce the MSI doorbell API

2016-10-06 Thread Alex Williamson
On Thu, 6 Oct 2016 08:45:20 + Eric Auger wrote: > We introduce a new msi-doorbell API that allows msi controllers > to allocate and register their doorbells. This is useful when > those doorbells are likely to be iommu mapped (typically on ARM). > The VFIO layer will need to gather informati

Re: [PATCH v13 08/15] vfio: Introduce a vfio_dma type field

2016-10-06 Thread Alex Williamson
On Thu, 6 Oct 2016 08:45:24 + Eric Auger wrote: > We introduce a vfio_dma type since we will need to discriminate > different types of dma slots: > - VFIO_IOVA_USER: IOVA region used to map user vaddr > - VFIO_IOVA_RESERVED_MSI: IOVA region reserved to map MSI doorbells > > Signed-off-by: E

Re: [PATCH 1/3] perf, tools: Handle events including .c and .o

2016-10-06 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 05, 2016 at 12:47:10PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > This is a generic bug fix, but it helps with Sukadev's JSON event tree > where such events can happen. > > Any event inclduing a .c/.o/.bpf currently triggers BPF compilation or loading > and then an error. Th

Re: [PATCH v13 11/15] vfio/type1: Handle unmap/unpin and replay for VFIO_IOVA_RESERVED slots

2016-10-06 Thread Alex Williamson
On Thu, 6 Oct 2016 08:45:27 + Eric Auger wrote: > Before allowing the end-user to create VFIO_IOVA_RESERVED dma slots, > let's implement the expected behavior for removal and replay. > > As opposed to user dma slots, reserved IOVAs are not systematically bound > to PAs and PAs are not pinne

Re: [PATCH v13 12/15] vfio: Allow reserved msi iova registration

2016-10-06 Thread Alex Williamson
On Thu, 6 Oct 2016 08:45:28 + Eric Auger wrote: > The user is allowed to register a reserved MSI IOVA range by using the > DMA MAP API and setting the new flag: VFIO_DMA_MAP_FLAG_MSI_RESERVED_IOVA. > This region is stored in the vfio_dma rb tree. At that point the iova > range is not mapped

Re: [PATCH v13 15/15] vfio/type1: Return the MSI geometry through VFIO_IOMMU_GET_INFO capability chains

2016-10-06 Thread Alex Williamson
On Thu, 6 Oct 2016 08:45:31 + Eric Auger wrote: > This patch allows the user-space to retrieve the MSI geometry. The > implementation is based on capability chains, now also added to > VFIO_IOMMU_GET_INFO. > > The returned info comprise: > - whether the MSI IOVA are constrained to a reserve

Re: [PATCH v13 13/15] vfio/type1: Check doorbell safety

2016-10-06 Thread Alex Williamson
On Thu, 6 Oct 2016 08:45:29 + Eric Auger wrote: > On x86 IRQ remapping is abstracted by the IOMMU. On ARM this is abstracted > by the msi controller. > > Since we currently have no way to detect whether the MSI controller is > upstream or downstream to the IOMMU we rely on the MSI doorbell

Re: [PATCH v13 09/15] vfio/type1: vfio_find_dma accepting a type argument

2016-10-06 Thread Alex Williamson
On Thu, 6 Oct 2016 08:45:25 + Eric Auger wrote: > In our RB-tree we get prepared to insert slots of different types > (USER and RESERVED). It becomes useful to be able to search for dma > slots of a specific type or any type. > > This patch introduces vfio_find_dma_from_node which starts th

Re: [PATCH v13 10/15] vfio/type1: Implement recursive vfio_find_dma_from_node

2016-10-06 Thread Alex Williamson
On Thu, 6 Oct 2016 08:45:26 + Eric Auger wrote: > This patch handles the case where a node is encountered, matching > @start and @size arguments but not matching the @type argument. > In that case, we need to skip that node and pursue the search in the > node's leaves. In case @start is infe

Re: [PATCH 3/3] perf, tools: Fix completion script to handle comma list

2016-10-06 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 06, 2016 at 01:08:39PM -0700, Andi Kleen escreveu: > > perf stat -e CPL_CYCLES.RING0 > > > > but if I try: > > > > perf stat -e cycles,CPL > > > > I get nothing :-\ > > > > Is this working with you? > > You can't mix cases like this, the upper case patch doesn't support that. > It'

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

2016-10-06 Thread Joshua Clayton
cyclonespi loads fpga firmware over spi, using the "passive serial" interface on Altera Cyclone FPGAS. one of the simpler ways to set up an fpga at runtime. The signal interface is close to unidirectional spi with lsb first. Signed-off-by: Joshua Clayton --- drivers/fpga/Kconfig | 6 ++

[PATCH 3/3] ARM: dts: imx6q-evi: support cyclonespi

2016-10-06 Thread Joshua Clayton
Add support for Altera cyclone V FPGA connected to an spi port Signed-off-by: Joshua Clayton --- arch/arm/boot/dts/imx6q-evi.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-evi.dts b/arch/arm/boot/dts/imx6q-evi.dts index 6de21ff..7e5d3cf 100644 -

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

2016-10-06 Thread Joshua Clayton
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 mode 100644 Documentation/devicetree/bindings/fpga/cyclone-spi-fpga-mgr.txt diff

Re: [PATCH 3/7] mfd: db8500-prcmu: Remove unused *prcmu_set_ddr_opp() calls

2016-10-06 Thread Ulf Hansson
On 15 September 2016 at 12:45, Lee Jones wrote: > There are no call sites for these functions. Strip them out. > > Signed-off-by: Lee Jones > --- > drivers/mfd/db8500-prcmu.c | 19 --- > include/linux/mfd/db8500-prcmu.h | 6 -- > include/linux/mfd/dbx500-prcmu.h | 9

Re: [PATCH 3/3] perf, tools: Fix completion script to handle comma list

2016-10-06 Thread Andi Kleen
On Thu, Oct 06, 2016 at 05:29:44PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Oct 06, 2016 at 01:08:39PM -0700, Andi Kleen escreveu: > > > perf stat -e CPL_CYCLES.RING0 > > > > > > but if I try: > > > > > > perf stat -e cycles,CPL > > > > > > I get nothing :-\ > > > > > > Is this working

Re: [PATCH v13 15/15] vfio/type1: Return the MSI geometry through VFIO_IOMMU_GET_INFO capability chains

2016-10-06 Thread Alex Williamson
On Thu, 6 Oct 2016 14:20:40 -0600 Alex Williamson wrote: > On Thu, 6 Oct 2016 08:45:31 + > Eric Auger wrote: > > > This patch allows the user-space to retrieve the MSI geometry. The > > implementation is based on capability chains, now also added to > > VFIO_IOMMU_GET_INFO. > > > > The re

Re: [PATCH V3 00/11] block-throttle: add .high limit

2016-10-06 Thread Paolo Valente
> Il giorno 06 ott 2016, alle ore 20:32, Vivek Goyal ha > scritto: > > On Thu, Oct 06, 2016 at 08:01:42PM +0200, Paolo Valente wrote: >> >>> Il giorno 06 ott 2016, alle ore 19:49, Vivek Goyal ha >>> scritto: >>> >>> On Thu, Oct 06, 2016 at 03:15:50PM +0200, Paolo Valente wrote: >>> >>> [..

Re: [PATCH] lib/raid6: Add AVX2 optimized xor_syndrome functions

2016-10-06 Thread H. Peter Anvin
On 10/05/16 16:11, Shaohua Li wrote: > On Fri, Sep 30, 2016 at 11:14:49AM -0700, Gayatri Kammela wrote: >> Implement the AVX2 optimization of RAID6 xor_syndrome functions which is >> simply based on sse2.c written by hpa. > > Applied, thanks! Could you please add xor_syndrome for sse1/mmx too? >

Re: [PATCH] printk: introduce kptr_restrict level 3

2016-10-06 Thread Kees Cook
On Thu, Oct 6, 2016 at 6:56 AM, Christoph Hellwig wrote: > On Thu, Oct 06, 2016 at 01:47:47PM +, Roberts, William C wrote: > > On Thu, Oct 6, 2016 at 6:31 AM, Christoph Hellwig > > wrote: > > > So what? We a) don't care about out of tree modules and b) you could > > > just triviall > > > f

"swap_free: Bad swap file entry" and "BUG: Bad page map in process" but no swap configured

2016-10-06 Thread Chris Friesen
I have Linux host running as a kvm hypervisor. It's running CentOS. (So the kernel is based on 3.10 but with loads of stuff backported by RedHat.) I realize this is not a mainline kernel, but I was wondering if anyone is aware of similar issues that had been fixed in mainline. When doing

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

2016-10-06 Thread Markus Mayer
On Thu, Oct 06, 2016 at 07:51:59AM -0700, Markus Mayer wrote: > On 5 October 2016 at 21:01, Viresh Kumar wrote: > > Thanks for accepting all the comments :) 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 reques

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: [PATCH] printk: introduce kptr_restrict level 3

2016-10-06 Thread Joe Perches
On Thu, 2016-10-06 at 14:00 -0700, Kees Cook wrote: > And based on my read of this thread, we all appear to be in violent > agreement. :) "always protect %p" is absolutely the goal, and we can > figure out the best way to get there. I proposed emitting pointers from the const and text sections by

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

2016-10-06 Thread Yinghai Lu
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 may be affect x2APIC's work in some other places. > > I

Re: [PATCH] printk: introduce kptr_restrict level 3

2016-10-06 Thread Kees Cook
On Thu, Oct 6, 2016 at 2:19 PM, Joe Perches wrote: > On Thu, 2016-10-06 at 14:00 -0700, Kees Cook wrote: > >> And based on my read of this thread, we all appear to be in violent >> agreement. :) "always protect %p" is absolutely the goal, and we can >> figure out the best way to get there. > > I p

[PATCH] Revert "debugfs: ->d_parent is never NULL or negative"

2016-10-06 Thread Sinan Kaya
This reverts commit acc29fb8f792 ("debugfs: ->d_parent is never NULL or negative") as it breaks the debugfs_remove_recursive API as show in the callstack below. Tested against: c802e87 Add linux-next specific files for 20161006 Unable to handle kernel NULL pointer dereference at vi

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

2016-10-06 Thread Ross Zwisler
On Mon, Oct 03, 2016 at 03:05:57PM -0600, Ross Zwisler wrote: > On Mon, Oct 03, 2016 at 12:59:49PM +0200, Jan Kara wrote: > > On Thu 29-09-16 16:49:28, Ross Zwisler wrote: <> > > > +int dax_iomap_pmd_fault(struct vm_area_struct *vma, unsigned long > > > address, > > > + pmd_t *pmd, unsigne

[GIT PULL] f2fs update for 4.9

2016-10-06 Thread Jaegeuk Kim
Hi Linus, Could you please consider this pull request? Thanks, The following changes since commit cad9d20784e9b31f0fa8eb82b4ae5dad633b560d: Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost (2016-08-24 07:43:27 -0400) are available in the git repository at:

Re: [PATCH] Revert "debugfs: ->d_parent is never NULL or negative"

2016-10-06 Thread Al Viro
On Thu, Oct 06, 2016 at 05:30:29PM -0400, Sinan Kaya wrote: > This reverts commit acc29fb8f792 ("debugfs: ->d_parent is never NULL or > negative") as it breaks the debugfs_remove_recursive API as show in the > callstack below. NAK. Fix your code, don't break global asserts.

[PATCHv1] 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 --- Hi Gunter, I realise this isn't using the new hwmon registration API. This is essentially a forward port from an older kernel.

<    2   3   4   5   6   7   8   9   >