Fair Labour OS

2019-02-28 Thread Ywe Cærlyn
You should indeed consider our Fair Labour philosophy, Fair Labour already established by law in the US, and many places, and "Deal Justly" decreed in The Quran. Indeed as Pingu wants fresh fish in the town market, many want Fair Labour on Available Source, and it is a perfect synergy with the

[PATCH AUTOSEL 4.20 48/81] bpf: fix potential deadlock in bpf_prog_register

2019-02-28 Thread Sasha Levin
From: Alexei Starovoitov [ Upstream commit e16ec34039c701594d55d08a5aa49ee3e1abc821 ] Lockdep found a potential deadlock between cpu_hotplug_lock, bpf_event_mutex, and cpuctx_mutex: [ 13.007000] WARNING: possible circular locking dependency detected [ 13.007587]

[PATCH AUTOSEL 4.20 49/81] bpf: Fix syscall's stackmap lookup potential deadlock

2019-02-28 Thread Sasha Levin
From: Martin KaFai Lau [ Upstream commit 7c4cd051add3d00bbff008a133c936c515eaa8fe ] The map_lookup_elem used to not acquiring spinlock in order to optimize the reader. It was true until commit 557c0c6e7df8 ("bpf: convert stackmap to pre-allocation") The syscall's map_lookup_elem(stackmap)

[PATCH AUTOSEL 4.20 63/81] s390/qeth: cancel close_dev work before removing a card

2019-02-28 Thread Sasha Levin
From: Julian Wiedmann [ Upstream commit c2780c1a3fb724560b1d44f7976e0de17bf153c7 ] A card's close_dev work is scheduled on a driver-wide workqueue. If the card is removed and freed while the work is still active, this causes a use-after-free. So make sure that the work is completed before

[PATCH AUTOSEL 4.20 57/81] selftests: netfilter: fix config fragment CONFIG_NF_TABLES_INET

2019-02-28 Thread Sasha Levin
From: Naresh Kamboju [ Upstream commit 952b72f89ae23b316da8c1021b18d0c388ad6cc4 ] In selftests the config fragment for netfilter was added as NF_TABLES_INET=y and this patch correct it as CONFIG_NF_TABLES_INET=y Signed-off-by: Naresh Kamboju Acked-by: Florian Westphal Signed-off-by: Pablo

[PATCH AUTOSEL 4.20 52/81] drm/sun4i: tcon: Prepare and enable TCON channel 0 clock at init

2019-02-28 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit b14e945bda8ae227d1bf2b1837c0c4a61721cd1a ] When initializing clocks, a reference to the TCON channel 0 clock is obtained. However, the clock is never prepared and enabled later. Switching from simplefb to DRM actually disables the clock (that was

[PATCH AUTOSEL 4.20 55/81] vsock/virtio: reset connected sockets on device removal

2019-02-28 Thread Sasha Levin
From: Stefano Garzarella [ Upstream commit 85965487abc540368393a15491e6e7fcd230039d ] When the virtio transport device disappear, we should reset all connected sockets in order to inform the users. Signed-off-by: Stefano Garzarella Reviewed-by: Stefan Hajnoczi Signed-off-by: David S. Miller

[PATCH AUTOSEL 4.20 56/81] dmaengine: dmatest: Abort test in case of mapping error

2019-02-28 Thread Sasha Levin
From: Andy Shevchenko [ Upstream commit 6454368a804c4955ccd116236037536f81e5b1f1 ] In case of mapping error the DMA addresses are invalid and continuing will screw system memory or potentially something else. [ 222.480310] dmatest: dma0chan7-copy0: summary 1 tests, 3 failures 6 iops 349 KB/s

[PATCH AUTOSEL 4.20 65/81] perf symbols: Filter out hidden symbols from labels

2019-02-28 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 59a17706915fe5ea6f711e1f92d4fb706bce07fe ] When perf is built with the annobin plugin (RHEL8 build) extra symbols are added to its binary: # nm perf | grep annobin | head -10 00241100 t .annobin_annotate.c 00326490 t .annobin_annotate.c

[PATCH AUTOSEL 4.20 67/81] MIPS: Loongson: Introduce and use loongson_llsc_mb()

2019-02-28 Thread Sasha Levin
From: Huacai Chen [ Upstream commit e02e07e3127d8aec1f4bcdfb2fc52a2d99b4859e ] On the Loongson-2G/2H/3A/3B there is a hardware flaw that ll/sc and lld/scd is very weak ordering. We should add sync instructions "before each ll/lld" and "at the branch-target between ll/sc" to workaround.

[PATCH AUTOSEL 4.20 68/81] MIPS: Remove function size check in get_frame_info()

2019-02-28 Thread Sasha Levin
From: Jun-Ru Chang [ Upstream commit 2b424cfc69728224fcb5fad138ea7260728e0901 ] Patch (b6c7a324df37b "MIPS: Fix get_frame_info() handling of microMIPS function size.") introduces additional function size check for microMIPS by only checking insn between ip and ip + func_size. However, func_size

[PATCH AUTOSEL 4.20 74/81] drm/omap: dsi: Hack-fix DSI bus flags

2019-02-28 Thread Sasha Levin
From: Tomi Valkeinen [ Upstream commit 6297388e1eddd2f1345cea5892156223995bcf2d ] Since commit b4935e3a3cfa ("drm/omap: Store bus flags in the omap_dss_device structure") video mode flags are managed by the omapdss (and later omapdrm) core based on bus flags stored in omap_dss_device. This

[PATCH AUTOSEL 4.20 66/81] perf trace: Support multiple "vfs_getname" probes

2019-02-28 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit 6ab3bc240ade47a0f52bc16d97edd9accbe0024e ] With a suitably defined "probe:vfs_getname" probe, 'perf trace' can "beautify" its output, so syscalls like open() or openat() can print the "filename" argument instead of just its hex address, like:

