Re: [PATCH 00/23] kconfig: move compiler capability tests to Kconfig

2018-02-20 Thread Masahiro Yamada
2018-02-20 0:18 GMT+09:00 Ulf Magnusson : >> >> I'm not happy that we in one context can reference CONFIG variables >> directly, but inside the $(call ...) and $(shell ...) needs the $ prefix. >> But I could not come up with something un-ambigious where this could be >>

Re: [PATCH 0/6] DISCONTIGMEM support for PPC32

2018-02-20 Thread Christophe LEROY
Le 20/02/2018 à 17:14, Jonathan Neuschäfer a écrit : This patchset adds support for DISCONTIGMEM on 32-bit PowerPC. This is required to properly support the Nintendo Wii's memory layout, in which there are two blocks of RAM and MMIO in the middle. Previously, this memory layout was handled by

Re: [PATCH] ocxl: Add get_metadata IOCTL to share OCXL information to userspace

2018-02-20 Thread Balbir Singh
On Wed, Feb 21, 2018 at 3:57 PM, Alastair D'Silva wrote: > From: Alastair D'Silva > > Some required information is not exposed to userspace currently (eg. the > PASID), pass this information back, along with other information which > is currently

Re: [PATCH] cpufreq: powernv: Check negative value returned by cpufreq_table_find_index_dl()

2018-02-20 Thread Viresh Kumar
On 21-02-18, 16:39, Michael Ellerman wrote: > Viresh Kumar writes: > > AFAICT, you will get -1 here only if the freq table had no valid > > frequencies (or the freq table is empty). Why would that happen ? > > Bugs? The cupfreq driver shouldn't have registered itself

Re: [PATCH] ocxl: Add get_metadata IOCTL to share OCXL information to userspace

2018-02-20 Thread Andrew Donnellan
On 21/02/18 15:57, Alastair D'Silva wrote: From: Alastair D'Silva Some required information is not exposed to userspace currently (eg. the PASID), pass this information back, along with other information which is currently communicated via sysfs, which saves some parsing

Re: [PATCH] cpufreq: powernv: Check negative value returned by cpufreq_table_find_index_dl()

2018-02-20 Thread Michael Ellerman
Viresh Kumar writes: > On 12-02-18, 15:51, Shilpasri G Bhat wrote: >> This patch fixes the below Coverity warning: >> >> *** CID 182816: Memory - illegal accesses (NEGATIVE_RETURNS) >> /drivers/cpufreq/powernv-cpufreq.c: 1008 in powernv_fast_switch() >> 1002

Re: [RFC] powerpc/powernv/mce: Don't silently restart the machine

2018-02-20 Thread Balbir Singh
On Wed, Feb 21, 2018 at 3:54 PM, Stewart Smith wrote: > Balbir Singh writes: >> On MCE the current code will restart the machine with >> ppc_md.restart(). This case was extremely unlikely since >> prior to that a skiboot call is made and that

[PATCH] ocxl: Add get_metadata IOCTL to share OCXL information to userspace

2018-02-20 Thread Alastair D'Silva
From: Alastair D'Silva Some required information is not exposed to userspace currently (eg. the PASID), pass this information back, along with other information which is currently communicated via sysfs, which saves some parsing effort in userspace. Signed-off-by: Alastair

Re: [PATCH v9 1/2] powerpc/powernv: Enable tunneled operations

2018-02-20 Thread Stewart Smith
Philippe Bergheaud writes: > diff --git a/arch/powerpc/include/asm/opal-api.h > b/arch/powerpc/include/asm/opal-api.h > index 94bd1bf2c873..07b5e2240ecc 100644 > --- a/arch/powerpc/include/asm/opal-api.h > +++ b/arch/powerpc/include/asm/opal-api.h > @@ -204,7 +204,9 @@

Re: [RFC] powerpc/powernv/mce: Don't silently restart the machine

2018-02-20 Thread Stewart Smith
Balbir Singh writes: > On MCE the current code will restart the machine with > ppc_md.restart(). This case was extremely unlikely since > prior to that a skiboot call is made and that resulted in > a checkstop for analysis. > > With newer skiboots, on P9 we don't checkstop

