[PATCH 5.1 34/40] net/tls: fix state removal with feature flags off

2019-06-03 Thread Greg Kroah-Hartman
From: Jakub Kicinski [ Upstream commit 3686637e507b48525fcea6fb91e1988bdbc14530 ] TLS offload drivers shouldn't (and currently don't) block the TLS offload feature changes based on whether there are active offloaded connections or not. This seems to be a good idea, because we want the admin to

[PATCH 4.19 12/32] net: mvneta: Fix err code path of probe

2019-06-03 Thread Greg Kroah-Hartman
From: Jisheng Zhang [ Upstream commit d484e06e25ebb937d841dac02ac1fe76ec7d4ddd ] Fix below issues in err code path of probe: 1. we don't need to unregister_netdev() because the netdev isn't registered. 2. when register_netdev() fails, we also need to destroy bm pool for HWBM case. Fixes:

[PATCH v2] sched/core: add __sched tag for io_schedule()

2019-06-03 Thread Gao Xiang
non-inline io_schedule() was introduced in commit 10ab56434f2f ("sched/core: Separate out io_schedule_prepare() and io_schedule_finish()") Keep in line with io_schedule_timeout, Otherwise "/proc//wchan" will report io_schedule() rather than its callers when waiting io. Reported-by: Jilong Kou

[PATCH 5.1 16/40] net: phy: marvell10g: report if the PHY fails to boot firmware

2019-06-03 Thread Greg Kroah-Hartman
From: Russell King [ Upstream commit 3d3ced2ec5d71b99d72ae6910fbdf890bc2eccf0 ] Some boards do not have the PHY firmware programmed in the 3310's flash, which leads to the PHY not working as expected. Warn the user when the PHY fails to boot the firmware and refuse to initialise. Fixes:

[PATCH 5.1 14/40] net: mvneta: Fix err code path of probe

2019-06-03 Thread Greg Kroah-Hartman
From: Jisheng Zhang [ Upstream commit d484e06e25ebb937d841dac02ac1fe76ec7d4ddd ] Fix below issues in err code path of probe: 1. we don't need to unregister_netdev() because the netdev isn't registered. 2. when register_netdev() fails, we also need to destroy bm pool for HWBM case. Fixes:

[PATCH 1/3] clocksource/arm_arch_timer: mark arch_counter_get_* as notrace

2019-06-03 Thread Anders Roxell
When CONFIG_FUNCTION_GRAPH_TRACER is enabled we end up in this circular call trace since function arch_counter_get_cntvct() isn't marked with no trace: [ 17.914934] Call trace: [ 17.915211] ftrace_return_to_handler+0x194/0x288 [ 17.915551] return_to_handler+0x1c/0x38 [ 17.915855]

[PATCH 5.1 02/40] cxgb4: offload VLAN flows regardless of VLAN ethtype

2019-06-03 Thread Greg Kroah-Hartman
From: Raju Rangoju [ Upstream commit b5730061d1056abf317caea823b94d6e12b5b4f6 ] VLAN flows never get offloaded unless ivlan_vld is set in filter spec. It's not compulsory for vlan_ethtype to be set. So, always enable ivlan_vld bit for offloading VLAN flows regardless of vlan_ethtype is set or

[PATCH 5.1 10/40] mlxsw: spectrum_acl: Avoid warning after identical rules insertion

2019-06-03 Thread Greg Kroah-Hartman
From: Jiri Pirko [ Upstream commit ef74422020aa8c224b00a927e3e47faac4d8fae3 ] When identical rules are inserted, the latter one goes to C-TCAM. For that, a second eRP with the same mask is created. These 2 eRPs by the nature cannot be merged and also one cannot be parent of another. Teach

[PATCH 5.1 15/40] net: mvpp2: fix bad MVPP2_TXQ_SCHED_TOKEN_CNTR_REG queue value