[PATCH AUTOSEL 4.20 73/81] drm/omap: dsi: Fix OF platform depopulate

2019-02-28 Thread Sasha Levin
From: Tomi Valkeinen [ Upstream commit 0940c52742de0d2f70ba687bfd5fe8aa38c5f27d ] Commit edb715dffdee ("drm/omap: dss: dsi: Move initialization code from bind to probe") moved the of_platform_populate() call from dsi_bind() to dsi_probe(), but failed to move the corresponding

[PATCH AUTOSEL 4.20 69/81] Revert "scsi: libfc: Add WARN_ON() when deleting rports"

2019-02-28 Thread Sasha Levin
From: Ross Lagerwall [ Upstream commit d8f6382a7d026989029e2e50c515df954488459b ] This reverts commit bbc0f8bd88abefb0f27998f40a073634a3a2db89. It added a warning whose intent was to check whether the rport was still linked into the peer list. It doesn't work as intended and gives false

[PATCH AUTOSEL 4.19 13/64] bpftool: Fix prog dump by tag

2019-02-28 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 752bcf80f5549c9901b2e8bc77b2138de55b1026 ] Lance reported an issue with bpftool not being able to dump program if there are more programs loaded and you want to dump any but the first program, like: # bpftool prog 28: kprobe name trace_req_start tag

[PATCH AUTOSEL 4.19 17/64] arm64: dts: add msm8996 compatible to gicv3

2019-02-28 Thread Sasha Levin
From: Srinivas Kandagatla [ Upstream commit 2a81efb0de0e33f2d2c83154af0bd3ce389b3269 ] Add compatible to gicv3 node to enable quirk required to restrict writing to GICR_WAKER register which is restricted on msm8996 SoC in Hypervisor. With this quirk MSM8996 can at least boot out of mainline,

[PATCH AUTOSEL 4.19 12/64] wlcore: sdio: Fixup power on/off sequence

2019-02-28 Thread Sasha Levin
From: Ulf Hansson [ Upstream commit 13e62626c578d9889ebbda7c521be5adff9bef8e ] During "wlan-up", we are programming the FW into the WiFi-chip. However, re-programming the FW doesn't work, unless a power cycle of the WiFi-chip is made in-between the programmings. To conform to this requirement

[PATCH AUTOSEL 4.19 01/64] ARM: OMAP: dts: N950/N9: fix onenand timings

2019-02-28 Thread Sasha Levin
From: Aaro Koskinen [ Upstream commit 8443e4843e1c2594bf5664e1d993a1be71d1befb ] Commit a758f50f10cf ("mtd: onenand: omap2: Configure driver from DT") started using DT specified timings for GPMC, and as a result the OneNAND stopped working on N950/N9 as we had wrong values in the DT. Fix by

Re: [PATCH 6/8] i915,uaccess: Fix redundant CLAC

2019-02-28 Thread Chris Wilson
Quoting Peter Zijlstra (2019-02-28 14:54:56) > drivers/gpu/drm/i915/i915_gem_execbuffer.o: warning: objtool: > .altinstr_replacement+0x3c: redundant UACCESS disable > drivers/gpu/drm/i915/i915_gem_execbuffer.o: warning: objtool: > .altinstr_replacement+0x66: redundant UACCESS disable > > AKA.

[PATCH AUTOSEL 4.19 15/64] bpf: sock recvbuff must be limited by rmem_max in bpf_setsockopt()

2019-02-28 Thread Sasha Levin
From: Yafang Shao [ Upstream commit c9e4576743eeda8d24dedc164d65b78877f9a98c ] When sock recvbuff is set by bpf_setsockopt(), the value must by limited by rmem_max. It is the same with sendbuff. Fixes: 8c4b4c7e9ff0 ("bpf: Add setsockopt helper function to bpf") Signed-off-by: Yafang Shao

[PATCH AUTOSEL 4.19 07/64] ARM: dts: imx6sx: correct backward compatible of gpt

