[tip:x86/urgent] x86/pkeys/selftests: Give better unexpected fault error messages

2018-05-14 Thread tip-bot for Dave Hansen
Commit-ID: 6b0b2016806b2e16a20b62d143383983a34a Gitweb: https://git.kernel.org/tip/6b0b2016806b2e16a20b62d143383983a34a Author: Dave Hansen AuthorDate: Wed, 9 May 2018 10:13:38 -0700 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:14:45 +0200 x86/pkeys/selftests: Give be

[tip:x86/urgent] x86/pkeys/selftests: Avoid printf-in-signal deadlocks

2018-05-14 Thread tip-bot for Dave Hansen
Commit-ID: caf9eb6b4c82fc6cbd03697052ff22d97b0c377b Gitweb: https://git.kernel.org/tip/caf9eb6b4c82fc6cbd03697052ff22d97b0c377b Author: Dave Hansen AuthorDate: Wed, 9 May 2018 10:13:44 -0700 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:14:45 +0200 x86/pkeys/selftests: Avoid p

Re: [PATCH] nvme: fix lockdep warning in nvme_mpath_clear_current_path

2018-05-14 Thread Christoph Hellwig
> extern unsigned int nvme_io_timeout; > #define NVME_IO_TIMEOUT (nvme_io_timeout * HZ) > @@ -454,7 +455,9 @@ static inline void nvme_mpath_clear_current_path(struct > nvme_ns *ns) > { > struct nvme_ns_head *head = ns->head; > > - if (head && ns == srcu_dereference(head->curren

Re: [PATCH 17/18] arm64: convert compat wrappers to C

