Greetings My Dear,

2020-10-31 Thread Mrs Franisca carlsen
Greetings My Dear, I sent this mail praying it will found you in a good condition of health, since I myself are in a very critical health condition in which I sleep every night without knowing if I may be alive to see the next day. I am Mrs. Francisca Carlsen from Denmark wife of late Mr

From the kindness of our heart!! You have been selected to receive (£1,000,000.00 British Pound)

2020-10-31 Thread Patrick and Frances Connolly
Dear Beneficiary, You have been selected to receive (£1,000,000.00 British Pound) as charity donation/grant from Patrick and Frances Connolly. Therefore, you are required to contact her through email for more details patrickcon2...@gmail.com -- This email has been checked for viruses

Re: [PATCH v2 net 0/5] net: ipa: minor bug fixes

2020-10-31 Thread Alex Elder
On 10/30/20 7:23 PM, Jakub Kicinski wrote: > On Thu, 29 Oct 2020 11:50:52 -0500 Alex Elder wrote: >> On 10/29/20 11:11 AM, Jakub Kicinski wrote: >>> On Wed, 28 Oct 2020 14:41:43 -0500 Alex Elder wrote: This series fixes several bugs. They are minor, in that the code currently works on

Re: [PATCH v7 6/6] drm: exynos: mixer: Add interconnect support

2020-10-31 Thread Krzysztof Kozlowski
On Fri, Oct 30, 2020 at 01:51:49PM +0100, Sylwester Nawrocki wrote: > This patch adds interconnect support to exynos-mixer. The mixer works > the same as before when CONFIG_INTERCONNECT is 'n'. > > For proper operation of the video mixer block we need to ensure the > interconnect busses like DMC

Re: [PATCH v7 6/6] drm: exynos: mixer: Add interconnect support

2020-10-31 Thread Krzysztof Kozlowski
On Fri, Oct 30, 2020 at 01:51:49PM +0100, Sylwester Nawrocki wrote: > This patch adds interconnect support to exynos-mixer. The mixer works > the same as before when CONFIG_INTERCONNECT is 'n'. > > For proper operation of the video mixer block we need to ensure the > interconnect busses like DMC

Re: INFO: task can't die in nbd_ioctl

2020-10-31 Thread syzbot
syzbot has bisected this issue to: commit e9e006f5fcf2bab59149cb38a48a4817c1b538b4 Author: Mike Christie Date: Sun Aug 4 19:10:06 2019 + nbd: fix max number of supported devs bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=154dc19250 start commit: 4e78c578 Add

Re: [PATCH v7 3/6] PM / devfreq: exynos-bus: Add registration of interconnect child device

2020-10-31 Thread Krzysztof Kozlowski
On Fri, Oct 30, 2020 at 01:51:46PM +0100, Sylwester Nawrocki wrote: > This patch adds registration of a child platform device for the exynos > interconnect driver. It is assumed that the interconnect provider will > only be needed when #interconnect-cells property is present in the bus > DT node,

Re: [PATCH] drm/bridge: tpd12s015: Fix irq registering in tpd12s015_probe

2020-10-31 Thread Yuehaibing
On 2020/10/31 15:19, Sam Ravnborg wrote: > Hi YueHaibing > > Thanks for the fix. Appreciated but please update as per comments below. > > On Sat, Oct 31, 2020 at 11:16:48AM +0800, YueHaibing wrote: >> gpiod_to_irq() return negative value in case of error, >> the existing code handle negative

[PATCH V2] arm64: dts: imx8mm-beacon-som: Fix whitespace issue

2020-10-31 Thread Adam Ford
The pinmux subnodes are indented too much. This patch does nothing more than remove an extra tab. There are no functional changes. Signed-off-by: Adam Ford --- V2: Rebase on Shawn's branch diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi

My Greetings

2020-10-31 Thread Mrs. Maya Oliver
My Dear My Name is Mrs. Maya Oliver, from Norway. I know that this message will be a surprise to you. Firstly, I am married to Mr. Patrick Oliver, A gold merchant who owns a small gold Mine in Burkina Faso; He died of Cardiovascular Disease in mid-March 2011. During his life time he deposited the

[gustavoars-linux:for-linus/kspp-fam0] BUILD SUCCESS a38283da05d321fa1fce38ea3cf41c9f1dbd1f21

2020-10-31 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git for-linus/kspp-fam0 branch HEAD: a38283da05d321fa1fce38ea3cf41c9f1dbd1f21 printk: ringbuffer: Replace zero-length array with flexible-array member elapsed time: 724m configs tested: 114 configs skipped: 2 The

Re: [PATCH v7 2/6] interconnect: Add generic interconnect driver for Exynos SoCs

2020-10-31 Thread Krzysztof Kozlowski
On Fri, Oct 30, 2020 at 01:51:45PM +0100, Sylwester Nawrocki wrote: > This patch adds a generic interconnect driver for Exynos SoCs in order > to provide interconnect functionality for each "samsung,exynos-bus" > compatible device. > > The SoC topology is a graph (or more specifically, a tree)

Re: [PATCH v2 1/2] net: phy: adin: disable diag clock & disable standby mode in config_aneg

2020-10-31 Thread Alexandru Ardelean
On Sat, Oct 24, 2020 at 1:43 AM Andrew Lunn wrote: > > On Thu, Oct 22, 2020 at 10:45:50AM +0300, Alexandru Ardelean wrote: > > When the PHY powers up, the diagnostics clock isn't enabled (bit 2 in > > register PHY_CTRL_1 (0x0012)). > > Also, the PHY is not in standby mode, so bit 13 in PHY_CTRL_3

Re: [PATCH v2] watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate

2020-10-31 Thread Robert Marko
On Fri, Oct 30, 2020 at 6:21 AM wrote: > > On 2020-10-28 17:16, Robert Marko wrote: > > If the watchdog hardware is enabled/running during boot, e.g. > > due to a boot loader configuring it, we must tell the > > watchdog framework about this fact so that it can ping the > > watchdog until

Re: [PATCH v7 1/6] dt-bindings: devfreq: Add documentation for the interconnect properties

2020-10-31 Thread Krzysztof Kozlowski
On Fri, Oct 30, 2020 at 01:51:44PM +0100, Sylwester Nawrocki wrote: > Add documentation for new optional properties in the exynos bus nodes: > interconnects, #interconnect-cells, samsung,data-clock-ratio. > These properties allow to specify the SoC interconnect structure which > then allows the

RE: [PATCH 4/6] perf: Optimize get_recursion_context()

2020-10-31 Thread David Laight
From: Peter Zijlstra > Sent: 30 October 2020 23:02 > > On Fri, Oct 30, 2020 at 04:22:48PM -0400, Steven Rostedt wrote: > > As this is something that ftrace recursion also does, perhaps we should > > move this into interrupt.h so that anyone that needs a counter can get > > it quickly, and not

[PATCH v4] watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate

2020-10-31 Thread Robert Marko
If the watchdog hardware is enabled/running during boot, e.g. due to a boot loader configuring it, we must tell the watchdog framework about this fact so that it can ping the watchdog until userspace opens the device and takes over control. Do so using the WDOG_HW_RUNNING flag that exists for

Re: [Outreachy kernel] [PATCH] drm/amdgpu: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe()

2020-10-31 Thread Julia Lawall
On Sat, 31 Oct 2020, Joe Perches wrote: > On Fri, 2020-10-30 at 09:03 +0100, Greg KH wrote: > > On Fri, Oct 30, 2020 at 01:27:16PM +0530, Deepak R Varma wrote: > > > On Fri, Oct 30, 2020 at 08:11:20AM +0100, Greg KH wrote: > > > > On Fri, Oct 30, 2020 at 08:52:45AM +0530, Deepak R Varma wrote:

Re: [PATCH v13 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-10-31 Thread Johan Jonker
Hi Yifeng, Some comments, have a look if it's usefull. On 10/28/20 10:53 AM, Yifeng Zhao wrote: > This driver supports Rockchip NFC (NAND Flash Controller) found on RK3308, > RK2928, RKPX30, RV1108 and other SOCs. The driver has been tested using > 8-bit NAND interface on the ARM based RK3308

Re: [Outreachy kernel] [PATCH] drm/amdgpu: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe()

2020-10-31 Thread Joe Perches
On Fri, 2020-10-30 at 09:03 +0100, Greg KH wrote: > On Fri, Oct 30, 2020 at 01:27:16PM +0530, Deepak R Varma wrote: > > On Fri, Oct 30, 2020 at 08:11:20AM +0100, Greg KH wrote: > > > On Fri, Oct 30, 2020 at 08:52:45AM +0530, Deepak R Varma wrote: > > > > Using DEFINE_DEBUGFS_ATTRIBUTE macro with

[PATCH v3] watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate

2020-10-31 Thread Robert Marko
If the watchdog hardware is enabled/running during boot, e.g. due to a boot loader configuring it, we must tell the watchdog framework about this fact so that it can ping the watchdog until userspace opens the device and takes over control. Do so using the WDOG_HW_RUNNING flag that exists for

[PATCH 5.8 14/70] io_uring: Fix use of XArray in __io_uring_files_cancel

2020-10-31 Thread Greg Kroah-Hartman
From: "Matthew Wilcox (Oracle)" commit ce765372bc443573d1d339a2bf4995de385dea3a upstream. We have to drop the lock during each iteration, so there's no advantage to using the advanced API. Convert this to a standard xa_for_each() loop. Reported-by:

[PATCH 5.8 13/70] io_uring: no need to call xa_destroy() on empty xarray

2020-10-31 Thread Greg Kroah-Hartman
From: Jens Axboe commit ca6484cd308a671811bf39f3119e81966eb476e3 upstream. The kernel test robot reports this lockdep issue: [child1:659] mbind (274) returned ENOSYS, marking as inactive. [child1:659] mq_timedsend (279) returned ENOSYS, marking as inactive. [main] 10175 iterations. [F:7781

[PATCH 5.8 16/70] io_uring: Convert advanced XArray uses to the normal API

2020-10-31 Thread Greg Kroah-Hartman
From: "Matthew Wilcox (Oracle)" commit 5e2ed8c4f45093698855b1f45cdf43efbf6dd498 upstream. There are no bugs here that I've spotted, it's just easier to use the normal API and there are no performance advantages to using the more verbose advanced API. Signed-off-by: Matthew Wilcox (Oracle)

[PATCH 5.8 05/70] io_uring: stash ctx task reference for SQPOLL

2020-10-31 Thread Greg Kroah-Hartman
From: Jens Axboe commit 2aede0e417db846793c276c7a1bbf7262c8349b0 upstream. We can grab a reference to the task instead of stashing away the task files_struct. This is doable without creating a circular reference between the ring fd and the task itself. Reviewed-by: Pavel Begunkov

[PATCH 5.8 08/70] io_uring: enable task/files specific overflow flushing

2020-10-31 Thread Greg Kroah-Hartman
From: Jens Axboe commit e6c8aa9ac33bd7c968af7816240fc081401fddcd upstream. This allows us to selectively flush out pending overflows, depending on the task and/or files_struct being passed in. No intended functional changes in this patch. Reviewed-by: Pavel Begunkov Signed-off-by: Jens Axboe

[PATCH 5.8 29/70] bnxt_en: Invoke cancel_delayed_work_sync() for PFs also.

2020-10-31 Thread Greg Kroah-Hartman
From: Vasundhara Volam [ Upstream commit 631ce27a3006fc0b732bfd589c6df505f62eadd9 ] As part of the commit b148bb238c02 ("bnxt_en: Fix possible crash in bnxt_fw_reset_task()."), cancel_delayed_work_sync() is called only for VFs to fix a possible crash by cancelling any pending delayed work

Re: [PATCH 5.4 40/49] drm/i915/gem: Serialise debugfs i915_gem_objects with ctx->mutex

2020-10-31 Thread Greg Kroah-Hartman
On Sat, Oct 31, 2020 at 12:35:36PM +0100, Greg Kroah-Hartman wrote: > From: Chris Wilson > > commit 4fe9af8e881d946bf60790eeb37a7c4f96e28382 upstream. > > Since the debugfs may peek into the GEM contexts as the corresponding > client/fd is being closed, we may try and follow a dangling pointer.

[PATCH 5.8 04/70] io_uring: move dropping of files into separate helper

2020-10-31 Thread Greg Kroah-Hartman
From: Jens Axboe commit f573d384456b3025d3f8e58b3eafaeeb0f510784 upstream. No functional changes in this patch, prep patch for grabbing references to the files_struct. Reviewed-by: Pavel Begunkov Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- fs/io_uring.c | 26

[PATCH 5.8 19/70] fs/kernel_read_file: Remove FIRMWARE_EFI_EMBEDDED enum

2020-10-31 Thread Greg Kroah-Hartman
From: Kees Cook commit 06e67b849ab910a49a629445f43edb074153d0eb upstream. The "FIRMWARE_EFI_EMBEDDED" enum is a "where", not a "what". It should not be distinguished separately from just "FIRMWARE", as this confuses the LSMs about what is being loaded. Additionally, there was no actual

[PATCH 5.8 41/70] net: hns3: Clear the CMDQ registers before unmapping BAR region

2020-10-31 Thread Greg Kroah-Hartman
From: Zenghui Yu [ Upstream commit e3364c5ff3ff975b943a7bf47e21a2a4bf20f3fe ] When unbinding the hns3 driver with the HNS3 VF, I got the following kernel panic: [ 265.709989] Unable to handle kernel paging request at virtual address 800054627000 [ 265.717928] Mem abort info: [

[PATCH 5.8 03/70] io_uring: allow timeout/poll/files killing to take task into account

2020-10-31 Thread Greg Kroah-Hartman
From: Jens Axboe commit f3606e3a92ddd36299642c78592fc87609abb1f6 upstream. We currently cancel these when the ring exits, and we cancel all of them. This is in preparation for killing only the ones associated with a given task. Reviewed-by: Pavel Begunkov Signed-off-by: Jens Axboe

[PATCH 5.8 22/70] arm64: link with -z norelro regardless of CONFIG_RELOCATABLE

2020-10-31 Thread Greg Kroah-Hartman
From: Nick Desaulniers commit 3b92fa7485eba16b05166fddf38ab42f2ff6ab95 upstream. With CONFIG_EXPERT=y, CONFIG_KASAN=y, CONFIG_RANDOMIZE_BASE=n, CONFIG_RELOCATABLE=n, we observe the following failure when trying to link the kernel image with LD=ld.lld: error: section: .exit.data is not

[PATCH 5.8 32/70] chelsio/chtls: fix deadlock issue

2020-10-31 Thread Greg Kroah-Hartman
From: Vinay Kumar Yadav [ Upstream commit 28e9dcd9172028263c8225c15c4e329e08475e89 ] In chtls_pass_establish() we hold child socket lock using bh_lock_sock and we are again trying bh_lock_sock in add_to_reap_list, causing deadlock. Remove bh_lock_sock in add_to_reap_list() as lock is already

[PATCH 5.4 00/48] 5.4.74-rc2 review

2020-10-31 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.4.74 release. There are 48 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 Mon, 02 Nov 2020 11:42:20 +. Anything

[PATCH 5.8 37/70] ibmveth: Fix use of ibmveth in a bridge.

2020-10-31 Thread Greg Kroah-Hartman
From: Thomas Bogendoerfer [ Upstream commit 2ac8af0967aaa2b67cb382727e784900d2f4d0da ] The check for src mac address in ibmveth_is_packet_unsupported is wrong. Commit 6f2275433a2f wanted to shut down messages for loopback packets, but now suppresses bridged frames, which are accepted by the

[PATCH 5.8 39/70] mlxsw: core: Fix memory leak on module removal

2020-10-31 Thread Greg Kroah-Hartman
From: Ido Schimmel [ Upstream commit adc80b6cfedff6dad8b93d46a5ea2775fd5af9ec ] Free the devlink instance during the teardown sequence in the non-reload case to avoid the following memory leak. unreferenced object 0x888232895000 (size 2048): comm "modprobe", pid 1073, jiffies 4295568857

[PATCH 5.8 33/70] chelsio/chtls: fix memory leaks in CPL handlers

2020-10-31 Thread Greg Kroah-Hartman
From: Vinay Kumar Yadav [ Upstream commit 6daa1da4e262b0cd52ef0acc1989ff22b5540264 ] CPL handler functions chtls_pass_open_rpl() and chtls_close_listsrv_rpl() should return CPL_RET_BUF_DONE so that caller function will do skb free to avoid leak. Fixes: cc35c88ae4db ("crypto : chtls - CPL

[PATCH 5.8 25/70] x86/copy_mc: Introduce copy_mc_enhanced_fast_string()

2020-10-31 Thread Greg Kroah-Hartman
From: Dan Williams commit 5da8e4a658109e3b7e1f45ae672b7c06ac3e7158 upstream. The motivations to go rework memcpy_mcsafe() are that the benefit of doing slow and careful copies is obviated on newer CPUs, and that the current opt-in list of CPUs to instrument recovery is broken relative to those

[PATCH 5.8 34/70] chelsio/chtls: fix tls record info to user

2020-10-31 Thread Greg Kroah-Hartman
From: Vinay Kumar Yadav [ Upstream commit 4f3391ce8f5a69e7e6d66d0a3fc654eb6dbdc919 ] chtls_pt_recvmsg() receives a skb with tls header and subsequent skb with data, need to finalize the data copy whenever next skb with tls header is available. but here current tls header is overwritten by next

[PATCH 5.8 35/70] cxgb4: set up filter action after rewrites

2020-10-31 Thread Greg Kroah-Hartman
From: Raju Rangoju [ Upstream commit 937d8420588421eaa5c7aa5c79b26b42abb288ef ] The current code sets up the filter action field before rewrites are set up. When the action 'switch' is used with rewrites, this may result in initial few packets that get switched out don't have rewrites applied

[PATCH 5.8 45/70] ravb: Fix bit fields checking in ravb_hwtstamp_get()

2020-10-31 Thread Greg Kroah-Hartman
From: Andrew Gabbasov [ Upstream commit 68b9f0865b1ef545da180c57d54b82c94cb464a4 ] In the function ravb_hwtstamp_get() in ravb_main.c with the existing values for RAVB_RXTSTAMP_TYPE_V2_L2_EVENT (0x2) and RAVB_RXTSTAMP_TYPE_ALL (0x6) if (priv->tstamp_rx_ctrl & RAVB_RXTSTAMP_TYPE_V2_L2_EVENT)

[PATCH 5.8 46/70] tcp: Prevent low rmem stalls with SO_RCVLOWAT.

2020-10-31 Thread Greg Kroah-Hartman
From: Arjun Roy [ Upstream commit 435ccfa894e35e3d4a1799e6ac030e48a7b69ef5 ] With SO_RCVLOWAT, under memory pressure, it is possible to enter a state where: 1. We have not received enough bytes to satisfy SO_RCVLOWAT. 2. We have not entered buffer pressure (see tcp_rmem_pressure()). 3. But, we

Re: [PATCH v2 4/4] ARM: exynos: clear prefetch bits in default l2c_aux_val

2020-10-31 Thread Krzysztof Kozlowski
On Mon, Aug 10, 2020 at 01:22:08PM +0100, Guillaume Tucker wrote: > Clear the L310_AUX_CTRL_DATA_PREFETCH and L310_AUX_CTRL_INSTR_PREFETCH > bits in the l2c_aux_val defaults for Exynos since they can now be set > using the standard l2c2x0 devicetree bindings. > > Signed-off-by: Guillaume Tucker

[PATCH 5.8 21/70] arm64: Run ARCH_WORKAROUND_2 enabling code on all CPUs

2020-10-31 Thread Greg Kroah-Hartman
From: Marc Zyngier commit 39533e12063be7f55e3d6ae21ffe067799d542a4 upstream. Commit 606f8e7b27bf ("arm64: capabilities: Use linear array for detection and verification") changed the way we deal with per-CPU errata by only calling the .matches() callback until one CPU is found to be affected. At

[PATCH 5.8 27/70] bnxt_en: Check abort error state in bnxt_open_nic().

2020-10-31 Thread Greg Kroah-Hartman
From: Michael Chan [ Upstream commit a1301f08c5acf992d9c1fafddc84c3a822844b04 ] bnxt_open_nic() is called during configuration changes that require the NIC to be closed and then opened. This call is protected by rtnl_lock. Firmware reset can be happening at the same time. Only critical

[PATCH 5.8 57/70] evm: Check size of security.evm before using it

2020-10-31 Thread Greg Kroah-Hartman
From: Roberto Sassu commit 455b6c9112eff8d249e32ba165742085678a80a4 upstream. This patch checks the size for the EVM_IMA_XATTR_DIGSIG and EVM_XATTR_PORTABLE_DIGSIG types to ensure that the algorithm is read from the buffer returned by vfs_getxattr_alloc(). Cc: sta...@vger.kernel.org # 4.19.x

[PATCH 5.9 10/74] io_uring: reference ->nsproxy for file table commands

2020-10-31 Thread Greg Kroah-Hartman
From: Jens Axboe commit 9b8284921513fc1ea57d8283a59b05862f03 upstream. If we don't get and assign the namespace for the async work, then certain paths just don't work properly (like /dev/stdin, /proc/mounts, etc). Anything that references the current namespace of the given task should be

[PATCH 5.8 68/70] openrisc: Fix issue with get_user for 64-bit values

2020-10-31 Thread Greg Kroah-Hartman
From: Stafford Horne commit d877322bc1adcab9850732275670409e8bcca4c4 upstream. A build failure was raised by kbuild with the following error. drivers/android/binder.c: Assembler messages: drivers/android/binder.c:3861: Error: unrecognized keyword/register name `l.lwz ?ap,4(r24)'

[PATCH 5.9 14/74] io_uring: Fix use of XArray in __io_uring_files_cancel

2020-10-31 Thread Greg Kroah-Hartman
From: "Matthew Wilcox (Oracle)" commit ce765372bc443573d1d339a2bf4995de385dea3a upstream. We have to drop the lock during each iteration, so there's no advantage to using the advanced API. Convert this to a standard xa_for_each() loop. Reported-by:

[PATCH 5.8 63/70] serial: qcom_geni_serial: To correct QUP Version detection logic

2020-10-31 Thread Greg Kroah-Hartman
From: Paras Sharma commit c9ca43d42ed8d5fd635d327a664ed1d8579eb2af upstream. For QUP IP versions 2.5 and above the oversampling rate is halved from 32 to 16. Commit ce734600545f ("tty: serial: qcom_geni_serial: Update the oversampling rate") is pushed to handle this scenario. But the existing

[PATCH 5.9 45/74] r8169: fix issue with forced threading in combination with shared interrupts

2020-10-31 Thread Greg Kroah-Hartman
From: Heiner Kallweit [ Upstream commit 2734a24e6e5d18522fbf599135c59b82ec9b2c9e ] As reported by Serge flag IRQF_NO_THREAD causes an error if the interrupt is actually shared and the other driver(s) don't have this flag set. This situation can occur if a PCI(e) legacy interrupt is used in

[PATCH 5.8 67/70] xen/gntdev.c: Mark pages as dirty

2020-10-31 Thread Greg Kroah-Hartman
From: Souptick Joarder commit 779055842da5b2e508f3ccf9a8153cb1f704f566 upstream. There seems to be a bug in the original code when gntdev_get_page() is called with writeable=true then the page needs to be marked dirty before being put. To address this, a bool writeable is added in

[PATCH 5.8 54/70] ata: ahci: mvebu: Make SATA PHY optional for Armada 3720

2020-10-31 Thread Greg Kroah-Hartman
From: Pali Rohár commit 45aefe3d2251e4e229d7662052739f96ad1d08d9 upstream. Older ATF does not provide SMC call for SATA phy power on functionality and therefore initialization of ahci_mvebu is failing when older version of ATF is using. In this case phy_power_on() function returns -EOPNOTSUPP.

[PATCH 5.8 60/70] RDMA/addr: Fix race with netevent_callback()/rdma_addr_cancel()

2020-10-31 Thread Greg Kroah-Hartman
From: Jason Gunthorpe commit 2ee9bf346fbfd1dad0933b9eb3a4c2c0979b633e upstream. This three thread race can result in the work being run once the callback becomes NULL: CPU1 CPU2 CPU3 netevent_callback() process_one_req()

[PATCH 5.8 58/70] p54: avoid accessing the data mapped to streaming DMA

2020-10-31 Thread Greg Kroah-Hartman
From: Jia-Ju Bai commit 478762855b5ae9f68fa6ead1edf7abada70fcd5f upstream. In p54p_tx(), skb->data is mapped to streaming DMA on line 337: mapping = pci_map_single(..., skb->data, ...); Then skb->data is accessed on line 349: desc->device_addr = ((struct p54_hdr *)skb->data)->req_id; This

[PATCH 5.9 30/74] bnxt_en: Re-write PCI BARs after PCI fatal error.

2020-10-31 Thread Greg Kroah-Hartman
From: Vasundhara Volam [ Upstream commit f75d9a0aa96721d20011cd5f8c7a24eb32728589 ] When a PCIe fatal error occurs, the internal latched BAR addresses in the chip get reset even though the BAR register values in config space are retained. pci_restore_state() will not rewrite the BAR addresses

[PATCH 5.9 35/74] cxgb4: set up filter action after rewrites

2020-10-31 Thread Greg Kroah-Hartman
From: Raju Rangoju [ Upstream commit 937d8420588421eaa5c7aa5c79b26b42abb288ef ] The current code sets up the filter action field before rewrites are set up. When the action 'switch' is used with rewrites, this may result in initial few packets that get switched out don't have rewrites applied

[PATCH 5.9 36/74] gtp: fix an use-before-init in gtp_newlink()

2020-10-31 Thread Greg Kroah-Hartman
From: Masahiro Fujiwara [ Upstream commit 51467431200b91682b89d31317e35dcbca1469ce ] *_pdp_find() from gtp_encap_recv() would trigger a crash when a peer sends GTP packets while creating new GTP device. RIP: 0010:gtp1_pdp_find.isra.0+0x68/0x90 [gtp] Call Trace: gtp_encap_recv+0xc2/0x2e0

[PATCH 5.9 00/74] 5.9.3-rc1 review

2020-10-31 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.9.3 release. There are 74 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 Mon, 02 Nov 2020 11:34:42 +. Anything

[PATCH 5.9 44/74] net/sched: act_mpls: Add softdep on mpls_gso.ko

2020-10-31 Thread Greg Kroah-Hartman
From: Guillaume Nault TCA_MPLS_ACT_PUSH and TCA_MPLS_ACT_MAC_PUSH might be used on gso packets. Such packets will thus require mpls_gso.ko for segmentation. v2: Drop dependency on CONFIG_NET_MPLS_GSO in Kconfig (from Jakub and David). Fixes: 2a2ea50870ba ("net: sched: add mpls manipulation

[PATCH 5.9 18/74] efi/arm64: libstub: Deal gracefully with EFI_RNG_PROTOCOL failure

2020-10-31 Thread Greg Kroah-Hartman
From: Ard Biesheuvel commit d32de9130f6c79533508e2c7879f18997bfbe2a0 upstream. Currently, on arm64, we abort on any failure from efi_get_random_bytes() other than EFI_NOT_FOUND when it comes to setting the physical seed for KASLR, but ignore such failures when obtaining the seed for virtual

[PATCH 5.9 05/74] io_uring: stash ctx task reference for SQPOLL

2020-10-31 Thread Greg Kroah-Hartman
From: Jens Axboe commit 2aede0e417db846793c276c7a1bbf7262c8349b0 upstream. We can grab a reference to the task instead of stashing away the task files_struct. This is doable without creating a circular reference between the ring fd and the task itself. Reviewed-by: Pavel Begunkov

[PATCH 5.9 15/74] io_uring: Fix XArray usage in io_uring_add_task_file

2020-10-31 Thread Greg Kroah-Hartman
From: "Matthew Wilcox (Oracle)" commit 236434c3438c4da3dfbd6aeeab807577b85e951a upstream. The xas_store() wasn't paired with an xas_nomem() loop, so if it couldn't allocate memory using GFP_NOWAIT, it would leak the reference to the file descriptor. Also the node pointed to by the xas could be

[PATCH 5.9 41/74] netem: fix zero division in tabledist

2020-10-31 Thread Greg Kroah-Hartman
From: Aleksandr Nogikh [ Upstream commit eadd1befdd778a1eca57fad058782bd22b4db804 ] Currently it is possible to craft a special netlink RTM_NEWQDISC command that can result in jitter being equal to 0x8000. It is enough to set the 32 bit jitter to 0x0200 (it will later be multiplied by

[PATCH 5.9 46/74] ravb: Fix bit fields checking in ravb_hwtstamp_get()

2020-10-31 Thread Greg Kroah-Hartman
From: Andrew Gabbasov [ Upstream commit 68b9f0865b1ef545da180c57d54b82c94cb464a4 ] In the function ravb_hwtstamp_get() in ravb_main.c with the existing values for RAVB_RXTSTAMP_TYPE_V2_L2_EVENT (0x2) and RAVB_RXTSTAMP_TYPE_ALL (0x6) if (priv->tstamp_rx_ctrl & RAVB_RXTSTAMP_TYPE_V2_L2_EVENT)

[PATCH 5.9 49/74] net/smc: fix invalid return code in smcd_new_buf_create()

2020-10-31 Thread Greg Kroah-Hartman
From: Karsten Graul [ Upstream commit 6b1bbf94ab369d97ed3bdaa561521a52c27ef619 ] smc_ism_register_dmb() returns error codes set by the ISM driver which are not guaranteed to be negative or in the errno range. Such values would not be handled by ERR_PTR() and finally the return code will be used

[PATCH 5.9 55/74] x86/xen: disable Firmware First mode for correctable memory errors

2020-10-31 Thread Greg Kroah-Hartman
From: Juergen Gross commit d759af38572f97321112a0852353613d18126038 upstream. When running as Xen dom0 the kernel isn't responsible for selecting the error handling mode, this should be handled by the hypervisor. So disable setting FF mode when running as Xen pv guest. Not doing so might

[PATCH 5.9 74/74] phy: marvell: comphy: Convert internal SMCC firmware return codes to errno

2020-10-31 Thread Greg Kroah-Hartman
From: Pali Rohár commit ea17a0f153af2cd890e4ce517130dcccaa428c13 upstream. Driver ->power_on and ->power_off callbacks leaks internal SMCC firmware return codes to phy caller. This patch converts SMCC error codes to standard linux errno codes. Include file linux/arm-smccc.h already provides

[PATCH 5.9 52/74] erofs: avoid duplicated permission check for "trusted." xattrs

2020-10-31 Thread Greg Kroah-Hartman
From: Gao Xiang commit d578b46db69d125a654f509bdc9091d84e924dc8 upstream. Don't recheck it since xattr_permission() already checks CAP_SYS_ADMIN capability. Just follow 5d3ce4f70172 ("f2fs: avoid duplicated permission check for "trusted." xattrs") Reported-by: Hongyu Jin [ Gao Xiang: since

[PATCH 5.9 50/74] net/smc: fix suppressed return code

2020-10-31 Thread Greg Kroah-Hartman
From: Karsten Graul [ Upstream commit 96d6fded958d971a3695009e0ed43aca6c598283 ] The patch that repaired the invalid return code in smcd_new_buf_create() missed to take care of errno ENOSPC which has a special meaning that no more DMBEs can be registered on the device. Fix that by keeping this

[PATCH 5.9 48/74] tipc: fix memory leak caused by tipc_buf_append()

2020-10-31 Thread Greg Kroah-Hartman
From: Tung Nguyen [ Upstream commit ceb1eb2fb609c88363e06618b8d4bbf7815a4e03 ] Commit ed42989eab57 ("tipc: fix the skb_unshare() in tipc_buf_append()") replaced skb_unshare() with skb_copy() to not reduce the data reference counter of the original skb intentionally. This is not the correct way

[PATCH 5.9 25/74] x86/copy_mc: Introduce copy_mc_enhanced_fast_string()

2020-10-31 Thread Greg Kroah-Hartman
From: Dan Williams commit 5da8e4a658109e3b7e1f45ae672b7c06ac3e7158 upstream. The motivations to go rework memcpy_mcsafe() are that the benefit of doing slow and careful copies is obviated on newer CPUs, and that the current opt-in list of CPUs to instrument recovery is broken relative to those

[PATCH 5.9 57/74] ata: ahci: mvebu: Make SATA PHY optional for Armada 3720

2020-10-31 Thread Greg Kroah-Hartman
From: Pali Rohár commit 45aefe3d2251e4e229d7662052739f96ad1d08d9 upstream. Older ATF does not provide SMC call for SATA phy power on functionality and therefore initialization of ahci_mvebu is failing when older version of ATF is using. In this case phy_power_on() function returns -EOPNOTSUPP.

[PATCH 5.9 65/74] drm/i915/gem: Serialise debugfs i915_gem_objects with ctx->mutex

2020-10-31 Thread Greg Kroah-Hartman
From: Chris Wilson commit 4fe9af8e881d946bf60790eeb37a7c4f96e28382 upstream. Since the debugfs may peek into the GEM contexts as the corresponding client/fd is being closed, we may try and follow a dangling pointer. However, the context closure itself is serialised with the ctx->mutex, so if we

[PATCH 5.9 66/74] serial: qcom_geni_serial: To correct QUP Version detection logic

2020-10-31 Thread Greg Kroah-Hartman
From: Paras Sharma commit c9ca43d42ed8d5fd635d327a664ed1d8579eb2af upstream. For QUP IP versions 2.5 and above the oversampling rate is halved from 32 to 16. Commit ce734600545f ("tty: serial: qcom_geni_serial: Update the oversampling rate") is pushed to handle this scenario. But the existing

[PATCH 5.9 29/74] bnxt_en: Invoke cancel_delayed_work_sync() for PFs also.

2020-10-31 Thread Greg Kroah-Hartman
From: Vasundhara Volam [ Upstream commit 631ce27a3006fc0b732bfd589c6df505f62eadd9 ] As part of the commit b148bb238c02 ("bnxt_en: Fix possible crash in bnxt_fw_reset_task()."), cancel_delayed_work_sync() is called only for VFs to fix a possible crash by cancelling any pending delayed work

[PATCH 5.9 64/74] mtd: lpddr: Fix bad logic in print_drs_error

2020-10-31 Thread Greg Kroah-Hartman
From: Gustavo A. R. Silva commit 1c9c02bb22684f6949d2e7ddc0a3ff364fd5a6fc upstream. Update logic for broken test. Use a more common logging style. It appears the logic in this function is broken for the consecutive tests of if (prog_status & 0x3) ... else if

[PATCH 5.9 24/74] x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()

2020-10-31 Thread Greg Kroah-Hartman
From: Dan Williams commit ec6347bb43395cb92126788a1a5b25302543f815 upstream. In reaction to a proposal to introduce a memcpy_mcsafe_fast() implementation Linus points out that memcpy_mcsafe() is poorly named relative to communicating the scope of the interface. Specifically what addresses are

[PATCH 5.9 28/74] bnxt_en: Fix regression in workqueue cleanup logic in bnxt_remove_one().

2020-10-31 Thread Greg Kroah-Hartman
From: Vasundhara Volam [ Upstream commit 21d6a11e2cadfb8446265a3efff0e2aad206e15e ] A recent patch has moved the workqueue cleanup logic before calling unregister_netdev() in bnxt_remove_one(). This caused a regression because the workqueue can be restarted if the device is still open.

[PATCH 5.9 56/74] PCI: aardvark: Fix initialization with old Marvells Arm Trusted Firmware

2020-10-31 Thread Greg Kroah-Hartman
From: Pali Rohár commit b0c6ae0f8948a2be6bf4e8b4bbab9ca1343289b6 upstream. Old ATF automatically power on pcie phy and does not provide SMC call for phy power on functionality which leads to aardvark initialization failure: [0.330134] mvebu-a3700-comphy d0018300.phy: unsupported SMC call,

[PATCH 5.9 59/74] bpf: Fix comment for helper bpf_current_task_under_cgroup()

2020-10-31 Thread Greg Kroah-Hartman
From: Song Liu commit 1aef5b4391f0c75c0a1523706a7b0311846ee12f upstream. This should be "current" not "skb". Fixes: c6b5fb8690fa ("bpf: add documentation for eBPF helpers (42-50)") Signed-off-by: Song Liu Signed-off-by: Alexei Starovoitov Cc: Link:

[PATCH 5.9 53/74] arch/x86/amd/ibs: Fix re-arming IBS Fetch

2020-10-31 Thread Greg Kroah-Hartman
From: Kim Phillips commit 221bfce5ebbdf72ff08b3bf2510ae81058ee568b upstream. Stephane Eranian found a bug in that IBS' current Fetch counter was not being reset when the driver would write the new value to clear it along with the enable bit set, and found that adding an MSR write that would

[PATCH 5.9 60/74] evm: Check size of security.evm before using it

2020-10-31 Thread Greg Kroah-Hartman
From: Roberto Sassu commit 455b6c9112eff8d249e32ba165742085678a80a4 upstream. This patch checks the size for the EVM_IMA_XATTR_DIGSIG and EVM_XATTR_PORTABLE_DIGSIG types to ensure that the algorithm is read from the buffer returned by vfs_getxattr_alloc(). Cc: sta...@vger.kernel.org # 4.19.x

[PATCH 5.9 58/74] fuse: fix page dereference after free

2020-10-31 Thread Greg Kroah-Hartman
From: Miklos Szeredi commit d78092e4937de9ce55edcb4ee4c5e3c707be0190 upstream. After unlock_request() pages from the ap->pages[] array may be put (e.g. by aborting the connection) and the pages can be freed. Prevent use after free by grabbing a reference to the page before calling

[PATCH 5.9 62/74] cxl: Rework error message for incompatible slots

2020-10-31 Thread Greg Kroah-Hartman
From: Frederic Barrat commit 40ac790d99c6dd16b367d5c2339e446a5f1b0593 upstream. Improve the error message shown if a capi adapter is plugged on a capi-incompatible slot directly under the PHB (no intermediate switch). Fixes: 5632874311db ("cxl: Add support for POWER9 DD2") Cc:

[PATCH 5.9 61/74] p54: avoid accessing the data mapped to streaming DMA

2020-10-31 Thread Greg Kroah-Hartman
From: Jia-Ju Bai commit 478762855b5ae9f68fa6ead1edf7abada70fcd5f upstream. In p54p_tx(), skb->data is mapped to streaming DMA on line 337: mapping = pci_map_single(..., skb->data, ...); Then skb->data is accessed on line 349: desc->device_addr = ((struct p54_hdr *)skb->data)->req_id; This

[PATCH 5.9 68/74] PM: runtime: Fix timer_expires data type on 32-bit arches

2020-10-31 Thread Greg Kroah-Hartman
From: Grygorii Strashko commit 6b61d49a55796dbbc479eeb4465e59fd656c719c upstream. Commit 8234f6734c5d ("PM-runtime: Switch autosuspend over to using hrtimers") switched PM runtime autosuspend to use hrtimers and all related time accounting in ns, but missed to update the timer_expires data type

[PATCH 5.9 69/74] ata: sata_rcar: Fix DMA boundary mask

2020-10-31 Thread Greg Kroah-Hartman
From: Geert Uytterhoeven commit df9c590986fdb6db9d5636d6cd93bc919c01b451 upstream. Before commit 9495b7e92f716ab2 ("driver core: platform: Initialize dma_parms for platform devices"), the R-Car SATA device didn't have DMA parameters. Hence the DMA boundary mask supplied by its driver was

[PATCH 5.9 27/74] bnxt_en: Check abort error state in bnxt_open_nic().

2020-10-31 Thread Greg Kroah-Hartman
From: Michael Chan [ Upstream commit a1301f08c5acf992d9c1fafddc84c3a822844b04 ] bnxt_open_nic() is called during configuration changes that require the NIC to be closed and then opened. This call is protected by rtnl_lock. Firmware reset can be happening at the same time. Only critical

[PATCH 5.9 26/74] efivarfs: Replace invalid slashes with exclamation marks in dentries.

2020-10-31 Thread Greg Kroah-Hartman
From: Michael Schaller commit 336af6a4686d885a067ecea8c3c3dd129ba4fc75 upstream. Without this patch efivarfs_alloc_dentry creates dentries with slashes in their name if the respective EFI variable has slashes in its name. This in turn causes EIO on getdents64, which prevents a complete

[PATCH 5.9 54/74] x86/traps: Fix #DE Oops message regression

2020-10-31 Thread Greg Kroah-Hartman
From: Thomas Gleixner commit 5f1ec1fd32252af5130dac23b5542e8e66fe0bcb upstream. The conversion of #DE to the idtentry mechanism introduced a change in the Ooops message which confuses tools which parse crash information in dmesg. Remove the underscore from 'divide_error' to restore previous

[PATCH 5.9 67/74] serial: pl011: Fix lockdep splat when handling magic-sysrq interrupt

2020-10-31 Thread Greg Kroah-Hartman
From: Peter Zijlstra commit 534cf755d9df99e214ddbe26b91cd4d81d2603e2 upstream. Issuing a magic-sysrq via the PL011 causes the following lockdep splat, which is easily reproducible under QEMU: | sysrq: Changing Loglevel | sysrq: Loglevel set to 9 | |

[PATCH 5.9 20/74] arm64: Run ARCH_WORKAROUND_1 enabling code on all CPUs

2020-10-31 Thread Greg Kroah-Hartman
From: Marc Zyngier commit 18fce56134c987e5b4eceddafdbe4b00c07e2ae1 upstream. Commit 73f381660959 ("arm64: Advertise mitigation of Spectre-v2, or lack thereof") changed the way we deal with ARCH_WORKAROUND_1, by moving most of the enabling code to the .matches() callback. This has the

[PATCH 5.9 73/74] misc: rtsx: do not setting OC_POWER_DOWN reg in rtsx_pci_init_ocp()

2020-10-31 Thread Greg Kroah-Hartman
From: Ricky Wu commit 551b6729578a8981c46af964c10bf7d5d9ddca83 upstream. this power saving action in rtsx_pci_init_ocp() cause INTEL-NUC6 platform missing card reader Signed-off-by: Ricky Wu Link: https://lore.kernel.org/r/20200824030006.30033-1-ricky...@realtek.com Cc: Chris Clayton

[PATCH 5.9 71/74] xen/gntdev.c: Mark pages as dirty

2020-10-31 Thread Greg Kroah-Hartman
From: Souptick Joarder commit 779055842da5b2e508f3ccf9a8153cb1f704f566 upstream. There seems to be a bug in the original code when gntdev_get_page() is called with writeable=true then the page needs to be marked dirty before being put. To address this, a bool writeable is added in

[PATCH 5.9 72/74] io_uring: dont reuse linked_timeout

2020-10-31 Thread Greg Kroah-Hartman
From: Pavel Begunkov commit ff5771613cd7b3a76cd16cb54aa81d30d3c11d48 upstream. Clear linked_timeout for next requests in __io_queue_sqe() so we won't queue it up unnecessary when it's going to be punted. Signed-off-by: Pavel Begunkov Cc: sta...@vger.kernel.org # v5.9 Signed-off-by: Jens Axboe

[PATCH 5.9 63/74] RDMA/addr: Fix race with netevent_callback()/rdma_addr_cancel()

2020-10-31 Thread Greg Kroah-Hartman
From: Jason Gunthorpe commit 2ee9bf346fbfd1dad0933b9eb3a4c2c0979b633e upstream. This three thread race can result in the work being run once the callback becomes NULL: CPU1 CPU2 CPU3 netevent_callback() process_one_req()

[PATCH 5.9 70/74] mm: mark async iocb read as NOWAIT once some data has been copied

2020-10-31 Thread Greg Kroah-Hartman
From: Jens Axboe commit 13bd691421bc191a402d2e0d3da5f248d170a632 upstream. Once we've copied some data for an iocb that is marked with IOCB_WAITQ, we should no longer attempt to async lock a new page. Instead make sure we return the copied amount, and let the caller retry, instead of returning

[PATCH 5.9 51/74] net: protect tcf_block_unbind with block lock

2020-10-31 Thread Greg Kroah-Hartman
From: Leon Romanovsky [ Upstream commit d6535dca28859d8d9ef80894eb287b2ac35a32e8 ] The tcf_block_unbind() expects that the caller will take block->cb_lock before calling it, however the code took RTNL lock and dropped cb_lock instead. This causes to the following kernel panic. WARNING: CPU: 1

<    1   2   3   4   5   6   >