[PATCH 2/2] arm64: dts: rockchip: disable TX offload for mtu bigger than 1498 for some SoCs

2019-04-01 Thread Leonidas P. Papadakos
From: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= Some rockchip boards (like the rock64, and the renegade) exhibit an issue where tx checksuming does not work with packets larger than 1498. This is bad for network stability. The previous approach was using force_thresh_dma_mode, which does more than

[PATCH V2 2/2] trace,x86: Add nmi to the irq_vectors class

2019-04-01 Thread Daniel Bristot de Oliveira
Currently, the irq_vector class of tracepoints does not include the NMI entry. The NMI was in the first set of tracepoints for IRQs, but it was dropped off because of the logic of switching IDT when enabling trace[1]. However, as the switching IDT logic was removed [2], it is possible to add the

[PATCH V2 1/2] trace,x86: Add external_interrupts to the irq_vectors class

2019-04-01 Thread Daniel Bristot de Oliveira
Currently, the irq_vectors is showing the entry and exit events for the interrupts of the architecture, but not for external interrupts. Adds the tracepoints for external interrupts. Example of output: -0 [000] d.h. 102.890935: external_interrupt_entry: vector=35 -0 [000] d.h.

[PATCH 0/2] pwm: meson: two small bug-fixes

2019-04-01 Thread Martin Blumenstingl
This series applies on top of my other fix "pwm: meson: fix scheduling while atomic issue" from [0] The first patch fixes an issue where the maximum possible pre-divider (128) could not be used because there was an off-by-one error in the code. I discovered this while testing with the longest

[PATCH 2/2] pwm: meson: don't disable pwm when setting duty repeatedly

2019-04-01 Thread Martin Blumenstingl
From: Bichao Zheng There is an abnormally low about 20ms,when setting duty repeatedly. Because setting the duty will disable pwm and then enable. Delete this operation now. Fixes: 211ed630753d2f ("pwm: Add support for Meson PWM Controller") Signed-off-by: Bichao Zheng [ Dropped code instead of

[PATCH 1/2] pwm: meson: consider 128 a valid pre-divider

2019-04-01 Thread Martin Blumenstingl
The pre-divider allows configuring longer PWM periods compared to using the input clock directly. The pre-divider is 7 bit wide, meaning it's maximum value is 128 (the register value is off-by-one: 0x7f or 127). Change the loop to also allow for the maximum possible value to be considered valid.

Re: [PATCH 00/15] tools/lib/traceevent: Continuing on the path to a stand alone library

2019-04-01 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 01, 2019 at 12:43:05PM -0400, Steven Rostedt escreveu: > > Arnaldo, > > These contain more patches to make libtraceevent a stand alone library. > It also brings in some changes that are in the trace-cmd library. > > There's a few name changes to the API function names to be more >

Re: linux-next: manual merge of the net-next tree with the net tree

2019-04-01 Thread Saeed Mahameed
On Mon, 2019-04-01 at 09:11 +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c > > between commit: > > e28408e98bce ("net/mlx5e: Update xon formula") > > from the net

[PATCH] drivers: firmware: psci: add support for warm reset

2019-04-01 Thread Aaro Koskinen
From: Aaro Koskinen Add support for warm reset using SYSTEM_RESET2 introduced in PSCI 1.1 specification. Signed-off-by: Aaro Koskinen --- drivers/firmware/psci.c | 25 + include/uapi/linux/psci.h | 3 +++ 2 files changed, 28 insertions(+) diff --git

[PATCH 5.0 027/146] vrf: prevent adding upper devices

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit 1017e0987117c32783ba7c10fe2e7ff1456ba1dc ] VRF devices don't work with upper devices. Currently, it's possible to add a VRF device to a bridge or team, and to

[PATCH 5.0 028/146] vxlan: Dont call gro_cells_destroy() before device is unregistered

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Zhiqiang Liu [ Upstream commit cc4807bb609230d8959fd732b0bf3bd4c2de8eac ] Commit ad6c9986bcb62 ("vxlan: Fix GRO cells race condition between receive and link delete") fixed a race condition

linux-next: Fixes tag needs some work in the spi tree

