Re: [PATCH v2 2/9] dt-bindings: irqchip: renesas-irqc: Document r8a7742 bindings

2020-05-14 Thread Rob Herring
On Wed, 6 May 2020 20:51:28 +0100, Lad Prabhakar wrote: > Document SoC specific bindings for RZ/G1H (r8a7742) SoC. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > > Reviewed-by: Geert Uytterhoeven > --- > v1->v2: > * No change > --- > >

Re: [patch V4 part 4 08/24] x86/entry: Provide IDTENTRY_IST

2020-05-14 Thread Thomas Gleixner
Andy Lutomirski writes: > On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: >> >> Same as IDTENTRY but for exceptions which run on Interrupt STacks (IST) on >> 64bit. For 32bit this maps to IDTENTRY. >> >> There are 3 variants which will be used: >> IDTENTRY_MCE >> IDTENTRY_DB >>

Re: [PATCH v17 05/10] fs,landlock: Support filesystem access-control

2020-05-14 Thread Mickaël Salaün
On 14/05/2020 17:58, Casey Schaufler wrote: > On 5/14/2020 3:39 AM, Mickaël Salaün wrote: >> On 14/05/2020 05:37, James Morris wrote: >>> On Mon, 11 May 2020, Mickaël Salaün wrote: >>> >>> diff --git a/include/linux/fs.h b/include/linux/fs.h index 45cc10cdf6dd..2276642f8e05 100644

Re: [PATCH v17 05/10] fs,landlock: Support filesystem access-control

2020-05-14 Thread Mickaël Salaün
On 14/05/2020 19:31, James Morris wrote: > On Thu, 14 May 2020, Mickaël Salaün wrote: > >>> This needs to be converted to the LSM API via superblock blob stacking. >>> >>> See Casey's old patch: >>> https://lore.kernel.org/linux-security-module/20190829232935.7099-2-ca...@schaufler-ca.com/ >>

[PATCH AUTOSEL 5.6 03/62] Makefile: disallow data races on gcc-10 as well

2020-05-14 Thread Sasha Levin
From: Sergei Trofimovich [ Upstream commit b1112139a103b4b1101d0d2d72931f2d33d8c978 ] gcc-10 will rename --param=allow-store-data-races=0 to -fno-allow-store-data-races. The flag change happened at https://gcc.gnu.org/PR92046. Signed-off-by: Sergei Trofimovich Acked-by: Jiri Kosina

[PATCH AUTOSEL 5.6 19/62] scsi: ibmvscsi: Fix WARN_ON during event pool release

2020-05-14 Thread Sasha Levin
From: Tyrel Datwyler [ Upstream commit b36522150e5b85045f868768d46fbaaa034174b2 ] While removing an ibmvscsi client adapter a WARN_ON like the following is seen in the kernel log: drmgr: drmgr: -r -c slot -s U9080.M9S.783AEC8-V11-C11 -w 5 -d 1 WARNING: CPU: 9 PID: 24062 at

[PATCH AUTOSEL 5.6 07/62] HID: alps: Add AUI1657 device ID

2020-05-14 Thread Sasha Levin
From: Artem Borisov [ Upstream commit 640e403b1fd24e7f31ac6f29f0b6a21d285ed729 ] This device is used on Lenovo V130-15IKB variants and uses the same registers as U1. Signed-off-by: Artem Borisov Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-alps.c | 1 +

[PATCH AUTOSEL 5.6 09/62] phy: tegra: Select USB_COMMON for usb_get_maximum_speed()

2020-05-14 Thread Sasha Levin
From: Thierry Reding [ Upstream commit 0d5c9bc7c68009af04bbadf22306467674c6fb90 ] The usb_get_maximum_speed() function is part of the usb-common module, so enable it by selecting the corresponding Kconfig symbol. While at it, also make sure to depend on USB_SUPPORT because USB_PHY requires

[PATCH AUTOSEL 5.6 08/62] HID: alps: ALPS_1657 is too specific; use U1_UNICORN_LEGACY instead

2020-05-14 Thread Sasha Levin
From: Jiri Kosina [ Upstream commit 185af3e775b693f773d9a4b5a8c3cda69fc8ca0f ] HID_DEVICE_ID_ALPS_1657 PID is too specific, as there are many other ALPS hardware IDs using this particular touchpad. Rename the identifier to HID_DEVICE_ID_ALPS_U1_UNICORN_LEGACY in order to describe reality

[PATCH AUTOSEL 5.6 20/62] HID: i2c-hid: reset Synaptics SYNA2393 on resume

2020-05-14 Thread Sasha Levin
From: Daniel Playfair Cal [ Upstream commit 538f67407e2c0e5ed2a46e7d7ffa52f2e30c7ef8 ] On the Dell XPS 9570, the Synaptics SYNA2393 touchpad generates spurious interrupts after resuming from suspend until it receives some input or is reset. Add it to the quirk I2C_HID_QUIRK_RESET_ON_RESUME so

[PATCH AUTOSEL 5.6 58/62] gcc-10: disable 'restrict' warning for now

2020-05-14 Thread Sasha Levin
From: Linus Torvalds [ Upstream commit adc71920969870dfa54e8f40dac8616284832d02 ] gcc-10 now warns about passing aliasing pointers to functions that take restricted pointers. That's actually a great warning, and if we ever start using 'restrict' in the kernel, it might be quite useful. But

[PATCH AUTOSEL 5.6 40/62] iommu/amd: Fix race in increase_address_space()/fetch_pte()

2020-05-14 Thread Sasha Levin
From: Joerg Roedel [ Upstream commit eb791aa70b90c559eeb371d807c8813d569393f0 ] The 'pt_root' and 'mode' struct members of 'struct protection_domain' need to be get/set atomically, otherwise the page-table of the domain can get corrupted. Merge the fields into one atomic64_t struct member

