[PATCH 4.14 10/12] sctp: not disable bh in the whole sctp_get_port_local()

2020-09-11 Thread Greg Kroah-Hartman
From: Xin Long [ Upstream commit 3106ecb43a05dc3e009779764b9da245a5d082de ] With disabling bh in the whole sctp_get_port_local(), when snum == 0 and too many ports have been used, the do-while loop will take the cpu for a long time and cause cpu stuck: [ ] watchdog: BUG: soft lockup - CPU#11

[PATCH 5.8 07/16] ipv4: Silence suspicious RCU usage warning

2020-09-11 Thread Greg Kroah-Hartman
From: Ido Schimmel [ Upstream commit 7f6f32bb7d3355cd78ebf1dece9a6ea7a0ca8158 ] fib_info_notify_update() is always called with RTNL held, but not from an RCU read-side critical section. This leads to the following warning [1] when the FIB table list is traversed with hlist_for_each_entry_rcu(),

[PATCH 5.8 06/16] RDMA/cma: Execute rdma_cm destruction from a handler properly

2020-09-11 Thread Greg Kroah-Hartman
From: Jason Gunthorpe [ Upstream commit f6a9d47ae6854980fc4b1676f1fe9f9fa45ea4e2 ] When a rdma_cm_id needs to be destroyed after a handler callback fails, part of the destruction pattern is open coded into each call site. Unfortunately the blind assignment to state discards important informatio

[PATCH 5.8 15/16] net: disable netpoll on fresh napis

2020-09-11 Thread Greg Kroah-Hartman
From: Jakub Kicinski [ Upstream commit 96e97bc07e90f175a8980a22827faf702ca4cb30 ] napi_disable() makes sure to set the NAPI_STATE_NPSVC bit to prevent netpoll from accessing rings before init is complete. However, the same is not done for fresh napi instances in netif_napi_add(), even though we

[PATCH 5.8 04/16] RDMA/cma: Using the standard locking pattern when delivering the removal event

2020-09-11 Thread Greg Kroah-Hartman
From: Jason Gunthorpe [ Upstream commit 3647a28de1ada8708efc78d956619b9df5004478 ] Whenever an event is delivered to the handler it should be done under the handler_mutex and upon any non-zero return from the handler it should trigger destruction of the cm_id. cma_process_remove() skips some st

[PATCH 5.8 00/16] 5.8.9-rc1 review

2020-09-11 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.8.9 release. There are 16 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 Sun, 13 Sep 2020 12:24:42 +. Anything recei

[PATCH 5.8 02/16] io_uring: fix linked deferred ->files cancellation

2020-09-11 Thread Greg Kroah-Hartman
From: Pavel Begunkov [ Upstream commit c127a2a1b7baa5eb40a7e2de4b7f0c51ccbbb2ef ] While looking for ->files in ->defer_list, consider that requests there may actually be links. Signed-off-by: Pavel Begunkov Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin --- fs/io_uring.c | 25

[PATCH 5.8 12/16] taprio: Fix using wrong queues in gate mask

2020-09-11 Thread Greg Kroah-Hartman
From: Vinicius Costa Gomes [ Upstream commit 09e31cf0c528dac3358a081dc4e773d1b3de1bc9 ] Since commit 9c66d1564676 ("taprio: Add support for hardware offloading") there's a bit of inconsistency when offloading schedules to the hardware: In software mode, the gate masks are specified in terms of

Re: [PATCH 1/2] sched: Fix balance_callback()

2020-09-11 Thread Valentin Schneider
On 11/09/20 13:25, pet...@infradead.org wrote: > On Fri, Sep 11, 2020 at 01:17:02PM +0100, Valentin Schneider wrote: >> So that can be say __schedule() tail racing with some setprio; what's the >> worst that can (currently) happen here? Something like say two consecutive >> enqueuing of push_rt_t

[PATCH 4.14 00/12] 4.14.198-rc1 review

2020-09-11 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.198 release. There are 12 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 Sun, 13 Sep 2020 12:24:42 +. Anything re

[PATCH 4.9 65/71] affs: fix basic permission bits to actually work

2020-09-11 Thread Greg Kroah-Hartman
From: Max Staudt [ Upstream commit d3a84a8d0dde4e26bc084b36ffcbdc5932ac85e2 ] The basic permission bits (protection bits in AmigaOS) have been broken in Linux' AFFS - it would only set bits, but never delete them. Also, contrary to the documentation, the Archived bit was not handled. Let's fix

[PATCH 4.9 01/71] HID: core: Correctly handle ReportSize being zero

2020-09-11 Thread Greg Kroah-Hartman
From: Marc Zyngier commit bce1305c0ece3dc549663605e567655dd701752c upstream. It appears that a ReportSize value of zero is legal, even if a bit non-sensical. Most of the HID code seems to handle that gracefully, except when computing the total size in bytes. When fed as input to memset, this lea

[PATCH 4.14 12/12] net: disable netpoll on fresh napis

2020-09-11 Thread Greg Kroah-Hartman
From: Jakub Kicinski [ Upstream commit 96e97bc07e90f175a8980a22827faf702ca4cb30 ] napi_disable() makes sure to set the NAPI_STATE_NPSVC bit to prevent netpoll from accessing rings before init is complete. However, the same is not done for fresh napi instances in netif_napi_add(), even though we

[PATCH 4.9 30/71] btrfs: Remove redundant extent_buffer_get in get_old_root