2019-04-01 Thread Stephen Rothwell
Hi Mark, In commit fc9ba6e3e28a ("spi: tegra114: use packed mode for 32 bits per word") Fixes tag Fixes: Use packed mode for 32 bits per word transfers to increase has these problem(s): - No SHA1 recognised -- Cheers, Stephen Rothwell pgpHxA2nbfwQH.pgp Description: OpenPGP digital

[PATCH 5.0 012/146] net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Paasch [ Upstream commit 398f0132c14754fcd03c1c4f8e7176d001ce8ea1 ] Since commit fc62814d690c ("net/packet: fix 4gb buffer limit due to overflow check") one can now allocate packet

[PATCH 5.0 039/146] btrfs: remove WARN_ON in log_dir_items

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit 2cc8334270e281815c3850c3adea363c51f21e0d upstream. When Filipe added the recursive directory logging stuff in 2f2ff0ee5e430 ("Btrfs: fix metadata inconsistencies after

[PATCH 5.0 056/146] ALSA: pcm: Fix possible OOB access in PCM oss plugins

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit ca0214ee2802dd47239a4e39fb21c5b00ef61b22 upstream. The PCM OSS emulation converts and transfers the data on the fly via "plugins". The data is converted over the

[PATCH 5.0 059/146] ALSA: hda/realtek: merge alc_fixup_headset_jack to alc295_fixup_chromebook

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Jaroslav Kysela commit c8a9afa632f0fd45731d3353525faf1fdb362c89 upstream. The ALC225_FIXUP_HEADSET_JACK fixup can be merged to alc295_fixup_chromebook. There are no other users for

[PATCH 5.0 053/146] net: dsa: qca8k: remove leftover phy accessors

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit 1eec7151ae0e134bd42e3f128066b2ff8da21393 upstream. This belated patch implements Andrew Lunn's request of "remove the phy_read() and phy_write() functions."

[PATCH 5.0 004/146] dccp: do not use ipv6 header for ipv4 flow

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit e0aa67709f89d08c8d8e5bdd9e0b649df61d0090 ] When a dual stack dccp listener accepts an ipv4 flow, it should not attempt to use an ipv6 header or inet6_iif()

[PATCH 5.0 064/146] ALSA: hda/realtek - Add support for Acer Aspire E5-523G/ES1-432 headset mic

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Chris Chiu commit c7531e31c8a440b5fe6bd62664def5bcb6262f96 upstream. The Acer laptop Aspire E5-523G and ES1-432 with ALC255 can't detect the headset microphone until

[PATCH 5.0 057/146] ALSA: pcm: Dont suspend stream in unrecoverable PCM state

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 113ce08109f8e3b091399e7cc32486df1cff48e7 upstream. Currently PCM core sets each opened stream forcibly to SUSPENDED state via snd_pcm_suspend_all() call, and the user-space

[PATCH 5.0 045/146] locks: wake any locks blocked on request before deadlock check

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 945ab8f6de94430c23a82f3cf2e3f6d6f2945ff7 upstream. Andreas reported that he was seeing the tdbtorture test fail in some cases with -EDEADLCK when it wasn't before. Some

[PATCH 5.0 076/146] drm/rockchip: vop: reset scale mode when win is disabled

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Jonas Karlman commit e9abc611a941d4051cde1d94b2ab7473fdb50102 upstream. NV12 framebuffers produced by the VPU shows distorted on RK3288 after win has been disabled when scaling is active.

Re: linux-next: Signed-off-by missing for commits in the block tree

2019-04-01 Thread Jens Axboe
On 4/1/19 12:08 PM, Stephen Rothwell wrote: > Hi Jens, > > Commits > > 837d7c7005c3 ("block: enable multi-page bvec for passthrough IO") > df88a384baa3 ("block: pass page to xen_biovec_phys_mergeable") > > are missing a Signed-off-by from their committer. That's my silly error, I'll fix

[PATCH 5.0 081/146] tty: serial: qcom_geni_serial: Initialize baud in qcom_geni_console_setup

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Nathan Chancellor commit c5cbc78acf693f5605d4a85b1327fa7933daf092 upstream. When building with -Wsometimes-uninitialized, Clang warns: drivers/tty/serial/qcom_geni_serial.c:1079:6: warning:

[PATCH 5.0 048/146] powerpc: bpf: Fix generation of load/store DW instructions

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Naveen N. Rao commit 86be36f6502c52ddb4b85938145324fd07332da1 upstream. Yauheni Kaliuta pointed out that PTR_TO_STACK store/load verifier test was failing on powerpc64 BE, and rightfully

[PATCH 5.0 046/146] tracing: initialize variable in create_dyn_event()

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Frank Rowand commit 3dee10da2e9ff220e054a8f158cc296c797fbe81 upstream. Fix compile warning in create_dyn_event(): 'ret' may be used uninitialized in this function [-Wuninitialized]. Link:

[PATCH 5.0 051/146] NFS: fix mount/umount race in nlmclnt.

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 4a9be28c45bf02fa0436808bb6c0baeba30e120e upstream. If the last NFSv3 unmount from a given host races with a mount from the same host, we can destroy an nlm_host that is still

[PATCH 5.0 095/146] USB: serial: mos7720: fix mos_parport refcount imbalance on error path

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Lin Yi commit 2908b076f5198d231de62713cb2b633a3a4b95ac upstream. The write_parport_reg_nonblock() helper takes a reference to the struct mos_parport, but failed to release it in a couple of

[PATCH 5.0 093/146] USB: serial: cp210x: add new device id

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman commit a595ecdd5f60b2d93863cebb07eec7f935839b54 upstream. Lorenz Messtechnik has a device that is controlled by the cp210x driver, so add the device id to the driver. The

[PATCH 5.0 102/146] drivers/block/zram/zram_drv.c: fix idle/writeback string compare

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit 0bc9f5d14a93971c6cd9c0d81b0fc154fc54c65d upstream. Makoto report a below KASAN error: zram does out-of-bounds read. Because strscpy copies from source up to count bytes

[PATCH 5.0 096/146] USB: serial: option: set driver_info for SIM5218 and compatibles

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Mans Rullgard commit f8df5c2c3e2df5ffaf9fb5503da93d477a8c7db4 upstream. The SIMCom SIM5218 and compatible devices have 5 USB interfaces, only 4 of which are serial ports. The fifth is a

[PATCH 5.0 094/146] USB: serial: ftdi_sio: add additional NovaTech products

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: George McCollister commit 422c2537ba9d42320f8ab6573940269f87095320 upstream. Add PIDs for the NovaTech OrionLX+ and Orion I/O so they can be automatically detected. Signed-off-by: George