[PATCH AUTOSEL 5.6 56/62] gcc-10: disable 'array-bounds' warning for now

2020-05-14 Thread Sasha Levin
From: Linus Torvalds [ Upstream commit 44720996e2d79e47d508b0abe99b931a726a3197 ] This is another fine warning, related to the 'zero-length-bounds' one, but hitting the same historical code in the kernel. Because C didn't historically support flexible array members, we have code that instead

[PATCH AUTOSEL 5.6 51/62] wireguard: selftests: initalize ipv6 members to NULL to squelch clang warning

2020-05-14 Thread Sasha Levin
From: "Jason A. Donenfeld" [ Upstream commit 4fed818ef54b08d4b29200e416cce65546ad5312 ] Without setting these to NULL, clang complains in certain configurations that have CONFIG_IPV6=n: In file included from drivers/net/wireguard/ratelimiter.c:223:

[PATCH AUTOSEL 5.6 29/62] hv_netvsc: Fix netvsc_start_xmit's return type

2020-05-14 Thread Sasha Levin
From: Nathan Chancellor [ Upstream commit 7fdc66debebc6a7170a37c8c9b0d9585a9788fb4 ] netvsc_start_xmit is used as a callback function for the ndo_start_xmit function pointer. ndo_start_xmit's return type is netdev_tx_t but netvsc_start_xmit's return type is int. This causes a failure with

[PATCH AUTOSEL 5.6 45/62] drm/amd/display: fix counter in wait_for_no_pipes_pending

2020-05-14 Thread Sasha Levin
From: Roman Li [ Upstream commit 80797dd6f1a525d1160c463d6a9f9d29af182cbb ] [Why] Wait counter is not being reset for each pipe. [How] Move counter reset into pipe loop scope. Signed-off-by: Roman Li Reviewed-by: Zhan Liu Acked-by: Aurabindo Pillai Signed-off-by: Alex Deucher

[PATCH AUTOSEL 5.6 53/62] scripts/gdb: repair rb_first() and rb_last()

2020-05-14 Thread Sasha Levin
From: Aymeric Agon-Rambosson [ Upstream commit 50e36be1fb9572b2e4f2753340bdce3116bf2ce7 ] The current implementations of the rb_first() and rb_last() gdb functions have a variable that references itself in its instanciation, which causes the function to throw an error if a specific condition on

[PATCH AUTOSEL 5.6 48/62] ARM: futex: Address build warning

2020-05-14 Thread Sasha Levin
From: Thomas Gleixner [ Upstream commit 8101b5a1531f3390b3a69fa7934c70a8fd6566ad ] Stephen reported the following build warning on a ARM multi_v7_defconfig build with GCC 9.2.1: kernel/futex.c: In function 'do_futex': kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this

[PATCH AUTOSEL 5.6 31/62] gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()

2020-05-14 Thread Sasha Levin
From: Yoshiyuki Kurauchi [ Upstream commit 846c68f7f1ac82c797a2f1db3344a2966c0fe2e1 ] In drivers/net/gtp.c, gtp_genl_dump_pdp() should set NLM_F_MULTI flag since it returns multipart message. This patch adds a new arg "flags" in gtp_genl_fill_info() so that flags can be set by the callers.

[PATCH AUTOSEL 5.6 27/62] selftests: fix kvm relocatable native/cross builds and installs

2020-05-14 Thread Sasha Levin
From: Shuah Khan [ Upstream commit 66d69e081b526b6a6031f0d3ca8ddff71e5707a5 ] kvm test Makefile doesn't fully support cross-builds and installs. UNAME_M = $(shell uname -m) variable is used to define the target programs and libraries to be built from arch specific sources in sub-directories.

[PATCH AUTOSEL 5.6 25/62] ftrace/selftests: workaround cgroup RT scheduling issues

2020-05-14 Thread Sasha Levin
From: Alan Maguire [ Upstream commit 57c4cfd4a2eef8f94052bd7c0fce0981f74fb213 ] wakeup_rt.tc and wakeup.tc tests in tracers/ subdirectory fail due to the chrt command returning: chrt: failed to set pid 0's policy: Operation not permitted. To work around this, temporarily disable grout RT

[PATCH AUTOSEL 5.4 01/49] kbuild: avoid concurrency issue in parallel building dtbs and dtbs_check

2020-05-14 Thread Sasha Levin
From: Masahiro Yamada [ Upstream commit b5154bf63e5577faaaca1d942df274f7de91dd2a ] 'make dtbs_check' checks the shecma in addition to building *.dtb files, in other words, 'make dtbs_check' is a super-set of 'make dtbs'. So, you do not have to do 'make dtbs dtbs_check', but I want to keep the

[PATCH AUTOSEL 5.6 55/62] gcc-10: disable 'zero-length-bounds' warning for now

2020-05-14 Thread Sasha Levin
From: Linus Torvalds [ Upstream commit 5c45de21a2223fe46cf9488c99a7fbcf01527670 ] This is a fine warning, but we still have a number of zero-length arrays in the kernel that come from the traditional gcc extension. Yes, they are getting converted to flexible arrays, but in the meantime the

[PATCH AUTOSEL 5.6 54/62] Stop the ad-hoc games with -Wno-maybe-initialized

2020-05-14 Thread Sasha Levin
From: Linus Torvalds [ Upstream commit 78a5255ffb6a1af189a83e493d916ba1c54d8c75 ] We have some rather random rules about when we accept the "maybe-initialized" warnings, and when we don't. For example, we consider it unreliable for gcc versions < 4.9, but also if -O3 is enabled, or if

[PATCH AUTOSEL 5.4 37/49] drm/amd/display: Prevent dpcd reads with passive dongles

