[PATCH 4.17 59/63] net: usb: asix: replace mii_nway_restart in resume path

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Couzens [ Upstream commit 5c968f48021a9b3faa61ac2543cfab32461c0e05 ] mii_nway_restart is not pm aware which results in a rtnl deadlock. Implement mii_nway_restart manual by setting

[PATCH 01/26] ARM: tegra: colibri_t30: enable broken-hpi on emmc

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Avoid eMMC issues by specifying broken-hpi. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index

[PATCH 02/26] ARM: tegra: colibri_t30: add local-mac-address property

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Add empty local-mac-address property to be filled in by boot loader (e.g. U-Boot). Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi

[PATCH 00/26] ARM: dts: tegra: colibri_t30: major revamp

2018-07-23 Thread Marcel Ziswiler
This series is a major overhaul for the Toradex Colibri T30 system on module. Marcel Ziswiler (26): ARM: tegra: colibri_t30: enable broken-hpi on emmc ARM: tegra: colibri_t30: add local-mac-address property ARM: tegra: colibri_t30: reorder host1x/hdmi properties ARM: tegra: colibri_t30:

[PATCH 4.17 62/63] cxl_getfile(): fix double-iput() on alloc_file() failures

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit d202797f480c0e5918e7642d6716cdc62b3ab5c9 upstream. Doing iput() after path_put() is wrong. Cc: sta...@vger.kernel.org Acked-by: Linus Torvalds Signed-off-by: Al Viro

Re: [PATCH v6 16/17] media: v4l2: async: Remove notifier subdevs array

2018-07-23 Thread Sakari Ailus
Hi Steve, Thanks for the update. On Mon, Jul 09, 2018 at 03:39:16PM -0700, Steve Longerbeam wrote: > All platform drivers have been converted to use > v4l2_async_notifier_add_subdev(), in place of adding > asd's to the notifier subdevs array. So the subdevs > array can now be removed from struct

Re: [PATCH v2 1/3] Revert "ARM: dts: imx7d: Invert legacy PCI irq mapping"

2018-07-23 Thread Leonard Crestez
On Fri, 2018-07-20 at 08:33 -0700, Andrey Smirnov wrote: > On Fri, Jul 20, 2018 at 5:48 AM Leonard Crestez > wrote: > > > > This reverts commit 1c86c9dd82f859b474474a7fee0d5195da2c9c1d. > > > > That commit followed the reference manual but unfortunately the imx7d > > manual is incorrect. > >

[PATCH 03/26] ARM: tegra: colibri_t30: reorder host1x/hdmi properties

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Reorder Host1x/HDMI properties. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index

[PATCH v5] clk: qcom: Add display clock controller driver for SDM845

2018-07-23 Thread Taniya Das
Add support for the display clock controller found on SDM845 based devices. This would allow display drivers to probe and control their clocks. Signed-off-by: Taniya Das --- drivers/clk/qcom/Kconfig | 10 + drivers/clk/qcom/Makefile| 1 + drivers/clk/qcom/dispcc-sdm845.c |

Re: [PATCH v3 3/3] dmaengine: imx-sdma: allocate max 20 bds for one transfer

2018-07-23 Thread Lucas Stach
Am Dienstag, den 24.07.2018, 01:46 +0800 schrieb Robin Gong: > If multi-bds used in one transfer, all bds should be consisten > memory.To easily follow it, enlarge the dma pool size into 20 bds, > and it will report error if the number of bds is over than 20. For > dmatest, the max count for

Re: [PATCH v2 13/19] mm/migrate: Use xchg instead of spinlock

2018-07-23 Thread Peter Zijlstra
On Wed, Jun 20, 2018 at 10:32:54PM +0530, Srikar Dronamraju wrote: > Currently resetting the migrate rate limit is under a spinlock. > The spinlock will only serialize the migrate rate limiting and something > similar can actually be achieved by a simpler xchg. You're again not explaining things

[PATCH v5] Add display clock controller driver for SDM845

2018-07-23 Thread Taniya Das
[v5] * Initialize pll config before assigining l/alpha values for pll configure. * Add module description. [v4] * Add comments for the RCGs/CBCRs using the CLK_GET_RATE_NOCACHE flag. [v3] * Move frequency table macro to common file, add the patch along to maintain dependency.