[PATCH 5.0 101/146] fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: YueHaibing commit 23da9588037ecdd4901db76a5b79a42b529c4ec3 upstream. Syzkaller reports: kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: [#1]

[PATCH 5.0 118/146] usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Yasushi Asano commit 40fc165304f0faaae78b761f8ee30b5d216b1850 upstream. When plugging BUFFALO LUA4-U3-AGT USB3.0 to Gigabit Ethernet LAN Adapter, warning messages filled up dmesg. [

linux-next: Signed-off-by missing for commits in the block tree

2019-04-01 Thread Stephen Rothwell
Hi Jens, Commits 837d7c7005c3 ("block: enable multi-page bvec for passthrough IO") df88a384baa3 ("block: pass page to xen_biovec_phys_mergeable") are missing a Signed-off-by from their committer. -- Cheers, Stephen Rothwell pgpu7N86tdzLw.pgp Description: OpenPGP digital signature

[PATCH 5.0 088/146] staging: erofs: fix error handling when failed to read compresssed data

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Gao Xiang commit b6391ac73400eff38377a4a7364bd3df5efb5178 upstream. Complete read error handling paths for all three kinds of compressed pages: 1) For cache-managed pages, PG_uptodate will

RE: [PATCH V1 24/26] spi: tegra114: de-assert CS before SPI mode is reset to its default

2019-04-01 Thread Sowjanya Komatineni
> On Tue, Mar 26, 2019 at 10:56:45PM -0700, Sowjanya Komatineni wrote: > > With SW CS, during transfer completion CS is de-asserted by writing > > the default command1 register value to SPI_COMMAND1 register. With > > this both mode and CS state are set at the same time and if current > >

[PATCH 5.0 134/146] perf intel-pt: Fix TSC slip

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit f3b4e06b3bda759afd042d3d5fa86bea8f1fe278 upstream. A TSC packet can slip past MTC packets so that the timestamp appears to go backwards. One estimate is that can be up to

Re: [PATCH] Bluetooth: btusb: request wake pin with NOAUTOEN

2019-04-01 Thread Brian Norris
+ akpm, in case he can help out Another week, another buggy 5.1 RC. On Tue, Mar 26, 2019 at 11:48 AM Brian Norris wrote: > > On Thu, Feb 21, 2019 at 4:30 PM Brian Norris wrote: > > > > Badly-designed systems might have (for example) active-high wake pins > > that default to high (e.g., because

[PATCH 5.0 138/146] powerpc/pseries/mce: Fix misleading print for TLB mutlihit

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Mahesh Salgaonkar commit 6f845ebec2706841d15831fab3cfd9e676fa upstream. On pseries, TLB multihit are reported as D-Cache Multihit. This is because the wrongly populated mc_err_types[]

[PATCH 5.0 145/146] bpf: do not restore dst_reg when cur_state is freed

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Xu Yu commit 0803278b0b4d8eeb2b461fb698785df65a725d9e upstream. Syzkaller hit 'KASAN: use-after-free Write in sanitize_ptr_alu' bug. Call trace: dump_stack+0xbf/0x12e

[PATCH 5.0 142/146] KVM: Reject device ioctls from processes other than the VMs creator

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Sean Christopherson commit ddba91801aeb5c160b660caed1800eb3aef403f8 upstream. KVM's API requires thats ioctls must be issued from the same process that created the VM. In other words,

[PATCH 5.0 130/146] mm/memory_hotplug.c: fix notification in offline error path

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Qian Cai commit c4efe484b5f0d768e23c9731082fec827723e738 upstream. When start_isolate_page_range() returned -EBUSY in __offline_pages(), it calls memory_notify(MEM_CANCEL_OFFLINE, ) with an

[PATCH 5.0 127/146] iommu/io-pgtable-arm-v7s: request DMA32 memory, and improve debugging

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Boichat commit 0a352554da69b02f75ca3389c885c741f1f63235 upstream. IOMMUs using ARMv7 short-descriptor format require page tables (level 1 and 2) to be allocated within the first 4GB of

Re: [PATCH 2/2] Bluetooth: hci_qca: wcn3990: Drop baudrate change vendor event

2019-04-01 Thread Matthias Kaehlcke
On Mon, Apr 01, 2019 at 01:48:23PM +0530, Balakrishna Godavarthi wrote: > Hi Matthias, > > On 2019-04-01 13:29, Balakrishna Godavarthi wrote: > > Hi Matthias, > > > > Sorry for the late reply i was on vacation. > > > > On 2019-03-08 05:00, Matthias Kaehlcke wrote: > > > On Thu, Mar 07, 2019 at

[PATCH 4.19 001/134] Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Marcel Holtmann commit af3d5d1c87664a4f150fcf3534c6567cb19909b0 upstream. When doing option parsing for standard type values of 1, 2 or 4 octets, the value is converted directly into a

[PATCH 4.19 002/134] Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Marcel Holtmann commit 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69 upstream. The function l2cap_get_conf_opt will return L2CAP_CONF_OPT_SIZE + opt->len as length value. The opt->len however is

[PATCH 4.19 018/134] rhashtable: Still do rehash when we get EEXIST

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu [ Upstream commit 408f13ef358aa5ad56dc6230c2c7deb92cf462b1 ] As it stands if a shrink is delayed because of an outstanding rehash, we will go into a rescheduling loop without ever

[PATCH 4.19 013/134] net: phy: meson-gxl: fix interrupt support

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Jerome Brunet [ Upstream commit daa5c4d0167a308306525fd5ab9a5e18e21f4f74 ] If an interrupt is already pending when the interrupt is enabled on the GXL phy, no IRQ will ever be triggered. The

[PATCH 4.19 012/134] net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Paasch [ Upstream commit 398f0132c14754fcd03c1c4f8e7176d001ce8ea1 ] Since commit fc62814d690c ("net/packet: fix 4gb buffer limit due to overflow check") one can now allocate packet

[PATCH 4.19 014/134] net: rose: fix a possible stack overflow

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit e5dcc0c3223c45c94100f05f28d8ef814db3d82c ] rose_write_internal() uses a temp buffer of 100 bytes, but a manual inspection showed that given arbitrary input,

[PATCH 4.19 006/134] gtp: change NET_UDP_TUNNEL dependency to select

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Matteo Croce [ Upstream commit c22da36688d6298f2e546dcc43fdc1ad35036467 ] Similarly to commit a7603ac1fc8c ("geneve: change NET_UDP_TUNNEL dependency to select"), GTP has a dependency on

Re: [PATCH hyperv-fixes,v3] hv_netvsc: Fix unwanted wakeup after tx_disable

2019-04-01 Thread David Miller
From: Haiyang Zhang Date: Thu, 28 Mar 2019 19:40:36 + > From: Haiyang Zhang > > After queue stopped, the wakeup mechanism may wake it up again > when ring buffer usage is lower than a threshold. This may cause > send path panic on NULL pointer when we stopped all tx queues in >

[PATCH 4.19 003/134] ipmi_si: Fix crash when using hard-coded device

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- Backport from 41b766d661bf94a364960862cfc248a78313dbd3 When excuting a command like: modprobe ipmi_si ports=0xffc0e3 type=bt The system would get an oops. The trouble here is that

[PATCH] platform/x86: intel_pmc_core: Report slp_s0 residency range

2019-04-01 Thread Evan Green
The PMC driver performs a 32-bit read on the sleep s0 residency counter, followed by a hard-coded multiplication to convert into microseconds. The maximum value this counter could have would be 0x*0x64 microseconds, which by my calculations is about 4.9 days. This is well within a

Re: [PATCH 1/3] clk: meson: mpll: properly handle spread spectrum

2019-04-01 Thread Martin Blumenstingl
Hi Jerome, On Mon, Apr 1, 2019 at 10:40 AM Jerome Brunet wrote: > > On Sat, 2019-03-30 at 16:56 +0100, Martin Blumenstingl wrote: > > Hi Jerome, > > > > On Sat, Mar 30, 2019 at 12:07 AM Jerome Brunet wrote: > > > On Fri, 2019-03-29 at 20:39 +0100, Martin Blumenstingl wrote: > > > > Hi Jerome, >

[PATCH 5.0 002/146] Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Marcel Holtmann commit 7c9cbd0b5e38a1672fcd137894ace3b042dfbf69 upstream. The function l2cap_get_conf_opt will return L2CAP_CONF_OPT_SIZE + opt->len as length value. The opt->len however is in

[PATCH 5.0 005/146] genetlink: Fix a memory leak on error path

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: YueHaibing [ Upstream commit ceabee6c59943bdd5e1da1a6a20dc7ee5f8113a2 ] In genl_register_family(), when idr_alloc() fails, we forget to free the memory we possibly allocate for

[PATCH 5.0 014/146] net: rose: fix a possible stack overflow

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit e5dcc0c3223c45c94100f05f28d8ef814db3d82c ] rose_write_internal() uses a temp buffer of 100 bytes, but a manual inspection showed that given arbitrary input,

