[PATCH 4.20 096/117] nvmet-rdma: Add unlikely for response allocated check

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Israel Rukshin commit ad1f824948e4ed886529219cf7cd717d078c630d upstream. Signed-off-by: Israel Rukshin Reviewed-by: Sagi Grimberg Reviewed-by: Max Gurtovoy Signed-off-by: Christoph Hellwig

[PATCH 4.20 090/117] vt: make vt_console_print() compatible with the unicode screen buffer

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Pitre commit 6609cff65c5b184ab889880ef5d41189611ea05f upstream. When kernel messages are printed to the console, they appear blank on the unicode screen. This is because vt_console_pri

[PATCH 4.20 065/117] smb3: add credits we receive from oplock/break PDUs

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Ronnie Sahlberg commit 2e5700bdde438ed708b36d8acd0398dc73cbf759 upstream. Otherwise we gradually leak credits leading to potential hung session. Signed-off-by: Ronnie Sahlberg CC: Stable Re

[PATCH 4.20 084/117] posix-cpu-timers: Unbreak timer rearming

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 93ad0fc088c5b4631f796c995bdd27a082ef33a6 upstream. The recent commit which prevented a division by 0 issue in the alarm timer code broke posix CPU timers as an unwanted

[PATCH 4.20 088/117] can: bcm: check timer values before ktime conversion

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Hartkopp commit 93171ba6f1deffd82f381d36cb13177872d023f6 upstream. Kyungtae Kim detected a potential integer overflow in bcm_[rx|tx]_setup() when the conversion into ktime multiplies th

[PATCH 4.20 086/117] irqchip/gic-v3-its: Align PCI Multi-MSI allocation on their size

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit 8208d1708b88b412ca97f50a6d951242c88cbbac upstream. The way we allocate events works fine in most cases, except when multiple PCI devices share an ITS-visible DevID, and tha

[PATCH 4.20 081/117] x86/selftests/pkeys: Fork() to check for state being preserved

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen commit e1812933b17be7814f51b6c310c5d1ced7a9a5f5 upstream. There was a bug where the per-mm pkey state was not being preserved across fork() in the child. fork() is performed in th

[PATCH 4.20 072/117] dm thin: fix passdown_double_checking_shared_status()

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Joe Thornber commit d445bd9cec1a850c2100fcf53684c13b3fd934f2 upstream. Commit 00a0ea33b495 ("dm thin: do not queue freed thin mapping for next stage processing") changed process_prepared_disca