Re: [PATCH 0/6] vt: no blinking on console, 256/24-bit color improvements

2018-07-23 Thread Geert Uytterhoeven
Hi Adam, On Mon, Jul 23, 2018 at 12:42 PM Adam Borowski wrote: > On Mon, Jul 23, 2018 at 10:53:29AM +0200, Geert Uytterhoeven wrote: > > On Sat, Jul 21, 2018 at 11:39 PM Adam Borowski wrote: > > > Technically, every console can be made to blink by drawing/clearing > > > affected > > >

[PATCH v3 03/35] media: v4l: Add new 10-bit packed grayscale format

2018-07-23 Thread Todor Tomov
The new format will be called V4L2_PIX_FMT_Y10P. It is similar to the V4L2_PIX_FMT_SBGGR10P family formats but V4L2_PIX_FMT_Y10P is a grayscale format. Signed-off-by: Todor Tomov --- Documentation/media/uapi/v4l/pixfmt-y10p.rst | 33

[PATCH v3 02/35] media: v4l: Add new 2X8 10-bit grayscale media bus code

2018-07-23 Thread Todor Tomov
The code will be called MEDIA_BUS_FMT_Y10_2X8_PADHI_LE. It is similar to MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE but MEDIA_BUS_FMT_Y10_2X8_PADHI_LE describes grayscale data. Signed-off-by: Todor Tomov --- Documentation/media/uapi/v4l/subdev-formats.rst | 72 +

[PATCH v3 01/35] doc-rst: Add packed Bayer raw14 pixel formats

2018-07-23 Thread Todor Tomov
From: Sakari Ailus These formats are compressed 14-bit raw bayer formats with four different pixel orders. They are similar to 10-bit variants. The formats added by this patch are V4L2_PIX_FMT_SBGGR14P V4L2_PIX_FMT_SGBRG14P V4L2_PIX_FMT_SGRBG14P

Re: Making KASAN compatible with VMAP_STACK

2018-07-23 Thread Mark Rutland
On Mon, Jul 23, 2018 at 09:40:36AM +0200, Dmitry Vyukov wrote: > On Sun, Jul 22, 2018 at 7:52 PM, Andy Lutomirski wrote: > > Hi all- > > > > It would be really nice to make KASAN compatible with VMAP_STACK. > > Both are valuable memory debugging features, and the fact that you > > can't use both

[PATCH 3/4] mm: proc/pid/smaps: factor out common stats printing

2018-07-23 Thread Vlastimil Babka
To prepare for handling /proc/pid/smaps_rollup differently from /proc/pid/smaps factor out from show_smap() printing the parts of output that are common for both variants, which is the bulk of the gathered memory stats. Signed-off-by: Vlastimil Babka --- fs/proc/task_mmu.c | 51

Re: [PATCH v2 13/19] mm/migrate: Use xchg instead of spinlock