2019-02-28 Thread Sasha Levin
From: Anson Huang [ Upstream commit ba0f4560526ba19300c07ed5a3c1df7592815dc6 ] i.MX6SX has same GPT type as i.MX6DL, in GPT driver, it uses below TIMER_OF_DECLARE, so the backward compatible should be "fsl,imx6dl-gpt", correct it. TIMER_OF_DECLARE(imx6sx_timer, "fsl,imx6sx-gpt",

[PATCH AUTOSEL 4.20 81/81] blk-iolatency: fix IO hang due to negative inflight counter

2019-02-28 Thread Sasha Levin
From: Liu Bo [ Upstream commit 8c772a9bfc7c07c76f4a58b58910452fbb20843b ] Our test reported the following stack, and vmcore showed that ->inflight counter is -1. [c9003fcc38d0] __schedule at 8173d95d [c9003fcc3958] schedule at 8173de26 [c9003fcc3970] io_schedule at

[PATCH AUTOSEL 4.19 16/64] ARM: pxa: ssp: unneeded to free devm_ allocated data

2019-02-28 Thread Sasha Levin
From: Peng Hao [ Upstream commit ba16adeb346387eb2d1ada69003588be96f098fa ] devm_ allocated data will be automatically freed. The free of devm_ allocated data is invalid. Fixes: 1c459de1e645 ("ARM: pxa: ssp: use devm_ functions") Signed-off-by: Peng Hao [title's prefix changed] Signed-off-by:

[PATCH AUTOSEL 4.19 10/64] soc: fsl: qbman: avoid race in clearing QMan interrupt

2019-02-28 Thread Sasha Levin
From: Madalin Bucur [ Upstream commit 89857a8a5c89a406b967ab2be7bd2ccdbe75e73d ] By clearing all interrupt sources, not only those that already occurred, the existing code may acknowledge by mistake interrupts that occurred after the code checks for them. Signed-off-by: Madalin Bucur

[PATCH AUTOSEL 4.19 35/64] bpf, selftests: fix handling of sparse CPU allocations

2019-02-28 Thread Sasha Levin
From: Martynas Pumputis [ Upstream commit 1bb54c4071f585ebef56ce8fdfe6026fa2cbcddd ] Previously, bpf_num_possible_cpus() had a bug when calculating a number of possible CPUs in the case of sparse CPU allocations, as it was considering only the first range or element of

[PATCH AUTOSEL 4.19 31/64] net: stmmac: Disable EEE mode earlier in XMIT callback

2019-02-28 Thread Sasha Levin
From: Jose Abreu [ Upstream commit e2cd682deb231ba6f80524bb84e57e7138261149 ] In stmmac xmit callback we use a different flow for TSO packets but TSO xmit callback is not disabling the EEE mode. Fix this by disabling earlier the EEE mode, i.e. before calling the TSO xmit callback.

[PATCH AUTOSEL 4.19 26/64] debugfs: return error values, not NULL

2019-02-28 Thread Sasha Levin
From: Greg Kroah-Hartman [ Upstream commit ff9fb72bc07705c00795ca48631f7fffe24d2c6b ] When an error happens, debugfs should return an error pointer value, not NULL. This will prevent the totally theoretical error where a debugfs call fails due to lack of memory, returning NULL, and that dentry

[PATCH AUTOSEL 4.19 28/64] drm/amdgpu: Transfer fences to dmabuf importer

2019-02-28 Thread Sasha Levin
From: Chris Wilson [ Upstream commit 6e11ea9de9576a644045ffdc2067c09bc2012eda ] amdgpu only uses shared-fences internally, but dmabuf importers rely on implicit write hazard tracking via the reservation_object.fence_excl. For example, the importer use the write hazard for timing a page flip to

[PATCH AUTOSEL 4.19 23/64] irqchip/mmp: Only touch the PJ4 IRQ & FIQ bits on enable/disable

2019-02-28 Thread Sasha Levin
From: Lubomir Rintel [ Upstream commit 2380a22b60ce6f995eac806e69c66e397b59d045 ] Resetting bit 4 disables the interrupt delivery to the "secure processor" core. This breaks the keyboard on a OLPC XO 1.75 laptop, where the firmware running on the "secure processor" bit-bangs the PS/2 protocol

[PATCH AUTOSEL 4.19 27/64] debugfs: debugfs_lookup() should return NULL if not found

2019-02-28 Thread Sasha Levin
From: Greg Kroah-Hartman [ Upstream commit 37ea7b630ae5cdea4e8ff381d9d23abfef5939e6 ] Lots of callers of debugfs_lookup() were just checking NULL to see if the file/directory was found or not. By changing this in ff9fb72bc077 ("debugfs: return error values, not NULL") we caused some subsystems

[PATCH AUTOSEL 4.19 43/64] dmaengine: dmatest: Abort test in case of mapping error

2019-02-28 Thread Sasha Levin
From: Andy Shevchenko [ Upstream commit 6454368a804c4955ccd116236037536f81e5b1f1 ] In case of mapping error the DMA addresses are invalid and continuing will screw system memory or potentially something else. [ 222.480310] dmatest: dma0chan7-copy0: summary 1 tests, 3 failures 6 iops 349 KB/s

[PATCH AUTOSEL 4.19 38/64] bpf: Fix syscall's stackmap lookup potential deadlock

2019-02-28 Thread Sasha Levin
From: Martin KaFai Lau [ Upstream commit 7c4cd051add3d00bbff008a133c936c515eaa8fe ] The map_lookup_elem used to not acquiring spinlock in order to optimize the reader. It was true until commit 557c0c6e7df8 ("bpf: convert stackmap to pre-allocation") The syscall's map_lookup_elem(stackmap)

[PATCH AUTOSEL 4.19 41/64] vsock/virtio: fix kernel panic after device hot-unplug

2019-02-28 Thread Sasha Levin
From: Stefano Garzarella [ Upstream commit 22b5c0b63f32568e130fa2df4ba23efce3eb495b ] virtio_vsock_remove() invokes the vsock_core_exit() also if there are opened sockets for the AF_VSOCK protocol family. In this way the vsock "transport" pointer is set to NULL, triggering the kernel panic at

[PATCH AUTOSEL 4.19 44/64] selftests: netfilter: fix config fragment CONFIG_NF_TABLES_INET

2019-02-28 Thread Sasha Levin
From: Naresh Kamboju [ Upstream commit 952b72f89ae23b316da8c1021b18d0c388ad6cc4 ] In selftests the config fragment for netfilter was added as NF_TABLES_INET=y and this patch correct it as CONFIG_NF_TABLES_INET=y Signed-off-by: Naresh Kamboju Acked-by: Florian Westphal Signed-off-by: Pablo

[PATCH AUTOSEL 4.19 42/64] vsock/virtio: reset connected sockets on device removal

2019-02-28 Thread Sasha Levin
From: Stefano Garzarella [ Upstream commit 85965487abc540368393a15491e6e7fcd230039d ] When the virtio transport device disappear, we should reset all connected sockets in order to inform the users. Signed-off-by: Stefano Garzarella Reviewed-by: Stefan Hajnoczi Signed-off-by: David S. Miller

[PATCH AUTOSEL 4.19 39/64] drm/sun4i: tcon: Prepare and enable TCON channel 0 clock at init

2019-02-28 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit b14e945bda8ae227d1bf2b1837c0c4a61721cd1a ] When initializing clocks, a reference to the TCON channel 0 clock is obtained. However, the clock is never prepared and enabled later. Switching from simplefb to DRM actually disables the clock (that was

RE: [PATCH v3] cfi: fix deadloop in cfi_cmdset_0002.c do_write_buffer

2019-02-28 Thread liujian (CE)
> -Original Message- > From: Tokunori Ikegami [mailto:ikegam...@gmail.com] > Sent: Thursday, February 28, 2019 10:26 PM > To: liujian (CE) ; dw...@infradead.org; > computersforpe...@gmail.com; bbrezil...@kernel.org; > marek.va...@gmail.com; rich...@nod.at; joakim.tjernl...@infinera.com;

[PATCH AUTOSEL 4.19 47/64] arm64: ptdump: Don't iterate kernel page tables using PTRS_PER_PXX

2019-02-28 Thread Sasha Levin
From: Will Deacon [ Upstream commit d23c808c6fc6132e812690648e14c0d6b0cbe273 ] When 52-bit virtual addressing is enabled for userspace (CONFIG_ARM64_USER_VA_BITS_52=y), the kernel continues to utilise 48-bit virtual addressing in TTBR1. Consequently, PTRS_PER_PGD reflects the larger page table

Re: [PATCH v4 6/6] selftests/ftrace: Add user-memory access syntax testcase

2019-02-28 Thread Masami Hiramatsu
Hi, Oops, I forgot to Cc Shuah. I'll update a bit this series and send v5. Thanks, On Thu, 28 Feb 2019 21:33:00 +0900 Masami Hiramatsu wrote: > Add a user-memory access syntax testcase which checks > new user-memory access syntax and ustring type. > > Signed-off-by: Masami Hiramatsu > --- >

[PATCH AUTOSEL 4.19 51/64] perf symbols: Filter out hidden symbols from labels

2019-02-28 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 59a17706915fe5ea6f711e1f92d4fb706bce07fe ] When perf is built with the annobin plugin (RHEL8 build) extra symbols are added to its binary: # nm perf | grep annobin | head -10 00241100 t .annobin_annotate.c 00326490 t .annobin_annotate.c

[PATCH AUTOSEL 4.19 61/64] qed: Fix EQ full firmware assert.

2019-02-28 Thread Sasha Levin
From: Manish Chopra [ Upstream commit 660492bcf4a7561b5fdc13be0ae0b0c0a8c120be ] When slowpath messages are sent with high rate, the resulting events can lead to a FW assert in case they are not handled fast enough (Event Queue Full assert). Attempt to send queued slowpath messages only after

[PATCH AUTOSEL 4.19 53/64] MIPS: Loongson: Introduce and use loongson_llsc_mb()

2019-02-28 Thread Sasha Levin
From: Huacai Chen [ Upstream commit e02e07e3127d8aec1f4bcdfb2fc52a2d99b4859e ] On the Loongson-2G/2H/3A/3B there is a hardware flaw that ll/sc and lld/scd is very weak ordering. We should add sync instructions "before each ll/lld" and "at the branch-target between ll/sc" to workaround.

[PATCH AUTOSEL 4.19 52/64] perf trace: Support multiple "vfs_getname" probes

2019-02-28 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit 6ab3bc240ade47a0f52bc16d97edd9accbe0024e ] With a suitably defined "probe:vfs_getname" probe, 'perf trace' can "beautify" its output, so syscalls like open() or openat() can print the "filename" argument instead of just its hex address, like:

[PATCH AUTOSEL 4.19 54/64] MIPS: Remove function size check in get_frame_info()

2019-02-28 Thread Sasha Levin
From: Jun-Ru Chang [ Upstream commit 2b424cfc69728224fcb5fad138ea7260728e0901 ] Patch (b6c7a324df37b "MIPS: Fix get_frame_info() handling of microMIPS function size.") introduces additional function size check for microMIPS by only checking insn between ip and ip + func_size. However, func_size

[PATCH AUTOSEL 4.19 58/64] nvme: lock NS list changes while handling command effects

2019-02-28 Thread Sasha Levin
From: Keith Busch [ Upstream commit e7ad43c3eda6a1690c4c3c341f95dc1c6898da83 ] If a controller supports the NS Change Notification, the namespace scan_work is automatically triggered after attaching a new namespace. Occasionally the namespace scan_work may append the new namespace to the list

[PATCH AUTOSEL 4.14 07/36] DTS: CI20: Fix bugs in ci20's device tree.

2019-02-28 Thread Sasha Levin
From: Zhou Yanjie [ Upstream commit 1ca1c87f91d9dc50d6a38e2177b2032996e7901c ] According to the Schematic, the hardware of ci20 leads to uart3, but not to uart2. Uart2 is miswritten in the original code. Signed-off-by: Zhou Yanjie Signed-off-by: Paul Burton Cc: linux-mips Cc: linux-kernel

[PATCH AUTOSEL 4.14 06/36] arm64: dts: add msm8996 compatible to gicv3

2019-02-28 Thread Sasha Levin
From: Srinivas Kandagatla [ Upstream commit 2a81efb0de0e33f2d2c83154af0bd3ce389b3269 ] Add compatible to gicv3 node to enable quirk required to restrict writing to GICR_WAKER register which is restricted on msm8996 SoC in Hypervisor. With this quirk MSM8996 can at least boot out of mainline,

[PATCH AUTOSEL 4.14 25/36] selftests: netfilter: fix config fragment CONFIG_NF_TABLES_INET

2019-02-28 Thread Sasha Levin
From: Naresh Kamboju [ Upstream commit 952b72f89ae23b316da8c1021b18d0c388ad6cc4 ] In selftests the config fragment for netfilter was added as NF_TABLES_INET=y and this patch correct it as CONFIG_NF_TABLES_INET=y Signed-off-by: Naresh Kamboju Acked-by: Florian Westphal Signed-off-by: Pablo

[PATCH AUTOSEL 4.14 26/36] selftests: netfilter: add simple masq/redirect test cases

2019-02-28 Thread Sasha Levin
From: Florian Westphal [ Upstream commit 98bfc3414bda335dbd7fec58bde6266f991801d7 ] Check basic nat/redirect/masquerade for ipv4 and ipv6. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso Signed-off-by: Sasha Levin --- tools/testing/selftests/netfilter/Makefile | 2 +-