2020-09-11 Thread Greg Kroah-Hartman
From: Nikolay Borisov [ Upstream commit 6c122e2a0c515cfb3f3a9cefb5dad4cb62109c78 ] get_old_root used used only by btrfs_search_old_slot to initialise the path structure. The old root is always a cloned buffer (either via alloc dummy or via btrfs_clone_extent_buffer) and its reference count is 2:

Advertencia

2020-09-11 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de corre

[PATCH 4.9 39/71] usb: qmi_wwan: add D-Link DWM-222 A2 device ID

2020-09-11 Thread Greg Kroah-Hartman
From: Rogan Dawes [ Upstream commit 7d6053097311643545a8118100175a39bd6fa637 ] Signed-off-by: Rogan Dawes Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/usb/qmi_wwan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/

[PATCH v3 net-next] net: phy: mchp: Add support for LAN8814 QUAD PHY

2020-09-11 Thread Divya Koppera
LAN8814 is a low-power, quad-port triple-speed (10BASE-T/100BASETX/1000BASE-T) Ethernet physical layer transceiver (PHY). It supports transmission and reception of data on standard CAT-5, as well as CAT-5e and CAT-6, unshielded twisted pair (UTP) cables. LAN8814 supports industry-standard QSGMII (

Re: [PATCH 23/23] Documentation: gpio: add documentation for gpio-mockup

2020-09-11 Thread Bartosz Golaszewski
On Fri, Sep 11, 2020 at 3:01 PM Greg Kroah-Hartman wrote: > > On Tue, Sep 08, 2020 at 07:03:30PM +0200, Bartosz Golaszewski wrote: > > On Mon, Sep 7, 2020 at 2:22 PM Greg Kroah-Hartman > > wrote: > > > > > > On Mon, Sep 07, 2020 at 02:06:15PM +0200, Bartosz Golaszewski wrote: > > > > On Mon, Sep

Re: [PATCH 4.19 142/206] gfs2: fix use-after-free on transaction ail lists

2020-09-11 Thread Salvatore Bonaccorso
Hi Bob, On Fri, Sep 11, 2020 at 08:49:14AM -0400, Bob Peterson wrote: > - Original Message - > > On Fri, Sep 11, 2020 at 08:08:35AM -0400, Bob Peterson wrote: > > > - Original Message - > > > > On Thu, Sep 10, 2020 at 09:43:19PM +0200, Salvatore Bonaccorso wrote: > > > > > Hi, > >

Re: [PATCH v7 5/9] RISC-V: Add PE/COFF header for EFI stub

2020-09-11 Thread Ard Biesheuvel
On Fri, 28 Aug 2020 at 20:20, Atish Patra wrote: > > Linux kernel Image can appear as an EFI application With appropriate > PE/COFF header fields in the beginning of the Image header. An EFI > application loader can directly load a Linux kernel Image and an EFI > stub residing in kernel can boot L

[PATCH 4.19 3/8] netlabel: fix problems with mapping removal

2020-09-11 Thread Greg Kroah-Hartman
From: Paul Moore [ Upstream commit d3b990b7f327e2afa98006e7666fb8ada8ed8683 ] This patch fixes two main problems seen when removing NetLabel mappings: memory leaks and potentially extra audit noise. The memory leaks are caused by not properly free'ing the mapping's address selector struct when

[PATCH 4.19 6/8] tipc: fix shutdown() of connectionless socket

2020-09-11 Thread Greg Kroah-Hartman
From: Tetsuo Handa [ Upstream commit 2a63866c8b51a3f72cea388dfac259d0e14c4ba6 ] syzbot is reporting hung task at nbd_ioctl() [1], for there are two problems regarding TIPC's connectionless socket's shutdown() operation. -- #include #include #include #include #include int main(int

[PATCH 4.19 5/8] sctp: not disable bh in the whole sctp_get_port_local()

2020-09-11 Thread Greg Kroah-Hartman
From: Xin Long [ Upstream commit 3106ecb43a05dc3e009779764b9da245a5d082de ] With disabling bh in the whole sctp_get_port_local(), when snum == 0 and too many ports have been used, the do-while loop will take the cpu for a long time and cause cpu stuck: [ ] watchdog: BUG: soft lockup - CPU#11

[PATCH 5.4 6/8] taprio: Fix using wrong queues in gate mask

2020-09-11 Thread Greg Kroah-Hartman
From: Vinicius Costa Gomes [ Upstream commit 09e31cf0c528dac3358a081dc4e773d1b3de1bc9 ] Since commit 9c66d1564676 ("taprio: Add support for hardware offloading") there's a bit of inconsistency when offloading schedules to the hardware: In software mode, the gate masks are specified in terms of

[PATCH 5.4 1/8] ipv4: Silence suspicious RCU usage warning

2020-09-11 Thread Greg Kroah-Hartman
From: Ido Schimmel [ Upstream commit 7f6f32bb7d3355cd78ebf1dece9a6ea7a0ca8158 ] fib_info_notify_update() is always called with RTNL held, but not from an RCU read-side critical section. This leads to the following warning [1] when the FIB table list is traversed with hlist_for_each_entry_rcu(),

[PATCH 5.4 5/8] sctp: not disable bh in the whole sctp_get_port_local()

2020-09-11 Thread Greg Kroah-Hartman
From: Xin Long [ Upstream commit 3106ecb43a05dc3e009779764b9da245a5d082de ] With disabling bh in the whole sctp_get_port_local(), when snum == 0 and too many ports have been used, the do-while loop will take the cpu for a long time and cause cpu stuck: [ ] watchdog: BUG: soft lockup - CPU#11

[PATCH 4.19 0/8] 4.19.145-rc1 review

2020-09-11 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.19.145 release. There are 8 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 Sun, 13 Sep 2020 12:54:13 +. Anything rec

[PATCH 4.19 7/8] net: disable netpoll on fresh napis

2020-09-11 Thread Greg Kroah-Hartman
From: Jakub Kicinski [ Upstream commit 96e97bc07e90f175a8980a22827faf702ca4cb30 ] napi_disable() makes sure to set the NAPI_STATE_NPSVC bit to prevent netpoll from accessing rings before init is complete. However, the same is not done for fresh napi instances in netif_napi_add(), even though we

[PATCH 5.4 8/8] net: disable netpoll on fresh napis

2020-09-11 Thread Greg Kroah-Hartman
From: Jakub Kicinski [ Upstream commit 96e97bc07e90f175a8980a22827faf702ca4cb30 ] napi_disable() makes sure to set the NAPI_STATE_NPSVC bit to prevent netpoll from accessing rings before init is complete. However, the same is not done for fresh napi instances in netif_napi_add(), even though we

Re: [PATCH 23/23] Documentation: gpio: add documentation for gpio-mockup

2020-09-11 Thread Greg Kroah-Hartman
On Tue, Sep 08, 2020 at 07:03:30PM +0200, Bartosz Golaszewski wrote: > On Mon, Sep 7, 2020 at 2:22 PM Greg Kroah-Hartman > wrote: > > > > On Mon, Sep 07, 2020 at 02:06:15PM +0200, Bartosz Golaszewski wrote: > > > On Mon, Sep 7, 2020 at 1:53 PM Andy Shevchenko > > > wrote: > > > > > > > > On Mon,

[PATCH 4.4 50/62] net: usb: Fix uninit-was-stored issue in asix_read_phy_addr()

2020-09-11 Thread Greg Kroah-Hartman
From: Himadri Pandya commit a092b7233f0e000cc6f2c71a49e2ecc6f917a5fc upstream. The buffer size is 2 Bytes and we expect to receive the same amount of data. But sometimes we receive less data and run into uninit-was-stored issue upon read. Hence modify the error check on the return value to match

[PATCH 4.19 2/8] block: ensure bdi->io_pages is always initialized

2020-09-11 Thread Greg Kroah-Hartman
From: Jens Axboe [ Upstream commit de1b0ee490eafdf65fac9eef9925391a8369f2dc ] If a driver leaves the limit settings as the defaults, then we don't initialize bdi->io_pages. This means that file systems may need to work around bdi->io_pages == 0, which is somewhat messy. Initialize the default v

[PATCH 4.19 1/8] ALSA; firewire-tascam: exclude Tascam FE-8 from detection

2020-09-11 Thread Greg Kroah-Hartman
From: Takashi Sakamoto Tascam FE-8 is known to support communication by asynchronous transaction only. The support can be implemented in userspace application and snd-firewire-ctl-services project has the support. However, ALSA firewire-tascam driver is bound to the model. This commit changes de

[PATCH 4.19 8/8] net/mlx5e: Dont support phys switch id if not in switchdev mode

2020-09-11 Thread Greg Kroah-Hartman
From: Roi Dayan Support for phys switch id ndo added for representors and if we do not have representors there is no need to support it. Since each port return different switch id supporting this block support for creating bond over PFs and attaching to bridge in legacy mode. This bug doesn't ex

[PATCH 5.4 7/8] tipc: fix shutdown() of connectionless socket

2020-09-11 Thread Greg Kroah-Hartman
From: Tetsuo Handa [ Upstream commit 2a63866c8b51a3f72cea388dfac259d0e14c4ba6 ] syzbot is reporting hung task at nbd_ioctl() [1], for there are two problems regarding TIPC's connectionless socket's shutdown() operation. -- #include #include #include #include #include int main(int

Re: [PATCH RFC 04/10] mm, kfence: insert KFENCE hooks for SLAB

2020-09-11 Thread Dmitry Vyukov
On Fri, Sep 11, 2020 at 2:24 PM Marco Elver wrote: > > > From: Alexander Potapenko > > > > > > Inserts KFENCE hooks into the SLAB allocator. > > > > > > We note the addition of the 'orig_size' argument to slab_alloc*() > > > functions, to be able to pass the originally requested size to KFENCE. >

[PATCH v3] spi: spi-nxp-fspi: Add ACPI support

2020-09-11 Thread kuldip dwivedi
Currently NXP fspi driver has support of DT only. Adding ACPI support to the driver so that it can be used by UEFI firmware booting in ACPI mode. This driver will be probed if any firmware will expose HID "NXP0009" in DSDT table. Signed-off-by: kuldip dwivedi --- Notes: 1. Add ACPI match ta

[PATCH 4.9 51/71] vfio-pci: Invalidate mmaps and block MMIO access on disabled memory

2020-09-11 Thread Greg Kroah-Hartman
From: Alex Williamson commit abafbc551fddede3e0a08dee1dcde08fc0eb8476 upstream. Accessing the disabled memory space of a PCI device would typically result in a master abort response on conventional PCI, or an unsupported request on PCI express. The user would generally see these as a -1 respons

[PATCH 4.9 50/71] vfio-pci: Fault mmaps to enable vma tracking

2020-09-11 Thread Greg Kroah-Hartman
From: Alex Williamson commit 11c4cd07ba111a09f49625f9e4c851d83daf0a22 upstream. Rather than calling remap_pfn_range() when a region is mmap'd, setup a vm_ops handler to support dynamic faulting of the range on access. This allows us to manage a list of vmas actively mapping the area that we can

[PATCH 4.9 32/71] btrfs: set the lockdep class for log tree extent buffers

2020-09-11 Thread Greg Kroah-Hartman
From: Josef Bacik [ Upstream commit d3beaa253fd6fa40b8b18a216398e6e5376a9d21 ] These are special extent buffers that get rewound in order to lookup the state of the tree at a specific point in time. As such they do not go through the normal initialization paths that set their lockdep class, so

[PATCH 4.9 49/71] vfio/type1: Support faulting PFNMAP vmas

2020-09-11 Thread Greg Kroah-Hartman
From: Alex Williamson commit 41311242221e3482b20bfed10fa4d9db98d87016 upstream. With conversion to follow_pfn(), DMA mapping a PFNMAP range depends on the range being faulted into the vma. Add support to manually provide that, in the same way as done on KVM with hva_to_pfn_remapped(). Reviewed

[PATCH 4.9 52/71] KVM: arm64: Add kvm_extable for vaxorcism code

2020-09-11 Thread Greg Kroah-Hartman
From: James Morse commit e9ee186bb735bfc17fa81dbc9aebf268aee5b41e upstream. KVM has a one instruction window where it will allow an SError exception to be consumed by the hypervisor without treating it as a hypervisor bug. This is used to consume asynchronous external abort that were caused by t

Re: [PATCH] drm/bridge: dw-mipi-dsi: permit configuring the escape clock rate

2020-09-11 Thread Neil Armstrong
On 11/09/2020 10:29, Philippe CORNU wrote: > > > On 9/4/20 2:55 PM, Neil Armstrong wrote: >> The Amlogic D-PHY in the Amlogic AXG SoC Family does support a frequency >> higher than 10MHz for the TX Escape Clock, thus make the target rate >> configurable. >> >> Signed-off-by: Neil Armstrong >> --

[PATCH 4.9 00/71] 4.9.236-rc1 review

2020-09-11 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.236 release. There are 71 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 Sun, 13 Sep 2020 12:24:42 +. Anything rec

[PATCH 4.9 07/71] s390: dont trace preemption in percpu macros

2020-09-11 Thread Greg Kroah-Hartman
From: Sven Schnelle [ Upstream commit 1196f12a2c960951d02262af25af0bb1775ebcc2 ] Since commit a21ee6055c30 ("lockdep: Change hardirq{s_enabled,_context} to per-cpu variables") the lockdep code itself uses percpu variables. This leads to recursions because the percpu macros are calling preempt_en

[PATCH 4.9 44/71] block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into

2020-09-11 Thread Greg Kroah-Hartman
From: Bart Van Assche commit 233bde21aa43516baa013ef7ac33f3427056db3e upstream. It happens often while I'm preparing a patch for a block driver that I'm wondering: is a definition of SECTOR_SIZE and/or SECTOR_SHIFT available for this driver? Do I have to introduce definitions of these constants

[PATCH 4.9 42/71] ALSA: firewire-digi00x: exclude Avid Adrenaline from detection

2020-09-11 Thread Greg Kroah-Hartman
From: Takashi Sakamoto commit acd46a6b6de88569654567810acad2b0a0a25cea upstream. Avid Adrenaline is reported that ALSA firewire-digi00x driver is bound to. However, as long as he investigated, the design of this model is hardly similar to the one of Digi 00x family. It's better to exclude the mo

[PATCH 4.9 43/71] block: allow for_each_bvec to support zero len bvec

2020-09-11 Thread Greg Kroah-Hartman
From: Ming Lei commit 7e24969022cbd61ddc586f14824fc205661bb124 upstream. Block layer usually doesn't support or allow zero-length bvec. Since commit 1bdc76aea115 ("iov_iter: use bvec iterator to implement iterate_bvec()"), iterate_bvec() switches to bvec iterator. However, Al mentioned that 'Zer

[PATCH 4.9 08/71] xen/xenbus: Fix granting of vmallocd memory

2020-09-11 Thread Greg Kroah-Hartman
From: Simon Leiner [ Upstream commit d742db70033c745e410523e00522ee0cfe2aa416 ] On some architectures (like ARM), virt_to_gfn cannot be used for vmalloc'd memory because of its reliance on virt_to_phys. This patch introduces a check for vmalloc'd addresses and obtains the PFN using vmalloc_to_pf

[PATCH 4.9 04/71] hwmon: (applesmc) check status earlier.

2020-09-11 Thread Greg Kroah-Hartman
From: Tom Rix [ Upstream commit cecf7560f00a8419396a2ed0f6e5d245ccb4feac ] clang static analysis reports this representative problem applesmc.c:758:10: warning: 1st function call argument is an uninitialized value left = be16_to_cpu(*(__be16 *)(buffer + 6)) >> 2; ^~

[PATCH 4.9 48/71] mm: slub: fix conversion of freelist_corrupted()

2020-09-11 Thread Greg Kroah-Hartman
From: Eugeniu Rosca commit dc07a728d49cf025f5da2c31add438d839d076c0 upstream. Commit 52f23478081ae0 ("mm/slub.c: fix corrupted freechain in deactivate_slab()") suffered an update when picked up from LKML [1]. Specifically, relocating 'freelist = NULL' into 'freelist_corrupted()' created a no-op

[PATCH 4.9 45/71] libata: implement ATA_HORKAGE_MAX_TRIM_128M and apply to Sandisks

2020-09-11 Thread Greg Kroah-Hartman
From: Tejun Heo commit 3b5455636fe26ea21b4189d135a424a6da016418 upstream. All three generations of Sandisk SSDs lock up hard intermittently. Experiments showed that disabling NCQ lowered the failure rate significantly and the kernel has been disabling NCQ for some models of SD7's and 8's, which

[PATCH 4.9 31/71] btrfs: Remove extraneous extent_buffer_get from tree_mod_log_rewind

2020-09-11 Thread Greg Kroah-Hartman
From: Nikolay Borisov [ Upstream commit 24cee18a1c1d7c731ea5987e0c99daea22ae7f4a ] When a rewound buffer is created it already has a ref count of 1 and the dummy flag set. Then another ref is taken bumping the count to 2. Finally when this buffer is released from btrfs_release_path the extra ref

Re: [PATCH v8 3/6] ACPI: Add a convenience function to tell a device is in low power state

2020-09-11 Thread Sakari Ailus
On Thu, Sep 10, 2020 at 08:06:06PM +0800, Bingbu Cao wrote: ... > > @@ -987,6 +988,10 @@ static inline int acpi_dev_pm_attach(struct device > > *dev, bool power_on) > > { > > return 0; > > } > > Need a blank line here, ;). I'll add that for v9. -- Sakari Ailus