[PATCH 4.19 009/134] mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas [ Upstream commit fae846e2b7124d4b076ef17791c73addf3b26350 ] The device ID alone does not uniquely identify a device. Test both the vendor and device ID to make sure we don't

[PATCH 5.0 019/146] rhashtable: Still do rehash when we get EEXIST

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu [ Upstream commit 408f13ef358aa5ad56dc6230c2c7deb92cf462b1 ] As it stands if a shrink is delayed because of an outstanding rehash, we will go into a rescheduling loop without ever

[PATCH 5.0 020/146] sctp: get sctphdr by offset in sctp_compute_cksum

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 273160ffc6b993c7c91627f5a84799c66dfe4dee ] sctp_hdr(skb) only works when skb->transport_header is set properly. But in Netfilter, skb->transport_header for ipv6 is

[PATCH 5.0 001/146] Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Marcel Holtmann commit af3d5d1c87664a4f150fcf3534c6567cb19909b0 upstream. When doing option parsing for standard type values of 1, 2 or 4 octets, the value is converted directly into a

[PATCH 4.19 030/134] thunderx: enable page recycling for non-XDP case

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Dean Nelson [ Upstream commit b3e208069477588c06f4d5d986164b435bb06e6d ] Commit 773225388dae15e72790 ("net: thunderx: Optimize page recycling for XDP") added code to nicvf_alloc_page() that