[PATCH AUTOSEL 4.14 23/36] vsock/virtio: reset connected sockets on device removal

2019-02-28 Thread Sasha Levin
From: Stefano Garzarella [ Upstream commit 85965487abc540368393a15491e6e7fcd230039d ] When the virtio transport device disappear, we should reset all connected sockets in order to inform the users. Signed-off-by: Stefano Garzarella Reviewed-by: Stefan Hajnoczi Signed-off-by: David S. Miller

[PATCH AUTOSEL 4.14 22/36] vsock/virtio: fix kernel panic after device hot-unplug

2019-02-28 Thread Sasha Levin
From: Stefano Garzarella [ Upstream commit 22b5c0b63f32568e130fa2df4ba23efce3eb495b ] virtio_vsock_remove() invokes the vsock_core_exit() also if there are opened sockets for the AF_VSOCK protocol family. In this way the vsock "transport" pointer is set to NULL, triggering the kernel panic at

[PATCH AUTOSEL 4.14 24/36] dmaengine: dmatest: Abort test in case of mapping error

2019-02-28 Thread Sasha Levin
From: Andy Shevchenko [ Upstream commit 6454368a804c4955ccd116236037536f81e5b1f1 ] In case of mapping error the DMA addresses are invalid and continuing will screw system memory or potentially something else. [ 222.480310] dmatest: dma0chan7-copy0: summary 1 tests, 3 failures 6 iops 349 KB/s

[PATCH AUTOSEL 4.14 12/36] net: stmmac: Fallback to Platform Data clock in Watchdog conversion

2019-02-28 Thread Sasha Levin
From: Jose Abreu [ Upstream commit 4ec5302fa906ec9d86597b236f62315bacdb9622 ] If we don't have DT then stmmac_clk will not be available. Let's add a new Platform Data field so that we can specify the refclk by this mean. This way we can still use the coalesce command in PCI based setups.

[PATCH AUTOSEL 4.14 14/36] net: stmmac: Disable EEE mode earlier in XMIT callback

2019-02-28 Thread Sasha Levin
From: Jose Abreu [ Upstream commit e2cd682deb231ba6f80524bb84e57e7138261149 ] In stmmac xmit callback we use a different flow for TSO packets but TSO xmit callback is not disabling the EEE mode. Fix this by disabling earlier the EEE mode, i.e. before calling the TSO xmit callback.

Re: [PATCH AUTOSEL 4.20 60/81] arm64: ptdump: Don't iterate kernel page tables using PTRS_PER_PXX

2019-02-28 Thread Will Deacon
On Thu, Feb 28, 2019 at 10:07:52AM -0500, Sasha Levin wrote: > From: Will Deacon > > [ Upstream commit d23c808c6fc6132e812690648e14c0d6b0cbe273 ] > > When 52-bit virtual addressing is enabled for userspace > (CONFIG_ARM64_USER_VA_BITS_52=y), the kernel continues to utilise 48-bit > virtual

[PATCH AUTOSEL 4.14 16/36] relay: check return of create_buf_file() properly

2019-02-28 Thread Sasha Levin
From: Greg Kroah-Hartman [ Upstream commit 2c1cf00eeacb784781cf1c9896b8af001246d339 ] If create_buf_file() returns an error, don't try to reference it later as a valid dentry pointer. This problem was exposed when debugfs started to return errors instead of just NULL for some calls when they

[PATCH AUTOSEL 4.14 18/36] bpf, selftests: fix handling of sparse CPU allocations

2019-02-28 Thread Sasha Levin
From: Martynas Pumputis [ Upstream commit 1bb54c4071f585ebef56ce8fdfe6026fa2cbcddd ] Previously, bpf_num_possible_cpus() had a bug when calculating a number of possible CPUs in the case of sparse CPU allocations, as it was considering only the first range or element of

[PATCH AUTOSEL 4.14 11/36] debugfs: debugfs_lookup() should return NULL if not found

2019-02-28 Thread Sasha Levin
From: Greg Kroah-Hartman [ Upstream commit 37ea7b630ae5cdea4e8ff381d9d23abfef5939e6 ] Lots of callers of debugfs_lookup() were just checking NULL to see if the file/directory was found or not. By changing this in ff9fb72bc077 ("debugfs: return error values, not NULL") we caused some subsystems

[PATCH AUTOSEL 4.14 28/36] s390/qeth: fix use-after-free in error path

2019-02-28 Thread Sasha Levin
From: Julian Wiedmann [ Upstream commit afa0c5904ba16d59b0454f7ee4c807dae350f432 ] The error path in qeth_alloc_qdio_buffers() that takes care of cleaning up the Output Queues is buggy. It first frees the queue, but then calls qeth_clear_outq_buffers() with that very queue struct. Make the

[PATCH AUTOSEL 4.14 31/36] MIPS: Loongson: Introduce and use loongson_llsc_mb()

2019-02-28 Thread Sasha Levin
From: Huacai Chen [ Upstream commit e02e07e3127d8aec1f4bcdfb2fc52a2d99b4859e ] On the Loongson-2G/2H/3A/3B there is a hardware flaw that ll/sc and lld/scd is very weak ordering. We should add sync instructions "before each ll/lld" and "at the branch-target between ll/sc" to workaround.

[PATCH AUTOSEL 4.14 29/36] perf symbols: Filter out hidden symbols from labels

2019-02-28 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 59a17706915fe5ea6f711e1f92d4fb706bce07fe ] When perf is built with the annobin plugin (RHEL8 build) extra symbols are added to its binary: # nm perf | grep annobin | head -10 00241100 t .annobin_annotate.c 00326490 t .annobin_annotate.c

Re: [PATCH] kvm: properly check debugfs dentry before using it