Re: [PATCH v2 (skiboot)] dt: add /cpus/ibm, powerpc-cpu-features device tree bindings

2018-02-20 Thread Stewart Smith
Nicholas Piggin writes: > This is a new CPU feature advertising interface that is fine-grained, > extensible, aware of privilege levels, and gives control of features > to all levels of the stack (firmware, hypervisor, and OS). > > The design and binding specification is

Re: [PATCH] scsi: cxlflash: Select SCSI_SCAN_ASYNC

2018-02-20 Thread Matthew R. Ochs
On Tue, Feb 20, 2018 at 07:56:35PM +1100, Michael Ellerman wrote: > Vaibhav Jain writes: > > > The cxlflash driver uses "Asynchronous SCSI scanning" enabled by > > CONFIG_SCSI_SCAN_ASYNC. Without this enabled the modprobe of cxlflash > > module gets hung with

Re: [PATCH V6] cxl: Fix timebase synchronization status on P9

2018-02-20 Thread Michael Ellerman
Christophe Lombard writes: > The PSL Timebase register is updated by the PSL to maintain the > timebase. > On P9, the Timebase value is only provided by the CAPP as received > the last time a timebase request was performed. > The timebase requests are initiated

Re: [RFC] powerpc/powernv/mce: Don't silently restart the machine

2018-02-20 Thread Nicholas Piggin
On Wed, 21 Feb 2018 12:01:11 +1100 Balbir Singh wrote: > On MCE the current code will restart the machine with > ppc_md.restart(). This case was extremely unlikely since > prior to that a skiboot call is made and that resulted in > a checkstop for analysis. > > With newer

Re: [PATCH 1/6] powerpc/mm/32: Use pfn_valid to check if pointer is in RAM

2018-02-20 Thread christophe leroy
Le 20/02/2018 à 17:14, Jonathan Neuschäfer a écrit : The Nintendo Wii has a memory layout that places two chunks of RAM at non-adjacent addresses, and MMIO between them. Currently, the allocation of these MMIO areas is made possible by declaring the MMIO hole as reserved memory and allowing

[RFC] powerpc/powernv/mce: Don't silently restart the machine

2018-02-20 Thread Balbir Singh
On MCE the current code will restart the machine with ppc_md.restart(). This case was extremely unlikely since prior to that a skiboot call is made and that resulted in a checkstop for analysis. With newer skiboots, on P9 we don't checkstop the box by default, instead we return back to the kernel

Re: [PATCH] bpf, powerpc: fix jit for seccomp_data access

2018-02-20 Thread Daniel Borkmann
On 02/21/2018 01:33 AM, Michael Ellerman wrote: > Mark Lord writes: > >> I am using SECCOMP to filter syscalls on a ppc32 platform, >> and noticed that the JIT compiler was failing on the BPF >> even though the interpreter was working fine. >> >> The issue was that the compiler

Re: [PATCH] bpf, powerpc: fix jit for seccomp_data access

2018-02-20 Thread Michael Ellerman
Mark Lord writes: > I am using SECCOMP to filter syscalls on a ppc32 platform, > and noticed that the JIT compiler was failing on the BPF > even though the interpreter was working fine. > > The issue was that the compiler was missing one of the instructions > used by SECCOMP, so

[PATCH 0/6] DISCONTIGMEM support for PPC32

2018-02-20 Thread Jonathan Neuschäfer
This patchset adds support for DISCONTIGMEM on 32-bit PowerPC. This is required to properly support the Nintendo Wii's memory layout, in which there are two blocks of RAM and MMIO in the middle. Previously, this memory layout was handled by code that joins the two RAM blocks into one, reserves

[PATCH 1/6] powerpc/mm/32: Use pfn_valid to check if pointer is in RAM

2018-02-20 Thread Jonathan Neuschäfer
The Nintendo Wii has a memory layout that places two chunks of RAM at non-adjacent addresses, and MMIO between them. Currently, the allocation of these MMIO areas is made possible by declaring the MMIO hole as reserved memory and allowing reserved memory to be allocated (cf. wii_memory_fixups).

[PATCH 2/6] powerpc: numa: Fix overshift on PPC32