[PATCH 5.0 000/146] 5.0.6-stable review

2019-04-01 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.0.6 release. There are 146 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 Wed Apr 3 16:59:21 UTC 2019. Anything

[PATCH 4.19 000/134] 4.19.33-stable review

2019-04-01 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.19.33 release. There are 134 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 Wed Apr 3 16:59:23 UTC 2019. Anything

[PATCH 5.0 003/146] netfilter: nf_tables: fix set double-free in abort path

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 40ba1d9b4d19796afc9b7ece872f5f3e8f5e2c13 ] The abort path can cause a double-free of an anonymous set. Added-and-to-be-aborted rule looks like this: udp dport { 137, 138 } drop The

[PATCH 4.19 040/134] powerpc/fsl: Enable runtime patching if nospectre_v2 boot arg is used

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Diana Craciun commit 3bc8ea8603ae4c1e09aca8de229ad38b8091fcb3 upstream. If the user choses not to use the mitigations, replace the code sequence with nops. Signed-off-by: Diana Craciun

[PATCH 5.0 015/146] net: stmmac: fix memory corruption with large MTUs

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Aaro Koskinen [ Upstream commit 223a960c01227e4dbcb6f9fa06b47d73bda21274 ] When using 16K DMA buffers and ring mode, the DES3 refill is not working correctly as the function is using a bogus

[PATCH 5.0 018/146] packets: Always register packet sk in the same order

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Maxime Chevallier [ Upstream commit a4dc6a49156b1f8d6e17251ffda17c9e6a5db78a ] When using fanouts with AF_PACKET, the demux functions such as fanout_demux_cpu will return an index in the

Re: [patch 01/14] x86/irq/64: Limit IST stack overflow check to #DB stack

2019-04-01 Thread Borislav Petkov
On Sun, Mar 31, 2019 at 11:40:21PM +0200, Thomas Gleixner wrote: > 37fe6a42b343 ("x86: Check stack overflow in detail") added a broad check > for the full exception stack area, i.e. it considers the full exception > stack are as valid. > > That's wrong in two aspects: > > 1) It does not check

[PATCH 5.0 017/146] net: usb: aqc111: Extend HWID table by QNAP device

2019-04-01 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Bezrukov [ Upstream commit b7ebee2f95fb0fa2862d5ed2de707f872c311393 ] New device of QNAP based on aqc111u Add this ID to blacklist of cdc_ether driver as well Signed-off-by: Dmitry

[PATCH 4.19 043/134] powerpc/fsl: Fix the flush of branch predictor.

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy commit 27da80719ef132cf8c80eb406d5aeb37dddf78cc upstream. The commit identified below adds MC_BTB_FLUSH macro only when CONFIG_PPC_FSL_BOOK3E is defined. This results in the

Re: [PATCH v4 1/9] mtd: rawnand: denali: use nand_chip pointer more for internal functions

2019-04-01 Thread Miquel Raynal
Hi Masahiro, Boris Brezillon wrote on Sat, 30 Mar 2019 15:23:23 +0100: > On Fri, 29 Mar 2019 16:28:13 +0900 > Masahiro Yamada wrote: > > > With the recent refactoring, the NAND driver hooks now take a pointer > > to nand_chip. Add to_denali() in order to convert (struct nand_chip *) > > to

[PATCH 4.19 054/134] NFS: fix mount/umount race in nlmclnt.

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 4a9be28c45bf02fa0436808bb6c0baeba30e120e upstream. If the last NFSv3 unmount from a given host races with a mount from the same host, we can destroy an nlm_host that is still