2020-05-14 Thread Sasha Levin
From: Aurabindo Pillai [ Upstream commit e6142dd511425cb827b5db869f489eb81f5f994d ] [why] During hotplug, a DP port may be connected to the sink through passive adapter which does not support DPCD reads. Issuing reads without checking for this condition will result in errors [how] Ensure the

[PATCH AUTOSEL 5.4 36/49] iommu/amd: Call domain_flush_complete() in update_domain()

2020-05-14 Thread Sasha Levin
From: Joerg Roedel [ Upstream commit f44a4d7e4f1cdef73c90b1dc749c4d8a7372a8eb ] The update_domain() function is expected to also inform the hardware about domain changes. This needs a COMPLETION_WAIT command to be sent to all IOMMUs which use the domain. Signed-off-by: Joerg Roedel Tested-by:

[PATCH AUTOSEL 5.4 11/49] configfs: fix config_item refcnt leak in configfs_rmdir()

2020-05-14 Thread Sasha Levin
From: Xiyu Yang [ Upstream commit 8aebfffacfa379ba400da573a5bf9e49634e38cb ] configfs_rmdir() invokes configfs_get_config_item(), which returns a reference of the specified config_item object to "parent_item" with increased refcnt. When configfs_rmdir() returns, local variable "parent_item"

[PATCH AUTOSEL 5.4 24/49] net: moxa: Fix a potential double 'free_irq()'

2020-05-14 Thread Sasha Levin
From: Christophe JAILLET [ Upstream commit ee8d2267f0e39a1bfd95532da3a6405004114b27 ] Should an irq requested with 'devm_request_irq' be released explicitly, it should be done by 'devm_free_irq()', not 'free_irq()'. Fixes: 6c821bd9edc9 ("net: Add MOXA ART SoCs ethernet driver") Signed-off-by:

[PATCH AUTOSEL 5.4 43/49] gcc-10: disable 'array-bounds' warning for now

2020-05-14 Thread Sasha Levin
From: Linus Torvalds [ Upstream commit 44720996e2d79e47d508b0abe99b931a726a3197 ] This is another fine warning, related to the 'zero-length-bounds' one, but hitting the same historical code in the kernel. Because C didn't historically support flexible array members, we have code that instead

[PATCH AUTOSEL 5.4 28/49] gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()

2020-05-14 Thread Sasha Levin
From: Yoshiyuki Kurauchi [ Upstream commit 846c68f7f1ac82c797a2f1db3344a2966c0fe2e1 ] In drivers/net/gtp.c, gtp_genl_dump_pdp() should set NLM_F_MULTI flag since it returns multipart message. This patch adds a new arg "flags" in gtp_genl_fill_info() so that flags can be set by the callers.

[PATCH AUTOSEL 5.4 45/49] gcc-10: disable 'restrict' warning for now

2020-05-14 Thread Sasha Levin
From: Linus Torvalds [ Upstream commit adc71920969870dfa54e8f40dac8616284832d02 ] gcc-10 now warns about passing aliasing pointers to functions that take restricted pointers. That's actually a great warning, and if we ever start using 'restrict' in the kernel, it might be quite useful. But

[PATCH AUTOSEL 5.4 17/49] net/ena: Fix build warning in ena_xdp_set()

2020-05-14 Thread Sasha Levin
From: Gavin Shan [ Upstream commit caec66198d137c26f0d234abc498866a58c64150 ] This fixes the following build warning in ena_xdp_set(), which is observed on aarch64 with 64KB page size. In file included from ./include/net/inet_sock.h:19, from ./include/net/ip.h:27, from

[PATCH AUTOSEL 4.19 21/31] gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()

2020-05-14 Thread Sasha Levin
From: Yoshiyuki Kurauchi [ Upstream commit 846c68f7f1ac82c797a2f1db3344a2966c0fe2e1 ] In drivers/net/gtp.c, gtp_genl_dump_pdp() should set NLM_F_MULTI flag since it returns multipart message. This patch adds a new arg "flags" in gtp_genl_fill_info() so that flags can be set by the callers.

[PATCH AUTOSEL 4.19 09/31] configfs: fix config_item refcnt leak in configfs_rmdir()

2020-05-14 Thread Sasha Levin
From: Xiyu Yang [ Upstream commit 8aebfffacfa379ba400da573a5bf9e49634e38cb ] configfs_rmdir() invokes configfs_get_config_item(), which returns a reference of the specified config_item object to "parent_item" with increased refcnt. When configfs_rmdir() returns, local variable "parent_item"

[PATCH AUTOSEL 4.14 01/39] Makefile: disallow data races on gcc-10 as well

2020-05-14 Thread Sasha Levin
From: Sergei Trofimovich [ Upstream commit b1112139a103b4b1101d0d2d72931f2d33d8c978 ] gcc-10 will rename --param=allow-store-data-races=0 to -fno-allow-store-data-races. The flag change happened at https://gcc.gnu.org/PR92046. Signed-off-by: Sergei Trofimovich Acked-by: Jiri Kosina

[PATCH AUTOSEL 4.19 25/31] stmmac: fix pointer check after utilization in stmmac_interrupt

2020-05-14 Thread Sasha Levin
From: Maxim Petrov [ Upstream commit f42234ffd531ca6b13d9da02faa60b72eccf8334 ] The paranoidal pointer check in IRQ handler looks very strange - it really protects us only against bogus drivers which request IRQ line with null pointer dev_id. However, the code fragment is incorrect because the

[PATCH AUTOSEL 5.4 46/49] gcc-10: mark more functions __init to avoid section mismatch warnings

2020-05-14 Thread Sasha Levin
From: Linus Torvalds [ Upstream commit e99332e7b4cda6e60f5b5916cf9943a79dbef902 ] It seems that for whatever reason, gcc-10 ends up not inlining a couple of functions that used to be inlined before. Even if they only have one single callsite - it looks like gcc may have decided that the code