2018-02-20 Thread Jonathan Neuschäfer
When read_n_cells is compiled for PPC32, "result << 32" causes an overshift, which GCC doesn't like. Fix this by using u64 instead of unsigned long. Signed-off-by: Jonathan Neuschäfer --- arch/powerpc/mm/numa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 3/6] powerpc: numa: Use the right #ifdef guards around functions

2018-02-20 Thread Jonathan Neuschäfer
of_node_to_nid and dump_numa_cpu_topology are declared inline in their respective header files, if CONFIG_NUMA is not set. Thus it is only valid to define these functions in numa.c if CONFIG_NUMA is set. (numa.c, despite the name, isn't conditionalized on CONFIG_NUMA, but

Re: [PATCH] fix double ;;s in code

2018-02-20 Thread Andrew Morton
On Tue, 20 Feb 2018 10:03:56 +0200 Jani Nikula wrote: > On Mon, 19 Feb 2018, Pavel Machek wrote: > > On Mon 2018-02-19 16:41:35, Daniel Vetter wrote: > >> Yeah, pls split this into one patch per area, with a suitable patch > >> subject prefix. Look at

Re: [PATCH 5/6] powerpc: Implement DISCONTIGMEM and allow selection on PPC32

2018-02-20 Thread kbuild test robot
Hi Jonathan, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on v4.16-rc2 next-20180220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH] ocxl: Fix potential bad errno on irq allocation

2018-02-20 Thread Andrew Donnellan
On 17/02/18 00:01, Frederic Barrat wrote: Fix some issues found by a static checker: When allocating an AFU interrupt, if the driver cannot copy the output parameters to userland, the errno value was not set to EFAULT Remove a (now) useless cast. Reported-by: Dan Carpenter

Re: [PATCH] fix double ;;s in code

2018-02-20 Thread Joe Perches
On Tue, 2018-02-20 at 17:19 +1100, Michael Ellerman wrote: > Daniel Vetter writes: > > On Sun, Feb 18, 2018 at 11:00:56AM +0100, Christophe LEROY wrote: > > > Le 17/02/2018 à 22:19, Pavel Machek a écrit : > > > > > > > > Fix double ;;'s in code. > > > > > > > > Signed-off-by:

Re: [PATCH] fix double ;;s in code

2018-02-20 Thread Alex Deucher
On Tue, Feb 20, 2018 at 3:03 AM, Jani Nikula wrote: > On Mon, 19 Feb 2018, Pavel Machek wrote: >> On Mon 2018-02-19 16:41:35, Daniel Vetter wrote: >>> Yeah, pls split this into one patch per area, with a suitable patch >>> subject prefix. Look at git

[PATCH] bpf, powerpc: fix jit for seccomp_data access

2018-02-20 Thread Mark Lord
I am using SECCOMP to filter syscalls on a ppc32 platform, and noticed that the JIT compiler was failing on the BPF even though the interpreter was working fine. The issue was that the compiler was missing one of the instructions used by SECCOMP, so here is a patch to enable JIT for that

[PATCH 5/6] powerpc: Implement DISCONTIGMEM and allow selection on PPC32

2018-02-20 Thread Jonathan Neuschäfer
The implementation of pfn_to_nid and pfn_valid in mmzone.h is based on arch/metag's implementation. Signed-off-by: Jonathan Neuschäfer --- NOTE: Checking NODE_DATA(nid) in pfn_to_nid appears to be uncommon. Running up to MAX_NUMNODES instead of checking NODE_DATA(nid)