[PATCH 4.9 46/71] dm cache metadata: Avoid returning cmd->bm wild pointer on error

2020-09-11 Thread Greg Kroah-Hartman
From: Ye Bin commit d16ff19e69ab57e08bf908faaacbceaf660249de upstream. Maybe __create_persistent_data_objects() caller will use PTR_ERR as a pointer, it will lead to some strange things. Signed-off-by: Ye Bin Cc: sta...@vger.kernel.org Signed-off-by: Mike Snitzer Signed-off-by: Greg Kroah-Har

[PATCH 4.9 41/71] ALSA: pcm: oss: Remove superfluous WARN_ON() for mulaw sanity check

2020-09-11 Thread Greg Kroah-Hartman
From: Takashi Iwai commit 949a1ebe8cea7b342085cb6a4946b498306b9493 upstream. The PCM OSS mulaw plugin has a check of the format of the counter part whether it's a linear format. The check is with snd_BUG_ON() that emits WARN_ON() when the debug config is set, and it confuses syzkaller as if it

[PATCH 4.9 47/71] dm thin metadata: Avoid returning cmd->bm wild pointer on error

2020-09-11 Thread Greg Kroah-Hartman
From: Ye Bin commit 219403d7e56f9b716ad80ab87db85d29547ee73e upstream. Maybe __create_persistent_data_objects() caller will use PTR_ERR as a pointer, it will lead to some strange things. Signed-off-by: Ye Bin Cc: sta...@vger.kernel.org Signed-off-by: Mike Snitzer Signed-off-by: Greg Kroah-Har