[PATCH AUTOSEL 5.4 49/49] gcc-10: avoid shadowing standard library 'free()' in crypto

2020-05-14 Thread Sasha Levin
From: Linus Torvalds [ Upstream commit 1a263ae60b04de959d9ce9caea4889385eefcc7b ] gcc-10 has started warning about conflicting types for a few new built-in functions, particularly 'free()'. This results in warnings like: crypto/xts.c:325:13: warning: conflicting types for built-in function

[PATCH AUTOSEL 4.19 02/31] gcc-common.h: Update for GCC 10

2020-05-14 Thread Sasha Levin
From: Frédéric Pierret (fepitre) [ Upstream commit c7527373fe28f97d8a196ab562db5589be0d34b9 ] Remove "params.h" include, which has been dropped in GCC 10. Remove is_a_helper() macro, which is now defined in gimple.h, as seen when running './scripts/gcc-plugin.sh g++ g++ gcc': In file included

[PATCH AUTOSEL 4.19 29/31] crypto: lrw - simplify error handling in create()

2020-05-14 Thread Sasha Levin
From: Eric Biggers [ Upstream commit d57063103332b95eac9c118900f35700a491da08 ] Simplify the error handling in the LRW template's ->create() function by taking advantage of crypto_drop_skcipher() now accepting (as a no-op) a spawn that hasn't been grabbed yet. Signed-off-by: Eric Biggers

[PATCH AUTOSEL 4.19 28/31] ARM: futex: Address build warning

2020-05-14 Thread Sasha Levin
From: Thomas Gleixner [ Upstream commit 8101b5a1531f3390b3a69fa7934c70a8fd6566ad ] Stephen reported the following build warning on a ARM multi_v7_defconfig build with GCC 9.2.1: kernel/futex.c: In function 'do_futex': kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this

[PATCH AUTOSEL 4.19 03/31] HID: multitouch: add eGalaxTouch P80H84 support

2020-05-14 Thread Sasha Levin
From: Sebastian Reichel [ Upstream commit f9e82295eec141a0569649d400d249333d74aa91 ] Add support for P80H84 touchscreen from eGalaxy: idVendor 0x0eef D-WAV Scientific Co., Ltd idProduct 0xc002 iManufacturer 1 eGalax Inc. iProduct2

[PATCH AUTOSEL 4.14 11/39] x86/entry/64: Fix unwind hints in register clearing code

2020-05-14 Thread Sasha Levin
From: Josh Poimboeuf [ Upstream commit 06a9750edcffa808494d56da939085c35904e618 ] The PUSH_AND_CLEAR_REGS macro zeroes each register immediately after pushing it. If an NMI or exception hits after a register is cleared, but before the UNWIND_HINT_REGS annotation, the ORC unwinder will wrongly

[PATCH AUTOSEL 4.14 30/39] gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()

2020-05-14 Thread Sasha Levin
From: Yoshiyuki Kurauchi [ Upstream commit 846c68f7f1ac82c797a2f1db3344a2966c0fe2e1 ] In drivers/net/gtp.c, gtp_genl_dump_pdp() should set NLM_F_MULTI flag since it returns multipart message. This patch adds a new arg "flags" in gtp_genl_fill_info() so that flags can be set by the callers.

[PATCH AUTOSEL 4.14 33/39] ceph: fix double unlock in handle_cap_export()

2020-05-14 Thread Sasha Levin
From: Wu Bo [ Upstream commit 4d8e28ff3106b093d98bfd2eceb9b430c70a8758 ] If the ceph_mdsc_open_export_target_session() return fails, it will do a "goto retry", but the session mutex has already been unlocked. Re-lock the mutex in that case to ensure that we don't unlock it twice.

[PATCH AUTOSEL 4.14 36/39] platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA

2020-05-14 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 3bd12da7f50b8bc191fcb3bab1f55c582234df59 ] asus-nb-wmi does not add any extra functionality on these Asus Transformer books. They have detachable keyboards, so the hotkeys are send through a HID device (and handled by the hid-asus driver) and also the

[PATCH AUTOSEL 4.9 01/27] Makefile: disallow data races on gcc-10 as well

2020-05-14 Thread Sasha Levin
From: Sergei Trofimovich [ Upstream commit b1112139a103b4b1101d0d2d72931f2d33d8c978 ] gcc-10 will rename --param=allow-store-data-races=0 to -fno-allow-store-data-races. The flag change happened at https://gcc.gnu.org/PR92046. Signed-off-by: Sergei Trofimovich Acked-by: Jiri Kosina

[PATCH AUTOSEL 4.14 15/39] x86/unwind/orc: Fix error path for bad ORC entry type