2018-07-23 Thread Srikar Dronamraju
> If you maybe write that like: > > if (time_after(jiffies, next_window) && > xchg(>numabalancing_migrate_nr_pages, 0UL)) { > > do { > next_window += interval; > } while (unlikely(time_after(jiffies, next_window))); > >

[PATCH 4/4] mm: proc/pid/smaps_rollup: convert to single value seq_file

2018-07-23 Thread Vlastimil Babka
The /proc/pid/smaps_rollup file is currently implemented via the m_start/m_next/m_stop seq_file iterators shared with the other maps files, that iterate over vma's. However, the rollup file doesn't print anything for each vma, only accumulate the stats. There are some issues with the current code

[PATCH 1/4] mm: /proc/pid/*maps remove is_pid and related wrappers

2018-07-23 Thread Vlastimil Babka
Commit b76437579d13 ("procfs: mark thread stack correctly in proc//maps") introduced differences between /proc/PID/maps and /proc/PID/task/TID/maps to mark thread stacks properly, and this was also done for smaps and numa_maps. However it didn't work properly and was ultimately removed by commit

[PATCH 2/4] mm: proc/pid/smaps: factor out mem stats gathering

2018-07-23 Thread Vlastimil Babka
To prepare for handling /proc/pid/smaps_rollup differently from /proc/pid/smaps factor out vma mem stats gathering from show_smap() - it will be used by both. Signed-off-by: Vlastimil Babka --- fs/proc/task_mmu.c | 55 ++ 1 file changed, 31

[PATCH 0/4] cleanups and refactor of /proc/pid/smaps*

2018-07-23 Thread Vlastimil Babka
The recent regression in /proc/pid/smaps made me look more into the code. Especially the issues with smaps_rollup reported in [1] as explained in Patch 4, which fixes them by refactoring the code. Patches 2 and 3 are preparations for that. Patch 1 is me realizing that there's a lot of boilerplate

Re: [PATCH v4 0/5] KVM: x86: hyperv: PV IPI support for Windows guests

2018-07-23 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Changes since v3 [Roman Kagan]: > - Don't use vcpu_id in kvm_make_vcpus_request_mask to avoid dealing with > sparse CPU masks. > - Create get_vcpu_idx_by_vpidx() and use it in get_vcpu_by_vpidx() and > kvm_hv_flush_tlb(). > > Using hypercall for sending IPIs is

Re: [PATCH] cpufreq: intel_pstate: Show different max frequency with turbo 3 and HWP

2018-07-23 Thread Rafael J. Wysocki
On Wednesday, July 18, 2018 11:51:59 PM CEST Srinivas Pandruvada wrote: > On HWP platforms with Turbo 3.0, the HWP capability max ratio shows the > maximum ratio of that core, which can be different than other cores. If > we show the correct maximum frequency in cpufreq sysfs via >

Re: [PATCH v2 3/5] mm/page_alloc: Optimize free_area_init_core

2018-07-23 Thread Oscar Salvador
On Mon, Jul 23, 2018 at 10:35:19AM +0200, Michal Hocko wrote: > No, I do not think this is much better. Why do we need to separate those > functions out? I think you are too focused on the current function > without a broader context. Think about it. We have two code paths. > Early initialization

Re: [PATCH] can.h: Fix can error class mask dir path

2018-07-23 Thread Marc Kleine-Budde
On 05/29/2018 10:26 PM, Dan Murphy wrote: > The CAN error masks header file is in the > include/uapi directory. > > Fix the path in the header to the correct location. > > Signed-off-by: Dan Murphy Applied to linux-can-next. Tnx, Marc -- Pengutronix e.K. | Marc Kleine-Budde

Re: INFO: task hung in fuse_reverse_inval_entry

2018-07-23 Thread Dmitry Vyukov
On Mon, Jul 23, 2018 at 2:12 PM, Miklos Szeredi wrote: > On Mon, Jul 23, 2018 at 10:11 AM, Dmitry Vyukov wrote: >> On Mon, Jul 23, 2018 at 9:59 AM, syzbot >> wrote: >>> Hello, >>> >>> syzbot found the following crash on: >>> >>> HEAD commit:d72e90f33aa4 Linux 4.18-rc6 >>> git tree:

Re: [RFC] Make need_resched() return true when rcu_urgent_qs requested

2018-07-23 Thread Paul E. McKenney
On Mon, Jul 23, 2018 at 10:08:59AM +0200, David Woodhouse wrote: > On Thu, 2018-07-19 at 10:09 -0700, Paul E. McKenney wrote: > > > > Of course, the real reason for the lack of fault on your part will not > > because I believe I found the bug elsewhere, but instead because I will > > be dropping

[PATCH 4.17 42/63] skbuff: Unconditionally copy pfmemalloc in __skb_clone()

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit e78bfb0751d4e312699106ba7efbed2bab1a53ca ] Commit 8b7008620b84 ("net: Don't copy pfmemalloc flag in __copy_skb_header()") introduced a different handling for

[PATCH 4.17 46/63] ptp: fix missing break in switch

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: "Gustavo A. R. Silva" [ Upstream commit 9ba8376ce1e2cbf4ce44f7e4bee1d0648e10d594 ] It seems that a *break* is missing in order to avoid falling through to the default case. Otherwise,

[PATCH 4.17 44/63] net/ipv6: Do not allow device only routes via the multipath API

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit b5d2d75e079a918be686957b1a8d2f6c5cc95a0a ] Eric reported that reverting the patch that fixed and simplified IPv6 multipath routes means reverting back to invalid

[PATCH 4.17 45/63] net: phy: fix flag masking in __set_phy_supported

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit df8ed346d4a806a6eef2db5924285e839604b3f9 ] Currently also the pause flags are removed from phydev->supported because they're not included in

[PATCH 4.17 40/63] net: diag: Dont double-free TCP_NEW_SYN_RECV sockets in tcp_abort

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Colitti [ Upstream commit acc2cf4e37174646a24cba42fa53c668b2338d4e ] When tcp_diag_destroy closes a TCP_NEW_SYN_RECV socket, it first frees it by calling

[PATCH 4.17 48/63] rhashtable: add restart routine in rhashtable_free_and_destroy()

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Taehee Yoo [ Upstream commit 0026129c8629265bfe5079c1e017fa8543796d9f ] rhashtable_free_and_destroy() cancels re-hash deferred work then walks and destroys elements. at this moment, some

[PATCH 4.17 21/63] ARC: mm: allow mprotect to make stack mappings executable

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit 93312b6da4df31e4102ce5420e6217135a16c7ea upstream. mprotect(EXEC) was failing for stack mappings as default vm flags was missing MAYEXEC. This was triggered by glibc test

[PATCH 4.17 43/63] net/ipv4: Set oif in fib_compute_spec_dst

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit e7372197e15856ec4ee66b668020a662994db103 ] Xin reported that icmp replies may not use the address on the device the echo request is received if the destination

[PATCH 4.17 36/63] ipv4: Return EINVAL when ping_group_range sysctl doesnt map to user ns

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks [ Upstream commit 70ba5b6db96ff7324b8cfc87e0d0383cf59c9677 ] The low and high values of the net.ipv4.ping_group_range sysctl were being silently forced to the default disabled

[PATCH 4.17 34/63] drm/nouveau: Avoid looping through fake MST connectors

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Lyude Paul commit 37afe55b4ae0600deafe7c0e0e658593c4754f1b upstream. When MST and atomic were introduced to nouveau, another structure that could contain a drm_connector embedded within it

[PATCH 4.17 38/63] ipv6: ila: select CONFIG_DST_CACHE

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann [ Upstream commit 83ed7d1fe2d2d4a11b30660dec20168bb473d9c1 ] My randconfig builds came across an old missing dependency for ILA: ERROR: "dst_cache_set_ip6"

[PATCH 4.17 37/63] ipv6: fix useless rol32 call on hash

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King [ Upstream commit 169dc027fb02492ea37a0575db6a658cf922b854 ] The rol32 call is currently rotating hash but the rol'd value is being discarded. I believe the current code is

[PATCH 4.17 31/63] Revert "drm/amd/display: Dont return ddc result and read_bytes in same return value"

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 5292221d6ddfed75e5b46cd42237a677094b99f3 upstream. This reverts commit 018d82e5f02ef3583411bcaa4e00c69786f46f19. This breaks DDC in certain cases. Revert for 4.18 and

[PATCH 4.17 41/63] net: Dont copy pfmemalloc flag in __copy_skb_header()

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit 8b7008620b8452728cadead460a36f64ed78c460 ] The pfmemalloc flag indicates that the skb was allocated from the PFMEMALLOC reserves, and the flag is currently

[PATCH 4.17 33/63] drm/nouveau: Use drm_connector_list_iter_* for iterating connectors

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Lyude Paul commit 22b76bbe089cd901f5260ecb9a3dc41f9edb97a0 upstream. Every codepath in nouveau that loops through the connector list currently does so using the old method, which is prone to

[PATCH 4.17 39/63] lib/rhashtable: consider param->min_size when setting initial table size

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Davidlohr Bueso [ Upstream commit 107d01f5ba10f4162c38109496607eb197059064 ] rhashtable_init() currently does not take into account the user-passed min_size parameter unless param->nelem_hint

[PATCH 4.17 60/63] alpha: fix osf_wait4() breakage

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit f88a333b44318643282b8acc92af90deda441f5e upstream. kernel_wait4() expects a userland address for status - it's only rusage that goes as a kernel one (and needs a copyout

Re: [PATCH] can: mpc5xxx_can: check of_iomap return before use

2018-07-23 Thread Marc Kleine-Budde
On 07/23/2018 01:57 PM, Nicholas Mc Guire wrote: > On Mon, Jul 23, 2018 at 01:37:05PM +0200, Marc Kleine-Budde wrote: >> On 07/09/2018 09:28 PM, Fabio Estevam wrote: >>> On Mon, Jul 9, 2018 at 4:16 PM, Nicholas Mc Guire wrote: of_iompa() can return NULL so that return needs to be checked

[PATCH 4.17 55/63] net: aquantia: vlan unicast address list correct handling

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Igor Russkikh [ Upstream commit 94b3b542303f3055c326df74ef144a8a790d7d7f ] Setting up macvlan/macvtap networks over atlantic NIC results in no traffic over these networks because

[PATCH 4.17 53/63] sctp: fix the issue that pathmtu may be set lower than MINSEGMENT

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit a65925475571953da12a9bc2082aec29d4e2c0e7 ] After commit b6c5734db070 ("sctp: fix the handling of ICMP Frag Needed for too small MTUs"), sctp_transport_update_pmtu

[PATCH 4.17 51/63] net: ip6_gre: get ipv6hdr after skb_cow_head()

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Prashant Bhole [ Upstream commit b7ed879425be371905d856410d19e9a42a62bcf3 ] A KASAN:use-after-free bug was found related to ip6-erspan while running selftests/net/ip6_gre_headroom.sh It

[PATCH 4.17 24/63] cpufreq: intel_pstate: Register when ACPI PCCH is present

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Rafael J. Wysocki commit 95d6c0857e54b788982746071130d822a795026b upstream. Currently, intel_pstate doesn't register if _PSS is not present on HP Proliant systems, because it expects the

[PATCH 4.17 52/63] sctp: introduce sctp_dst_mtu

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner [ Upstream commit 6ff0f871c20ec1769a481edca86f23c76b2b06d3 ] Which makes sure that the MTU respects the minimum value of SCTP_DEFAULT_MINSEGMENT and that it is

[PATCH 4.17 19/63] ARC: Fix CONFIG_SWAP

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Brodkin commit 6e3761145a9ba3ce267c330b6bff51cf6a057b06 upstream. swap was broken on ARC due to silly copy-paste issue. We encode offset from swapcache page in __swp_entry() as (off

[PATCH 4.17 25/63] vfio/pci: Fix potential Spectre v1

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit 0e714d27786ce1fb3efa9aac58abc096e68b1c2a upstream. info.index can be indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre

[PATCH 4.17 26/63] vfio/spapr: Use IOMMU pageshift rather than pagesize

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kardashevskiy commit 1463edca6734d42ab4406fa2896e20b45478ea36 upstream. The size is always equal to 1 page so let's use this. Later on this will be used for other checks which use page

[PATCH 4.17 58/63] ipv6: make DAD fail with enhanced DAD when nonce length differs

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit e66515999b627368892ccc9b3a13a506f2ea1357 ] Commit adc176c54722 ("ipv6 addrconf: Implemented enhanced DAD (RFC7527)") added enhanced DAD with a nonce length

[PATCH 4.17 49/63] sch_fq_codel: zero q->flows_cnt when fq_codel_init fails

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Keller [ Upstream commit 83fe6b8709f65bc505b10235bd82ece12c4c5099 ] When fq_codel_init fails, qdisc_create_dflt will cleanup by using qdisc_destroy. This function calls the ->reset() op

[PATCH 4.17 27/63] stop_machine: Disable preemption when waking two stopper threads

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Isaac J. Manjarres commit 9fb8d5dc4b649dd190e1af4ead670753e71bf907 upstream. When cpu_stop_queue_two_works() begins to wake the stopper threads, it does so without preemption disabled, which

[PATCH 4.17 50/63] tg3: Add higher cpu clock for 5762.

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sanjeev Bansal [ Upstream commit 3a498606bb04af603a46ebde8296040b2de350d1 ] This patch has fix for TX timeout while running bi-directional traffic with 100 Mbps using 5762. Signed-off-by:

[PATCH 4.17 22/63] mm: memcg: fix use after free in mem_cgroup_iter()

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jing Xia commit 9f15bde671355c351cf20d9f879004b234353100 upstream. It was reported that a kernel crash happened in mem_cgroup_iter(), which can be triggered if the legacy cgroup-v1

[PATCH 4.17 57/63] net: systemport: Fix CRC forwarding check for SYSTEMPORT Lite

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 9e3bff923913729d76d87f0015848ee7b8ff7083 ] SYSTEMPORT Lite reversed the logic compared to SYSTEMPORT, the GIB_FCS_STRIP bit is set when the Ethernet FCS is

[PATCH 4.17 23/63] mm/huge_memory.c: fix data loss when splitting a file pmd

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit e1f1b1572e8db87a56609fd05bef76f98f0e456a upstream. __split_huge_pmd_locked() must check if the cleared huge pmd was dirty, and propagate that to PageDirty: otherwise, data

[PATCH 4.17 54/63] hv_netvsc: Fix napi reschedule while receive completion is busy

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Haiyang Zhang [ Upstream commit 6b81b193b83e87da1ea13217d684b54fccf8ee8a ] If out ring is full temporarily and receive completion cannot go out, we may still need to reschedule napi if

[PATCH 4.17 56/63] net/mlx4_en: Dont reuse RX page when XDP is set

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Saeed Mahameed [ Upstream commit 432e629e56432064761be63bcd5e263c0920430d ] When a new rx packet arrives, the rx path will decide whether to reuse the remainder of the page or not according

Re: iwlwifi problem with iommu/intel-iommu: Enable CONFIG_DMA_DIRECT_OPS=y and clean up intel_{alloc,free}_coherent()

2018-07-23 Thread Fabio Coatti
Hi, any hope to see this backported to 4.17.X as well? Just to avoid to revert that commit at every new release :) Many thanks! Il giorno gio 5 lug 2018 alle ore 21:31 Christoph Hellwig ha scritto: > On Mon, Jul 02, 2018 at 08:23:00PM +0200, Fabio Coatti wrote: > > Yep, it does. I issued a > >

[PATCH 4.17 28/63] powerpc/powernv: Fix save/restore of SPRG3 on entry/exit from stop (idle)

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Gautham R. Shenoy commit b03897cf318dfc47de33a7ecbc7655584266f034 upstream. On 64-bit servers, SPRN_SPRG3 and its userspace read-only mirror SPRN_USPRG3 are used as userspace VDSO write and

[PATCH 4.14 19/44] stop_machine: Disable preemption when waking two stopper threads

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Isaac J. Manjarres commit 9fb8d5dc4b649dd190e1af4ead670753e71bf907 upstream. When cpu_stop_queue_two_works() begins to wake the stopper threads, it does so without preemption disabled, which

[PATCH 4.14 22/44] drm/nouveau: Avoid looping through fake MST connectors

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Lyude Paul commit 37afe55b4ae0600deafe7c0e0e658593c4754f1b upstream. When MST and atomic were introduced to nouveau, another structure that could contain a drm_connector embedded within it

[PATCH 4.14 18/44] vfio/spapr: Use IOMMU pageshift rather than pagesize

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kardashevskiy commit 1463edca6734d42ab4406fa2896e20b45478ea36 upstream. The size is always equal to 1 page so let's use this. Later on this will be used for other checks which use page

[PATCH 4.14 01/44] scsi: sd_zbc: Fix variable type and bogus comment

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Damien Le Moal commit f13cff6c25bd8986627365346d123312ee7baa78 upstream. Fix the description of sd_zbc_check_zone_size() to correctly explain that the returned value is a number of device

[PATCH 4.14 10/44] ARCv2: [plat-hsdk]: Save accl reg pair by default

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit af1fc5baa724c63ce1733dfcf855bad5ef6078e3 upstream. This manifsted as strace segfaulting on HSDK because gcc was targetting the accumulator registers as GPRs, which kernek

[PATCH 4.14 12/44] ARC: configs: Remove CONFIG_INITRAMFS_SOURCE from defconfigs

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Brodkin commit 64234961c145606b36eaa82c47b11be842b21049 upstream. We used to have pre-set CONFIG_INITRAMFS_SOURCE with local path to intramfs in ARC defconfigs. This was quite

[PATCH 4.17 61/63] drm_mode_create_lease_ioctl(): fix open-coded filp_clone_open()

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit b4e7a7a88b5d060650094b8d3454bc521d669f6a upstream. Failure of ->open() should *not* be followed by fput(). Fixed by using filp_clone_open(), which gets the cleanups right.

[PATCH 4.17 63/63] xhci: Fix perceived dead host due to runtime suspend race with event handler

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 229bc19fd7aca4f37964af06e3583c1c8f36b5d6 upstream. Don't rely on event interrupt (EINT) bit alone to detect pending port change in resume. If no change event is detected

[PATCH 4.14 11/44] ARC: Fix CONFIG_SWAP

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Brodkin commit 6e3761145a9ba3ce267c330b6bff51cf6a057b06 upstream. swap was broken on ARC due to silly copy-paste issue. We encode offset from swapcache page in __swp_entry() as (off

[PATCH 4.14 17/44] vfio/pci: Fix potential Spectre v1

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit 0e714d27786ce1fb3efa9aac58abc096e68b1c2a upstream. info.index can be indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre

[PATCH 4.14 14/44] mm: memcg: fix use after free in mem_cgroup_iter()

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jing Xia commit 9f15bde671355c351cf20d9f879004b234353100 upstream. It was reported that a kernel crash happened in mem_cgroup_iter(), which can be triggered if the legacy cgroup-v1

[PATCH 4.14 16/44] cpufreq: intel_pstate: Register when ACPI PCCH is present

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Rafael J. Wysocki commit 95d6c0857e54b788982746071130d822a795026b upstream. Currently, intel_pstate doesn't register if _PSS is not present on HP Proliant systems, because it expects the

[PATCH 4.14 13/44] ARC: mm: allow mprotect to make stack mappings executable

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit 93312b6da4df31e4102ce5420e6217135a16c7ea upstream. mprotect(EXEC) was failing for stack mappings as default vm flags was missing MAYEXEC. This was triggered by glibc test

[PATCH 4.14 15/44] mm/huge_memory.c: fix data loss when splitting a file pmd

2018-07-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit e1f1b1572e8db87a56609fd05bef76f98f0e456a upstream. __split_huge_pmd_locked() must check if the cleared huge pmd was dirty, and propagate that to PageDirty: otherwise, data

Re: INFO: task hung in fuse_reverse_inval_entry

2018-07-23 Thread Miklos Szeredi
On Mon, Jul 23, 2018 at 2:22 PM, Dmitry Vyukov wrote: > On Mon, Jul 23, 2018 at 2:12 PM, Miklos Szeredi wrote: >> On Mon, Jul 23, 2018 at 10:11 AM, Dmitry Vyukov wrote: >>> On Mon, Jul 23, 2018 at 9:59 AM, syzbot >>> wrote: Hello, syzbot found the following crash on:

[PATCH 4.9 23/28] net: usb: asix: replace mii_nway_restart in resume path

2018-07-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Couzens [ Upstream commit 5c968f48021a9b3faa61ac2543cfab32461c0e05 ] mii_nway_restart is not pm aware which results in a rtnl deadlock. Implement mii_nway_restart manual by setting

[PATCH 18/26] ARM: tegra: colibri_t30: rename clk to clock

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Rename clk to clock. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 2 +- arch/arm/boot/dts/tegra30-colibri.dtsi| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 24/26] ARM: tegra: colibri_t30: annotate sd card detect

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Annotate SD card detect. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts b/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts

[PATCH 26/26] ARM: tegra: colibri_t30: update compatibility comment

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Update compatibility comment. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index

Re: [RFC 1/2] x86/entry/64: Use the TSS sp2 slot for rsp_scratch

2018-07-23 Thread Dave Hansen
On 07/22/2018 10:45 AM, Andy Lutomirski wrote: > + /* > + * sp2 is scratch space used by the SYSCALL64 handler. Linux does > + * not use rung 2, so sp2 is not otherwise needed. > + */ > u64 sp2; Could we call out the actual thing that we use this slot

[PATCH] cpufreq: qcom-kryo: add NULL entry to the end of_device_id array

2018-07-23 Thread YueHaibing
Make sure of_device_id tables are NULL terminated Found by coccinelle spatch "misc/of_table.cocci" Signed-off-by: YueHaibing --- drivers/cpufreq/qcom-cpufreq-kryo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/qcom-cpufreq-kryo.c b/drivers/cpufreq/qcom-cpufreq-kryo.c

[PATCH 20/26] ARM: tegra: colibri_t30: move input include to carrier board

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Move input include to carrier board. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 1 + arch/arm/boot/dts/tegra30-colibri.dtsi| 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 21/26] ARM: tegra: colibri_t30: remove unused nvidia,is-wired property

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove unused nvidia,is-wired property. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index