2019-02-28 Thread Paolo Bonzini
On 28/02/19 16:08, Greg Kroah-Hartman wrote: > debugfs can now report an error code if something went wrong instead of > just NULL. So if the return value is to be used as a "real" dentry, it > needs to be checked if it is an error before dereferencing it. > > This is now happening because of

[PATCH AUTOSEL 4.14 34/36] fs: ratelimit __find_get_block_slow() failure message.

2019-02-28 Thread Sasha Levin
From: Tetsuo Handa [ Upstream commit 43636c804df0126da669c261fc820fb22f62bfc2 ] When something let __find_get_block_slow() hit all_mapped path, it calls printk() for 100+ times per a second. But there is no need to print same message with such high frequency; it is just asking for stall

[PATCH AUTOSEL 4.14 33/36] i2c: omap: Use noirq system sleep pm ops to idle device for suspend

2019-02-28 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit c6e2bd956936d925748581e4d0294f10f1d92f2c ] We currently get the following error with pixcir_ts driver during a suspend resume cycle: omap_i2c 4802a000.i2c: controller timed out pixcir_ts 1-005c: pixcir_int_enable: can't read reg 0x34 : -110 pixcir_ts

[PATCH AUTOSEL 4.9 03/19] arm64: dts: add msm8996 compatible to gicv3

2019-02-28 Thread Sasha Levin
From: Srinivas Kandagatla [ Upstream commit 2a81efb0de0e33f2d2c83154af0bd3ce389b3269 ] Add compatible to gicv3 node to enable quirk required to restrict writing to GICR_WAKER register which is restricted on msm8996 SoC in Hypervisor. With this quirk MSM8996 can at least boot out of mainline,

[PATCH AUTOSEL 4.9 08/19] vsock/virtio: fix kernel panic after device hot-unplug

2019-02-28 Thread Sasha Levin
From: Stefano Garzarella [ Upstream commit 22b5c0b63f32568e130fa2df4ba23efce3eb495b ] virtio_vsock_remove() invokes the vsock_core_exit() also if there are opened sockets for the AF_VSOCK protocol family. In this way the vsock "transport" pointer is set to NULL, triggering the kernel panic at

[PATCH AUTOSEL 4.14 30/36] perf trace: Support multiple "vfs_getname" probes

2019-02-28 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit 6ab3bc240ade47a0f52bc16d97edd9accbe0024e ] With a suitably defined "probe:vfs_getname" probe, 'perf trace' can "beautify" its output, so syscalls like open() or openat() can print the "filename" argument instead of just its hex address, like:

Re: [PATCH v2] dt-bindings: hwmon: Add missing documentation for lm75

2019-02-28 Thread Rob Herring
On Tue, Feb 12, 2019 at 05:08:08PM +0530, Jagan Teki wrote: > Add missing dt-binding documentation for lm75 hwmon sensor. > > Signed-off-by: Jagan Teki > --- > Changes for v2: > - Add all compatible nodes available in lm75. > > .../devicetree/bindings/hwmon/lm75.txt| 37

[PATCH AUTOSEL 4.9 10/19] dmaengine: dmatest: Abort test in case of mapping error

2019-02-28 Thread Sasha Levin
From: Andy Shevchenko [ Upstream commit 6454368a804c4955ccd116236037536f81e5b1f1 ] In case of mapping error the DMA addresses are invalid and continuing will screw system memory or potentially something else. [ 222.480310] dmatest: dma0chan7-copy0: summary 1 tests, 3 failures 6 iops 349 KB/s

[PATCH AUTOSEL 4.9 11/19] selftests: netfilter: fix config fragment CONFIG_NF_TABLES_INET

2019-02-28 Thread Sasha Levin
From: Naresh Kamboju [ Upstream commit 952b72f89ae23b316da8c1021b18d0c388ad6cc4 ] In selftests the config fragment for netfilter was added as NF_TABLES_INET=y and this patch correct it as CONFIG_NF_TABLES_INET=y Signed-off-by: Naresh Kamboju Acked-by: Florian Westphal Signed-off-by: Pablo

[PATCH AUTOSEL 4.9 15/19] perf symbols: Filter out hidden symbols from labels

2019-02-28 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 59a17706915fe5ea6f711e1f92d4fb706bce07fe ] When perf is built with the annobin plugin (RHEL8 build) extra symbols are added to its binary: # nm perf | grep annobin | head -10 00241100 t .annobin_annotate.c 00326490 t .annobin_annotate.c

[PATCH AUTOSEL 4.9 13/19] netfilter: nf_nat: skip nat clash resolution for same-origin entries

2019-02-28 Thread Sasha Levin
From: Martynas Pumputis [ Upstream commit 4e35c1cb9460240e983a01745b5f29fe3a4d8e39 ] It is possible that two concurrent packets originating from the same socket of a connection-less protocol (e.g. UDP) can end up having different IP_CT_DIR_REPLY tuples which results in one of the packets being

[PATCH AUTOSEL 4.9 18/19] MIPS: Remove function size check in get_frame_info()

2019-02-28 Thread Sasha Levin
From: Jun-Ru Chang [ Upstream commit 2b424cfc69728224fcb5fad138ea7260728e0901 ] Patch (b6c7a324df37b "MIPS: Fix get_frame_info() handling of microMIPS function size.") introduces additional function size check for microMIPS by only checking insn between ip and ip + func_size. However, func_size

[PATCH AUTOSEL 4.4 4/8] dmaengine: dmatest: Abort test in case of mapping error

2019-02-28 Thread Sasha Levin
From: Andy Shevchenko [ Upstream commit 6454368a804c4955ccd116236037536f81e5b1f1 ] In case of mapping error the DMA addresses are invalid and continuing will screw system memory or potentially something else. [ 222.480310] dmatest: dma0chan7-copy0: summary 1 tests, 3 failures 6 iops 349 KB/s

Re: [PATCH AUTOSEL 4.19 59/64] nvme-pci: fix rapid add remove sequence