2019-06-03 Thread Greg Kroah-Hartman
From: Antoine Tenart [ Upstream commit 21808437214637952b61beaba6034d97880fbeb3 ] MVPP2_TXQ_SCHED_TOKEN_CNTR_REG() expects the logical queue id but the current code is passing the global tx queue offset, so it ends up writing to unknown registers (between 0x8280 and 0x82fc, which seemed to be

[PATCH 5.1 11/40] net: dsa: mv88e6xxx: fix handling of upper half of STATS_TYPE_PORT

2019-06-03 Thread Greg Kroah-Hartman
From: Rasmus Villemoes [ Upstream commit 84b3fd1fc9592d431e23b077e692fa4e3fd0f086 ] Currently, the upper half of a 4-byte STATS_TYPE_PORT statistic ends up in bits 47:32 of the return value, instead of bits 31:16 as they should. Fixes: 6e46e2d821bb ("net: dsa: mv88e6xxx: Fix u64 statistics")

[PATCH 3/3] arm: arch_timer: mark functions as __always_inline

2019-06-03 Thread Anders Roxell
If CONFIG_FUNCTION_GRAPH_TRACER is enabled function arch_counter_get_cntvct() is marked as notrace. However, function __arch_counter_get_cntvct is marked as inline. If CONFIG_OPTIMIZE_INLINING is set that will make the two functions tracable which they shouldn't. Rework so that functions

[PATCH 5.1 04/40] inet: switch IP ID generator to siphash

2019-06-03 Thread Greg Kroah-Hartman
From: Eric Dumazet [ Upstream commit df453700e8d81b1bdafdf684365ee2b9431fb702 ] According to Amit Klein and Benny Pinkas, IP ID generation is too weak and might be used by attackers. Even with recent net_hash_mix() fix (netns: provide pure entropy for net_hash_mix()) having 64bit key and

[PATCH 5.1 29/40] bnxt_en: Reduce memory usage when running in kdump kernel.

2019-06-03 Thread Greg Kroah-Hartman
From: Michael Chan [ Upstream commit d629522e1d66561f38e5c8d4f52bb6d254ec0707 ] Skip RDMA context memory allocations, reduce to 1 ring, and disable TPA when running in the kdump kernel. Without this patch, the driver fails to initialize with memory allocation errors when running in a typical

[PATCH 5.1 20/40] usbnet: fix kernel crash after disconnect

2019-06-03 Thread Greg Kroah-Hartman
From: Kloetzke Jan [ Upstream commit ad70411a978d1e6e97b1e341a7bde9a79af0c93d ] When disconnecting cdc_ncm the kernel sporadically crashes shortly after the disconnect: [ 57.868812] Unable to handle kernel NULL pointer dereference at virtual address ... [ 58.006653] PC is

[PATCH 5.1 31/40] selftests/tls: test for lowat overshoot with multiple records

2019-06-03 Thread Greg Kroah-Hartman
From: Jakub Kicinski [ Upstream commit 7718a855cd7ae9fc27a2aa1532ee105d52eb7634 ] Set SO_RCVLOWAT and test it gets respected when gathering data from multiple records. Signed-off-by: Jakub Kicinski Reviewed-by: Dirk van der Merwe Signed-off-by: David S. Miller Signed-off-by: Greg

[PATCH 5.1 28/40] bnxt_en: Fix possible BUG() condition when calling pci_disable_msix().

2019-06-03 Thread Greg Kroah-Hartman
From: Michael Chan [ Upstream commit 1b3f0b75c39f534278a895c117282014e9d0ae1f ] When making configuration changes, the driver calls bnxt_close_nic() and then bnxt_open_nic() for the changes to take effect. A parameter irq_re_init is passed to the call sequence to indicate if IRQ should be

[PATCH 5.1 03/40] ethtool: Check for vlan etype or vlan tci when parsing flow_rule

2019-06-03 Thread Greg Kroah-Hartman
From: Maxime Chevallier [ Upstream commit b73484b2fc0d0ba84a13e9d86eb4adcae718163b ] When parsing an ethtool flow spec to build a flow_rule, the code checks if both the vlan etype and the vlan tci are specified by the user to add a FLOW_DISSECTOR_KEY_VLAN match. However, when the user only

[PATCH 5.1 40/40] tipc: fix modprobe tipc failed after switch order of device registration

2019-06-03 Thread Greg Kroah-Hartman
From: Junwei Hu commit 526f5b851a96566803ee4bee60d0a34df56c77f8 upstream. Error message printed: modprobe: ERROR: could not insert 'tipc': Address family not supported by protocol. when modprobe tipc after the following patch: switch order of device registration, commit 7e27e8d6130c ("tipc:

[PATCH 5.1 23/40] net/mlx5: Allocate root ns memory using kzalloc to match kfree

2019-06-03 Thread Greg Kroah-Hartman
From: Parav Pandit [ Upstream commit 25fa506b70cadb580c1e9cbd836d6417276d4bcd ] root ns is yet another fs core node which is freed using kfree() by tree_put_node(). Rest of the other fs core objects are also allocated using kmalloc variants. However, root ns memory is allocated using

[PATCH 5.1 32/40] net/tls: fix no wakeup on partial reads

2019-06-03 Thread Greg Kroah-Hartman
From: Jakub Kicinski [ Upstream commit 04b25a5411f966c2e586909a8496553b71876fae ] When tls_sw_recvmsg() partially copies a record it pops that record from ctx->recv_pkt and places it on rx_list. Next iteration of tls_sw_recvmsg() reads from rx_list via process_rx_list() before it enters the

[PATCH 5.1 27/40] bnxt_en: Fix aggregation buffer leak under OOM condition.

2019-06-03 Thread Greg Kroah-Hartman
From: Michael Chan [ Upstream commit 296d5b54163964b7ae536b8b57dfbd21d4e868e1 ] For every RX packet, the driver replenishes all buffers used for that packet and puts them back into the RX ring and RX aggregation ring. In one code path where the RX packet has one RX buffer and one or more

[PATCH 5.1 36/40] cxgb4: Revert "cxgb4: Remove SGE_HOST_PAGE_SIZE dependency on page size"

2019-06-03 Thread Greg Kroah-Hartman
From: Vishal Kulkarni [ Upstream commit ab0610efabb4c4f419a531455708caf1dd29357e ] This reverts commit 2391b0030e241386d710df10e53e2cfc3c5d4fc1 which has introduced regression. Now SGE's BAR2 Doorbell/GTS Page Size is interpreted correctly in the firmware itself by using actual host page size.

[PATCH 5.1 38/40] crypto: vmx - ghash: do nosimd fallback manually

2019-06-03 Thread Greg Kroah-Hartman
From: Daniel Axtens commit 357d065a44cdd77ed5ff35155a989f2a763e96ef upstream. VMX ghash was using a fallback that did not support interleaving simd and nosimd operations, leading to failures in the extended test suite. If I understood correctly, Eric's suggestion was to use the same data

[PATCH 5.1 24/40] net/mlx5e: Disable rxhash when CQE compress is enabled

2019-06-03 Thread Greg Kroah-Hartman
From: Saeed Mahameed [ Upstream commit c0194e2d0ef0e5ce5e21a35640d23a706827ae28 ] When CQE compression is enabled (Multi-host systems), compressed CQEs might arrive to the driver rx, compressed CQEs don't have a valid hash offload and the driver already reports a hash value of 0 and invalid

[PATCH 5.1 22/40] tipc: Avoid copying bytes beyond the supplied data

2019-06-03 Thread Greg Kroah-Hartman
From: Chris Packham TLV_SET is called with a data pointer and a len parameter that tells us how many bytes are pointed to by data. When invoking memcpy() we need to careful to only copy len bytes. Previously we would copy TLV_LENGTH(len) bytes which would copy an extra 4 bytes past the end of

Re: SGX vs LSM (Re: [PATCH v20 00/28] Intel SGX1 support)

2019-06-03 Thread Dr. Greg
On Thu, May 30, 2019 at 02:36:01PM -0700, Sean Christopherson wrote: Good morning, I hope everyone had a pleasant weekend. > Assuming MRENCLAVE generated by Graphene or any other hosting scheme > are stable[1], then avoiding EXEC means the user can > effectively whitelist what enclaves are

[PATCH 5.1 18/40] net: stmmac: fix reset gpio free missing

2019-06-03 Thread Greg Kroah-Hartman
From: Jisheng Zhang [ Upstream commit 49ce881c0d4c4a7a35358d9dccd5f26d0e56fc61 ] Commit 984203ceff27 ("net: stmmac: mdio: remove reset gpio free") removed the reset gpio free, when the driver is unbinded or rmmod, we miss the gpio free. This patch uses managed API to request the reset gpio, so

[PATCH 5.1 21/40] net/mlx5: Avoid double free in fs init error unwinding path

2019-06-03 Thread Greg Kroah-Hartman
From: Parav Pandit [ Upstream commit 9414277a5df3669c67e818708c0f881597e0118e ] In below code flow, for ingress acl table root ns memory leads to double free. mlx5_init_fs init_ingress_acls_root_ns() init_ingress_acl_root_ns kfree(steering->esw_ingress_root_ns); /*

[PATCH 5.1 19/40] r8169: fix MAC address being lost in PCI D3

2019-06-03 Thread Greg Kroah-Hartman
From: Heiner Kallweit [ Upstream commit 59715171fbd0172a579576f46821031800a63bc5 ] (At least) RTL8168e forgets its MAC address in PCI D3. To fix this set the MAC address when resuming. For resuming from runtime-suspend we had this in place already, for resuming from S3/S5 it was missing. The

[PATCH 5.1 17/40] net: sched: dont use tc_action->order during action dump

2019-06-03 Thread Greg Kroah-Hartman
From: Vlad Buslov [ Upstream commit 4097e9d250fb17958c1d9b94538386edd3f20144 ] Function tcf_action_dump() relies on tc_action->order field when starting nested nla to send action data to userspace. This approach breaks in several cases: - When multiple filters point to same shared action,

[PATCH 5.0 07/36] ipv6: Fix redirect with VRF

2019-06-03 Thread Greg Kroah-Hartman
From: David Ahern [ Upstream commit 31680ac265802397937d75461a2809a067b9fb93 ] IPv6 redirect is broken for VRF. __ip6_route_redirect walks the FIB entries looking for an exact match on ifindex. With VRF the flowi6_oif is updated by l3mdev_update_flow to the l3mdev index and the

[PATCH 5.0 08/36] llc: fix skb leak in llc_build_and_send_ui_pkt()

2019-06-03 Thread Greg Kroah-Hartman
From: Eric Dumazet [ Upstream commit 8fb44d60d4142cd2a440620cd291d346e23c131e ] If llc_mac_hdr_init() returns an error, we must drop the skb since no llc_build_and_send_ui_pkt() caller will take care of this. BUG: memory leak unreferenced object 0x8881202b6800 (size 2048): comm

Re: [PATCH v3 1/3] PCI: Introduce pcibios_ignore_alignment_request

2019-06-03 Thread Shawn Anastasio
On 6/3/19 3:35 AM, Alexey Kardashevskiy wrote: On 03/06/2019 15:02, Alexey Kardashevskiy wrote: On 03/06/2019 12:23, Shawn Anastasio wrote: On 5/30/19 10:56 PM, Alexey Kardashevskiy wrote: On 31/05/2019 08:49, Shawn Anastasio wrote: On 5/29/19 10:39 PM, Alexey Kardashevskiy wrote:

[PATCH 5.0 00/36] 5.0.21-stable review

2019-06-03 Thread Greg Kroah-Hartman
Note, this is going to be the LAST 5.0.y kernel release. After this one, it is end-of-life, please move to 5.1.y at this point in time. If there is anything wrong with the 5.1.y tree, preventing you from moving to 5.1.y, please let me know. This is the start of the stable review cycle for the

[PATCH 5.0 23/36] net/mlx5e: Disable rxhash when CQE compress is enabled

2019-06-03 Thread Greg Kroah-Hartman
From: Saeed Mahameed [ Upstream commit c0194e2d0ef0e5ce5e21a35640d23a706827ae28 ] When CQE compression is enabled (Multi-host systems), compressed CQEs might arrive to the driver rx, compressed CQEs don't have a valid hash offload and the driver already reports a hash value of 0 and invalid

[PATCH 5.0 27/36] bnxt_en: Fix possible BUG() condition when calling pci_disable_msix().

2019-06-03 Thread Greg Kroah-Hartman
From: Michael Chan [ Upstream commit 1b3f0b75c39f534278a895c117282014e9d0ae1f ] When making configuration changes, the driver calls bnxt_close_nic() and then bnxt_open_nic() for the changes to take effect. A parameter irq_re_init is passed to the call sequence to indicate if IRQ should be

[PATCH 5.0 36/36] tipc: fix modprobe tipc failed after switch order of device registration

2019-06-03 Thread Greg Kroah-Hartman
From: Junwei Hu commit 526f5b851a96566803ee4bee60d0a34df56c77f8 upstream. Error message printed: modprobe: ERROR: could not insert 'tipc': Address family not supported by protocol. when modprobe tipc after the following patch: switch order of device registration, commit 7e27e8d6130c ("tipc:

[PATCH 5.0 02/36] cxgb4: offload VLAN flows regardless of VLAN ethtype

2019-06-03 Thread Greg Kroah-Hartman
From: Raju Rangoju [ Upstream commit b5730061d1056abf317caea823b94d6e12b5b4f6 ] VLAN flows never get offloaded unless ivlan_vld is set in filter spec. It's not compulsory for vlan_ethtype to be set. So, always enable ivlan_vld bit for offloading VLAN flows regardless of vlan_ethtype is set or

[PATCH 5.0 20/36] net/mlx5: Avoid double free in fs init error unwinding path

2019-06-03 Thread Greg Kroah-Hartman
From: Parav Pandit [ Upstream commit 9414277a5df3669c67e818708c0f881597e0118e ] In below code flow, for ingress acl table root ns memory leads to double free. mlx5_init_fs init_ingress_acls_root_ns() init_ingress_acl_root_ns kfree(steering->esw_ingress_root_ns); /*

[PATCH 5.0 34/36] xen/pciback: Dont disable PCI_COMMAND on PCI device reset.

2019-06-03 Thread Greg Kroah-Hartman
From: Konrad Rzeszutek Wilk commit 7681f31ec9cdacab4fd10570be924f2cef6669ba upstream. There is no need for this at all. Worst it means that if the guest tries to write to BARs it could lead (on certain platforms) to PCI SERR errors. Please note that with

[PATCH 5.0 05/36] ipv4/igmp: fix build error if !CONFIG_IP_MULTICAST

2019-06-03 Thread Greg Kroah-Hartman
From: Eric Dumazet [ Upstream commit 903869bd10e6719b9df6718e785be7ec725df59f ] ip_sf_list_clear_all() needs to be defined even if !CONFIG_IP_MULTICAST Fixes: 3580d04aa674 ("ipv4/igmp: fix another memory leak in igmpv3_del_delrec()") Signed-off-by: Eric Dumazet Reported-by: kbuild test robot

[PATCH 5.0 03/36] inet: switch IP ID generator to siphash

2019-06-03 Thread Greg Kroah-Hartman
From: Eric Dumazet [ Upstream commit df453700e8d81b1bdafdf684365ee2b9431fb702 ] According to Amit Klein and Benny Pinkas, IP ID generation is too weak and might be used by attackers. Even with recent net_hash_mix() fix (netns: provide pure entropy for net_hash_mix()) having 64bit key and

[PATCH 5.0 26/36] bnxt_en: Fix aggregation buffer leak under OOM condition.

2019-06-03 Thread Greg Kroah-Hartman
From: Michael Chan [ Upstream commit 296d5b54163964b7ae536b8b57dfbd21d4e868e1 ] For every RX packet, the driver replenishes all buffers used for that packet and puts them back into the RX ring and RX aggregation ring. In one code path where the RX packet has one RX buffer and one or more

[PATCH 5.0 32/36] net: correct zerocopy refcnt with udp MSG_MORE

2019-06-03 Thread Greg Kroah-Hartman
From: Willem de Bruijn [ Upstream commit 100f6d8e09905c59be45b6316f8f369c0be1b2d8 ] TCP zerocopy takes a uarg reference for every skb, plus one for the tcp_sendmsg_locked datapath temporarily, to avoid reaching refcnt zero as it builds, sends and frees skbs inside its inner loop. UDP and RAW

[PATCH 4.19 31/32] Revert "tipc: fix modprobe tipc failed after switch order of device registration"

2019-06-03 Thread Greg Kroah-Hartman
From: David S. Miller commit 5593530e56943182ebb6d81eca8a3be6db6dbba4 upstream. This reverts commit 532b0f7ece4cb2ffd24dc723ddf55242d1188e5e. More revisions coming up. Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/tipc/core.c | 14 +++--- 1 file

[PATCH 4.19 04/32] ipv4/igmp: fix another memory leak in igmpv3_del_delrec()

2019-06-03 Thread Greg Kroah-Hartman
From: Eric Dumazet [ Upstream commit 3580d04aa674383c42de7b635d28e52a1e5bc72c ] syzbot reported memory leaks [1] that I have back tracked to a missing cleanup from igmpv3_del_delrec() when (im->sfmode != MCAST_INCLUDE) Add ip_sf_list_clear_all() and kfree_pmc() helpers to explicitely handle

[PATCH v5 3/3] arm64: dts: meson: Add minimal support for Odroid-N2

2019-06-03 Thread Neil Armstrong
This patch adds basic support for : - Amlogic G12B, which is very similar to G12A - The HardKernel Odroid-N2 based on the S922X SoC The Amlogic G12B SoC is very similar with the G12A SoC, sharing most of the features and architecture, but with these differences : - The first CPU cluster only has

[PATCH 4.19 30/32] xen/pciback: Dont disable PCI_COMMAND on PCI device reset.

2019-06-03 Thread Greg Kroah-Hartman
From: Konrad Rzeszutek Wilk commit 7681f31ec9cdacab4fd10570be924f2cef6669ba upstream. There is no need for this at all. Worst it means that if the guest tries to write to BARs it could lead (on certain platforms) to PCI SERR errors. Please note that with

[PATCH 4.19 03/32] inet: switch IP ID generator to siphash

2019-06-03 Thread Greg Kroah-Hartman
From: Eric Dumazet [ Upstream commit df453700e8d81b1bdafdf684365ee2b9431fb702 ] According to Amit Klein and Benny Pinkas, IP ID generation is too weak and might be used by attackers. Even with recent net_hash_mix() fix (netns: provide pure entropy for net_hash_mix()) having 64bit key and

[PATCH 4.19 02/32] cxgb4: offload VLAN flows regardless of VLAN ethtype

2019-06-03 Thread Greg Kroah-Hartman
From: Raju Rangoju [ Upstream commit b5730061d1056abf317caea823b94d6e12b5b4f6 ] VLAN flows never get offloaded unless ivlan_vld is set in filter spec. It's not compulsory for vlan_ethtype to be set. So, always enable ivlan_vld bit for offloading VLAN flows regardless of vlan_ethtype is set or

[PATCH 4.19 01/32] bonding/802.3ad: fix slave link initialization transition states

2019-06-03 Thread Greg Kroah-Hartman
From: Jarod Wilson [ Upstream commit 334031219a84b9994594015aab85ed7754c80176 ] Once in a while, with just the right timing, 802.3ad slaves will fail to properly initialize, winding up in a weird state, with a partner system mac address of 00:00:00:00:00:00. This started happening after a fix

Re: [PATCH v3 06/13] epoll: introduce helpers for adding/removing events to uring

2019-06-03 Thread Peter Zijlstra
On Fri, May 31, 2019 at 08:58:19PM +0200, Roman Penyaev wrote: > On 2019-05-31 18:51, Peter Zijlstra wrote: > > But like you show, it can be done. It also makes the thing wait-free, as > > opposed to merely lockless. > > You think it's better? I did not like this variant from the very >

Re: [PATCH v1] s390/pkey: Use -ENODEV instead of -EOPNOTSUPP

2019-06-03 Thread Cornelia Huck
On Mon, 3 Jun 2019 10:14:53 +0200 David Hildenbrand wrote: > On 03.06.19 09:48, Harald Freudenberger wrote: > > On 31.05.19 11:36, David Hildenbrand wrote: > >> systemd-modules-load.service automatically tries to load the pkey module > >> on systems that have MSA. > >> > >> Pkey also requires

[BUG BISECT] bug mm/vmalloc.c:470 (mm/vmalloc.c: get rid of one single unlink_va() when merge)

2019-06-03 Thread Krzysztof Kozlowski
Hi, On recent next I see bugs during boot (after bringing up user-space or during reboot): kernel BUG at ../mm/vmalloc.c:470! On all my boards. On QEMU I see something similar, although the message is "Internal error: Oops - undefined instruction: 0 [#1] ARM", The calltrace is: [ 34.565126] []

Re: [PATCH v6 2/7] dt-binding: cpu-topology: Move cpu-map to a common binding.

2019-06-03 Thread Sudeep Holla
On Mon, Jun 03, 2019 at 01:49:13AM -0700, Atish Patra wrote: > On 5/30/19 1:55 PM, Jeremy Linton wrote: > > Hi, > > > > On 5/29/19 4:13 PM, Atish Patra wrote: > > > cpu-map binding can be used to described cpu topology for both > > > RISC-V & ARM. It makes more sense to move the binding to

Re: [PATCH 2/3] mfd: lp87565: Add support for 4-phase lp87561 combination

2019-06-03 Thread Lee Jones
On Wed, 15 May 2019, Keerthy wrote: > Add support for 4-phase lp87561 combination. > > Data Sheet: https://www.ti.com/lit/ds/symlink/lp87561-q1.pdf > > Signed-off-by: Keerthy > --- > drivers/mfd/lp87565.c | 4 > include/linux/mfd/lp87565.h | 2 ++ > 2 files changed, 6 insertions(+)

Re: [PATCH] sched/core: add __sched tag for io_schedule()

2019-06-03 Thread Gao Xiang
Hi Peter, On 2019/6/3 16:58, Peter Zijlstra wrote: > On Fri, May 31, 2019 at 04:29:12PM +0800, Gao Xiang wrote: >> non-inline io_schedule() was introduced in >> commit 10ab56434f2f ("sched/core: Separate out io_schedule_prepare() and >> io_schedule_finish()") >> Keep in line with

Re: [PATCH -next] usb: host: ehci-st: Remove set but not used variable 'ehci'

2019-06-03 Thread Patrice CHOTARD
Hi On 5/28/19 3:45 PM, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/usb/host/ehci-st.c: In function st_ehci_platform_probe: > drivers/usb/host/ehci-st.c:155:19: warning: variable ehci set but not used > [-Wunused-but-set-variable] > > It is never used, so can

RE: [PATCH V2 2/3] clk: imx: Add support for i.MX8MN clock driver

2019-06-03 Thread Anson Huang
> -Original Message- > From: Leonard Crestez > Sent: Monday, June 3, 2019 4:45 PM > To: Anson Huang ; mturque...@baylibre.com; > sb...@kernel.org; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; s.ha...@pengutronix.de; ker...@pengutronix.de; > feste...@gmail.com;

Re: [PATCH 1/3] dt-bindings: mfd: lp87565: Add lp87561 configuration

2019-06-03 Thread Lee Jones
On Wed, 15 May 2019, Keerthy wrote: > lp87561 is a single output 4-phase regulator configuration. > Add support for the same. > > Data Sheet: https://www.ti.com/lit/ds/symlink/lp87561-q1.pdf > > Signed-off-by: Keerthy > --- > .../devicetree/bindings/mfd/lp87565.txt | 36

Re: [PATCH] ARC: build: Try to guess CROSS_COMPILE with cc-cross-prefix

2019-06-03 Thread Masahiro Yamada
Hi Alexey, On Mon, Jun 3, 2019 at 5:34 PM Alexey Brodkin wrote: > > Hi Masahiro-san, > > > -Original Message- > > From: Masahiro Yamada > > Sent: Monday, June 3, 2019 11:18 AM > > To: Alexey Brodkin > > Cc: arcml ; Linux Kernel Mailing List > > > ker...@vger.kernel.org>; Vineet Gupta

Re: Linux Testing Microconference at LPC

2019-06-03 Thread Brendan Higgins
On Wed, May 22, 2019 at 9:55 PM Knut Omang wrote: Sorry for the delayed reply. > > On Wed, 2019-05-22 at 14:02 -0700, Brendan Higgins wrote: > > On Wed, May 15, 2019 at 08:36:49PM -0400, Sasha Levin wrote: > > > On Wed, May 15, 2019 at 04:44:19PM -0600, shuah wrote: > > > > Hi Sasha and Dhaval,

Re: [PATCH] sched/core: add __sched tag for io_schedule()

2019-06-03 Thread Peter Zijlstra
On Fri, May 31, 2019 at 04:29:12PM +0800, Gao Xiang wrote: > non-inline io_schedule() was introduced in > commit 10ab56434f2f ("sched/core: Separate out io_schedule_prepare() and > io_schedule_finish()") > Keep in line with io_schedule_timeout, Otherwise > "/proc//wchan" will report io_schedule()

Re: [PATCH 02/10] arm64: dts: meson-gxm-khadas-vim2: fix Bluetooth support

2019-06-03 Thread Neil Armstrong
Hi, On 29/05/2019 20:08, Martin Blumenstingl wrote: > On Wed, May 29, 2019 at 12:25 PM Neil Armstrong > wrote: >> >> On 27/05/2019 20:36, Martin Blumenstingl wrote: >>> On Mon, May 27, 2019 at 3:22 PM Neil Armstrong >>> wrote: From: Christian Hewitt - Remove serial1 alias

Re: [PATCH v3] powerpc/pseries: Fix cpu_hotplug_lock acquisition in resize_hpt()

2019-06-03 Thread Gautham R Shenoy
Hi, On Wed, May 15, 2019 at 01:15:52PM +0530, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > The calls to arch_add_memory()/arch_remove_memory() are always made > with the read-side cpu_hotplug_lock acquired via > memory_hotplug_begin(). On pSeries, >

Re: [PATCH -next] usb: host: ohci-st: Remove set but not used variable 'ohci'

2019-06-03 Thread Patrice CHOTARD
Hi On 5/28/19 3:38 PM, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/usb/host/ohci-st.c: In function st_ohci_platform_probe: > drivers/usb/host/ohci-st.c:135:19: warning: variable ohci set but not used > [-Wunused-but-set-variable] > > It's never used, so can

Re: [PATCH v2 5/5] net: dsa: add support for mv88e6250

2019-06-03 Thread Rasmus Villemoes
On 24/05/2019 16.27, Andrew Lunn wrote: >> @@ -4841,6 +4910,10 @@ static const struct of_device_id mv88e6xxx_of_match[] >> = { >> .compatible = "marvell,mv88e6190", >> .data = _table[MV88E6190], >> }, >> +{ >> +.compatible = "marvell,mv88e6250", >> +

RE: [PATCH v3 1/2] dt-bindings: clock: renesas,r9a06g032-sysctrl: Document power Domains

2019-06-03 Thread Phil Edworthy
Hi Geert, On 03 June 2019 09:39 Geert Uytterhoeven wrote: > On Mon, Jun 3, 2019 at 10:29 AM Phil Edworthy wrote: > > On 28 May 2019 08:29 Geert Uytterhoeven wrote: > > > On Fri, May 24, 2019 at 5:32 PM Gareth Williams wrote: > > > > The driver is gaining power domain support, so add the new

Re: [PATCH 0/9] Add SD host controller support for SC9860 platform

2019-06-03 Thread Baolin Wang
Hi Adrian & Ulf, On Mon, 20 May 2019 at 18:12, Baolin Wang wrote: > > This patch set adds optional clock support, HS400 enhanced strobe mode > support, > PHY DLL configuration and other optimization to make the SD host controller > can work well on the Spreadtrum SC9860 platform. Do you have

Re: [PATCH V2 2/3] clk: imx: Add support for i.MX8MN clock driver

2019-06-03 Thread Leonard Crestez
On 6/3/2019 4:33 AM, anson.hu...@nxp.com wrote: > From: Anson Huang > > This patch adds i.MX8MN clock driver support. > +#include "clk.h" > + > +#define PLL_1416X_RATE(_rate, _m, _p, _s)\ > + { \ > + .rate =

RE: [EXT] INFO: trying to register non-static key in del_timer_sync (2)

2019-06-03 Thread Ganapathi Bhat
Hi Dmitry, > The "fixed" status relates to the similar past bug that was reported and fixed > more than a year ago: Oh OK; We understood the issue, working on a change to fix this; Thanks, Ganapathi

Re: [PATCH v3] PCI: xilinx-nwl: Fix Multi MSI data programming

2019-06-03 Thread Marc Zyngier
On 31/05/2019 17:09, Lorenzo Pieralisi wrote: > [+Marc] > > On Wed, May 29, 2019 at 06:07:49PM +0530, Bharat Kumar Gogada wrote: >> The current Multi MSI data programming fails if multiple end points >> requesting MSI and multi MSI are connected with switch, i.e the current >> multi MSI data

Re: [PATCH v6 2/7] dt-binding: cpu-topology: Move cpu-map to a common binding.

2019-06-03 Thread Atish Patra
On 5/30/19 1:55 PM, Jeremy Linton wrote: Hi, On 5/29/19 4:13 PM, Atish Patra wrote: cpu-map binding can be used to described cpu topology for both RISC-V & ARM. It makes more sense to move the binding to document to a common place. The relevant discussion can be found here.

Re: [PATCH v6 0/7] Unify CPU topology across ARM & RISC-V

2019-06-03 Thread Atish Patra
On 5/30/19 2:12 PM, Jeremy Linton wrote: Hi, On 5/29/19 4:13 PM, Atish Patra wrote: The cpu-map DT entry in ARM can describe the CPU topology in much better way compared to other existing approaches. RISC-V can easily adopt this binding to represent its own CPU topology. Thus, both cpu-map DT

Re: [PATCH] scsi: ibmvscsi: Don't use rc uninitialized in ibmvscsi_do_work

2019-06-03 Thread Christophe Leroy
Le 31/05/2019 à 20:53, Nathan Chancellor a écrit : clang warns: drivers/scsi/ibmvscsi/ibmvscsi.c:2126:7: warning: variable 'rc' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized] case IBMVSCSI_HOST_ACTION_NONE: ^

Re: rcu_read_lock lost its compiler barrier

2019-06-03 Thread Paul E. McKenney
On Mon, Jun 03, 2019 at 12:23:39AM -0700, Paul E. McKenney wrote: > On Mon, Jun 03, 2019 at 12:01:14PM +0800, Herbert Xu wrote: > > On Sun, Jun 02, 2019 at 08:47:07PM -0700, Paul E. McKenney wrote: > > > > > > CPU2: if (b != 1) > > > CPU2: b = 1; > > > > Stop right

Re: [PATCH v3 1/2] dt-bindings: clock: renesas,r9a06g032-sysctrl: Document power Domains

2019-06-03 Thread Geert Uytterhoeven
Hi Phil, On Mon, Jun 3, 2019 at 10:29 AM Phil Edworthy wrote: > On 28 May 2019 08:29 Geert Uytterhoeven wrote: > > On Fri, May 24, 2019 at 5:32 PM Gareth Williams wrote: > > > The driver is gaining power domain support, so add the new property to > > > the DT binding and update the examples. > >

Re: [PATCH HACK RFC] cpu: Prevent late-arriving interrupts from disrupting offline

2019-06-03 Thread Peter Zijlstra
On Sat, Jun 01, 2019 at 06:12:53PM -0700, Paul E. McKenney wrote: > Scheduling-clock interrupts can arrive late in the CPU-offline process, > after idle entry and the subsequent call to cpuhp_report_idle_dead(). > Once execution passes the call to rcu_report_dead(), RCU is ignoring > the CPU,

Re: [PATCH] regulator: arizona-micsupp: Delete unused include

2019-06-03 Thread Charles Keepax
On Sat, Jun 01, 2019 at 01:02:52AM +0200, Linus Walleij wrote: > This driver uses no symbols from so just drop > this include. > > Signed-off-by: Linus Walleij > --- Acked-by: Charles Keepax Thanks, Charles

RE: [PATCH] scsi: ufs: Check that space was properly alloced in copy_query_response

2019-06-03 Thread Avri Altman
Hi Alim, Thank you for your review. Sorry for the late response - I was away for a couple of weeks. Thanks, Avri > Subject: Re: [PATCH] scsi: ufs: Check that space was properly alloced in > copy_query_response > > Hi Avri > > On 5/21/19 1:54 PM, Avri Altman wrote: > > struct ufs_dev_cmd is the

In A Nutshell

2019-06-03 Thread Emissary
Hello, We have a private business proposition for you,contact me for more details. Thank you, Datuk. 5.30.19/135p/28wwe.5

Re: [PATCH v3 1/3] PCI: Introduce pcibios_ignore_alignment_request

2019-06-03 Thread Alexey Kardashevskiy
On 03/06/2019 15:02, Alexey Kardashevskiy wrote: > > > On 03/06/2019 12:23, Shawn Anastasio wrote: >> >> >> On 5/30/19 10:56 PM, Alexey Kardashevskiy wrote: >>> >>> >>> On 31/05/2019 08:49, Shawn Anastasio wrote: On 5/29/19 10:39 PM, Alexey Kardashevskiy wrote: > > > On

Re: [PATCH V3 0/3] riscv: Add perf callchain support

2019-06-03 Thread Mao Han
PING? On Fri, May 17, 2019 at 04:43:01PM +0800, Mao Han wrote: > This patch set add perf callchain(FP/DWARF) support for RISC-V. > It comes from the csky version callchain support with some > slight modifications. The patchset base on Linux 5.1. > > CC: Palmer Dabbelt > CC: linux-riscv > CC:

[PATCH 1/2 v4] serial: mctrl_gpio: Check if GPIO property exisits before requesting it

2019-06-03 Thread Stefan Roese
This patch adds a check for the GPIOs property existence, before the GPIO is requested. This fixes an issue seen when the 8250 mctrl_gpio support is added (2nd patch in this patch series) on x86 platforms using ACPI. Here Mika's comments from 2016-08-09: " I noticed that with v4.8-rc1 serial

[PATCH 2/2 v4] tty/serial/8250: use mctrl_gpio helpers

2019-06-03 Thread Stefan Roese
From: Yegor Yefremov This patch permits the usage for GPIOs to control the CTS/RTS/DTR/DSR/DCD/RI signals. Changed by Stefan: Only call mctrl_gpio_init(), if the device has no ACPI companion device to not break existing ACPI based systems. Also only use the mctrl_gpio_ functions when "gpios" is

[PATCH] drm/stm: ltdc: No message if probe

2019-06-03 Thread Yannick Fertré
Print display controller hardware version in debug mode only. Signed-off-by: Yannick Fertré --- drivers/gpu/drm/stm/ltdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index a40870b..2fe6c4a 100644 ---

RE: [PATCH] ARC: build: Try to guess CROSS_COMPILE with cc-cross-prefix

2019-06-03 Thread Alexey Brodkin
Hi Masahiro-san, > -Original Message- > From: Masahiro Yamada > Sent: Monday, June 3, 2019 11:18 AM > To: Alexey Brodkin > Cc: arcml ; Linux Kernel Mailing List > ker...@vger.kernel.org>; Vineet Gupta > Subject: Re: [PATCH] ARC: build: Try to guess CROSS_COMPILE with >

RE: [PATCH v3 1/2] dt-bindings: clock: renesas,r9a06g032-sysctrl: Document power Domains

2019-06-03 Thread Phil Edworthy
Hi Geert, On 28 May 2019 08:29 Geert Uytterhoeven wrote: > On Fri, May 24, 2019 at 5:32 PM Gareth Williams wrote: > > The driver is gaining power domain support, so add the new property to > > the DT binding and update the examples. > > > > Signed-off-by: Gareth Williams > > Thanks for your

[PATCH V2 2/2] mailbox: introduce ARM SMC based mailbox

2019-06-03 Thread peng . fan
From: Peng Fan This mailbox driver implements a mailbox which signals transmitted data via an ARM smc (secure monitor call) instruction. The mailbox receiver is implemented in firmware and can synchronously return data when it returns execution to the non-secure world again. An asynchronous

[PATCH V2 0/2] mailbox: arm: introduce smc triggered mailbox

2019-06-03 Thread peng . fan
From: Peng Fan This is a modified version from Andre Przywara's patch series https://lore.kernel.org/patchwork/cover/812997/. The modification are mostly: Introduce arm,num-chans Introduce arm_smccc_mbox_cmd txdone_poll and txdone_irq are both set to false arm,func-ids are kept, but as an

Re: [PATCH] ipvlan: Don't propagate IFF_ALLMULTI changes on down interfaces.

2019-06-03 Thread Yang Xiao
Based on your explanation, I found that the patch I submitted is useless. Great thanks and sorry for the trouble. On Mon, Jun 3, 2019 at 3:54 PM Xin Long wrote: > > On Mon, Jun 3, 2019 at 11:22 AM Young Xiao <92siuy...@gmail.com> wrote: > > > > Clearing the IFF_ALLMULTI flag on a down interface

[PATCH V2 1/2] DT: mailbox: add binding doc for the ARM SMC mailbox

2019-06-03 Thread peng . fan
From: Peng Fan The ARM SMC mailbox binding describes a firmware interface to trigger actions in software layers running in the EL2 or EL3 exception levels. The term "ARM" here relates to the SMC instruction as part of the ARM instruction set, not as a standard endorsed by ARM Ltd.

[PATCH v3] powerpc: fix kexec failure on book3s/32

2019-06-03 Thread Christophe Leroy
In the old days, _PAGE_EXEC didn't exist on 6xx aka book3s/32. Therefore, allthough __mapin_ram_chunk() was already mapping kernel text with PAGE_KERNEL_TEXT and the rest with PAGE_KERNEL, the entire memory was executable. Part of the memory (first 512kbytes) was mapped with BATs instead of page

Re: [PATCH V3 2/6] csky: Add reg-io-width property for csky pmu

2019-06-03 Thread Guo Ren
Hello Mao, Title Correct: csky: Add reg-io-width property for csky pmu It's not a reg-io-width. I think it's a count-width, isn't it? On Mon, Jun 3, 2019 at 2:47 PM Mao Han wrote: > > csky pmu counter may have different io width. When the counter is smaller Csky pmu counter ..., capitalize the

Re: [PATCH] ARC: build: Try to guess CROSS_COMPILE with cc-cross-prefix

2019-06-03 Thread Masahiro Yamada
Hi Alexey, On Mon, Jun 3, 2019 at 3:42 PM Alexey Brodkin wrote: > > For a long time we used to hard-code CROSS_COMPILE prefix > for ARC until it started to cause problems, so we decided to > solely rely on CROSS_COMPILE externally set by a user: > commit 40660f1fcee8 ("ARC: build: Don't set

[PATCH] ASoC: stm32: sai: manage identification registers

2019-06-03 Thread Olivier Moysan
Add support of identification registers in STM32 SAI. Signed-off-by: Olivier Moysan --- sound/soc/stm/stm32_sai.c | 44 +++ sound/soc/stm/stm32_sai.h | 54 --- sound/soc/stm/stm32_sai_sub.c | 14 ++- 3 files

Re: [PATCH 1/2] scsi_host: add support for request batching

2019-06-03 Thread Paolo Bonzini
On 31/05/19 05:27, Ming Lei wrote: > It should be fine to implement scsi_commit_rqs() as: > > if (shost->hostt->commit_rqs) >shost->hostt->commit_rqs(shost, hctx->queue_num); > > then scsi_mq_ops_no_commit can be saved. > > Because .commit_rqs() is only called when BLK_STS_*_RESOURCE

Re: [PATCH v1] s390/pkey: Use -ENODEV instead of -EOPNOTSUPP

2019-06-03 Thread David Hildenbrand
On 03.06.19 09:48, Harald Freudenberger wrote: > On 31.05.19 11:36, David Hildenbrand wrote: >> systemd-modules-load.service automatically tries to load the pkey module >> on systems that have MSA. >> >> Pkey also requires the MSA3 facility and a bunch of subfunctions. >> Failing with -EOPNOTSUPP

[RESEND PATCH 0/2] memory: move jedec_ddr_data.c and jedec_ddr.h to drivers/memory/

2019-06-03 Thread Masahiro Yamada
I believe this is a nice clean-up of directory path. include/memory/ has existed just for containing one header, and it is gone now. There is no sub-system that takes care of drivers/memory/. I sent this series some time ago, but I did not get any feedback. I am resending it to ARM-SOC ML. I

[RESEND PATCH 1/2] memory: move jedec_ddr_data.c from lib/ to drivers/memory/

2019-06-03 Thread Masahiro Yamada
jedec_ddr_data.c exports 3 symbols, and all of them are only referenced from drivers/memory/{emif.c,of_memory.c} drivers/memory/ is a better location than lib/. I removed the Kconfig prompt "JEDEC DDR data" because it is only select'ed by TI_EMIF, and there is no other user. There is no good

<    6   7   8   9   10   11   12   13   >