[PATCH 4.9 05/71] nvmet: Disable keep-alive timer when kato is cleared to 0h

2020-09-11 Thread Greg Kroah-Hartman
From: Amit Engel [ Upstream commit 0d3b6a8d213a30387b5104b2fb25376d18636f23 ] Based on nvme spec, when keep alive timeout is set to zero the keep-alive timer should be disabled. Signed-off-by: Amit Engel Signed-off-by: Sagi Grimberg Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin ---

[PATCH 4.9 40/71] ALSA: ca0106: fix error code handling

2020-09-11 Thread Greg Kroah-Hartman
From: Tong Zhang commit ee0761d1d8222bcc5c86bf10849dc86cf008557c upstream. snd_ca0106_spi_write() returns 1 on error, snd_ca0106_pcm_power_dac() is returning the error code directly, and the caller is expecting an negative error code Signed-off-by: Tong Zhang Cc: Link: https://lore.kernel.org

[PATCH bpf-next v2 4/5] bpf: selftests: add MPTCP test base

2020-09-11 Thread Nicolas Rybowski
This patch adds a base for MPTCP specific tests. It is currently limited to the is_mptcp field in case of plain TCP connection because for the moment there is no easy way to get the subflow sk from a msk in userspace. This implies that we cannot lookup the sk_storage attached to the subflow sk in