2019-02-28 Thread Keith Busch
On Thu, Feb 28, 2019 at 10:11:00AM -0500, Sasha Levin wrote: > From: Keith Busch > > [ Upstream commit 5c959d73dba6495ec01d04c206ee679d61ccb2b0 ] This patch was broken, so please make sure to include the one that fixes this: Upstream commit 4726bcf30fad37cc555cd9dcd6c73f2b2668c879

[PATCH AUTOSEL 3.18 1/5] ARM: pxa: ssp: unneeded to free devm_ allocated data

2019-02-28 Thread Sasha Levin
From: Peng Hao [ Upstream commit ba16adeb346387eb2d1ada69003588be96f098fa ] devm_ allocated data will be automatically freed. The free of devm_ allocated data is invalid. Fixes: 1c459de1e645 ("ARM: pxa: ssp: use devm_ functions") Signed-off-by: Peng Hao [title's prefix changed] Signed-off-by:

[PATCH AUTOSEL 4.4 5/8] s390/qeth: fix use-after-free in error path

2019-02-28 Thread Sasha Levin
From: Julian Wiedmann [ Upstream commit afa0c5904ba16d59b0454f7ee4c807dae350f432 ] The error path in qeth_alloc_qdio_buffers() that takes care of cleaning up the Output Queues is buggy. It first frees the queue, but then calls qeth_clear_outq_buffers() with that very queue struct. Make the

Re: [PATCH] dt-bindings: Add vendor prefix for feiyang

2019-02-28 Thread Rob Herring
On Tue, Feb 12, 2019 at 05:22:32PM +0530, Jagan Teki wrote: > Add vendor prefix for feiyang, known as > Shenzhen Fly Young Technology Co.,LTD. a known producer for LCD modules. > > Signed-off-by: Jagan Teki > --- > Note: notation about using 'feiyang' is based on the datasheet >

[PATCH AUTOSEL 3.18 2/5] irqchip/mmp: Only touch the PJ4 IRQ & FIQ bits on enable/disable

2019-02-28 Thread Sasha Levin
From: Lubomir Rintel [ Upstream commit 2380a22b60ce6f995eac806e69c66e397b59d045 ] Resetting bit 4 disables the interrupt delivery to the "secure processor" core. This breaks the keyboard on a OLPC XO 1.75 laptop, where the firmware running on the "secure processor" bit-bangs the PS/2 protocol

[PATCH AUTOSEL 4.4 8/8] MIPS: Remove function size check in get_frame_info()

2019-02-28 Thread Sasha Levin
From: Jun-Ru Chang [ Upstream commit 2b424cfc69728224fcb5fad138ea7260728e0901 ] Patch (b6c7a324df37b "MIPS: Fix get_frame_info() handling of microMIPS function size.") introduces additional function size check for microMIPS by only checking insn between ip and ip + func_size. However, func_size

[PATCH AUTOSEL 3.18 5/5] perf symbols: Filter out hidden symbols from labels

2019-02-28 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 59a17706915fe5ea6f711e1f92d4fb706bce07fe ] When perf is built with the annobin plugin (RHEL8 build) extra symbols are added to its binary: # nm perf | grep annobin | head -10 00241100 t .annobin_annotate.c 00326490 t .annobin_annotate.c

[PATCH AUTOSEL 3.18 3/5] dmaengine: dmatest: Abort test in case of mapping error

2019-02-28 Thread Sasha Levin
From: Andy Shevchenko [ Upstream commit 6454368a804c4955ccd116236037536f81e5b1f1 ] In case of mapping error the DMA addresses are invalid and continuing will screw system memory or potentially something else. [ 222.480310] dmatest: dma0chan7-copy0: summary 1 tests, 3 failures 6 iops 349 KB/s

[PATCH AUTOSEL 3.18 4/5] s390/qeth: fix use-after-free in error path

2019-02-28 Thread Sasha Levin
From: Julian Wiedmann [ Upstream commit afa0c5904ba16d59b0454f7ee4c807dae350f432 ] The error path in qeth_alloc_qdio_buffers() that takes care of cleaning up the Output Queues is buggy. It first frees the queue, but then calls qeth_clear_outq_buffers() with that very queue struct. Make the

[PATCH AUTOSEL 4.4 1/8] ARM: pxa: ssp: unneeded to free devm_ allocated data

2019-02-28 Thread Sasha Levin
From: Peng Hao [ Upstream commit ba16adeb346387eb2d1ada69003588be96f098fa ] devm_ allocated data will be automatically freed. The free of devm_ allocated data is invalid. Fixes: 1c459de1e645 ("ARM: pxa: ssp: use devm_ functions") Signed-off-by: Peng Hao [title's prefix changed] Signed-off-by:

[PATCH AUTOSEL 4.4 6/8] perf symbols: Filter out hidden symbols from labels

2019-02-28 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 59a17706915fe5ea6f711e1f92d4fb706bce07fe ] When perf is built with the annobin plugin (RHEL8 build) extra symbols are added to its binary: # nm perf | grep annobin | head -10 00241100 t .annobin_annotate.c 00326490 t .annobin_annotate.c

[PATCH AUTOSEL 4.4 2/8] irqchip/mmp: Only touch the PJ4 IRQ & FIQ bits on enable/disable

2019-02-28 Thread Sasha Levin
From: Lubomir Rintel [ Upstream commit 2380a22b60ce6f995eac806e69c66e397b59d045 ] Resetting bit 4 disables the interrupt delivery to the "secure processor" core. This breaks the keyboard on a OLPC XO 1.75 laptop, where the firmware running on the "secure processor" bit-bangs the PS/2 protocol

[PATCH AUTOSEL 4.4 3/8] dmaengine: at_xdmac: Fix wrongfull report of a channel as in use

2019-02-28 Thread Sasha Levin
From: Codrin Ciubotariu [ Upstream commit dc3f595b6617ebc0307e0ce151e8f2f2b2489b95 ] atchan->status variable is used to store two different information: - pass channel interrupts status from interrupt handler to tasklet; - channel information like whether it is cyclic or paused; This causes