2020-05-14 Thread Sasha Levin
From: Josh Poimboeuf [ Upstream commit a0f81bf26888048100bf017fadf438a5bdffa8d8 ] If the ORC entry type is unknown, nothing else can be done other than reporting an error. Exit the function instead of breaking out of the switch statement. Fixes: ee9f8fce9964 ("x86/unwind: Add the ORC

[PATCH AUTOSEL 4.9 04/27] batman-adv: fix batadv_nc_random_weight_tq

2020-05-14 Thread Sasha Levin
From: George Spelvin [ Upstream commit fd0c42c4dea54335967c5a86f15fc064235a2797 ] and change to pseudorandom numbers, as this is a traffic dithering operation that doesn't need crypto-grade. The previous code operated in 4 steps: 1. Generate a random byte 0 <= rand_tq <= 255 2. Multiply it by

[PATCH AUTOSEL 4.4 09/14] ceph: fix double unlock in handle_cap_export()

2020-05-14 Thread Sasha Levin
From: Wu Bo [ Upstream commit 4d8e28ff3106b093d98bfd2eceb9b430c70a8758 ] If the ceph_mdsc_open_export_target_session() return fails, it will do a "goto retry", but the session mutex has already been unlocked. Re-lock the mutex in that case to ensure that we don't unlock it twice.

[PATCH AUTOSEL 4.4 07/14] net: ipa: fix a bug in ipa_endpoint_stop()

2020-05-14 Thread Sasha Levin
From: Alex Elder [ Upstream commit 713b6ebb4c376b3fb65fdceb3b59e401c93248f9 ] In ipa_endpoint_stop(), for TX endpoints we set the number of retries to 0. When we break out of the loop, retries being 0 means we return EIO rather than the value of ret (which should be 0). Fix this by using a

[PATCH AUTOSEL 4.9 23/27] net/mlx4_core: Fix use of ENOSPC around mlx4_counter_alloc()

2020-05-14 Thread Sasha Levin
From: Tariq Toukan [ Upstream commit 40e473071dbad04316ddc3613c3a3d1c75458299 ] When ENOSPC is set the idx is still valid and gets set to the global MLX4_SINK_COUNTER_INDEX. However gcc's static analysis cannot tell that ENOSPC is impossible from mlx4_cmd_imm() and gives this warning:

[PATCH AUTOSEL 4.9 19/27] net: moxa: Fix a potential double 'free_irq()'

2020-05-14 Thread Sasha Levin
From: Christophe JAILLET [ Upstream commit ee8d2267f0e39a1bfd95532da3a6405004114b27 ] Should an irq requested with 'devm_request_irq' be released explicitly, it should be done by 'devm_free_irq()', not 'free_irq()'. Fixes: 6c821bd9edc9 ("net: Add MOXA ART SoCs ethernet driver") Signed-off-by:

[PATCH AUTOSEL 4.9 15/27] dp83640: reverse arguments to list_add_tail

2020-05-14 Thread Sasha Levin
From: Julia Lawall [ Upstream commit 865308373ed49c9fb05720d14cbf1315349b32a9 ] In this code, it appears that phyter_clocks is a list head, based on the previous list_for_each, and that clock->list is intended to be a list element, given that it has just been initialized in dp83640_clock_init.

[PATCH AUTOSEL 4.4 06/14] soc: qcom: ipa: IPA endpoints

2020-05-14 Thread Sasha Levin
From: Alex Elder [ Upstream commit 84f9bd12d46dbe8ac7d4b650a8fbb4c49657a38b ] This patch includes the code implementing an IPA endpoint. This is the primary abstraction implemented by the IPA. An endpoint is one end of a network connection between two entities physically connected to the IPA.

[PATCH AUTOSEL 4.9 21/27] net: usb: qmi_wwan: add support for DW5816e

2020-05-14 Thread Sasha Levin
From: Matt Jolly [ Upstream commit 57c7f2bd758eed867295c81d3527fff4fab1ed74 ] Add support for Dell Wireless 5816e to drivers/net/usb/qmi_wwan.c Signed-off-by: Matt Jolly Acked-by: Bjørn Mork Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/usb/qmi_wwan.c | 1 + 1

[PATCH AUTOSEL 4.4 13/14] ARM: futex: Address build warning

2020-05-14 Thread Sasha Levin
From: Thomas Gleixner [ Upstream commit 8101b5a1531f3390b3a69fa7934c70a8fd6566ad ] Stephen reported the following build warning on a ARM multi_v7_defconfig build with GCC 9.2.1: kernel/futex.c: In function 'do_futex': kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this

[PATCH AUTOSEL 4.4 04/14] net/sonic: Fix a resource leak in an error handling path in 'jazz_sonic_probe()'

2020-05-14 Thread Sasha Levin
From: Christophe JAILLET [ Upstream commit 10e3cc180e64385edc9890c6855acf5ed9ca1339 ] A call to 'dma_alloc_coherent()' is hidden in 'sonic_alloc_descriptors()', called from 'sonic_probe1()'. This is correctly freed in the remove function, but not in the error handling path of the probe

[PATCH AUTOSEL 4.9 27/27] scripts/decodecode: fix trapping instruction formatting

2020-05-14 Thread Sasha Levin
From: Ivan Delalande [ Upstream commit e08df079b23e2e982df15aa340bfbaf50f297504 ] If the trapping instruction contains a ':', for a memory access through segment registers for example, the sed substitution will insert the '*' marker in the middle of the instruction instead of the line address:

[PATCH AUTOSEL 4.4 14/14] scripts/decodecode: fix trapping instruction formatting

2020-05-14 Thread Sasha Levin
From: Ivan Delalande [ Upstream commit e08df079b23e2e982df15aa340bfbaf50f297504 ] If the trapping instruction contains a ':', for a memory access through segment registers for example, the sed substitution will insert the '*' marker in the middle of the instruction instead of the line address:

[PATCH AUTOSEL 4.9 17/27] net: ipa: fix a bug in ipa_endpoint_stop()

2020-05-14 Thread Sasha Levin
From: Alex Elder [ Upstream commit 713b6ebb4c376b3fb65fdceb3b59e401c93248f9 ] In ipa_endpoint_stop(), for TX endpoints we set the number of retries to 0. When we break out of the loop, retries being 0 means we return EIO rather than the value of ret (which should be 0). Fix this by using a

[PATCH AUTOSEL 4.9 24/27] USB: core: Fix misleading driver bug report

2020-05-14 Thread Sasha Levin
From: Alan Stern [ Upstream commit ac854131d9844f79e2fdcef67a7707227538d78a ] The syzbot fuzzer found a race between URB submission to endpoint 0 and device reset. Namely, during the reset we call usb_ep0_reinit() because the characteristics of ep0 may have changed (if the reset follows a

[PATCH AUTOSEL 4.4 02/14] HID: multitouch: add eGalaxTouch P80H84 support

2020-05-14 Thread Sasha Levin
From: Sebastian Reichel [ Upstream commit f9e82295eec141a0569649d400d249333d74aa91 ] Add support for P80H84 touchscreen from eGalaxy: idVendor 0x0eef D-WAV Scientific Co., Ltd idProduct 0xc002 iManufacturer 1 eGalax Inc. iProduct2

[PATCH AUTOSEL 4.4 12/14] platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA

2020-05-14 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 3bd12da7f50b8bc191fcb3bab1f55c582234df59 ] asus-nb-wmi does not add any extra functionality on these Asus Transformer books. They have detachable keyboards, so the hotkeys are send through a HID device (and handled by the hid-asus driver) and also the

[PATCH AUTOSEL 4.9 16/27] soc: qcom: ipa: IPA endpoints

2020-05-14 Thread Sasha Levin
From: Alex Elder [ Upstream commit 84f9bd12d46dbe8ac7d4b650a8fbb4c49657a38b ] This patch includes the code implementing an IPA endpoint. This is the primary abstraction implemented by the IPA. An endpoint is one end of a network connection between two entities physically connected to the IPA.

Re: [PATCH v2 2/9] dt-bindings: irqchip: renesas-irqc: Document r8a7742 bindings

2020-05-14 Thread Rob Herring
On Thu, May 14, 2020 at 01:43:06PM -0500, Rob Herring wrote: > On Wed, 6 May 2020 20:51:28 +0100, Lad Prabhakar wrote: > > Document SoC specific bindings for RZ/G1H (r8a7742) SoC. > > > > Signed-off-by: Lad Prabhakar > > Reviewed-by: Marian-Cristian Rotariu > > > > Reviewed-by: Geert

[PATCH AUTOSEL 4.4 03/14] batman-adv: fix batadv_nc_random_weight_tq

2020-05-14 Thread Sasha Levin
From: George Spelvin [ Upstream commit fd0c42c4dea54335967c5a86f15fc064235a2797 ] and change to pseudorandom numbers, as this is a traffic dithering operation that doesn't need crypto-grade. The previous code operated in 4 steps: 1. Generate a random byte 0 <= rand_tq <= 255 2. Multiply it by

[PATCH AUTOSEL 4.4 10/14] net/mlx4_core: Fix use of ENOSPC around mlx4_counter_alloc()

2020-05-14 Thread Sasha Levin
From: Tariq Toukan [ Upstream commit 40e473071dbad04316ddc3613c3a3d1c75458299 ] When ENOSPC is set the idx is still valid and gets set to the global MLX4_SINK_COUNTER_INDEX. However gcc's static analysis cannot tell that ENOSPC is impossible from mlx4_cmd_imm() and gives this warning:

[PATCH AUTOSEL 4.4 05/14] dp83640: reverse arguments to list_add_tail

2020-05-14 Thread Sasha Levin
From: Julia Lawall [ Upstream commit 865308373ed49c9fb05720d14cbf1315349b32a9 ] In this code, it appears that phyter_clocks is a list head, based on the previous list_for_each, and that clock->list is intended to be a list element, given that it has just been initialized in dp83640_clock_init.

[PATCH AUTOSEL 4.9 18/27] net: macsec: preserve ingress frame ordering

2020-05-14 Thread Sasha Levin
From: Scott Dial [ Upstream commit ab046a5d4be4c90a3952a0eae75617b49c0cb01b ] MACsec decryption always occurs in a softirq context. Since the FPU may not be usable in the softirq context, the call to decrypt may be scheduled on the cryptd work queue. The cryptd work queue does not provide

Re: [PATCH v2 4/9] dt-bindings: serial: renesas,scif: Document r8a7742 bindings

2020-05-14 Thread Rob Herring
On Wed, 6 May 2020 20:51:30 +0100, Lad Prabhakar wrote: > RZ/G1H (R8A7742) SoC also has the R-Car gen2 compatible SCIF ports, > so document the SoC specific bindings. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > > Reviewed-by: Geert Uytterhoeven > --- > v1->v2: >

Re: [PATCH v2 5/9] dt-bindings: serial: renesas,scifb: Document r8a7742 bindings

2020-05-14 Thread Rob Herring
On Wed, 6 May 2020 20:51:31 +0100, Lad Prabhakar wrote: > RZ/G1H (R8A7742) SoC also has the R-Car gen2 compatible SCIFB ports, > so document the SoC specific bindings. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > > Reviewed-by: Geert Uytterhoeven > --- > v1->v2:

[PATCH AUTOSEL 4.4 08/14] net: moxa: Fix a potential double 'free_irq()'

2020-05-14 Thread Sasha Levin
From: Christophe JAILLET [ Upstream commit ee8d2267f0e39a1bfd95532da3a6405004114b27 ] Should an irq requested with 'devm_request_irq' be released explicitly, it should be done by 'devm_free_irq()', not 'free_irq()'. Fixes: 6c821bd9edc9 ("net: Add MOXA ART SoCs ethernet driver") Signed-off-by:

[PATCH AUTOSEL 4.4 11/14] USB: core: Fix misleading driver bug report

2020-05-14 Thread Sasha Levin
From: Alan Stern [ Upstream commit ac854131d9844f79e2fdcef67a7707227538d78a ] The syzbot fuzzer found a race between URB submission to endpoint 0 and device reset. Namely, during the reset we call usb_ep0_reinit() because the characteristics of ep0 may have changed (if the reset follows a

[PATCH AUTOSEL 4.9 22/27] ceph: fix double unlock in handle_cap_export()

2020-05-14 Thread Sasha Levin
From: Wu Bo [ Upstream commit 4d8e28ff3106b093d98bfd2eceb9b430c70a8758 ] If the ceph_mdsc_open_export_target_session() return fails, it will do a "goto retry", but the session mutex has already been unlocked. Re-lock the mutex in that case to ensure that we don't unlock it twice.

[PATCH AUTOSEL 4.4 01/14] Makefile: disallow data races on gcc-10 as well

2020-05-14 Thread Sasha Levin
From: Sergei Trofimovich [ Upstream commit b1112139a103b4b1101d0d2d72931f2d33d8c978 ] gcc-10 will rename --param=allow-store-data-races=0 to -fno-allow-store-data-races. The flag change happened at https://gcc.gnu.org/PR92046. Signed-off-by: Sergei Trofimovich Acked-by: Jiri Kosina

[PATCH AUTOSEL 4.9 10/27] bnxt_en: Fix VLAN acceleration handling in bnxt_fix_features().

2020-05-14 Thread Sasha Levin
From: Michael Chan [ Upstream commit c72cb303aa6c2ae7e4184f0081c6d11bf03fb96b ] The current logic in bnxt_fix_features() will inadvertently turn on both CTAG and STAG VLAN offload if the user tries to disable both. Fix it by checking that the user is trying to enable CTAG or STAG before

Re: [PATCH v2 6/9] dt-bindings: serial: renesas,hscif: Document r8a7742 bindings

2020-05-14 Thread Rob Herring
On Wed, 6 May 2020 20:51:32 +0100, Lad Prabhakar wrote: > RZ/G1H (R8A7742) SoC also has the R-Car gen2 compatible HSCIF ports, > so document the SoC specific bindings. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > > Reviewed-by: Geert Uytterhoeven > --- > v1->v2:

[PATCH AUTOSEL 4.9 12/27] component: Silence bind error on -EPROBE_DEFER

2020-05-14 Thread Sasha Levin
From: James Hilliard [ Upstream commit 7706b0a76a9697021e2bf395f3f065c18f51043d ] If a component fails to bind due to -EPROBE_DEFER we should not log an error as this is not a real failure. Fixes messages like: vc4-drm soc:gpu: failed to bind 3f902000.hdmi (ops vc4_hdmi_ops): -517 vc4-drm

[PATCH AUTOSEL 4.9 05/27] batman-adv: Fix refcnt leak in batadv_show_throughput_override

2020-05-14 Thread Sasha Levin
From: Xiyu Yang [ Upstream commit f872de8185acf1b48b954ba5bd8f9bc0a0d14016 ] batadv_show_throughput_override() invokes batadv_hardif_get_by_netdev(), which gets a batadv_hard_iface object from net_dev with increased refcnt and its reference is assigned to a local pointer 'hard_iface'. When

[PATCH AUTOSEL 4.9 20/27] gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()

2020-05-14 Thread Sasha Levin
From: Yoshiyuki Kurauchi [ Upstream commit 846c68f7f1ac82c797a2f1db3344a2966c0fe2e1 ] In drivers/net/gtp.c, gtp_genl_dump_pdp() should set NLM_F_MULTI flag since it returns multipart message. This patch adds a new arg "flags" in gtp_genl_fill_info() so that flags can be set by the callers.

[PATCH AUTOSEL 4.9 26/27] ARM: futex: Address build warning

2020-05-14 Thread Sasha Levin
From: Thomas Gleixner [ Upstream commit 8101b5a1531f3390b3a69fa7934c70a8fd6566ad ] Stephen reported the following build warning on a ARM multi_v7_defconfig build with GCC 9.2.1: kernel/futex.c: In function 'do_futex': kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this

[PATCH AUTOSEL 4.9 13/27] net/mlx5: Fix forced completion access non initialized command entry

2020-05-14 Thread Sasha Levin
From: Moshe Shemesh [ Upstream commit f3cb3cebe26ed4c8036adbd9448b372129d3c371 ] mlx5_cmd_flush() will trigger forced completions to all valid command entries. Triggered by an asynch event such as fast teardown it can happen at any stage of the command, including command initialization. It will

[PATCH AUTOSEL 4.9 02/27] gcc-common.h: Update for GCC 10

2020-05-14 Thread Sasha Levin
From: Frédéric Pierret (fepitre) [ Upstream commit c7527373fe28f97d8a196ab562db5589be0d34b9 ] Remove "params.h" include, which has been dropped in GCC 10. Remove is_a_helper() macro, which is now defined in gimple.h, as seen when running './scripts/gcc-plugin.sh g++ g++ gcc': In file included

Re: [PATCH v3 2/2] powerpc/rtas: Implement reentrant rtas call

2020-05-14 Thread Nathan Lynch
Hi, Leonardo Bras writes: > +/** > + * rtas_call_reentrant() - Used for reentrant rtas calls > + * @token: Token for desired reentrant RTAS call > + * @nargs: Number of Input Parameters > + * @nret:Number of Output Parameters > + * @outputs: Array of outputs > + * @...: Inputs for

[PATCH AUTOSEL 4.9 14/27] net/mlx5: Fix command entry leak in Internal Error State

2020-05-14 Thread Sasha Levin
From: Moshe Shemesh [ Upstream commit cece6f432cca9f18900463ed01b97a152a03600a ] Processing commands by cmd_work_handler() while already in Internal Error State will result in entry leak, since the handler process force completion without doorbell. Forced completion doesn't release the entry

[PATCH AUTOSEL 4.9 03/27] HID: multitouch: add eGalaxTouch P80H84 support

2020-05-14 Thread Sasha Levin
From: Sebastian Reichel [ Upstream commit f9e82295eec141a0569649d400d249333d74aa91 ] Add support for P80H84 touchscreen from eGalaxy: idVendor 0x0eef D-WAV Scientific Co., Ltd idProduct 0xc002 iManufacturer 1 eGalax Inc. iProduct2

[PATCH AUTOSEL 4.9 25/27] platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA

2020-05-14 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 3bd12da7f50b8bc191fcb3bab1f55c582234df59 ] asus-nb-wmi does not add any extra functionality on these Asus Transformer books. They have detachable keyboards, so the hotkeys are send through a HID device (and handled by the hid-asus driver) and also the

[PATCH AUTOSEL 4.14 35/39] USB: core: Fix misleading driver bug report

2020-05-14 Thread Sasha Levin
From: Alan Stern [ Upstream commit ac854131d9844f79e2fdcef67a7707227538d78a ] The syzbot fuzzer found a race between URB submission to endpoint 0 and device reset. Namely, during the reset we call usb_ep0_reinit() because the characteristics of ep0 may have changed (if the reset follows a

[PATCH AUTOSEL 4.9 11/27] net/sonic: Fix a resource leak in an error handling path in 'jazz_sonic_probe()'

2020-05-14 Thread Sasha Levin
From: Christophe JAILLET [ Upstream commit 10e3cc180e64385edc9890c6855acf5ed9ca1339 ] A call to 'dma_alloc_coherent()' is hidden in 'sonic_alloc_descriptors()', called from 'sonic_probe1()'. This is correctly freed in the remove function, but not in the error handling path of the probe

[PATCH AUTOSEL 4.14 29/39] x86/apic: Move TSC deadline timer debug printk

2020-05-14 Thread Sasha Levin
From: Thomas Gleixner [ Upstream commit c84cb3735fd53c91101ccdb191f2e3331a9262cb ] Leon reported that the printk_once() in __setup_APIC_LVTT() triggers a lockdep splat due to a lock order violation between hrtimer_base::lock and console_sem, when the 'once' condition is reset via

[PATCH AUTOSEL 4.9 06/27] batman-adv: Fix refcnt leak in batadv_store_throughput_override

2020-05-14 Thread Sasha Levin
From: Xiyu Yang [ Upstream commit 6107c5da0fca8b50b4d3215e94d619d38cc4a18c ] batadv_show_throughput_override() invokes batadv_hardif_get_by_netdev(), which gets a batadv_hard_iface object from net_dev with increased refcnt and its reference is assigned to a local pointer 'hard_iface'. When

[PATCH AUTOSEL 4.9 09/27] configfs: fix config_item refcnt leak in configfs_rmdir()

2020-05-14 Thread Sasha Levin
From: Xiyu Yang [ Upstream commit 8aebfffacfa379ba400da573a5bf9e49634e38cb ] configfs_rmdir() invokes configfs_get_config_item(), which returns a reference of the specified config_item object to "parent_item" with increased refcnt. When configfs_rmdir() returns, local variable "parent_item"

[PATCH AUTOSEL 4.9 07/27] batman-adv: Fix refcnt leak in batadv_v_ogm_process

2020-05-14 Thread Sasha Levin
From: Xiyu Yang [ Upstream commit 6f91a3f7af4186099dd10fa530dd7e0d9c29747d ] batadv_v_ogm_process() invokes batadv_hardif_neigh_get(), which returns a reference of the neighbor object to "hardif_neigh" with increased refcount. When batadv_v_ogm_process() returns, "hardif_neigh" becomes

[PATCH AUTOSEL 4.14 34/39] net/mlx4_core: Fix use of ENOSPC around mlx4_counter_alloc()

2020-05-14 Thread Sasha Levin
From: Tariq Toukan [ Upstream commit 40e473071dbad04316ddc3613c3a3d1c75458299 ] When ENOSPC is set the idx is still valid and gets set to the global MLX4_SINK_COUNTER_INDEX. However gcc's static analysis cannot tell that ENOSPC is impossible from mlx4_cmd_imm() and gives this warning:

[PATCH AUTOSEL 4.9 08/27] phy: tegra: Select USB_COMMON for usb_get_maximum_speed()

2020-05-14 Thread Sasha Levin
From: Thierry Reding [ Upstream commit 0d5c9bc7c68009af04bbadf22306467674c6fb90 ] The usb_get_maximum_speed() function is part of the usb-common module, so enable it by selecting the corresponding Kconfig symbol. While at it, also make sure to depend on USB_SUPPORT because USB_PHY requires

[PATCH AUTOSEL 4.14 39/39] crypto: xts - simplify error handling in ->create()

2020-05-14 Thread Sasha Levin
From: Eric Biggers [ Upstream commit 732e540953477083082e999ff553622c59cffd5f ] Simplify the error handling in the XTS template's ->create() function by taking advantage of crypto_drop_skcipher() now accepting (as a no-op) a spawn that hasn't been grabbed yet. Signed-off-by: Eric Biggers

[PATCH] remoteproc: wcss: Fix arguments passed to qcom_add_glink_subdev()

2020-05-14 Thread Bjorn Andersson
Recently qcom_add_glink_subdev() was extended to also take the glink_ssr identifier as an argument and I missed this while applying '8a226e2c71bb ("remoteproc: wcss: add support for rpmsg communication")'. Fixes: 8a226e2c71bb ("remoteproc: wcss: add support for rpmsg communication") Reported-by:

[PATCH AUTOSEL 4.14 27/39] net: macsec: preserve ingress frame ordering

2020-05-14 Thread Sasha Levin
From: Scott Dial [ Upstream commit ab046a5d4be4c90a3952a0eae75617b49c0cb01b ] MACsec decryption always occurs in a softirq context. Since the FPU may not be usable in the softirq context, the call to decrypt may be scheduled on the cryptd work queue. The cryptd work queue does not provide

[PATCH AUTOSEL 4.14 38/39] scripts/decodecode: fix trapping instruction formatting

2020-05-14 Thread Sasha Levin
From: Ivan Delalande [ Upstream commit e08df079b23e2e982df15aa340bfbaf50f297504 ] If the trapping instruction contains a ':', for a memory access through segment registers for example, the sed substitution will insert the '*' marker in the middle of the instruction instead of the line address:

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