[PATCH bpf-next v2 1/5] bpf: expose is_mptcp flag to bpf_tcp_sock

2020-09-11 Thread Nicolas Rybowski
is_mptcp is a field from struct tcp_sock used to indicate that the current tcp_sock is part of the MPTCP protocol. In this protocol, a first socket (mptcp_sock) is created with sk_protocol set to IPPROTO_MPTCP (=262) for control purpose but it isn't directly on the wire. This is the role of the su

Re: [PATCH 3/4] arm64: dts: exynos: Remove undocumented i2s properties in Exynos5433

2020-09-11 Thread Krzysztof Kozlowski
On Thu, Sep 03, 2020 at 10:32:49PM +0200, Krzysztof Kozlowski wrote: > Few I2S device node properties were not documented and not used by any > of the drivers. Remove them to fix dtbs_check warning: > > arch/arm64/boot/dts/exynos/exynos5433-tm2.dt.yaml: i2s@14d6: > Additional properties

[PATCH v5 01/10] fs/ntfs3: Add headers and misc files

2020-09-11 Thread Konstantin Komarov
This adds headers and misc files Signed-off-by: Konstantin Komarov --- fs/ntfs3/debug.h | 59 +++ fs/ntfs3/ntfs.h| 1256 fs/ntfs3/ntfs_fs.h | 1001 +++ fs/ntfs3/upcase.c | 78 +++ 4 files changed, 2394 insert

Re: [PATCH V2 3/4] perf stat: Support new per thread TopDown metrics