[PATCH 4.19 055/134] NFSv4.1 dont free interrupted slot on open

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Olga Kornievskaia commit 0cb98abb5bd13b9a636bde603d952d722688b428 upstream. Allow the async rpc task for finish and update the open state if needed, then free the slot. Otherwise, the async

[PATCH 4.19 049/134] btrfs: Avoid possible qgroup_rsv_size overflow in btrfs_calculate_inode_block_rsv_size

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Borisov commit 139a56170de67101791d6e6c8e940c6328393fe9 upstream. qgroup_rsv_size is calculated as the product of outstanding_extent * fs_info->nodesize. The product is calculated

[PATCH 4.19 060/134] ALSA: pcm: Dont suspend stream in unrecoverable PCM state

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 113ce08109f8e3b091399e7cc32486df1cff48e7 upstream. Currently PCM core sets each opened stream forcibly to SUSPENDED state via snd_pcm_suspend_all() call, and the

[PATCH 4.19 033/134] powerpc/fsl: Add infrastructure to fixup branch predictor flush

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Diana Craciun commit 76a5eaa38b15dda92cd6964248c39b5a6f3a4e9d upstream. In order to protect against speculation attacks (Spectre variant 2) on NXP PowerPC platforms, the branch predictor

[PATCH 4.19 071/134] fs/open.c: allow opening only regular files during execve()

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit 73601ea5b7b18eb234219ae2adf77530f389da79 upstream. syzbot is hitting lockdep warning [1] due to trying to open a fifo during an execve() operation. But we don't need to

[PATCH 4.19 069/134] ALSA: hda/realtek - Fix speakers on Acer Predator Helios 500 Ryzen laptops

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Bernhard Rosenkraenzer commit e2a829b3da01b9b32c4d0291d042b8a6e2a98ca3 upstream. On an Acer Predator Helios 500 (Ryzen version), the laptop's speakers don't work out of the box. The problem

[PATCH 4.19 034/134] powerpc/fsl: Add macro to flush the branch predictor

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Diana Craciun commit 1cbf8990d79ff69da8ad09e8a3df014e1494462b upstream. The BUCSR register can be used to invalidate the entries in the branch prediction mechanisms. Signed-off-by: Diana

[PATCH 4.19 035/134] powerpc/fsl: Emulate SPRN_BUCSR register

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Diana Craciun commit 98518c4d8728656db349f875fcbbc7c126d4c973 upstream. In order to flush the branch predictor the guest kernel performs writes to the BUCSR register which is hypervisor

[PATCH 4.19 068/134] ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Jian-Hong Pan commit 6ac371aa1a74240fb910c98aa3484d5ece8473d3 upstream. The ASUS X430UN and X512DK with ALC256 cannot detect the headset MIC until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk

linux-next: Signed-off-by missing for commit in the phy tree

2019-04-01 Thread Stephen Rothwell
Hi Kishon, Commit b6e13b9c9482 ("phy: ti-pipe3: fix missing bit-wise or operator when assigning val") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpD36hmCG6tG.pgp Description: OpenPGP digital signature

[PATCH 4.19 086/134] serial: max310x: Fix to avoid potential NULL pointer dereference

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Aditya Pakki commit 3a10e3dd52e80b9a97a3346020024d17b2c272d6 upstream. of_match_device can return a NULL pointer when matching device is not found. This patch avoids a scenario causing NULL

Re: [PATCH] Respond:Patch 0004-Add-support-for-SUNIX-parallel-card

2019-04-01 Thread Enrico Weigelt, metux IT consult
On 29.03.19 12:25, Morris Ku wrote: > Hi, > Thanks for review, my replies are inline: https://www.netmeister.org/news/learn2quote.html > +> +static struct snx_parport_driver snx_lp_driver = { > +> + .name = "lx", > +> + .attach = snx_lp_attach, > +> + .detach = snx_lp_detach, > +>

[PATCH 4.19 095/134] Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Wentao Wang commit 3ec8002951ea173e24b466df1ea98c56b7920e63 upstream. Echo "" to /sys/module/kgdboc/parameters/kgdboc will fail with "No such deviceā€ error. This is caused by function

