Re: [PATCH v4 0/4] arm64: rockchip: Fix PCIe ep-gpios requirement and Add Nanopi M4B

2021-01-26 Thread Lorenzo Pieralisi
On Fri, 22 Jan 2021 00:23:17 +0800, Chen-Yu Tsai wrote: > This is v4 of my Nanopi M4B series. > > Changes since v3 include: > > - Directly return dev_err_probe() instead of having a separate return > statement > > [...] Applied to pci/rockchip (dropped dts patches 3-4), thanks! [1/2]

[PATCH v3 RFC net-next 05/19] net: mvpp2: add PPv23 version definition

2021-01-26 Thread stefanc
From: Stefan Chulski This patch add PPv23 version definition. PPv23 is new packet processor in CP115. Everything that supported by PPv22, also supported by PPv23. No functional changes in this stage. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 24

Re: [patch 1/8] rtc: mc146818: Prevent reading garbage - bug

2021-01-26 Thread Mickaël Salaün
Hi, After some bisecting, I found that commit 05a0302c3548 ("rtc: mc146818: Prevent reading garbage", this patch, introduced since v5.11-rc1) makes my VM hang at boot. Before this commit, I got this (and didn't notice) at every boot: rtc_cmos rtc_cmos: registered as rtc0 rtc_cmos rtc_cmos:

Re: [PATCH 3/3] iio: proximity: Add a ChromeOS EC MKBP proximity driver

2021-01-26 Thread Stephen Boyd
Quoting Jonathan Cameron (2021-01-24 09:38:20) > On Fri, 22 Jan 2021 14:54:43 -0800 > Stephen Boyd wrote: > > > Add support for a ChromeOS EC proximity driver that exposes a "front" > > proximity sensor via the IIO subsystem. The EC decides when front > > proximity is near and sets an MKBP

Re: [PATCH v7 02/28] coresight: etm4x: Skip accessing TRCPDCR in save/restore

2021-01-26 Thread Mathieu Poirier
On Sun, Jan 10, 2021 at 10:48:24PM +, Suzuki K Poulose wrote: > When the ETM is affected by Qualcomm errata, modifying the > TRCPDCR could cause the system hang. Even though this is > taken care of during enable/disable ETM, the ETM state > save/restore could still access the TRCPDCR. Make

[PATCH 4.19 04/58] ACPI: scan: Make acpi_bus_get_device() clear return pointer on error

2021-01-26 Thread Greg Kroah-Hartman
From: Hans de Goede commit 78a18fec5258c8df9435399a1ea022d73d3eceb9 upstream. Set the acpi_device pointer which acpi_bus_get_device() returns-by- reference to NULL on errors. We've recently had 2 cases where callers of acpi_bus_get_device() did not properly error check the return value, so set

[PATCH 4.19 36/58] ehci: fix EHCI host controller initialization sequence

2021-01-26 Thread Greg Kroah-Hartman
From: Eugene Korenevsky commit 280a9045bb18833db921b316a5527d2b565e9f2e upstream. According to EHCI spec, EHCI HC clears USBSTS.HCHalted whenever USBCMD.RS=1. However, it is a good practice to wait some time after setting USBCMD.RS (approximately 100ms) until USBSTS.HCHalted become zero.

[PATCH 4.19 26/58] platform/x86: intel-vbtn: Drop HP Stream x360 Convertible PC 11 from allow-list

2021-01-26 Thread Greg Kroah-Hartman
From: Hans de Goede [ Upstream commit 070222731be52d741e55d8967b1764482b81e54c ] THe HP Stream x360 Convertible PC 11 DSDT has the following VGBS function: Method (VGBS, 0, Serialized) { If ((^^PCI0.LPCB.EC0.ROLS == Zero)) {

[PATCH 4.19 39/58] usb: udc: core: Use lock when write to soft_connect

2021-01-26 Thread Greg Kroah-Hartman
From: Thinh Nguyen commit c28095bc99073ddda65e4f31f6ae0d908d4d5cd8 upstream. Use lock to guard against concurrent access for soft-connect/disconnect operations when writing to soft_connect sysfs. Fixes: 2ccea03a8f7e ("usb: gadget: introduce UDC Class") Cc: sta...@vger.kernel.org Acked-by:

[PATCH 4.19 40/58] usb: bdc: Make bdc pci driver depend on BROKEN

2021-01-26 Thread Greg Kroah-Hartman
From: Patrik Jakobsson commit ef02684c4e67d8c35ac83083564135bc7b1d3445 upstream. The bdc pci driver is going to be removed due to it not existing in the wild. This patch turns off compilation of the driver so that stable kernels can also pick up the change. This helps the out-of-tree facetimehd

[PATCH 4.19 42/58] xhci: tegra: Delay for disabling LFPS detector

2021-01-26 Thread Greg Kroah-Hartman
From: JC Kuo commit da7e0c3c2909a3d9bf8acfe1db3cb213bd7febfb upstream. Occasionally, we are seeing some SuperSpeed devices resumes right after being directed to U3. This commits add 500us delay to ensure LFPS detector is disabled before sending ACK to firmware. [ 16.099363] tegra-xusb

[PATCH 4.19 43/58] driver core: Extend device_is_dependent()

2021-01-26 Thread Greg Kroah-Hartman
From: Rafael J. Wysocki commit 3d1cf435e201d1fd63e4346b141881aed086effd upstream. If the device passed as the target (second argument) to device_is_dependent() is not completely registered (that is, it has been initialized, but not added yet), but the parent pointer of it is set, it may be

[PATCH 4.19 44/58] netfilter: rpfilter: mask ecn bits before fib lookup

2021-01-26 Thread Greg Kroah-Hartman
From: Guillaume Nault commit 2e5a6266fbb11ae93c468dfecab169aca9c27b43 upstream. RT_TOS() only masks one of the two ECN bits. Therefore rpfilter_mt() treats Not-ECT or ECT(1) packets in a different way than those with ECT(0) or CE. Reproducer: Create two netns, connected with a veth: $ ip

[PATCH 4.19 41/58] xhci: make sure TRB is fully written before giving it to the controller

2021-01-26 Thread Greg Kroah-Hartman
From: Mathias Nyman commit 576667bad341516edc4e18eb85acb0a2b4c9c9d9 upstream. Once the command ring doorbell is rung the xHC controller will parse all command TRBs on the command ring that have the cycle bit set properly. If the driver just started writing the next command TRB to the ring when

[PATCH 4.19 45/58] sh: dma: fix kconfig dependency for G2_DMA

2021-01-26 Thread Greg Kroah-Hartman
From: Necip Fazil Yildiran commit f477a538c14d07f8c45e554c8c5208d588514e98 upstream. When G2_DMA is enabled and SH_DMA is disabled, it results in the following Kbuild warning: WARNING: unmet direct dependencies detected for SH_DMA_API Depends on [n]: SH_DMA [=n] Selected by [y]: - G2_DMA

[PATCH 4.19 19/58] drm/nouveau/bios: fix issue shadowing expansion ROMs

2021-01-26 Thread Greg Kroah-Hartman
From: Ben Skeggs [ Upstream commit 402a89660e9dc880710b12773076a336c9dab3d7 ] This issue has generally been covered up by the presence of additional expansion ROMs after the ones we're interested in, with header fetches of subsequent images loading enough of the ROM to hide the issue. Noticed

[PATCH 4.19 00/58] 4.19.171-rc1 review

2021-01-26 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.19.171 release. There are 58 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, 27 Jan 2021 18:31:44 +. Anything

[PATCH 4.19 08/58] dm: avoid filesystem lookup in dm_get_dev_t()

2021-01-26 Thread Greg Kroah-Hartman
From: Hannes Reinecke commit 809b1e4945774c9ec5619a8f4e2189b7b3833c0c upstream. This reverts commit 644bda6f3460 ("dm table: fall back to getting device using name_to_dev_t()") dm_get_dev_t() is just used to convert an arbitrary 'path' string into a dev_t. It doesn't presume that the device is

[PATCH 4.19 37/58] USB: ehci: fix an interrupt calltrace error

2021-01-26 Thread Greg Kroah-Hartman
From: Longfang Liu commit 643a4df7fe3f6831d14536fd692be85f92670a52 upstream. The system that use Synopsys USB host controllers goes to suspend when using USB audio player. This causes the USB host controller continuous send interrupt signal to system, When the number of interrupts exceeds

[PATCH 4.19 09/58] dm integrity: fix a crash if "recalculate" used without "internal_hash"

2021-01-26 Thread Greg Kroah-Hartman
From: Mikulas Patocka commit 2d06dfecb132a1cc2e374a44eae83b5c4356b8b4 upstream. Recalculate can only be specified with internal_hash. Cc: sta...@vger.kernel.org # v4.19+ Signed-off-by: Mikulas Patocka Signed-off-by: Mike Snitzer Signed-off-by: Greg Kroah-Hartman ---

Re: [PATCH] arm64: dts: meson: add i2c3/rtc nodes and rtc aliases to ODROID-N2 dtsi

2021-01-26 Thread Kevin Hilman
On Mon, 11 Jan 2021 13:58:31 +, Christian Hewitt wrote: > Enable the onboard pcf8563 rtc hardware on ODROID N2/N2+ boards via the > common dtsi. Also add aliases to ensure vrtc does not claim /dev/rtc0. Applied, thanks! [1/1] arm64: dts: meson: add i2c3/rtc nodes and rtc aliases to ODROID-N2

Re: [PATCH] arm64: dts: meson: shorten audio card names for alsa compatibility

2021-01-26 Thread Kevin Hilman
On Fri, 1 Jan 2021 06:37:37 +, Christian Hewitt wrote: > This patch shortens all audio card model names by dropping the SoC prefix > (for conformity) and rewording those that are still longer than alsa's 15 > character name limit [0] to avoid userspace config issues. > > [0] >

[PATCH 4.19 28/58] can: dev: can_restart: fix use after free bug

2021-01-26 Thread Greg Kroah-Hartman
From: Vincent Mailhol [ Upstream commit 03f16c5075b22c8902d2af739969e878b0879c94 ] After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the netif_rx_ni() in: stats->rx_bytes += cf->len; Reordering the lines

[PATCH 4.19 55/58] ipv6: set multicast flag on the multicast route

2021-01-26 Thread Greg Kroah-Hartman
From: Matteo Croce commit ceed9038b2783d14e0422bdc6fd04f70580efb4c upstream. The multicast route ff00::/8 is created with type RTN_UNICAST: $ ip -6 -d route unicast ::1 dev lo proto kernel scope global metric 256 pref medium unicast fe80::/64 dev eth0 proto kernel scope global metric 256

[PATCH 4.19 32/58] irqchip/mips-cpu: Set IPI domain parent chip

2021-01-26 Thread Greg Kroah-Hartman
From: Mathias Kresin commit 599b3063adf4bf041a87a69244ee36aded0d878f upstream. Since commit 55567976629e ("genirq/irqdomain: Allow partial trimming of irq_data hierarchy") the irq_data chain is valided. The irq_domain_trim_hierarchy() function doesn't consider the irq + ipi domain hierarchy as

[PATCH 4.19 48/58] skbuff: back tiny skbs with kmalloc() in __netdev_alloc_skb() too

2021-01-26 Thread Greg Kroah-Hartman
From: Alexander Lobakin commit 66c556025d687dbdd0f748c5e1df89c977b6c02a upstream. Commit 3226b158e67c ("net: avoid 32 x truesize under-estimation for tiny skbs") ensured that skbs with data size lower than 1025 bytes will be kmalloc'ed to avoid excessive page cache fragmentation and memory

[PATCH 4.19 49/58] kasan: fix unaligned address is unhandled in kasan_remove_zero_shadow

2021-01-26 Thread Greg Kroah-Hartman
From: Lecopzer Chen commit a11a496ee6e2ab6ed850233c96b94caf042af0b9 upstream. During testing kasan_populate_early_shadow and kasan_remove_zero_shadow, if the shadow start and end address in kasan_remove_zero_shadow() is not aligned to PMD_SIZE, the remain unaligned PTE won't be removed. In the

[PATCH 4.19 47/58] sh_eth: Fix power down vs. is_opened flag ordering

2021-01-26 Thread Greg Kroah-Hartman
From: Geert Uytterhoeven commit f6a2e94b3f9d89cb40771ff746b16b5687650cbb upstream. sh_eth_close() does a synchronous power down of the device before marking it closed. Revert the order, to make sure the device is never marked opened while suspended. While at it, use pm_runtime_put() instead

[PATCH 4.19 46/58] net: dsa: mv88e6xxx: also read STU state in mv88e6250_g1_vtu_getnext

2021-01-26 Thread Greg Kroah-Hartman
From: Rasmus Villemoes commit 87fe04367d842c4d97a77303242d4dd4ac351e46 upstream. mv88e6xxx_port_vlan_join checks whether the VTU already contains an entry for the given vid (via mv88e6xxx_vtu_getnext), and if so, merely changes the relevant .member[] element and loads the updated entry into the

[PATCH 4.19 31/58] iio: ad5504: Fix setting power-down state

2021-01-26 Thread Greg Kroah-Hartman
From: Lars-Peter Clausen commit efd597b2839a9895e8a98fcb0b76d2f545802cd4 upstream. The power-down mask of the ad5504 is actually a power-up mask. Meaning if a bit is set the corresponding channel is powered up and if it is not set the channel is powered down. The driver currently has this the

[PATCH 4.19 57/58] net: Disable NETIF_F_HW_TLS_RX when RXCSUM is disabled

2021-01-26 Thread Greg Kroah-Hartman
From: Tariq Toukan commit a3eb4e9d4c9218476d05c52dfd2be3d6fdce6b91 upstream. With NETIF_F_HW_TLS_RX packets are decrypted in HW. This cannot be logically done when RXCSUM offload is off. Fixes: 14136564c8ee ("net: Add TLS RX offload feature") Signed-off-by: Tariq Toukan Reviewed-by: Boris

[PATCH 4.19 33/58] intel_th: pci: Add Alder Lake-P support

2021-01-26 Thread Greg Kroah-Hartman
From: Alexander Shishkin commit cb5c681ab9037e25fcca20689c82cf034566d610 upstream. This adds support for the Trace Hub in Alder Lake-P. Signed-off-by: Alexander Shishkin Link: https://lore.kernel.org/r/20210115195917.3184-3-alexander.shish...@linux.intel.com Cc: stable Signed-off-by: Greg

[PATCH 4.19 29/58] can: vxcan: vxcan_xmit: fix use after free bug

2021-01-26 Thread Greg Kroah-Hartman
From: Vincent Mailhol [ Upstream commit 75854cad5d80976f6ea0f0431f8cedd3bcc475cb ] After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the canfd_frame cfd which aliases skb memory is accessed after the netif_rx_ni(). Fixes: a8f820a380a2 ("can: add Virtual CAN Tunnel driver

[PATCH 4.19 54/58] net_sched: reject silly cell_log in qdisc_get_rtab()

2021-01-26 Thread Greg Kroah-Hartman
From: Eric Dumazet commit e4bedf48aaa5552bc1f49703abd17606e7e6e82a upstream. iproute2 probably never goes beyond 8 for the cell exponent, but stick to the max shift exponent for signed 32bit. UBSAN reported: UBSAN: shift-out-of-bounds in net/sched/sch_api.c:389:22 shift exponent 130 is too

[PATCH 5.4 01/86] i2c: bpmp-tegra: Ignore unknown I2C_M flags

2021-01-26 Thread Greg Kroah-Hartman
From: Mikko Perttunen commit bc1c2048abbe3c3074b4de91d213595c57741a6b upstream. In order to not to start returning errors when new I2C_M flags are added, change behavior to just ignore all flags that we don't know about. This includes the I2C_M_DMA_SAFE flag that already exists but causes

[PATCH 5.4 15/86] drm/atomic: put state on error path

2021-01-26 Thread Greg Kroah-Hartman
From: Pan Bian commit 43b67309b6b2a3c08396cc9b3f83f21aa529d273 upstream. Put the state before returning error code. Fixes: 44596b8c4750 ("drm/atomic: Unify conflicting encoder handling.") Signed-off-by: Pan Bian Cc: sta...@vger.kernel.org Signed-off-by: Daniel Vetter Link:

[PATCH 5.4 06/86] ACPI: scan: Make acpi_bus_get_device() clear return pointer on error

2021-01-26 Thread Greg Kroah-Hartman
From: Hans de Goede commit 78a18fec5258c8df9435399a1ea022d73d3eceb9 upstream. Set the acpi_device pointer which acpi_bus_get_device() returns-by- reference to NULL on errors. We've recently had 2 cases where callers of acpi_bus_get_device() did not properly error check the return value, so set

[PATCH 5.4 16/86] drm/syncobj: Fix use-after-free

2021-01-26 Thread Greg Kroah-Hartman
From: Daniel Vetter commit a37eef63bc9e16e06361b539e528058146af80ab upstream. While reviewing Christian's annotation patch I noticed that we have a user-after-free for the WAIT_FOR_SUBMIT case: We drop the syncobj reference before we've completed the waiting. Of course usually there's nothing

[PATCH 5.4 26/86] HID: logitech-dj: add the G602 receiver

2021-01-26 Thread Greg Kroah-Hartman
From: Filipe Laíns [ Upstream commit e400071a805d6229223a98899e9da8c6233704a1 ] Tested. The device gets correctly exported to userspace and I can see mouse and keyboard events. Signed-off-by: Filipe Laíns Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin ---

Re: [PATCH] mm/filemap: Adding missing mem_cgroup_uncharge() to __add_to_page_cache_locked()

2021-01-26 Thread Johannes Weiner
On Mon, Jan 25, 2021 at 05:41:18PM +0100, Michal Hocko wrote: > On Mon 25-01-21 16:25:06, Matthew Wilcox wrote: > > On Mon, Jan 25, 2021 at 05:03:28PM +0100, Michal Hocko wrote: > > > On Mon 25-01-21 10:57:54, Waiman Long wrote: > > > > On 1/25/21 4:28 AM, Michal Hocko wrote: > > > > > On Sun

[PATCH 5.4 20/86] dm integrity: select CRYPTO_SKCIPHER

2021-01-26 Thread Greg Kroah-Hartman
From: Anthony Iliopoulos [ Upstream commit f7b347acb5f6c29d9229bb64893d8b6a2c7949fb ] The integrity target relies on skcipher for encryption/decryption, but certain kernel configurations may not enable CRYPTO_SKCIPHER, leading to compilation errors due to unresolved symbols. Explicitly select

[PATCH 5.4 23/86] scsi: sd: Suppress spurious errors when WRITE SAME is being disabled

2021-01-26 Thread Greg Kroah-Hartman
From: Ewan D. Milne [ Upstream commit e5cc9002caafacbaa8dab878d17a313192c3b03b ] The block layer code will split a large zeroout request into multiple bios and if WRITE SAME is disabled because the storage device reports that it does not support it (or support the length used), we can get an

[PATCH 5.4 34/86] riscv: defconfig: enable gpio support for HiFive Unleashed

2021-01-26 Thread Greg Kroah-Hartman
From: Sagar Shrikant Kadam [ Upstream commit 0983834a83931606a647c275e5d4165ce4e7b49f ] Ethernet phy VSC8541-01 on HiFive Unleashed has its reset line connected to a gpio, so enable GPIO driver's required to reset the phy. Signed-off-by: Sagar Shrikant Kadam Signed-off-by: Palmer Dabbelt

[PATCH 5.4 08/86] btrfs: fix lockdep splat in btrfs_recover_relocation

2021-01-26 Thread Greg Kroah-Hartman
From: Josef Bacik commit fb286100974e7239af243bc2255a52f29442f9c8 upstream. While testing the error paths of relocation I hit the following lockdep splat: == WARNING: possible circular locking dependency detected 5.10.0-rc6+ #217 Not

FOR THE LESS PRIVILEDGE

2021-01-26 Thread virginiadumitru
Dear Friend. My name is Mrs.Virginia Dumitru a merchant in Romania. I have been diagnosed with Esophageal cancer. I have a huge cash deposit of TWELVE MILLION DOLLARS $12,000,000, That I have with a finance/Security Company abroad. I will want you to help me collect this deposit and

[PATCH 5.4 12/86] mmc: sdhci-xenon: fix 1.8v regulator stabilization

2021-01-26 Thread Greg Kroah-Hartman
From: Alex Leibovich commit 1a3ed0dc3594d99ff341ec63865a40519ea24b8d upstream. Automatic Clock Gating is a feature used for the power consumption optimisation. It turned out that during early init phase it may prevent the stable voltage switch to 1.8V - due to that on some platforms an endless

[PATCH 5.4 13/86] dm: avoid filesystem lookup in dm_get_dev_t()

2021-01-26 Thread Greg Kroah-Hartman
From: Hannes Reinecke commit 809b1e4945774c9ec5619a8f4e2189b7b3833c0c upstream. This reverts commit 644bda6f3460 ("dm table: fall back to getting device using name_to_dev_t()") dm_get_dev_t() is just used to convert an arbitrary 'path' string into a dev_t. It doesn't presume that the device is

[PATCH 5.4 58/86] serial: mvebu-uart: fix tx lost characters at power off

2021-01-26 Thread Greg Kroah-Hartman
From: Pali Rohár commit 54ca955b5a4024e2ce0f206b03adb7109bc4da26 upstream. Commit c685af1108d7 ("serial: mvebu-uart: fix tx lost characters") fixed tx lost characters at low baud rates but started causing tx lost characters when kernel is going to power off or reboot. TX_EMP tells us when

[PATCH 5.4 41/86] drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0

2021-01-26 Thread Greg Kroah-Hartman
From: Ben Skeggs [ Upstream commit caeb6ab899c3d36a74cda6e299c6e1c9c4e2a22e ] VRAM offset 0 is a valid address, triggered on GA102. Signed-off-by: Ben Skeggs Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 4 ++-- drivers/gpu/drm/nouveau/dispnv50/disp.h | 2

[PATCH 5.4 60/86] USB: ehci: fix an interrupt calltrace error

2021-01-26 Thread Greg Kroah-Hartman
From: Longfang Liu commit 643a4df7fe3f6831d14536fd692be85f92670a52 upstream. The system that use Synopsys USB host controllers goes to suspend when using USB audio player. This causes the USB host controller continuous send interrupt signal to system, When the number of interrupts exceeds

[PATCH 5.4 57/86] stm class: Fix module init return on allocation failure

2021-01-26 Thread Greg Kroah-Hartman
From: Wang Hui commit 927633a6d20af319d986f3e42c3ef9f6d7835008 upstream. In stm_heartbeat_init(): return value gets reset after the first iteration by stm_source_register_device(), so allocation failures after that will, after a clean up, return success. Fix that. Fixes: 119291853038 ("stm

[PATCH 5.4 69/86] netfilter: rpfilter: mask ecn bits before fib lookup

2021-01-26 Thread Greg Kroah-Hartman
From: Guillaume Nault commit 2e5a6266fbb11ae93c468dfecab169aca9c27b43 upstream. RT_TOS() only masks one of the two ECN bits. Therefore rpfilter_mt() treats Not-ECT or ECT(1) packets in a different way than those with ECT(0) or CE. Reproducer: Create two netns, connected with a veth: $ ip

[PATCH 5.4 63/86] usb: bdc: Make bdc pci driver depend on BROKEN

2021-01-26 Thread Greg Kroah-Hartman
From: Patrik Jakobsson commit ef02684c4e67d8c35ac83083564135bc7b1d3445 upstream. The bdc pci driver is going to be removed due to it not existing in the wild. This patch turns off compilation of the driver so that stable kernels can also pick up the change. This helps the out-of-tree facetimehd

[PATCH 5.4 44/86] scsi: megaraid_sas: Fix MEGASAS_IOC_FIRMWARE regression

2021-01-26 Thread Greg Kroah-Hartman
From: Arnd Bergmann [ Upstream commit b112036535eda34460677ea883eaecc3a45a435d ] Phil Oester reported that a fix for a possible buffer overrun that I sent caused a regression that manifests in this output: Event Message: A PCI parity error was detected on a component at bus 0 device 5

[PATCH 5.4 67/86] pinctrl: ingenic: Fix JZ4760 support

2021-01-26 Thread Greg Kroah-Hartman
From: Paul Cercueil commit 9a85c09a3f507b925d75cb0c7c8f364467038052 upstream. - JZ4760 and JZ4760B have a similar register layout as the JZ4740, and don't use the new register layout, which was introduced with the JZ4770 SoC and not the JZ4760 or JZ4760B SoCs. - The JZ4740 code path only

[PATCH 5.4 75/86] kasan: fix unaligned address is unhandled in kasan_remove_zero_shadow

2021-01-26 Thread Greg Kroah-Hartman
From: Lecopzer Chen commit a11a496ee6e2ab6ed850233c96b94caf042af0b9 upstream. During testing kasan_populate_early_shadow and kasan_remove_zero_shadow, if the shadow start and end address in kasan_remove_zero_shadow() is not aligned to PMD_SIZE, the remain unaligned PTE won't be removed. In the

[PATCH 5.4 82/86] net: mscc: ocelot: allow offloading of bridge on top of LAG

2021-01-26 Thread Greg Kroah-Hartman
From: Vladimir Oltean commit 79267ae22615496655feee2db0848f6786bcf67a upstream. The blamed commit was too aggressive, and it made ocelot_netdevice_event react only to network interface events emitted for the ocelot switch ports. In fact, only the PRECHANGEUPPER should have had that check.

[PATCH 5.4 76/86] kasan: fix incorrect arguments passing in kasan_add_zero_shadow

2021-01-26 Thread Greg Kroah-Hartman
From: Lecopzer Chen commit 5dabd1712cd056814f9ab15f1d68157ceb04e741 upstream. kasan_remove_zero_shadow() shall use original virtual address, start and size, instead of shadow address. Link: https://lkml.kernel.org/r/20210103063847.5963-1-lecop...@gmail.com Fixes: 0207df4fa1a86

[PATCH 5.4 85/86] tcp: do not mess with cloned skbs in tcp_add_backlog()

2021-01-26 Thread Greg Kroah-Hartman
From: Eric Dumazet commit b160c28548bc0a87cbd16d5af6d3edcfd70b8c9a upstream. Heiner Kallweit reported that some skbs were sent with the following invalid GSO properties : - gso_size > 0 - gso_type == 0 This was triggerring a WARN_ON_ONCE() in rtl8169_tso_csum_v2. Juerg Haefliger was able to

[PATCH 5.4 47/86] platform/x86: intel-vbtn: Drop HP Stream x360 Convertible PC 11 from allow-list

2021-01-26 Thread Greg Kroah-Hartman
From: Hans de Goede [ Upstream commit 070222731be52d741e55d8967b1764482b81e54c ] THe HP Stream x360 Convertible PC 11 DSDT has the following VGBS function: Method (VGBS, 0, Serialized) { If ((^^PCI0.LPCB.EC0.ROLS == Zero)) {

Re: [PATCH] arm64: kfence: fix header inclusion

2021-01-26 Thread Catalin Marinas
On Mon, Jan 25, 2021 at 01:50:20PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Randconfig builds started warning about a missing function declaration > after set_memory_valid() is moved to a new file: > > In file included from mm/kfence/core.c:26: >

[PATCH 5.4 86/86] tcp: fix TCP_USER_TIMEOUT with zero window

2021-01-26 Thread Greg Kroah-Hartman
From: Enke Chen commit 9d9b1ee0b2d1c9e02b2338c4a4b0a062d2d3edac upstream. The TCP session does not terminate with TCP_USER_TIMEOUT when data remain untransmitted due to zero window. The number of unanswered zero-window probes (tcp_probes_out) is reset to zero with incoming acks irrespective of

[PATCH v11 1/3] dt-bindings: vendor-prefixes: Add asix prefix

2021-01-26 Thread Łukasz Stelmach
Add the prefix for ASIX Electronics Corporation. Signed-off-by: Łukasz Stelmach Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v11 2/3] dt-bindings: net: Add bindings for AX88796C SPI Ethernet Adapter

2021-01-26 Thread Łukasz Stelmach
Add bindings for AX88796C SPI Ethernet Adapter. Signed-off-by: Łukasz Stelmach Reviewed-by: Rob Herring Acked-by: Krzysztof Kozlowski --- .../bindings/net/asix,ax88796c.yaml | 73 +++ 1 file changed, 73 insertions(+) create mode 100644

[PATCH v3 RFC net-next 01/19] doc: marvell: add cm3-mem device tree bindings description

2021-01-26 Thread stefanc
From: Stefan Chulski Signed-off-by: Stefan Chulski --- Documentation/devicetree/bindings/net/marvell-pp2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/marvell-pp2.txt b/Documentation/devicetree/bindings/net/marvell-pp2.txt index b783976..f9f8cc6

Re: [PATCH 4/4] phy: qcom-qmp: Add support for SM8350 UFS phy

2021-01-26 Thread Bjorn Andersson
On Mon 25 Jan 04:09 CST 2021, Vinod Koul wrote: > Add the tables for init sequences for UFS QMP phy found in SM8350 SoC. > Reviewed-by: Bjorn Andersson Regards, Bjorn > Signed-off-by: Vinod Koul > --- > drivers/phy/qualcomm/phy-qcom-qmp.c | 127 > 1 file

[PATCH v3 RFC net-next 00/19] net: mvpp2: Add TX Flow Control support

2021-01-26 Thread stefanc
From: Stefan Chulski Armada hardware has a pause generation mechanism in GOP (MAC). The GOP generate flow control frames based on an indication programmed in Ports Control 0 Register. There is a bit per port. However assertion of the PortX Pause bits in the ports control 0 register only sends

Re: [PATCH v5 13/21] arm64: Allow ID_AA64MMFR1_EL1.VH to be overridden from the command line

2021-01-26 Thread Catalin Marinas
On Mon, Jan 25, 2021 at 10:50:11AM +, Marc Zyngier wrote: > As we want to be able to disable VHE at runtime, let's match > "id_aa64mmfr1.vh=" from the command line as an override. > This doesn't have much effect yet as our boot code doesn't look > at the cpufeature, but only at the HW

Re: [PATCH] mmc: brcmstb: Fix sdhci_pltfm_suspend link error

2021-01-26 Thread Nicolas Schichan
On 25/01/2021 13:50, Arnd Bergmann wrote: > From: Arnd Bergmann > > sdhci_pltfm_suspend() is only available when CONFIG_PM_SLEEP > support is built into the kernel, which caused a regression > in a recent bugfix: > > ld.lld: error: undefined symbol: sdhci_pltfm_suspend referenced by

[PATCH 4.19 02/58] ALSA: seq: oss: Fix missing error check in snd_seq_oss_synth_make_info()

2021-01-26 Thread Greg Kroah-Hartman
From: Takashi Iwai commit 217bfbb8b0bfa24619b11ab75c135fec99b99b20 upstream. snd_seq_oss_synth_make_info() didn't check the error code from snd_seq_oss_midi_make_info(), and this leads to the call of strlcpy() with the uninitialized string as the source, which may lead to the access over the

[PATCH 4.19 22/58] drm/nouveau/mmu: fix vram heap sizing

2021-01-26 Thread Greg Kroah-Hartman
From: Ben Skeggs [ Upstream commit add42781ad76c5ae65127bf13852a4c6b2f08849 ] Signed-off-by: Ben Skeggs Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 4.19 11/58] ASoC: Intel: haswell: Add missing pm_ops

2021-01-26 Thread Greg Kroah-Hartman
From: Cezary Rojewski [ Upstream commit bb224c3e3e41d940612d4cc9573289cdbd5cb8f5 ] haswell machine board is missing pm_ops what prevents it from undergoing suspend-resume procedure successfully. Assign default snd_soc_pm_ops so this is no longer the case. Signed-off-by: Cezary Rojewski Link:

[PATCH 4.19 01/58] i2c: bpmp-tegra: Ignore unknown I2C_M flags

2021-01-26 Thread Greg Kroah-Hartman
From: Mikko Perttunen commit bc1c2048abbe3c3074b4de91d213595c57741a6b upstream. In order to not to start returning errors when new I2C_M flags are added, change behavior to just ignore all flags that we don't know about. This includes the I2C_M_DMA_SAFE flag that already exists but causes

[PATCH 4.19 23/58] drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0

2021-01-26 Thread Greg Kroah-Hartman
From: Ben Skeggs [ Upstream commit caeb6ab899c3d36a74cda6e299c6e1c9c4e2a22e ] VRAM offset 0 is a valid address, triggered on GA102. Signed-off-by: Ben Skeggs Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 4 ++-- drivers/gpu/drm/nouveau/dispnv50/disp.h | 2

[PATCH 4.19 20/58] drm/nouveau/privring: ack interrupts the same way as RM

2021-01-26 Thread Greg Kroah-Hartman
From: Ben Skeggs [ Upstream commit e05e06cd34f5311f677294a08b609acfbc315236 ] Whatever it is that we were doing before doesn't work on Ampere. Signed-off-by: Ben Skeggs Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c | 10 +++---

[PATCH 4.19 05/58] btrfs: fix lockdep splat in btrfs_recover_relocation

2021-01-26 Thread Greg Kroah-Hartman
From: Josef Bacik commit fb286100974e7239af243bc2255a52f29442f9c8 upstream. While testing the error paths of relocation I hit the following lockdep splat: == WARNING: possible circular locking dependency detected 5.10.0-rc6+ #217 Not

[PATCH 4.19 17/58] clk: tegra30: Add hda clock default rates to clock driver

2021-01-26 Thread Greg Kroah-Hartman
From: Peter Geis [ Upstream commit f4eccc7fea203cfb35205891eced1ab51836f362 ] Current implementation defaults the hda clocks to clk_m. This causes hda to run too slow to operate correctly. Fix this by defaulting to pll_p and setting the frequency to the correct rate. This matches upstream t124

[PATCH 4.19 21/58] drm/nouveau/i2c/gm200: increase width of aux semaphore owner fields

2021-01-26 Thread Greg Kroah-Hartman
From: Ben Skeggs [ Upstream commit ba6e9ab0fcf3d76e3952deb12b5f993991621d9c ] Noticed while debugging GA102. Signed-off-by: Ben Skeggs Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 4.19 38/58] usb: gadget: aspeed: fix stop dma register setting.

2021-01-26 Thread Greg Kroah-Hartman
From: Ryan Chen commit 4e0dcf62ab4cf917d0cbe751b8bf229a065248d4 upstream. The vhub engine has two dma mode, one is descriptor list, another is single stage DMA. Each mode has different stop register setting. Descriptor list operation (bit2) : 0 disable reset, 1: enable reset Single mode

[PATCH 5.4 18/86] ASoC: Intel: haswell: Add missing pm_ops

2021-01-26 Thread Greg Kroah-Hartman
From: Cezary Rojewski [ Upstream commit bb224c3e3e41d940612d4cc9573289cdbd5cb8f5 ] haswell machine board is missing pm_ops what prevents it from undergoing suspend-resume procedure successfully. Assign default snd_soc_pm_ops so this is no longer the case. Signed-off-by: Cezary Rojewski Link:

[PATCH 5.4 00/86] 5.4.93-rc1 review

2021-01-26 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.4.93 release. There are 86 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, 27 Jan 2021 18:31:44 +. Anything

[PATCH 5.4 02/86] platform/x86: i2c-multi-instantiate: Dont create platform device for INT3515 ACPI nodes

2021-01-26 Thread Greg Kroah-Hartman
From: Heikki Krogerus commit 9bba96275576da0cf78ede62aeb2fc975ed8a32d upstream. There are several reports about the tps6598x causing interrupt flood on boards with the INT3515 ACPI node, which then causes instability. There appears to be several problems with the interrupt. One problem is that

Re: [PATCH 0/5] Thermal zone configuration for Meson8/Meson8b/Meson8m2

2021-01-26 Thread Kevin Hilman
On Mon, 21 Dec 2020 19:13:01 +0100, Martin Blumenstingl wrote: > This adds the thermal zone configuration on Meson8/Meson8b/Meson8m2 > SoCs. The thermal sensor reading is taken from SAR ADC. With > "generic-adc-thermal" it is then used to configure the thermal zone. > > CPU and GPU frequencies

Re: [PATCH v7 03/28] coresight: Introduce device access abstraction

2021-01-26 Thread Mathieu Poirier
On Sun, Jan 10, 2021 at 10:48:25PM +, Suzuki K Poulose wrote: > We are about to introduce support for sysreg access to ETMv4.4+ > component. Since there are generic routines that access the > registers (e.g, CS_LOCK/UNLOCK , claim/disclaim operations, timeout) > and in order to preserve the

[PATCH 4.19 58/58] net: dsa: b53: fix an off by one in checking "vlan->vid"

2021-01-26 Thread Greg Kroah-Hartman
From: Dan Carpenter commit 8e4052c32d6b4b39c1e13c652c7e33748d447409 upstream. The > comparison should be >= to prevent accessing one element beyond the end of the dev->vlans[] array in the caller function, b53_vlan_add(). The "dev->vlans" array is allocated in the b53_switch_init() function and

[PATCH 5.4 03/86] platform/x86: ideapad-laptop: Disable touchpad_switch for ELAN0634

2021-01-26 Thread Greg Kroah-Hartman
From: Jiaxun Yang commit f419e5940f1d9892ea6f45acdaca572b9e73ff39 upstream. Newer ideapads (e.g.: Yoga 14s, 720S 14) come with ELAN0634 touchpad do not use EC to switch touchpad. Reading VPCCMD_R_TOUCHPAD will return zero thus touchpad may be blocked unexpectedly. Writing VPCCMD_W_TOUCHPAD may

[PATCH 5.4 32/86] dts: phy: fix missing mdio device and probe failure of vsc8541-01 device

2021-01-26 Thread Greg Kroah-Hartman
From: Sagar Shrikant Kadam [ Upstream commit be969b7cfbcfa8a835a528f1dc467f0975c6d883 ] HiFive unleashed A00 board has VSC8541-01 ethernet phy, this device is identified as a Revision B device as described in device identification registers. In order to use this phy in the unmanaged mode, it

[PATCH 5.4 35/86] drm/amdgpu/psp: fix psp gfx ctrl cmds

2021-01-26 Thread Greg Kroah-Hartman
From: Victor Zhao [ Upstream commit f14a5c34d143f6627f0be70c0de1d962f3a6ff1c ] psp GFX_CTRL_CMD_ID_CONSUME_CMD different for windows and linux, according to psp, linux cmds are not correct. v2: only correct GFX_CTRL_CMD_ID_CONSUME_CMD. Signed-off-by: Victor Zhao Reviewed-by: Emily.Deng

[PATCH 5.4 40/86] drm/nouveau/mmu: fix vram heap sizing

2021-01-26 Thread Greg Kroah-Hartman
From: Ben Skeggs [ Upstream commit add42781ad76c5ae65127bf13852a4c6b2f08849 ] Signed-off-by: Ben Skeggs Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 5.4 50/86] can: vxcan: vxcan_xmit: fix use after free bug

2021-01-26 Thread Greg Kroah-Hartman
From: Vincent Mailhol [ Upstream commit 75854cad5d80976f6ea0f0431f8cedd3bcc475cb ] After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the canfd_frame cfd which aliases skb memory is accessed after the netif_rx_ni(). Fixes: a8f820a380a2 ("can: add Virtual CAN Tunnel driver

[PATCH 5.4 51/86] can: peak_usb: fix use after free bugs

2021-01-26 Thread Greg Kroah-Hartman
From: Vincent Mailhol [ Upstream commit 50aca891d7a554db0901b245167cd653d73aaa71 ] After calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the peak_usb_netif_rx_ni(). Reordering the lines solves the issue.

[PATCH 5.4 49/86] can: dev: can_restart: fix use after free bug

2021-01-26 Thread Greg Kroah-Hartman
From: Vincent Mailhol [ Upstream commit 03f16c5075b22c8902d2af739969e878b0879c94 ] After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the netif_rx_ni() in: stats->rx_bytes += cf->len; Reordering the lines

[PATCH 5.4 52/86] iio: ad5504: Fix setting power-down state

2021-01-26 Thread Greg Kroah-Hartman
From: Lars-Peter Clausen commit efd597b2839a9895e8a98fcb0b76d2f545802cd4 upstream. The power-down mask of the ad5504 is actually a power-up mask. Meaning if a bit is set the corresponding channel is powered up and if it is not set the channel is powered down. The driver currently has this the

[PATCH 5.4 54/86] irqchip/mips-cpu: Set IPI domain parent chip

2021-01-26 Thread Greg Kroah-Hartman
From: Mathias Kresin commit 599b3063adf4bf041a87a69244ee36aded0d878f upstream. Since commit 55567976629e ("genirq/irqdomain: Allow partial trimming of irq_data hierarchy") the irq_data chain is valided. The irq_domain_trim_hierarchy() function doesn't consider the irq + ipi domain hierarchy as

[PATCH 5.4 53/86] cifs: do not fail __smb_send_rqst if non-fatal signals are pending

2021-01-26 Thread Greg Kroah-Hartman
From: Ronnie Sahlberg commit 214a5ea081e77346e4963dd6d20c5539ff8b6ae6 upstream. RHBZ 1848178 The original intent of returning an error in this function in the patch: "CIFS: Mask off signals when sending SMB packets" was to avoid interrupting packet send in the middle of sending the data (and

[PATCH 5.4 56/86] intel_th: pci: Add Alder Lake-P support

2021-01-26 Thread Greg Kroah-Hartman
From: Alexander Shishkin commit cb5c681ab9037e25fcca20689c82cf034566d610 upstream. This adds support for the Trace Hub in Alder Lake-P. Signed-off-by: Alexander Shishkin Link: https://lore.kernel.org/r/20210115195917.3184-3-alexander.shish...@linux.intel.com Cc: stable Signed-off-by: Greg

[PATCH 5.4 65/86] xhci: tegra: Delay for disabling LFPS detector

2021-01-26 Thread Greg Kroah-Hartman
From: JC Kuo commit da7e0c3c2909a3d9bf8acfe1db3cb213bd7febfb upstream. Occasionally, we are seeing some SuperSpeed devices resumes right after being directed to U3. This commits add 500us delay to ensure LFPS detector is disabled before sending ACK to firmware. [ 16.099363] tegra-xusb

[PATCH 5.4 66/86] driver core: Extend device_is_dependent()

2021-01-26 Thread Greg Kroah-Hartman
From: Rafael J. Wysocki commit 3d1cf435e201d1fd63e4346b141881aed086effd upstream. If the device passed as the target (second argument) to device_is_dependent() is not completely registered (that is, it has been initialized, but not added yet), but the parent pointer of it is set, it may be

[PATCH 5.4 61/86] usb: gadget: aspeed: fix stop dma register setting.

2021-01-26 Thread Greg Kroah-Hartman
From: Ryan Chen commit 4e0dcf62ab4cf917d0cbe751b8bf229a065248d4 upstream. The vhub engine has two dma mode, one is descriptor list, another is single stage DMA. Each mode has different stop register setting. Descriptor list operation (bit2) : 0 disable reset, 1: enable reset Single mode

[PATCH 5.4 71/86] net: dsa: mv88e6xxx: also read STU state in mv88e6250_g1_vtu_getnext

2021-01-26 Thread Greg Kroah-Hartman
From: Rasmus Villemoes commit 87fe04367d842c4d97a77303242d4dd4ac351e46 upstream. mv88e6xxx_port_vlan_join checks whether the VTU already contains an entry for the given vid (via mv88e6xxx_vtu_getnext), and if so, merely changes the relevant .member[] element and loads the updated entry into the

  1   2   3   4   5   6   7   8   9   10   >