[PATCH] vmw_vmci: Fix irq allocation

2017-03-26 Thread Petr Vandrovec
From: Petr Vandrovec Change 3bb434 (vmw_vmci: switch to pci_irq_alloc_vectors) converted vmw_vmci to use pci_irq_alloc_vectors. Unfortunately for the code pci_irq_alloc_vectors returns number of allocated vectors on success, rather than zero. So successful allocation was always treated as an er

Re: [RFC] Add option to mount only a pids subset

2017-03-26 Thread Djalal Harouni
(Cc'ed Kees and Jann for the procfs stacking issue) On Thu, Mar 23, 2017 at 11:07 PM, Alexey Gladkov wrote: > On Thu, Mar 23, 2017 at 05:06:28PM +0100, Djalal Harouni wrote: >> Hi Alexey, >> >> On Mon, Mar 20, 2017 at 1:58 PM, Alexey Gladkov >> wrote: >> > >> > >> > Al Viro, this patch looks be

Re: [PATCH v3 4/7] alpha: Add support for memset16

2017-03-26 Thread kbuild test robot
/20170326-140108 config: alpha-allyesconfig (attached as .config) compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the

Re: [PATCH v3 3/7] x86: Implement memset16, memset32 & memset64

2017-03-26 Thread kbuild test robot
/20170326-140108 config: i386-randconfig-x077-201713 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> lib/string.c:733:7: error: red

Re: [PATCH 4.10 00/27] 4.10.6-stable review

2017-03-26 Thread Greg Kroah-Hartman
On Fri, Mar 24, 2017 at 06:00:28PM -0600, Shuah Khan wrote: > On 03/24/2017 11:58 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.10.6 release. > > There are 27 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: Splat during resume

2017-03-26 Thread Mike Galbraith
On Sat, 2017-03-25 at 22:46 +0100, Borislav Petkov wrote: > On Sat, Mar 25, 2017 at 07:58:55PM +0100, Borislav Petkov wrote: > > Hey Rafael, > > > > have you seen this already (partial splat photo attached)? Happens > > during resume from s2d. Judging by the timestamps, this looks like the > > res

Re: Still OOM problems with 4.9er/4.10er kernels

2017-03-26 Thread Gerhard Wiesinger
On 23.03.2017 09:38, Mike Galbraith wrote: On Thu, 2017-03-23 at 08:16 +0100, Gerhard Wiesinger wrote: On 21.03.2017 08:13, Mike Galbraith wrote: On Tue, 2017-03-21 at 06:59 +0100, Gerhard Wiesinger wrote: Is this the correct information? Incomplete, but enough to reiterate cgroup_disable=me

Re: Splat during resume

2017-03-26 Thread Borislav Petkov
On Sun, Mar 26, 2017 at 10:25:43AM +0200, Mike Galbraith wrote: > To be filed under "_maybe_ interesting", my tip-rt tree hits the below > on boot (survives), ONLY on vaporite (kvm), silicon boots clean, works > fine, hibernate/suspend gripe free. Strange - I did boot fine but resume shit in its p

Re: [PATCH v3 7/7] vga: Optimise console scrolling

2017-03-26 Thread kbuild test robot
/20170326-140108 config: sparc-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the

Re: [PATCH v2 09/23] MAINTAINERS: Add file patterns for infiniband device tree bindings

2017-03-26 Thread Geert Uytterhoeven
Hi Doug, On Sat, Mar 25, 2017 at 3:40 AM, Doug Ledford wrote: > On Sun, 2017-03-12 at 14:16 +0100, Geert Uytterhoeven wrote: >> Submitters of device tree binding documentation may forget to CC >> the subsystem maintainer if this is missing. >> >> Signed-off-by: Geert Uytterhoeven >> Cc: Doug Led

Re: [PATCH 4.10 00/27] 4.10.6-stable review

2017-03-26 Thread Greg Kroah-Hartman
On Fri, Mar 24, 2017 at 09:18:32PM -0700, Guenter Roeck wrote: > On 03/24/2017 10:58 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.10.6 release. > > There are 27 patches in this series, all will be posted as a response > > to this one. If anyone has any i

script to setup pipeline was Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-26 Thread Pavel Machek
Hi! > > I do agree with you that MC places a lot of burden on the user to > > attain a lot of knowledge of the system's architecture. > > Setting up the pipeline is not the hard part. One could write a > script to do that. Can you try to write that script? I believe it would solve big part of t

Re: [PATCH 0/2] Move uart_register_driver call to device probe for pl010 and sh-sci

2017-03-26 Thread Geert Uytterhoeven
Hi Russell, Sjoerd, On Fri, Mar 24, 2017 at 5:42 PM, Russell King - ARM Linux wrote: > On Fri, Mar 24, 2017 at 05:26:32PM +0100, Sjoerd Simons wrote: >> When testing on a Renesas board with the PL010 serial driver enabled >> serial output broke. Turns out the minor device numbers for both >> driv

[tip:locking/core] lockdep: Fix per-cpu static objects

2017-03-26 Thread tip-bot for Peter Zijlstra
Commit-ID: 4ef9ea9524c0015e551d062ac75ab9fd04365277 Gitweb: http://git.kernel.org/tip/4ef9ea9524c0015e551d062ac75ab9fd04365277 Author: Peter Zijlstra AuthorDate: Mon, 20 Mar 2017 12:26:55 +0100 Committer: Thomas Gleixner CommitDate: Sun, 26 Mar 2017 11:27:42 +0200 lockdep: Fix per-cpu

Re: [PATCH v3 7/7] vga: Optimise console scrolling

2017-03-26 Thread kbuild test robot
/20170326-140108 config: mips-defconfig (attached as .config) compiler: mips-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached

Re: [PATCH 0/2] Move uart_register_driver call to device probe for pl010 and sh-sci

2017-03-26 Thread Russell King - ARM Linux
On Sun, Mar 26, 2017 at 11:22:57AM +0200, Geert Uytterhoeven wrote: > Time for the serial subsystem to switch to dynamic minors, and get rid of the > what-is-your-serial-port-called-again-on-this-platform > multi-million-euro question? Dynamic device numbers are fine for those who use devtmpfs / u

Re: Splat during resume

2017-03-26 Thread Mike Galbraith
On Sun, 2017-03-26 at 10:41 +0200, Borislav Petkov wrote: > Btw, try the 6 patches here: > https://marc.info/?l=linux-mm&m=148977696117208&w=2 > ontop of tip. Should fix your vaporite too. Yeah, silicon is still happy, vaporite boots gripe free. Trying to hibernate vaporite was a bad idea, but

Re: [PATCH] blkcg: allocate struct blkcg_gq outside request queue spinlock

2017-03-26 Thread Julia Lawall
ommits/Tahsin-Erdogan/blkcg-allocate-struct-blkcg_gq-outside-request-queue-spinlock/20170326-020755 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next :: branch date: 6 hours ago :: commit date: 6 hours ago >> block/blk-cgroup.c:901:1-7: preceding

Re: [PATCH v2 1/3] mfd: Add Cherry Trail Whiskey Cove PMIC driver

2017-03-26 Thread Hans de Goede
Hi, On 23-03-17 17:44, Lee Jones wrote: On Mon, 20 Mar 2017, Hans de Goede wrote: Add mfd driver for Intel CHT Whiskey Cove PMIC, based on various non upstreamed CHT Whiskey Cove PMIC patches. This is a somewhat minimal version which adds irqchip support and cells for: ACPI PMIC opregion supp

[GIT PULL] IIO driver fixes for 4.11-rc4

2017-03-26 Thread Greg KH
The following changes since commit 4495c08e84729385774601b5146d51d9e5849f81: Linux 4.11-rc2 (2017-03-12 14:47:08 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.11-rc4 for you to fetch changes up to 43c49938bf7

[GIT PULL] USB/PHY driver fixes for 4.11-rc4

2017-03-26 Thread Greg KH
The following changes since commit 97da3854c526d3a6ee05c849c96e48d21527606c: Linux 4.11-rc3 (2017-03-19 19:09:39 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.11-rc4 for you to fetch changes up to fd290e7096bd4441fdd

[GIT PULL] TTY/Serial driver fixes for 4.11-rc4

2017-03-26 Thread Greg KH
The following changes since commit 4495c08e84729385774601b5146d51d9e5849f81: Linux 4.11-rc2 (2017-03-12 14:47:08 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.11-rc4 for you to fetch changes up to a4a3e061149f09c075f

[GIT PULL] Driver core fix for 4.11-rc4

2017-03-26 Thread Greg KH
The following changes since commit 4495c08e84729385774601b5146d51d9e5849f81: Linux 4.11-rc2 (2017-03-12 14:47:08 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-4.11-rc4 for you to fetch changes up to 966

[GIT PULL] Char/Misc driver fixes for 4.11-rc4

2017-03-26 Thread Greg KH
The following changes since commit 4495c08e84729385774601b5146d51d9e5849f81: Linux 4.11-rc2 (2017-03-12 14:47:08 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.11-rc4 for you to fetch changes up to 5c1724c

[PATCH v5] mfd: Add Cherry Trail Whiskey Cove PMIC driver

2017-03-26 Thread Hans de Goede
Add mfd driver for Intel CHT Whiskey Cove PMIC, based on various non upstreamed CHT Whiskey Cove PMIC patches. This is a somewhat minimal version which adds irqchip support and cells for: ACPI PMIC opregion support, the i2c-controller driving the external charger irc and the pwrsrc/extcon block.

Re: [PATCH 4.10 012/167] mmc: sdhci-acpi: support deferred probe

2017-03-26 Thread Andrey Utkin
On Fri, Mar 10, 2017 at 10:07:35AM +0100, Greg Kroah-Hartman wrote: > 4.10-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Zhang Rui > > commit e28d6f048799acb0014491e6b74e580d84bd7916 upstream. > > With commit 67bf5156edc4 ("gpio / ACPI

[tip:locking/core 14/14] arch/sparc/include/asm/setup.h:17:22: error: 'boot_cpu_id' redeclared as different kind of symbol

2017-03-26 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core head: 4ef9ea9524c0015e551d062ac75ab9fd04365277 commit: 4ef9ea9524c0015e551d062ac75ab9fd04365277 [14/14] lockdep: Fix per-cpu static objects config: sparc-defconfig (attached as .config) compiler: sparc-linux-gcc (GC

Re: [PATCH v4] tpm_crb: request and relinquish locality 0

2017-03-26 Thread Jarkko Sakkinen
On Sat, Mar 25, 2017 at 09:52:11PM +0200, Jarkko Sakkinen wrote: > On Fri, Mar 24, 2017 at 11:25:57AM -0700, Jerry Snitselaar wrote: > > > > Jarkko Sakkinen @ 2017-03-24 10:10 GMT: > > > > > This commit adds support for requesting and relinquishing locality 0 in > > > tpm_crb for the course of co

Re: [PATCH] padata: avoid race in reordering

2017-03-26 Thread Jason A. Donenfeld
I've got a few other races in padata, I think, that I'm working on fixing. If these pan out, I'll submit them exclusively to -crypto instead of -netdev, to avoid this confusion next time. Of course, if I'm able to fix these, then I'll probably be bald from pulling my hair out during this insane deb

Re: [PATCH v3 1/3] mfd: intel_soc_pmic: Fix a mess with compilation units

2017-03-26 Thread Andy Shevchenko
On Thu, 2017-03-23 at 12:12 +, Lee Jones wrote: > On Fri, 17 Mar 2017, Andy Shevchenko wrote: > > > Crystal Cove and Whiskey Cove are two different PMICs which are > > installed on Intel Atom SoC based platforms. > > > > Moreover there are two independent drivers that by some reason were > >

Re: [PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-26 Thread Andy Shevchenko
On Fri, 2017-03-24 at 11:35 +, Lee Jones wrote: > On Thu, 23 Mar 2017, Andy Shevchenko wrote: > > > On Thu, 2017-03-23 at 11:21 +, Lee Jones wrote: > > > On Thu, 16 Mar 2017, Andy Shevchenko wrote: > > > > > > > There is a potential flaw if cell has id > 0 and is going to be > > > > regis

Re: [PATCH] selftests/futex: Fix build error with OUTPUT variable

2017-03-26 Thread Bamvor Zhang
Hi, On Sat, Mar 25, 2017 at 12:18 AM, Darren Hart wrote: > > The use of $$OUTPUT in the target shell commands resulted in an empty > string followed by an absolute path for which mkdir failed: > > $ make -C tools/testing/selftests/futex > make: Entering directory > '/home/dvhart/source/linux/lin

[tip:locking/core] lockdep: Fix per-cpu static objects

2017-03-26 Thread tip-bot for Peter Zijlstra
Commit-ID: 8ce371f9846ef1e8b3cc8f6865766cb5c1f17e40 Gitweb: http://git.kernel.org/tip/8ce371f9846ef1e8b3cc8f6865766cb5c1f17e40 Author: Peter Zijlstra AuthorDate: Mon, 20 Mar 2017 12:26:55 +0100 Committer: Thomas Gleixner CommitDate: Sun, 26 Mar 2017 15:09:45 +0200 lockdep: Fix per-cpu

[PATCH] net: s390: qeth: use new api ethtool_{get|set}_link_ksettings

2017-03-26 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/s390/net/qeth_core.h |3 +- drivers/s390/net/qeth_core

[PATCH] x86/apic/timer: set ->min_delta_ticks and ->max_delta_ticks

2017-03-26 Thread Nicolai Stange
In preparation for making the clockevents core NTP correction aware, all clockevent device drivers must set ->min_delta_ticks and ->max_delta_ticks rather than ->min_delta_ns and ->max_delta_ns: a clockevent device's rate is going to change dynamically and thus, the ratio of ns to ticks ceases to s

[PATCH] Documentation: Fix dead URLs to ftp.kernel.org

2017-03-26 Thread SeongJae Park
As ftp.kernel.org is closed [0], this commit fixes dead URLs in documents to use www.kernel.org instead. [0] https://www.kernel.org/shutting-down-ftp-services.html Signed-off-by: SeongJae Park --- Documentation/early-userspace/README | 2 +- Documentation/filesystems/ext4.txt |

[PATCH 3/5] drivers/rtc/rtc-pl031.c: Convert to use devm_*()

2017-03-26 Thread Leo Yan
Convert driver to use devm_*() APIs so rely on driver model core layer to manage resources. This eliminates error path boilerplate and makes code neat. Signed-off-by: Leo Yan --- drivers/rtc/rtc-pl031.c | 59 + 1 file changed, 15 insertions(+), 44

[PATCH 2/5] drivers/rtc/rtc-pl030.c: Convert to use devm_*()

2017-03-26 Thread Leo Yan
Convert driver to use devm_*() APIs so rely on driver model core layer to manage resources. This eliminates error path boilerplate and makes code neat. Signed-off-by: Leo Yan --- drivers/rtc/rtc-pl030.c | 49 - 1 file changed, 12 insertions(+), 37

[PATCH 0/5] Convert to use devm_*() for amba attached modules

2017-03-26 Thread Leo Yan
When review device driver modules which attach to amba bus, found several modules are not using devm_*() apis to manage resource. As result, some drivers have memory leakage or missing iomem unmapping when rmmod module. And the code has many "goto" tags to handle different failures. So this patch

[PATCH 1/5] Input: ambakmi - Convert to use devm_*()

2017-03-26 Thread Leo Yan
Convert driver to use devm_*() APIs so rely on driver model core layer to manage resources. This eliminates error path boilerplate and makes code neat. This patch also fixes the memory leakage for 'kmi->io' when remove module. Signed-off-by: Leo Yan --- drivers/input/serio/ambakmi.c | 44 ++

[PATCH 4/5] vfio: platform: Convert to use devm_*()

2017-03-26 Thread Leo Yan
Convert driver to use devm_*() APIs so rely on driver model core layer to manage resources. This eliminates error path boilerplate and makes code neat. This patch also renames amba_id structure, the old code used some code which directly copied from other driver. Signed-off-by: Leo Yan --- driv

[PATCH 5/5] ALSA: AACI: Convert to use devm_ioremap_resource()

2017-03-26 Thread Leo Yan
Convert to use devm_ioremap_resource() in probe function, otherwise it's missed to unremap this region if probe failed or rmmod module. Signed-off-by: Leo Yan --- sound/arm/aaci.c | 21 ++--- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/sound/arm/aaci.c b/sound/

Re: [PATCH 1/5] Input: ambakmi - Convert to use devm_*()

2017-03-26 Thread Russell King - ARM Linux
On Sun, Mar 26, 2017 at 10:41:50PM +0800, Leo Yan wrote: > Convert driver to use devm_*() APIs so rely on driver model core layer > to manage resources. This eliminates error path boilerplate and makes > code neat. > > This patch also fixes the memory leakage for 'kmi->io' when remove > module. N

Re: 0324 tree BUG at kernel/auditsc.c:1513!

2017-03-26 Thread Paul Moore
On Sat, Mar 25, 2017 at 12:47 AM, Xiong Zhou wrote: > [11230.930568] [ cut here ] > [11230.953828] kernel BUG at kernel/auditsc.c:1513! > [11230.976157] invalid opcode: [#1] SMP > [11230.995917] Modules linked in: btrfs xor raid6_pq ext2 dm_thin_pool > dm_persistent_d

Re: [PATCH 5/5] ALSA: AACI: Convert to use devm_ioremap_resource()

2017-03-26 Thread Russell King - ARM Linux
On Sun, Mar 26, 2017 at 10:41:54PM +0800, Leo Yan wrote: > Convert to use devm_ioremap_resource() in probe function, otherwise it's > missed to unremap this region if probe failed or rmmod module. Again, wrong - just because there's nothing in the cleanup paths does not mean it doesn't clean up.

Re: Audit fixes for v4.11 (#1)

2017-03-26 Thread Paul Moore
On Sat, Mar 25, 2017 at 6:23 PM, Linus Torvalds wrote: > On Fri, Mar 24, 2017 at 2:39 PM, Paul Moore wrote: >> >> This code has passed our testsuite without problem and it has held up >> to my ad-hoc stress tests (arguably better than the existing code), >> please consider pulling this as fix for

Re: [PATCH 0/5] Convert to use devm_*() for amba attached modules

2017-03-26 Thread Alexandre Belloni
On 26/03/2017 at 22:41:49 +0800, Leo Yan wrote: > When review device driver modules which attach to amba bus, found > several modules are not using devm_*() apis to manage resource. As > result, some drivers have memory leakage or missing iomem unmapping > when rmmod module. And the code has many "

Re: [PATCH v3 1/3] crypto: hw_random - Add new Exynos RNG driver

2017-03-26 Thread PrasannaKumar Muralidharan
.Have some minor comments. Please feel free to correct if I am wrong. On 25 March 2017 at 21:56, Krzysztof Kozlowski wrote: > Replace existing hw_ranndom/exynos-rng driver with a new, reworked one. > This is a driver for pseudo random number generator block which on > Exynos4 chipsets must be see

Re: [PATCH 1/5] Input: ambakmi - Convert to use devm_*()

2017-03-26 Thread Leo Yan
On Sun, Mar 26, 2017 at 03:50:24PM +0100, Russell King - ARM Linux wrote: > On Sun, Mar 26, 2017 at 10:41:50PM +0800, Leo Yan wrote: > > Convert driver to use devm_*() APIs so rely on driver model core layer > > to manage resources. This eliminates error path boilerplate and makes > > code neat. >

Re: [PATCH 0/5] Convert to use devm_*() for amba attached modules

2017-03-26 Thread Leo Yan
On Sun, Mar 26, 2017 at 05:20:50PM +0200, Alexandre Belloni wrote: > On 26/03/2017 at 22:41:49 +0800, Leo Yan wrote: > > When review device driver modules which attach to amba bus, found > > several modules are not using devm_*() apis to manage resource. As > > result, some drivers have memory leak

[RESEND] arm: ftrace: fix dynamic ftrace with DEBUG_RODATA and !FRAME_POINTER

2017-03-26 Thread Abel Vesa
The support for dynamic ftrace with CONFIG_DEBUG_RODATA involves overriding the weak arch_ftrace_update_code() with a variant which makes the kernel text writable around the patching. This override was however added under the CONFIG_OLD_MCOUNT ifdef, and CONFIG_OLD_MCOUNT is only enabled if frame

Re: [PATCH v3 1/3] crypto: hw_random - Add new Exynos RNG driver

2017-03-26 Thread Krzysztof Kozlowski
On Sun, Mar 26, 2017 at 08:50:42PM +0530, PrasannaKumar Muralidharan wrote: > .Have some minor comments. Please feel free to correct if I am wrong. > > On 25 March 2017 at 21:56, Krzysztof Kozlowski wrote: > > Replace existing hw_ranndom/exynos-rng driver with a new, reworked one. > > This is a d

Re: [PATCH v3 1/3] crypto: hw_random - Add new Exynos RNG driver

2017-03-26 Thread Stephan Müller
Am Sonntag, 26. März 2017, 18:01:26 CEST schrieb Krzysztof Kozlowski: Hi Krzysztof, > > > + if (slen < EXYNOS_RNG_SEED_SIZE) { > > > + dev_warn(rng->dev, "Seed too short (only %u bytes)\n", > > > slen); + return -EINVAL; > > > + } > > > > Will it be helpfu

Re: [PATCH v2] Documentation: Input: Add uinput documentation

2017-03-26 Thread Marcos Paulo de Souza
On Fri, Mar 24, 2017 at 02:39:13PM +1000, Peter Hutterer wrote: > as usual, reading through these things multiple times means one spots a > couple of different things. sorry about that. > > On Fri, Mar 24, 2017 at 12:34:59AM -0300, Marcos Paulo de Souza wrote: > > Signed-off-by: Marcos Paulo de So

[PATCH] cgroup: switch to BUG_ON()

2017-03-26 Thread Nicholas Mc Guire
Use BUG_ON() rather than an explicit if followed by BUG() for improved readability and also consistency. Signed-off-by: Nicholas Mc Guire --- Found by coccinelle: bugon.cocci ./kernel/cgroup/cpuset.c:2125:2-5: WARNING: Use BUG_ON instead of if condition followed by BUG. ./kernel/cgroup/cpuset.

Re: [PATCH v4] tpm_crb: request and relinquish locality 0

2017-03-26 Thread Jerry Snitselaar
- Original Message - > From: "Jarkko Sakkinen" > To: "Jerry Snitselaar" , "gang wei" > Cc: "Jarkko Sakkinen" , > tpmdd-de...@lists.sourceforge.net, > linux-security-mod...@vger.kernel.org, "Peter Huewe" , > "Marcel Selhorst" , > "Jason Gunthorpe" , "open list" > > Sent: Sunday, Marc

Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-26 Thread Laurent Pinchart
Hi Hans, On Tuesday 14 Mar 2017 08:55:36 Hans Verkuil wrote: > On 03/14/2017 04:45 AM, Mauro Carvalho Chehab wrote: > > Hi Sakari, > > > > I started preparing a long argument about it, but gave up in favor of a > > simpler one. > > > > Em Mon, 13 Mar 2017 14:46:22 +0200 Sakari Ailus escreveu: >

Re: [PATCH v3 1/3] crypto: hw_random - Add new Exynos RNG driver

2017-03-26 Thread PrasannaKumar Muralidharan
On 26 March 2017 at 21:31, Krzysztof Kozlowski wrote: > On Sun, Mar 26, 2017 at 08:50:42PM +0530, PrasannaKumar Muralidharan wrote: >> .Have some minor comments. Please feel free to correct if I am wrong. >> >> On 25 March 2017 at 21:56, Krzysztof Kozlowski wrote: >> > diff --git a/drivers/crypto

[PATCH v3] Adding uinput documentation

2017-03-26 Thread Marcos Paulo de Souza
Hi all, this is the third version of the patchset, solved some typos and suggestions from Peter and Jon Corbet. Thanks for the suggestions. I hope this version is better than the last one. Marcos Paulo de Souza (1): Documentation: Input: Add uinput documentation Documentation/input/uinput.r

[PATCH v3] Documentation: Input: Add uinput documentation

2017-03-26 Thread Marcos Paulo de Souza
Signed-off-by: Marcos Paulo de Souza --- v2 -> v3: Changes in libevdev's description (suggested by Peter) Added uinput version check when using the old interface (suggested by Peter) Removed section numbers from sections, sphinx creates these indexes (suggestion by Jon) v1 -> v2: Ch

Re: [RFC v5 1/9] sched/deadline: track the active utilization

2017-03-26 Thread Mathieu Poirier
Hello Luca, On 23 March 2017 at 21:52, luca abeni wrote: > From: Luca Abeni > > Active utilization is defined as the total utilization of active > (TASK_RUNNING) tasks queued on a runqueue. Hence, it is increased > when a task wakes up and is decreased when a task blocks. > > When a task is migr

Re: [PATCH v3 1/3] crypto: hw_random - Add new Exynos RNG driver

2017-03-26 Thread Stephan Müller
Am Sonntag, 26. März 2017, 18:46:02 CEST schrieb PrasannaKumar Muralidharan: Hi Krzysztof, > >> > + if (slen < EXYNOS_RNG_SEED_SIZE) { > >> > + dev_warn(rng->dev, "Seed too short (only %u bytes)\n", > >> > slen); + return -EINVAL; > >> > + } > >> > >>

Re: [PATCH v3 1/3] crypto: hw_random - Add new Exynos RNG driver

2017-03-26 Thread Stephan Müller
Am Samstag, 25. März 2017, 17:26:52 CEST schrieb Krzysztof Kozlowski: Hi Krzysztof, > +static int exynos_rng_set_seed(struct exynos_rng_dev *rng, > +const u8 *seed, unsigned int slen) > +{ > + u32 val; > + int i; > + > + dev_dbg(rng->dev, "Seeding with %u b

[PATCH v2 6/8] ARM64: dts: meson-gxbb: add spdif output pins

2017-03-26 Thread Jerome Brunet
Add EE and AO domains pins for the spdif output to the gxbb device tree. Acked-by: Kevin Hilman Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/

[PATCH v2 4/8] pinctrl: meson: gxl: add spdif output pins

2017-03-26 Thread Jerome Brunet
Add EE and AO domains pins for the spdif output. Acked-by: Kevin Hilman Signed-off-by: Jerome Brunet --- drivers/pinctrl/meson/pinctrl-meson-gxl.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxl.c b/drivers/pinctrl/meson/pinctrl-m

[PATCH v2 0/8] pinctrl: meson: add audio output pins

2017-03-26 Thread Jerome Brunet
This patchset adds the pinctrl definition and the related device-tree bindings of the i2s output and spdif output pins on the meson gxbb and gxl SoCs. This is part of the ongoing work to bring audio output support on the meson family. It was tested on the gxbb p200 and gxl p230. Changes since v1:

[PATCH v2 2/8] pinctrl: meson: gxbb: add spdif output pins

2017-03-26 Thread Jerome Brunet
Add EE and AO domains pins for the spdif output. Acked-by: Kevin Hilman Signed-off-by: Jerome Brunet --- drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c b/drivers/pinctrl/meson/pinctrl

[PATCH v2 3/8] pinctrl: meson: gxl: add i2s output pins

2017-03-26 Thread Jerome Brunet
Add EE and AO domains pins for the i2s output clocks and data. I2S output channel 6/7 on TEST_N pin is missing from this patch and will be added later on. Acked-by: Kevin Hilman Signed-off-by: Jerome Brunet --- drivers/pinctrl/meson/pinctrl-meson-gxl.c | 31 +++ 1 fi

[PATCH v2 7/8] ARM64: dts: meson-gxl: add i2s output pins

2017-03-26 Thread Jerome Brunet
Add EE and AO domains pins for the i2s output clocks and data the gxl device tree Acked-by: Kevin Hilman Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 62 ++ 1 file changed, 62 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/me

[PATCH v2 5/8] ARM64: dts: meson-gxbb: add i2s output pins

2017-03-26 Thread Jerome Brunet
Add EE and AO domains pins for the i2s output clocks and data to the gxbb device tree. Acked-by: Kevin Hilman Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 63 + 1 file changed, 63 insertions(+) diff --git a/arch/arm64/boot/dts/amlog

[PATCH v2 2/6] ARM: sun7i: Convert to CCU

2017-03-26 Thread Priit Laes
Convert sun7i-a20.dtsi to new CCU driver. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun7i-a20.dtsi | 717 +++- 1 file changed, 85 insertions(+), 632 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 2db97fc..952

Re: Audit fixes for v4.11 (#1)

2017-03-26 Thread Linus Torvalds
On Sun, Mar 26, 2017 at 8:18 AM, Paul Moore wrote: > On Sat, Mar 25, 2017 at 6:23 PM, Linus Torvalds > wrote: >> The whole reason for that inlined part, and the uninlined >> __audit_signal_info() helper was that the code *used* to be able to >> avoid a function call entirely. That reason is now g

[PATCH v2 3/6] ARM: sun4i: Convert to CCU

2017-03-26 Thread Priit Laes
Convert sun4i-a10.dtsi to new CCU driver. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10.dtsi | 636 1 file changed, 82 insertions(+), 554 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index ba20b48..0d8

[PATCH v2 8/8] ARM64: dts: meson-gxl: add spdif output pins

2017-03-26 Thread Jerome Brunet
Add EE and AO domains pins for the spdif output to the gxl device tree. Acked-by: Kevin Hilman Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arc

Re: [RFC v5 2/9] sched/deadline: improve the tracking of active utilization

2017-03-26 Thread Mathieu Poirier
On 23 March 2017 at 21:52, luca abeni wrote: > From: Luca Abeni > > This patch implements a more theoretically sound algorithm for > tracking active utilization: instead of decreasing it when a > task blocks, use a timer (the "inactive timer", named after the > "Inactive" task state of the GRUB a

[PATCH v2 0/6] ARM: sunxi: Convert sun4i/sun7i series SoCs to sunxi-ng

2017-03-26 Thread Priit Laes
Hi, This serie brings A10 (sun4i) and A20 (sun7i) SoCs into the sunxi-ng world. As mentioned in sun5i conversion, this is pretty much standard stuff as all the required clocks were already implemented in the sunxi-ng framework. Unfortunately there's an issue with LVDS reset control that causes i

[PATCH v2 4/6] dt-bindings: List devicetree binding for the CCU of Allwinner A20

2017-03-26 Thread Priit Laes
Allwinner A20 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Acked-by: Rob Herring Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/sunxi-ccu.txt

Re: [PATCH v2] staging: media: omap4iss: Replace a bit shift by a use of BIT.

2017-03-26 Thread Laurent Pinchart
Hi Arushi, Thank you for the patch. On Friday 24 Mar 2017 21:31:45 Arushi Singhal wrote: > This patch replaces bit shifting on 1 with the BIT(x) macro. > This was done with coccinelle: > @@ > constant c; > @@ > > -1 << c > +BIT(c) > > Signed-off-by: Arushi Singhal Acked-by: Laurent Pinchart

Re: [PATCH v3 1/3] crypto: hw_random - Add new Exynos RNG driver

2017-03-26 Thread Krzysztof Kozlowski
On Sun, Mar 26, 2017 at 07:11:28PM +0200, Stephan Müller wrote: > Am Samstag, 25. März 2017, 17:26:52 CEST schrieb Krzysztof Kozlowski: > > +static int exynos_rng_set_seed(struct exynos_rng_dev *rng, > > + const u8 *seed, unsigned int slen) > > +{ > > + u32 val; > > + i

[PATCH v2 6/6] clk: sunxi-ng: Display index when clock registration fails

2017-03-26 Thread Priit Laes
Add clock index to clock registration failure message. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/ccu_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/sunxi-ng/ccu_common.c b/drivers/clk/sunxi-ng/ccu_common.c index 8a47baf..188fa50 100644 ---

Re: [PATCH v3 1/3] crypto: hw_random - Add new Exynos RNG driver

2017-03-26 Thread Krzysztof Kozlowski
On Sun, Mar 26, 2017 at 07:05:48PM +0200, Stephan Müller wrote: > Am Sonntag, 26. März 2017, 18:46:02 CEST schrieb PrasannaKumar Muralidharan: > > HiKrzysztof, > > > >> > + if (slen < EXYNOS_RNG_SEED_SIZE) { > > >> > + dev_warn(rng->dev, "Seed too short (only %u bytes)\n",

[PATCH v2 1/6] clk: sunxi-ng: Add sun4i/sun7i CCU driver

2017-03-26 Thread Priit Laes
Introduce a clock controller driver for sun4i A10 and sun7i A20 series SoCs. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/Kconfig | 13 +- drivers/clk/sunxi-ng/Makefile |1 +- drivers/clk/sunxi-ng/ccu-sunxi-a10-a20.c | 1532 ++- d

[PATCH] kernel: pid_namespace.c: Fix line over 80 characters

2017-03-26 Thread Arushi Singhal
Break lines so that they do not exceed 80 characters. Problem found using checkpatch. Signed-off-by: Arushi Singhal --- kernel/pid_namespace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c index de461aa0bf9a..850a87a1de2a 10

Re: [PATCH v2] staging: media: omap4iss: Replace a bit shift by a use of BIT.

2017-03-26 Thread Mauro Carvalho Chehab
Em Sun, 26 Mar 2017 20:57:02 +0300 Laurent Pinchart escreveu: > Hi Arushi, > > Thank you for the patch. > > On Friday 24 Mar 2017 21:31:45 Arushi Singhal wrote: > > This patch replaces bit shifting on 1 with the BIT(x) macro. > > This was done with coccinelle: > > @@ > > constant c; > > @@ > >

[PATCH] kernel: pid_namespace.c: Remove spaces before tabs

2017-03-26 Thread Arushi Singhal
This patch is to remove unneeded spaces before tabs so as to follow kernel coding conventions. Signed-off-by: Arushi Singhal --- kernel/pid_namespace.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c index 850a87a1de2

[PATCH v2 5/6] dt-bindings: List devicetree binding for the CCU of Allwinner A10

2017-03-26 Thread Priit Laes
Allwinner A10 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/sunxi-ccu.txt b/Documentation/devic

[PATCH v2 1/8] pinctrl: meson: gxbb: add i2s output pins

2017-03-26 Thread Jerome Brunet
Add EE and AO domains pins for the i2s output clocks and data. I2S output channel 6/7 on TEST_N pin is missing from this patch and will be added later on. Acked-by: Kevin Hilman Signed-off-by: Jerome Brunet --- drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 31 ++ 1 fi

[PATCH v2 5/7] Change k_clock clock_set() to use timespec64

2017-03-26 Thread Deepa Dinamani
struct timespec is not y2038 safe on 32 bit machines. Replace uses of struct timespec with struct timespec64 in the kernel. The syscall interfaces themselves will be changed in a separate series. Signed-off-by: Deepa Dinamani --- drivers/char/mmtimer.c | 2 +- include/linux/posix-timer

[PATCH v2 0/7] Change k_clock interfaces to use timespec64

2017-03-26 Thread Deepa Dinamani
The series is aimed at replacing struct timespec which is not y2038 safe with y2038 safe struct timespec64 for k_clock interfaces. The series also replaces struct itimerspec which uses struct timespec internally with struct itimerspec64 for the k_clock interfaces. The series does not change the sy

[PATCH v2 7/7] Change k_clock nsleep() to use timespec64

2017-03-26 Thread Deepa Dinamani
struct timespec is not y2038 safe on 32 bit machines. Replace uses of struct timespec with struct timespec64 in the kernel. The syscall interfaces themselves will be changed in a separate series. Note that the restart_block parameter for nanosleep has also been left unchanged and will be part of

[PATCH v2 2/7] time: Change posix clocks ops interfaces to use timespec64

2017-03-26 Thread Deepa Dinamani
struct timespec is not y2038 safe on 32 bit machines. The posix clocks apis use struct timespec directly and through struct itimerspec. Replace the posix clock interfaces to use struct timespec64 and struct itimerspec64 instead. Also fix up their implementations accordingly. Note that the clock_

[PATCH v2 6/7] Change k_clock timer_set() and timer_get() to use timespec64

2017-03-26 Thread Deepa Dinamani
struct timespec is not y2038 safe on 32 bit machines. Replace uses of struct timespec with struct timespec64 in the kernel. struct itimerspec internally uses struct timespec. Use struct itimerspec64 which uses struct timespec64. The syscall interfaces themselves will be changed in a separate seri

Re: [PATCH] Documentation: Fix dead URLs to ftp.kernel.org

2017-03-26 Thread Jonathan Corbet
On Sun, 26 Mar 2017 23:25:50 +0900 SeongJae Park wrote: CC += davem If nobody objects, I'll just take this through the docs tree. Thanks, jon > As ftp.kernel.org is closed [0], this commit fixes dead URLs in > documents to use www.kernel.org instead. > > [0] https://www.kernel.org/shutting-d

[PATCH v2 1/7] time: Delete do_sys_setimeofday()

2017-03-26 Thread Deepa Dinamani
struct timespec is not y2038 safe on 32 bit machines and needs to be replaced with struct timespec64. do_sys_timeofday() is just a wrapper function. Replace all calls to this function with direct calls to do_sys_timeofday64() instead and delete do_sys_timeofday(). Signed-off-by: Deepa Dinamani C

[PATCH v2 3/7] Change k_clock clock_get() to use timespec64

2017-03-26 Thread Deepa Dinamani
struct timespec is not y2038 safe on 32 bit machines. Replace uses of struct timespec with struct timespec64 in the kernel. The syscall interfaces themselves will be changed in a separate series. Signed-off-by: Deepa Dinamani --- drivers/char/mmtimer.c | 4 ++-- include/linux/posix-tim

[PATCH v2 4/7] Change k_clock clock_getres() to use timespec64

2017-03-26 Thread Deepa Dinamani
struct timespec is not y2038 safe on 32 bit machines. Replace uses of struct timespec with struct timespec64 in the kernel. The syscall interfaces themselves will be changed in a separate series. Note that the clock_getres() interface has also been changed to use timespec64 even though this parti

Re: [PATCH v4 1/4] i2c: designware: wait for disable/enable only if necessary

2017-03-26 Thread Andrey Utkin
On Tue, Aug 23, 2016 at 07:18:53PM -0300, Lucas De Marchi wrote: > From: José Roberto de Souza > > If we aren't going to continue using the controller we can just disable > it instead of waiting for it to complete. The biggest improvement here > is when a I2C transaction is completed and it doesn

Re: [PATCH v4] tpm_crb: request and relinquish locality 0

2017-03-26 Thread Jarkko Sakkinen
On Sun, Mar 26, 2017 at 12:39:29PM -0400, Jerry Snitselaar wrote: > > > - Original Message - > > From: "Jarkko Sakkinen" > > To: "Jerry Snitselaar" , "gang wei" > > > > Cc: "Jarkko Sakkinen" , > > tpmdd-de...@lists.sourceforge.net, > > linux-security-mod...@vger.kernel.org, "Peter Hue

[PATCH] net: tehuti: use new api ethtool_{get|set}_link_ksettings

2017-03-26 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/tehuti/tehuti.c | 43 ++-

Re: [RFC PATCH 1/1] tpm_tis: convert to using locality callbacks

2017-03-26 Thread Jason Gunthorpe
On Sat, Mar 25, 2017 at 01:05:21PM -0700, Jerry Snitselaar wrote: > @@ -672,7 +658,7 @@ void tpm_tis_remove(struct tpm_chip *chip) > interrupt = 0; > > tpm_tis_write32(priv, reg, ~TPM_GLOBAL_INT_ENABLE & interrupt); > - release_locality(chip, priv->locality, 1); > + r

  1   2   3   >