[PATCH 16/26] ARM: tegra: colibri_t30: add proper emmc vmmc and vqmmc supplies

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Add proper eMMC vmmc and vqmmc supplies e.g. fixing signalling voltage. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi

[PATCH 14/26] ARM: tegra: colibri_t30: further lm95245 temperature sensor annotation

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Further LM95245 temperature sensor annotation. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi

[PATCH 25/26] ARM: tegra: colibri_t30: annotate ehci instance 1

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Annotate EHCI instance 1 (USB2_DP/N) connecting to ASIX AX88772B USB to Ethernet chip being on-module. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 22/26] ARM: tegra: colibri_t30: add gpio hog to unreset usb ethernet chip

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Add GPIO hog to unreset ASIX AX88772B USB Ethernet chip. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi

[PATCH 13/26] ARM: tegra: colibri_t30: use proper irq-gpio for stmpe811

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Use proper irq-gpio for stmpe811 touch controller. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi

Re: [PATCH v2 3/3] PCI: imx: Initial imx7d pm support

2018-07-23 Thread Leonard Crestez
On Mon, 2018-07-23 at 11:38 +0200, Lucas Stach wrote: > Hi Leonard, > > Am Freitag, den 20.07.2018, 15:47 +0300 schrieb Leonard Crestez: > > On imx7d the pcie-phy power domain is turned off in suspend and this can > > make the system hang after resume when attempting any read from PCI. > > > >