2020-09-11 Thread Liang, Kan
On 9/10/2020 11:37 PM, Namhyung Kim wrote: Hello, On Thu, Sep 10, 2020 at 10:48 PM wrote: From: Andi Kleen Icelake has support for reporting per thread TopDown metrics. These are reported differently than the previous TopDown support, each metric is standalone, but scaled to pipeline "sl

Re: [PATCH v9 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-09-11 Thread Stephan Gerhold
Hi, Thanks for removing the weird use of auxilliary devices :) On Fri, Sep 11, 2020 at 06:22:59PM +0800, Cheng-Yi Chiang wrote: > From: Ajit Pandey > > Add new driver to register sound card on sc7180 trogdor board and > do the required configuration for lpass cpu dai and external codecs > conne

Re: [PATCH] soc: sunxi: sram: remove unneeded semicolon

2020-09-11 Thread Maxime Ripard
hi, On Thu, Sep 10, 2020 at 10:05:46PM +0800, Jason Yan wrote: > Eliminate the following coccicheck warning: > > drivers/soc/sunxi/sunxi_sram.c:197:2-3: Unneeded semicolon > > Reported-by: Hulk Robot > Signed-off-by: Jason Yan Applied, thanks! Maxime signature.asc Description: PGP signature

[PATCH bpf-next v2 3/5] bpf: add 'bpf_mptcp_sock' structure and helper

2020-09-11 Thread Nicolas Rybowski
In order to precisely identify the parent MPTCP connection of a subflow, it is required to access the mptcp_sock's token which uniquely identify a MPTCP connection. This patch adds a new structure 'bpf_mptcp_sock' exposing the 'token' field of the 'mptcp_sock' extracted from a subflow's 'tcp_sock'

[PATCH] vhost: reduce stack usage in log_used

2020-09-11 Thread Li Wang
Fix the warning: [-Werror=-Wframe-larger-than=] drivers/vhost/vhost.c: In function log_used: drivers/vhost/vhost.c:1906:1: warning: the frame size of 1040 bytes is larger than 1024 bytes Signed-off-by: Li Wang --- drivers/vhost/vhost.c | 14 ++ 1 file changed, 10 insertions(+), 4 de

Re: [PATCH 2/3] dt-bindings: remoteproc: stm32_rproc: update for firmware synchronization