[PATCH AUTOSEL 4.4 7/8] perf trace: Support multiple "vfs_getname" probes

2019-02-28 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit 6ab3bc240ade47a0f52bc16d97edd9accbe0024e ] With a suitably defined "probe:vfs_getname" probe, 'perf trace' can "beautify" its output, so syscalls like open() or openat() can print the "filename" argument instead of just its hex address, like:

[PATCH AUTOSEL 4.9 17/19] MIPS: Loongson: Introduce and use loongson_llsc_mb()

2019-02-28 Thread Sasha Levin
From: Huacai Chen [ Upstream commit e02e07e3127d8aec1f4bcdfb2fc52a2d99b4859e ] On the Loongson-2G/2H/3A/3B there is a hardware flaw that ll/sc and lld/scd is very weak ordering. We should add sync instructions "before each ll/lld" and "at the branch-target between ll/sc" to workaround.

[PATCH AUTOSEL 4.9 14/19] s390/qeth: fix use-after-free in error path

2019-02-28 Thread Sasha Levin
From: Julian Wiedmann [ Upstream commit afa0c5904ba16d59b0454f7ee4c807dae350f432 ] The error path in qeth_alloc_qdio_buffers() that takes care of cleaning up the Output Queues is buggy. It first frees the queue, but then calls qeth_clear_outq_buffers() with that very queue struct. Make the

Re: [PATCH v5 1/2] iio:temperature:max31856:Add device tree bind info

2019-02-28 Thread Patrick Havelange
On Thu, Feb 28, 2019 at 12:59 AM Rob Herring wrote: > > On Tue, Feb 26, 2019 at 04:02:13PM +0100, Patrick Havelange wrote: > > From: Paresh Chaudhary > > > > This patch added device tree binding info for MAX31856 driver. > > > > Signed-off-by: Paresh Chaudhary > > Signed-off-by: Matt Weber > >

[PATCH AUTOSEL 4.9 19/19] fs: ratelimit __find_get_block_slow() failure message.

2019-02-28 Thread Sasha Levin
From: Tetsuo Handa [ Upstream commit 43636c804df0126da669c261fc820fb22f62bfc2 ] When something let __find_get_block_slow() hit all_mapped path, it calls printk() for 100+ times per a second. But there is no need to print same message with such high frequency; it is just asking for stall

RE: [PATCH 03/11] regulator: da9055: Convert to use regulator_set/get_current_limit_regmap

2019-02-28 Thread Steve Twiss
On 28 February 2019 13:40, Axel Lin, > Subject: [PATCH 03/11] regulator: da9055: Convert to use > regulator_set/get_current_limit_regmap > > Use regulator_set/get_current_limit_regmap helpers to save some code. [...] > @@ -329,8 +298,8 @@ static const struct regulator_ops da9055_buck_ops = { >

[PATCH AUTOSEL 4.9 12/19] selftests: netfilter: add simple masq/redirect test cases

2019-02-28 Thread Sasha Levin
From: Florian Westphal [ Upstream commit 98bfc3414bda335dbd7fec58bde6266f991801d7 ] Check basic nat/redirect/masquerade for ipv4 and ipv6. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso Signed-off-by: Sasha Levin --- tools/testing/selftests/netfilter/Makefile | 2 +-

[PATCH AUTOSEL 4.9 16/19] perf trace: Support multiple "vfs_getname" probes

2019-02-28 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit 6ab3bc240ade47a0f52bc16d97edd9accbe0024e ] With a suitably defined "probe:vfs_getname" probe, 'perf trace' can "beautify" its output, so syscalls like open() or openat() can print the "filename" argument instead of just its hex address, like:

Re: [PATCH 1/8] dt-bindings: phy: Add Amlogic G12A USB2 PHY Bindings

2019-02-28 Thread Rob Herring
On Tue, 12 Feb 2019 16:14:06 +0100, Neil Armstrong wrote: > Add the Amlogic G12A Family USB2 OTG PHY Bindings > > Signed-off-by: Neil Armstrong > --- > .../bindings/phy/meson-g12a-usb2-phy.txt | 22 +++ > 1 file changed, 22 insertions(+) > create mode 100644 >

[PATCH AUTOSEL 4.9 05/19] irqchip/mmp: Only touch the PJ4 IRQ & FIQ bits on enable/disable

2019-02-28 Thread Sasha Levin
From: Lubomir Rintel [ Upstream commit 2380a22b60ce6f995eac806e69c66e397b59d045 ] Resetting bit 4 disables the interrupt delivery to the "secure processor" core. This breaks the keyboard on a OLPC XO 1.75 laptop, where the firmware running on the "secure processor" bit-bangs the PS/2 protocol

[PATCH AUTOSEL 4.9 06/19] drm/sun4i: tcon: Prepare and enable TCON channel 0 clock at init

2019-02-28 Thread Sasha Levin
From: Paul Kocialkowski [ Upstream commit b14e945bda8ae227d1bf2b1837c0c4a61721cd1a ] When initializing clocks, a reference to the TCON channel 0 clock is obtained. However, the clock is never prepared and enabled later. Switching from simplefb to DRM actually disables the clock (that was

Re: [PATCH 1/2 v2] kprobe: Do not use uaccess functions to access kernel memory that can fault

2019-02-28 Thread Joel Fernandes
On Thu, Feb 28, 2019 at 09:29:13PM +0900, Masami Hiramatsu wrote: > On Tue, 26 Feb 2019 10:24:47 -0500 > Joel Fernandes wrote: > > > On Fri, Feb 22, 2019 at 11:27:05AM -0800, Alexei Starovoitov wrote: > > > On Fri, Feb 22, 2019 at 09:43:14AM -0800, Linus Torvalds wrote: > > > > > > > > Then we

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