[PATCH 23/26] ARM: tegra: colibri_t30: enable hda over hdmi

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable HDA over HDMI. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index 7f7a693f6e08..d3f72e567d5a

[PATCH 19/26] ARM: tegra: colibri_t30: line break long compatible property line

2018-07-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Line break long compatible property line. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts

[PATCH 4.17 32/63] drm/nouveau: Remove bogus crtc check in pmops_runtime_idle

2018-07-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Lyude Paul commit 68fe23a626b67b56c912c496ea43ed537ea9708f upstream. This both uses the legacy modesetting structures in a racy manner, and additionally also doesn't even check the right

Re: Making KASAN compatible with VMAP_STACK

2018-07-23 Thread Mark Rutland
On Mon, Jul 23, 2018 at 01:55:49PM +0200, Dmitry Vyukov wrote: > On Mon, Jul 23, 2018 at 1:18 PM, Mark Rutland wrote: > > On Mon, Jul 23, 2018 at 09:40:36AM +0200, Dmitry Vyukov wrote: > >> On Sun, Jul 22, 2018 at 7:52 PM, Andy Lutomirski wrote: > >> > Hi all- > >> > > >> > It would be really

[PATCH 4.4 010/107] lib/rhashtable: consider param->min_size when setting initial table size

2018-07-23 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Davidlohr Bueso [ Upstream commit 107d01f5ba10f4162c38109496607eb197059064 ] rhashtable_init() currently does not take into account the user-passed min_size parameter unless param->nelem_hint

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