2020-09-11 Thread Arnaud POULIQUEN
Hi Rob, On 9/9/20 10:22 PM, Rob Herring wrote: > On Thu, Aug 27, 2020 at 09:21:00AM +0200, Arnaud Pouliquen wrote: >> Add new properties description used to attach to a pre-loaded >> firmware according to the commit 9276536f455b3 >> ("remoteproc: stm32: Parse syscon that will manage M4 synchronisa

Re: [PATCH] sched.h: drop in_ubsan field when UBSAN is in trap mode

2020-09-11 Thread Elena Petrova
Hi Jann, On Thu, 10 Sep 2020 at 20:35, Jann Horn wrote: > > On Thu, Sep 10, 2020 at 3:48 PM Elena Petrova wrote: > > in_ubsan field of task_struct is only used in lib/ubsan.c, which in its > > turn is used only `ifneq ($(CONFIG_UBSAN_TRAP),y)`. > > > > Removing unnecessary field from a task_stru

Re: [PATCH v4 00/14] arm64: Optimise and update memcpy, user copy and string routines

2020-09-11 Thread Oli Swede
Hi Will and Catalin, Thank you both for having a look at this, the coupling between the usercopy routines and the fixup routines was my main concern as well and I understand the desire to take an approach that avoids this dependency when it comes to importing new copy routines. On 9/11/20 12

[PATCH 4.14 11/12] tipc: fix shutdown() of connectionless socket

2020-09-11 Thread Greg Kroah-Hartman
From: Tetsuo Handa [ Upstream commit 2a63866c8b51a3f72cea388dfac259d0e14c4ba6 ] syzbot is reporting hung task at nbd_ioctl() [1], for there are two problems regarding TIPC's connectionless socket's shutdown() operation. -- #include #include #include #include #include int main(int

[PATCH 5.8 11/16] sctp: not disable bh in the whole sctp_get_port_local()

2020-09-11 Thread Greg Kroah-Hartman
From: Xin Long [ Upstream commit 3106ecb43a05dc3e009779764b9da245a5d082de ] With disabling bh in the whole sctp_get_port_local(), when snum == 0 and too many ports have been used, the do-while loop will take the cpu for a long time and cause cpu stuck: [ ] watchdog: BUG: soft lockup - CPU#11

[PATCH 5.8 03/16] RDMA/cma: Simplify DEVICE_REMOVAL for internal_id

2020-09-11 Thread Greg Kroah-Hartman
From: Jason Gunthorpe [ Upstream commit d54f23c09ec62670901f1a2a4712a5218522ca2b ] cma_process_remove() triggers an unconditional rdma_destroy_id() for internal_id's and skips the event deliver and transition through RDMA_CM_DEVICE_REMOVAL. This is confusing and unnecessary. internal_id always

[PATCH v2 4/4] drm/amd/display: Add tracepoint for capturing clocks state

2020-09-11 Thread Rodrigo Siqueira
The clock state update is the source of many problems, and capturing this sort of information helps debug. This commit introduces tracepoints for capturing clock values and also add traces in DCE, DCN1, DCN2x, and DCN3. Co-developed-by: Nicholas Kazlauskas Signed-off-by: Nicholas Kazlauskas Sign

Re: [PATCH v2 2/2] usb: ohci: Make distrust_firmware param default to false

2020-09-11 Thread Alan Stern
On Fri, Sep 11, 2020 at 09:25:12AM +1200, Hamish Martin wrote: > The 'distrust_firmware' module parameter dates from 2004 and the USB > subsystem is a lot more mature and reliable now than it was then. > Alter the default to false now. > > Suggested-by: Alan Stern > Signed-off-by: Hamish Martin

[PATCH 4.9 70/71] sctp: not disable bh in the whole sctp_get_port_local()

2020-09-11 Thread Greg Kroah-Hartman
From: Xin Long [ Upstream commit 3106ecb43a05dc3e009779764b9da245a5d082de ] With disabling bh in the whole sctp_get_port_local(), when snum == 0 and too many ports have been used, the do-while loop will take the cpu for a long time and cause cpu stuck: [ ] watchdog: BUG: soft lockup - CPU#11

[PATCH 5.8 14/16] tipc: fix using smp_processor_id() in preemptible

2020-09-11 Thread Greg Kroah-Hartman
From: Tuong Lien [ Upstream commit bb8872a1e6bc911869a729240781076ed950764b ] The 'this_cpu_ptr()' is used to obtain the AEAD key' TFM on the current CPU for encryption, however the execution can be preemptible since it's actually user-space context, so the 'using smp_processor_id() in preemptib

[PATCH 5.8 10/16] net: usb: dm9601: Add USB ID of Keenetic Plus DSL

2020-09-11 Thread Greg Kroah-Hartman
From: Kamil Lorenc [ Upstream commit a609d0259183a841621f252e067f40f8cc25d6f6 ] Keenetic Plus DSL is a xDSL modem that uses dm9620 as its USB interface. Signed-off-by: Kamil Lorenc Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/usb/dm9601.c |4 1 f

[PATCH 5.4 3/8] netlabel: fix problems with mapping removal

2020-09-11 Thread Greg Kroah-Hartman
From: Paul Moore [ Upstream commit d3b990b7f327e2afa98006e7666fb8ada8ed8683 ] This patch fixes two main problems seen when removing NetLabel mappings: memory leaks and potentially extra audit noise. The memory leaks are caused by not properly free'ing the mapping's address selector struct when

Re: [PATCH v2] iommu/dma: Fix IOVA reserve dma ranges

2020-09-11 Thread Bjorn Helgaas
On Fri, Sep 11, 2020 at 03:55:34PM +0530, Srinath Mannam wrote: > Fix IOVA reserve failure in the case when address of first memory region > listed in dma-ranges is equal to 0x0. > > Fixes: aadad097cd46f ("iommu/dma: Reserve IOVA for PCIe inaccessible DMA > address") > Signed-off-by: Srinath Mann

Re: [PATCH V4] arm64/cpuinfo: Define HWCAP name arrays per their actual bit definitions

2020-09-11 Thread Catalin Marinas
On Wed, Sep 09, 2020 at 11:18:55AM +0530, Anshuman Khandual wrote: > HWCAP name arrays (hwcap_str, compat_hwcap_str, compat_hwcap2_str) that are > scanned for /proc/cpuinfo are detached from their bit definitions making it > vulnerable and difficult to correlate. It is also bit problematic because

Re: [PATCH V2] arm64/hotplug: Improve memory offline event notifier

2020-09-11 Thread Catalin Marinas
Hi Anshuman, On Mon, Aug 24, 2020 at 09:34:29AM +0530, Anshuman Khandual wrote: > This brings about three different changes to the sole memory event notifier > for arm64 platform and improves it's robustness while also enhancing debug > capabilities during potential memory offlining error conditio

[PATCH 3/3] ARM: s3c: Bring back notes from removed debug-macro.S

2020-09-11 Thread Krzysztof Kozlowski
Documentation references notes from a removed debug-macro.S file so bring the contents here. Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-s3c/s3c64xx.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-s3c/s3c64xx.c b/arch/arm/mach-s3c/s3c64xx.c inde

[PATCH 4.9 67/71] bnxt: dont enable NAPI until rings are ready

2020-09-11 Thread Greg Kroah-Hartman
From: Jakub Kicinski commit 96ecdcc992eb7f468b2cf829b0f5408a1fad4668 upstream. Netpoll can try to poll napi as soon as napi_enable() is called. It crashes trying to access a doorbell which is still NULL: BUG: kernel NULL pointer dereference, address: CPU: 59 PID: 6039 Comm: e

Re: [RFC][Patch v1 2/3] i40e: limit msix vectors based on housekeeping CPUs

2020-09-11 Thread Marcelo Tosatti
On Wed, Sep 09, 2020 at 11:08:17AM -0400, Nitesh Narayan Lal wrote: > In a realtime environment, it is essential to isolate unwanted IRQs from > isolated CPUs to prevent latency overheads. Creating MSIX vectors only > based on the online CPUs could lead to a potential issue on an RT setup > that ha

[PATCHv4 0/6] System Cache support for GPU and required SMMU support

2020-09-11 Thread Sai Prakash Ranjan
Some hardware variants contain a system cache or the last level cache(llc). This cache is typically a large block which is shared by multiple clients on the SOC. GPU uses the system cache to cache both the GPU data buffers(like textures) as well the SMMU pagetables. This helps with improved render

Good day customer,

2020-09-11 Thread Malayan Banking Berhad
Malayan Banking Berhad (MAYBANK) Kampung Bandarshah, 93400 Kuching, Sarawak, Malaysia. Good day customer, We the management and staff of Maybank Berhad is informing you about your Telekom Malaysia Berhad pending funds transfer of RM 270,000 which crediting status is 98% and your attention is need

Re: [PATCH net v1] hinic: fix rewaking txq after netif_tx_disable

2020-09-11 Thread Jakub Kicinski
On Thu, 10 Sep 2020 22:04:40 +0800 Luo bin wrote: > When calling hinic_close in hinic_set_channels, all queues are > stopped after netif_tx_disable, but some queue may be rewaken in > free_tx_poll by mistake while drv is handling tx irq. If one queue > is rewaken core may call hinic_xmit_frame to s

Re: [PATCH v2 1/3] arm64/mm: Remove CONT_RANGE_OFFSET

2020-09-11 Thread Catalin Marinas
On Thu, Sep 10, 2020 at 07:59:34PM +1000, Gavin Shan wrote: > The macro was introduced by commit ("arm64: PTE/PMD > contiguous bit definition") at the beginning. It's only used by > commit <348a65cdcbbf> ("arm64: Mark kernel page ranges contiguous"), > which was reverted later by commit <667c27597

Re: [PATCH v2 3/3] arm64/mm: Unitify CONT_PMD_SHIFT

2020-09-11 Thread Catalin Marinas
On Thu, Sep 10, 2020 at 07:59:36PM +1000, Gavin Shan wrote: > Similar to how CONT_PTE_SHIFT is determined, this introduces a new > kernel option (CONFIG_CONT_PMD_SHIFT) to determine CONT_PMD_SHIFT. > > Signed-off-by: Gavin Shan Acked-by: Catalin Marinas

Re: [PATCH 04/10] clk: gpio: Simplify with dev_err_probe()

2020-09-11 Thread Krzysztof Kozlowski
On Thu, Sep 10, 2020 at 03:01:06PM -0700, Stephen Boyd wrote: > Quoting Krzysztof Kozlowski (2020-09-02 08:03:42) > > diff --git a/drivers/clk/clk-gpio.c b/drivers/clk/clk-gpio.c > > index 38755a241ab7..a3cc53edcb11 100644 > > --- a/drivers/clk/clk-gpio.c > > +++ b/drivers/clk/clk-gpio.c > > @@ -21

Re: [PATCH] docs/memory-barriers.txt: Fix a typo in CPU MEMORY BARRIERS section

2020-09-11 Thread Will Deacon
On Wed, Sep 09, 2020 at 02:53:40PM +0800, Fox Chen wrote: > Commit 39323c6 smp_mb__{before,after}_atomic(): update Documentation > has a typo in CPU MEORY BARRIERS section: > "RMW functions that do not imply are memory barrier are ..." should be > "RMW functions that do not imply a memory barrier a

Re: [PATCH 01/10] clk: at91: Drop unused at91sam9g45_pcr_layout

2020-09-11 Thread Krzysztof Kozlowski
On Wed, Sep 02, 2020 at 06:35:58PM +0200, Alexandre Belloni wrote: > On 02/09/2020 17:03:39+0200, Krzysztof Kozlowski wrote: > > The at91sam9g45_pcr_layout is not used so drop it to fix build warning: > > > > drivers/clk/at91/at91sam9g45.c:49:36: warning: > > 'at91sam9g45_pcr_layout' defined

Re: [PATCH] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT flag

2020-09-11 Thread Sergey Senozhatsky
On (20/09/11 12:37), Hans Verkuil wrote: > I'll take care of that. I also discovered that one call to vb2_core_reqbufs() > wasn't updated (in drivers/media/dvb-core/dvb_vb2.c). I've fixed that as well. Oh.. how did I miss drivers/media/dvb-core/dvb_vb2.c? Should have grep-ed more. -ss

[PATCHv4 2/6] iommu/arm-smmu: Add domain attribute for system cache

2020-09-11 Thread Sai Prakash Ranjan
Add iommu domain attribute for using system cache aka last level cache by client drivers like GPU to set right attributes for caching the hardware pagetables into the system cache. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/arm/arm-smmu/arm-smmu.c | 17 + drivers/iommu/a

[PATCH v3 0/7] SM8150 and SM8250 dispcc drivers

2020-09-11 Thread Jonathan Marek
Add display clock drivers required to get DSI and DP displays working on SM8150 and SM8250 SoCs. Derived from downstream drivers. Notable changes compared to downstream: - EDP clks removed (nothing uses these even in downstream it seems) - freq_tbl values for dp_link clk is in Hz and not kHz v2

[PATCH v3 3/7] dt-bindings: clock: combine qcom,sdm845-dispcc and qcom,sc7180-dispcc

2020-09-11 Thread Jonathan Marek
These two bindings are almost identical, so combine them into one. This will make it easier to add the sm8150 and sm8250 dispcc bindings. Signed-off-by: Jonathan Marek --- ...om,sdm845-dispcc.yaml => qcom,dispcc.yaml} | 18 ++-- .../bindings/clock/qcom,sc7180-dispcc.yaml| 86

[PATCH v3 6/7] clk: qcom: Add display clock controller driver for SM8150

2020-09-11 Thread Jonathan Marek
Add support for the display clock controller found on SM8150 based devices. This would allow display drivers to probe and control their clocks. Signed-off-by: Jonathan Marek --- drivers/clk/qcom/Kconfig |9 + drivers/clk/qcom/Makefile|1 + drivers/clk/qcom/dispcc-sm8150.c

Re: [LTP] [PATCH] syscalls/ptrace10: Add new regression test

2020-09-11 Thread Cyril Hrubis
Hi! > the code looks good, though it might make sense to simply integrate the > check into ptrace08. Just 6 extra lines in the existing test should > achieve the same coverage. I would like to avoid triggering the "your system may be vunerable" messages on fixed kernel, hence the separate test. -

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