2018-05-14 Thread Mark Rutland
On Mon, May 14, 2018 at 05:10:22AM -0700, Christoph Hellwig wrote: > > +COMPAT_SYSCALL_DEFINE3(aarch32_statfs64, const char __user *, pathname, > > + compat_size_t, sz, struct compat_statfs64 __user *, buf) > > +{ > > + if (sz == 88) > > + sz = 84; > > + > > + return

Re: [FAIL bisect] Sound card probe error

2018-05-14 Thread Krzysztof Kozlowski
On Mon, May 14, 2018 at 2:30 PM, Ulf Hansson wrote: > On 14 May 2018 at 14:22, Sylwester Nawrocki wrote: >> Hi, >> >> On 05/14/2018 12:17 PM, Krzysztof Kozlowski wrote: >> >>> Bisected to: >>> 8c123c14bbba4add148536b6d47a9226deda2f7a is the first bad commit >>> commit 8c123c14bbba4add148536b6d47a

[tip:x86/urgent] x86/pkeys/selftests: Allow faults on unknown keys

2018-05-14 Thread tip-bot for Dave Hansen
Commit-ID: 7e7fd67ca39335a49619729821efb7cbdd674eb0 Gitweb: https://git.kernel.org/tip/7e7fd67ca39335a49619729821efb7cbdd674eb0 Author: Dave Hansen AuthorDate: Wed, 9 May 2018 10:13:46 -0700 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:14:45 +0200 x86/pkeys/selftests: Allow f

[tip:x86/urgent] x86/pkeys/selftests: Add PROT_EXEC test

2018-05-14 Thread tip-bot for Dave Hansen
Commit-ID: 6af17cf89e99b64cf1f660bf848755442ab2f047 Gitweb: https://git.kernel.org/tip/6af17cf89e99b64cf1f660bf848755442ab2f047 Author: Dave Hansen AuthorDate: Wed, 9 May 2018 10:13:48 -0700 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:14:45 +0200 x86/pkeys/selftests: Add PRO

[tip:x86/urgent] x86/pkeys/selftests: Factor out "instruction page"

2018-05-14 Thread tip-bot for Dave Hansen
Commit-ID: 3fcd2b2d928904cbf30b01e2c5e4f1dd2f9ab262 Gitweb: https://git.kernel.org/tip/3fcd2b2d928904cbf30b01e2c5e4f1dd2f9ab262 Author: Dave Hansen AuthorDate: Wed, 9 May 2018 10:13:47 -0700 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:14:45 +0200 x86/pkeys/selftests: Factor

Re: [FAIL bisect] Sound card probe error

2018-05-14 Thread Krzysztof Kozlowski
On Mon, May 14, 2018 at 2:40 PM, Sylwester Nawrocki wrote: > On 05/14/2018 02:29 PM, Krzysztof Kozlowski wrote: >> Ah, I missed these messages because I was looking at err dmesg level >> (and for some reason these are warn). Anyway do you have any thoughts >> how is it connected with missing Odroi

[tip:x86/urgent] x86/pkeys/selftests: Fix pointer math

2018-05-14 Thread tip-bot for Dave Hansen
Commit-ID: 3d64f4ed15c3c53dba4c514bf59c334464dee373 Gitweb: https://git.kernel.org/tip/3d64f4ed15c3c53dba4c514bf59c334464dee373 Author: Dave Hansen AuthorDate: Wed, 9 May 2018 10:13:52 -0700 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:14:45 +0200 x86/pkeys/selftests: Fix poi

[tip:x86/urgent] x86/pkeys: Override pkey when moving away from PROT_EXEC

2018-05-14 Thread tip-bot for Dave Hansen
Commit-ID: 0a0b152083cfc44ec1bb599b57b7aab41327f998 Gitweb: https://git.kernel.org/tip/0a0b152083cfc44ec1bb599b57b7aab41327f998 Author: Dave Hansen AuthorDate: Wed, 9 May 2018 10:13:51 -0700 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:14:45 +0200 x86/pkeys: Override pkey whe

Re: [RFC PATCH] driver core: make deferring probe forever optional

2018-05-14 Thread Michal Simek
On 14.5.2018 09:37, Alexander Graf wrote: > > On 05/14/2018 12:01 AM, Linus Walleij wrote: >> On Wed, May 9, 2018 at 11:44 AM, Alexander Graf wrote: >>> On 05/07/2018 08:31 PM, Bjorn Andersson wrote: Can you please name platform that has enough support for Alexander to care about backwa

[tip:x86/urgent] x86/pkeys/selftests: Add a test for pkey 0

2018-05-14 Thread tip-bot for Dave Hansen
Commit-ID: 3488a600d90bcaf061b104dbcfbdc8d99b398312 Gitweb: https://git.kernel.org/tip/3488a600d90bcaf061b104dbcfbdc8d99b398312 Author: Dave Hansen AuthorDate: Wed, 9 May 2018 10:13:56 -0700 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:14:45 +0200 x86/pkeys/selftests: Add a t

[tip:x86/urgent] x86/pkeys/selftests: Save off 'prot' for allocations

2018-05-14 Thread tip-bot for Dave Hansen
Commit-ID: acb25d761d6f2f64e785ccefc71e54f244f1eda4 Gitweb: https://git.kernel.org/tip/acb25d761d6f2f64e785ccefc71e54f244f1eda4 Author: Dave Hansen AuthorDate: Wed, 9 May 2018 10:13:54 -0700 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:14:45 +0200 x86/pkeys/selftests: Save of

Re: [RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-05-14 Thread Alexandre Torgue
On 05/05/2018 04:45 AM, Stephen Boyd wrote: Quoting Alexandre Torgue (2018-05-04 00:54:16) Stephen On 05/03/2018 08:40 AM, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez Clock driver is mandatory if the machine is selected. Then don't use 'bool' and 'depends on' commands, but 'def

[tip:x86/urgent] x86/pkeys/selftests: Fix pkey exhaustion test off-by-one

2018-05-14 Thread tip-bot for Dave Hansen
Commit-ID: f50b4878329ab61d8e05796f655adeb6f5fb57c6 Gitweb: https://git.kernel.org/tip/f50b4878329ab61d8e05796f655adeb6f5fb57c6 Author: Dave Hansen AuthorDate: Wed, 9 May 2018 10:13:50 -0700 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:14:45 +0200 x86/pkeys/selftests: Fix pke

[tip:x86/urgent] x86/pkeys: Do not special case protection key 0

2018-05-14 Thread tip-bot for Dave Hansen
Commit-ID: 2fa9d1cfaf0e02f8abef0757002bff12dfcfa4e6 Gitweb: https://git.kernel.org/tip/2fa9d1cfaf0e02f8abef0757002bff12dfcfa4e6 Author: Dave Hansen AuthorDate: Wed, 9 May 2018 10:13:58 -0700 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:14:45 +0200 x86/pkeys: Do not special ca

Re: [PATCH v1] i2c: tegra: Remove suspend-resume

2018-05-14 Thread Thierry Reding
On Mon, May 14, 2018 at 05:51:58PM +0530, Laxman Dewangan wrote: > > > On Monday 14 May 2018 05:29 PM, Thierry Reding wrote: > > * PGP Signed by an unknown key > > > > On Mon, May 14, 2018 at 12:13:47AM +0300, Dmitry Osipenko wrote: > > > Nothing prevents I2C clients to access I2C while Tegra's

Re: [PATCH] mtd: nand: Fix return type of __DIVIDE() when called with 32-bit

2018-05-14 Thread Geert Uytterhoeven
Hi Boris, On Mon, May 14, 2018 at 2:13 PM, Boris Brezillon wrote: > On Mon, 14 May 2018 14:00:19 +0200 > Geert Uytterhoeven wrote: >> On Mon, May 14, 2018 at 1:46 PM, Boris Brezillon >> wrote: >> > On Mon, 14 May 2018 13:32:30 +0200 >> > Geert Uytterhoeven wrote: >> >> On Mon, May 14, 2018 at

Re: [PATCH v2] device property: Get rid of union aliasing

2018-05-14 Thread Andy Shevchenko
On Mon, 2018-05-14 at 14:18 +0200, Lukas Wunner wrote: > On Tue, May 08, 2018 at 04:15:47PM +0300, Andy Shevchenko wrote: > > --- a/drivers/firmware/efi/apple-properties.c > > +++ b/drivers/firmware/efi/apple-properties.c > > @@ -13,6 +13,9 @@ > > * > > * You should have received a copy of the

Re: [PATCH v4 5/6] bus: fsl-mc: supoprt dma configure for devices on fsl-mc bus

2018-05-14 Thread Bjorn Helgaas
When you add the changleog, please also fix the subject typo: - bus: fsl-mc: supoprt dma configure for devices on fsl-mc bus ^^^ + bus: fsl-mc: support dma configure for devices on fsl-mc bus On Mon, Apr 30, 2018 at 11:57:20AM +0530, Nipun Gupta wrote: > Signed-off-by: Nipun Gu

[tip:irq/core] softirq/sparc: Convert local_softirq_pending() to use per-cpu op

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 49892dbc2cb349f78eccfc1f55eac0ec718f44bb Gitweb: https://git.kernel.org/tip/49892dbc2cb349f78eccfc1f55eac0ec718f44bb Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:17 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:25:26 +0200 softirq/sparc: Conve

[tip:irq/core] softirq/ia64: Convert local_softirq_pending() to per-cpu ops

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 2e5c4632dcc0365a97c36817a368507e6a4c89b2 Gitweb: https://git.kernel.org/tip/2e5c4632dcc0365a97c36817a368507e6a4c89b2 Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:16 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:25:26 +0200 softirq/ia64: Conver

[tip:irq/core] softirq/core: Turn default irq_cpustat_t to standard per-cpu

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 0f6f47bacba514f4e9f61de0d85940dfb41498cc Gitweb: https://git.kernel.org/tip/0f6f47bacba514f4e9f61de0d85940dfb41498cc Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:19 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:25:27 +0200 softirq/core: Turn d

Re: [PATCH v2] clocksource/drivers/mips-gic-timer: Add pr_fmt and reword pr_* messages

2018-05-14 Thread Daniel Lezcano
On Thu, Mar 29, 2018 at 10:49:03AM +0100, Matt Redfearn wrote: > Several messages from the MIPS GIC driver include the text "GIC", "GIC > timer", etc, but the format is not standard. Add a pr_fmt of > "mips-gic-timer: " and reword the messages now that they will be > prefixed with the driver name.

[tip:irq/core] softirq/core: Consolidate default local_softirq_pending() implementations

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 0fd7d86285290ccebc0dc6eb536b6b043dd6a1e4 Gitweb: https://git.kernel.org/tip/0fd7d86285290ccebc0dc6eb536b6b043dd6a1e4 Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:20 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:25:27 +0200 softirq/core: Consol

Re: [Xen-devel] [PATCH v2 1/2] xen/PVH: Set up GS segment for stack canary

2018-05-14 Thread Jan Beulich
>>> On 09.05.18 at 22:33, wrote: > @@ -64,6 +67,17 @@ ENTRY(pvh_start_xen) > mov %eax,%es > mov %eax,%ss > > + /* Set base address in stack canary descriptor. */ > + movl _pa(gdt_start),%eax > + movl $_pa(canary),%ecx > + movw %cx, (PVH_GDT_ENTRY_CANARY * 8) + 0(%eax)

[tip:irq/core] softirq/ia64: Switch to generic local_softirq_pending() implementation

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: a58bdf25b98bf765b4b732f2c56097ddcb9f2d5a Gitweb: https://git.kernel.org/tip/a58bdf25b98bf765b4b732f2c56097ddcb9f2d5a Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:21 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:25:27 +0200 softirq/ia64: Switch

[tip:irq/core] softirq/parisc: Switch to generic local_softirq_pending() implementation

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 03979f8a72e6576248e7b9e3abb72a760312dd7d Gitweb: https://git.kernel.org/tip/03979f8a72e6576248e7b9e3abb72a760312dd7d Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:22 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:25:27 +0200 softirq/parisc: Swit

Re: [FAIL bisect] Sound card probe error

2018-05-14 Thread Krzysztof Kozlowski
On Mon, May 14, 2018 at 2:45 PM, Krzysztof Kozlowski wrote: > On Mon, May 14, 2018 at 2:40 PM, Sylwester Nawrocki > wrote: >> On 05/14/2018 02:29 PM, Krzysztof Kozlowski wrote: >>> Ah, I missed these messages because I was looking at err dmesg level >>> (and for some reason these are warn). Anywa

Re: [PATCH v1] i2c: tegra: Remove suspend-resume

2018-05-14 Thread Dmitry Osipenko
On 14.05.2018 15:21, Laxman Dewangan wrote: > > > On Monday 14 May 2018 05:29 PM, Thierry Reding wrote: >> * PGP Signed by an unknown key >> >> On Mon, May 14, 2018 at 12:13:47AM +0300, Dmitry Osipenko wrote: >>> Nothing prevents I2C clients to access I2C while Tegra's driver is being >>> suspend

[tip:irq/core] softirq/powerpc: Switch to generic local_softirq_pending() implementation

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 1321a5de1ecb0d2981394ff2111c75c4dcb0c237 Gitweb: https://git.kernel.org/tip/1321a5de1ecb0d2981394ff2111c75c4dcb0c237 Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:23 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:25:28 +0200 softirq/powerpc: Swi

[tip:irq/core] softirq/sparc: Switch to generic local_softirq_pending() implementation

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 424f7d3e3b950c88a4127b7dfa78ea54e287413e Gitweb: https://git.kernel.org/tip/424f7d3e3b950c88a4127b7dfa78ea54e287413e Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:24 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:25:28 +0200 softirq/sparc: Switc

[tip:irq/core] softirq/x86: Switch to generic local_softirq_pending() implementation

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 1a8bc8f8d6a7980a75edbd29578fbce09359 Gitweb: https://git.kernel.org/tip/1a8bc8f8d6a7980a75edbd29578fbce09359 Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:25 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:25:28 +0200 softirq/x86: Switch

[tip:irq/core] softirq/s390: Move default mutators of overwritten softirq mask to s390

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 48bda43eabb8d086204f543cf8bbad696b8c6391 Gitweb: https://git.kernel.org/tip/48bda43eabb8d086204f543cf8bbad696b8c6391 Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:26 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:25:28 +0200 softirq/s390: Move d

[tip:x86/asm] x86/asm/64: Micro-optimize __clear_user() - Use immediate constants

2018-05-14 Thread tip-bot for Alexey Dobriyan
Commit-ID: 1153933703d927b3d4874c0bc801de32b1b58be9 Gitweb: https://git.kernel.org/tip/1153933703d927b3d4874c0bc801de32b1b58be9 Author: Alexey Dobriyan AuthorDate: Tue, 8 May 2018 00:39:37 +0300 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:38:51 +0200 x86/asm/64: Micro-optimi

Re: [PATCH 08/18] arm64: convert raw syscall invocation to C

2018-05-14 Thread Dave Martin
On Mon, May 14, 2018 at 12:41:10PM +0100, Mark Rutland wrote: > On Mon, May 14, 2018 at 12:07:18PM +0100, Dave Martin wrote: > > On Mon, May 14, 2018 at 10:46:30AM +0100, Mark Rutland wrote: > > > As a first step towards invoking syscalls with a pt_regs argument, > > > convert the raw syscall invoc

[tip:x86/pti] x86/asm: Pad assembly functions with INT3 instructions

2018-05-14 Thread tip-bot for Alexey Dobriyan
Commit-ID: 51bad67ffbce0aaa44579f84ef5d05597054ec6a Gitweb: https://git.kernel.org/tip/51bad67ffbce0aaa44579f84ef5d05597054ec6a Author: Alexey Dobriyan AuthorDate: Tue, 8 May 2018 00:37:55 +0300 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:43:03 +0200 x86/asm: Pad assembly fu

[tip:irq/core] softirq/sh: Use nmi_count() on /proc/interrupts print out

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 30d723340c30ff9afe200ef5ecbbdc77e6d1f816 Gitweb: https://git.kernel.org/tip/30d723340c30ff9afe200ef5ecbbdc77e6d1f816 Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:18 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 11:25:27 +0200 softirq/sh: Use nmi_

Re: [PATCH -resend 01/27] linkage: new macros for assembler symbols

2018-05-14 Thread Jiri Slaby
On 05/14/2018, 05:04 AM, Randy Dunlap wrote: > HTH. Definitely, thanks for proof-reading. -- js suse labs

Re: [PATCH V2] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-05-14 Thread Thierry Reding
On Sat, May 12, 2018 at 11:17:08PM +0530, sumeet p wrote: > Correct the typecast with const to struct thermal_cooling_device_ops. > It is the last argument to the function thermal_of_cooling_device_register > and this argument is of type const. So, declare this structure > thermal_cooling_device_op

Re: [PATCH] nvme: fix lockdep warning in nvme_mpath_clear_current_path

2018-05-14 Thread Johannes Thumshirn
On Mon, May 14, 2018 at 05:42:30AM -0700, Christoph Hellwig wrote: > > extern unsigned int nvme_io_timeout; > > #define NVME_IO_TIMEOUT(nvme_io_timeout * HZ) > > @@ -454,7 +455,9 @@ static inline void nvme_mpath_clear_current_path(struct > > nvme_ns *ns) > > { > > struct nvme_ns_head *h

Re: [PATCH v2 0/7] Introduce the for_each_set_port_word macro

2018-05-14 Thread William Breathitt Gray
On Sun, May 13, 2018 at 06:11:45PM +0300, Andy Shevchenko wrote: >On Tue, May 8, 2018 at 4:26 PM, William Breathitt Gray > wrote: > >> While adding GPIO get_multiple/set_multiple callback support for various >> drivers, I noticed a pattern of looping manifesting that would be useful >> standardized

Re: [PATCH 3/6] firmware: differentiate between signed regulatory.db and other firmware

2018-05-14 Thread Mimi Zohar
On Fri, 2018-05-11 at 21:52 +, Luis R. Rodriguez wrote: > On Fri, May 11, 2018 at 01:00:26AM -0400, Mimi Zohar wrote: > > On Thu, 2018-05-10 at 23:26 +, Luis R. Rodriguez wrote: > > > On Wed, May 09, 2018 at 10:00:58PM -0400, Mimi Zohar wrote: > > > > On Wed, 2018-05-09 at 23:48 +, Luis

Re: commit bd9240a18edfbfa72e957fc2ba831cf1f13ea073 seems to break with intel-ucode 20180425

2018-05-14 Thread Peter Zijlstra
On Mon, May 14, 2018 at 02:15:44PM +0200, Gabriel C wrote: > http://ftp.frugalware.org/pub/other/people/crazy/ucode/cpuinfo-ucode-20180312 > http://ftp.frugalware.org/pub/other/people/crazy/ucode/cpuinfo-ucode-20180425 That's 0xc2 and 0x9e respectively, for the microcode revision. For model 78 (I

Re: [PATCH] gpu: drm: tegra: Adding new typedef vm_fault_t

2018-05-14 Thread Thierry Reding
On Tue, Apr 17, 2018 at 07:17:55PM +0530, Souptick Joarder wrote: > Use new return type vm_fault_t for fault handler. For > now, this is just documenting that the function returns > a VM_FAULT value rather than an errno. Once all instances > are converted, vm_fault_t will become a distinct type. >

Re: [PATCH v1] i2c: tegra: Remove suspend-resume

2018-05-14 Thread Dmitry Osipenko
On 14.05.2018 15:18, Wolfram Sang wrote: > On Mon, May 14, 2018 at 01:59:33PM +0200, Thierry Reding wrote: >> On Mon, May 14, 2018 at 12:13:47AM +0300, Dmitry Osipenko wrote: >>> Nothing prevents I2C clients to access I2C while Tegra's driver is being >>> suspended, this results in -EBUSY error ret

Re: [PATCH RFC 07/19] perf tools: Workaround missing maps for x86_64 KPTI entry trampolines

2018-05-14 Thread Adrian Hunter
On 11/05/18 17:45, Arnaldo Carvalho de Melo wrote: > Em Fri, May 11, 2018 at 02:18:01PM +0300, Adrian Hunter escreveu: >> On 10/05/18 23:47, Arnaldo Carvalho de Melo wrote: >>> Em Thu, May 10, 2018 at 05:19:22PM -0300, Arnaldo Carvalho de Melo escreveu: Em Thu, May 10, 2018 at 05:15:42PM -0300

Re: [PATCH v2 1/7] bitops: Introduce the for_each_set_port_word macro

2018-05-14 Thread William Breathitt Gray
On Sun, May 13, 2018 at 06:06:42PM +0300, Andy Shevchenko wrote: >On Tue, May 8, 2018 at 4:26 PM, William Breathitt Gray > wrote: >> This macro iterates for each group of bits (port word) with set bits, >> within a bitmap memory region. For each iteration, "port_word" is set to >> the found port wo

Re: linux-next: build warning after merge of the imx-mxs tree

2018-05-14 Thread Rob Herring
On Sun, May 13, 2018 at 7:56 PM, Shawn Guo wrote: > Hi Stephen, > > On Mon, May 14, 2018 at 09:21:58AM +1000, Stephen Rothwell wrote: >> Hi Shawn, >> >> After merging the imx-mxs tree, today's linux-next build (arm >> multi_v7_defconfig) produced this warning: >> >> arch/arm/boot/dts/imx6dl-arista

[PATCH v2] dma-debug: Check scatterlist segments

2018-05-14 Thread Robin Murphy
Drivers/subsystems creating scatterlists for DMA should be taking care to respect the scatter-gather limitations of the appropriate device, as described by dma_parms. A DMA API implementation cannot feasibly split a scatterlist into *more* entries than originally passed, so it is not well defined w

Re: [RFC 0/6] perf probe: Attempt to improve C++ probing

2018-05-14 Thread Masami Hiramatsu
Hi Holger, Thank you for your great work! On Mon, 14 May 2018 12:19:34 +0800 Holger Freyther wrote: > From: Holger Hans Peter Freyther > > Currently perf probe -x app --funcs will list and demangle C++ functions > but the other probe actions can't work with them. When asking probe to not > de

Re: [PATCH 02/18] arm64: move SCTLR_EL{1,2} assertions to

2018-05-14 Thread Mark Rutland
On Mon, May 14, 2018 at 01:41:23PM +0100, Dave Martin wrote: > On Mon, May 14, 2018 at 01:06:10PM +0100, Mark Rutland wrote: > > On Mon, May 14, 2018 at 12:56:09PM +0100, Robin Murphy wrote: > > > On 14/05/18 12:20, Dave Martin wrote: > > > > How about the following? > > > > > > > > /* Watch out f

Re: [PATCH net-next v8 0/3] kernel: add support to collect hardware logs in crash recovery kernel

2018-05-14 Thread Eric W. Biederman
David Miller writes: > I'm deferring this patch series. > > If we can't get a reasonable review from an interested party in 10+ > days, that is not reasonable. > > Resubmit this once someone reviews it properly. David I am out on vacation this week and last (the reason for the delay). The last

Re: Delivery Status Notification (Failure)

2018-05-14 Thread Lucas Stach
Am Montag, den 14.05.2018, 17:42 +0530 schrieb Pintu Kumar: > Hi, > > Is there any work around possible to set IRQ affinity for some GPIO > interrupt ? > How to avoid CPU0 to receive the current GPIO interrupt ? > How do we assign GPIO interrupts to any CPU other than CPU0 ? > Is it possible to is

[PATCH v6 00/14] CPU scaling support for msm8996

2018-05-14 Thread Ilia Lin
[v6] * Addressed comments from Viresh about: ** Comments style ** Kconfig bool instead of tristate ** DT and documentation style ** Resourses deallocation on an error ** Typos [v5] * Rebased * Addressed comments from Bjorn about SPDX style, functions and parameters naming * Addressed c

[PATCH v6 01/14] soc: qcom: Separate kryo l2 accessors from PMU driver

2018-05-14 Thread Ilia Lin
The driver provides kernel level API for other drivers to access the MSM8996 L2 cache registers. Separating the L2 access code from the PMU driver and making it public to allow other drivers use it. The accesses must be separated with a single spinlock, maintained in this driver. Signed-off-by: Il

[PATCH v6 06/14] clk: qcom: cpu-8996: Add support to switch below 600Mhz

2018-05-14 Thread Ilia Lin
From: Rajendra Nayak The CPU clock controller's primary PLL operates on a single VCO range, between 600MHz and 3GHz. However the CPUs do support OPPs with frequencies between 300MHz and 600MHz. In order to support running the CPUs at those frequencies we end up having to lock the PLL at twice the

[PATCH v6 05/14] clk: qcom: cpu-8996: Add support to switch to alternate PLL

2018-05-14 Thread Ilia Lin
From: Rajendra Nayak Each of the CPU clusters on msm8996 are powered via a primary PLL and a secondary PLL. The primary PLL is what drives the CPU clk, except for times when we are reprogramming the PLL itself, when we temporarily switch to an alternate PLL. Use clock rate change notifiers to sup

[PATCH v6 03/14] clk: qcom: Add CPU clock driver for msm8996

2018-05-14 Thread Ilia Lin
Each of the CPU clusters (Power and Perf) on msm8996 are clocked via 2 PLLs, a primary and alternate. There are also 2 Mux'es, a primary and secondary all connected together as shown below +---+ XO | | +-->0

[PATCH v6 09/14] regulator: qcom_spmi: Add support for SAW

2018-05-14 Thread Ilia Lin
Add support for SAW controlled regulators. The regulators defined as SAW controlled in the device tree will be controlled through special CPU registers instead of direct SPMI accesses. This is required especially for CPU supply regulators to synchronize with clock scaling and for Automatic Voltage

[PATCH v6 07/14] clk: qcom: Add ACD path to CPU clock driver for msm8996

2018-05-14 Thread Ilia Lin
The PMUX for each duplex allows for selection of ACD clock source. The DVM (Dynamic Variation Monitor) will flag an error when a voltage droop event is detected. This flagged error enables ACD to provide a div-by-2 clock, sourced from the primary PLL. The duplex will be provided the divided clock u

[PATCH v6 11/14] dt: qcom: Add SAW regulator for 8x96 CPUs

2018-05-14 Thread Ilia Lin
1. Add syscon node for the SAW CPU registers 2. Add SAW regulators gang definition for s8-s11 3. Add voltages to the OPP tables 4. Add the s11 SAW regulator as CPU regulator Signed-off-by: Ilia Lin --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 75 +++ 1 file changed

[PATCH v6 13/14] dt-bindings: cpufreq: Document operating-points-v2-kryo-cpu

2018-05-14 Thread Ilia Lin
In Certain Qualcomm Technologies, Inc. SoCs like apq8096 and msm8996 that have KRYO processors, the CPU ferequencies subset and voltage value of each OPP varies based on the silicon variant in use. Qualcomm Technologies, Inc. Process Voltage Scaling Tables defines the voltage and frequency value ba

[PATCH v6 14/14] dt: qcom: Add qcom-cpufreq-kryo driver configuration

2018-05-14 Thread Ilia Lin
Signed-off-by: Ilia Lin --- arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 2 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 310 +++- 2 files changed, 309 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts b/arch/arm64/boot/dts/qco

Re: [PATCH v5 7/7] proc: add option to mount only a pids subset

2018-05-14 Thread Eric W. Biederman
Alexey Gladkov writes: > On Fri, May 11, 2018 at 03:58:39PM +0200, Jann Horn wrote: >> On Fri, May 11, 2018 at 11:37 AM, Alexey Gladkov >> wrote: >> > This allows to hide all files and directories in the procfs that are not >> > related to tasks. >> >> /proc/$pid/net and /proc/$pid/task/$tid/ne

[PATCH v6 12/14] cpufreq: Add Kryo CPU scaling driver

2018-05-14 Thread Ilia Lin
In Certain QCOM SoCs like apq8096 and msm8996 that have KRYO processors, the CPU ferequencies subset and voltage value of each OPP varies based on the silicon variant in use. Qualcomm Process Voltage Scaling Tables defines the voltage and frequency value based on the msm-id in SMEM and speedbin blo

[PATCH v6 10/14] dt-bindings: qcom_spmi: Add support for SAW documentation

2018-05-14 Thread Ilia Lin
Add support for SAW controlled regulators. The regulators defined as SAW controlled in the device tree will be controlled through special CPU registers instead of direct SPMI accesses. This is required especially for CPU supply regulators to synchronize with clock scaling and for Automatic Voltage

[PATCH v2 00/10] crypto: inside-secure - AEAD support

2018-05-14 Thread Antoine Tenart
This series brings AEAD algorithms to the Inside Secure SafeXcel driver. The first 7 commits rework the driver to allow the future AEAD addition, and then 3 commits add AEAD functions and 3 algorithms. This is based on top of v4.17-rc5. Thanks! Antoine Since v1: - Reworked the driver to remove

Re: Fixing Linux getrandom() in stable

2018-05-14 Thread Sam Hartman
> "Thorsten" == Thorsten Glaser writes: Thorsten> Adrian Bunk dixit: >> As an example, what happens if I debootstrap and deploy the >> resulting filesytem to a large number of identical embedded >> systems without entropy sources? Thorsten> Just get into a habit of not do

[PATCH v2 10/10] crypto: inside-secure - authenc(hmac(sha1),cbc(aes)) support

2018-05-14 Thread Antoine Tenart
This patch adds the authenc(hmac(sha1),cbc(aes)) AEAD algorithm support to the Inside Secure SafeXcel driver. Signed-off-by: Antoine Tenart --- drivers/crypto/inside-secure/safexcel.c | 1 + drivers/crypto/inside-secure/safexcel.h | 1 + .../crypto/inside-secure/safexcel_cipher.c

[PATCH v2 04/10] crypto: inside-secure - make the context control size dynamic

2018-05-14 Thread Antoine Tenart
This patch makes the context control size computation dynamic, not to rely on hardcoded values. This is better for the future, and will help adding the AEAD support. Signed-off-by: Antoine Tenart --- drivers/crypto/inside-secure/safexcel_cipher.c | 5 ++--- 1 file changed, 2 insertions(+), 3 del

[PATCH v2 01/10] crypto: inside-secure - remove VLAs

2018-05-14 Thread Antoine Tenart
This patch removes the use of VLAs to allocate requests on the stack, by removing both SKCIPHER_REQUEST_ON_STACK and AHASH_REQUEST_ON_STACK. As we still need to allocate requests on the stack to ease the creation of invalidation requests a new, non-VLA, definition is used: EIP197_REQUEST_ON_STACK.

[PATCH v2 07/10] crypto: inside-secure - improve error reporting

2018-05-14 Thread Antoine Tenart
This patch improves the error reporting from the Inside Secure driver to the upper layers and crypto consumers. All errors reported by the engine aren't fatal, and some may be genuine. Signed-off-by: Antoine Tenart --- drivers/crypto/inside-secure/safexcel.c | 21 +++ drive

[PATCH v2 08/10] crypto: inside-secure - authenc(hmac(sha256),cbc(aes)) support

2018-05-14 Thread Antoine Tenart
This patch adds support for the first AEAD algorithm in the Inside Secure SafeXcel driver, authenc(hmac(sha256),cbc(aes)). As this is the first AEAD algorithm added to this driver, common AEAD functions are added as well. Signed-off-by: Antoine Tenart --- drivers/crypto/Kconfig

[PATCH v2 09/10] crypto: inside-secure - authenc(hmac(sha224),cbc(aes)) support

2018-05-14 Thread Antoine Tenart
This patch adds the authenc(hmac(sha224),cbc(aes)) AEAD algorithm support to the Inside Secure SafeXcel driver. Signed-off-by: Antoine Tenart --- drivers/crypto/inside-secure/safexcel.c | 1 + drivers/crypto/inside-secure/safexcel.h | 1 + .../crypto/inside-secure/safexcel_cipher.c

[PATCH v2 03/10] crypto: inside-secure - rework the alg type settings in the context

2018-05-14 Thread Antoine Tenart
This patches reworks the way the algorithm type is set in the context, by using the fact that the decryption algorithms are just a combination of the algorithm encryption type and CONTEXT_CONTROL_TYPE_NULL_IN. This will help having simpler code when adding the AEAD support, to avoid ending up with

[PATCH v2 06/10] crypto: inside-secure - fix the hash then encrypt/decrypt types

2018-05-14 Thread Antoine Tenart
This commit fixes the CONTEXT_CONTROL_TYPE_HASH_ENCRYPT_OUT and CONTEXT_CONTROL_TYPE_HASH_DECRYPT_OUT types by assigning the right value, and by renaming CONTEXT_CONTROL_TYPE_HASH_DECRYPT_OUT to CONTEXT_CONTROL_TYPE_HASH_DECRYPT_IN. This is not submitted as a fix for older kernel versions as these

[PATCH v2 05/10] crypto: inside-secure - make the key and context size computation dynamic

2018-05-14 Thread Antoine Tenart
This patches makes the key and context size computation dynamic when using memzero_explicit() on these two arrays. This is safer, cleaner and will help future modifications of the driver when these two parameters sizes will changes (the context size will be bigger when using AEAD algorithms). Sign

[PATCH v2 02/10] crypto: inside-secure - rework cipher functions for future AEAD support

2018-05-14 Thread Antoine Tenart
This patch reworks the Inside Secure cipher functions, to remove all skcipher specific information and structure from all functions generic enough to be shared between skcipher and aead algorithms. This is a cosmetic only patch. Signed-off-by: Antoine Tenart --- .../crypto/inside-secure/safexce

Re: [PATCH 3/7] staging: ks7010: Remove unnecessary limit checks

2018-05-14 Thread Dan Carpenter
On Sun, May 06, 2018 at 03:03:00PM -0700, Nathan Chancellor wrote: > uwrq is an unsigned 32-bit integer, it cannot be less than zero. > > Signed-off-by: Nathan Chancellor > --- > drivers/staging/ks7010/ks_wlan_net.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/

[PATCH v6 08/14] dt: qcom: Add opp and thermal to the msm8996

2018-05-14 Thread Ilia Lin
Signed-off-by: Ilia Lin --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 269 -- 1 file changed, 260 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 37b7152c..e6cf290 100644 --- a/arch/arm6

Re: [PATCH] memstick: mspro_block: fix unused variable warning

2018-05-14 Thread kbuild test robot
-ci/linux/commits/Anders-Roxell/memstick-mspro_block-fix-unused-variable-warning/20180514-185634 config: x86_64-randconfig-x017-201819 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All

Re: [PATCH] memstick: mspro_block: fix unused variable warning

2018-05-14 Thread kbuild test robot
/commits/Anders-Roxell/memstick-mspro_block-fix-unused-variable-warning/20180514-185634 config: x86_64-randconfig-x001-201819 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new

[PATCH v6 04/14] clk: qcom: Add DT bindings for CPU clock driver for msm8996

2018-05-14 Thread Ilia Lin
Each of the CPU clusters (Power and Perf) on msm8996 are clocked via 2 PLLs, a primary and alternate. There are also 2 Mux'es, a primary and secondary all connected together as shown below +---+ XO | | +-->0

[PATCH v6 02/14] clk: qcom: Make clk_alpha_pll_configure available to modules

2018-05-14 Thread Ilia Lin
From: Rajendra Nayak Allow clk_alpha_pll_configure to be called from loadable kernel modules. Signed-off-by: Rajendra Nayak Signed-off-by: Ilia Lin --- drivers/clk/qcom/clk-alpha-pll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/clk-alpha-pll.c b/drivers/clk/qcom/clk-

[RFC] mm, THP: Map read-only text segments using large THP pages

2018-05-14 Thread William Kucharski
One of the downsides of THP as currently implemented is that it only supports large page mappings for anonymous pages. I embarked upon this prototype on the theory that it would be advantageous to be able to map large ranges of read-only text pages using THP as well. The idea is that the kernel

Re: [PATCH 00/12] introduce support for early platform drivers

2018-05-14 Thread Rob Herring
On Mon, May 14, 2018 at 6:38 AM, Bartosz Golaszewski wrote: > 2018-05-11 22:13 GMT+02:00 Rob Herring : >> On Fri, May 11, 2018 at 11:20 AM, Bartosz Golaszewski wrote: >>> This series is a follow-up to the RFC[1] posted a couple days ago. >>> >>> NOTE: this series applies on top of my recent patch

Re: [tip/core/rcu,16/21] rcu: Add funnel locking to rcu_start_this_gp()

2018-05-14 Thread Paul E. McKenney
On Sun, May 13, 2018 at 10:00:09PM -0700, Joel Fernandes wrote: > On Sun, May 13, 2018 at 07:22:06PM -0700, Paul E. McKenney wrote: > [..] > > > > > > > If you don't mind going through the if conditions in the funnel > > > > > > > locking loop > > > > > > > with me, it would be quite helpful so th

Re: Is read barrier missed in kfifo?

2018-05-14 Thread Paul E. McKenney
On Mon, May 14, 2018 at 08:57:55AM +0200, Peter Zijlstra wrote: > On Fri, May 11, 2018 at 09:20:53AM -0700, Paul E. McKenney wrote: > > On Fri, May 11, 2018 at 10:32:42AM +0200, Peter Zijlstra wrote: > > > On Fri, May 11, 2018 at 03:25:18PM +0800, Xiao Guangrong wrote: > > > > > > > > Hi, > > > >

[tip:x86/pti 14/14] arch/x86/kernel/ftrace_64.o: warning: objtool: .entry.text+0x152: unreachable instruction

2018-05-14 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/pti head: 51bad67ffbce0aaa44579f84ef5d05597054ec6a commit: 51bad67ffbce0aaa44579f84ef5d05597054ec6a [14/14] x86/asm: Pad assembly functions with INT3 instructions config: x86_64-randconfig-x016-201819 (attached as .config) c

Re: [PATCH] nvme: fix lockdep warning in nvme_mpath_clear_current_path

2018-05-14 Thread Paul E. McKenney
On Mon, May 14, 2018 at 05:42:30AM -0700, Christoph Hellwig wrote: > > extern unsigned int nvme_io_timeout; > > #define NVME_IO_TIMEOUT(nvme_io_timeout * HZ) > > @@ -454,7 +455,9 @@ static inline void nvme_mpath_clear_current_path(struct > > nvme_ns *ns) > > { > > struct nvme_ns_head *h

Re: [PATCH 2/6] staging: android: Clean up license identifiers

2018-05-14 Thread Dan Carpenter
On Sun, May 06, 2018 at 06:13:24PM -0700, Nathan Chancellor wrote: > Add the identifiers when missing and fix the ones already present > according to checkpatch.pl. > > Signed-off-by: Nathan Chancellor > --- > drivers/staging/android/ashmem.h| 6 +- > drivers/staging/android/uapi/as

Re: [PATCH] ARM: dts: at91-sama5d2_xplained: Use IRQ_TYPE specifier

2018-05-14 Thread Alexandre Belloni
On 13/05/2018 20:22:04-0300, Hernán Gonzalez wrote: > GPIO_ACTIVE_LOW was being used to specify an interrupt, use > IRQ_TYPE_EDGE_RISING instead. This improves DT readability. > > Signed-off-by: Hernán Gonzalez > --- > arch/arm/boot/dts/at91-sama5d2_xplained.dts | 2 +- > 1 file changed, 1 inser

Re: [RFC 0/6] perf probe: Attempt to improve C++ probing

2018-05-14 Thread Masami Hiramatsu
On Mon, 14 May 2018 12:19:34 +0800 Holger Freyther wrote: > From: Holger Hans Peter Freyther > > Currently perf probe -x app --funcs will list and demangle C++ functions > but the other probe actions can't work with them. When asking probe to not > demangle it will not list any of the applicati

Re: [PATCH 3/6] staging: android: vsoc: Fix ending '(' warnings in function defintions

2018-05-14 Thread Dan Carpenter
I hate this checkpatch warning... The original is often superior to the modified versions we see. regards, dan carpenter

Re: [PATCH] nvme: fix lockdep warning in nvme_mpath_clear_current_path

2018-05-14 Thread Christoph Hellwig
On Mon, May 14, 2018 at 06:31:05AM -0700, Paul E. McKenney wrote: > > > + if (head && > > > + ns == rcu_dereference_protected(head->current_path, > > > + lockdep_is_held(&ns->ctrl->subsys->lock))) > > > rcu_assign_pointer(head->current_path, NULL); > > > } > >

[PATCH v2 0/3] perf: make Arm CCI driver modular

2018-05-14 Thread Robin Murphy
Now that it has been surgically removed from the MCPM port-control code, we can let the CCI PMU driver be modular. Probing the PMU in the first place still depends on the bus driver stub being built-in, but it's a small price to pay compared to the major upheaval of completely reworking the DT-hand

Re: [FAIL bisect] Sound card probe error

2018-05-14 Thread Sylwester Nawrocki
On 05/14/2018 02:50 PM, Krzysztof Kozlowski wrote: > On Mon, May 14, 2018 at 2:45 PM, Krzysztof Kozlowski wrote: >> On Mon, May 14, 2018 at 2:40 PM, Sylwester Nawrocki >> wrote: >>> On 05/14/2018 02:29 PM, Krzysztof Kozlowski wrote: Ah, I missed these messages because I was looking at err dm

Re: [PATCH] nvme: fix lockdep warning in nvme_mpath_clear_current_path

2018-05-14 Thread Johannes Thumshirn
On Mon, May 14, 2018 at 06:31:05AM -0700, Paul E. McKenney wrote: > If you are just looking at the value of an RCU-protected pointer, then > using rcu_access_pointer() will cause RCU to just read out the value > and otherwise keeps its mouth shut. > > If you use rcu_access_pointer() and later dere

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