[PATCH 4.19 098/134] drm/vkms: fix use-after-free when drm_gem_handle_create() fails

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 36b6c9ed45afe89045973e8dee1b004dd5372d40 upstream. If drm_gem_handle_create() fails in vkms_gem_create(), then the vkms_gem_object is freed twice: once when the reference

RE: [PATCH V1 19/26] DT bindings: spi: add spi client device properties

2019-04-01 Thread Sowjanya Komatineni
> On Tue, Mar 26, 2019 at 10:56:40PM -0700, Sowjanya Komatineni wrote: > > This patch adds below cs timing properties to allow SPI master > > configuring setup, hold and time interval between two SPI transactions > > to meet specific SPI client device requirements. > > CS setup time > > CS

[PATCH 4.19 099/134] drm/i915/gvt: Fix MI_FLUSH_DW parsing with correct index check

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Zhenyu Wang commit 13bcb80b7ee79431fce361e060611134cb19e209 upstream. When MI_FLUSH_DW post write hw status page in index mode, the index value is in dword step and turned into address offset

[PATCH 4.19 073/134] scsi: sd: Fix a race between closing an sd device and sd I/O

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit c14a57264399efd39514a2329c591a4b954246d8 upstream. The scsi_end_request() function calls scsi_cmd_to_driver() indirectly and hence needs the disk->private_data pointer.

[PATCH 4.19 102/134] phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Chen-Yu Tsai commit 1396929e8a903db80425343cacca766a18ad6409 upstream. While only the first PHY supports mode switching, the remaining PHYs work in USB host mode. They should support set_mode

[PATCH v5 6/7] ARM: dts: rockchip: Specify rk3288-veyron-chromebook's display timings

2019-04-01 Thread Douglas Anderson
Let's document the display timings that most veyron chromebooks (like jaq, jerry, mighty, speedy) have been using out in the field. This uses the standard blankings but a slightly slower clock rate, thus getting a refresh rate 58.3 Hz. NOTE: this won't really do anything except cause DRM to

[PATCH 4.19 107/134] xhci: Fix port resume done detection for SS ports with LPM enabled

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 6cbcf596934c8e16d6288c7cc62dfb7ad8eadf15 upstream. A suspended SS port in U3 link state will go to U0 when resumed, but can almost immediately after that enter U1 or U2

[PATCH 4.19 105/134] usb: common: Consider only available nodes for dr_mode

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Fabrizio Castro commit 238e0268c82789e4c107a37045d529a6dbce51a9 upstream. There are cases where multiple device tree nodes point to the same phy node by means of the "phys" property, but we

[PATCH 4.19 108/134] usb: xhci: dbc: Dont free all memory with spinlock held

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 8867ea262196a6945c24a0fb739575af646ec0e9 upstream. The xhci debug capability (DbC) feature did its memory cleanup with spinlock held. dma_free_coherent() warns if called

linux-next: Fixes tags need some work in the spi-fixes tree

2019-04-01 Thread Stephen Rothwell
Hi Mark, In commit 01919499 ("spi: tegra114: reset controller on probe") Fixes tag Fixes: SPI driver can be built as module so perform SPI controller reset has these problem(s): - No SHA1 recognised In commit f4ce428c41fb ("spi: tegra114: configure dma burst size to fifo trig

[PATCH 4.19 074/134] scsi: sd: Quiesce warning if device does not report optimal I/O size

2019-04-01 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Martin K. Petersen commit 1d5de5bd311be7cd54f02f7cd164f0349a75c876 upstream. Commit a83da8a4509d ("scsi: sd: Optimal I/O size should be a multiple of physical block size") split one

[PATCH v2 0/1] pwm: meson: fix scheduling while atomic issue

2019-04-01 Thread Martin Blumenstingl
Back in January a "BUG: scheduling while atomic" error showed up during boot on my Meson8b Odroid-C1 (which uses a PWM regulator as CPU supply). The call trace comes down to: __mutex_lock clk_prepare_lock clk_core_get_rate meson_pwm_apply .. dev_pm_opp_set_rate .. Jerome has also

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