Re: [PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Marcus Folkesson
On Tue, Feb 20, 2018 at 07:13:43AM -0800, Guenter Roeck wrote: > On 02/20/2018 05:21 AM, Marcus Folkesson wrote: > > Hello William, > > > > On Tue, Feb 20, 2018 at 07:49:55AM -0500, William Breathitt Gray wrote: > > > On Tue, Feb 20, 2018 at 11:45:31AM +0100, Marcus Folkesson wrote: > > > > - Add

Re: [PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread William Breathitt Gray
On Tue, Feb 20, 2018 at 04:33:26PM +0100, Marcus Folkesson wrote: >On Tue, Feb 20, 2018 at 07:13:43AM -0800, Guenter Roeck wrote: >> On 02/20/2018 05:21 AM, Marcus Folkesson wrote: >> > Hello William, >> > >> > On Tue, Feb 20, 2018 at 07:49:55AM -0500, William Breathitt Gray wrote: >> > > On Tue,

[PATCH 0/9] powerpc cpu feature and kernel build stuff

2018-02-20 Thread Nicholas Piggin
These are various things that came up after taking a look at dt_cpu_ftrs again. Just a bunch of small cleanups and fixes. Nicholas Piggin (9): powerpc/64s: cputable add all POWER9 features to CPU_FTRS_ALWAYS powerpc/64s: fix CPU_FTRS_POSSIBLE vector features powerpc/64s: kbuild set

[PATCH 4/9] powerpc/64s: dt_cpu_ftrs fix POWER9 DD2.2 and above

2018-02-20 Thread Nicholas Piggin
The CPU_FTR_POWER9_DD2_1 flag is intended to be set for DD2.1 and above (which is what the cputable setup does). Fix dt_cpu_ftrs setup to match. Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/dt_cpu_ftrs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[PATCH 2/9] powerpc/64s: fix CPU_FTRS_POSSIBLE vector features

2018-02-20 Thread Nicholas Piggin
ALTIVEC and VSX features are not default in the POWER CPU feature sets because they are intended to be enabled by firmware. They should be added individually to the CPU_FTRS_POSSIBLE set. It already contains CPU_FTR_VSX, so add ALTIVEC. This becomes important with a reduced set of supported CPUs.

Re: [PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Guenter Roeck
On 02/20/2018 05:21 AM, Marcus Folkesson wrote: Hello William, On Tue, Feb 20, 2018 at 07:49:55AM -0500, William Breathitt Gray wrote: On Tue, Feb 20, 2018 at 11:45:31AM +0100, Marcus Folkesson wrote: - Add SPDX identifier - Remove boiler plate license text - If MODULE_LICENSE and boiler

[PATCH 6/9] powerpc/64s: remove POWER4 support

2018-02-20 Thread Nicholas Piggin
POWER4 has been broken since at least the change 49d09bf2a6 ("powerpc/64s: Optimise MSR handling in exception handling"), which requires mtmsrd L=1 support. This was introduced in ISA v2.01, and POWER4 supports ISA v2.00. Signed-off-by: Nicholas Piggin ---

Re: [PATCH 2/3] rfi-flush: Make it possible to call setup_rfi_flush() again

2018-02-20 Thread Michal Suchánek
On Tue, 20 Feb 2018 20:59:18 +1100 Michael Ellerman wrote: > Mauricio Faria de Oliveira writes: > > > Hi Michal and Michael, > > > > On 02/15/2018 05:13 AM, Michal Suchánek wrote: > >>> From: Michael Ellerman > >>> > >>>

[PATCH 1/9] powerpc/64s: cputable add all POWER9 features to CPU_FTRS_ALWAYS

2018-02-20 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/cputable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cputable.h index a2c5c95882cf..1fb9b1ea4662 100644 ---

[PATCH 9/9] powerpc/64s: add POWER9 CPU type selection

2018-02-20 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/Makefile | 3 ++- arch/powerpc/platforms/Kconfig.cputype | 5 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 973b1a1b98d2..f46b6cf364d7

[PATCH 5/9] powerpc: remove unused CPU_FTR_ARCH_201

2018-02-20 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/cputable.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cputable.h index 27bb8e96ce7a..1c684aa7e0de 100644 ---

[PATCH 3/9] powerpc/64s: kbuild set assembler machine type to POWER4

2018-02-20 Thread Nicholas Piggin
Rather than override the machine type in .S code (which can hide wrong or ambiguous code generation for the target), set the type to power4 for all assembly. Signed-off-by: Nicholas Piggin --- arch/powerpc/Makefile| 1 + arch/powerpc/include/asm/ppc_asm.h |

[PATCH 8/9] powerpc/64s/le: refine feature sets for little endian builds

2018-02-20 Thread Nicholas Piggin
This reduces vmlinux text size by 1kB and data by 1.5kB with a small build! Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/cputable.h | 16 1 file changed, 16 insertions(+) diff --git a/arch/powerpc/include/asm/cputable.h

[PATCH 7/9] powerpc/64/le: add GENERIC_CPU support

2018-02-20 Thread Nicholas Piggin
Add GENERIC_CPU support for little-endian rather than using POWER8 specific selection for POWER9 and above. Restrict GENERIC_CPU to POWER8 and above on little endian. Signed-off-by: Nicholas Piggin --- arch/powerpc/Makefile | 5 +

Re: [PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Matthias Brugger
On 02/20/2018 11:45 AM, Marcus Folkesson wrote: > - Add SPDX identifier > - Remove boiler plate license text > - If MODULE_LICENSE and boiler plate does not match, go for boiler plate > license > > Signed-off-by: Marcus Folkesson > Acked-by: Adam Thomson

[PATCH v9 1/2] powerpc/powernv: Enable tunneled operations

2018-02-20 Thread Philippe Bergheaud
P9 supports PCI tunneled operations (atomics and as_notify). This patch adds support for tunneled operations on powernv, with a new API, to be called by device drivers: pnv_pci_enable_tunnel() Enable tunnel operations, tell driver the 16-bit ASN indication used by kernel.

Re: [PATCH] powerpc/npu-dma.c: Fix deadlock in mmio_invalidate

2018-02-20 Thread Mark Hairgrove
On Mon, 19 Feb 2018, Balbir Singh wrote: > Good point, although I think the acquire_* function itself may be called > from a higher layer with the mmap_sem always held. I wonder if we need > barriers around get and put mmio_atsd_reg. I agree with the need for memory barriers. FWIW, page tables

Re: [PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Marcus Folkesson
On Tue, Feb 20, 2018 at 01:14:27PM -0500, William Breathitt Gray wrote: > On Tue, Feb 20, 2018 at 04:33:26PM +0100, Marcus Folkesson wrote: > >On Tue, Feb 20, 2018 at 07:13:43AM -0800, Guenter Roeck wrote: > >> On 02/20/2018 05:21 AM, Marcus Folkesson wrote: > >> > Hello William, > >> > > >> > On

Re: [RFC][PATCH bpf v2 1/2] bpf: allow 64-bit offsets for bpf function calls

2018-02-20 Thread Naveen N. Rao
Michael Ellerman wrote: "Naveen N. Rao" writes: Daniel Borkmann wrote: On 02/15/2018 05:25 PM, Daniel Borkmann wrote: On 02/13/2018 05:05 AM, Sandipan Das wrote: The imm field of a bpf_insn is a signed 32-bit integer. For JIT-ed bpf-to-bpf function calls, it

[PATCH 4/6] powerpc: numa: Restrict fake NUMA enulation to CONFIG_NUMA systems

2018-02-20 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- arch/powerpc/mm/numa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index df03a65b658f..dfe279529463 100644 --- a/arch/powerpc/mm/numa.c +++

[PATCH v9 2/2] cxl: read PHB indications from the device tree

2018-02-20 Thread Philippe Bergheaud
Configure the P9 XSL_DSNCTL register with PHB indications found in the device tree, or else use legacy hard-coded values. Signed-off-by: Philippe Bergheaud --- Changelog: v2: New patch. Use the new device tree property "ibm,phb-indications". v3: No change. v4: No

[PATCH 6/6] powerpc: wii: Don't rely on reserved memory hack if DISCONTIGMEM is set

2018-02-20 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- arch/powerpc/platforms/embedded6xx/wii.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/embedded6xx/wii.c b/arch/powerpc/platforms/embedded6xx/wii.c index

[PATCH V6] cxl: Fix timebase synchronization status on P9

2018-02-20 Thread Christophe Lombard
The PSL Timebase register is updated by the PSL to maintain the timebase. On P9, the Timebase value is only provided by the CAPP as received the last time a timebase request was performed. The timebase requests are initiated through the adapter configuration or application registers. The specific

Re: [PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread William Breathitt Gray
On Tue, Feb 20, 2018 at 11:45:31AM +0100, Marcus Folkesson wrote: >- Add SPDX identifier >- Remove boiler plate license text >- If MODULE_LICENSE and boiler plate does not match, go for boiler plate > license > >Signed-off-by: Marcus Folkesson >Acked-by: Adam Thomson

Re: [PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Marcus Folkesson
Hello William, On Tue, Feb 20, 2018 at 07:49:55AM -0500, William Breathitt Gray wrote: > On Tue, Feb 20, 2018 at 11:45:31AM +0100, Marcus Folkesson wrote: > >- Add SPDX identifier > >- Remove boiler plate license text > >- If MODULE_LICENSE and boiler plate does not match, go for boiler plate > >

Re: [PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Neil Armstrong
On 20/02/2018 11:45, Marcus Folkesson wrote: > - Add SPDX identifier > - Remove boiler plate license text > - If MODULE_LICENSE and boiler plate does not match, go for boiler plate > license > > Signed-off-by: Marcus Folkesson > Acked-by: Adam Thomson

Re: [PATCH 16/18] crypto: talitos - do hw_context DMA mapping outside the requests

2018-02-20 Thread Horia Geantă
On 2/20/2018 12:34 PM, Herbert Xu wrote: > On Mon, Feb 19, 2018 at 01:16:30PM +, Horia Geantă wrote: >> >>> And what about ALGIF path from user space ? >>> What if the user never calls the last sendmsg() which will call >>> hash_finup() ? >>> >> User is expected to follow the rules of the

Re: [PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Thierry Reding
On Tue, Feb 20, 2018 at 11:45:31AM +0100, Marcus Folkesson wrote: [...] > drivers/watchdog/tegra_wdt.c | 10 +-- [...] Acked-by: Thierry Reding signature.asc Description: PGP signature

Re: [PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Måns Rullgård
Marcus Folkesson writes: > - Add SPDX identifier > - Remove boiler plate license text > - If MODULE_LICENSE and boiler plate does not match, go for boiler plate > license > > Signed-off-by: Marcus Folkesson > Acked-by: Adam Thomson

Re: [PATCH] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Charles Keepax
On Tue, Feb 20, 2018 at 10:31:08AM +0100, Marcus Folkesson wrote: > - Add SPDX identifier > - Remove boiler plate license text > - If MODULE_LICENSE and boiler plate does not match, go for boiler plate > license > > Signed-off-by: Marcus Folkesson > --- >

[PATCH v2] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Marcus Folkesson
- Add SPDX identifier - Remove boiler plate license text - If MODULE_LICENSE and boiler plate does not match, go for boiler plate license Signed-off-by: Marcus Folkesson Acked-by: Adam Thomson Acked-by: Charles Keepax

Re: [PATCH] powerpc/eeh: Add conditional check on notify_resume

2018-02-20 Thread Michael Neuling
On Thu, 2018-02-15 at 12:49 -0600, Bryant G. Ly wrote: > From: "Juan J. Alvarez" > > EEH structure is not populated with function > notify resume when running on systems that do not support > it, i.e: BMC. Hence adding a conditional check for NULL for > systems that

Re: [PATCH] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Neil Armstrong
Hi Marcus, On 20/02/2018 10:59, Marcus Folkesson wrote: > On Tue, Feb 20, 2018 at 10:47:03AM +0100, Neil Armstrong wrote: >> Hi Marcus, >> >> On 20/02/2018 10:31, Marcus Folkesson wrote: >>> - Add SPDX identifier >>> - Remove boiler plate license text >>> - If MODULE_LICENSE and boiler plate does

Re: [PATCH 16/18] crypto: talitos - do hw_context DMA mapping outside the requests

2018-02-20 Thread Herbert Xu
On Mon, Feb 19, 2018 at 01:16:30PM +, Horia Geantă wrote: > > > And what about ALGIF path from user space ? > > What if the user never calls the last sendmsg() which will call > > hash_finup() ? > > > User is expected to follow the rules of the crypto API. > Of course, kernel won't (or at

RE: [PATCH] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Adam Thomson
On 20 February 2018 09:31, Marcus Folkesson wrote: > - Add SPDX identifier > - Remove boiler plate license text > - If MODULE_LICENSE and boiler plate does not match, go for boiler plate > license > > Signed-off-by: Marcus Folkesson > --- [...] > diff --git

Re: [PATCH] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Michal Simek
On 20.2.2018 10:31, Marcus Folkesson wrote: > - Add SPDX identifier > - Remove boiler plate license text > - If MODULE_LICENSE and boiler plate does not match, go for boiler plate > license > > Signed-off-by: Marcus Folkesson > --- > > Notes: > v1: Please have

Re: [PATCH] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Nicolas Ferre
On 20/02/2018 at 10:31, Marcus Folkesson wrote: - Add SPDX identifier - Remove boiler plate license text - If MODULE_LICENSE and boiler plate does not match, go for boiler plate license Signed-off-by: Marcus Folkesson --- Notes: v1: Please have an extra

Re: [PATCH] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Marcus Folkesson
On Tue, Feb 20, 2018 at 10:47:03AM +0100, Neil Armstrong wrote: > Hi Marcus, > > On 20/02/2018 10:31, Marcus Folkesson wrote: > > - Add SPDX identifier > > - Remove boiler plate license text > > - If MODULE_LICENSE and boiler plate does not match, go for boiler plate > > license > > > >

Re: [PATCH] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Neil Armstrong
Hi Marcus, On 20/02/2018 10:31, Marcus Folkesson wrote: > - Add SPDX identifier > - Remove boiler plate license text > - If MODULE_LICENSE and boiler plate does not match, go for boiler plate > license > > Signed-off-by: Marcus Folkesson > --- > > Notes: > v1:

[PATCH] watchdog: add SPDX identifiers for watchdog subsystem

2018-02-20 Thread Marcus Folkesson
- Add SPDX identifier - Remove boiler plate license text - If MODULE_LICENSE and boiler plate does not match, go for boiler plate license Signed-off-by: Marcus Folkesson --- Notes: v1: Please have an extra look at meson_gxbb_wdt.c

Re: [PATCH] fix double ;;s in code

2018-02-20 Thread Jani Nikula
On Mon, 19 Feb 2018, Pavel Machek wrote: > On Mon 2018-02-19 16:41:35, Daniel Vetter wrote: >> Yeah, pls split this into one patch per area, with a suitable patch >> subject prefix. Look at git log of each file to get a feeling for what's >> the standard in each area. > > Yeah I can

Re: [PATCH 2/3] rfi-flush: Make it possible to call setup_rfi_flush() again

2018-02-20 Thread Michael Ellerman
Mauricio Faria de Oliveira writes: > Hi Michal and Michael, > > On 02/15/2018 05:13 AM, Michal Suchánek wrote: >>> From: Michael Ellerman >>> >>> For PowerVM migration we want to be able to call setup_rfi_flush() >>> again after we've migrated

Re: [RFC][PATCH bpf v2 1/2] bpf: allow 64-bit offsets for bpf function calls

2018-02-20 Thread Michael Ellerman
"Naveen N. Rao" writes: > Daniel Borkmann wrote: >> On 02/15/2018 05:25 PM, Daniel Borkmann wrote: >>> On 02/13/2018 05:05 AM, Sandipan Das wrote: The imm field of a bpf_insn is a signed 32-bit integer. For JIT-ed bpf-to-bpf function calls, it stores the

Re: [PATCH V5] cxl: Fix timebase synchronization status on P9

2018-02-20 Thread Frederic Barrat
Le 19/02/2018 à 15:28, Christophe Lombard a écrit : The PSL Timebase register is updated by the PSL to maintain the timebase. On P9, the Timebase value is only provided by the CAPP as received the last time a timebase request was performed. The timebase requests are initiated through the

Re: [PATCH] scsi: cxlflash: Select SCSI_SCAN_ASYNC

2018-02-20 Thread Michael Ellerman
Vaibhav Jain writes: > The cxlflash driver uses "Asynchronous SCSI scanning" enabled by > CONFIG_SCSI_SCAN_ASYNC. Without this enabled the modprobe of cxlflash > module gets hung with following backtrace: > > Call Trace: > __switch_to+0x2cc/0x470 >