[PATCH 4.20 075/117] EDAC, altera: Fix S10 persistent register offset

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Thor Thayer commit 245b6c6558128327d330549b23d09594c46f58df upstream. Correct the persistent register offset where address and status are stored. Fixes: 08f08bfb7b4c ("EDAC, altera: Merge Str

[PATCH 4.20 031/117] ceph: clear inode pointer when snap realm gets dropped by its inode

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Yan, Zheng commit d95e674c01cfb5461e8b9fdeebf6d878c9b80b2f upstream. snap realm and corresponding inode have pointers to each other. The two pointer should get clear at the same time. Otherwis

[PATCH 4.20 033/117] ASoC: rt5514-spi: Fix potential NULL pointer dereference

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit 060d0bf491874daece47053c4e1fb0489eb867d2 upstream. There is a potential NULL pointer dereference in case devm_kzalloc() fails and returns NULL. Fix this by adding a

[PATCH 4.20 061/117] CIFS: Fix possible hang during async MTU reads and writes

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Shilovsky commit acc58d0bab55a50e02c25f00bd6a210ee121595f upstream. When doing MTU i/o we need to leave some credits for possible reopen requests and other operations happening in parall

[PATCH 4.20 063/117] CIFS: Fix credit calculation for encrypted reads with errors

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Shilovsky commit ec678eae746dd25766a61c4095e2b649d3b20b09 upstream. We do need to account for credits received in error responses to read requests on encrypted sessions. Cc: Signed-off

[PATCH 4.20 057/117] tty/n_hdlc: fix __might_sleep warning

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Paul Fulghum commit fc01d8c61ce02c034e67378cd3e645734bc18c8c upstream. Fix __might_sleep warning[1] in tty/n_hdlc.c read due to copy_to_user call while current is TASK_INTERRUPTIBLE. This is

[PATCH 4.20 059/117] Drivers: hv: vmbus: Check for ring when getting debug info

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dexuan Cui commit ba50bf1ce9a51fc97db58b96d01306aa70bc3979 upstream. fc96df16a1ce is good and can already fix the "return stack garbage" issue, but let's also improve hv_ringbuffer_get_debugin

Re: [PATCH v2 0/4] perf: enable compression of record mode trace to save storage space

2019-01-29 Thread Alexey Budankov
Hi, On 29.01.2019 13:53, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 29, 2019 at 11:45:43AM +0100, Arnaldo Carvalho de Melo escreveu: >> Em Mon, Jan 28, 2019 at 09:40:28AM +0300, Alexey Budankov escreveu: >>> The patch set implements runtime trace compression for record mode and >>> trace file d

[PATCH 4.20 052/117] mmc: dw_mmc-bluefield: : Fix the license information

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Liming Sun commit f3716b8ae9347797b73896725f192c3a7b0069b5 upstream. The SPDX license identifier and the boiler plate text are contradicting. Only the SPDX license identifier is needed. The ot

[PATCH 4.20 053/117] mmc: meson-gx: Free irq in release() callback

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Remi Pommarel commit bb364890323cca6e43f13e86d190ebf34a7d8cea upstream. Because the irq was requested through device managed resources API (devm_request_threaded_irq()) it was freed after meso

[PATCH 4.20 045/117] s390/mm: always force a load of the primary ASCE on context switch

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky commit a38662084c8bdb829ff486468c7ea801c13fcc34 upstream. The ASCE of an mm_struct can be modified after a task has been created, e.g. via crst_table_downgrade for a compat

[PATCH 4.20 041/117] ARCv2: lib: memeset: fix doing prefetchw outside of buffer

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Eugeniy Paltsev commit e6a72b7daeeb521753803550f0ed711152bb2555 upstream. ARCv2 optimized memset uses PREFETCHW instruction for prefetching the next cache line but doesn't ensure that the line

[PATCH 4.20 036/117] clk: socfpga: stratix10: fix rate calculation for pll clocks

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dinh Nguyen commit c0a636e4cc2eb39244d23c0417c117be4c96a7fe upstream. The main PLL calculation has a mistake. We should be using the multiplying the VCO frequency, not the parent clock frequen

[PATCH 4.20 043/117] ARC: perf: map generic branches to correct hardware condition

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Eugeniy Paltsev commit 3affbf0e154ee351add6fcc254c59c3f3947fa8f upstream. So far we've mapped branches to "ijmp" which also counts conditional branches NOT taken. This makes us different from

[PATCH 4.20 042/117] ARC: adjust memblock_reserve of kernel memory

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Eugeniy Paltsev commit a3010a0465383300f909f62b8a83f83ffa7b2517 upstream. In setup_arch_memory we reserve the memory area wherein the kernel is located. Current implementation may reserve more

[PATCH 4.20 000/117] 4.20.6-stable review

2019-01-29 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.20.6 release. There are 117 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Jan 31 11:31:34 UTC 2019. Anything receiv

[PATCH 4.20 009/117] openvswitch: Avoid OOB read when parsing flow nlattrs

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Ross Lagerwall [ Upstream commit 04a4af334b971814eedf4e4a413343ad3287d9a9 ] For nested and variable attributes, the expected length of an attribute is not known and marked by a negative number

[PATCH 4.20 005/117] net: phy: mdio_bus: add missing device_del() in mdiobus_register() error handling

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Petazzoni [ Upstream commit e40e2a2e78664fa90ea4b9bdf4a84efce2fea9d9 ] The current code in __mdiobus_register() doesn't properly handle failures returned by the devm_gpiod_get_optional(

[PATCH 4.20 017/117] ip6_gre: fix tunnel list corruption for x-netns

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Olivier Matz [ Upstream commit ab5098fa25b91cb6fe0a0676f17abb64f2bbf024 ] In changelink ops, the ip6gre_net pointer is retrieved from dev_net(dev), which is wrong in case of x-netns. Thus, the

[PATCH 4.20 022/117] ARM: fix the cockup in the previous patch

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- Commit d6951f582cc50ba0ad22ef46b599740966599b14 upstream. The intention in the previous patch was to only place the processor tables in the .rodata section if big.Little was being built and we wanted

[PATCH 4.20 015/117] net/sched: cls_flower: allocate mask dynamically in fl_change()

2019-01-29 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Ivan Vecera [ Upstream commit 2cddd20147826aef283115abb00012d4dafe3cdb ] Recent changes (especially 05cd271fd61a ("cls_flower: Support multiple masks per priority")) in the fl_flow_mask struct

Re: [PATCH v2 0/4] perf: enable compression of record mode trace to save storage space

2019-01-29 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 29, 2019 at 02:39:00PM +0300, Alexey Budankov escreveu: > Hi, > On 29.01.2019 13:53, Arnaldo Carvalho de Melo wrote: > > Em Tue, Jan 29, 2019 at 11:45:43AM +0100, Arnaldo Carvalho de Melo escreveu: > >> Em Mon, Jan 28, 2019 at 09:40:28AM +0300, Alexey Budankov escreveu: > >>> The patch

Applied "ASoC: Documentation: Add google, cros-ec-codec" to the asoc tree

2019-01-29 Thread Mark Brown
The patch ASoC: Documentation: Add google, cros-ec-codec has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent t

Applied "ASoC: cros_ec_codec: Add codec driver for Cros EC" to the asoc tree

2019-01-29 Thread Mark Brown
The patch ASoC: cros_ec_codec: Add codec driver for Cros EC has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sen

Applied "spi: ti-qspi: Fix mmap read when more than one CS in use" to the spi tree

2019-01-29 Thread Mark Brown
The patch spi: ti-qspi: Fix mmap read when more than one CS in use has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "spi: spi-mem: spi-nxp-fspi: add module license info" to the spi tree

2019-01-29 Thread Mark Brown
The patch spi: spi-mem: spi-nxp-fspi: add module license info has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

[PATCH 0/4] mpt3sas: Add Atlas and Ambrosia device support.

2019-01-29 Thread Suganath Prabu S
Posting below patches to include new devices Ambrosia, Atlas. * Rename macros for MPI Endpoint device which is a PCIe switch based on MPI2. * Added device ID 0x02B1 for NVMe Switch Adapter (Ambrosia). * Added device ID for the Atlas PCIe Switch management port (0x00B2). This device is based on MPI

[PATCH 2/4] mpt3sas: Add support for NVMe Switch Adapter

2019-01-29 Thread Suganath Prabu S
Added device ID for NVMe Switch Adapter (Ambrosia). VID: 0x1000 DID: 0x02B1 Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 1 + drivers/scsi/mpt3sas/mpt3sas_scsih.c | 4 2 files changed, 5 insertions(+) diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h b/driver

[PATCH 4/4] mpt3sas: Update driver version to 27.102.00.00

2019-01-29 Thread Suganath Prabu S
Updated driver version to 27.102.00.00 from 27.101.00.00. Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h index db12c1b..1915

[PATCH 1/4] mpt3sas: Rename mpi endpoint device ID macro.

2019-01-29 Thread Suganath Prabu S
MPI Endpoint is a PCIe switch based on MPI2, Renaming device ID macro from MPI2_MFGPAGE_DEVID_SAS2308_MPI_EP to MPI2_MFGPAGE_DEVID_SWITCH_MPI_EP Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 2 +- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 6 +++--- 2 files changed, 4 in

[PATCH 3/4] mpt3sas: Add support for ATLAS PCIe switch.

2019-01-29 Thread Suganath Prabu S
Add Atlas PCIe Switch Management Port device PNPID, Vendor Id: 0x1000 device Id: 0x00B2 This device is based on MPI 2.6 spec and it exposes one SES device to accept management commands for the PCIe switch. Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpt3sas_base.h | 3 +++ drivers

[PATCH 03/10] csky: Fixup _PAGE_GLOBAL bit for 610 tlb entry

2019-01-29 Thread guoren
From: Guo Ren C-SKY CPU 8xx's _PAGE_GLOBAL is BIT(0), but 610's _PAGE_GLOBAL is BIT(6). Use _PAGE_GLOBAL macro instead of bad magic number. Signed-off-by: Guo Ren --- arch/csky/include/asm/pgtable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/csky/include/asm/p

[PATCH 04/10] irqchip/csky: Optimize remove unnecessary loop irq handle

2019-01-29 Thread guoren
From: Guo Ren Here is the previous interrupt processing flow: while (pending) { ^^^ It's unnecessary! get irq handle_level/fasteoi_irq { mask irq driver irq handler unmask irq } irq_exit {

[PATCH 02/10] dt-bindings: csky,apb-intc: Add dh7k SOC support

2019-01-29 Thread guoren
From: Guo Ren Add C-SKY dh7k SOC description. Signed-off-by: Guo Ren --- Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt b/Documentation/devic

[PATCH 06/10] dt-bindings: interrupt-controller: Update csky mpintc

2019-01-29 Thread guoren
From: Guo Ren Add trigger type and priority setting for csky,mpintc. Changelog: - change #interrupt-cells to <3> Signed-off-by: Guo Ren Cc: Rob Herring --- .../bindings/interrupt-controller/csky,mpintc.txt | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff

[PATCH 05/10] irqchip/irq-csky-mpintc: Add triger type and priority

2019-01-29 Thread guoren
From: Guo Ren Support 4 triger types: - IRQ_TYPE_LEVEL_HIGH - IRQ_TYPE_LEVEL_LOW - IRQ_TYPE_EDGE_RISING - IRQ_TYPE_EDGE_FALLING Support 0-255 priority setting for each irq. Changelog: - Fixup this_cpu_read() preempted problem. - Optimize the coding style. Signed-off-by: Guo Ren Cc: Marc

[PATCH 01/10] irqchip/csky: Support csky,dh7k SOC intc driver

2019-01-29 Thread guoren
From: Guo Ren C-SKY dh7k SOC use simple APB interrupt controller and most of driver's implementation codes could be reused in csky-apb-intc.c. So merge them together. Signed-off-by: Guo Ren --- drivers/irqchip/irq-csky-apb-intc.c | 95 + 1 file changed, 85 i

[PATCH 08/10] csky: coding convention: Use task_stack_page

2019-01-29 Thread guoren
From: Guo Ren Use task_stack_page instead of p->stack to get stack. Follow the coding convention style. Also for init_stack, the same with other archs. Signed-off-by: Guo Ren --- arch/csky/include/asm/processor.h | 4 ++-- arch/csky/kernel/smp.c| 3 ++- 2 files changed, 4 insertion

[PATCH 07/10] csky: Fixup wrong pt_regs size

2019-01-29 Thread guoren
From: Guo Ren The bug is from commit 2054f4af1957 ("csky: bugfix gdb coredump error.") We change the ELF_NGREG to ELF_NGREG - 2 to fit gdb&gcc define, but forgot modify ptrace regset. Now coredump use ELF_NRGEG to parse GPRs and ptrace use pt_regs_regset, so there are two different reg_sets for

Re: [PATCH -next] irqchip/tango: Fix potential NULL pointer dereference

2019-01-29 Thread Måns Rullgård
Marc Zyngier writes: > On Tue, 29 Jan 2019 08:01:22 +, > YueHaibing wrote: >> >> There is a potential NULL pointer dereference in case kzalloc() >> fails and returns NULL. >> >> Fixes: 4bba66899ac6 ("irqchip/tango: Add support for Sigma Designs >> SMP86xx/SMP87xx interrupt controller") >>

[PATCH v7 3/8] perf cs-etm: Set sample flags for trace discontinuity

2019-01-29 Thread Leo Yan
In the middle of trace stream, it might be interrupted thus the trace data is not continuous, the trace stream firstly is ended for previous trace block and restarted for next block. To display related information for showing trace is restarted, this patch set sample flags for trace discontinuity:

Re: [PATCH v2] dt-bindings: aspeed-lpc: Make parameter optional

2019-01-29 Thread Lee Jones
On Fri, 18 Jan 2019, Vijay Khemka wrote: > Memory-region and flash phandle is not a required parameter, it is > optional to describe in device tree and needed only use basis. > > Signed-off-by: Vijay Khemka > --- > Documentation/devicetree/bindings/mfd/aspeed-lpc.txt | 3 +++ > 1 file changed,

[PATCH v7 6/8] perf cs-etm: Add traceID in packet

2019-01-29 Thread Leo Yan
Add traceID in packet, thus we can use traceID to retrieve metadata pointer from traceID-metadata tuple. Signed-off-by: Leo Yan Reviewed-by: Mathieu Poirier --- tools/perf/util/cs-etm-decoder/cs-etm-decoder.c | 2 ++ tools/perf/util/cs-etm-decoder/cs-etm-decoder.h | 1 + 2 files changed, 3 inse

[PATCH v3 1/1] Arm64: Add workaround for Fujitsu A64FX erratum 010001

2019-01-29 Thread Zhang, Lei
Add workaround for Fujitsu A64FX erratum 010001 Signed-off-by: Zhang Lei --- Documentation/arm64/silicon-errata.txt | 1 + arch/arm64/Kconfig | 22 ++ arch/arm64/include/asm/cpucaps.h | 3 ++- arch/arm64/include/asm/cputype.h | 4 arch/

Re: [PATCH v9 20/26] irqchip/gic-v3: Handle pseudo-NMIs

2019-01-29 Thread Marc Zyngier
On Tue, 29 Jan 2019 11:33:35 +, Julien Thierry wrote: > > > > On 28/01/2019 11:59, Marc Zyngier wrote: > > On Mon, 21 Jan 2019 15:33:39 +, > > Julien Thierry wrote: > >> > >> Provide a higher priority to be used for pseudo-NMIs. When such an > >> interrupt is received, keep interrupts

[PATCH v7 8/8] perf cs-etm: Set sample flags for exception return packet

2019-01-29 Thread Leo Yan
When return from exception, we need to distinguish if it's system call return or for other type exceptions for setting sample flags. Due to the exception return packet doesn't contain exception number, so we cannot decide sample flags based on exception number. On the other hand, the exception re

[PATCH v7 7/8] perf cs-etm: Set sample flags for exception packet

2019-01-29 Thread Leo Yan
The exception taken and returning are typical flow for instruction jump but it needs to be handled with exception packets. This patch is to set sample flags for exception packet. Since the exception packet contains the exception number, according to the exception number this patch makes decision f

[PATCH v7 5/8] perf cs-etm: Change tuple from traceID-CPU# to traceID-metadata

2019-01-29 Thread Leo Yan
If packet processing wants to know the packet is bound with which ETM version, it needs to access metadata to decide that based on metadata magic number; but we cannot simply to use CPU logic ID number as index to access metadata sequential array, especially when system have hotplugged off CPUs, th

[PATCH v3 0/1] arm64: Add workaround for Fujitsu A64FX erratum 010001

2019-01-29 Thread Zhang, Lei
On some variants of the Fujitsu-A64FX cores ver(1.0, 1.1), memory accesses may cause undefined fault (Data abort, DFSC=0b11). This problem will be fixed by next version of Fujitsu-A64FX. This fault occurs under a specific hardware condition when a load/store instruction perform an address t

[PATCH 09/10] dt-bindings: csky,apb-intc: Add vector irq mode

2019-01-29 Thread guoren
From: Guo Ren Add csky,support-vector-irq for irq-csky-apb-intc. Signed-off-by: Guo Ren --- .../devicetree/bindings/interrupt-controller/csky,apb-intc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt b

[PATCH v7 4/8] perf cs-etm: Add exception number in exception packet

2019-01-29 Thread Leo Yan
When an exception packet comes, it contains the information for exception number; the exception number indicates the exception types, so from it we can know if the exception is taken for interrupt, system call or other traps, etc. This patch simply adds a field in cs_etm_packet struct, it records

Re: [PATCH v6 10/13] KVM: s390: add kvm reference to struct sie_page2

2019-01-29 Thread Halil Pasic
On Thu, 24 Jan 2019 13:59:36 +0100 Michael Mueller wrote: > Adding the kvm reference to struct sie_page2 will allow to > determine the kvm a given gisa belongs to: > > container_of(gisa, struct sie_page2, gisa)->kvm > > This functionality will be required to process a gisa in > gib alert inte

[PATCH 10/10] irqchip/csky: Add support-vector-irq for apb-intc

2019-01-29 Thread guoren
From: Guo Ren Some socs don't provide pending registers, so we must make the interrupt controller working at vector mode. Add csky,support-vector-irq to support this mode in dts. Signed-off-by: Guo Ren --- drivers/irqchip/irq-csky-apb-intc.c | 20 ++-- 1 file changed, 18 insert

[PATCH v7 0/8] perf cs-etm: Add support for sample flags

2019-01-29 Thread Leo Yan
This patch seris adds support for sample flags so can facilitate perf to print sample flags for branch instruction. Patch 0001 is used to save last branch information in packet structure, this includes instruction type, subtype and condition flag to help making decision for which branch instructio

[PATCH v7 1/8] perf cs-etm: Add last instruction information in packet

2019-01-29 Thread Leo Yan
Decoder provides last instruction related information, these information can be used for trace analysis; specifically we can get to know what kind of branch instruction has been executed, mainly the information are contained in three element fields: last_i_type: this is significant type for wayp

[PATCH v7 2/8] perf cs-etm: Set sample flags for instruction range packet

2019-01-29 Thread Leo Yan
The perf sample data contains flags to indicate the hardware trace data is belonging to which type branch instruction, thus this can be used to print out the human readable string. Arm CoreSight ETM sample data is missed to set flags and it is always set to zeros, this results in perf tool skips t

Re: [PATCH v2 3/5] media: sunxi: Add A10 CSI driver

2019-01-29 Thread Sakari Ailus
Hi Maxime, Thanks for the update. On Mon, Jan 28, 2019 at 03:52:34PM +0100, Maxime Ripard wrote: > The older CSI drivers have camera capture interface different from the one > in the newer ones. > > This IP is pretty simple. Some variants (one controller out of two > instances on some SoCs) have

[PATCH][next] mtd: rawnand: meson:: make several functions static

2019-01-29 Thread Colin King
From: Colin Ian King There are several functions that are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warnings. Signed-off-by: Colin Ian King --- drivers/mtd/nand/raw/meson_nand.c | 10 +- 1 file changed, 5 insertions(+), 5 deletion

Re: [PATCH v3 5/5] psi: introduce psi monitor

2019-01-29 Thread Peter Zijlstra
On Thu, Jan 24, 2019 at 01:15:18PM -0800, Suren Baghdasaryan wrote: > + atomic_set(&group->polling, polling); > + /* > + * Memory barrier is needed to order group->polling > + * write before times[] read in collect_pe

[PATCH] ARC: [plat-hsdk]: Add support of Vivante GPU

2019-01-29 Thread Eugeniy Paltsev
HSDK board has built-in Vivante GPU IP which works perfectly fine with Etnaviv driver, so let's use it. Signed-off-by: Eugeniy Paltsev --- NOTE: * this patch has prerequisite: https://patchwork.kernel.org/patch/10766265/ arch/arc/boot/dts/hsdk.dts | 6 ++ arch/arc/configs/hsdk_defc

Re: [PATCH v2] iio:dac:ti-dac7612: Add driver for Texas Instruments DAC7612

2019-01-29 Thread Jonathan Cameron
On Mon, 28 Jan 2019 08:59:33 +0100 Ricardo Ribalda Delgado wrote: > Hi Jonathan > > On Sun, Jan 27, 2019 at 4:04 PM Jonathan Cameron wrote: > > > > On Sat, 26 Jan 2019 22:34:50 +0100 > > Ricardo Ribalda Delgado wrote: > > > > > HI Jonathan > > > > > > Thanks for your review. I will make the

Re: [PATCH v2] iio:dac:ti-dac7612: Add driver for Texas Instruments DAC7612

2019-01-29 Thread Ricardo Ribalda Delgado
Hi Jonathan On Tue, Jan 29, 2019 at 1:45 PM Jonathan Cameron wrote: > > On Mon, 28 Jan 2019 08:59:33 +0100 > Ricardo Ribalda Delgado wrote: > > > Hi Jonathan > > > > On Sun, Jan 27, 2019 at 4:04 PM Jonathan Cameron wrote: > > > > > > On Sat, 26 Jan 2019 22:34:50 +0100 > > > Ricardo Ribalda Delg

Re: [PATCH] lightnvm: pblk: extend line wp balance check

2019-01-29 Thread Hans Holmberg
On Tue, Jan 29, 2019 at 12:19 PM Javier González wrote: > > > > On 29 Jan 2019, at 09.47, h...@owltronix.com wrote: > > > > From: Hans Holmberg > > > > pblk stripes writes of minimal write size across all non-offline chunks > > in a line, which means that the maximum write pointer delta should no

[PATCH] virtio_net: Introduce extended RSC feature

2019-01-29 Thread Yuri Benditovich
VIRTIO_NET_F_RSC_EXT feature bit indicates that the device is able to provide extended RSC information. When the feature is active and 'gso_type' field in received packet is not GSO_NONE, the device reports number of coalesced packets in 'csum_start' field and number of duplicated acks in 'csum_off

Re: [PATCH 4.9 08/44] mmc: Kconfig: Enable CONFIG_MMC_SDHCI_IO_ACCESSORS

2019-01-29 Thread Georgi Djakov
On 1/29/19 13:36, Greg Kroah-Hartman wrote: > 4.9-stable review patch. If anyone has any objections, please let me know. > > -- > > commit 99d570da309813f67e9c741edeff55bafc6c1d5e upstream. > > Enable CONFIG_MMC_SDHCI_IO_ACCESSORS so that SDHC controller specific > register read

Re: [PATCH v3] HID: debug: fix the ring buffer implementation

2019-01-29 Thread Benjamin Tissoires
On Tue, Jan 29, 2019 at 11:58 AM Vladis Dronov wrote: > > Ring buffer implementation in hid_debug_event() and hid_debug_events_read() > is strange allowing lost or corrupted data. After commit 717adfdaf147 > ("HID: debug: check length before copy_to_user()") it is possible to enter > an infinite l

Re: [PATCH v2 3/9] irq/irq_sim: provide irq_sim_fire_type()

2019-01-29 Thread Uwe Kleine-König
On Tue, Jan 29, 2019 at 12:01:37PM +0100, Bartosz Golaszewski wrote: > wt., 29 sty 2019 o 10:07 Uwe Kleine-König > napisał(a): > > > > Hello Bartosz, > > > > On Tue, Jan 29, 2019 at 09:44:05AM +0100, Bartosz Golaszewski wrote: > > > -void irq_sim_fire(struct irq_sim *sim, unsigned int offset) > >

Re: [RFC net-next 1/4] net: Reserve protocol identifiers for EnOcean

2019-01-29 Thread Alexander Aring
Hi, On Tue, Jan 29, 2019 at 06:01:27AM +0100, Andreas Färber wrote: > EnOcean wireless technology is based on ASK (ERP1) and FSK (ERP2) modulations > for sub-GHz and on IEEE 802.15.4 for 2.4 GHz. > I am not sure what you try to do here. If I see that correctly you want to add for some special pr

Re: [PATCH] perf tools: Filter out hidden symbols from labels

2019-01-29 Thread Nick Clifton
Hi Arnaldo, >> Sorry - I do not think that I have the authority to do that. I am not a >> perftools maintainer (or a kernel maintainer). For what it is worth the >> patch does look good to me, but I think that a real maintainer needs to >> approve it. > > Ok, I was more thinking about this pa

Re: [PATCH] perf tools: Filter out hidden symbols from labels

2019-01-29 Thread Nick Clifton
Hi Arnaldo, [oops- hit send by mistake...] >> Sorry - I do not think that I have the authority to do that. I am not a > Ok, I was more thinking about this part of > Documentation/process/submittingpatches.txt: > > > Acked-by: is not as formal as Signed-off-by:.

[PATCH] btrfs: relocation: fix unused variable

2019-01-29 Thread Anders Roxell
When CONFIG_BRTFS_ASSERT isn't enabled, variable root_objectid isn't used. fs/btrfs/relocation.c: In function ‘insert_dirty_subv’: fs/btrfs/relocation.c:2138:6: warning: unused variable ‘root_objectid’ [-Wunused-variable] u64 root_objectid = root->root_key.objectid; ^ Reworke

Re: WARN_ON_ONCE(!new_owner) within wake_futex_pi() triggered

2019-01-29 Thread Thomas Gleixner
On Tue, 29 Jan 2019, Peter Zijlstra wrote: > On Tue, Jan 29, 2019 at 11:24:09AM +0100, Heiko Carstens wrote: > > > Yes, sure. However ;) I reproduced the above with v5.0-rc4 + your > > patch. And now I am trying to reproduce with linux-next 20190129 + > > your patch and i

Re: [PATCH][RFC] module: Cure the MODULE_LICENSE "GPL" vs. "GPL v2" bogosity

2019-01-29 Thread Jessica Yu
+++ Thomas Gleixner [28/01/19 23:38 +0100]: The original MODULE_LICENSE string for kernel modules licensed under the GPL v2 (only / or later) was simply "GPL", which was - and still is - completely sufficient for the purpose of module loading and checking whether the module is free software or pr

Re: [PATCH v6 11/13] KVM: s390: add functions to (un)register GISC with GISA

2019-01-29 Thread Cornelia Huck
On Thu, 24 Jan 2019 13:59:37 +0100 Michael Mueller wrote: > Add the Interruption Alert Mask (IAM) to the architecture specific > kvm struct. This mask in the GISA is used to define for which ISC > a GIB alert will be issued. > > The functions kvm_s390_gisc_register() and kvm_s390_gisc_unregister

Re: [PATCH v9 1/3] Bluetooth: hci_qca: use wait_until_sent() for power pulses

2019-01-29 Thread Balakrishna Godavarthi
Hi Matthias, On 2019-01-28 23:17, Matthias Kaehlcke wrote: On Mon, Jan 28, 2019 at 07:19:56PM +0530, Balakrishna Godavarthi wrote: Hi Matthias, On 2019-01-25 06:44, Matthias Kaehlcke wrote: > On Thu, Jan 24, 2019 at 05:38:06PM +0530, Balakrishna Godavarthi wrote: > > wcn3990 requires a power p

[PATCH] arm64: fix potential deadlock in arm64-provide-pseudo-NMI-with-GICv3

2019-01-29 Thread Wei Li
In some exception handlers, the interrupt is not reenabled by daifclr at first. The later process may call local_irq_enable() to enable the interrupt, like gic_handle_irq(). As we known, function local_irq_enable() just change the pmr now. The following codes what i found may cause a deadlock or s

Re: [PATCH v3 0/3] Add reset driver support for ZynqMP

2019-01-29 Thread Michal Simek
On 25. 01. 19 8:46, Nava kishore Manne wrote: > Nava kishore Manne (3): > firmware: xilinx: Add reset API's > dt-bindings: reset: Add bindings for ZynqMP reset driver > reset: reset-zynqmp: Adding support for Xilinx zynqmp reset > controller. > > .../bindings/reset/xlnx,zynqmp-reset.txt

Re: [PATCH v5 2/3] firmware: xilinx: Implement ZynqMP power management APIs

2019-01-29 Thread Michal Simek
On 14. 01. 19 20:22, Jolly Shah wrote: > From: Rajan Vaja > > Add Xilinx ZynqMP firmware APIs to set suspend mode > and inform firmware that master has initialized its > own power management. > > Signed-off-by: Rajan Vaja > Signed-off-by: Jolly Shah > --- > drivers/firmware/xilinx/zynqmp.c

Re: [PATCH v3 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-29 Thread Hans Verkuil
Hi Tomasz, Just one typo and a wrong year in a copyright: On 1/24/19 11:04 AM, Tomasz Figa wrote: > Due to complexity of the video decoding process, the V4L2 drivers of > stateful decoder hardware require specific sequences of V4L2 API calls > to be followed. These include capability enumeration,

Re: [PATCH 0/2] mm, memory_hotplug: fix uninitialized pages fallouts.

2019-01-29 Thread Gerald Schaefer
On Mon, 28 Jan 2019 15:45:04 +0100 Michal Hocko wrote: > Hi, > Mikhail has posted fixes for the two bugs quite some time ago [1]. I > have pushed back on those fixes because I believed that it is much > better to plug the problem at the initialization time rather than play > whack-a-mole all over

Re: [RESEND BUG REPORT] System hung! Due to ftrace or KASAN?

2019-01-29 Thread Dmitry Vyukov
On Tue, Jan 29, 2019 at 1:27 AM Andrew Morton wrote: > > On Mon, 21 Jan 2019 10:36:25 +0100 Dmitry Vyukov wrote: > > > > Thanks Dmitry! I'll try to test this commit tomorrow. > > > > > > BTW, I have bisect-ed and tested for this issue today. Finally it turned > > > out > > > that > > > b

Re: [PATCH v3 6/7] arm64: dts: xilinx: ultra96: Standardize LED labels and triggers

2019-01-29 Thread Michal Simek
On 24. 01. 19 17:49, Rob Herring wrote: > On Fri, Dec 21, 2018 at 12:51 AM Michal Simek wrote: >> >> On 21. 12. 18 3:37, Manivannan Sadhasivam wrote: >>> On Mon, Oct 29, 2018 at 03:12:44PM +0530, Manivannan Sadhasivam wrote: For all 96Boards, the following standard is used for onboard LEDs. >

Re: devicetree: media: Documentation of Bt.656 Bus DT bindings

2019-01-29 Thread Sakari Ailus
Hi Ken, Hans, On Mon, Jan 28, 2019 at 02:11:54PM +0100, Hans Verkuil wrote: > +Sakari Thanks for cc'ing me! > > On 1/24/19 3:53 AM, Ken Sloat wrote: > > There are a number of v4l2 subdevices in the kernel that support a > > Bt.656 bus also known as "embedded sync." Previously in older versions

Re: Getting weird TPM error after rebasing my tree to security/next-general

2019-01-29 Thread Jarkko Sakkinen
On Thu, Jan 24, 2019 at 07:43:30AM +1300, Linus Torvalds wrote: > On Thu, Jan 24, 2019 at 4:36 AM Jarkko Sakkinen > wrote: > > > > > > Is it just that this particular hardware always happened to trigger > > > the ERMS case (ie "rep movsb")? > > > > This is the particular snippet in question: > > >

Re: [PATCH 10/13] gpio: max77650: add GPIO support

2019-01-29 Thread Bartosz Golaszewski
wt., 29 sty 2019 o 12:00 Bartosz Golaszewski napisał(a): > > czw., 24 sty 2019 o 11:30 Linus Walleij napisał(a): > > > > On Mon, Jan 21, 2019 at 6:07 PM Bartosz Golaszewski wrote: > > > > > Thank you for your review. While I think you're right about the issue > > > being present in this driver,

Re: WARN_ON_ONCE(!new_owner) within wake_futex_pi() triggered

2019-01-29 Thread Heiko Carstens
; > patch. And now I am trying to reproduce with linux-next 20190129 + > > > your patch and it doesn't trigger. Did I miss a patch which is only in > > > linux-next which could fix this? > > > > > > > I'm forever confused on what patch is where

Re: [PATCH v6 07/13] KVM: s390: introduce struct kvm_s390_gisa_interrupt

2019-01-29 Thread Cornelia Huck
On Mon, 28 Jan 2019 17:50:54 +0100 Halil Pasic wrote: > On Thu, 24 Jan 2019 13:59:33 +0100 > Michael Mueller wrote: > > > Use this struct analog to the kvm interruption structs > > for kvm emulated floating and local interruptions. > > Further fields will be added with this series as > > requir

Re: [PATCHv5 6/7] coresight: debug: Add Unique Component Identifier (UCI) table

2019-01-29 Thread Leo Yan
On Tue, Jan 29, 2019 at 12:44:03AM +0530, Sai Prakash Ranjan wrote: > Add UCI table and a helper macro for coresight CPU debug > module. This patch adds the UCI entries for Krypo CPUs > found on MSM8996 which shares the same PIDs as ETMs. > > Without this, below error is observed on MSM8996: > >

[PATCH v2] perf mem/c2c: Fix perf_mem_events to support powerpc

2019-01-29 Thread Ravi Bangoria
Powerpc hw does not have inbuilt latency filter (--ldlat) for mem-load event and, perf_mem_events by default includes ldlat=30 which is causing failure on powerpc. Refactor code to support perf mem/c2c on powerpc. This patch depends on kernel side changes done my Madhavan: https://lists.ozlabs.org

[PATCH 3/5] RDMA/uverbs: add owner parameter to ib_umem_get

2019-01-29 Thread Joel Nider
ib_umem_get is a core function used by drivers that support RDMA. The 'owner' parameter signifies the process that owns the memory. Until now, it was assumed that the owning process was the current process. This adds the flexibility to specify a process other than the current process. All drivers t

[PATCH 1/5] mm: add get_user_pages_remote_longterm function

2019-01-29 Thread Joel Nider
In order to support the RDMA reg_remote_mr function, we must have the ability to get memory pages for an indeterminate amount of time from a remote process. In this case, 'remote' simply means a process that is different from the caller. Functions for getting longterm pages (get_user_pages_longterm

Re: [PATCH v6 12/13] KVM: s390: add gib_alert_irq_handler()

2019-01-29 Thread Halil Pasic
On Thu, 24 Jan 2019 13:59:38 +0100 Michael Mueller wrote: > The patch implements a handler for GIB alert interruptions > on the host. Its task is to alert guests that interrupts are > pending for them. > > A GIB alert interrupt statistic counter is added as well: > > $ cat /proc/interrupts >

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