Re: [PATCH v5 0/4] New Microsemi PCI Switch Management Driver

2017-02-28 Thread Bjorn Helgaas
Hi Logan, On Sat, Feb 25, 2017 at 11:53:13PM -0700, Logan Gunthorpe wrote: > ... > This is a continuation of the RFC we posted lasted month [1] which > proposes a management driver for Microsemi's Switchtec line of PCI > switches. This hardware is still looking to be used in the Open > Compute Pla

Re: [PATCH 0/2] efi: Enhance capsule loader to support signed Quark images

2017-02-28 Thread Bryan O'Donoghue
On 28/02/17 15:07, Bryan O'Donoghue wrote: > a big fat ia32 *allow a full fat.. -- bod

[PATCH v2 2/3] coresight: refactor with function of_coresight_get_cpu

2017-02-28 Thread Leo Yan
This is refactor to add function of_coresight_get_cpu(), so it's used to retrieve CPU id for coresight component. Finally can use it as a common function for multiple places. Suggested-by: Mathieu Poirier Signed-off-by: Leo Yan --- drivers/hwtracing/coresight/of_coresight.c | 35 +++

Re: [PATCH -next] ASoC: hdmi-codec: fix non static symbol warnings

2017-02-28 Thread Mark Brown
On Mon, Feb 27, 2017 at 10:08:15AM +0900, Takashi Sakamoto wrote: > On Feb 6 2017 23:38, Wei Yongjun wrote: > > From: Wei Yongjun I don't seem to have this patch? > Unfortunately, this patch causes conflict to Mark's PR[0], due to a commit > 8480ac567959 ("ASoC: hdmi-codec: remove HDMI device un

Re: [PATCH v6 1/6] i2c: designware: Cleaning and comment style fixes.

2017-02-28 Thread Jarkko Nikula
Hi Sorry the delay. On 02/15/17 15:12, Andy Shevchenko wrote: On Wed, 2017-02-15 at 12:22 +, Luis Oliveira wrote: The purpose of this commit is to fix some comments and styling in the existing code due to the need of reuse this code. What is being made here is: - Sorted the headers files

[PATCH stable-4.9 2/2] mm, vmscan: consider eligible zones in get_scan_count

2017-02-28 Thread Michal Hocko
From: Michal Hocko commit 71ab6cfe88dcf9f6e6a65eb85cf2bda20a257682 upstream. get_scan_count() considers the whole node LRU size when - doing SCAN_FILE due to many page cache inactive pages - calculating the number of pages to scan In both cases this might lead to unexpected behavior especial

[PATCH stable-4.9 0/2] mm: follow up oom fixes for 32b

2017-02-28 Thread Michal Hocko
Hi, later in the 4.10 release cycle it turned out that b4536f0c829c ("mm, memcg: fix the active list aging for lowmem requests when memcg is enabled") was not sufficient to fully close the regression introduced by f8d1a31163fc ("mm: consider whether to decivate based on eligible zones inactive rati

Re: LTP write03 writev07 xfs failures

2017-02-28 Thread Christoph Hellwig
On Tue, Feb 28, 2017 at 09:59:40AM -0500, Brian Foster wrote: > Heh. I've appended what I'm currently playing around with. It's > certainly uglier, but not terrible IMO (outside of the fact that we have > to look at the buffer_heads). This seems to address the problem, but > still only lightly test

[PATCH stable-4.9 1/2] mm, vmscan: cleanup lru size claculations

2017-02-28 Thread Michal Hocko
From: Michal Hocko commit fd538803731e50367b7c59ce4ad3454426a3d671 upstream. lruvec_lru_size returns the full size of the LRU list while we sometimes need a value reduced only to eligible zones (e.g. for lowmem requests). inactive_list_is_low is one such user. Later patches will add more of th

Re: [PATCH V3 2/7] PM / OPP: Introduce "domain-performance-state" binding to OPP nodes

2017-02-28 Thread Ulf Hansson
[...] >> ---> Parent domain-2 (Contains >> Perfomance states) >> | >> | >> C.) DeviceX ---> Parent-domain-1 | >> | >>

Re: [PATCH v3 11/25] ARM: dts: Add Actions Semi S500 and LeMaker Guitar

2017-02-28 Thread Andreas Färber
Hi Mark, Am 28.02.2017 um 13:32 schrieb Mark Rutland: > On Tue, Feb 28, 2017 at 07:35:21AM +0100, Andreas Färber wrote: >> +/dts-v1/; >> + >> +#include "s500-guitar.dtsi" >> + >> +/ { >> +compatible = "lemaker,guitar-bb-rev-b", "lemaker,guitar", >> "actions,s500"; >> +model = "LeMaker Gui

Re: sound: spinlock lockup in snd_timer_user_tinterrupt

2017-02-28 Thread Takashi Iwai
On Mon, 27 Feb 2017 21:46:48 +0100, Dmitry Vyukov wrote: > > Hello, > > The following program locks up system: > https://gist.githubusercontent.com/dvyukov/1b5cdca7f0fc6254afd4816901160e4c/raw/024c53be2112c83e5d64f3e4d5e8aa38ded727e3/gistfile1.txt Thanks. It doesn't look like the hard lockup, b

Re: [PATCH V2] PCI/ASPM: reconfigure ASPM following hotplug for POLICY_DEFAULT

2017-02-28 Thread Sinan Kaya
On 2/28/2017 6:03 AM, Patel, Mayurkumar wrote: >> -/* Save default state */ >> -link->aspm_default = link->aspm_enabled; > But, I am finding a problem with this change, if Policy is set to default, > BIOS enables ASPM L1, but pcie_config_aspm_link() disables ASPM L1 > due to link->aspm_enab

Re: [PATCH v5 06/13] lockdep: Implement crossrelease feature

2017-02-28 Thread Peter Zijlstra
On Wed, Jan 18, 2017 at 10:17:32PM +0900, Byungchul Park wrote: > + /* > + * If the previous in held_locks can create a proper dependency > + * with a target crosslock, then we can skip commiting this, > + * since "the target crosslock -> the previous lock" and > + * "the pr

Re: rsync: page allocation stalls in kernel 4.9.10 to a VessRAID NAS

2017-02-28 Thread Michal Hocko
On Tue 28-02-17 09:59:35, Robert Kudyba wrote: > > > On Feb 28, 2017, at 9:40 AM, Michal Hocko wrote: > > > > On Tue 28-02-17 09:33:49, Robert Kudyba wrote: > >> > >>> On Feb 28, 2017, at 9:15 AM, Michal Hocko wrote: > >>> and this one is hitting the min watermark while there is not really > >

Re: [PATCH 0/2] efi: Enhance capsule loader to support signed Quark images

2017-02-28 Thread Bryan O'Donoghue
On 28/02/17 13:36, Andy Shevchenko wrote: > On Tue, Feb 28, 2017 at 3:35 PM, Andy Shevchenko > wrote: >> On Tue, Feb 28, 2017 at 3:25 PM, Ard Biesheuvel >> wrote: >>> On 28 February 2017 at 12:29, Matt Fleming wrote: On Tue, 28 Feb, at 01:20:25PM, Jan Kiszka wrote: >> >>> As I said before,

[PATCH v2 0/3] coresight: enable debug module

2017-02-28 Thread Leo Yan
ARMv8 architecture reference manual (ARM DDI 0487A.k) Chapter H7 "The Sample-based Profiling Extension" has description for sampling registers, we can utilize these registers to check program counter value with combined CPU exception level, secure state, etc. So this is helpful for CPU lockup bugs,

Re: sched_setaffinity causing "rq->clock_update_flags < RQCF_ACT_SKIP" warning.

2017-02-28 Thread Chris Wilson
On Tue, Feb 28, 2017 at 01:43:02PM +, Chris Wilson wrote: > On Mon, Feb 27, 2017 at 03:06:35PM +, Matt Fleming wrote: > > On Fri, 24 Feb, at 05:19:03PM, Dave Jones wrote: > > > Looks like fallout from cb42c9a3e23448c3f9a25417fae6309b1a92 > > > > > > WARNING: CPU: 1 PID: 561 at kernel/s

[PATCH v2 1/3] coresight: bindings for debug module

2017-02-28 Thread Leo Yan
According to ARMv8 architecture reference manual (ARM DDI 0487A.k) Chapter 'Part H: External debug', the CPU can integrate debug module and it can support self-hosted debug and external debug. Especially for supporting self-hosted debug, this means the program can access the debug module from mmio

Re: [PATCH v2 4/4] usb: dwc3: Workaround for super-speed host on dra7 in dual-role mode

2017-02-28 Thread Roger Quadros
On 25/02/17 05:35, Chanwoo Choi wrote: > Hi Roger, > > [snip] > >> /* dwc->lock must be held */ >> static void dwc3_otg_core_exit(struct dwc3 *dwc) >> { >> + if (dwc->edev) >> + return; >> + >> /* disable all otg irqs */ >> dwc3_otg_disable_events(dwc, DWC3_

Re: [PATCH v9 00/10] mux controller abstraction and iio/i2c muxes

2017-02-28 Thread Peter Rosin
Hi! The status of this series [1] is that Rob Herring has acked/reviewed all devicetree changes, so I suppose that's ok. Jonathan Cameron has acked the additions to the iio subsystem and reviewed the new iio driver. Wolfram Sang has acked the i2c-mux driver. That's acks or reviews from the maintai

Re: [PATCH 1/3] Revert "lib/test_sort.c: make it explicitly non-modular"

2017-02-28 Thread Geert Uytterhoeven
Hi Andy, On Tue, Feb 28, 2017 at 3:24 PM, Andy Shevchenko wrote: > On Tue, 2017-02-28 at 14:06 +0100, Geert Uytterhoeven wrote: >> This reverts commit 8893f519330bb073a49c5b4676fce4be6f1be15d. >> >> It's very valuable to have modular tests, so you can run them just by >> insmodding the test modul

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2017-02-28 Thread Jon Hunter
Hi all, On 20/09/16 11:28, Jon Hunter wrote: > The Tegra124/210 XUSB subsystem (that consists of both host and device > controllers) is partitioned across 3 PM domains which are: > - XUSBA: Superspeed logic (for USB 3.0) > - XUSBB: Device controller > - XUSBC: Host controller > > These power doma

[GIT PULL] Ceph updates for 4.11-rc1

2017-02-28 Thread Ilya Dryomov
Hi Linus, The following changes since commit c470abd4fde40ea6a0846a2beab642a578c0b8cd: Linux 4.10 (2017-02-19 14:34:00 -0800) are available in the git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-4.11-rc1 for you to fetch changes up to 54ea0046b6fe36ec18e82d282a29a1

Re: [Regression?] 1ea0ce4069 ("selinux: allow changing labels for cgroupfs") stops Android from booting

2017-02-28 Thread Stephen Smalley
On Mon, 2017-02-27 at 19:18 -0500, Paul Moore wrote: > On Mon, Feb 27, 2017 at 4:23 PM, Stephen Smalley > wrote: > > > > On Mon, 2017-02-27 at 12:48 -0800, Nick Kralevich wrote: > > > > > > On Mon, Feb 27, 2017 at 11:53 AM, Stephen Smalley > > gov> > > > wrote: > > > > > > > > > > > > > > >

net/atm: vcc_sendmsg calls kmem_cache_alloc in non-blocking context

2017-02-28 Thread Dmitry Vyukov
Hello, I've got the following WARNING while running syzkaller fuzzer: [ cut here ] WARNING: CPU: 0 PID: 9197 at kernel/sched/core.c:6149 __might_sleep+0x149/0x1a0 kernel/sched/core.c:6144 do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait+0x182/

[PATCH] uphy: handle utmipll iddq

2017-02-28 Thread Peter De Schrijver
Export utmipll iddq functions. These will be needed when powergating the XUSB partition. Signed-off-by: BH Hsieh Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 26 ++ include/linux/clk/tegra.h| 2 ++ 2 files changed, 28 insertions(+) d

[PATCH] clk: tegra: mark TEGRA210_CLK_DBGAPB as always on

2017-02-28 Thread Peter De Schrijver
This is needed to make the JTAG debugging interface work. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra210.c index 9a2512a..708f5f1 100644 --- a/drivers/clk

Re: net/atm: vcc_sendmsg calls kmem_cache_alloc in non-blocking context

2017-02-28 Thread Eric Dumazet
On Tue, Feb 28, 2017 at 7:26 AM, Dmitry Vyukov wrote: > Hello, > > I've got the following WARNING while running syzkaller fuzzer: > > [ cut here ] > WARNING: CPU: 0 PID: 9197 at kernel/sched/core.c:6149 > __might_sleep+0x149/0x1a0 kernel/sched/core.c:6144 > do not call bloc

Re: [PATCH] ASoC: dwc: remove 'out of memory' message

2017-02-28 Thread Takashi Iwai
On Sun, 26 Feb 2017 09:03:22 +0100, Takashi Sakamoto wrote: > > Hi, > > On Feb 25 2017 20:03, Mihai Burduselu wrote: > > Reported by checkpatch.pl > > Signed-off-by: Mihai Burduselu > > --- > > sound/soc/dwc/designware_i2s.c | 4 +--- > > 1 file changed, 1 insertion(+), 3 deletions(-) > > > > d

RE: [PATCH] checkpatch: Add ability to find bad uses of vsprintf %p extensions

2017-02-28 Thread Roberts, William C
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Monday, February 27, 2017 12:55 PM > To: Andrew Morton ; Andy Whitcroft > > Cc: Roberts, William C ; kernel- > harden...@lists.openwall.com; linux-kernel@vger.kernel.org > Subject: [PATCH] checkpatch: Add ability

[PATCH v4 1/1] drm/fb-helper: implement ioctl FBIO_WAITFORVSYNC

2017-02-28 Thread Maxime Ripard
Implement legacy framebuffer ioctl FBIO_WAITFORVSYNC in the generic framebuffer emulation driver. Legacy framebuffer users like non kms/drm based OpenGL(ES)/EGL implementations may require the ioctl to synchronize drawing or buffer flip for double buffering. It is tested on the i.MX6. Signed-off-b

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2017-02-28 Thread Geert Uytterhoeven
Hi Jon, On Tue, Feb 28, 2017 at 4:18 PM, Jon Hunter wrote: > On 20/09/16 11:28, Jon Hunter wrote: >> The Tegra124/210 XUSB subsystem (that consists of both host and device >> controllers) is partitioned across 3 PM domains which are: >> - XUSBA: Superspeed logic (for USB 3.0) >> - XUSBB: Device c

[PATCH v4 0/1] drm: Support framebuffer panning

2017-02-28 Thread Maxime Ripard
Hi, This is a respin of the previous serie called "Support fast framebuffer panning for i.MX6" made by Stefan 6 monthes ago. The imx6 bits have been removed, and the comments that were made at that time fixed (hopefully). Let me know what you think, Maxime Changes from v3: - Dropped the overal

Re: net/rds: use-after-free in inet_create

2017-02-28 Thread Sowmini Varadhan
On (02/28/17 15:22), Dmitry Vyukov wrote: > > Hello, > > I've got the following report while running syzkaller fuzzer on > linux-next/8d01c069486aca75b8f6018a759215b0ed0c91f0. So far it > happened only once. net was somehow deleted from underneath > inet_create. I've noticed that rds uses sock_cr

[PATCH 0/4] MIPS: Further microMIPS stack unwinding fixes

2017-02-28 Thread Matt Redfearn
4.11 includes a bunch of stack unwinding fixes for microMIPS, but some of those fixes require additional fixup, provided by this series. These patches have been tested on qemu M14Kc micromips and tested for regression on ci40, Boston, Octeon III & malta. This series is based on mips-for-linux-next

Re: mm: fault in __do_fault

2017-02-28 Thread Andrea Arcangeli
Hello Dmitry, On Tue, Feb 28, 2017 at 03:04:53PM +0100, Dmitry Vyukov wrote: > Hello, > > The following program triggers GPF in __do_fault: > https://gist.githubusercontent.com/dvyukov/27345737fca18d92ef761e7fa08aec9b/raw/d99d02511d0bf9a8d6f6bd9c79d373a26924e974/gistfile1.txt Can you verify this

Re: net/sctp: use-after-free in sctp_hash_transport

2017-02-28 Thread Xin Long
On Tue, Feb 28, 2017 at 11:35 PM, Dmitry Vyukov wrote: > On Mon, Feb 27, 2017 at 5:27 PM, Xin Long wrote: >> On Mon, Feb 27, 2017 at 11:45 PM, Andrey Konovalov >> wrote: >>> Hi, >>> >>> I've got the following error report while fuzzing the kernel with syzkaller. >>> >>> On commit e5d56efc97f8240

Re: net/sctp: use-after-free in sctp_hash_transport

2017-02-28 Thread Dmitry Vyukov
On Mon, Feb 27, 2017 at 5:27 PM, Xin Long wrote: > On Mon, Feb 27, 2017 at 11:45 PM, Andrey Konovalov > wrote: >> Hi, >> >> I've got the following error report while fuzzing the kernel with syzkaller. >> >> On commit e5d56efc97f8240d0b5d66c03949382b6d7e5570 (Feb 26). >> >> A reproducer and .confi

Re: [linux-sunxi] [PATCH 1/3] phy: sun4i-usb: support automatically switch PHY0 route to MUSB/HCI

2017-02-28 Thread Chen-Yu Tsai
On Tue, Feb 28, 2017 at 11:27 PM, Icenowy Zheng wrote: > On newer Allwinner SoCs (H3 and after), the PHY0 node is routed to both > MUSB controller for peripheral and host support (the host support is > slightly broken), and a pair of EHCI/OHCI controllers, which provide a > better support for host

Re: [PATCH v5 06/13] lockdep: Implement crossrelease feature

2017-02-28 Thread Peter Zijlstra
On Wed, Jan 18, 2017 at 10:17:32PM +0900, Byungchul Park wrote: > +struct cross_lock { > + /* > + * When more than one acquisition of crosslocks are overlapped, > + * we do actual commit only when ref == 0. > + */ > + atomic_t ref; That comment doesn't seem right, should th

Re: [PATCH] arc: get rate from clk driver instead of reading device tree

2017-02-28 Thread Alexey Brodkin
Hi Vineet, On Wed, 2017-02-22 at 10:34 -0800, Vineet Gupta wrote: > On 02/22/2017 02:36 AM, Vlad Zakharov wrote: > > > > We were reading clock rate directly from device tree "clock-frequency" > > property of corresponding clock node in show_cpuinfo function. > > > > Such approach is correct only

Re: mm: fault in __do_fault

2017-02-28 Thread Andrea Arcangeli
On Tue, Feb 28, 2017 at 06:32:20PM +0300, Kirill A. Shutemov wrote: > Andrea, does it look okay for you? > > diff --git a/fs/userfaultfd.c b/fs/userfaultfd.c > index 625b7285a37b..56f61f1a1dc1 100644 > --- a/fs/userfaultfd.c > +++ b/fs/userfaultfd.c > @@ -489,7 +489,7 @@ int handle_userfault(struc

Problem with RSA test from testmgr

2017-02-28 Thread Corentin Labbe
hello I work on the sun8i-ce crypto accelerator and I have some problem with the RSA part. The RSA register fail at the first RSA test (encrypt 512bit) with this output: [ 8480.146843] alg: akcipher: encrypt test failed. Invalid output [ 8480.146871] : 6e 7c 8a 75 e7 30 80 d1 5e ab 9b db

Re: nios2 crash/hang in mainline due to 'lib: update LZ4 compressor module'

2017-02-28 Thread Tobias Klauser
(adding Sandra Loosemore to Cc due to possible relation to gcc/binutils for nios2) On 2017-02-26 at 22:03:38 +0100, Guenter Roeck wrote: > Hi Sven, > > my qemu test for nios2 started failing with commit 4e1a33b105dd ("lib: > update LZ4 compressor module"). The test hangs early during boot before

[PATCH 1/2] ARM: dts: socfpga: Add labels for CPU nodes

2017-02-28 Thread Florian Vaussard
This makes it easier to reference the CPU nodes afterwards. Signed-off-by: Florian Vaussard --- arch/arm/boot/dts/socfpga.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index 2c43c4d..478047e 100644 ---

Re: [PATCH V3 2/7] PM / OPP: Introduce "domain-performance-state" binding to OPP nodes

2017-02-28 Thread Rob Herring
On Tue, Feb 28, 2017 at 9:14 AM, Ulf Hansson wrote: > [...] > >>> ---> Parent domain-2 (Contains >>> Perfomance states) >>> | >>> | >>> C.) DeviceX ---> Parent-domain-1 | >>>

Re: [PATCH v7 7/8] uapi: export all headers under uapi directories

2017-02-28 Thread Nicolas Dichtel
Le 28/02/2017 à 03:48, Dmitry V. Levin a écrit : > On Mon, Feb 27, 2017 at 05:01:55PM +0100, Nicolas Dichtel wrote: [snip] >> Is there any chance to get this series in before the rc1? > > Note that the following newly exported headers have userspace compilation > errors: > > /usr/include/drm/arma

Re: LTP write03 writev07 xfs failures

2017-02-28 Thread Brian Foster
On Tue, Feb 28, 2017 at 07:11:35AM -0800, Christoph Hellwig wrote: > On Tue, Feb 28, 2017 at 09:59:40AM -0500, Brian Foster wrote: > > Heh. I've appended what I'm currently playing around with. It's > > certainly uglier, but not terrible IMO (outside of the fact that we have > > to look at the buff

Re: [PATCH V3 2/3] sched/deadline: Throttle a constrained deadline task activated after the deadline

2017-02-28 Thread Steven Rostedt
On Tue, 28 Feb 2017 11:07:54 +0100 Daniel Bristot de Oliveira wrote: > diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c > index 3c94d85..3a88def 100644 > --- a/kernel/sched/deadline.c > +++ b/kernel/sched/deadline.c > @@ -694,6 +694,37 @@ void init_dl_task_timer(struct sched_dl_ent

[PATCH v4 1/6] ARM: davinci: da8xx: allow having multiple pdata-quirks

2017-02-28 Thread Bartosz Golaszewski
We currently bail-out after applying a single quirk. We will want to reuse the function doing the vpif capture registration so remove the break; and continue iterating over the quirk array. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/pdata-quirks.c | 1 - 1 file changed, 1 delet

[PATCH v4 2/6] ARM: davinci: board-da850-evm: add I2C ID for VPIF

2017-02-28 Thread Bartosz Golaszewski
From: Kevin Hilman VPIF capture driver now has a way to specific I2C adapter ID (was previously hard-coded.) Use the new interface. Signed-off-by: Kevin Hilman --- arch/arm/mach-davinci/board-da850-evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-da850-evm

Re: [PATCH] fpga fr br: separate freeze bridge driver code

2017-02-28 Thread matthew . gerlach
On Mon, 27 Feb 2017, Moritz Fischer wrote: Hi Matthew, small nit inline. On Mon, Feb 27, 2017 at 12:03 PM, wrote: From: Matthew Gerlach This patch separates the core Freeze Bridge driver code from the platform driver code. The intent is to allow the core driver code to be used without r

Re: [linux-sunxi] [PATCH 2/3] ARM: dts: sun8i: add usb_otg and OHCI/EHCI for usbc0 on H3

2017-02-28 Thread Chen-Yu Tsai
On Tue, Feb 28, 2017 at 11:27 PM, Icenowy Zheng wrote: > Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI > or MUSB controller. > > Add device nodes for these controllers. > > Signed-off-by: Icenowy Zheng > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 36

Re: Problem with RSA test from testmgr

2017-02-28 Thread Stephan Müller
Am Dienstag, 28. Februar 2017, 16:59:53 CET schrieb Corentin Labbe: Hi Corentin, > hello > > I work on the sun8i-ce crypto accelerator and I have some problem with the > RSA part. > > The RSA register fail at the first RSA test (encrypt 512bit) with this > output: [ 8480.146843] alg: akcipher:

[PATCH v3 0/2] media: dt-bindings: extend the vpif bindings

2017-02-28 Thread Bartosz Golaszewski
This series adds pdata quirks and other changes required to make vpif work on the da850-evm board. v1 -> v2: - added patch 3/3 - specified the purpose of port@0 and port@1 nodes v2 -> v3: - removed patch 3/3 - it may take some more time to determine the correct solution for enable-gpios, so I d

Re: kprobes vs __ex_table[]

2017-02-28 Thread Masami Hiramatsu
Hi Peter, On Fri, 24 Feb 2017 10:26:46 +0100 Peter Zijlstra wrote: > One more complication with __ex_table and optimized kprobes is that we > need to be careful not to clobber __ex_table[].fixup. It would be very > bad if the optimized probe were to clobber the address we let the fixup > return

Re: net/rds: use-after-free in inet_create

2017-02-28 Thread Sowmini Varadhan
On (02/28/17 16:49), Dmitry Vyukov wrote: > > Grepping "socket" there, it was doing lots of things with sockets. Are > we looking for some particular socket type? If there are few programs > that create sockets of that type, then we can narrow down the set: Yes, we are looking for PF_RDS/AF_RDS -

[PATCH v3 2/2] media: dt-bindings: vpif: extend the example with an output port

2017-02-28 Thread Bartosz Golaszewski
This makes the example more or less correspond with the da850-evm hardware setup. Signed-off-by: Bartosz Golaszewski Acked-by: Rob Herring --- .../devicetree/bindings/media/ti,da850-vpif.txt| 40 +- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/Documenta

[PATCH v3 1/2] media: dt-bindings: vpif: fix whitespace errors

2017-02-28 Thread Bartosz Golaszewski
The examples have been copied from the DT with whitespace errors. Fix them. Signed-off-by: Bartosz Golaszewski Acked-by: Rob Herring --- Documentation/devicetree/bindings/media/ti,da850-vpif.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/devic

[PATCH 0/2] ARM: dts: socfpga: Add support for PMU on Arria5/Cyclone5

2017-02-28 Thread Florian Vaussard
Hi, These patches add suport for ARM Performance Monitor Units on Arria5 and Cyclone5 SoCFPGA. This was tested on a Cyclone 5 SoC DK board. Side note: the same change can be probably applied to Arria10 as well, but we do not have the hardware here to test. Regards, Florian Florian Vaussard (2):

UML not maintained anymore?

2017-02-28 Thread Natale Patriciello
It seems there is no interest in fixing bugs (such as [1]). Moreover, same guest filesystem (same host os, distribution, etc.) on two different machines (i7-2630 the first, i7-7700HQ the second) yield different results, with crashes and corruption of filesystem in the modern computer. So, can I co

Re: [PATCH 0/2] efi: Enhance capsule loader to support signed Quark images

2017-02-28 Thread Andy Shevchenko
On Tue, Feb 28, 2017 at 5:07 PM, Bryan O'Donoghue wrote: > On 28/02/17 13:36, Andy Shevchenko wrote: >> On Tue, Feb 28, 2017 at 3:35 PM, Andy Shevchenko >> wrote: >>> On Tue, Feb 28, 2017 at 3:25 PM, Ard Biesheuvel >>> wrote: On 28 February 2017 at 12:29, Matt Fleming wrote: > On

Re: net/rds: use-after-free in inet_create

2017-02-28 Thread Dmitry Vyukov
On Tue, Feb 28, 2017 at 4:37 PM, Sowmini Varadhan wrote: > On (02/28/17 15:22), Dmitry Vyukov wrote: >> >> Hello, >> >> I've got the following report while running syzkaller fuzzer on >> linux-next/8d01c069486aca75b8f6018a759215b0ed0c91f0. So far it >> happened only once. net was somehow deleted f

[PATCH v3 1/4] ARM: dts: da850-evm: fix whitespace errors

2017-02-28 Thread Bartosz Golaszewski
The da850-evm dts file contains whitespace errors in the vpif node. This patch fixes them. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-evm.dts | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da

[PATCH v3 0/4] ARM: dts: da850-evm: vpif DT changes

2017-02-28 Thread Bartosz Golaszewski
This series adds necessary changes to make vpif work on the da850-evm board. The first patch only contains whitespace error fixes. The second patch add a pinctrl node for vpif display pins. The third adds the UI expander node that is needed to select the video capture functionality. The last pa

[PATCH 2/2] ARM: dts: socfpga: Add support for PMU

2017-02-28 Thread Florian Vaussard
The dual Cortex-A9 MPCore inside socfpga has a standard PMU unit for each core mapped in the DAP memory space. Add support for it! Tested with perf on a Cyclone 5 SoC DK. Reported-by: Alberto Dassatti Signed-off-by: Florian Vaussard Tested-by: Alberto Dassatti --- arch/arm/boot/dts/socfpga.dt

Re: [PATCH] media: vpif: request enable-gpios

2017-02-28 Thread Bartosz Golaszewski
2017-02-22 14:27 GMT+01:00 Bartosz Golaszewski : > This change is needed to make vpif capture work on the da850-evm board > where the capture function must be selected on the UI expander. > > Signed-off-by: Bartosz Golaszewski > --- > drivers/media/platform/davinci/vpif_capture.c | 7 +++ > 1

Re: [linux-sunxi] [PATCH 2/3] ARM: dts: sun8i: add usb_otg and OHCI/EHCI for usbc0 on H3

2017-02-28 Thread Chen-Yu Tsai
On Tue, Feb 28, 2017 at 11:57 PM, Icenowy Zheng wrote: > > > 28.02.2017, 23:46, "Chen-Yu Tsai" : >> On Tue, Feb 28, 2017 at 11:27 PM, Icenowy Zheng wrote: >>> Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI >>> or MUSB controller. >>> >>> Add device nodes for these contr

Re: net/rds: use-after-free in inet_create

2017-02-28 Thread Dmitry Vyukov
On Tue, Feb 28, 2017 at 5:15 PM, Sowmini Varadhan wrote: > On (02/28/17 16:49), Dmitry Vyukov wrote: >> >> Grepping "socket" there, it was doing lots of things with sockets. Are >> we looking for some particular socket type? If there are few programs >> that create sockets of that type, then we ca

Re: ARM: OMAP2+: Grab reference to device nodes where needed

2017-02-28 Thread Tony Lindgren
* Guenter Roeck [170227 15:36]: > ping ... this problem is now seen in mainline. Oops sorry I had accidentally tagged this with "next" instead of "fixes". Looking at the patch though, can't we make of_node_get/put local to omap3xxx_hwmod_is_hs_ip_block_usable()? Regards, Tony

[PATCH v4 3/6] ARM: davinci: da8xx: add OF_DEV_AUXDATA() for vpif

2017-02-28 Thread Bartosz Golaszewski
From: Kevin Hilman This is needed for the driver to access the vpif clock. Signed-off-by: Kevin Hilman [Bartosz: split the pdata-quirks patch in two with one adding the OF_DEV_AUXDATA entry] Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da8xx-dt.c | 1 + 1 file change

[PATCH] jump_label: Fix anonymous union initialization

2017-02-28 Thread Boris Ostrovsky
Pre-4.6 gcc do not allow direct static initialization of members of anonymous structs/unions. After commit 3821fd35b58d ("jump_label: Reduce the size of struct static_key") STATIC_KEY_INIT_{TRUE|FALSE} definitions cannot be compiled with those older compilers. Placing initializers inside curved br

[PATCH v4 5/6] ARM: da850-evm: add a fixed regulator for the UI board IO expander

2017-02-28 Thread Bartosz Golaszewski
Without this regulator the tca6416 GPIO expander on the UI board can't be probed in board file mode and we're not getting VPIF IRQs. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-da850-evm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-davinci/board-d

sounds: deadlocked processed in snd_seq_pool_done

2017-02-28 Thread Dmitry Vyukov
Hello, The following program creates deadlocked processed in snd_seq_pool_done: https://gist.githubusercontent.com/dvyukov/1c9b1e4641f46c16a42cdb4458bbe8fd/raw/a09912f3cff4d86f412cedf5f5b4a5c98a9f0040/gistfile1.txt # cat /proc/2964/status Name: a.out State: D (disk sleep) Tgid: 2964 Ngid: 0 Pid:

[PATCH v4 6/6] ARM: davinci: add pdata-quirks for da850-evm vpif display

2017-02-28 Thread Bartosz Golaszewski
Similarly to vpif capture: we need to register the vpif display driver and the corresponding adv7343 encoder in pdata-quirks as the DT support is not complete - there isn't currently a way to define the output_routing in the V4L2 drivers (c.f. s_routing) via DT. Signed-off-by: Bartosz Golaszewski

Re: mm: fault in __do_fault

2017-02-28 Thread Kirill A. Shutemov
On Tue, Feb 28, 2017 at 03:04:53PM +0100, Dmitry Vyukov wrote: > Hello, > > The following program triggers GPF in __do_fault: > https://gist.githubusercontent.com/dvyukov/27345737fca18d92ef761e7fa08aec9b/raw/d99d02511d0bf9a8d6f6bd9c79d373a26924e974/gistfile1.txt > > general protection fault:

[PATCH v4 1/2] dt: bindings: fpga: add xilinx slave-serial binding description

2017-02-28 Thread Anatolij Gustschin
Add dt binding documentation details for Xilinx FPGA configuration over slave serial interface. Signed-off-by: Anatolij Gustschin Acked-by: Moritz Fischer Acked-by: Rob Herring --- Changes in v4: - add Acked-by tags Changes in v3: - extend example to show the usage in SPI master node, con

[PATCH v4 2/2] fpga manager: Add Xilinx slave serial SPI driver

2017-02-28 Thread Anatolij Gustschin
The driver loads FPGA firmware over SPI, using the "slave serial" configuration interface on Xilinx FPGAs. Signed-off-by: Anatolij Gustschin --- This patch requires patch https://lkml.org/lkml/2017/2/15/667 for building Changes in v4: - increase program latency up to 7.5ms for other Xilinx FPG

[PATCH v4 0/2] Xilinx Slave Serial FPGA Manager

2017-02-28 Thread Anatolij Gustschin
This series adds an FPGA manager driver for Xilinx Spartan6 FPGAs that can configure them using an SPI port and two GPIOs. Anatolij Gustschin (2): dt: bindings: fpga: add xilinx slave-serial binding description fpga manager: Add Xilinx slave serial SPI driver Changes in v4: - add Acked-by ta

[PATCH v3 3/4] ARM: dts: da850-evm: add the UI expander node

2017-02-28 Thread Bartosz Golaszewski
We need the expander to be probed to allow the VPIF controller to receive interrupts from the video decoder. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-evm.dts | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/

Re: Problem with RSA test from testmgr

2017-02-28 Thread Corentin Labbe
On Tue, Feb 28, 2017 at 05:08:35PM +0100, Stephan Müller wrote: > Am Dienstag, 28. Februar 2017, 16:59:53 CET schrieb Corentin Labbe: > > Hi Corentin, > > > hello > > > > I work on the sun8i-ce crypto accelerator and I have some problem with the > > RSA part. > > > > The RSA register fail at th

Re: [PATCH] jump_label: align jump_entry table to at least 4-bytes

2017-02-28 Thread Steven Rostedt
On Tue, 28 Feb 2017 10:25:46 +0530 Sachin Sant wrote: > File: ./net/ipv4/xfrm4_input.o > [12] __jump_table PROGBITS 000639 18 18 > WAM 0 0 1 > File: ./net/ipv4/udplite.o > File: ./net/ipv4/xfrm4_output.o > [ 9] __jump_table PROGBITS00

Re: net/rds: use-after-free in inet_create

2017-02-28 Thread Sowmini Varadhan
On (02/28/17 17:32), Dmitry Vyukov wrote: > Not reproducible so far. > > rds is compiled into kernel (no modules): > CONFIG_RDS=y > CONFIG_RDS_TCP=y I see. So if it never gets unloaded, the rds_connections "should" be around forever.. let me inspect code and see if I spot some race-window.. >

Re: rsync: page allocation stalls in kernel 4.9.10 to a VessRAID NAS

2017-02-28 Thread Robert Kudyba
> On Feb 28, 2017, at 10:15 AM, Michal Hocko wrote: > > On Tue 28-02-17 09:59:35, Robert Kudyba wrote: >> >>> On Feb 28, 2017, at 9:40 AM, Michal Hocko wrote: >>> >>> On Tue 28-02-17 09:33:49, Robert Kudyba wrote: > On Feb 28, 2017, at 9:15 AM, Michal Hocko wrote: > and this on

Re: [PATCH] arm: exynos increase CONFIG_CMA_SIZE_MBYTES to 96

2017-02-28 Thread Javier Martinez Canillas
Hello Shuah, The subject line isn't consistent with what's used for exynos_defconfig changes, please use instead: ARM: exynos_defconfig: Increase CONFIG_CMA_SIZE_MBYTES to 96 On 02/27/2017 09:23 PM, Shuah Khan wrote: > Current CMA size of 64 Mbytes is right on the edge of being too small > for s

[git pull] IOMMU Fixes for Linux v4.11-rc1

2017-02-28 Thread Joerg Roedel
Hi Linus, The following changes since commit 86292b33d4b79ee03e2f43ea0381ef85f077c760: Merge branch 'akpm' (patches from Andrew) (2017-02-27 23:09:29 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fix-v4.11-rc0-2 for

Re: net/rds: use-after-free in inet_create

2017-02-28 Thread Dmitry Vyukov
On Tue, Feb 28, 2017 at 5:38 PM, Sowmini Varadhan wrote: > On (02/28/17 17:32), Dmitry Vyukov wrote: >> Not reproducible so far. >> >> rds is compiled into kernel (no modules): >> CONFIG_RDS=y >> CONFIG_RDS_TCP=y > > I see. So if it never gets unloaded, the rds_connections "should" > be around for

Re: rsync: page allocation stalls in kernel 4.9.10 to a VessRAID NAS

2017-02-28 Thread Michal Hocko
On Tue 28-02-17 11:19:33, Robert Kudyba wrote: > > > On Feb 28, 2017, at 10:15 AM, Michal Hocko wrote: > > > > On Tue 28-02-17 09:59:35, Robert Kudyba wrote: > >> > >>> On Feb 28, 2017, at 9:40 AM, Michal Hocko wrote: > >>> > >>> On Tue 28-02-17 09:33:49, Robert Kudyba wrote: > > >

[PATCH 1/2] vfs: implement fchmodat2() syscall

2017-02-28 Thread Greg Kurz
According to the POSIX.1-2008 manual page [1], the fchmodat() function has a flag argument which may be passed the following value: AT_SYMLINK_NOFOLLOW If path names a symbolic link, then the mode of the symbolic link is changed. and the following error may be returned: [EOPNOTSUPP]

[PATCH 2/2] x86: wire up fchmodat2() syscall

2017-02-28 Thread Greg Kurz
Signed-off-by: Greg Kurz --- arch/x86/entry/syscalls/syscall_32.tbl |1 + arch/x86/entry/syscalls/syscall_64.tbl |1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl index 2b3618542544..413529600b8a 100644 --

Re: [PATCH v3 04/25] clocksource: Add Owl timer

2017-02-28 Thread Andreas Färber
Am 28.02.2017 um 17:47 schrieb Daniel Lezcano: > On Tue, Feb 28, 2017 at 07:35:14AM +0100, Andreas Färber wrote: >> The Actions Semi S500 SoC provides four timers, 2Hz0/1 and 32-bit TIMER0/1. >> >> Use TIMER0 as clocksource and TIMER1 as clockevents. >> >> Based on LeMaker linux-actions tree. >> >>

[PATCH v4 0/6] ARM: davinci: vpif capture & display support

2017-02-28 Thread Bartosz Golaszewski
This series adds pdata quirks and other changes required to make vpif work on the da850-evm board. v1 -> v2: - added patch 1/5 - don't bail-out from pdata_quirks_check() after applying a single quirk - changed the comment above the new fixed regulator to make it more descriptive - removed unne

[PATCH v3 6/6] iio: adc: stm32: add support for EXTI trigger

2017-02-28 Thread Fabrice Gasnier
EXTi (external interrupt) signal can be routed internally as trigger source for ADC conversions: STM32F4 ADC can use EXTI11. Retrieve interrupt trigger from DT, so it can be muxed into ADC IP, via extsel. Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/stm32-adc.c | 27 ++

[RFC v2 2/3] kcmp: Add KCMP_EPOLL_TFD mode to compare epoll target files

2017-02-28 Thread Cyrill Gorcunov
With current epoll architecture target files are addressed with file_struct and file descriptor number, where the last is not unique. Moreover files can be transferred from another process via unix socket, added into queue and closed then so we won't find this descriptor in the task fdinfo list. T

Re: [PATCH v5 0/4] New Microsemi PCI Switch Management Driver

2017-02-28 Thread Logan Gunthorpe
> This driver doesn't have anything to do with the PCI core, other than > using the pci_register_driver() interface (just like all other drivers > for PCI-connected devices), so drivers/pci doesn't really feel like > the right place for it. Putting it in drivers/pci leads to the sort > of confusi

Re: [RFC 0/3] fs,epoll: Add ability to call kcmp to find target files

2017-02-28 Thread Cyrill Gorcunov
On Tue, Feb 21, 2017 at 11:54:34PM +0300, Cyrill Gorcunov wrote: > > I think it should be ebough (together with sdev and pos). But will > look more closely tomorrow once I sit implementing criu support :) > (that's why it is early rfc, to gather comments) FWIW, yes, it is enough for primary sorti

Re: [PATCH 0/2] efi: Enhance capsule loader to support signed Quark images

2017-02-28 Thread Andy Shevchenko
On Tue, Feb 28, 2017 at 6:52 PM, Bryan O'Donoghue wrote: > On 28/02/17 15:27, Andy Shevchenko wrote: >> On Tue, Feb 28, 2017 at 5:07 PM, Bryan O'Donoghue >> wrote: >>> On 28/02/17 13:36, Andy Shevchenko wrote: On Tue, Feb 28, 2017 at 3:35 PM, Andy Shevchenko wrote: > On Tue, Feb 28

Re: [PATCH v9 00/10] mux controller abstraction and iio/i2c muxes

2017-02-28 Thread Greg Kroah-Hartman
On Tue, Feb 28, 2017 at 04:17:52PM +0100, Peter Rosin wrote: > Hi! > > The status of this series [1] is that Rob Herring has acked/reviewed all > devicetree changes, so I suppose that's ok. Jonathan Cameron has acked > the additions to the iio subsystem and reviewed the new iio driver. > Wolfram S

Re: [PATCH 0/2] fix for direct-I/O to DAX mappings

2017-02-28 Thread Linus Torvalds
On Sat, Feb 25, 2017 at 9:08 AM, Dan Williams wrote: > > I'm sending this through the -mm tree for a double-check from memory > management folks. It has a build success notification from the kbuild > robot. I'm just checking that this isn't lost - I didn't get it in the latest patch-bomb from And

  1   2   3   4   5   6   7   8   9   >